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

Side by Side Diff: media/base/h264_bitstream_converter.h

Issue 7572040: Enable media.dll / libmedia.so. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « media/base/filters.h ('k') | media/base/media.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MEDIA_BASE_H264_BITSTREAM_CONVERTER_H_ 5 #ifndef MEDIA_BASE_H264_BITSTREAM_CONVERTER_H_
6 #define MEDIA_BASE_H264_BITSTREAM_CONVERTER_H_ 6 #define MEDIA_BASE_H264_BITSTREAM_CONVERTER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "media/base/media_export.h"
9 10
10 namespace media { 11 namespace media {
11 12
12 // H264BitstreamConverter is a class to convert H.264 bitstream from 13 // H264BitstreamConverter is a class to convert H.264 bitstream from
13 // MP4 format (as specified in ISO/IEC 14496-15) into H.264 bytestream 14 // MP4 format (as specified in ISO/IEC 14496-15) into H.264 bytestream
14 // (as specified in ISO/IEC 14496-10 Annex B). 15 // (as specified in ISO/IEC 14496-10 Annex B).
15 class H264BitstreamConverter { 16 class MEDIA_EXPORT H264BitstreamConverter {
16 public: 17 public:
17 H264BitstreamConverter(); 18 H264BitstreamConverter();
18 ~H264BitstreamConverter(); 19 ~H264BitstreamConverter();
19 20
20 // Parses the global AVCDecoderConfigurationRecord from the file format's 21 // Parses the global AVCDecoderConfigurationRecord from the file format's
21 // headers. Converter will remember the field length from the configuration 22 // headers. Converter will remember the field length from the configuration
22 // headers after this. 23 // headers after this.
23 // 24 //
24 // Parameters 25 // Parameters
25 // configuration_record 26 // configuration_record
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // Variable to hold interleaving field's length in bytes. 116 // Variable to hold interleaving field's length in bytes.
116 uint8 nal_unit_length_field_width_; 117 uint8 nal_unit_length_field_width_;
117 118
118 DISALLOW_COPY_AND_ASSIGN(H264BitstreamConverter); 119 DISALLOW_COPY_AND_ASSIGN(H264BitstreamConverter);
119 }; 120 };
120 121
121 } // namespace media 122 } // namespace media
122 123
123 #endif // MEDIA_BASE_H264_BITSTREAM_CONVERTER_H_ 124 #endif // MEDIA_BASE_H264_BITSTREAM_CONVERTER_H_
124 125
OLDNEW
« no previous file with comments | « media/base/filters.h ('k') | media/base/media.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698