#include "media/base/media.h"
#include <stdint.h>
#include <limits>
#include "base/command_line.h"
#include "base/metrics/field_trial.h"
#include "base/no_destructor.h"
#include "base/trace_event/trace_event.h"
#include "media/base/libaom_thread_wrapper.h"
#include "media/base/libvpx_thread_wrapper.h"
#include "media/base/media_switches.h"
#include "media/media_buildflags.h"
#include "partition_alloc/buildflags.h"
#include "third_party/libyuv/include/libyuv.h"
#if BUILDFLAG(ENABLE_FFMPEG)
#include "third_party/ffmpeg/ffmpeg_features.h"
extern "C" {
#include <libavutil/cpu.h>
#include <libavutil/log.h>
#include <libavutil/mem.h>
}
#endif
namespace media {
class MediaInitializer { … };
static const MediaInitializer& GetMediaInstance() { … }
void InitializeMediaLibrary() { … }
void InitializeMediaLibraryInSandbox(int64_t libyuv_cpu_flags,
int64_t libavutil_cpu_flags) { … }
}