chromium/media/formats/webm/webm_video_client.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "media/formats/webm/webm_video_client.h"

#include "media/base/video_decoder_config.h"
#include "media/formats/mp4/box_definitions.h"
#include "media/formats/webm/webm_constants.h"
#include "media/media_buildflags.h"

namespace media {

namespace {

// Tries to parse |data| to extract the VP9 Profile ID, or returns Profile 0.
media::VideoCodecProfile GetVP9CodecProfile(const std::vector<uint8_t>& data,
                                            bool is_probably_10bit) {}

#if BUILDFLAG(ENABLE_AV1_DECODER)
media::VideoCodecProfile GetAV1CodecProfile(const std::vector<uint8_t>& data) {}
#endif  // BUILDFLAG(ENABLE_AV1_DECODER)

// Values for "StereoMode" are spec'd here:
// https://www.matroska.org/technical/elements.html#StereoMode
bool IsValidStereoMode(int64_t stereo_mode_code) {}

}  // namespace

WebMVideoClient::WebMVideoClient(MediaLog* media_log)
    :{}

WebMVideoClient::~WebMVideoClient() = default;

void WebMVideoClient::Reset() {}

bool WebMVideoClient::InitializeConfig(
    const std::string& codec_id,
    const std::vector<uint8_t>& codec_private,
    EncryptionScheme encryption_scheme,
    VideoDecoderConfig* config) {}

WebMParserClient* WebMVideoClient::OnListStart(int id) {}

bool WebMVideoClient::OnListEnd(int id) {}

bool WebMVideoClient::OnUInt(int id, int64_t val) {}

bool WebMVideoClient::OnBinary(int id, const uint8_t* data, int size) {}

bool WebMVideoClient::OnFloat(int id, double val) {}

}  // namespace media