| Index: media/filters/h264_parser.h
|
| diff --git a/media/filters/h264_parser.h b/media/filters/h264_parser.h
|
| index 64519e8fd7a95eed0bd4fa2f00ddb36c7735c70f..9c7c1c0a003a0ebdc43cc1979c48c2d9947c7cab 100644
|
| --- a/media/filters/h264_parser.h
|
| +++ b/media/filters/h264_parser.h
|
| @@ -20,6 +20,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;
|
| @@ -156,6 +157,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;
|
| @@ -178,6 +187,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 {
|
|
|