chromium/media/base/mime_util.cc

// Copyright 2012 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/base/mime_util.h"

#include "base/no_destructor.h"
#include "media/base/mime_util_internal.h"

namespace media {

// This variable is Leaky because it is accessed from WorkerPool threads.
static const internal::MimeUtil* GetMimeUtil() {}

bool IsSupportedMediaMimeType(std::string_view mime_type) {}

SupportsType IsSupportedMediaFormat(std::string_view mime_type,
                                    const std::vector<std::string>& codecs) {}

SupportsType IsSupportedEncryptedMediaFormat(
    std::string_view mime_type,
    const std::vector<std::string>& codecs) {}

void SplitCodecs(std::string_view codecs,
                 std::vector<std::string>* codecs_out) {}

void StripCodecs(std::vector<std::string>* codecs) {}

std::optional<VideoType> ParseVideoCodecString(std::string_view mime_type,
                                               std::string_view codec_id,
                                               bool allow_ambiguous_matches) {}

bool ParseAudioCodecString(std::string_view mime_type,
                           std::string_view codec_id,
                           bool* ambiguous_codec_string,
                           AudioCodec* out_codec) {}

}  // namespace media