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

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

Issue 7601002: Revert r95841 due to failing media_unittests on linux_shared bot. (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"
10 9
11 namespace media { 10 namespace media {
12 11
13 // H264BitstreamConverter is a class to convert H.264 bitstream from 12 // H264BitstreamConverter is a class to convert H.264 bitstream from
14 // MP4 format (as specified in ISO/IEC 14496-15) into H.264 bytestream 13 // MP4 format (as specified in ISO/IEC 14496-15) into H.264 bytestream
15 // (as specified in ISO/IEC 14496-10 Annex B). 14 // (as specified in ISO/IEC 14496-10 Annex B).
16 class MEDIA_EXPORT H264BitstreamConverter { 15 class H264BitstreamConverter {
17 public: 16 public:
18 H264BitstreamConverter(); 17 H264BitstreamConverter();
19 ~H264BitstreamConverter(); 18 ~H264BitstreamConverter();
20 19
21 // Parses the global AVCDecoderConfigurationRecord from the file format's 20 // Parses the global AVCDecoderConfigurationRecord from the file format's
22 // headers. Converter will remember the field length from the configuration 21 // headers. Converter will remember the field length from the configuration
23 // headers after this. 22 // headers after this.
24 // 23 //
25 // Parameters 24 // Parameters
26 // configuration_record 25 // configuration_record
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // Variable to hold interleaving field's length in bytes. 115 // Variable to hold interleaving field's length in bytes.
117 uint8 nal_unit_length_field_width_; 116 uint8 nal_unit_length_field_width_;
118 117
119 DISALLOW_COPY_AND_ASSIGN(H264BitstreamConverter); 118 DISALLOW_COPY_AND_ASSIGN(H264BitstreamConverter);
120 }; 119 };
121 120
122 } // namespace media 121 } // namespace media
123 122
124 #endif // MEDIA_BASE_H264_BITSTREAM_CONVERTER_H_ 123 #endif // MEDIA_BASE_H264_BITSTREAM_CONVERTER_H_
125 124
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