Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Side by Side Diff: content/common/gpu/media/h264_bit_reader.h

Issue 10753005: Add HE AAC support to ISO BMFF. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_COMMON_GPU_MEDIA_H264_BIT_READER_H_
6 #define CONTENT_COMMON_GPU_MEDIA_H264_BIT_READER_H_
7
8 #include "base/compiler_specific.h"
9 #include "media/base/bit_reader.h"
10
11 namespace content {
12
13 // A class to provide bit-granularity reading of H.264 streams.
14 // This class takes into account H.264 stream-specific constraints, such as
15 // skipping emulation-prevention bytes and stop bits. See spec for more
16 // details.
17 class H264BitReader : public media::BitReader {
18 public:
19 H264BitReader();
20 virtual ~H264BitReader();
21
22 private:
23 // This function handles the H.264 escape sequence and stop bit.
24 virtual void UpdateCurrByte() OVERRIDE;
25
26 DISALLOW_COPY_AND_ASSIGN(H264BitReader);
27 };
28
29 } // namespace content
30
31 #endif // CONTENT_COMMON_GPU_MEDIA_H264_BIT_READER_H_
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/media/h264_bit_reader.cc » ('j') | content/common/gpu/media/h264_bit_reader.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698