// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef MEDIA_FORMATS_WEBM_WEBM_COLOUR_PARSER_H_ #define MEDIA_FORMATS_WEBM_WEBM_COLOUR_PARSER_H_ #include <optional> #include "media/base/video_color_space.h" #include "media/formats/webm/webm_parser.h" #include "ui/gfx/hdr_metadata.h" namespace media { // WebM color information, containing HDR metadata: // http://www.webmproject.org/docs/container/#Colour struct MEDIA_EXPORT WebMColorMetadata { … }; // Parser for WebM MasteringMetadata within Colour element: // http://www.webmproject.org/docs/container/#MasteringMetadata class WebMColorVolumeMetadataParser : public WebMParserClient { … }; // Parser for WebM Colour element: // http://www.webmproject.org/docs/container/#colour class WebMColourParser : public WebMParserClient { … }; } // namespace media #endif // MEDIA_FORMATS_WEBM_WEBM_COLOUR_PARSER_H_