5 #ifndef PACKAGER_MEDIA_FORMATS_WEBM_WEBM_VIDEO_CLIENT_H_
6 #define PACKAGER_MEDIA_FORMATS_WEBM_WEBM_VIDEO_CLIENT_H_
12 #include <packager/macros/classes.h>
13 #include <packager/media/base/video_stream_info.h>
14 #include <packager/media/codecs/vp_codec_configuration_record.h>
15 #include <packager/media/formats/webm/webm_parser.h>
19 class VideoDecoderConfig;
38 const std::string& codec_id,
39 const std::vector<uint8_t>& codec_private,
45 const std::vector<uint8_t>& codec_private);
50 bool OnListEnd(
int id)
override;
51 bool OnUInt(
int id, int64_t val)
override;
52 bool OnBinary(
int id,
const uint8_t* data,
int size)
override;
53 bool OnFloat(
int id,
double val)
override;
55 int64_t pixel_width_ = -1;
56 int64_t pixel_height_ = -1;
57 int64_t crop_bottom_ = -1;
58 int64_t crop_top_ = -1;
59 int64_t crop_left_ = -1;
60 int64_t crop_right_ = -1;
61 int64_t display_width_ = -1;
62 int64_t display_height_ = -1;
63 int64_t display_unit_ = -1;
64 int64_t alpha_mode_ = -1;
66 int64_t matrix_coefficients_ = -1;
67 int64_t bits_per_channel_ = -1;
68 int64_t chroma_subsampling_horz_ = -1;
69 int64_t chroma_subsampling_vert_ = -1;
70 int64_t chroma_siting_horz_ = -1;
71 int64_t chroma_siting_vert_ = -1;
72 int64_t color_range_ = -1;
73 int64_t transfer_characteristics_ = -1;
74 int64_t color_primaries_ = -1;
All the methods that are virtual are virtual for mocking.