blob: 56109c3761d601d71a7e1509c5267e682bc13572 [file] [log] [blame]
# Copyright 2016 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD - style license that can be
# found in the LICENSE file.
source_set("ffmpeg") {
sources = [
"av_codec_context.cc",
"av_codec_context.h",
"av_format_context.h",
"av_frame.h",
"av_io_context.cc",
"av_io_context.h",
"av_packet.h",
"ffmpeg_audio_decoder.cc",
"ffmpeg_audio_decoder.h",
"ffmpeg_decoder_base.cc",
"ffmpeg_decoder_base.h",
"ffmpeg_decoder_factory.cc",
"ffmpeg_decoder_factory.h",
"ffmpeg_demux.cc",
"ffmpeg_demux.h",
"ffmpeg_demux_factory.cc",
"ffmpeg_demux_factory.h",
"ffmpeg_formatting.cc",
"ffmpeg_formatting.h",
"ffmpeg_init.cc",
"ffmpeg_init.h",
"ffmpeg_video_decoder.cc",
"ffmpeg_video_decoder.h",
"lpcm_util.cc",
"lpcm_util.h",
]
deps = [
"//garnet/bin/mediaplayer/decode",
"//garnet/bin/mediaplayer/demux",
"//garnet/bin/mediaplayer/graph",
"//garnet/bin/mediaplayer/util",
"//garnet/lib/media/ffmpeg",
"//garnet/public/fidl/fuchsia.media",
"//garnet/public/fidl/fuchsia.mediaplayer",
"//garnet/public/lib/fsl",
"//garnet/public/lib/fxl",
"//garnet/public/lib/media/timeline",
"//zircon/public/lib/async-loop-cpp",
"//zircon/public/lib/trace",
]
defines = [
"FF_API_PIX_FMT_DESC=0",
"FF_API_OLD_DECODE_AUDIO=0",
"FF_API_DESTRUCT_PACKET=0",
"FF_API_GET_BUFFER=0",
"FF_API_CONVERGENCE_DURATION=0",
"__STDC_CONSTANT_MACROS",
]
}