| Index: media/filters/h264_parser.h
|
| diff --git a/media/filters/h264_parser.h b/media/filters/h264_parser.h
|
| index e7f4bc4c4eb4a4ce7fca5cfab103a5ca9ca064eb..e45adef6bd753f7545192efcd33de7b8420d5316 100644
|
| --- a/media/filters/h264_parser.h
|
| +++ b/media/filters/h264_parser.h
|
| @@ -21,6 +21,7 @@
|
| #include "media/base/ranges.h"
|
| #include "media/base/video_codecs.h"
|
| #include "media/filters/h264_bit_reader.h"
|
| +#include "ui/gfx/color_space.h"
|
|
|
| namespace gfx {
|
| class Rect;
|
| @@ -157,6 +158,14 @@ struct MEDIA_EXPORT H264SPS {
|
| int time_scale;
|
| bool fixed_frame_rate_flag;
|
|
|
| + bool video_signal_type_present_flag;
|
| + int video_format;
|
| + bool video_full_range_flag;
|
| + bool colour_description_present_flag;
|
| + int colour_primaries;
|
| + int transfer_characteristics;
|
| + int matrix_coefficients;
|
| +
|
| // TODO(posciak): actually parse these instead of ParseAndIgnoreHRDParameters.
|
| bool nal_hrd_parameters_present_flag;
|
| int cpb_cnt_minus1;
|
| @@ -179,6 +188,7 @@ struct MEDIA_EXPORT H264SPS {
|
| // the results are in-spec for the given profile or level.
|
| base::Optional<gfx::Size> GetCodedSize() const;
|
| base::Optional<gfx::Rect> GetVisibleRect() const;
|
| + gfx::ColorSpace GetColorSpace() const;
|
| };
|
|
|
| struct MEDIA_EXPORT H264PPS {
|
|
|