chromium/media/filters/ffmpeg_glue.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/filters/ffmpeg_glue.h"

#include "base/check_op.h"
#include "base/metrics/histogram_functions.h"
#include "base/no_destructor.h"
#include "base/notreached.h"
#include "base/strings/string_util.h"
#include "base/types/cxx23_to_underlying.h"
#include "media/base/container_names.h"
#include "media/base/media_switches.h"
#include "media/base/supported_types.h"
#include "media/ffmpeg/ffmpeg_common.h"

namespace media {

// Kill switches in case things explode. Remove after M132.
// TODO(crbug.com/355485812): Re-enable this flag.
BASE_FEATURE();
BASE_FEATURE();

// Internal buffer size used by AVIO for reading.
// TODO(dalecurtis): Experiment with this buffer size and measure impact on
// performance.  Currently we want to use 32kb to preserve existing behavior
// with the previous URLProtocol based approach.
enum {};

static int AVIOReadOperation(void* opaque, uint8_t* buf, int buf_size) {}

static int64_t AVIOSeekOperation(void* opaque, int64_t offset, int whence) {}

static void LogContainer(bool is_local_file,
                         container_names::MediaContainerName container) {}

static const char* GetAllowedDemuxers() {}

FFmpegGlue::FFmpegGlue(FFmpegURLProtocol* protocol) {}

// static
const char* FFmpegGlue::GetAllowedAudioDecoders() {}

// static
const char* FFmpegGlue::GetAllowedVideoDecoders() {}

bool FFmpegGlue::OpenContext(bool is_local_file) {}

FFmpegGlue::~FFmpegGlue() {}

}  // namespace media