| Index: media/filters/h264_parser.h
|
| diff --git a/media/filters/h264_parser.h b/media/filters/h264_parser.h
|
| index b8dde5028caa9df40183398ceb67205bd6a996ac..36467ba93844efec0a7d88d5600c1cdd62db9512 100644
|
| --- a/media/filters/h264_parser.h
|
| +++ b/media/filters/h264_parser.h
|
| @@ -341,6 +341,12 @@ class MEDIA_EXPORT H264Parser {
|
| static bool FindStartCode(const uint8* data, off_t data_size,
|
| off_t* offset, off_t* start_code_size);
|
|
|
| + // Wrapper for FindStartCode() that skips over start codes that
|
| + // may appear inside of |encrypted_ranges_|.
|
| + // Returns true if a start code was found. Otherwise returns false.
|
| + static bool FindStartCodeInClearRanges(const uint8* data, off_t data_size,
|
| + const Ranges<const uint8*>& ranges,
|
| + off_t* offset, off_t* start_code_size);
|
| H264Parser();
|
| ~H264Parser();
|
|
|
| @@ -406,12 +412,6 @@ class MEDIA_EXPORT H264Parser {
|
| // - the size in bytes of the start code is returned in |*start_code_size|.
|
| bool LocateNALU(off_t* nalu_size, off_t* start_code_size);
|
|
|
| - // Wrapper for FindStartCode() that skips over start codes that
|
| - // may appear inside of |encrypted_ranges_|.
|
| - // Returns true if a start code was found. Otherwise returns false.
|
| - bool FindStartCodeInClearRanges(const uint8* data, off_t data_size,
|
| - off_t* offset, off_t* start_code_size);
|
| -
|
| // Exp-Golomb code parsing as specified in chapter 9.1 of the spec.
|
| // Read one unsigned exp-Golomb code from the stream and return in |*val|.
|
| Result ReadUE(int* val);
|
|
|