2008-03-08 16:39:43 +02:00
|
|
|
NAME = avcodec
|
2017-05-05 00:59:30 +02:00
|
|
|
DESC = FFmpeg codec library
|
2008-03-08 16:39:43 +02:00
|
|
|
|
2017-03-30 16:56:28 +02:00
|
|
|
HEADERS = ac3_parser.h \
|
2017-04-26 18:57:54 +02:00
|
|
|
adts_parser.h \
|
2017-03-30 16:56:28 +02:00
|
|
|
avcodec.h \
|
2015-10-27 22:22:20 +02:00
|
|
|
avdct.h \
|
2012-04-14 14:05:08 +03:00
|
|
|
avfft.h \
|
2020-04-07 16:41:48 +02:00
|
|
|
bsf.h \
|
2020-05-25 15:04:20 +02:00
|
|
|
codec.h \
|
2020-04-10 17:06:15 +02:00
|
|
|
codec_desc.h \
|
2020-04-07 16:41:48 +02:00
|
|
|
codec_id.h \
|
2020-04-07 16:41:48 +02:00
|
|
|
codec_par.h \
|
2015-05-11 10:52:47 +02:00
|
|
|
d3d11va.h \
|
2021-05-21 18:16:22 +02:00
|
|
|
defs.h \
|
2014-07-05 12:09:15 +03:00
|
|
|
dirac.h \
|
2016-02-16 18:58:50 +02:00
|
|
|
dv_profile.h \
|
2012-04-14 14:05:08 +03:00
|
|
|
dxva2.h \
|
2015-09-28 15:18:56 +02:00
|
|
|
jni.h \
|
2016-03-11 18:21:04 +02:00
|
|
|
mediacodec.h \
|
2020-04-07 16:41:48 +02:00
|
|
|
packet.h \
|
2015-02-10 11:40:59 +02:00
|
|
|
qsv.h \
|
2012-04-14 14:05:08 +03:00
|
|
|
vdpau.h \
|
|
|
|
version.h \
|
2022-02-23 12:55:45 +02:00
|
|
|
version_major.h \
|
2015-07-11 13:23:21 +02:00
|
|
|
videotoolbox.h \
|
2014-10-29 16:04:23 +02:00
|
|
|
vorbis_parser.h \
|
2012-04-14 14:05:08 +03:00
|
|
|
xvmc.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
|
2017-03-30 16:56:28 +02:00
|
|
|
OBJS = ac3_parser.o \
|
2017-04-26 18:57:54 +02:00
|
|
|
adts_parser.o \
|
2017-03-30 16:56:28 +02:00
|
|
|
allcodecs.o \
|
2021-03-17 15:21:33 +02:00
|
|
|
avcodec.o \
|
2014-07-26 16:22:27 +03:00
|
|
|
avdct.o \
|
2009-04-07 21:31:14 +03:00
|
|
|
avpacket.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
bitstream.o \
|
2013-11-23 13:43:13 +03:00
|
|
|
bitstream_filters.o \
|
|
|
|
bsf.o \
|
2012-08-05 16:18:00 +03:00
|
|
|
codec_desc.o \
|
2021-03-17 06:25:22 +02:00
|
|
|
codec_par.o \
|
2015-09-27 20:54:01 +02:00
|
|
|
d3d11va.o \
|
2016-10-26 08:10:19 +02:00
|
|
|
decode.o \
|
2014-07-05 12:09:15 +03:00
|
|
|
dirac.o \
|
2014-07-05 12:09:15 +03:00
|
|
|
dv_profile.o \
|
2016-10-26 08:10:19 +02:00
|
|
|
encode.o \
|
2022-03-23 16:44:01 +02:00
|
|
|
get_buffer.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
imgconvert.o \
|
2015-09-28 15:18:56 +02:00
|
|
|
jni.o \
|
2012-10-11 02:16:05 +03:00
|
|
|
mathtables.o \
|
2016-03-11 18:21:04 +02:00
|
|
|
mediacodec.o \
|
2016-06-27 16:09:00 +02:00
|
|
|
mpeg12framerate.o \
|
2009-01-10 11:53:21 +02:00
|
|
|
options.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
parser.o \
|
2018-07-21 19:21:16 +02:00
|
|
|
parsers.o \
|
2014-12-31 08:57:59 +02:00
|
|
|
profiles.o \
|
2015-02-10 11:40:59 +02:00
|
|
|
qsv_api.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
raw.o \
|
|
|
|
utils.o \
|
2022-05-06 11:43:18 +02:00
|
|
|
version.o \
|
2022-03-17 12:33:02 +02:00
|
|
|
vlc.o \
|
2014-10-29 16:04:23 +02:00
|
|
|
vorbis_parser.o \
|
2014-11-10 10:14:45 +02:00
|
|
|
xiph.o \
|
2006-07-06 18:04:46 +03:00
|
|
|
|
2014-07-31 14:52:24 +03:00
|
|
|
# subsystems
|
2012-07-24 20:16:29 +03:00
|
|
|
OBJS-$(CONFIG_AANDCTTABLES) += aandcttab.o
|
2017-07-29 13:09:19 +02:00
|
|
|
OBJS-$(CONFIG_AC3DSP) += ac3dsp.o ac3.o ac3tab.o
|
2021-02-10 20:37:37 +02:00
|
|
|
OBJS-$(CONFIG_ADTS_HEADER) += adts_header.o mpeg4audio_sample_rates.o
|
2017-11-27 04:36:06 +02:00
|
|
|
OBJS-$(CONFIG_AMF) += amfenc.o
|
2013-02-18 00:00:36 +03:00
|
|
|
OBJS-$(CONFIG_AUDIO_FRAME_QUEUE) += audio_frame_queue.o
|
2020-08-07 21:03:29 +02:00
|
|
|
OBJS-$(CONFIG_ATSC_A53) += atsc_a53.o
|
2014-01-16 19:30:19 +03:00
|
|
|
OBJS-$(CONFIG_AUDIODSP) += audiodsp.o
|
2014-01-14 12:33:47 +03:00
|
|
|
OBJS-$(CONFIG_BLOCKDSP) += blockdsp.o
|
2014-02-13 19:57:05 +03:00
|
|
|
OBJS-$(CONFIG_BSWAPDSP) += bswapdsp.o
|
2014-03-22 20:41:43 +03:00
|
|
|
OBJS-$(CONFIG_CABAC) += cabac.o
|
2021-01-01 23:35:17 +02:00
|
|
|
OBJS-$(CONFIG_CBS) += cbs.o cbs_bsf.o
|
2018-09-10 00:08:11 +02:00
|
|
|
OBJS-$(CONFIG_CBS_AV1) += cbs_av1.o
|
2021-01-01 23:35:13 +02:00
|
|
|
OBJS-$(CONFIG_CBS_H264) += cbs_h2645.o cbs_sei.o h2645_parse.o
|
|
|
|
OBJS-$(CONFIG_CBS_H265) += cbs_h2645.o cbs_sei.o h2645_parse.o
|
2018-09-19 00:30:53 +02:00
|
|
|
OBJS-$(CONFIG_CBS_JPEG) += cbs_jpeg.o
|
2017-05-05 00:03:03 +02:00
|
|
|
OBJS-$(CONFIG_CBS_MPEG2) += cbs_mpeg2.o
|
2017-06-22 23:42:51 +02:00
|
|
|
OBJS-$(CONFIG_CBS_VP9) += cbs_vp9.o
|
2011-03-10 08:09:00 +02:00
|
|
|
OBJS-$(CONFIG_CRYSTALHD) += crystalhd.o
|
2011-05-17 13:48:28 +03:00
|
|
|
OBJS-$(CONFIG_DCT) += dct.o dct32_fixed.o dct32_float.o
|
2022-03-15 18:56:38 +02:00
|
|
|
OBJS-$(CONFIG_DEFLATE_WRAPPER) += zlib_wrapper.o
|
lavc: Implement Dolby Vision RPU parsing
Based on a mixture of guesswork, partial documentation in patents, and
reverse engineering of real-world samples. Confirmed working for all the
samples I've thrown at it.
Contains some annoying machinery to persist these values in between
frames, which is needed in theory even though I've never actually seen a
sample that relies on it in practice. May or may not work.
Since the distinction matters greatly for parsing the color matrix
values, this includes a small helper function to guess the right profile
from the RPU itself in case the user has forgotten to forward the dovi
configuration record to the decoder. (Which in practice, only ffmpeg.c
and ffplay do..)
Notable omissions / deviations:
- CRC32 verification. This is based on the MPEG2 CRC32 type, which is
similar to IEEE CRC32 but apparently different in subtle enough ways
that I could not get it to pass verification no matter what parameters
I fed to av_crc. It's possible the code needs some changes.
- Linear interpolation support. Nothing documents this (beyond its
existence) and no samples use it, so impossible to implement.
- All of the extension metadata blocks, but these contain values that
seem largely congruent with ST2094, HDR10, or other existing forms of
side data, so I will defer parsing/attaching them to a future commit.
- The patent describes a mechanism for predicting coefficients from
previous RPUs, but the bit for the flag whether to use the
prediction deltas or signal entirely new coefficients does not seem to
be present in actual RPUs, so we ignore this subsystem entirely.
- In the patent's spec, the NLQ subsystem also loops over
num_nlq_pivots, but even in the patent the number is hard-coded to one
iteration rather than signalled. So we only store one set of coefs.
Heavily influenced by https://github.com/quietvoid/dovi_tool
Documentation drawn from US Patent 10,701,399 B2 and ETSI GS CCM 001
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-01-03 02:27:25 +02:00
|
|
|
OBJS-$(CONFIG_DOVI_RPU) += dovi_rpu.o
|
2012-08-13 20:13:32 +03:00
|
|
|
OBJS-$(CONFIG_ERROR_RESILIENCE) += error_resilience.o
|
2013-08-21 19:26:40 +03:00
|
|
|
OBJS-$(CONFIG_EXIF) += exif.o tiff_common.o
|
2014-08-29 05:32:45 +03:00
|
|
|
OBJS-$(CONFIG_FAANDCT) += faandct.o
|
|
|
|
OBJS-$(CONFIG_FAANIDCT) += faanidct.o
|
|
|
|
OBJS-$(CONFIG_FDCTDSP) += fdctdsp.o jfdctfst.o jfdctint.o
|
2021-01-09 17:23:20 +02:00
|
|
|
FFT-OBJS-$(CONFIG_HARDCODED_TABLES) += cos_tables.o
|
|
|
|
OBJS-$(CONFIG_FFT) += avfft.o fft_float.o fft_fixed_32.o \
|
|
|
|
fft_init_table.o $(FFT-OBJS-yes)
|
2015-02-21 12:24:44 +02:00
|
|
|
OBJS-$(CONFIG_FMTCONVERT) += fmtconvert.o
|
2008-10-25 16:51:47 +03:00
|
|
|
OBJS-$(CONFIG_GOLOMB) += golomb.o
|
2013-11-05 10:11:47 +03:00
|
|
|
OBJS-$(CONFIG_H263DSP) += h263dsp.o
|
2013-01-19 05:34:47 +03:00
|
|
|
OBJS-$(CONFIG_H264CHROMA) += h264chroma.o
|
2010-08-08 02:10:25 +03:00
|
|
|
OBJS-$(CONFIG_H264DSP) += h264dsp.o h264idct.o
|
2021-11-19 20:50:49 +02:00
|
|
|
OBJS-$(CONFIG_H264PARSE) += h264_parse.o h264_ps.o h2645data.o \
|
2022-07-02 18:39:37 +02:00
|
|
|
h2645_parse.o h2645_vui.o
|
2010-08-08 02:10:25 +03:00
|
|
|
OBJS-$(CONFIG_H264PRED) += h264pred.o
|
2013-01-24 07:24:53 +03:00
|
|
|
OBJS-$(CONFIG_H264QPEL) += h264qpel.o
|
2022-06-27 16:33:24 +02:00
|
|
|
OBJS-$(CONFIG_H264_SEI) += h264_sei.o h2645_sei.o
|
2021-11-19 20:50:49 +02:00
|
|
|
OBJS-$(CONFIG_HEVCPARSE) += hevc_parse.o hevc_ps.o hevc_data.o \
|
2022-07-02 18:39:37 +02:00
|
|
|
h2645data.o h2645_parse.o h2645_vui.o
|
2022-06-27 16:33:24 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_SEI) += hevc_sei.o h2645_sei.o \
|
2023-03-16 23:25:32 +02:00
|
|
|
dynamic_hdr_vivid.o
|
2013-03-10 02:14:35 +03:00
|
|
|
OBJS-$(CONFIG_HPELDSP) += hpeldsp.o
|
2010-08-06 13:29:14 +03:00
|
|
|
OBJS-$(CONFIG_HUFFMAN) += huffman.o
|
2014-01-07 14:23:13 +03:00
|
|
|
OBJS-$(CONFIG_HUFFYUVDSP) += huffyuvdsp.o
|
2013-12-23 20:42:11 +03:00
|
|
|
OBJS-$(CONFIG_HUFFYUVENCDSP) += huffyuvencdsp.o
|
2014-08-29 05:32:45 +03:00
|
|
|
OBJS-$(CONFIG_IDCTDSP) += idctdsp.o simple_idct.o jrevdct.o
|
2014-07-21 15:26:00 +03:00
|
|
|
OBJS-$(CONFIG_IIRFILTER) += iirfilter.o
|
2022-03-15 11:46:09 +02:00
|
|
|
OBJS-$(CONFIG_INFLATE_WRAPPER) += zlib_wrapper.o
|
2017-07-29 13:09:19 +02:00
|
|
|
OBJS-$(CONFIG_INTRAX8) += intrax8.o intrax8dsp.o msmpeg4data.o
|
2015-07-16 17:10:58 +02:00
|
|
|
OBJS-$(CONFIG_IVIDSP) += ivi_dsp.o
|
2015-09-28 15:18:56 +02:00
|
|
|
OBJS-$(CONFIG_JNI) += ffjni.o jni.o
|
2015-03-27 13:23:59 +02:00
|
|
|
OBJS-$(CONFIG_JPEGTABLES) += jpegtables.o
|
2022-06-28 15:13:04 +02:00
|
|
|
OBJS-$(CONFIG_LCMS2) += fflcms2.o
|
2014-05-30 17:28:49 +03:00
|
|
|
OBJS-$(CONFIG_LLAUDDSP) += lossless_audiodsp.o
|
2014-01-20 22:32:51 +03:00
|
|
|
OBJS-$(CONFIG_LLVIDDSP) += lossless_videodsp.o
|
2017-01-08 04:13:48 +02:00
|
|
|
OBJS-$(CONFIG_LLVIDENCDSP) += lossless_videoencdsp.o
|
2009-10-23 14:51:12 +03:00
|
|
|
OBJS-$(CONFIG_LPC) += lpc.o
|
2010-03-02 05:16:27 +02:00
|
|
|
OBJS-$(CONFIG_LSP) += lsp.o
|
2015-08-26 11:31:40 +02:00
|
|
|
OBJS-$(CONFIG_LZF) += lzf.o
|
2021-01-09 17:23:20 +02:00
|
|
|
OBJS-$(CONFIG_MDCT) += mdct_float.o mdct_fixed_32.o
|
2014-09-15 02:41:44 +03:00
|
|
|
OBJS-$(CONFIG_ME_CMP) += me_cmp.o
|
2016-10-12 14:44:08 +02:00
|
|
|
OBJS-$(CONFIG_MEDIACODEC) += mediacodecdec_common.o mediacodec_surface.o mediacodec_wrapper.o mediacodec_sw_buffer.o
|
2014-06-20 16:05:45 +03:00
|
|
|
OBJS-$(CONFIG_MPEG_ER) += mpeg_er.o
|
2022-01-05 05:58:25 +02:00
|
|
|
OBJS-$(CONFIG_MPEGAUDIO) += mpegaudio.o mpegaudiodec_common.o \
|
|
|
|
mpegaudiodata.o
|
2011-05-16 18:52:01 +03:00
|
|
|
OBJS-$(CONFIG_MPEGAUDIODSP) += mpegaudiodsp.o \
|
2012-08-23 20:47:49 +03:00
|
|
|
mpegaudiodsp_data.o \
|
2011-05-16 18:52:01 +03:00
|
|
|
mpegaudiodsp_fixed.o \
|
|
|
|
mpegaudiodsp_float.o
|
2021-03-09 13:15:35 +02:00
|
|
|
OBJS-$(CONFIG_MPEGAUDIOHEADER) += mpegaudiodecheader.o mpegaudiotabs.o
|
2021-02-10 20:37:37 +02:00
|
|
|
OBJS-$(CONFIG_MPEG4AUDIO) += mpeg4audio.o mpeg4audio_sample_rates.o
|
2022-10-12 14:56:40 +02:00
|
|
|
OBJS-$(CONFIG_MPEGVIDEO) += mpegvideo.o rl.o \
|
2021-12-24 03:13:41 +02:00
|
|
|
mpegvideo_motion.o \
|
2021-12-13 20:55:39 +02:00
|
|
|
mpegvideodata.o mpegpicture.o \
|
|
|
|
to_upper4.o
|
2021-12-24 03:13:41 +02:00
|
|
|
OBJS-$(CONFIG_MPEGVIDEODEC) += mpegvideo_dec.o mpegutils.o
|
2012-08-13 14:00:24 +03:00
|
|
|
OBJS-$(CONFIG_MPEGVIDEOENC) += mpegvideo_enc.o mpeg12data.o \
|
2013-12-30 21:19:39 +03:00
|
|
|
motion_est.o ratecontrol.o \
|
|
|
|
mpegvideoencdsp.o
|
2022-10-30 17:32:00 +02:00
|
|
|
OBJS-$(CONFIG_MSMPEG4DEC) += msmpeg4dec.o msmpeg4.o msmpeg4data.o \
|
|
|
|
msmpeg4_vc1_data.o
|
|
|
|
OBJS-$(CONFIG_MSMPEG4ENC) += msmpeg4enc.o msmpeg4.o msmpeg4data.o \
|
|
|
|
msmpeg4_vc1_data.o
|
2022-10-26 11:11:21 +02:00
|
|
|
OBJS-$(CONFIG_MSS34DSP) += mss34dsp.o jpegquanttables.o
|
2014-02-04 01:29:09 +03:00
|
|
|
OBJS-$(CONFIG_PIXBLOCKDSP) += pixblockdsp.o
|
2014-01-08 16:00:10 +03:00
|
|
|
OBJS-$(CONFIG_QPELDSP) += qpeldsp.o
|
2016-05-02 19:39:14 +02:00
|
|
|
OBJS-$(CONFIG_QSV) += qsv.o
|
|
|
|
OBJS-$(CONFIG_QSVDEC) += qsvdec.o
|
|
|
|
OBJS-$(CONFIG_QSVENC) += qsvenc.o
|
2012-08-13 20:16:06 +03:00
|
|
|
OBJS-$(CONFIG_RANGECODER) += rangecoder.o
|
2017-07-07 09:43:39 +02:00
|
|
|
OBJS-$(CONFIG_RDFT) += rdft.o
|
2015-07-16 17:11:00 +02:00
|
|
|
OBJS-$(CONFIG_RV34DSP) += rv34dsp.o
|
2020-12-30 02:46:34 +02:00
|
|
|
OBJS-$(CONFIG_SINEWIN) += sinewin.o
|
2015-05-24 16:20:26 +02:00
|
|
|
OBJS-$(CONFIG_SNAPPY) += snappy.o
|
2014-07-21 18:25:48 +03:00
|
|
|
OBJS-$(CONFIG_STARTCODE) += startcode.o
|
2015-05-20 01:01:37 +02:00
|
|
|
OBJS-$(CONFIG_TEXTUREDSP) += texturedsp.o
|
|
|
|
OBJS-$(CONFIG_TEXTUREDSPENC) += texturedspenc.o
|
2013-12-21 18:03:59 +03:00
|
|
|
OBJS-$(CONFIG_TPELDSP) += tpeldsp.o
|
2016-03-24 01:49:02 +02:00
|
|
|
OBJS-$(CONFIG_VAAPI_ENCODE) += vaapi_encode.o
|
2022-12-20 17:20:38 +02:00
|
|
|
OBJS-$(CONFIG_AV1_AMF_ENCODER) += amfenc_av1.o
|
2016-02-10 14:10:50 +02:00
|
|
|
OBJS-$(CONFIG_VC1DSP) += vc1dsp.o
|
2012-12-15 20:46:02 +03:00
|
|
|
OBJS-$(CONFIG_VIDEODSP) += videodsp.o
|
2012-07-16 14:50:14 +03:00
|
|
|
OBJS-$(CONFIG_VP3DSP) += vp3dsp.o
|
2015-07-16 17:11:01 +02:00
|
|
|
OBJS-$(CONFIG_VP56DSP) += vp56dsp.o
|
2015-07-16 17:11:02 +02:00
|
|
|
OBJS-$(CONFIG_VP8DSP) += vp8dsp.o
|
2017-09-21 03:55:40 +02:00
|
|
|
OBJS-$(CONFIG_V4L2_M2M) += v4l2_m2m.o v4l2_context.o v4l2_buffers.o v4l2_fmt.o
|
2014-09-03 13:27:27 +03:00
|
|
|
OBJS-$(CONFIG_WMA_FREQS) += wma_freqs.o
|
2015-07-16 17:11:03 +02:00
|
|
|
OBJS-$(CONFIG_WMV2DSP) += wmv2dsp.o
|
2008-02-25 23:43:19 +02:00
|
|
|
|
2013-03-07 16:57:30 +03:00
|
|
|
# decoders/encoders
|
2013-01-06 19:55:14 +03:00
|
|
|
OBJS-$(CONFIG_ZERO12V_DECODER) += 012v.o
|
2010-08-23 14:52:34 +03:00
|
|
|
OBJS-$(CONFIG_A64MULTI_ENCODER) += a64multienc.o elbg.o
|
|
|
|
OBJS-$(CONFIG_A64MULTI5_ENCODER) += a64multienc.o elbg.o
|
2020-12-28 03:41:38 +02:00
|
|
|
OBJS-$(CONFIG_AAC_DECODER) += aacdec.o aactab.o aacsbr.o aacps_common.o aacps_float.o \
|
2021-12-14 12:19:08 +02:00
|
|
|
kbdwin.o \
|
2016-03-12 20:08:21 +02:00
|
|
|
sbrdsp.o aacpsdsp_float.o cbrt_data.o
|
2020-12-28 03:41:38 +02:00
|
|
|
OBJS-$(CONFIG_AAC_FIXED_DECODER) += aacdec_fixed.o aactab.o aacsbr_fixed.o aacps_common.o aacps_fixed.o \
|
2021-12-14 12:19:08 +02:00
|
|
|
kbdwin.o \
|
2016-03-12 20:08:21 +02:00
|
|
|
sbrdsp_fixed.o aacpsdsp_fixed.o cbrt_data_fixed.o
|
2015-07-29 06:44:26 +02:00
|
|
|
OBJS-$(CONFIG_AAC_ENCODER) += aacenc.o aaccoder.o aacenctab.o \
|
2009-10-18 13:47:40 +03:00
|
|
|
aacpsy.o aactab.o \
|
2015-08-21 20:13:26 +02:00
|
|
|
aacenc_is.o \
|
2015-08-21 20:27:38 +02:00
|
|
|
aacenc_tns.o \
|
2015-10-17 03:22:51 +02:00
|
|
|
aacenc_ltp.o \
|
2015-08-21 20:38:05 +02:00
|
|
|
aacenc_pred.o \
|
2021-02-10 20:37:37 +02:00
|
|
|
psymodel.o kbdwin.o \
|
|
|
|
mpeg4audio_sample_rates.o
|
2017-04-04 07:45:41 +02:00
|
|
|
OBJS-$(CONFIG_AAC_MF_ENCODER) += mfenc.o mf_utils.o
|
2008-09-18 08:20:54 +03:00
|
|
|
OBJS-$(CONFIG_AASC_DECODER) += aasc.o msrledec.o
|
2021-02-09 19:25:13 +02:00
|
|
|
OBJS-$(CONFIG_AC3_DECODER) += ac3dec_float.o ac3dec_data.o ac3.o \
|
|
|
|
kbdwin.o ac3tab.o ac3_channel_layout_tab.o
|
|
|
|
OBJS-$(CONFIG_AC3_FIXED_DECODER) += ac3dec_fixed.o ac3dec_data.o ac3.o \
|
|
|
|
kbdwin.o ac3tab.o ac3_channel_layout_tab.o
|
2011-08-12 17:15:54 +03:00
|
|
|
OBJS-$(CONFIG_AC3_ENCODER) += ac3enc_float.o ac3enc.o ac3tab.o \
|
|
|
|
ac3.o kbdwin.o
|
ac3enc_fixed: convert to 32-bit sample format
The AC3 encoder used to be a separate library called "Aften", which
got merged into libavcodec (literally, SVN commits and all).
The merge preserved as much features from the library as possible.
The code had two versions - a fixed point version and a floating
point version. FFmpeg had floating point DSP code used by other
codecs, the AC3 decoder including, so the floating-point DSP was
simply replaced with FFmpeg's own functions.
However, FFmpeg had no fixed-point audio code at that point. So
the encoder brought along its own fixed-point DSP functions,
including a fixed-point MDCT.
The fixed-point MDCT itself is trivially just a float MDCT with a
different type and each multiply being a fixed-point multiply.
So over time, it got refactored, and the FFT used for all other codecs
was templated.
Due to design decisions at the time, the fixed-point version of the
encoder operates at 16-bits of precision. Although convenient, this,
even at the time, was inadequate and inefficient. The encoder is noisy,
does not produce output comparable to the float encoder, and even
rings at higher frequencies due to the badly approximated winow function.
Enter MIPS (owned by Imagination Technologies at the time). They wanted
quick fixed-point decoding on their FPUless cores. So they contributed
patches to template the AC3 decoder so it had both a fixed-point
and a floating-point version. They also did the same for the AAC decoder.
They however, used 32-bit samples. Not 16-bits. And we did not have
32-bit fixed-point DSP functions, including an MDCT. But instead of
templating our MDCT to output 3 versions (float, 32-bit fixed and 16-bit fixed),
they simply copy-pasted their own MDCT into ours, and completely
ifdeffed our own MDCT code out if a 32-bit fixed point MDCT was selected.
This is also the status quo nowadays - 2 separate MDCTs, one which
produces floating point and 16-bit fixed point versions, and one
sort-of integrated which produces 32-bit MDCT.
MIPS weren't all that interested in encoding, so they left the encoder
as-is, and they didn't care much about the ifdeffery, mess or quality - it's
not their problem.
So the MDCT/FFT code has always been a thorn in anyone looking to clean up
code's eye.
Backstory over. Internally AC3 operates on 25-bit fixed-point coefficients.
So for the floating point version, the encoder simply runs the float MDCT,
and converts the resulting coefficients to 25-bit fixed-point, as AC3 is inherently
a fixed-point codec. For the fixed-point version, the input is 16-bit samples,
so to maximize precision the frame samples are analyzed and the highest set
bit is detected via ac3_max_msb_abs_int16(), and the coefficients are then
scaled up via ac3_lshift_int16(), so the input for the FFT is always at least 14 bits,
computed in normalize_samples(). After FFT, the coefficients are scaled up to 25 bits.
This patch simply changes the encoder to accept 32-bit samples, reusing
the already well-optimized 32-bit MDCT code, allowing us to clean up and drop
a large part of a very messy code of ours, as well as prepare for the future lavu/tx
conversion. The coefficients are simply scaled down to 25 bits during windowing,
skipping 2 separate scalings, as the hacks to extend precision are simply no longer
necessary. There's no point in running the MDCT always at 32 bits when you're
going to drop 6 bits off anyway, the headroom is plenty, and the MDCT rounds
properly.
This also makes the encoder even slightly more accurate over the float version,
as there's no coefficient conversion step necessary.
SIZE SAVINGS:
ARM32:
HARDCODED TABLES:
BASE - 10709590
DROP DSP - 10702872 - diff: -6.56KiB
DROP MDCT - 10667932 - diff: -34.12KiB - both: -40.68KiB
DROP FFT - 10336652 - diff: -323.52KiB - all: -364.20KiB
SOFTCODED TABLES:
BASE - 9685096
DROP DSP - 9678378 - diff: -6.56KiB
DROP MDCT - 9643466 - diff: -34.09KiB - both: -40.65KiB
DROP FFT - 9573918 - diff: -67.92KiB - all: -108.57KiB
ARM64:
HARDCODED TABLES:
BASE - 14641112
DROP DSP - 14633806 - diff: -7.13KiB
DROP MDCT - 14604812 - diff: -28.31KiB - both: -35.45KiB
DROP FFT - 14286826 - diff: -310.53KiB - all: -345.98KiB
SOFTCODED TABLES:
BASE - 13636238
DROP DSP - 13628932 - diff: -7.13KiB
DROP MDCT - 13599866 - diff: -28.38KiB - both: -35.52KiB
DROP FFT - 13542080 - diff: -56.43KiB - all: -91.95KiB
x86:
HARDCODED TABLES:
BASE - 12367336
DROP DSP - 12354698 - diff: -12.34KiB
DROP MDCT - 12331024 - diff: -23.12KiB - both: -35.46KiB
DROP FFT - 12029788 - diff: -294.18KiB - all: -329.64KiB
SOFTCODED TABLES:
BASE - 11358094
DROP DSP - 11345456 - diff: -12.34KiB
DROP MDCT - 11321742 - diff: -23.16KiB - both: -35.50KiB
DROP FFT - 11276946 - diff: -43.75KiB - all: -79.25KiB
PERFORMANCE (10min random s32le):
ARM32 - before - 39.9x - 0m15.046s
ARM32 - after - 28.2x - 0m21.525s
Speed: -30%
ARM64 - before - 36.1x - 0m16.637s
ARM64 - after - 36.0x - 0m16.727s
Speed: -0.5%
x86 - before - 184x - 0m3.277s
x86 - after - 190x - 0m3.187s
Speed: +3%
2021-01-09 02:51:52 +02:00
|
|
|
OBJS-$(CONFIG_AC3_FIXED_ENCODER) += ac3enc_fixed.o ac3enc.o ac3tab.o ac3.o kbdwin.o
|
2017-04-04 07:45:41 +02:00
|
|
|
OBJS-$(CONFIG_AC3_MF_ENCODER) += mfenc.o mf_utils.o
|
2019-09-16 20:57:53 +02:00
|
|
|
OBJS-$(CONFIG_ACELP_KELVIN_DECODER) += g729dec.o lsp.o celp_math.o celp_filters.o acelp_filters.o acelp_pitch_delay.o acelp_vectors.o g729postfilter.o
|
2022-10-26 11:11:21 +02:00
|
|
|
OBJS-$(CONFIG_AGM_DECODER) += agm.o jpegquanttables.o
|
2013-05-16 08:21:08 +03:00
|
|
|
OBJS-$(CONFIG_AIC_DECODER) += aic.o
|
2015-10-04 19:09:05 +02:00
|
|
|
OBJS-$(CONFIG_ALAC_DECODER) += alac.o alac_data.o alacdsp.o
|
2012-12-04 21:46:20 +03:00
|
|
|
OBJS-$(CONFIG_ALAC_ENCODER) += alacenc.o alac_data.o
|
2014-03-20 03:15:25 +03:00
|
|
|
OBJS-$(CONFIG_ALIAS_PIX_DECODER) += aliaspixdec.o
|
|
|
|
OBJS-$(CONFIG_ALIAS_PIX_ENCODER) += aliaspixenc.o
|
2021-12-14 12:19:08 +02:00
|
|
|
OBJS-$(CONFIG_ALS_DECODER) += alsdec.o bgmc.o mlz.o
|
2010-02-21 20:01:56 +02:00
|
|
|
OBJS-$(CONFIG_AMRNB_DECODER) += amrnbdec.o celp_filters.o \
|
|
|
|
celp_math.o acelp_filters.o \
|
2010-03-02 05:16:27 +02:00
|
|
|
acelp_vectors.o \
|
2010-02-21 20:01:56 +02:00
|
|
|
acelp_pitch_delay.o
|
2010-12-18 05:03:18 +02:00
|
|
|
OBJS-$(CONFIG_AMRWB_DECODER) += amrwbdec.o celp_filters.o \
|
|
|
|
celp_math.o acelp_filters.o \
|
|
|
|
acelp_vectors.o \
|
2012-08-14 02:51:15 +03:00
|
|
|
acelp_pitch_delay.o
|
2021-03-31 00:21:20 +02:00
|
|
|
OBJS-$(CONFIG_AMV_ENCODER) += mjpegenc.o mjpegenc_common.o
|
2010-01-10 07:41:36 +02:00
|
|
|
OBJS-$(CONFIG_ANM_DECODER) += anm.o
|
2023-01-27 19:41:40 +02:00
|
|
|
OBJS-$(CONFIG_ANULL_DECODER) += null.o
|
|
|
|
OBJS-$(CONFIG_ANULL_ENCODER) += null.o
|
2010-07-18 11:03:35 +03:00
|
|
|
OBJS-$(CONFIG_ANSI_DECODER) += ansi.o cga_data.o
|
2022-09-19 22:14:05 +02:00
|
|
|
OBJS-$(CONFIG_APAC_DECODER) += apac.o
|
2007-09-13 06:22:47 +03:00
|
|
|
OBJS-$(CONFIG_APE_DECODER) += apedec.o
|
2019-12-08 16:58:18 +02:00
|
|
|
OBJS-$(CONFIG_APTX_DECODER) += aptxdec.o aptx.o
|
|
|
|
OBJS-$(CONFIG_APTX_ENCODER) += aptxenc.o aptx.o
|
|
|
|
OBJS-$(CONFIG_APTX_HD_DECODER) += aptxdec.o aptx.o
|
|
|
|
OBJS-$(CONFIG_APTX_HD_ENCODER) += aptxenc.o aptx.o
|
2014-11-21 13:05:47 +02:00
|
|
|
OBJS-$(CONFIG_APNG_DECODER) += png.o pngdec.o pngdsp.o
|
2015-03-31 22:58:26 +02:00
|
|
|
OBJS-$(CONFIG_APNG_ENCODER) += png.o pngenc.o
|
2019-01-20 12:18:38 +02:00
|
|
|
OBJS-$(CONFIG_ARBC_DECODER) += arbc.o
|
2020-09-18 17:43:42 +02:00
|
|
|
OBJS-$(CONFIG_ARGO_DECODER) += argo.o
|
2014-09-14 21:55:36 +03:00
|
|
|
OBJS-$(CONFIG_SSA_DECODER) += assdec.o ass.o
|
subtitles: introduce ASS codec id and use it.
Currently, we have a AV_CODEC_ID_SSA, which matches the way the ASS/SSA
markup is muxed in a standalone .ass/.ssa file. This means the AVPacket
data starts with a "Dialogue:" string, followed by a timing information
(start and end of the event as string) and a trailing CRLF after each
line. One packet can contain several lines. We'll refer to this layout
as "SSA" or "SSA lines".
In matroska, this markup is not stored as such: it has no "Dialogue:"
prefix, it contains a ReadOrder field, the timing information is not in
the payload, and it doesn't contain the trailing CRLF. See [1] for more
info. We'll refer to this layout as "ASS".
Since we have only one common codec for both formats, the matroska
demuxer is constructing an AVPacket following the "SSA lines" format.
This causes several problems, so it was decided to change this into
clean ASS packets.
Some insight about what is changed or unchanged in this commit:
CODECS
------
- the decoding process still writes "SSA lines" markup inside the ass
fields of the subtitles rectangles (sub->rects[n]->ass), which is
still the current common way of representing decoded subtitles
markup. It is meant to change later.
- new ASS codec id: AV_CODEC_ID_ASS (which is different from the
legacy AV_CODEC_ID_SSA)
- lavc/assdec: the "ass" decoder is renamed into "ssa" (instead of
"ass") for consistency with the codec id and allows to add a real
ass decoder. This ass decoder receives clean ASS lines (so it starts
with a ReadOrder, is followed by the Layer, etc). We make sure this
is decoded properly in a new ass-line rectangle of the decoded
subtitles (the ssa decoder OTOH is doing a simple straightforward
copy). Using the packet timing instead of data string makes sure the
ass-line now contains the appropriate timing.
- lavc/assenc: just like the ass decoder, the "ssa" encoder is renamed
into "ssa" (instead of "ass") for consistency with the codec id, and
allows to add a real "ass" encoder.
One important thing about this encoder is that it only supports one
ass rectangle: we could have put several dialogue events in the
AVPacket (separated by a \0 for instance) but this would have cause
trouble for the muxer which needs not only the start time, but also
the duration: typically, you have merged events with the same start
time (stored in the AVPacket->pts) but a different duration. At the
moment, only the matroska do the merge with the SSA-line codec.
We will need to make sure all the decoders in the future can't add
more than one rectangle (and only one Dialogue line in it
obviously).
FORMATS
-------
- lavf/assenc: the .ass/.ssa muxer can take both SSA and ASS packets.
In the case of ASS packets as input, it adds the timing based on the
AVPacket pts and duration, and mux it with "Dialogue:", trailing
CRLF, etc.
- lavf/assdec: unchanged; it currently still only outputs SSA-lines
packets.
- lavf/mkv: the demuxer can now output ASS packets without the need of
any "SSA-lines" reconstruction hack. It will become the default at
next libavformat bump, and the SSA support will be dropped from the
demuxer. The muxer can take ASS packets since it's muxed normally,
and still supports the old SSA packets. All the SSA support and
hacks in Matroska code will be dropped at next lavf bump.
[1]: http://www.matroska.org/technical/specs/subtitles/ssa.html
2013-01-03 05:06:43 +03:00
|
|
|
OBJS-$(CONFIG_SSA_ENCODER) += assenc.o ass.o
|
2014-09-14 21:55:36 +03:00
|
|
|
OBJS-$(CONFIG_ASS_DECODER) += assdec.o ass.o
|
2010-11-13 16:17:57 +02:00
|
|
|
OBJS-$(CONFIG_ASS_ENCODER) += assenc.o ass.o
|
2012-10-08 13:03:08 +03:00
|
|
|
OBJS-$(CONFIG_ASV1_DECODER) += asvdec.o asv.o mpeg12data.o
|
|
|
|
OBJS-$(CONFIG_ASV1_ENCODER) += asvenc.o asv.o mpeg12data.o
|
|
|
|
OBJS-$(CONFIG_ASV2_DECODER) += asvdec.o asv.o mpeg12data.o
|
|
|
|
OBJS-$(CONFIG_ASV2_ENCODER) += asvenc.o asv.o mpeg12data.o
|
2009-09-22 20:28:03 +03:00
|
|
|
OBJS-$(CONFIG_ATRAC1_DECODER) += atrac1.o atrac.o
|
2009-09-08 22:25:54 +03:00
|
|
|
OBJS-$(CONFIG_ATRAC3_DECODER) += atrac3.o atrac.o
|
2017-01-25 14:33:52 +02:00
|
|
|
OBJS-$(CONFIG_ATRAC3AL_DECODER) += atrac3.o atrac.o
|
2013-10-10 21:32:14 +03:00
|
|
|
OBJS-$(CONFIG_ATRAC3P_DECODER) += atrac3plusdec.o atrac3plus.o \
|
|
|
|
atrac3plusdsp.o atrac.o
|
2017-01-25 14:33:52 +02:00
|
|
|
OBJS-$(CONFIG_ATRAC3PAL_DECODER) += atrac3plusdec.o atrac3plus.o \
|
|
|
|
atrac3plusdsp.o atrac.o
|
2018-06-30 09:31:31 +02:00
|
|
|
OBJS-$(CONFIG_ATRAC9_DECODER) += atrac9dec.o
|
2009-12-23 15:04:57 +02:00
|
|
|
OBJS-$(CONFIG_AURA_DECODER) += cyuv.o
|
2009-12-23 18:01:15 +02:00
|
|
|
OBJS-$(CONFIG_AURA2_DECODER) += aura.o
|
2023-03-16 23:25:32 +02:00
|
|
|
OBJS-$(CONFIG_AV1_DECODER) += av1dec.o
|
2020-10-15 23:30:04 +02:00
|
|
|
OBJS-$(CONFIG_AV1_CUVID_DECODER) += cuviddec.o
|
2022-12-19 14:45:40 +02:00
|
|
|
OBJS-$(CONFIG_AV1_MEDIACODEC_DECODER) += mediacodecdec.o
|
2022-11-05 22:17:37 +02:00
|
|
|
OBJS-$(CONFIG_AV1_NVENC_ENCODER) += nvenc_av1.o nvenc.o
|
2022-10-13 10:25:23 +02:00
|
|
|
OBJS-$(CONFIG_AV1_QSV_ENCODER) += qsvenc_av1.o
|
2021-02-09 23:13:13 +02:00
|
|
|
OBJS-$(CONFIG_AVRN_DECODER) += avrndec.o
|
2012-01-04 17:10:58 +03:00
|
|
|
OBJS-$(CONFIG_AVRP_DECODER) += r210dec.o
|
2012-01-25 22:46:57 +03:00
|
|
|
OBJS-$(CONFIG_AVRP_ENCODER) += r210enc.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_AVS_DECODER) += avs.o
|
2012-05-08 09:41:26 +03:00
|
|
|
OBJS-$(CONFIG_AVUI_DECODER) += avuidec.o
|
2012-05-22 21:33:24 +03:00
|
|
|
OBJS-$(CONFIG_AVUI_ENCODER) += avuienc.o
|
2012-02-05 22:43:33 +03:00
|
|
|
OBJS-$(CONFIG_AYUV_DECODER) += v408dec.o
|
|
|
|
OBJS-$(CONFIG_AYUV_ENCODER) += v408enc.o
|
2007-04-07 23:51:58 +03:00
|
|
|
OBJS-$(CONFIG_BETHSOFTVID_DECODER) += bethsoftvideo.o
|
2008-04-18 11:43:11 +03:00
|
|
|
OBJS-$(CONFIG_BFI_DECODER) += bfi.o
|
2011-07-23 16:46:35 +03:00
|
|
|
OBJS-$(CONFIG_BINK_DECODER) += bink.o binkdsp.o
|
2014-09-03 13:27:27 +03:00
|
|
|
OBJS-$(CONFIG_BINKAUDIO_DCT_DECODER) += binkaudio.o
|
|
|
|
OBJS-$(CONFIG_BINKAUDIO_RDFT_DECODER) += binkaudio.o
|
2011-09-16 05:50:26 +03:00
|
|
|
OBJS-$(CONFIG_BINTEXT_DECODER) += bintext.o cga_data.o
|
2021-11-24 10:50:06 +02:00
|
|
|
OBJS-$(CONFIG_BITPACKED_DECODER) += bitpacked_dec.o
|
2021-11-25 03:45:43 +02:00
|
|
|
OBJS-$(CONFIG_BITPACKED_ENCODER) += bitpacked_enc.o
|
2008-09-23 11:45:12 +03:00
|
|
|
OBJS-$(CONFIG_BMP_DECODER) += bmp.o msrledec.o
|
2007-02-05 17:05:29 +02:00
|
|
|
OBJS-$(CONFIG_BMP_ENCODER) += bmpenc.o
|
2014-07-06 17:03:49 +03:00
|
|
|
OBJS-$(CONFIG_BMV_AUDIO_DECODER) += bmvaudio.o
|
|
|
|
OBJS-$(CONFIG_BMV_VIDEO_DECODER) += bmvvideo.o
|
2022-09-07 13:58:53 +02:00
|
|
|
OBJS-$(CONFIG_BONK_DECODER) += bonk.o
|
2014-03-27 02:45:15 +03:00
|
|
|
OBJS-$(CONFIG_BRENDER_PIX_DECODER) += brenderpix.o
|
2007-04-07 17:25:25 +03:00
|
|
|
OBJS-$(CONFIG_C93_DECODER) += c93.o
|
2009-10-18 13:47:40 +03:00
|
|
|
OBJS-$(CONFIG_CAVS_DECODER) += cavs.o cavsdec.o cavsdsp.o \
|
2016-11-14 11:42:36 +02:00
|
|
|
cavsdata.o
|
2023-01-24 17:14:25 +02:00
|
|
|
OBJS-$(CONFIG_CBD2_DECODER) += dpcm.o
|
2019-11-05 01:12:24 +02:00
|
|
|
OBJS-$(CONFIG_CCAPTION_DECODER) += ccaption_dec.o ass.o
|
2009-12-17 19:25:31 +02:00
|
|
|
OBJS-$(CONFIG_CDGRAPHICS_DECODER) += cdgraphics.o
|
2020-01-05 20:41:14 +02:00
|
|
|
OBJS-$(CONFIG_CDTOONS_DECODER) += cdtoons.o
|
2012-02-14 20:36:20 +03:00
|
|
|
OBJS-$(CONFIG_CDXL_DECODER) += cdxl.o
|
2020-08-09 17:47:34 +02:00
|
|
|
OBJS-$(CONFIG_CFHD_DECODER) += cfhd.o cfhddata.o cfhddsp.o
|
2021-02-09 20:17:27 +02:00
|
|
|
OBJS-$(CONFIG_CFHD_ENCODER) += cfhdenc.o cfhddata.o cfhdencdsp.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_CINEPAK_DECODER) += cinepak.o
|
2014-01-29 00:39:45 +03:00
|
|
|
OBJS-$(CONFIG_CINEPAK_ENCODER) += cinepakenc.o elbg.o
|
2017-03-02 12:21:48 +02:00
|
|
|
OBJS-$(CONFIG_CLEARVIDEO_DECODER) += clearvideo.o
|
2014-07-05 18:34:05 +03:00
|
|
|
OBJS-$(CONFIG_CLJR_DECODER) += cljrdec.o
|
|
|
|
OBJS-$(CONFIG_CLJR_ENCODER) += cljrenc.o
|
2015-04-09 18:11:10 +02:00
|
|
|
OBJS-$(CONFIG_CLLC_DECODER) += cllc.o canopus.o
|
2012-10-23 00:02:41 +03:00
|
|
|
OBJS-$(CONFIG_COMFORTNOISE_DECODER) += cngdec.o celp_filters.o
|
|
|
|
OBJS-$(CONFIG_COMFORTNOISE_ENCODER) += cngenc.o
|
2016-02-16 18:58:50 +02:00
|
|
|
OBJS-$(CONFIG_COOK_DECODER) += cook.o
|
2012-08-23 19:40:22 +03:00
|
|
|
OBJS-$(CONFIG_CPIA_DECODER) += cpia.o
|
2020-10-01 15:54:24 +02:00
|
|
|
OBJS-$(CONFIG_CRI_DECODER) += cri.o
|
2007-02-01 00:58:53 +02:00
|
|
|
OBJS-$(CONFIG_CSCD_DECODER) += cscd.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_CYUV_DECODER) += cyuv.o
|
2016-05-01 17:41:43 +02:00
|
|
|
OBJS-$(CONFIG_DCA_DECODER) += dcadec.o dca.o dcadata.o dcahuff.o \
|
2016-05-01 17:43:00 +02:00
|
|
|
dca_core.o dca_exss.o dca_xll.o dca_lbr.o \
|
2021-02-09 22:16:18 +02:00
|
|
|
dcadsp.o dcadct.o dca_sample_rate_tab.o \
|
|
|
|
synth_filter.o
|
2021-02-09 21:57:10 +02:00
|
|
|
OBJS-$(CONFIG_DCA_ENCODER) += dcaenc.o dcadata.o dcahuff.o \
|
2017-02-21 01:22:51 +02:00
|
|
|
dcaadpcm.o
|
2015-05-27 01:30:51 +02:00
|
|
|
OBJS-$(CONFIG_DDS_DECODER) += dds.o
|
2020-03-15 12:03:27 +02:00
|
|
|
OBJS-$(CONFIG_DERF_DPCM_DECODER) += dpcm.o
|
2016-02-02 16:24:57 +02:00
|
|
|
OBJS-$(CONFIG_DIRAC_DECODER) += diracdec.o dirac.o diracdsp.o diractab.o \
|
2016-11-14 11:42:36 +02:00
|
|
|
dirac_arith.o dirac_dwt.o dirac_vlc.o
|
2011-03-15 10:37:48 +02:00
|
|
|
OBJS-$(CONFIG_DFA_DECODER) += dfa.o
|
avcodec: add DFPWM1a codec
From the wiki page (https://wiki.vexatos.com/dfpwm):
> DFPWM (Dynamic Filter Pulse Width Modulation) is an audio codec
> created by Ben “GreaseMonkey” Russell in 2012, originally to be used
> as a voice codec for asiekierka's pixmess, a C remake of 64pixels.
> It is a 1-bit-per-sample codec which uses a dynamic-strength one-pole
> low-pass filter as a predictor. Due to the fact that a raw DPFWM decoding
> creates a high-pitched whine, it is often followed by some post-processing
> filters to make the stream more listenable.
It has recently gained popularity through the ComputerCraft mod for
Minecraft, which added support for audio through this codec, as well as
the Computronics expansion which preceeded the official support. These
both implement the slightly adjusted 1a version of the codec, which is
the version I have chosen for this patch.
This patch adds a new codec (with encoding and decoding) for DFPWM1a.
The codec sources are pretty simple: they use the reference codec with
a basic wrapper to connect it to the FFmpeg AVCodec system.
To clarify, the codec does not have a specific sample rate - it is
provided by the container (or user), which is typically 48000, but has
also been known to be 32768. The codec does not specify channel info
either, and it's pretty much always used with one mono channel.
However, since it appears that libavcodec expects both sample rate and
channel count to be handled by either the codec or container, I have
made the decision to allow multiple channels interleaved, which as far
as I know has never been used, but it works fine here nevertheless. The
accompanying raw format has a channels option to set this. (I expect
most users of this will not use multiple channels, but it remains an
option just in case.)
This patch will be highly useful to ComputerCraft developers who are
working with audio, as it is the standard format for audio, and there
are few user-friendly encoders out there, and even fewer decoders. It
will streamline the process for importing and listening to audio,
replacing the need to write code or use tools that require very
specific input formats.
You may use the CraftOS-PC program (https://www.craftos-pc.cc) to test
out DFPWM playback. To use it, run the program and type this command:
"attach left speaker" Then run "speaker play <file.dfpwm>" for each file.
The app runs in a sandbox, so files have to be transferred in first;
the easiest way to do this is to simply drag the file on the window.
(Or copy files to the folder at https://www.craftos-pc.cc/docs/saves.)
Sample DFPWM files can be generated with an online tool at
https://music.madefor.cc. This is the current best way to encode DFPWM
files. Simply drag an audio file onto the page, and it will encode it,
giving a download link on the page.
I've made sure to update all of the docs as per Developer§7, and I've
tested it as per section 8. Test files encoded to DFPWM play correctly
in ComputerCraft, and other files that work in CC are correctly decoded.
I have also verified that corrupt files do not crash the decoder - this
should theoretically not be an issue as the result size is constant with
respect to the input size.
Signed-off-by: Jack Bruienne <jackbruienne@gmail.com>
2022-03-08 05:29:49 +02:00
|
|
|
OBJS-$(CONFIG_DFPWM_DECODER) += dfpwmdec.o
|
|
|
|
OBJS-$(CONFIG_DFPWM_ENCODER) += dfpwmenc.o
|
2016-07-25 17:19:31 +02:00
|
|
|
OBJS-$(CONFIG_DNXHD_DECODER) += dnxhddec.o dnxhddata.o
|
|
|
|
OBJS-$(CONFIG_DNXHD_ENCODER) += dnxhdenc.o dnxhddata.o
|
2021-01-25 16:29:27 +02:00
|
|
|
OBJS-$(CONFIG_DOLBY_E_DECODER) += dolby_e.o dolby_e_parse.o kbdwin.o
|
2009-06-12 08:29:29 +03:00
|
|
|
OBJS-$(CONFIG_DPX_DECODER) += dpx.o
|
2011-03-26 06:12:35 +02:00
|
|
|
OBJS-$(CONFIG_DPX_ENCODER) += dpxenc.o
|
2016-05-05 21:21:27 +02:00
|
|
|
OBJS-$(CONFIG_DSD_LSBF_DECODER) += dsddec.o dsd.o
|
|
|
|
OBJS-$(CONFIG_DSD_MSBF_DECODER) += dsddec.o dsd.o
|
|
|
|
OBJS-$(CONFIG_DSD_LSBF_PLANAR_DECODER) += dsddec.o dsd.o
|
|
|
|
OBJS-$(CONFIG_DSD_MSBF_PLANAR_DECODER) += dsddec.o dsd.o
|
2014-07-06 16:45:52 +03:00
|
|
|
OBJS-$(CONFIG_DSICINAUDIO_DECODER) += dsicinaudio.o
|
|
|
|
OBJS-$(CONFIG_DSICINVIDEO_DECODER) += dsicinvideo.o
|
2015-02-13 09:36:16 +02:00
|
|
|
OBJS-$(CONFIG_DSS_SP_DECODER) += dss_sp.o
|
2016-05-05 21:21:27 +02:00
|
|
|
OBJS-$(CONFIG_DST_DECODER) += dstdec.o dsd.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_DVBSUB_DECODER) += dvbsubdec.o
|
2020-08-17 16:57:04 +02:00
|
|
|
OBJS-$(CONFIG_DVBSUB_ENCODER) += dvbsubenc.o
|
2020-02-05 05:01:59 +02:00
|
|
|
OBJS-$(CONFIG_DVDSUB_DECODER) += dvdsubdec.o dvdsub.o
|
|
|
|
OBJS-$(CONFIG_DVDSUB_ENCODER) += dvdsubenc.o dvdsub.o
|
2016-01-25 22:54:17 +02:00
|
|
|
OBJS-$(CONFIG_DVAUDIO_DECODER) += dvaudiodec.o
|
2014-07-05 12:09:15 +03:00
|
|
|
OBJS-$(CONFIG_DVVIDEO_DECODER) += dvdec.o dv.o dvdata.o
|
|
|
|
OBJS-$(CONFIG_DVVIDEO_ENCODER) += dvenc.o dv.o dvdata.o
|
2007-03-14 16:49:49 +02:00
|
|
|
OBJS-$(CONFIG_DXA_DECODER) += dxa.o
|
2011-12-09 13:06:02 +03:00
|
|
|
OBJS-$(CONFIG_DXTORY_DECODER) += dxtory.o
|
2015-08-26 11:31:41 +02:00
|
|
|
OBJS-$(CONFIG_DXV_DECODER) += dxv.o
|
2015-03-13 23:28:42 +02:00
|
|
|
OBJS-$(CONFIG_EAC3_DECODER) += eac3_data.o
|
2012-08-20 00:19:38 +03:00
|
|
|
OBJS-$(CONFIG_EAC3_ENCODER) += eac3enc.o eac3_data.o
|
2008-07-08 16:22:23 +03:00
|
|
|
OBJS-$(CONFIG_EACMV_DECODER) += eacmv.o
|
2009-10-18 13:47:40 +03:00
|
|
|
OBJS-$(CONFIG_EAMAD_DECODER) += eamad.o eaidct.o mpeg12.o \
|
2012-08-13 20:13:32 +03:00
|
|
|
mpeg12data.o
|
2008-11-26 17:07:03 +02:00
|
|
|
OBJS-$(CONFIG_EATGQ_DECODER) += eatgq.o eaidct.o
|
2008-08-06 11:33:25 +03:00
|
|
|
OBJS-$(CONFIG_EATGV_DECODER) += eatgv.o
|
2021-04-27 15:06:13 +02:00
|
|
|
OBJS-$(CONFIG_EATQI_DECODER) += eatqi.o eaidct.o mpeg12.o \
|
2022-09-30 03:41:59 +02:00
|
|
|
mpeg12data.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_EIGHTBPS_DECODER) += 8bps.o
|
2008-03-30 22:16:08 +03:00
|
|
|
OBJS-$(CONFIG_EIGHTSVX_EXP_DECODER) += 8svx.o
|
|
|
|
OBJS-$(CONFIG_EIGHTSVX_FIB_DECODER) += 8svx.o
|
2008-03-31 13:41:40 +03:00
|
|
|
OBJS-$(CONFIG_ESCAPE124_DECODER) += escape124.o
|
2011-11-30 03:26:36 +03:00
|
|
|
OBJS-$(CONFIG_ESCAPE130_DECODER) += escape130.o
|
2013-01-09 13:56:18 +03:00
|
|
|
OBJS-$(CONFIG_EVRC_DECODER) += evrcdec.o acelp_vectors.o lsp.o
|
2022-08-10 01:53:10 +02:00
|
|
|
OBJS-$(CONFIG_EXR_DECODER) += exr.o exrdsp.o half2float.o
|
|
|
|
OBJS-$(CONFIG_EXR_ENCODER) += exrenc.o float2half.o
|
2020-08-24 19:11:41 +02:00
|
|
|
OBJS-$(CONFIG_FASTAUDIO_DECODER) += fastaudio.o
|
2012-10-21 15:05:46 +03:00
|
|
|
OBJS-$(CONFIG_FFV1_DECODER) += ffv1dec.o ffv1.o
|
|
|
|
OBJS-$(CONFIG_FFV1_ENCODER) += ffv1enc.o ffv1.o
|
2011-11-02 18:29:11 +03:00
|
|
|
OBJS-$(CONFIG_FFWAVESYNTH_DECODER) += ffwavesynth.o
|
2014-02-07 11:35:07 +03:00
|
|
|
OBJS-$(CONFIG_FIC_DECODER) += fic.o
|
2017-08-29 19:16:44 +02:00
|
|
|
OBJS-$(CONFIG_FITS_DECODER) += fitsdec.o fits.o
|
2017-08-29 19:19:30 +02:00
|
|
|
OBJS-$(CONFIG_FITS_ENCODER) += fitsenc.o
|
2022-08-01 03:07:46 +02:00
|
|
|
OBJS-$(CONFIG_FLAC_DECODER) += flacdec.o flacdata.o flacdsp.o flac.o
|
2022-08-28 15:21:27 +02:00
|
|
|
OBJS-$(CONFIG_FLAC_ENCODER) += flacenc.o flacdata.o flacencdsp.o
|
2007-01-21 23:06:10 +02:00
|
|
|
OBJS-$(CONFIG_FLASHSV_DECODER) += flashsv.o
|
|
|
|
OBJS-$(CONFIG_FLASHSV_ENCODER) += flashsvenc.o
|
2011-04-29 03:25:56 +03:00
|
|
|
OBJS-$(CONFIG_FLASHSV2_ENCODER) += flashsv2enc.o
|
2011-07-16 13:02:55 +03:00
|
|
|
OBJS-$(CONFIG_FLASHSV2_DECODER) += flashsv.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_FLIC_DECODER) += flicvideo.o
|
2021-01-07 02:34:25 +02:00
|
|
|
OBJS-$(CONFIG_FLV_DECODER) += flvdec.o
|
|
|
|
OBJS-$(CONFIG_FLV_ENCODER) += flvenc.o
|
2017-02-06 10:17:29 +02:00
|
|
|
OBJS-$(CONFIG_FMVC_DECODER) += fmvc.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_FOURXM_DECODER) += 4xm.o
|
2010-08-06 13:29:14 +03:00
|
|
|
OBJS-$(CONFIG_FRAPS_DECODER) += fraps.o
|
2009-10-13 21:15:57 +03:00
|
|
|
OBJS-$(CONFIG_FRWU_DECODER) += frwu.o
|
2022-08-30 17:14:46 +02:00
|
|
|
OBJS-$(CONFIG_FTR_DECODER) += ftr.o
|
2021-02-10 01:20:26 +02:00
|
|
|
OBJS-$(CONFIG_G2M_DECODER) += g2meet.o elsdec.o mjpegdec_common.o
|
2015-11-24 00:10:53 +02:00
|
|
|
OBJS-$(CONFIG_G723_1_DECODER) += g723_1dec.o g723_1.o \
|
2015-12-07 16:50:45 +02:00
|
|
|
acelp_vectors.o celp_filters.o celp_math.o
|
2015-11-24 00:10:54 +02:00
|
|
|
OBJS-$(CONFIG_G723_1_ENCODER) += g723_1enc.o g723_1.o \
|
2015-12-19 23:50:47 +02:00
|
|
|
acelp_vectors.o celp_filters.o celp_math.o
|
2016-02-03 15:14:33 +02:00
|
|
|
OBJS-$(CONFIG_G729_DECODER) += g729dec.o lsp.o celp_math.o celp_filters.o acelp_filters.o acelp_pitch_delay.o acelp_vectors.o g729postfilter.o
|
2017-06-02 12:52:07 +02:00
|
|
|
OBJS-$(CONFIG_GDV_DECODER) += gdv.o
|
2021-09-15 12:15:07 +02:00
|
|
|
OBJS-$(CONFIG_GEM_DECODER) += gemdec.o
|
2006-10-26 07:15:48 +03:00
|
|
|
OBJS-$(CONFIG_GIF_DECODER) += gifdec.o lzw.o
|
2010-02-23 10:12:26 +02:00
|
|
|
OBJS-$(CONFIG_GIF_ENCODER) += gif.o lzwenc.o
|
2017-06-02 12:43:02 +02:00
|
|
|
OBJS-$(CONFIG_GREMLIN_DPCM_DECODER) += dpcm.o
|
2010-10-02 12:51:26 +03:00
|
|
|
OBJS-$(CONFIG_GSM_DECODER) += gsmdec.o gsmdec_data.o msgsmdec.o
|
|
|
|
OBJS-$(CONFIG_GSM_MS_DECODER) += gsmdec.o gsmdec_data.o msgsmdec.o
|
2013-04-04 15:56:01 +03:00
|
|
|
OBJS-$(CONFIG_H261_DECODER) += h261dec.o h261data.o h261.o
|
|
|
|
OBJS-$(CONFIG_H261_ENCODER) += h261enc.o h261data.o h261.o
|
2010-02-23 18:12:30 +02:00
|
|
|
OBJS-$(CONFIG_H263_DECODER) += h263dec.o h263.o ituh263dec.o \
|
2021-01-07 02:34:25 +02:00
|
|
|
mpeg4video.o mpeg4videodec.o \
|
2021-01-07 03:51:13 +02:00
|
|
|
h263data.o
|
|
|
|
OBJS-$(CONFIG_H263I_DECODER) += intelh263dec.o
|
2021-01-08 05:07:19 +02:00
|
|
|
OBJS-$(CONFIG_H263_ENCODER) += mpeg4video.o \
|
2021-01-07 02:34:25 +02:00
|
|
|
h263.o ituh263enc.o h263data.o
|
2017-09-21 03:55:40 +02:00
|
|
|
OBJS-$(CONFIG_H263_V4L2M2M_DECODER) += v4l2_m2m_dec.o
|
|
|
|
OBJS-$(CONFIG_H263_V4L2M2M_ENCODER) += v4l2_m2m_enc.o
|
2016-05-18 09:02:39 +02:00
|
|
|
OBJS-$(CONFIG_H264_DECODER) += h264dec.o h264_cabac.o h264_cavlc.o \
|
2014-02-28 18:37:46 +03:00
|
|
|
h264_direct.o h264_loopfilter.o \
|
2016-06-28 10:24:05 +02:00
|
|
|
h264_mb.o h264_picture.o \
|
2022-06-27 17:41:34 +02:00
|
|
|
h264_refs.o \
|
avcodec/h274: add film grain synthesis routine
This could arguably also be a vf, but I decided to put it here since
decoders are technically required to apply film grain during the output
step, and I would rather want to avoid requiring users insert the
correct film grain synthesis filter on their own.
The code, while in C, is written in a way that unrolls/vectorizes fairly
well under -O3, and is reasonably cache friendly. On my CPU, a single
thread pushes about 400 FPS at 1080p.
Apart from hand-written assembly, one possible avenue of improvement
would be to change the access order to compute the grain row-by-row
rather than in 8x8 blocks. This requires some redundant PRNG calls, but
would make the algorithm more cache-oblivious.
The implementation has been written to the wording of SMPTE RDD 5-2006
as faithfully as I can manage. However, apart from passing a visual
inspection, no guarantee of correctness can be made due to the lack of
any publicly available reference implementation against which to
compare it.
Signed-off-by: Niklas Haas <git@haasn.dev>
Signed-off-by: James Almer <jamrial@gmail.com>
2021-08-17 21:25:32 +02:00
|
|
|
h264_slice.o h264data.o h274.o
|
2017-11-27 04:36:06 +02:00
|
|
|
OBJS-$(CONFIG_H264_AMF_ENCODER) += amfenc_h264.o
|
2019-02-08 23:47:01 +02:00
|
|
|
OBJS-$(CONFIG_H264_CUVID_DECODER) += cuviddec.o
|
2016-10-12 14:44:08 +02:00
|
|
|
OBJS-$(CONFIG_H264_MEDIACODEC_DECODER) += mediacodecdec.o
|
2022-10-17 18:23:08 +02:00
|
|
|
OBJS-$(CONFIG_H264_MEDIACODEC_ENCODER) += mediacodecenc.o
|
2017-04-04 07:45:41 +02:00
|
|
|
OBJS-$(CONFIG_H264_MF_ENCODER) += mfenc.o mf_utils.o
|
2016-05-02 19:39:14 +02:00
|
|
|
OBJS-$(CONFIG_H264_MMAL_DECODER) += mmaldec.o
|
2022-01-05 15:59:21 +02:00
|
|
|
OBJS-$(CONFIG_H264_NVENC_ENCODER) += nvenc_h264.o nvenc.o
|
2016-05-02 19:39:14 +02:00
|
|
|
OBJS-$(CONFIG_H264_OMX_ENCODER) += omx.o
|
2021-01-05 04:43:40 +02:00
|
|
|
OBJS-$(CONFIG_H264_QSV_DECODER) += qsvdec.o
|
2016-05-02 19:39:14 +02:00
|
|
|
OBJS-$(CONFIG_H264_QSV_ENCODER) += qsvenc_h264.o
|
2017-09-24 07:39:45 +02:00
|
|
|
OBJS-$(CONFIG_H264_RKMPP_DECODER) += rkmppdec.o
|
2021-11-19 20:50:49 +02:00
|
|
|
OBJS-$(CONFIG_H264_VAAPI_ENCODER) += vaapi_encode_h264.o h264_levels.o \
|
|
|
|
h2645data.o
|
2016-06-25 10:46:08 +02:00
|
|
|
OBJS-$(CONFIG_H264_VIDEOTOOLBOX_ENCODER) += videotoolboxenc.o
|
2017-09-21 03:55:40 +02:00
|
|
|
OBJS-$(CONFIG_H264_V4L2M2M_DECODER) += v4l2_m2m_dec.o
|
|
|
|
OBJS-$(CONFIG_H264_V4L2M2M_ENCODER) += v4l2_m2m_enc.o
|
2015-07-21 02:12:12 +02:00
|
|
|
OBJS-$(CONFIG_HAP_DECODER) += hapdec.o hap.o
|
|
|
|
OBJS-$(CONFIG_HAP_ENCODER) += hapenc.o hap.o
|
2020-03-15 14:28:13 +02:00
|
|
|
OBJS-$(CONFIG_HCA_DECODER) += hcadec.o
|
2019-01-02 19:50:38 +02:00
|
|
|
OBJS-$(CONFIG_HCOM_DECODER) += hcom.o
|
2022-07-03 23:50:05 +02:00
|
|
|
OBJS-$(CONFIG_HDR_DECODER) += hdrdec.o
|
|
|
|
OBJS-$(CONFIG_HDR_ENCODER) += hdrenc.o
|
2017-04-30 18:05:52 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_DECODER) += hevcdec.o hevc_mvs.o \
|
2013-10-12 12:55:48 +03:00
|
|
|
hevc_cabac.o hevc_refs.o hevcpred.o \
|
2022-01-05 10:08:31 +02:00
|
|
|
hevcdsp.o hevc_filter.o hevc_data.o \
|
|
|
|
h274.o
|
2017-11-27 04:36:06 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_AMF_ENCODER) += amfenc_hevc.o
|
2017-10-03 15:15:16 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_CUVID_DECODER) += cuviddec.o
|
2017-04-02 20:40:01 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_MEDIACODEC_DECODER) += mediacodecdec.o
|
2022-10-17 18:23:08 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_MEDIACODEC_ENCODER) += mediacodecenc.o
|
2017-04-04 07:45:41 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_MF_ENCODER) += mfenc.o mf_utils.o
|
2022-01-05 15:59:21 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_NVENC_ENCODER) += nvenc_hevc.o nvenc.o
|
2021-01-05 04:43:40 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_QSV_DECODER) += qsvdec.o
|
2016-12-04 15:13:19 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_QSV_ENCODER) += qsvenc_hevc.o hevc_ps_enc.o \
|
2017-04-02 20:40:01 +02:00
|
|
|
hevc_data.o
|
2017-09-24 07:39:45 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_RKMPP_DECODER) += rkmppdec.o
|
2021-11-19 20:50:49 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_VAAPI_ENCODER) += vaapi_encode_h265.o h265_profile_level.o \
|
|
|
|
h2645data.o
|
2017-09-21 03:55:40 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_V4L2M2M_DECODER) += v4l2_m2m_dec.o
|
|
|
|
OBJS-$(CONFIG_HEVC_V4L2M2M_ENCODER) += v4l2_m2m_enc.o
|
2021-12-17 01:32:30 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_VIDEOTOOLBOX_ENCODER) += videotoolboxenc.o
|
2013-10-28 03:38:02 +03:00
|
|
|
OBJS-$(CONFIG_HNM4_VIDEO_DECODER) += hnm4video.o
|
2015-04-09 18:12:30 +02:00
|
|
|
OBJS-$(CONFIG_HQ_HQA_DECODER) += hq_hqa.o hq_hqadata.o hq_hqadsp.o \
|
|
|
|
canopus.o
|
2015-04-09 18:11:10 +02:00
|
|
|
OBJS-$(CONFIG_HQX_DECODER) += hqx.o hqxvlc.o hqxdsp.o canopus.o
|
2012-12-06 16:06:46 +03:00
|
|
|
OBJS-$(CONFIG_HUFFYUV_DECODER) += huffyuv.o huffyuvdec.o
|
|
|
|
OBJS-$(CONFIG_HUFFYUV_ENCODER) += huffyuv.o huffyuvenc.o
|
2018-08-22 22:11:42 +02:00
|
|
|
OBJS-$(CONFIG_HYMT_DECODER) += huffyuv.o huffyuvdec.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_IDCIN_DECODER) += idcinvideo.o
|
2011-09-16 05:50:26 +03:00
|
|
|
OBJS-$(CONFIG_IDF_DECODER) += bintext.o cga_data.o
|
2010-02-03 11:56:16 +02:00
|
|
|
OBJS-$(CONFIG_IFF_ILBM_DECODER) += iff.o
|
2017-02-04 22:11:48 +02:00
|
|
|
OBJS-$(CONFIG_ILBC_DECODER) += ilbcdec.o
|
2008-10-25 16:51:43 +03:00
|
|
|
OBJS-$(CONFIG_IMC_DECODER) += imc.o
|
2018-08-03 19:43:20 +02:00
|
|
|
OBJS-$(CONFIG_IMM4_DECODER) += imm4.o
|
2018-09-14 11:14:15 +02:00
|
|
|
OBJS-$(CONFIG_IMM5_DECODER) += imm5.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_INDEO2_DECODER) += indeo2.o
|
|
|
|
OBJS-$(CONFIG_INDEO3_DECODER) += indeo3.o
|
2015-07-16 17:10:58 +02:00
|
|
|
OBJS-$(CONFIG_INDEO4_DECODER) += indeo4.o ivi.o
|
|
|
|
OBJS-$(CONFIG_INDEO5_DECODER) += indeo5.o ivi.o
|
2015-10-30 19:15:22 +02:00
|
|
|
OBJS-$(CONFIG_INTERPLAY_ACM_DECODER) += interplayacm.o
|
2006-07-09 02:05:12 +03:00
|
|
|
OBJS-$(CONFIG_INTERPLAY_DPCM_DECODER) += dpcm.o
|
2007-12-19 10:14:21 +02:00
|
|
|
OBJS-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.o
|
2020-09-14 11:35:26 +02:00
|
|
|
OBJS-$(CONFIG_IPU_DECODER) += mpeg12dec.o mpeg12.o mpeg12data.o
|
2011-04-18 18:40:51 +03:00
|
|
|
OBJS-$(CONFIG_JACOSUB_DECODER) += jacosubdec.o ass.o
|
2013-06-01 12:15:31 +03:00
|
|
|
OBJS-$(CONFIG_JPEG2000_ENCODER) += j2kenc.o mqcenc.o mqc.o jpeg2000.o \
|
2014-10-02 18:53:44 +03:00
|
|
|
jpeg2000dwt.o
|
|
|
|
OBJS-$(CONFIG_JPEG2000_DECODER) += jpeg2000dec.o jpeg2000.o jpeg2000dsp.o \
|
2023-04-14 21:14:42 +02:00
|
|
|
jpeg2000dwt.o mqcdec.o mqc.o jpeg2000htdec.o
|
2014-02-28 02:02:23 +03:00
|
|
|
OBJS-$(CONFIG_JPEGLS_DECODER) += jpeglsdec.o jpegls.o
|
2008-10-25 16:51:47 +03:00
|
|
|
OBJS-$(CONFIG_JPEGLS_ENCODER) += jpeglsenc.o jpegls.o
|
2011-03-10 14:23:25 +02:00
|
|
|
OBJS-$(CONFIG_JV_DECODER) += jvdec.o
|
2010-03-09 03:03:09 +02:00
|
|
|
OBJS-$(CONFIG_KGV1_DECODER) += kgv1dec.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_KMVC_DECODER) += kmvc.o
|
2011-01-08 23:22:15 +02:00
|
|
|
OBJS-$(CONFIG_LAGARITH_DECODER) += lagarith.o lagarithrac.o
|
2015-03-27 13:23:59 +02:00
|
|
|
OBJS-$(CONFIG_LJPEG_ENCODER) += ljpegenc.o mjpegenc_common.o
|
2008-10-25 16:51:47 +03:00
|
|
|
OBJS-$(CONFIG_LOCO_DECODER) += loco.o
|
2021-02-14 16:50:10 +02:00
|
|
|
OBJS-$(CONFIG_LSCR_DECODER) += lscrdec.o png.o pngdec.o pngdsp.o
|
2016-05-05 18:09:24 +02:00
|
|
|
OBJS-$(CONFIG_M101_DECODER) += m101.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_MACE3_DECODER) += mace.o
|
|
|
|
OBJS-$(CONFIG_MACE6_DECODER) += mace.o
|
2016-05-22 15:18:30 +02:00
|
|
|
OBJS-$(CONFIG_MAGICYUV_DECODER) += magicyuv.o
|
2017-07-08 19:14:05 +02:00
|
|
|
OBJS-$(CONFIG_MAGICYUV_ENCODER) += magicyuvenc.o
|
2012-08-13 20:13:32 +03:00
|
|
|
OBJS-$(CONFIG_MDEC_DECODER) += mdec.o mpeg12.o mpeg12data.o
|
2023-01-31 11:18:17 +02:00
|
|
|
OBJS-$(CONFIG_MEDIA100_DECODER) += mjpegbdec.o
|
2022-10-18 12:57:16 +02:00
|
|
|
OBJS-$(CONFIG_METASOUND_DECODER) += metasound.o twinvq.o
|
2012-04-14 22:46:01 +03:00
|
|
|
OBJS-$(CONFIG_MICRODVD_DECODER) += microdvddec.o ass.o
|
2008-03-18 21:51:34 +02:00
|
|
|
OBJS-$(CONFIG_MIMIC_DECODER) += mimic.o
|
2022-09-08 20:44:49 +02:00
|
|
|
OBJS-$(CONFIG_MISC4_DECODER) += misc4.o
|
2021-02-10 01:20:26 +02:00
|
|
|
OBJS-$(CONFIG_MJPEG_DECODER) += mjpegdec.o mjpegdec_common.o
|
2021-01-05 04:43:41 +02:00
|
|
|
OBJS-$(CONFIG_MJPEG_QSV_DECODER) += qsvdec.o
|
2017-02-02 09:23:04 +02:00
|
|
|
OBJS-$(CONFIG_MJPEG_ENCODER) += mjpegenc.o mjpegenc_common.o \
|
|
|
|
mjpegenc_huffman.o
|
2014-02-28 02:02:23 +03:00
|
|
|
OBJS-$(CONFIG_MJPEGB_DECODER) += mjpegbdec.o
|
2018-02-24 02:52:42 +02:00
|
|
|
OBJS-$(CONFIG_MJPEG_CUVID_DECODER) += cuviddec.o
|
2017-07-21 06:12:44 +02:00
|
|
|
OBJS-$(CONFIG_MJPEG_QSV_ENCODER) += qsvenc_jpeg.o
|
2016-03-24 01:50:47 +02:00
|
|
|
OBJS-$(CONFIG_MJPEG_VAAPI_ENCODER) += vaapi_encode_mjpeg.o
|
2009-12-29 16:18:27 +02:00
|
|
|
OBJS-$(CONFIG_MLP_DECODER) += mlpdec.o mlpdsp.o
|
2016-09-25 21:12:18 +02:00
|
|
|
OBJS-$(CONFIG_MLP_ENCODER) += mlpenc.o mlp.o
|
2006-07-08 19:41:52 +03:00
|
|
|
OBJS-$(CONFIG_MMVIDEO_DECODER) += mmvideo.o
|
2020-08-25 12:34:32 +02:00
|
|
|
OBJS-$(CONFIG_MOBICLIP_DECODER) += mobiclip.o
|
2008-07-10 06:01:39 +03:00
|
|
|
OBJS-$(CONFIG_MOTIONPIXELS_DECODER) += motionpixels.o
|
2012-06-24 00:11:19 +03:00
|
|
|
OBJS-$(CONFIG_MOVTEXT_DECODER) += movtextdec.o ass.o
|
2012-06-06 19:12:24 +03:00
|
|
|
OBJS-$(CONFIG_MOVTEXT_ENCODER) += movtextenc.o ass_split.o
|
2013-11-19 23:47:39 +03:00
|
|
|
OBJS-$(CONFIG_MP1_DECODER) += mpegaudiodec_fixed.o
|
2012-08-14 03:09:15 +03:00
|
|
|
OBJS-$(CONFIG_MP1FLOAT_DECODER) += mpegaudiodec_float.o
|
2013-11-19 23:47:39 +03:00
|
|
|
OBJS-$(CONFIG_MP2_DECODER) += mpegaudiodec_fixed.o
|
2013-11-16 15:15:35 +03:00
|
|
|
OBJS-$(CONFIG_MP2_ENCODER) += mpegaudioenc_float.o mpegaudio.o \
|
2021-03-09 13:15:35 +02:00
|
|
|
mpegaudiodata.o mpegaudiodsp_data.o \
|
|
|
|
mpegaudiotabs.o
|
2013-11-16 15:15:35 +03:00
|
|
|
OBJS-$(CONFIG_MP2FIXED_ENCODER) += mpegaudioenc_fixed.o mpegaudio.o \
|
2021-03-09 13:15:35 +02:00
|
|
|
mpegaudiodata.o mpegaudiodsp_data.o \
|
|
|
|
mpegaudiotabs.o
|
2012-08-14 03:09:15 +03:00
|
|
|
OBJS-$(CONFIG_MP2FLOAT_DECODER) += mpegaudiodec_float.o
|
2013-11-19 23:47:39 +03:00
|
|
|
OBJS-$(CONFIG_MP3_DECODER) += mpegaudiodec_fixed.o
|
2017-04-04 07:45:41 +02:00
|
|
|
OBJS-$(CONFIG_MP3_MF_ENCODER) += mfenc.o mf_utils.o
|
2013-11-19 23:47:39 +03:00
|
|
|
OBJS-$(CONFIG_MP3ADU_DECODER) += mpegaudiodec_fixed.o
|
2012-08-14 03:09:15 +03:00
|
|
|
OBJS-$(CONFIG_MP3ADUFLOAT_DECODER) += mpegaudiodec_float.o
|
|
|
|
OBJS-$(CONFIG_MP3FLOAT_DECODER) += mpegaudiodec_float.o
|
2021-12-14 12:19:08 +02:00
|
|
|
OBJS-$(CONFIG_MP3ON4_DECODER) += mpegaudiodec_fixed.o
|
|
|
|
OBJS-$(CONFIG_MP3ON4FLOAT_DECODER) += mpegaudiodec_float.o
|
2012-08-23 20:48:13 +03:00
|
|
|
OBJS-$(CONFIG_MPC7_DECODER) += mpc7.o mpc.o
|
|
|
|
OBJS-$(CONFIG_MPC8_DECODER) += mpc8.o mpc.o
|
2014-07-28 00:13:10 +03:00
|
|
|
OBJS-$(CONFIG_MPEGVIDEO_DECODER) += mpeg12dec.o mpeg12.o mpeg12data.o
|
2013-03-26 21:50:40 +03:00
|
|
|
OBJS-$(CONFIG_MPEG1VIDEO_DECODER) += mpeg12dec.o mpeg12.o mpeg12data.o
|
2012-08-13 20:13:32 +03:00
|
|
|
OBJS-$(CONFIG_MPEG1VIDEO_ENCODER) += mpeg12enc.o mpeg12.o
|
2018-02-24 02:52:42 +02:00
|
|
|
OBJS-$(CONFIG_MPEG1_CUVID_DECODER) += cuviddec.o
|
2017-09-21 03:55:40 +02:00
|
|
|
OBJS-$(CONFIG_MPEG1_V4L2M2M_DECODER) += v4l2_m2m_dec.o
|
2016-06-25 10:46:08 +02:00
|
|
|
OBJS-$(CONFIG_MPEG2_MMAL_DECODER) += mmaldec.o
|
2021-01-05 04:43:41 +02:00
|
|
|
OBJS-$(CONFIG_MPEG2_QSV_DECODER) += qsvdec.o
|
2016-05-02 19:39:14 +02:00
|
|
|
OBJS-$(CONFIG_MPEG2_QSV_ENCODER) += qsvenc_mpeg2.o
|
2016-02-16 18:58:50 +02:00
|
|
|
OBJS-$(CONFIG_MPEG2VIDEO_DECODER) += mpeg12dec.o mpeg12.o mpeg12data.o
|
|
|
|
OBJS-$(CONFIG_MPEG2VIDEO_ENCODER) += mpeg12enc.o mpeg12.o
|
2018-02-24 02:52:42 +02:00
|
|
|
OBJS-$(CONFIG_MPEG2_CUVID_DECODER) += cuviddec.o
|
2017-06-05 22:22:58 +02:00
|
|
|
OBJS-$(CONFIG_MPEG2_MEDIACODEC_DECODER) += mediacodecdec.o
|
2017-01-09 21:17:37 +02:00
|
|
|
OBJS-$(CONFIG_MPEG2_VAAPI_ENCODER) += vaapi_encode_mpeg2.o
|
2017-09-21 03:55:40 +02:00
|
|
|
OBJS-$(CONFIG_MPEG2_V4L2M2M_DECODER) += v4l2_m2m_dec.o
|
2022-10-12 14:56:40 +02:00
|
|
|
OBJS-$(CONFIG_MPEG4_DECODER) += mpeg4videodsp.o xvididct.o
|
2021-01-08 05:07:19 +02:00
|
|
|
OBJS-$(CONFIG_MPEG4_ENCODER) += mpeg4videoenc.o
|
2018-02-24 02:52:42 +02:00
|
|
|
OBJS-$(CONFIG_MPEG4_CUVID_DECODER) += cuviddec.o
|
2016-10-12 14:44:08 +02:00
|
|
|
OBJS-$(CONFIG_MPEG4_MEDIACODEC_DECODER) += mediacodecdec.o
|
2023-03-27 17:21:27 +02:00
|
|
|
OBJS-$(CONFIG_MPEG4_MEDIACODEC_ENCODER) += mediacodecenc.o
|
2016-05-02 19:39:14 +02:00
|
|
|
OBJS-$(CONFIG_MPEG4_OMX_ENCODER) += omx.o
|
2017-09-21 03:55:40 +02:00
|
|
|
OBJS-$(CONFIG_MPEG4_V4L2M2M_DECODER) += v4l2_m2m_dec.o
|
|
|
|
OBJS-$(CONFIG_MPEG4_V4L2M2M_ENCODER) += v4l2_m2m_enc.o
|
2012-12-27 16:49:33 +03:00
|
|
|
OBJS-$(CONFIG_MPL2_DECODER) += mpl2dec.o ass.o
|
2016-02-16 18:58:50 +02:00
|
|
|
OBJS-$(CONFIG_MSA1_DECODER) += mss3.o
|
2017-04-15 10:57:07 +02:00
|
|
|
OBJS-$(CONFIG_MSCC_DECODER) += mscc.o
|
2021-09-04 09:22:19 +02:00
|
|
|
OBJS-$(CONFIG_MSNSIREN_DECODER) += siren.o
|
2020-10-08 12:04:58 +02:00
|
|
|
OBJS-$(CONFIG_MSP2_DECODER) += msp2dec.o
|
2008-09-18 08:20:54 +03:00
|
|
|
OBJS-$(CONFIG_MSRLE_DECODER) += msrle.o msrledec.o
|
2012-08-26 15:16:07 +03:00
|
|
|
OBJS-$(CONFIG_MSS1_DECODER) += mss1.o mss12.o
|
2016-02-10 15:55:52 +02:00
|
|
|
OBJS-$(CONFIG_MSS2_DECODER) += mss2.o mss12.o mss2dsp.o wmv2data.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_MSVIDEO1_DECODER) += msvideo1.o
|
2011-01-23 16:58:23 +02:00
|
|
|
OBJS-$(CONFIG_MSVIDEO1_ENCODER) += msvideo1enc.o elbg.o
|
2007-07-13 01:40:33 +03:00
|
|
|
OBJS-$(CONFIG_MSZH_DECODER) += lcldec.o
|
2015-07-16 17:10:59 +02:00
|
|
|
OBJS-$(CONFIG_MTS2_DECODER) += mss4.o
|
2020-02-18 20:33:33 +02:00
|
|
|
OBJS-$(CONFIG_MV30_DECODER) += mv30.o
|
2012-12-17 12:37:54 +03:00
|
|
|
OBJS-$(CONFIG_MVC1_DECODER) += mvcdec.o
|
|
|
|
OBJS-$(CONFIG_MVC2_DECODER) += mvcdec.o
|
2019-11-23 14:46:55 +02:00
|
|
|
OBJS-$(CONFIG_MVDV_DECODER) += midivid.o
|
2019-11-25 13:59:56 +02:00
|
|
|
OBJS-$(CONFIG_MVHA_DECODER) += mvha.o
|
2018-08-24 17:01:00 +02:00
|
|
|
OBJS-$(CONFIG_MWSC_DECODER) += mwsc.o
|
2014-02-28 02:02:23 +03:00
|
|
|
OBJS-$(CONFIG_MXPEG_DECODER) += mxpegdec.o
|
2008-10-25 16:51:43 +03:00
|
|
|
OBJS-$(CONFIG_NELLYMOSER_DECODER) += nellymoserdec.o nellymoser.o
|
2013-02-18 00:00:36 +03:00
|
|
|
OBJS-$(CONFIG_NELLYMOSER_ENCODER) += nellymoserenc.o nellymoser.o
|
2020-05-04 23:57:47 +02:00
|
|
|
OBJS-$(CONFIG_NOTCHLC_DECODER) += notchlc.o
|
2022-10-26 11:11:21 +02:00
|
|
|
OBJS-$(CONFIG_NUV_DECODER) += nuv.o rtjpeg.o jpegquanttables.o
|
2013-06-09 21:03:33 +03:00
|
|
|
OBJS-$(CONFIG_ON2AVC_DECODER) += on2avc.o on2avcdata.o
|
2022-10-07 20:17:06 +02:00
|
|
|
OBJS-$(CONFIG_OPUS_DECODER) += opusdec.o opusdec_celt.o opus_celt.o \
|
2019-03-15 16:35:03 +02:00
|
|
|
opus_pvq.o opus_silk.o opustab.o vorbis_data.o \
|
2022-10-07 20:17:06 +02:00
|
|
|
opusdsp.o opus_parse.o opus_rc.o
|
|
|
|
OBJS-$(CONFIG_OPUS_ENCODER) += opusenc.o opusenc_psy.o opus_celt.o \
|
|
|
|
opus_pvq.o opus_rc.o opustab.o
|
2014-07-06 07:42:50 +03:00
|
|
|
OBJS-$(CONFIG_PAF_AUDIO_DECODER) += pafaudio.o
|
|
|
|
OBJS-$(CONFIG_PAF_VIDEO_DECODER) += pafvideo.o
|
2009-10-28 08:34:00 +02:00
|
|
|
OBJS-$(CONFIG_PAM_DECODER) += pnmdec.o pnm.o
|
2013-11-09 12:14:46 +03:00
|
|
|
OBJS-$(CONFIG_PAM_ENCODER) += pamenc.o
|
2009-10-28 08:34:00 +02:00
|
|
|
OBJS-$(CONFIG_PBM_DECODER) += pnmdec.o pnm.o
|
2013-11-09 12:14:46 +03:00
|
|
|
OBJS-$(CONFIG_PBM_ENCODER) += pnmenc.o
|
2007-12-27 00:17:46 +02:00
|
|
|
OBJS-$(CONFIG_PCX_DECODER) += pcx.o
|
2009-03-23 01:42:06 +02:00
|
|
|
OBJS-$(CONFIG_PCX_ENCODER) += pcxenc.o
|
2023-04-17 19:19:42 +02:00
|
|
|
OBJS-$(CONFIG_PDV_DECODER) += pdvdec.o
|
2020-05-27 16:42:24 +02:00
|
|
|
OBJS-$(CONFIG_PFM_DECODER) += pnmdec.o pnm.o
|
2021-01-31 22:44:51 +02:00
|
|
|
OBJS-$(CONFIG_PFM_ENCODER) += pnmenc.o
|
2009-10-28 08:34:00 +02:00
|
|
|
OBJS-$(CONFIG_PGM_DECODER) += pnmdec.o pnm.o
|
2013-11-09 12:14:46 +03:00
|
|
|
OBJS-$(CONFIG_PGM_ENCODER) += pnmenc.o
|
2009-10-28 08:34:00 +02:00
|
|
|
OBJS-$(CONFIG_PGMYUV_DECODER) += pnmdec.o pnm.o
|
2013-11-09 12:14:46 +03:00
|
|
|
OBJS-$(CONFIG_PGMYUV_ENCODER) += pnmenc.o
|
2009-08-25 11:47:39 +03:00
|
|
|
OBJS-$(CONFIG_PGSSUB_DECODER) += pgssubdec.o
|
2020-07-02 21:19:38 +02:00
|
|
|
OBJS-$(CONFIG_PGX_DECODER) += pgxdec.o
|
2022-08-10 01:53:10 +02:00
|
|
|
OBJS-$(CONFIG_PHM_DECODER) += pnmdec.o pnm.o half2float.o
|
|
|
|
OBJS-$(CONFIG_PHM_ENCODER) += pnmenc.o float2half.o
|
2020-08-29 17:03:20 +02:00
|
|
|
OBJS-$(CONFIG_PHOTOCD_DECODER) += photocd.o
|
2010-06-08 14:55:06 +03:00
|
|
|
OBJS-$(CONFIG_PICTOR_DECODER) += pictordec.o cga_data.o
|
2016-12-02 21:30:50 +02:00
|
|
|
OBJS-$(CONFIG_PIXLET_DECODER) += pixlet.o
|
2012-12-28 07:15:00 +03:00
|
|
|
OBJS-$(CONFIG_PJS_DECODER) += textdec.o ass.o
|
2012-01-27 18:00:36 +03:00
|
|
|
OBJS-$(CONFIG_PNG_DECODER) += png.o pngdec.o pngdsp.o
|
2007-07-15 21:24:26 +03:00
|
|
|
OBJS-$(CONFIG_PNG_ENCODER) += png.o pngenc.o
|
2009-10-28 08:34:00 +02:00
|
|
|
OBJS-$(CONFIG_PPM_DECODER) += pnmdec.o pnm.o
|
2013-11-09 12:14:46 +03:00
|
|
|
OBJS-$(CONFIG_PPM_ENCODER) += pnmenc.o
|
2013-09-12 21:11:44 +03:00
|
|
|
OBJS-$(CONFIG_PRORES_DECODER) += proresdec2.o proresdsp.o proresdata.o
|
2018-10-08 15:49:40 +02:00
|
|
|
OBJS-$(CONFIG_PRORES_ENCODER) += proresenc_anatoliy.o proresdata.o
|
|
|
|
OBJS-$(CONFIG_PRORES_AW_ENCODER) += proresenc_anatoliy.o proresdata.o
|
2014-02-28 19:54:32 +03:00
|
|
|
OBJS-$(CONFIG_PRORES_KS_ENCODER) += proresenc_kostya.o proresdata.o
|
2021-12-17 01:33:46 +02:00
|
|
|
OBJS-$(CONFIG_PRORES_VIDEOTOOLBOX_ENCODER) += videotoolboxenc.o
|
2018-08-16 13:25:51 +02:00
|
|
|
OBJS-$(CONFIG_PROSUMER_DECODER) += prosumer.o
|
2016-11-24 22:26:42 +02:00
|
|
|
OBJS-$(CONFIG_PSD_DECODER) += psd.o
|
2007-04-29 12:37:07 +03:00
|
|
|
OBJS-$(CONFIG_PTX_DECODER) += ptx.o
|
2012-08-26 12:29:39 +03:00
|
|
|
OBJS-$(CONFIG_QCELP_DECODER) += qcelpdec.o \
|
2010-04-23 19:45:38 +03:00
|
|
|
celp_filters.o acelp_vectors.o \
|
|
|
|
acelp_filters.o
|
2012-08-23 20:48:13 +03:00
|
|
|
OBJS-$(CONFIG_QDM2_DECODER) += qdm2.o
|
2016-12-26 17:58:46 +02:00
|
|
|
OBJS-$(CONFIG_QDMC_DECODER) += qdmc.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_QDRAW_DECODER) += qdrw.o
|
2022-05-31 12:33:54 +02:00
|
|
|
OBJS-$(CONFIG_QOI_DECODER) += qoidec.o
|
|
|
|
OBJS-$(CONFIG_QOI_ENCODER) += qoienc.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_QPEG_DECODER) += qpeg.o
|
|
|
|
OBJS-$(CONFIG_QTRLE_DECODER) += qtrle.o
|
2007-07-02 10:06:28 +03:00
|
|
|
OBJS-$(CONFIG_QTRLE_ENCODER) += qtrleenc.o
|
2010-09-14 01:08:51 +03:00
|
|
|
OBJS-$(CONFIG_R10K_DECODER) += r210dec.o
|
2012-01-25 22:46:57 +03:00
|
|
|
OBJS-$(CONFIG_R10K_ENCODER) += r210enc.o
|
2009-12-17 20:56:56 +02:00
|
|
|
OBJS-$(CONFIG_R210_DECODER) += r210dec.o
|
2012-01-25 22:46:57 +03:00
|
|
|
OBJS-$(CONFIG_R210_ENCODER) += r210enc.o
|
2010-06-11 11:01:51 +03:00
|
|
|
OBJS-$(CONFIG_RA_144_DECODER) += ra144dec.o ra144.o celp_filters.o
|
2013-02-18 00:00:36 +03:00
|
|
|
OBJS-$(CONFIG_RA_144_ENCODER) += ra144enc.o ra144.o celp_filters.o
|
2012-08-26 12:29:39 +03:00
|
|
|
OBJS-$(CONFIG_RA_288_DECODER) += ra288.o celp_filters.o
|
2012-03-17 10:48:57 +03:00
|
|
|
OBJS-$(CONFIG_RALF_DECODER) += ralf.o
|
2018-09-02 11:18:33 +02:00
|
|
|
OBJS-$(CONFIG_RASC_DECODER) += rasc.o
|
2007-07-09 19:26:11 +03:00
|
|
|
OBJS-$(CONFIG_RAWVIDEO_DECODER) += rawdec.o
|
|
|
|
OBJS-$(CONFIG_RAWVIDEO_ENCODER) += rawenc.o
|
2012-06-17 12:43:34 +03:00
|
|
|
OBJS-$(CONFIG_REALTEXT_DECODER) += realtextdec.o ass.o
|
2023-01-31 22:03:38 +02:00
|
|
|
OBJS-$(CONFIG_RKA_DECODER) += rka.o
|
2008-03-21 15:45:55 +02:00
|
|
|
OBJS-$(CONFIG_RL2_DECODER) += rl2.o
|
2007-05-29 18:01:33 +03:00
|
|
|
OBJS-$(CONFIG_ROQ_DECODER) += roqvideodec.o roqvideo.o
|
2007-06-25 15:09:23 +03:00
|
|
|
OBJS-$(CONFIG_ROQ_ENCODER) += roqvideoenc.o roqvideo.o elbg.o
|
2006-07-09 02:05:12 +03:00
|
|
|
OBJS-$(CONFIG_ROQ_DPCM_DECODER) += dpcm.o
|
2007-05-07 11:55:27 +03:00
|
|
|
OBJS-$(CONFIG_ROQ_DPCM_ENCODER) += roqaudioenc.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_RPZA_DECODER) += rpza.o
|
2020-07-15 21:43:59 +02:00
|
|
|
OBJS-$(CONFIG_RPZA_ENCODER) += rpzaenc.o
|
2015-10-19 14:23:43 +02:00
|
|
|
OBJS-$(CONFIG_RSCC_DECODER) += rscc.o
|
2009-12-28 20:05:34 +02:00
|
|
|
OBJS-$(CONFIG_RV10_DECODER) += rv10.o
|
2009-08-05 13:44:12 +03:00
|
|
|
OBJS-$(CONFIG_RV10_ENCODER) += rv10enc.o
|
2009-12-28 20:05:34 +02:00
|
|
|
OBJS-$(CONFIG_RV20_DECODER) += rv10.o
|
2009-08-05 13:44:12 +03:00
|
|
|
OBJS-$(CONFIG_RV20_ENCODER) += rv20enc.o
|
2015-07-16 17:11:00 +02:00
|
|
|
OBJS-$(CONFIG_RV30_DECODER) += rv30.o rv34.o rv30dsp.o
|
|
|
|
OBJS-$(CONFIG_RV40_DECODER) += rv40.o rv34.o rv40dsp.o
|
2015-08-30 16:24:48 +02:00
|
|
|
OBJS-$(CONFIG_SAMI_DECODER) += samidec.o ass.o htmlsubtitles.o
|
2011-04-13 01:29:09 +03:00
|
|
|
OBJS-$(CONFIG_S302M_DECODER) += s302m.o
|
2013-03-15 07:37:07 +03:00
|
|
|
OBJS-$(CONFIG_S302M_ENCODER) += s302menc.o
|
2012-03-19 05:54:19 +03:00
|
|
|
OBJS-$(CONFIG_SANM_DECODER) += sanm.o
|
2017-02-16 16:21:29 +02:00
|
|
|
OBJS-$(CONFIG_SCPR_DECODER) += scpr.o
|
2015-09-25 00:36:50 +02:00
|
|
|
OBJS-$(CONFIG_SCREENPRESSO_DECODER) += screenpresso.o
|
2015-10-24 20:41:32 +02:00
|
|
|
OBJS-$(CONFIG_SDX2_DPCM_DECODER) += dpcm.o
|
2021-02-22 01:36:01 +02:00
|
|
|
OBJS-$(CONFIG_SGA_DECODER) += sga.o
|
2007-04-06 21:29:27 +03:00
|
|
|
OBJS-$(CONFIG_SGI_DECODER) += sgidec.o
|
|
|
|
OBJS-$(CONFIG_SGI_ENCODER) += sgienc.o rle.o
|
2012-12-17 12:37:54 +03:00
|
|
|
OBJS-$(CONFIG_SGIRLE_DECODER) += sgirledec.o
|
2016-05-30 19:33:31 +02:00
|
|
|
OBJS-$(CONFIG_SHEERVIDEO_DECODER) += sheervideo.o
|
2008-10-25 16:51:47 +03:00
|
|
|
OBJS-$(CONFIG_SHORTEN_DECODER) += shorten.o
|
2010-01-10 23:38:15 +02:00
|
|
|
OBJS-$(CONFIG_SIPR_DECODER) += sipr.o acelp_pitch_delay.o \
|
|
|
|
celp_math.o acelp_vectors.o \
|
2010-03-02 05:16:27 +02:00
|
|
|
acelp_filters.o celp_filters.o \
|
2010-01-16 05:54:55 +02:00
|
|
|
sipr16k.o
|
2018-04-03 21:49:48 +02:00
|
|
|
OBJS-$(CONFIG_SIREN_DECODER) += siren.o
|
2021-02-17 18:32:57 +02:00
|
|
|
OBJS-$(CONFIG_SIMBIOSIS_IMX_DECODER) += imx.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_SMACKAUD_DECODER) += smacker.o
|
2006-07-08 19:41:52 +03:00
|
|
|
OBJS-$(CONFIG_SMACKER_DECODER) += smacker.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_SMC_DECODER) += smc.o
|
2021-08-12 15:36:04 +02:00
|
|
|
OBJS-$(CONFIG_SMC_ENCODER) += smcenc.o
|
2013-01-15 00:30:30 +03:00
|
|
|
OBJS-$(CONFIG_SNOW_DECODER) += snowdec.o snow.o snow_dwt.o
|
|
|
|
OBJS-$(CONFIG_SNOW_ENCODER) += snowenc.o snow.o snow_dwt.o \
|
2019-11-05 21:21:10 +02:00
|
|
|
h263.o h263data.o ituh263enc.o
|
2006-07-09 02:05:12 +03:00
|
|
|
OBJS-$(CONFIG_SOL_DPCM_DECODER) += dpcm.o
|
2008-10-25 16:51:47 +03:00
|
|
|
OBJS-$(CONFIG_SONIC_DECODER) += sonic.o
|
|
|
|
OBJS-$(CONFIG_SONIC_ENCODER) += sonic.o
|
|
|
|
OBJS-$(CONFIG_SONIC_LS_ENCODER) += sonic.o
|
2022-10-18 14:29:03 +02:00
|
|
|
OBJS-$(CONFIG_SPEEDHQ_DECODER) += speedhqdec.o speedhq.o mpeg12.o \
|
|
|
|
mpeg12data.o
|
2020-12-10 09:50:37 +02:00
|
|
|
OBJS-$(CONFIG_SPEEDHQ_ENCODER) += speedhq.o mpeg12data.o mpeg12enc.o speedhqenc.o
|
2021-09-13 17:00:38 +02:00
|
|
|
OBJS-$(CONFIG_SPEEX_DECODER) += speexdec.o
|
2014-02-28 02:02:23 +03:00
|
|
|
OBJS-$(CONFIG_SP5X_DECODER) += sp5xdec.o
|
2017-04-16 18:44:57 +02:00
|
|
|
OBJS-$(CONFIG_SRGC_DECODER) += mscc.o
|
2015-08-30 16:24:47 +02:00
|
|
|
OBJS-$(CONFIG_SRT_DECODER) += srtdec.o ass.o htmlsubtitles.o
|
2010-09-14 06:55:12 +03:00
|
|
|
OBJS-$(CONFIG_SRT_ENCODER) += srtenc.o ass_split.o
|
2014-10-20 23:25:39 +03:00
|
|
|
OBJS-$(CONFIG_STL_DECODER) += textdec.o ass.o
|
2015-09-11 12:38:36 +02:00
|
|
|
OBJS-$(CONFIG_SUBRIP_DECODER) += srtdec.o ass.o htmlsubtitles.o
|
2012-08-13 00:18:35 +03:00
|
|
|
OBJS-$(CONFIG_SUBRIP_ENCODER) += srtenc.o ass_split.o
|
2012-12-29 02:04:44 +03:00
|
|
|
OBJS-$(CONFIG_SUBVIEWER1_DECODER) += textdec.o ass.o
|
2012-07-14 00:42:35 +03:00
|
|
|
OBJS-$(CONFIG_SUBVIEWER_DECODER) += subviewerdec.o ass.o
|
2007-12-28 15:09:57 +02:00
|
|
|
OBJS-$(CONFIG_SUNRAST_DECODER) += sunrast.o
|
2012-02-17 00:08:51 +03:00
|
|
|
OBJS-$(CONFIG_SUNRAST_ENCODER) += sunrastenc.o
|
2017-05-08 06:02:19 +02:00
|
|
|
OBJS-$(CONFIG_LIBRSVG_DECODER) += librsvgdec.o
|
2017-12-17 20:53:35 +02:00
|
|
|
OBJS-$(CONFIG_SBC_DECODER) += sbcdec.o sbcdec_data.o sbc.o
|
2017-12-17 20:59:30 +02:00
|
|
|
OBJS-$(CONFIG_SBC_ENCODER) += sbcenc.o sbc.o sbcdsp.o sbcdsp_data.o
|
2020-02-19 01:42:33 +02:00
|
|
|
OBJS-$(CONFIG_SVQ1_DECODER) += svq1dec.o svq1.o h263data.o
|
2016-02-16 21:01:30 +02:00
|
|
|
OBJS-$(CONFIG_SVQ1_ENCODER) += svq1enc.o svq1.o h263data.o \
|
2012-08-13 20:13:32 +03:00
|
|
|
h263.o ituh263enc.o
|
2020-02-19 01:42:33 +02:00
|
|
|
OBJS-$(CONFIG_SVQ3_DECODER) += svq3.o mpegutils.o h264data.o
|
2012-10-14 04:08:30 +03:00
|
|
|
OBJS-$(CONFIG_TEXT_DECODER) += textdec.o ass.o
|
2015-12-17 13:23:35 +02:00
|
|
|
OBJS-$(CONFIG_TEXT_ENCODER) += srtenc.o ass_split.o
|
2015-10-05 12:28:41 +02:00
|
|
|
OBJS-$(CONFIG_TAK_DECODER) += takdec.o tak.o takdsp.o
|
2006-10-11 07:15:04 +03:00
|
|
|
OBJS-$(CONFIG_TARGA_DECODER) += targa.o
|
2007-04-03 04:01:46 +03:00
|
|
|
OBJS-$(CONFIG_TARGA_ENCODER) += targaenc.o rle.o
|
2012-10-06 07:20:52 +03:00
|
|
|
OBJS-$(CONFIG_TARGA_Y216_DECODER) += targa_y216dec.o
|
2015-03-11 22:44:00 +02:00
|
|
|
OBJS-$(CONFIG_TDSC_DECODER) += tdsc.o
|
2006-10-31 13:19:51 +02:00
|
|
|
OBJS-$(CONFIG_TIERTEXSEQVIDEO_DECODER) += tiertexseqv.o
|
2021-02-20 05:20:14 +02:00
|
|
|
OBJS-$(CONFIG_TIFF_DECODER) += tiff.o lzw.o faxcompr.o tiff_common.o
|
|
|
|
OBJS-$(CONFIG_TIFF_ENCODER) += tiffenc.o rle.o lzwenc.o
|
2009-05-07 00:57:20 +03:00
|
|
|
OBJS-$(CONFIG_TMV_DECODER) += tmv.o cga_data.o
|
2012-06-14 18:47:59 +03:00
|
|
|
OBJS-$(CONFIG_TRUEHD_DECODER) += mlpdec.o mlpdsp.o
|
2017-04-03 23:08:43 +02:00
|
|
|
OBJS-$(CONFIG_TRUEHD_ENCODER) += mlpenc.o mlp.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_TRUEMOTION1_DECODER) += truemotion1.o
|
|
|
|
OBJS-$(CONFIG_TRUEMOTION2_DECODER) += truemotion2.o
|
2016-04-06 11:02:39 +02:00
|
|
|
OBJS-$(CONFIG_TRUEMOTION2RT_DECODER) += truemotion2rt.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_TRUESPEECH_DECODER) += truespeech.o
|
2008-09-18 08:20:54 +03:00
|
|
|
OBJS-$(CONFIG_TSCC_DECODER) += tscc.o msrledec.o
|
2012-07-08 20:51:08 +03:00
|
|
|
OBJS-$(CONFIG_TSCC2_DECODER) += tscc2.o
|
2014-02-12 20:03:07 +03:00
|
|
|
OBJS-$(CONFIG_TTA_DECODER) += tta.o ttadata.o ttadsp.o
|
2016-08-02 19:46:55 +02:00
|
|
|
OBJS-$(CONFIG_TTA_ENCODER) += ttaenc.o ttaencdsp.o ttadata.o
|
2017-01-19 15:02:27 +02:00
|
|
|
OBJS-$(CONFIG_TTML_ENCODER) += ttmlenc.o ass_split.o
|
2022-10-18 12:57:16 +02:00
|
|
|
OBJS-$(CONFIG_TWINVQ_DECODER) += twinvqdec.o twinvq.o
|
2015-05-20 00:54:16 +02:00
|
|
|
OBJS-$(CONFIG_TXD_DECODER) += txd.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_ULTI_DECODER) += ulti.o
|
2020-09-24 18:43:11 +02:00
|
|
|
OBJS-$(CONFIG_UTVIDEO_DECODER) += utvideodec.o utvideodsp.o
|
|
|
|
OBJS-$(CONFIG_UTVIDEO_ENCODER) += utvideoenc.o
|
2009-05-12 22:56:48 +03:00
|
|
|
OBJS-$(CONFIG_V210_DECODER) += v210dec.o
|
|
|
|
OBJS-$(CONFIG_V210_ENCODER) += v210enc.o
|
2016-02-16 18:58:50 +02:00
|
|
|
OBJS-$(CONFIG_V210X_DECODER) += v210x.o
|
2012-01-04 17:24:38 +03:00
|
|
|
OBJS-$(CONFIG_V308_DECODER) += v308dec.o
|
|
|
|
OBJS-$(CONFIG_V308_ENCODER) += v308enc.o
|
2012-02-05 22:43:33 +03:00
|
|
|
OBJS-$(CONFIG_V408_DECODER) += v408dec.o
|
|
|
|
OBJS-$(CONFIG_V408_ENCODER) += v408enc.o
|
2011-12-13 22:24:56 +03:00
|
|
|
OBJS-$(CONFIG_V410_DECODER) += v410dec.o
|
|
|
|
OBJS-$(CONFIG_V410_ENCODER) += v410enc.o
|
2007-10-22 09:01:38 +03:00
|
|
|
OBJS-$(CONFIG_VB_DECODER) += vb.o
|
2022-03-19 02:22:23 +02:00
|
|
|
OBJS-$(CONFIG_VBN_DECODER) += vbndec.o
|
2022-03-22 03:29:29 +02:00
|
|
|
OBJS-$(CONFIG_VBN_ENCODER) += vbnenc.o
|
2011-11-12 02:13:35 +03:00
|
|
|
OBJS-$(CONFIG_VBLE_DECODER) += vble.o
|
2014-07-16 21:18:20 +03:00
|
|
|
OBJS-$(CONFIG_VC1_DECODER) += vc1dec.o vc1_block.o vc1_loopfilter.o \
|
|
|
|
vc1_mc.o vc1_pred.o vc1.o vc1data.o \
|
2022-10-30 17:32:00 +02:00
|
|
|
msmpeg4_vc1_data.o wmv2data.o
|
2017-10-03 15:15:16 +02:00
|
|
|
OBJS-$(CONFIG_VC1_CUVID_DECODER) += cuviddec.o
|
2015-11-06 13:59:16 +02:00
|
|
|
OBJS-$(CONFIG_VC1_MMAL_DECODER) += mmaldec.o
|
2021-01-05 04:43:41 +02:00
|
|
|
OBJS-$(CONFIG_VC1_QSV_DECODER) += qsvdec.o
|
2017-09-21 03:55:40 +02:00
|
|
|
OBJS-$(CONFIG_VC1_V4L2M2M_DECODER) += v4l2_m2m_dec.o
|
avcodec: add a native SMPTE VC-2 HQ encoder
This commit adds a new encoder capable of creating BBC/SMPTE Dirac/VC-2 HQ
profile files.
Dirac is a wavelet based codec created by the BBC a little more than 10
years ago. Since then, wavelets have mostly gone out of style as they
did not provide adequate encoding gains at lower bitrates. Dirac was a
fully featured video codec equipped with perceptual masking, support for
most popular pixel formats, interlacing, overlapped-block motion
compensation, and other features. It found new life after being stripped
of various features and standardized as the VC-2 codec by the SMPTE with
an extra profile, the HQ profile that this encoder supports, added.
The HQ profile was based off of the Low-Delay profile previously
existing in Dirac. The profile forbids DC prediction and arithmetic
coding to focus on high performance and low delay at higher bitrates.
The standard bitrates for this profile vary but generally 1:4
compression is expected (~525 Mbps vs the 2200 Mbps for uncompressed
1080p50). The codec only supports I-frames, hence the high bitrates.
The structure of this encoder is simple: do a DWT transform on the
entire image, split it into multiple slices (specified by the user) and
encode them in parallel. All of the slices are of the same size, making
rate control and threading very trivial. Although only in C, this encoder
is capable of 30 frames per second on an 4 core 8 threads Ivy Bridge.
A lookup table is used to encode most of the coefficients.
No code was used from the GSoC encoder from 2007 except for the 2
transform functions in diracenc_transforms.c. All other code was written
from scratch.
This encoder outperforms any other encoders in quality, usability and in
features. Other existing implementations do not support 4 level
transforms or 64x64 blocks (slices), which greatly increase compression.
As previously said, the codec is meant for broadcasting, hence support
for non-broadcasting image widths, heights, bit depths, aspect ratios,
etc. are limited by the "level". Although this codec supports a few
chroma subsamplings (420, 422, 444), signalling those is generally
outside the specifications of the level used (3) and the reference
decoder will outright refuse to read any image with such a flag
signalled (it only supports 1920x1080 yuv422p10). However, most
implementations will happily read files with alternate dimensions,
framerates and formats signalled.
Therefore, in order to encode files other than 1080p50 yuv422p10le, you
need to provide an "-strict -2" argument to the command line. The FFmpeg
decoder will happily read any files made with non-standard parameters,
dimensions and subsamplings, and so will other implementations. IMO this
should be "-strict -1", but I'll leave that up for discussion.
There are still plenty of stuff to implement, for instance 5 more
wavelet transforms are still in the specs and supported by the decoder.
The encoder can be lossless, given a high enough bitrate.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2016-02-10 18:50:00 +02:00
|
|
|
OBJS-$(CONFIG_VC2_ENCODER) += vc2enc.o vc2enc_dwt.o diractab.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_VCR1_DECODER) += vcr1.o
|
2014-07-07 07:11:04 +03:00
|
|
|
OBJS-$(CONFIG_VMDAUDIO_DECODER) += vmdaudio.o
|
|
|
|
OBJS-$(CONFIG_VMDVIDEO_DECODER) += vmdvideo.o
|
2006-09-05 07:37:14 +03:00
|
|
|
OBJS-$(CONFIG_VMNC_DECODER) += vmnc.o
|
2023-01-27 19:41:40 +02:00
|
|
|
OBJS-$(CONFIG_VNULL_DECODER) += null.o
|
|
|
|
OBJS-$(CONFIG_VNULL_ENCODER) += null.o
|
2013-01-20 09:21:10 +03:00
|
|
|
OBJS-$(CONFIG_VORBIS_DECODER) += vorbisdec.o vorbisdsp.o vorbis.o \
|
2014-11-10 10:14:45 +02:00
|
|
|
vorbis_data.o
|
2011-04-17 20:44:33 +03:00
|
|
|
OBJS-$(CONFIG_VORBIS_ENCODER) += vorbisenc.o vorbis.o \
|
2009-10-18 13:47:40 +03:00
|
|
|
vorbis_data.o
|
2022-10-26 11:11:21 +02:00
|
|
|
OBJS-$(CONFIG_VP3_DECODER) += vp3.o jpegquanttables.o
|
2022-07-23 01:28:48 +02:00
|
|
|
OBJS-$(CONFIG_VP5_DECODER) += vp5.o vp56.o vp56data.o vpx_rac.o
|
2015-07-16 17:11:01 +02:00
|
|
|
OBJS-$(CONFIG_VP6_DECODER) += vp6.o vp56.o vp56data.o \
|
2022-07-23 01:28:48 +02:00
|
|
|
vp6dsp.o vpx_rac.o
|
2023-05-09 07:28:26 +02:00
|
|
|
OBJS-$(CONFIG_VP7_DECODER) += vp8.o vp8data.o vpx_rac.o
|
|
|
|
OBJS-$(CONFIG_VP8_DECODER) += vp8.o vp8data.o vpx_rac.o
|
2017-10-03 15:15:16 +02:00
|
|
|
OBJS-$(CONFIG_VP8_CUVID_DECODER) += cuviddec.o
|
2016-10-12 14:44:08 +02:00
|
|
|
OBJS-$(CONFIG_VP8_MEDIACODEC_DECODER) += mediacodecdec.o
|
2021-01-05 04:43:41 +02:00
|
|
|
OBJS-$(CONFIG_VP8_QSV_DECODER) += qsvdec.o
|
2017-09-24 07:39:45 +02:00
|
|
|
OBJS-$(CONFIG_VP8_RKMPP_DECODER) += rkmppdec.o
|
2016-11-29 22:38:29 +02:00
|
|
|
OBJS-$(CONFIG_VP8_VAAPI_ENCODER) += vaapi_encode_vp8.o
|
2017-09-21 03:55:40 +02:00
|
|
|
OBJS-$(CONFIG_VP8_V4L2M2M_DECODER) += v4l2_m2m_dec.o
|
|
|
|
OBJS-$(CONFIG_VP8_V4L2M2M_ENCODER) += v4l2_m2m_enc.o
|
2017-03-27 23:32:20 +02:00
|
|
|
OBJS-$(CONFIG_VP9_DECODER) += vp9.o vp9data.o vp9dsp.o vp9lpf.o vp9recon.o \
|
2022-07-23 01:28:48 +02:00
|
|
|
vp9block.o vp9prob.o vp9mvs.o vpx_rac.o \
|
2017-03-25 13:10:13 +02:00
|
|
|
vp9dsp_8bpp.o vp9dsp_10bpp.o vp9dsp_12bpp.o
|
2017-10-03 15:15:16 +02:00
|
|
|
OBJS-$(CONFIG_VP9_CUVID_DECODER) += cuviddec.o
|
2016-10-12 14:44:08 +02:00
|
|
|
OBJS-$(CONFIG_VP9_MEDIACODEC_DECODER) += mediacodecdec.o
|
2023-03-27 17:21:34 +02:00
|
|
|
OBJS-$(CONFIG_VP9_MEDIACODEC_ENCODER) += mediacodecenc.o
|
2017-09-24 07:39:45 +02:00
|
|
|
OBJS-$(CONFIG_VP9_RKMPP_DECODER) += rkmppdec.o
|
2016-11-29 01:54:57 +02:00
|
|
|
OBJS-$(CONFIG_VP9_VAAPI_ENCODER) += vaapi_encode_vp9.o
|
2019-10-26 16:18:31 +02:00
|
|
|
OBJS-$(CONFIG_VP9_QSV_ENCODER) += qsvenc_vp9.o
|
2012-12-28 00:36:47 +03:00
|
|
|
OBJS-$(CONFIG_VPLAYER_DECODER) += textdec.o ass.o
|
2017-09-21 03:55:40 +02:00
|
|
|
OBJS-$(CONFIG_VP9_V4L2M2M_DECODER) += v4l2_m2m_dec.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_VQA_DECODER) += vqavideo.o
|
2022-10-14 09:19:49 +02:00
|
|
|
OBJS-$(CONFIG_VQC_DECODER) += vqcdec.o
|
2023-01-21 13:21:44 +02:00
|
|
|
OBJS-$(CONFIG_WADY_DPCM_DECODER) += dpcm.o
|
2023-01-21 20:25:41 +02:00
|
|
|
OBJS-$(CONFIG_WAVARC_DECODER) += wavarc.o
|
2021-01-03 16:50:43 +02:00
|
|
|
OBJS-$(CONFIG_WAVPACK_DECODER) += wavpack.o wavpackdata.o dsd.o
|
|
|
|
OBJS-$(CONFIG_WAVPACK_ENCODER) += wavpackdata.o wavpackenc.o
|
2022-08-07 10:40:47 +02:00
|
|
|
OBJS-$(CONFIG_WBMP_DECODER) += wbmpdec.o
|
|
|
|
OBJS-$(CONFIG_WBMP_ENCODER) += wbmpenc.o
|
2018-08-25 18:51:37 +02:00
|
|
|
OBJS-$(CONFIG_WCMV_DECODER) += wcmv.o
|
2016-01-25 01:30:33 +02:00
|
|
|
OBJS-$(CONFIG_WEBP_DECODER) += webp.o
|
2014-08-01 13:50:38 +03:00
|
|
|
OBJS-$(CONFIG_WEBVTT_DECODER) += webvttdec.o ass.o
|
2014-06-11 00:47:04 +03:00
|
|
|
OBJS-$(CONFIG_WEBVTT_ENCODER) += webvttenc.o ass_split.o
|
2012-03-06 21:07:10 +03:00
|
|
|
OBJS-$(CONFIG_WMALOSSLESS_DECODER) += wmalosslessdec.o wma_common.o
|
|
|
|
OBJS-$(CONFIG_WMAPRO_DECODER) += wmaprodec.o wma.o wma_common.o
|
|
|
|
OBJS-$(CONFIG_WMAV1_DECODER) += wmadec.o wma.o wma_common.o aactab.o
|
|
|
|
OBJS-$(CONFIG_WMAV1_ENCODER) += wmaenc.o wma.o wma_common.o aactab.o
|
|
|
|
OBJS-$(CONFIG_WMAV2_DECODER) += wmadec.o wma.o wma_common.o aactab.o
|
|
|
|
OBJS-$(CONFIG_WMAV2_ENCODER) += wmaenc.o wma.o wma_common.o aactab.o
|
2010-02-12 16:22:41 +02:00
|
|
|
OBJS-$(CONFIG_WMAVOICE_DECODER) += wmavoice.o \
|
2012-08-26 12:29:39 +03:00
|
|
|
celp_filters.o \
|
2010-03-02 05:16:27 +02:00
|
|
|
acelp_vectors.o acelp_filters.o
|
2022-07-31 11:12:41 +02:00
|
|
|
OBJS-$(CONFIG_WMV2_DECODER) += wmv2dec.o wmv2.o wmv2data.o
|
|
|
|
OBJS-$(CONFIG_WMV2_ENCODER) += wmv2enc.o wmv2.o wmv2data.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_WNV1_DECODER) += wnv1.o
|
2017-09-02 21:32:27 +02:00
|
|
|
OBJS-$(CONFIG_WRAPPED_AVFRAME_DECODER) += wrapped_avframe.o
|
2015-10-09 14:12:04 +02:00
|
|
|
OBJS-$(CONFIG_WRAPPED_AVFRAME_ENCODER) += wrapped_avframe.o
|
2016-02-16 18:58:50 +02:00
|
|
|
OBJS-$(CONFIG_WS_SND1_DECODER) += ws-snd1.o
|
2006-07-09 02:05:12 +03:00
|
|
|
OBJS-$(CONFIG_XAN_DPCM_DECODER) += dpcm.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_XAN_WC3_DECODER) += xan.o
|
2011-02-05 00:41:07 +02:00
|
|
|
OBJS-$(CONFIG_XAN_WC4_DECODER) += xxan.o
|
2011-09-16 05:50:26 +03:00
|
|
|
OBJS-$(CONFIG_XBIN_DECODER) += bintext.o cga_data.o
|
2012-03-24 01:54:09 +03:00
|
|
|
OBJS-$(CONFIG_XBM_DECODER) += xbmdec.o
|
2012-03-17 20:43:58 +03:00
|
|
|
OBJS-$(CONFIG_XBM_ENCODER) += xbmenc.o
|
2012-07-25 13:23:31 +03:00
|
|
|
OBJS-$(CONFIG_XFACE_DECODER) += xfacedec.o xface.o
|
|
|
|
OBJS-$(CONFIG_XFACE_ENCODER) += xfaceenc.o xface.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_XL_DECODER) += xl.o
|
2015-11-01 14:15:36 +02:00
|
|
|
OBJS-$(CONFIG_XMA1_DECODER) += wmaprodec.o wma.o wma_common.o
|
|
|
|
OBJS-$(CONFIG_XMA2_DECODER) += wmaprodec.o wma.o wma_common.o
|
2017-03-11 23:01:23 +02:00
|
|
|
OBJS-$(CONFIG_XPM_DECODER) += xpmdec.o
|
2007-08-05 15:11:09 +03:00
|
|
|
OBJS-$(CONFIG_XSUB_DECODER) += xsubdec.o
|
2009-06-19 12:56:35 +03:00
|
|
|
OBJS-$(CONFIG_XSUB_ENCODER) += xsubenc.o
|
2012-01-21 20:45:52 +03:00
|
|
|
OBJS-$(CONFIG_XWD_DECODER) += xwddec.o
|
|
|
|
OBJS-$(CONFIG_XWD_ENCODER) += xwdenc.o
|
2012-01-01 15:16:42 +03:00
|
|
|
OBJS-$(CONFIG_Y41P_DECODER) += y41pdec.o
|
|
|
|
OBJS-$(CONFIG_Y41P_ENCODER) += y41penc.o
|
2016-06-13 12:17:44 +02:00
|
|
|
OBJS-$(CONFIG_YLC_DECODER) += ylc.o
|
2010-03-30 01:17:01 +03:00
|
|
|
OBJS-$(CONFIG_YOP_DECODER) += yop.o
|
2012-01-04 17:35:15 +03:00
|
|
|
OBJS-$(CONFIG_YUV4_DECODER) += yuv4dec.o
|
|
|
|
OBJS-$(CONFIG_YUV4_ENCODER) += yuv4enc.o
|
2012-03-18 20:00:18 +03:00
|
|
|
OBJS-$(CONFIG_ZEROCODEC_DECODER) += zerocodec.o
|
2007-07-13 01:40:33 +03:00
|
|
|
OBJS-$(CONFIG_ZLIB_DECODER) += lcldec.o
|
|
|
|
OBJS-$(CONFIG_ZLIB_ENCODER) += lclenc.o
|
2006-07-08 19:39:49 +03:00
|
|
|
OBJS-$(CONFIG_ZMBV_DECODER) += zmbv.o
|
2006-12-08 07:13:40 +02:00
|
|
|
OBJS-$(CONFIG_ZMBV_ENCODER) += zmbvenc.o
|
2006-07-08 19:39:49 +03:00
|
|
|
|
2008-11-19 00:48:43 +02:00
|
|
|
# (AD)PCM decoders/encoders
|
2008-06-22 16:01:24 +03:00
|
|
|
OBJS-$(CONFIG_PCM_ALAW_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_ALAW_ENCODER) += pcm.o
|
2022-02-26 20:29:48 +02:00
|
|
|
OBJS-$(CONFIG_PCM_BLURAY_ENCODER) += pcm-blurayenc.o
|
2013-08-30 19:15:44 +03:00
|
|
|
OBJS-$(CONFIG_PCM_BLURAY_DECODER) += pcm-bluray.o
|
2013-08-30 19:15:47 +03:00
|
|
|
OBJS-$(CONFIG_PCM_DVD_DECODER) += pcm-dvd.o
|
2018-11-26 20:03:58 +02:00
|
|
|
OBJS-$(CONFIG_PCM_DVD_ENCODER) += pcm-dvdenc.o
|
2016-09-19 22:26:39 +02:00
|
|
|
OBJS-$(CONFIG_PCM_F16LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_F24LE_DECODER) += pcm.o
|
2009-02-19 02:27:57 +02:00
|
|
|
OBJS-$(CONFIG_PCM_F32BE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_F32BE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_F32LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_F32LE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_F64BE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_F64BE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_F64LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_F64LE_ENCODER) += pcm.o
|
2010-12-22 22:00:42 +02:00
|
|
|
OBJS-$(CONFIG_PCM_LXF_DECODER) += pcm.o
|
2008-06-22 16:01:24 +03:00
|
|
|
OBJS-$(CONFIG_PCM_MULAW_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_MULAW_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S8_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S8_ENCODER) += pcm.o
|
2012-11-18 21:50:57 +03:00
|
|
|
OBJS-$(CONFIG_PCM_S8_PLANAR_DECODER) += pcm.o
|
2012-11-19 12:19:30 +03:00
|
|
|
OBJS-$(CONFIG_PCM_S8_PLANAR_ENCODER) += pcm.o
|
2008-06-22 16:01:24 +03:00
|
|
|
OBJS-$(CONFIG_PCM_S16BE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S16BE_ENCODER) += pcm.o
|
2012-11-15 19:17:55 +03:00
|
|
|
OBJS-$(CONFIG_PCM_S16BE_PLANAR_DECODER) += pcm.o
|
2012-11-19 12:19:30 +03:00
|
|
|
OBJS-$(CONFIG_PCM_S16BE_PLANAR_ENCODER) += pcm.o
|
2008-06-22 16:01:24 +03:00
|
|
|
OBJS-$(CONFIG_PCM_S16LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S16LE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S16LE_PLANAR_DECODER) += pcm.o
|
2012-11-19 12:19:30 +03:00
|
|
|
OBJS-$(CONFIG_PCM_S16LE_PLANAR_ENCODER) += pcm.o
|
2008-06-22 16:01:24 +03:00
|
|
|
OBJS-$(CONFIG_PCM_S24BE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S24BE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S24DAUD_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S24DAUD_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S24LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S24LE_ENCODER) += pcm.o
|
2012-11-16 19:00:04 +03:00
|
|
|
OBJS-$(CONFIG_PCM_S24LE_PLANAR_DECODER) += pcm.o
|
2012-11-19 12:19:30 +03:00
|
|
|
OBJS-$(CONFIG_PCM_S24LE_PLANAR_ENCODER) += pcm.o
|
2008-06-22 16:01:24 +03:00
|
|
|
OBJS-$(CONFIG_PCM_S32BE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S32BE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S32LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S32LE_ENCODER) += pcm.o
|
2012-11-16 19:00:04 +03:00
|
|
|
OBJS-$(CONFIG_PCM_S32LE_PLANAR_DECODER) += pcm.o
|
2012-11-19 12:19:30 +03:00
|
|
|
OBJS-$(CONFIG_PCM_S32LE_PLANAR_ENCODER) += pcm.o
|
2016-08-17 19:46:21 +02:00
|
|
|
OBJS-$(CONFIG_PCM_S64BE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S64BE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S64LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_S64LE_ENCODER) += pcm.o
|
2021-02-22 01:30:22 +02:00
|
|
|
OBJS-$(CONFIG_PCM_SGA_DECODER) += pcm.o
|
2008-06-22 16:01:24 +03:00
|
|
|
OBJS-$(CONFIG_PCM_U8_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U8_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U16BE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U16BE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U16LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U16LE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U24BE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U24BE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U24LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U24LE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U32BE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U32BE_ENCODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U32LE_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_U32LE_ENCODER) += pcm.o
|
2018-10-13 01:06:39 +02:00
|
|
|
OBJS-$(CONFIG_PCM_VIDC_DECODER) += pcm.o
|
|
|
|
OBJS-$(CONFIG_PCM_VIDC_ENCODER) += pcm.o
|
2006-07-09 00:15:50 +03:00
|
|
|
|
2011-09-08 01:34:09 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_4XM_DECODER) += adpcm.o adpcm_data.o
|
2011-11-20 22:21:32 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_ADX_DECODER) += adxdec.o adx.o
|
2011-12-20 20:26:54 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_ADX_ENCODER) += adxenc.o adx.o
|
2012-11-19 13:51:44 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_AFC_DECODER) += adpcm.o adpcm_data.o
|
2019-04-10 12:10:09 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_AGM_DECODER) += adpcm.o adpcm_data.o
|
2015-10-28 15:51:27 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_AICA_DECODER) += adpcm.o adpcm_data.o
|
2020-01-26 05:36:50 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_ARGO_DECODER) += adpcm.o adpcm_data.o
|
2021-06-08 18:29:14 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_ARGO_ENCODER) += adpcm.o adpcm_data.o adpcmenc.o
|
2011-09-08 01:34:09 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_CT_DECODER) += adpcm.o adpcm_data.o
|
2013-05-04 00:07:13 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_DTK_DECODER) += adpcm.o adpcm_data.o
|
2011-12-20 13:37:56 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_EA_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_EA_MAXIS_XA_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_EA_R1_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_EA_R2_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_EA_R3_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_EA_XAS_DECODER) += adpcm.o adpcm_data.o
|
2015-02-15 13:21:21 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_G722_DECODER) += g722.o g722dsp.o g722dec.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_G722_ENCODER) += g722.o g722dsp.o g722enc.o
|
2008-06-22 16:01:24 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_G726_DECODER) += g726.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_G726_ENCODER) += g726.o
|
2013-11-18 19:51:28 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_G726LE_DECODER) += g726.o
|
2017-08-18 20:57:54 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_G726LE_ENCODER) += g726.o
|
2021-05-07 18:50:47 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_ACORN_DECODER) += adpcm.o adpcm_data.o
|
2011-09-08 01:34:09 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_AMV_DECODER) += adpcm.o adpcm_data.o
|
2022-01-05 20:41:56 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_AMV_ENCODER) += adpcmenc.o adpcm_data.o
|
2020-03-08 14:09:02 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_ALP_DECODER) += adpcm.o adpcm_data.o
|
2020-10-23 10:14:59 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_ALP_ENCODER) += adpcmenc.o adpcm_data.o
|
2012-01-23 22:57:32 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_APC_DECODER) += adpcm.o adpcm_data.o
|
2020-02-20 13:31:46 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_APM_DECODER) += adpcm.o adpcm_data.o
|
2020-05-26 16:17:59 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_APM_ENCODER) += adpcmenc.o adpcm_data.o
|
2020-04-18 02:20:39 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_CUNNING_DECODER) += adpcm.o adpcm_data.o
|
2016-04-03 12:55:17 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_DAT4_DECODER) += adpcm.o adpcm_data.o
|
2011-09-08 01:34:09 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_DK3_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_DK4_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_EA_EACS_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_EA_SEAD_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_ISS_DECODER) += adpcm.o adpcm_data.o
|
2020-08-25 00:51:11 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_MOFLEX_DECODER) += adpcm.o adpcm_data.o
|
2020-03-14 12:55:58 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_MTF_DECODER) += adpcm.o adpcm_data.o
|
2012-11-21 18:29:15 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_OKI_DECODER) += adpcm.o adpcm_data.o
|
2011-09-08 01:34:09 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_QT_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_QT_ENCODER) += adpcmenc.o adpcm_data.o
|
2013-05-10 22:53:50 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_RAD_DECODER) += adpcm.o adpcm_data.o
|
2020-02-06 08:58:10 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_SSI_DECODER) += adpcm.o adpcm_data.o
|
2020-05-16 13:53:36 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_SSI_ENCODER) += adpcmenc.o adpcm_data.o
|
2011-09-08 01:34:09 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_SMJPEG_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_WAV_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_WAV_ENCODER) += adpcmenc.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_WS_DECODER) += adpcm.o adpcm_data.o
|
2021-04-25 22:00:00 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_WS_ENCODER) += adpcmenc.o adpcm_data.o
|
2011-09-08 01:34:09 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_MS_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_MS_ENCODER) += adpcmenc.o adpcm_data.o
|
2016-05-15 20:45:04 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_MTAF_DECODER) += adpcm.o adpcm_data.o
|
2015-10-13 14:16:24 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_PSX_DECODER) += adpcm.o adpcm_data.o
|
2011-12-20 13:37:56 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_SBPRO_2_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_SBPRO_3_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_SBPRO_4_DECODER) += adpcm.o adpcm_data.o
|
2011-09-08 01:34:09 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_SWF_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_SWF_ENCODER) += adpcmenc.o adpcm_data.o
|
2011-12-20 13:37:56 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_THP_DECODER) += adpcm.o adpcm_data.o
|
2016-02-03 16:21:27 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_THP_LE_DECODER) += adpcm.o adpcm_data.o
|
2012-03-19 05:52:08 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_VIMA_DECODER) += vima.o adpcm_data.o
|
2011-12-20 13:37:56 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_XA_DECODER) += adpcm.o adpcm_data.o
|
2023-01-25 20:31:44 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_XMD_DECODER) += adpcm.o adpcm_data.o
|
2011-09-08 01:34:09 +03:00
|
|
|
OBJS-$(CONFIG_ADPCM_YAMAHA_DECODER) += adpcm.o adpcm_data.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_YAMAHA_ENCODER) += adpcmenc.o adpcm_data.o
|
2020-02-14 21:37:42 +02:00
|
|
|
OBJS-$(CONFIG_ADPCM_ZORK_DECODER) += adpcm.o adpcm_data.o
|
2006-07-09 00:15:50 +03:00
|
|
|
|
2013-03-07 16:57:30 +03:00
|
|
|
# hardware accelerators
|
2015-09-27 20:54:01 +02:00
|
|
|
OBJS-$(CONFIG_D3D11VA) += dxva2.o
|
2014-09-01 15:35:58 +03:00
|
|
|
OBJS-$(CONFIG_DXVA2) += dxva2.o
|
2019-02-08 23:47:01 +02:00
|
|
|
OBJS-$(CONFIG_NVDEC) += nvdec.o
|
2016-08-25 00:30:29 +02:00
|
|
|
OBJS-$(CONFIG_VAAPI) += vaapi_decode.o
|
2015-07-11 13:23:21 +02:00
|
|
|
OBJS-$(CONFIG_VIDEOTOOLBOX) += videotoolbox.o
|
2014-09-01 15:35:58 +03:00
|
|
|
OBJS-$(CONFIG_VDPAU) += vdpau.o
|
|
|
|
|
2020-11-05 15:13:14 +02:00
|
|
|
OBJS-$(CONFIG_AV1_D3D11VA_HWACCEL) += dxva2_av1.o
|
|
|
|
OBJS-$(CONFIG_AV1_DXVA2_HWACCEL) += dxva2_av1.o
|
2020-10-17 18:16:54 +02:00
|
|
|
OBJS-$(CONFIG_AV1_NVDEC_HWACCEL) += nvdec_av1.o
|
2020-10-29 08:54:25 +02:00
|
|
|
OBJS-$(CONFIG_AV1_VAAPI_HWACCEL) += vaapi_av1.o
|
2022-05-16 15:15:58 +02:00
|
|
|
OBJS-$(CONFIG_AV1_VDPAU_HWACCEL) += vdpau_av1.o
|
2013-03-07 16:57:30 +03:00
|
|
|
OBJS-$(CONFIG_H263_VAAPI_HWACCEL) += vaapi_mpeg4.o
|
2015-07-11 13:23:21 +02:00
|
|
|
OBJS-$(CONFIG_H263_VIDEOTOOLBOX_HWACCEL) += videotoolbox.o
|
2015-05-11 10:52:47 +02:00
|
|
|
OBJS-$(CONFIG_H264_D3D11VA_HWACCEL) += dxva2_h264.o
|
2013-03-07 16:57:30 +03:00
|
|
|
OBJS-$(CONFIG_H264_DXVA2_HWACCEL) += dxva2_h264.o
|
2017-02-11 17:49:34 +02:00
|
|
|
OBJS-$(CONFIG_H264_NVDEC_HWACCEL) += nvdec_h264.o
|
2021-01-05 04:43:40 +02:00
|
|
|
OBJS-$(CONFIG_H264_QSV_HWACCEL) += qsvdec.o
|
2013-03-07 16:57:30 +03:00
|
|
|
OBJS-$(CONFIG_H264_VAAPI_HWACCEL) += vaapi_h264.o
|
|
|
|
OBJS-$(CONFIG_H264_VDPAU_HWACCEL) += vdpau_h264.o
|
2015-07-11 13:23:21 +02:00
|
|
|
OBJS-$(CONFIG_H264_VIDEOTOOLBOX_HWACCEL) += videotoolbox.o
|
2015-05-11 10:52:47 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_D3D11VA_HWACCEL) += dxva2_hevc.o
|
2015-01-25 14:01:11 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_DXVA2_HWACCEL) += dxva2_hevc.o
|
2017-11-11 01:38:36 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_NVDEC_HWACCEL) += nvdec_hevc.o
|
2021-01-05 04:43:40 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_QSV_HWACCEL) += qsvdec.o
|
2020-01-15 09:01:42 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_VAAPI_HWACCEL) += vaapi_hevc.o h265_profile_level.o
|
2020-06-27 15:34:21 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_VDPAU_HWACCEL) += vdpau_hevc.o h265_profile_level.o
|
2018-02-19 01:53:33 +02:00
|
|
|
OBJS-$(CONFIG_MJPEG_NVDEC_HWACCEL) += nvdec_mjpeg.o
|
2017-11-24 01:47:52 +02:00
|
|
|
OBJS-$(CONFIG_MJPEG_VAAPI_HWACCEL) += vaapi_mjpeg.o
|
2017-11-16 17:38:10 +02:00
|
|
|
OBJS-$(CONFIG_MPEG1_NVDEC_HWACCEL) += nvdec_mpeg12.o
|
2013-03-07 16:57:30 +03:00
|
|
|
OBJS-$(CONFIG_MPEG1_VDPAU_HWACCEL) += vdpau_mpeg12.o
|
2015-07-11 13:23:21 +02:00
|
|
|
OBJS-$(CONFIG_MPEG1_VIDEOTOOLBOX_HWACCEL) += videotoolbox.o
|
2015-05-11 10:52:47 +02:00
|
|
|
OBJS-$(CONFIG_MPEG2_D3D11VA_HWACCEL) += dxva2_mpeg2.o
|
2013-03-07 16:57:30 +03:00
|
|
|
OBJS-$(CONFIG_MPEG2_DXVA2_HWACCEL) += dxva2_mpeg2.o
|
2017-11-16 17:35:17 +02:00
|
|
|
OBJS-$(CONFIG_MPEG2_NVDEC_HWACCEL) += nvdec_mpeg12.o
|
2021-01-05 04:43:41 +02:00
|
|
|
OBJS-$(CONFIG_MPEG2_QSV_HWACCEL) += qsvdec.o
|
2013-03-07 16:57:30 +03:00
|
|
|
OBJS-$(CONFIG_MPEG2_VAAPI_HWACCEL) += vaapi_mpeg2.o
|
|
|
|
OBJS-$(CONFIG_MPEG2_VDPAU_HWACCEL) += vdpau_mpeg12.o
|
2015-07-11 13:23:21 +02:00
|
|
|
OBJS-$(CONFIG_MPEG2_VIDEOTOOLBOX_HWACCEL) += videotoolbox.o
|
2017-11-16 06:59:29 +02:00
|
|
|
OBJS-$(CONFIG_MPEG4_NVDEC_HWACCEL) += nvdec_mpeg4.o
|
2013-03-07 16:57:30 +03:00
|
|
|
OBJS-$(CONFIG_MPEG4_VAAPI_HWACCEL) += vaapi_mpeg4.o
|
|
|
|
OBJS-$(CONFIG_MPEG4_VDPAU_HWACCEL) += vdpau_mpeg4.o
|
2015-07-11 13:23:21 +02:00
|
|
|
OBJS-$(CONFIG_MPEG4_VIDEOTOOLBOX_HWACCEL) += videotoolbox.o
|
2015-05-11 10:52:47 +02:00
|
|
|
OBJS-$(CONFIG_VC1_D3D11VA_HWACCEL) += dxva2_vc1.o
|
2013-03-07 16:57:30 +03:00
|
|
|
OBJS-$(CONFIG_VC1_DXVA2_HWACCEL) += dxva2_vc1.o
|
2017-11-14 07:09:27 +02:00
|
|
|
OBJS-$(CONFIG_VC1_NVDEC_HWACCEL) += nvdec_vc1.o
|
2021-01-05 04:43:41 +02:00
|
|
|
OBJS-$(CONFIG_VC1_QSV_HWACCEL) += qsvdec.o
|
2013-03-07 16:57:30 +03:00
|
|
|
OBJS-$(CONFIG_VC1_VAAPI_HWACCEL) += vaapi_vc1.o
|
|
|
|
OBJS-$(CONFIG_VC1_VDPAU_HWACCEL) += vdpau_vc1.o
|
2017-11-19 18:42:39 +02:00
|
|
|
OBJS-$(CONFIG_VP8_NVDEC_HWACCEL) += nvdec_vp8.o
|
2017-11-18 19:55:24 +02:00
|
|
|
OBJS-$(CONFIG_VP8_VAAPI_HWACCEL) += vaapi_vp8.o
|
2015-12-03 12:09:51 +02:00
|
|
|
OBJS-$(CONFIG_VP9_D3D11VA_HWACCEL) += dxva2_vp9.o
|
|
|
|
OBJS-$(CONFIG_VP9_DXVA2_HWACCEL) += dxva2_vp9.o
|
2017-11-11 22:19:07 +02:00
|
|
|
OBJS-$(CONFIG_VP9_NVDEC_HWACCEL) += nvdec_vp9.o
|
2015-12-19 21:31:00 +02:00
|
|
|
OBJS-$(CONFIG_VP9_VAAPI_HWACCEL) += vaapi_vp9.o
|
2019-10-25 07:30:13 +02:00
|
|
|
OBJS-$(CONFIG_VP9_VDPAU_HWACCEL) += vdpau_vp9.o
|
2021-11-13 10:43:06 +02:00
|
|
|
OBJS-$(CONFIG_VP9_VIDEOTOOLBOX_HWACCEL) += videotoolbox_vp9.o
|
2021-01-05 04:43:41 +02:00
|
|
|
OBJS-$(CONFIG_VP8_QSV_HWACCEL) += qsvdec.o
|
2013-03-07 16:57:30 +03:00
|
|
|
|
2021-02-09 13:40:04 +02:00
|
|
|
# Objects duplicated from other libraries for shared builds
|
|
|
|
SHLIBOBJS += log2_tab.o reverse.o
|
|
|
|
|
|
|
|
# General libavformat dependencies
|
2017-08-29 19:16:44 +02:00
|
|
|
OBJS-$(CONFIG_FITS_DEMUXER) += fits.o
|
2012-12-07 03:14:33 +03:00
|
|
|
OBJS-$(CONFIG_TAK_DEMUXER) += tak.o
|
2007-11-10 20:27:03 +02:00
|
|
|
|
2021-02-09 13:40:04 +02:00
|
|
|
# libavformat dependencies for static builds
|
2021-12-13 20:55:39 +02:00
|
|
|
STLIBOBJS-$(CONFIG_AVFORMAT) += to_upper4.o
|
2021-03-09 13:15:35 +02:00
|
|
|
STLIBOBJS-$(CONFIG_ISO_MEDIA) += mpegaudiotabs.o
|
2021-02-10 20:37:37 +02:00
|
|
|
STLIBOBJS-$(CONFIG_FLV_MUXER) += mpeg4audio_sample_rates.o
|
2021-02-09 19:25:13 +02:00
|
|
|
STLIBOBJS-$(CONFIG_HLS_DEMUXER) += ac3_channel_layout_tab.o
|
2021-02-10 20:37:37 +02:00
|
|
|
STLIBOBJS-$(CONFIG_MATROSKA_DEMUXER) += mpeg4audio_sample_rates.o
|
2021-02-09 19:25:13 +02:00
|
|
|
STLIBOBJS-$(CONFIG_MOV_DEMUXER) += ac3_channel_layout_tab.o
|
2021-02-09 13:40:04 +02:00
|
|
|
STLIBOBJS-$(CONFIG_MXF_MUXER) += golomb.o
|
2021-03-09 13:15:35 +02:00
|
|
|
STLIBOBJS-$(CONFIG_MP3_MUXER) += mpegaudiotabs.o
|
|
|
|
STLIBOBJS-$(CONFIG_NUT_MUXER) += mpegaudiotabs.o
|
2021-02-10 02:19:44 +02:00
|
|
|
STLIBOBJS-$(CONFIG_RTPDEC) += jpegtables.o
|
2021-02-10 20:37:37 +02:00
|
|
|
STLIBOBJS-$(CONFIG_RTP_MUXER) += golomb.o jpegtables.o \
|
|
|
|
mpeg4audio_sample_rates.o
|
2021-02-09 22:16:18 +02:00
|
|
|
STLIBOBJS-$(CONFIG_SPDIF_MUXER) += dca_sample_rate_tab.o
|
2021-02-09 13:40:04 +02:00
|
|
|
|
2013-11-18 20:05:30 +03:00
|
|
|
# libavfilter dependencies
|
|
|
|
OBJS-$(CONFIG_ELBG_FILTER) += elbg.o
|
|
|
|
|
2007-01-07 02:07:10 +02:00
|
|
|
# external codec libraries
|
2016-02-19 05:38:37 +02:00
|
|
|
OBJS-$(CONFIG_AAC_AT_DECODER) += audiotoolboxdec.o
|
|
|
|
OBJS-$(CONFIG_AC3_AT_DECODER) += audiotoolboxdec.o
|
|
|
|
OBJS-$(CONFIG_ADPCM_IMA_QT_AT_DECODER) += audiotoolboxdec.o
|
|
|
|
OBJS-$(CONFIG_ALAC_AT_DECODER) += audiotoolboxdec.o
|
|
|
|
OBJS-$(CONFIG_AMR_NB_AT_DECODER) += audiotoolboxdec.o
|
2016-03-31 03:55:32 +02:00
|
|
|
OBJS-$(CONFIG_EAC3_AT_DECODER) += audiotoolboxdec.o
|
2016-02-19 05:38:37 +02:00
|
|
|
OBJS-$(CONFIG_GSM_MS_AT_DECODER) += audiotoolboxdec.o
|
|
|
|
OBJS-$(CONFIG_ILBC_AT_DECODER) += audiotoolboxdec.o
|
2017-04-09 17:03:30 +02:00
|
|
|
OBJS-$(CONFIG_MP1_AT_DECODER) += audiotoolboxdec.o
|
|
|
|
OBJS-$(CONFIG_MP2_AT_DECODER) += audiotoolboxdec.o
|
|
|
|
OBJS-$(CONFIG_MP3_AT_DECODER) += audiotoolboxdec.o
|
2016-02-19 05:38:37 +02:00
|
|
|
OBJS-$(CONFIG_PCM_MULAW_AT_DECODER) += audiotoolboxdec.o
|
|
|
|
OBJS-$(CONFIG_PCM_ALAW_AT_DECODER) += audiotoolboxdec.o
|
|
|
|
OBJS-$(CONFIG_QDMC_AT_DECODER) += audiotoolboxdec.o
|
|
|
|
OBJS-$(CONFIG_QDM2_AT_DECODER) += audiotoolboxdec.o
|
2016-02-24 05:01:24 +02:00
|
|
|
OBJS-$(CONFIG_AAC_AT_ENCODER) += audiotoolboxenc.o
|
|
|
|
OBJS-$(CONFIG_ALAC_AT_ENCODER) += audiotoolboxenc.o
|
|
|
|
OBJS-$(CONFIG_ILBC_AT_ENCODER) += audiotoolboxenc.o
|
|
|
|
OBJS-$(CONFIG_PCM_ALAW_AT_ENCODER) += audiotoolboxenc.o
|
|
|
|
OBJS-$(CONFIG_PCM_MULAW_AT_ENCODER) += audiotoolboxenc.o
|
2022-07-18 20:36:14 +02:00
|
|
|
OBJS-$(CONFIG_LIBAOM_AV1_DECODER) += libaomdec.o libaom.o
|
|
|
|
OBJS-$(CONFIG_LIBAOM_AV1_ENCODER) += libaomenc.o libaom.o
|
2019-01-14 21:52:23 +02:00
|
|
|
OBJS-$(CONFIG_LIBARIBB24_DECODER) += libaribb24.o ass.o
|
2023-02-23 12:17:15 +02:00
|
|
|
OBJS-$(CONFIG_LIBARIBCAPTION_DECODER) += libaribcaption.o ass.o
|
2011-04-16 18:45:30 +03:00
|
|
|
OBJS-$(CONFIG_LIBCELT_DECODER) += libcelt_dec.o
|
2021-02-25 21:07:50 +02:00
|
|
|
OBJS-$(CONFIG_LIBCODEC2_DECODER) += libcodec2.o
|
|
|
|
OBJS-$(CONFIG_LIBCODEC2_ENCODER) += libcodec2.o
|
2023-03-16 23:25:32 +02:00
|
|
|
OBJS-$(CONFIG_LIBDAV1D_DECODER) += libdav1d.o
|
2018-07-27 05:50:19 +02:00
|
|
|
OBJS-$(CONFIG_LIBDAVS2_DECODER) += libdavs2.o
|
2013-08-15 22:40:32 +03:00
|
|
|
OBJS-$(CONFIG_LIBFDK_AAC_DECODER) += libfdk-aacdec.o
|
2013-02-18 00:00:36 +03:00
|
|
|
OBJS-$(CONFIG_LIBFDK_AAC_ENCODER) += libfdk-aacenc.o
|
2014-07-08 06:33:35 +03:00
|
|
|
OBJS-$(CONFIG_LIBGSM_DECODER) += libgsmdec.o
|
|
|
|
OBJS-$(CONFIG_LIBGSM_ENCODER) += libgsmenc.o
|
|
|
|
OBJS-$(CONFIG_LIBGSM_MS_DECODER) += libgsmdec.o
|
|
|
|
OBJS-$(CONFIG_LIBGSM_MS_ENCODER) += libgsmenc.o
|
2012-06-16 00:42:13 +03:00
|
|
|
OBJS-$(CONFIG_LIBILBC_DECODER) += libilbc.o
|
|
|
|
OBJS-$(CONFIG_LIBILBC_ENCODER) += libilbc.o
|
2022-04-17 15:22:34 +02:00
|
|
|
OBJS-$(CONFIG_LIBJXL_DECODER) += libjxldec.o libjxl.o
|
2022-04-17 15:22:35 +02:00
|
|
|
OBJS-$(CONFIG_LIBJXL_ENCODER) += libjxlenc.o libjxl.o
|
2015-07-14 07:53:35 +02:00
|
|
|
OBJS-$(CONFIG_LIBKVAZAAR_ENCODER) += libkvazaar.o
|
2016-12-03 12:25:02 +02:00
|
|
|
OBJS-$(CONFIG_LIBMP3LAME_ENCODER) += libmp3lame.o
|
2009-07-07 12:33:08 +03:00
|
|
|
OBJS-$(CONFIG_LIBOPENCORE_AMRNB_DECODER) += libopencore-amr.o
|
2013-02-18 00:00:36 +03:00
|
|
|
OBJS-$(CONFIG_LIBOPENCORE_AMRNB_ENCODER) += libopencore-amr.o
|
2012-06-08 16:52:21 +03:00
|
|
|
OBJS-$(CONFIG_LIBOPENCORE_AMRWB_DECODER) += libopencore-amr.o
|
2016-06-23 23:58:17 +02:00
|
|
|
OBJS-$(CONFIG_LIBOPENH264_DECODER) += libopenh264dec.o libopenh264.o
|
|
|
|
OBJS-$(CONFIG_LIBOPENH264_ENCODER) += libopenh264enc.o libopenh264.o
|
2011-11-18 02:57:09 +03:00
|
|
|
OBJS-$(CONFIG_LIBOPENJPEG_ENCODER) += libopenjpegenc.o
|
2012-09-29 08:16:09 +03:00
|
|
|
OBJS-$(CONFIG_LIBOPUS_DECODER) += libopusdec.o libopus.o \
|
|
|
|
vorbis_data.o
|
|
|
|
OBJS-$(CONFIG_LIBOPUS_ENCODER) += libopusenc.o libopus.o \
|
2013-02-18 00:00:36 +03:00
|
|
|
vorbis_data.o
|
2019-05-29 20:28:24 +02:00
|
|
|
OBJS-$(CONFIG_LIBRAV1E_ENCODER) += librav1e.o
|
2012-07-29 21:20:00 +03:00
|
|
|
OBJS-$(CONFIG_LIBSHINE_ENCODER) += libshine.o
|
2009-07-07 12:33:08 +03:00
|
|
|
OBJS-$(CONFIG_LIBSPEEX_DECODER) += libspeexdec.o
|
2013-02-18 00:00:36 +03:00
|
|
|
OBJS-$(CONFIG_LIBSPEEX_ENCODER) += libspeexenc.o
|
2020-07-30 23:31:58 +02:00
|
|
|
OBJS-$(CONFIG_LIBSVTAV1_ENCODER) += libsvtav1.o
|
2009-07-07 12:33:08 +03:00
|
|
|
OBJS-$(CONFIG_LIBTHEORA_ENCODER) += libtheoraenc.o
|
2012-08-01 17:33:34 +03:00
|
|
|
OBJS-$(CONFIG_LIBTWOLAME_ENCODER) += libtwolame.o
|
2020-10-05 14:16:25 +02:00
|
|
|
OBJS-$(CONFIG_LIBUAVS3D_DECODER) += libuavs3d.o
|
2009-12-29 16:48:09 +02:00
|
|
|
OBJS-$(CONFIG_LIBVO_AMRWBENC_ENCODER) += libvo-amrwbenc.o
|
2012-06-13 00:37:58 +03:00
|
|
|
OBJS-$(CONFIG_LIBVORBIS_DECODER) += libvorbisdec.o
|
2013-02-18 14:55:31 +03:00
|
|
|
OBJS-$(CONFIG_LIBVORBIS_ENCODER) += libvorbisenc.o \
|
2014-10-29 16:04:23 +02:00
|
|
|
vorbis_data.o
|
2012-12-30 21:40:20 +03:00
|
|
|
OBJS-$(CONFIG_LIBVPX_VP8_DECODER) += libvpxdec.o
|
|
|
|
OBJS-$(CONFIG_LIBVPX_VP8_ENCODER) += libvpxenc.o
|
2023-02-27 15:38:22 +02:00
|
|
|
OBJS-$(CONFIG_LIBVPX_VP9_DECODER) += libvpxdec.o
|
|
|
|
OBJS-$(CONFIG_LIBVPX_VP9_ENCODER) += libvpxenc.o
|
2015-05-20 02:39:54 +02:00
|
|
|
OBJS-$(CONFIG_LIBWEBP_ENCODER) += libwebpenc_common.o libwebpenc.o
|
2015-05-20 03:04:07 +02:00
|
|
|
OBJS-$(CONFIG_LIBWEBP_ANIM_ENCODER) += libwebpenc_common.o libwebpenc_animencoder.o
|
2015-07-10 14:45:14 +02:00
|
|
|
OBJS-$(CONFIG_LIBX262_ENCODER) += libx264.o
|
2009-07-07 12:33:08 +03:00
|
|
|
OBJS-$(CONFIG_LIBX264_ENCODER) += libx264.o
|
2013-10-02 17:46:26 +03:00
|
|
|
OBJS-$(CONFIG_LIBX265_ENCODER) += libx265.o
|
2010-07-27 10:18:36 +03:00
|
|
|
OBJS-$(CONFIG_LIBXAVS_ENCODER) += libxavs.o
|
2018-09-10 05:59:02 +02:00
|
|
|
OBJS-$(CONFIG_LIBXAVS2_ENCODER) += libxavs2.o
|
2018-05-01 20:58:38 +02:00
|
|
|
OBJS-$(CONFIG_LIBXVID_ENCODER) += libxvid.o
|
2016-08-23 11:54:26 +02:00
|
|
|
OBJS-$(CONFIG_LIBZVBI_TELETEXT_DECODER) += libzvbi-teletextdec.o ass.o
|
2004-07-14 04:32:14 +03:00
|
|
|
|
2008-11-19 00:48:43 +02:00
|
|
|
# parsers
|
2016-02-16 18:58:50 +02:00
|
|
|
OBJS-$(CONFIG_AAC_LATM_PARSER) += latm_parser.o
|
2021-12-14 12:19:08 +02:00
|
|
|
OBJS-$(CONFIG_AAC_PARSER) += aac_parser.o aac_ac3_parser.o
|
2021-02-09 19:25:13 +02:00
|
|
|
OBJS-$(CONFIG_AC3_PARSER) += aac_ac3_parser.o ac3tab.o \
|
|
|
|
ac3_channel_layout_tab.o
|
2022-09-16 09:10:49 +02:00
|
|
|
OBJS-$(CONFIG_ADX_PARSER) += adx_parser.o
|
2021-09-30 14:29:48 +02:00
|
|
|
OBJS-$(CONFIG_AMR_PARSER) += amr_parser.o
|
2021-03-07 01:28:14 +02:00
|
|
|
OBJS-$(CONFIG_AV1_PARSER) += av1_parser.o
|
2022-06-13 05:36:34 +02:00
|
|
|
OBJS-$(CONFIG_AVS2_PARSER) += avs2.o avs2_parser.o
|
2020-10-05 14:09:20 +02:00
|
|
|
OBJS-$(CONFIG_AVS3_PARSER) += avs3_parser.o
|
2012-08-06 02:46:41 +03:00
|
|
|
OBJS-$(CONFIG_BMP_PARSER) += bmp_parser.o
|
2007-05-09 03:03:17 +03:00
|
|
|
OBJS-$(CONFIG_CAVSVIDEO_PARSER) += cavs_parser.o
|
2012-04-10 23:33:45 +03:00
|
|
|
OBJS-$(CONFIG_COOK_PARSER) += cook_parser.o
|
2021-02-05 21:10:49 +02:00
|
|
|
OBJS-$(CONFIG_CRI_PARSER) += cri_parser.o
|
2021-02-09 22:16:18 +02:00
|
|
|
OBJS-$(CONFIG_DCA_PARSER) += dca_parser.o dca_exss.o dca.o \
|
|
|
|
dca_sample_rate_tab.o
|
2008-05-03 06:33:21 +03:00
|
|
|
OBJS-$(CONFIG_DIRAC_PARSER) += dirac_parser.o
|
2017-05-15 18:33:29 +02:00
|
|
|
OBJS-$(CONFIG_DNXHD_PARSER) += dnxhd_parser.o dnxhddata.o
|
2021-01-25 16:29:27 +02:00
|
|
|
OBJS-$(CONFIG_DOLBY_E_PARSER) += dolby_e_parser.o dolby_e_parse.o
|
2013-10-06 15:51:08 +03:00
|
|
|
OBJS-$(CONFIG_DPX_PARSER) += dpx_parser.o
|
2016-01-27 15:37:09 +02:00
|
|
|
OBJS-$(CONFIG_DVAUDIO_PARSER) += dvaudio_parser.o
|
2007-05-06 11:41:24 +03:00
|
|
|
OBJS-$(CONFIG_DVBSUB_PARSER) += dvbsub_parser.o
|
2013-03-19 04:11:39 +03:00
|
|
|
OBJS-$(CONFIG_DVD_NAV_PARSER) += dvd_nav_parser.o
|
2007-05-06 12:12:10 +03:00
|
|
|
OBJS-$(CONFIG_DVDSUB_PARSER) += dvdsub_parser.o
|
2021-01-07 03:00:26 +02:00
|
|
|
OBJS-$(CONFIG_FLAC_PARSER) += flac_parser.o flacdata.o flac.o
|
2022-08-30 17:14:46 +02:00
|
|
|
OBJS-$(CONFIG_FTR_PARSER) += ftr_parser.o
|
2018-12-18 21:46:13 +02:00
|
|
|
OBJS-$(CONFIG_G723_1_PARSER) += g723_1_parser.o
|
2015-08-11 19:04:09 +02:00
|
|
|
OBJS-$(CONFIG_G729_PARSER) += g729_parser.o
|
2018-12-08 13:31:19 +02:00
|
|
|
OBJS-$(CONFIG_GIF_PARSER) += gif_parser.o
|
2012-01-09 03:50:31 +03:00
|
|
|
OBJS-$(CONFIG_GSM_PARSER) += gsm_parser.o
|
2007-05-04 22:38:10 +03:00
|
|
|
OBJS-$(CONFIG_H261_PARSER) += h261_parser.o
|
2007-05-08 11:52:38 +03:00
|
|
|
OBJS-$(CONFIG_H263_PARSER) += h263_parser.o
|
2022-06-27 17:41:34 +02:00
|
|
|
OBJS-$(CONFIG_H264_PARSER) += h264_parser.o h264data.o
|
2017-04-30 18:05:52 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_PARSER) += hevc_parser.o hevc_data.o
|
2022-07-03 23:50:05 +02:00
|
|
|
OBJS-$(CONFIG_HDR_PARSER) += hdr_parser.o
|
2020-09-14 11:35:26 +02:00
|
|
|
OBJS-$(CONFIG_IPU_PARSER) += ipu_parser.o
|
2020-06-06 08:12:17 +02:00
|
|
|
OBJS-$(CONFIG_JPEG2000_PARSER) += jpeg2000_parser.o
|
2022-09-09 09:57:12 +02:00
|
|
|
OBJS-$(CONFIG_MISC4_PARSER) += misc4_parser.o
|
2007-05-11 01:37:36 +03:00
|
|
|
OBJS-$(CONFIG_MJPEG_PARSER) += mjpeg_parser.o
|
2019-05-04 20:15:50 +02:00
|
|
|
OBJS-$(CONFIG_MLP_PARSER) += mlp_parse.o mlp_parser.o mlp.o
|
2009-10-18 13:47:40 +03:00
|
|
|
OBJS-$(CONFIG_MPEG4VIDEO_PARSER) += mpeg4video_parser.o h263.o \
|
2010-02-23 18:12:30 +02:00
|
|
|
mpeg4videodec.o mpeg4video.o \
|
2015-09-09 12:10:04 +02:00
|
|
|
ituh263dec.o h263dec.o h263data.o
|
2016-12-03 12:25:02 +02:00
|
|
|
OBJS-$(CONFIG_MPEGAUDIO_PARSER) += mpegaudio_parser.o
|
2009-10-18 13:47:40 +03:00
|
|
|
OBJS-$(CONFIG_MPEGVIDEO_PARSER) += mpegvideo_parser.o \
|
2012-08-13 20:13:32 +03:00
|
|
|
mpeg12.o mpeg12data.o
|
2022-10-03 20:48:09 +02:00
|
|
|
OBJS-$(CONFIG_OPUS_PARSER) += opus_parser.o opus_parse.o \
|
|
|
|
vorbis_data.o
|
2013-12-12 18:11:35 +03:00
|
|
|
OBJS-$(CONFIG_PNG_PARSER) += png_parser.o
|
2007-05-11 12:28:07 +03:00
|
|
|
OBJS-$(CONFIG_PNM_PARSER) += pnm_parser.o pnm.o
|
2022-05-31 12:33:54 +02:00
|
|
|
OBJS-$(CONFIG_QOI_PARSER) += qoi_parser.o
|
2011-08-15 13:03:40 +03:00
|
|
|
OBJS-$(CONFIG_RV30_PARSER) += rv34_parser.o
|
|
|
|
OBJS-$(CONFIG_RV40_PARSER) += rv34_parser.o
|
2017-08-12 02:35:06 +02:00
|
|
|
OBJS-$(CONFIG_SBC_PARSER) += sbc_parser.o
|
2017-01-14 16:55:27 +02:00
|
|
|
OBJS-$(CONFIG_SIPR_PARSER) += sipr_parser.o
|
2012-10-02 16:43:19 +03:00
|
|
|
OBJS-$(CONFIG_TAK_PARSER) += tak_parser.o tak.o
|
2016-02-10 16:41:50 +02:00
|
|
|
OBJS-$(CONFIG_VC1_PARSER) += vc1_parser.o vc1.o vc1data.o \
|
2022-10-30 03:13:03 +02:00
|
|
|
wmv2data.o
|
2008-06-26 14:25:42 +03:00
|
|
|
OBJS-$(CONFIG_VP3_PARSER) += vp3_parser.o
|
2010-05-27 07:39:31 +03:00
|
|
|
OBJS-$(CONFIG_VP8_PARSER) += vp8_parser.o
|
2013-11-23 17:04:39 +03:00
|
|
|
OBJS-$(CONFIG_VP9_PARSER) += vp9_parser.o
|
2020-04-14 01:44:06 +02:00
|
|
|
OBJS-$(CONFIG_WEBP_PARSER) += webp_parser.o
|
2021-02-03 12:58:47 +02:00
|
|
|
OBJS-$(CONFIG_XBM_PARSER) += xbm_parser.o
|
2017-01-19 21:43:40 +02:00
|
|
|
OBJS-$(CONFIG_XMA_PARSER) += xma_parser.o
|
2022-09-16 12:05:44 +02:00
|
|
|
OBJS-$(CONFIG_XWD_PARSER) += xwd_parser.o
|
2006-07-09 15:02:15 +03:00
|
|
|
|
2008-11-19 00:48:43 +02:00
|
|
|
# bitstream filters
|
2021-12-14 12:19:08 +02:00
|
|
|
OBJS-$(CONFIG_AAC_ADTSTOASC_BSF) += aac_adtstoasc_bsf.o
|
2018-09-10 00:08:12 +02:00
|
|
|
OBJS-$(CONFIG_AV1_METADATA_BSF) += av1_metadata_bsf.o
|
2019-11-11 02:09:02 +02:00
|
|
|
OBJS-$(CONFIG_AV1_FRAME_MERGE_BSF) += av1_frame_merge_bsf.o
|
2018-12-18 02:56:27 +02:00
|
|
|
OBJS-$(CONFIG_AV1_FRAME_SPLIT_BSF) += av1_frame_split_bsf.o
|
2010-05-19 23:18:40 +03:00
|
|
|
OBJS-$(CONFIG_CHOMP_BSF) += chomp_bsf.o
|
2008-06-22 16:01:24 +03:00
|
|
|
OBJS-$(CONFIG_DUMP_EXTRADATA_BSF) += dump_extradata_bsf.o
|
2016-03-27 13:02:33 +02:00
|
|
|
OBJS-$(CONFIG_DCA_CORE_BSF) += dca_core_bsf.o
|
2022-08-15 19:46:09 +02:00
|
|
|
OBJS-$(CONFIG_DTS2PTS_BSF) += dts2pts_bsf.o
|
2022-02-22 23:50:42 +02:00
|
|
|
OBJS-$(CONFIG_DV_ERROR_MARKER_BSF) += dv_error_marker_bsf.o
|
2018-03-27 16:47:24 +02:00
|
|
|
OBJS-$(CONFIG_EAC3_CORE_BSF) += eac3_core_bsf.o
|
2017-04-02 21:09:16 +02:00
|
|
|
OBJS-$(CONFIG_EXTRACT_EXTRADATA_BSF) += extract_extradata_bsf.o \
|
2018-07-07 21:32:52 +02:00
|
|
|
av1_parse.o h2645_parse.o
|
2018-03-06 20:49:27 +02:00
|
|
|
OBJS-$(CONFIG_FILTER_UNITS_BSF) += filter_units_bsf.o
|
2021-11-19 20:50:49 +02:00
|
|
|
OBJS-$(CONFIG_H264_METADATA_BSF) += h264_metadata_bsf.o h264_levels.o \
|
|
|
|
h2645data.o
|
2008-06-22 16:01:24 +03:00
|
|
|
OBJS-$(CONFIG_H264_MP4TOANNEXB_BSF) += h264_mp4toannexb_bsf.o
|
2017-05-05 00:10:19 +02:00
|
|
|
OBJS-$(CONFIG_H264_REDUNDANT_PPS_BSF) += h264_redundant_pps_bsf.o
|
2018-03-11 20:16:09 +02:00
|
|
|
OBJS-$(CONFIG_HAPQA_EXTRACT_BSF) += hapqa_extract_bsf.o hap.o
|
2021-11-19 20:50:49 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_METADATA_BSF) += h265_metadata_bsf.o h265_profile_level.o \
|
|
|
|
h2645data.o
|
2015-07-09 11:28:38 +02:00
|
|
|
OBJS-$(CONFIG_HEVC_MP4TOANNEXB_BSF) += hevc_mp4toannexb_bsf.o
|
2008-06-22 16:01:24 +03:00
|
|
|
OBJS-$(CONFIG_IMX_DUMP_HEADER_BSF) += imx_dump_header_bsf.o
|
2023-01-31 11:18:17 +02:00
|
|
|
OBJS-$(CONFIG_MEDIA100_TO_MJPEGB_BSF) += media100_to_mjpegb_bsf.o
|
2015-03-27 13:23:59 +02:00
|
|
|
OBJS-$(CONFIG_MJPEG2JPEG_BSF) += mjpeg2jpeg_bsf.o
|
2008-06-22 16:01:24 +03:00
|
|
|
OBJS-$(CONFIG_MJPEGA_DUMP_HEADER_BSF) += mjpega_dump_header_bsf.o
|
2015-04-03 18:19:53 +02:00
|
|
|
OBJS-$(CONFIG_MPEG4_UNPACK_BFRAMES_BSF) += mpeg4_unpack_bframes_bsf.o
|
2008-06-22 16:01:24 +03:00
|
|
|
OBJS-$(CONFIG_MOV2TEXTSUB_BSF) += movsub_bsf.o
|
2009-10-18 13:47:40 +03:00
|
|
|
OBJS-$(CONFIG_MP3_HEADER_DECOMPRESS_BSF) += mp3_header_decompress_bsf.o \
|
2021-03-09 13:15:35 +02:00
|
|
|
mpegaudiotabs.o
|
2017-08-01 16:35:14 +02:00
|
|
|
OBJS-$(CONFIG_MPEG2_METADATA_BSF) += mpeg2_metadata_bsf.o
|
2008-06-22 16:01:24 +03:00
|
|
|
OBJS-$(CONFIG_NOISE_BSF) += noise_bsf.o
|
2016-05-24 15:09:29 +02:00
|
|
|
OBJS-$(CONFIG_NULL_BSF) += null_bsf.o
|
2020-05-03 22:17:33 +02:00
|
|
|
OBJS-$(CONFIG_OPUS_METADATA_BSF) += opus_metadata_bsf.o
|
2020-03-25 00:24:22 +02:00
|
|
|
OBJS-$(CONFIG_PCM_RECHUNK_BSF) += pcm_rechunk_bsf.o
|
2020-05-08 16:11:24 +02:00
|
|
|
OBJS-$(CONFIG_PGS_FRAME_MERGE_BSF) += pgs_frame_merge_bsf.o
|
2018-10-28 13:53:25 +02:00
|
|
|
OBJS-$(CONFIG_PRORES_METADATA_BSF) += prores_metadata_bsf.o
|
2021-03-07 01:28:14 +02:00
|
|
|
OBJS-$(CONFIG_REMOVE_EXTRADATA_BSF) += remove_extradata_bsf.o av1_parse.o
|
2021-02-09 14:26:16 +02:00
|
|
|
OBJS-$(CONFIG_SETTS_BSF) += setts_bsf.o
|
2008-06-22 16:01:24 +03:00
|
|
|
OBJS-$(CONFIG_TEXT2MOVSUB_BSF) += movsub_bsf.o
|
2017-05-05 00:06:20 +02:00
|
|
|
OBJS-$(CONFIG_TRACE_HEADERS_BSF) += trace_headers_bsf.o
|
2019-05-04 20:15:50 +02:00
|
|
|
OBJS-$(CONFIG_TRUEHD_CORE_BSF) += truehd_core_bsf.o mlp_parse.o mlp.o
|
2018-04-02 03:38:03 +02:00
|
|
|
OBJS-$(CONFIG_VP9_METADATA_BSF) += vp9_metadata_bsf.o
|
2017-01-10 01:08:49 +02:00
|
|
|
OBJS-$(CONFIG_VP9_RAW_REORDER_BSF) += vp9_raw_reorder_bsf.o
|
2016-02-29 16:43:07 +02:00
|
|
|
OBJS-$(CONFIG_VP9_SUPERFRAME_BSF) += vp9_superframe_bsf.o
|
2016-11-13 12:00:02 +02:00
|
|
|
OBJS-$(CONFIG_VP9_SUPERFRAME_SPLIT_BSF) += vp9_superframe_split_bsf.o
|
2007-05-13 02:33:53 +03:00
|
|
|
|
2008-11-19 00:48:43 +02:00
|
|
|
# thread libraries
|
2013-12-04 20:21:30 +03:00
|
|
|
OBJS-$(HAVE_LIBC_MSVCRT) += file_open.o
|
2013-12-12 18:27:30 +03:00
|
|
|
OBJS-$(HAVE_THREADS) += pthread.o pthread_slice.o pthread_frame.o
|
2013-03-14 07:59:33 +03:00
|
|
|
|
|
|
|
OBJS-$(CONFIG_FRAME_THREAD_ENCODER) += frame_thread_encoder.o
|
2006-07-08 19:39:49 +03:00
|
|
|
|
2013-12-05 23:50:14 +03:00
|
|
|
# Windows resource file
|
2022-08-07 15:26:06 +02:00
|
|
|
SHLIBOBJS-$(HAVE_GNU_WINDRES) += avcodecres.o
|
2013-12-05 23:50:14 +03:00
|
|
|
|
2011-06-05 02:59:14 +03:00
|
|
|
SKIPHEADERS += %_tablegen.h \
|
|
|
|
%_tables.h \
|
|
|
|
tableprint.h \
|
2014-12-24 13:56:00 +02:00
|
|
|
tableprint_vlc.h \
|
2015-09-18 23:38:54 +02:00
|
|
|
aaccoder_twoloop.h \
|
|
|
|
aaccoder_trellis.h \
|
2015-10-12 08:56:22 +02:00
|
|
|
aacenc_quantization.h \
|
|
|
|
aacenc_quantization_misc.h \
|
2021-01-28 14:23:23 +02:00
|
|
|
bitstream_template.h \
|
2022-07-23 01:28:48 +02:00
|
|
|
$(ARCH)/vpx_arith.h \
|
2012-05-07 13:08:58 +03:00
|
|
|
|
2017-11-27 04:36:06 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_AMF) += amfenc.h
|
2015-05-11 10:52:47 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_D3D11VA) += d3d11va.h dxva2_internal.h
|
2010-03-08 20:43:47 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_DXVA2) += dxva2.h dxva2_internal.h
|
2015-09-28 15:18:56 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_JNI) += ffjni.h
|
2022-06-28 13:55:37 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_LCMS2) += fflcms2.h
|
2022-08-04 11:49:00 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_LIBAOM) += libaom.h
|
2022-04-28 01:39:37 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_LIBJXL) += libjxl.h
|
2015-08-31 04:00:05 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_LIBVPX) += libvpx.h
|
2015-08-22 19:14:17 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_LIBWEBP_ENCODER) += libwebpenc_common.h
|
2016-10-12 14:44:08 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_MEDIACODEC) += mediacodecdec_common.h mediacodec_surface.h mediacodec_wrapper.h mediacodec_sw_buffer.h
|
2017-04-04 07:45:41 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_MEDIAFOUNDATION) += mf_utils.h
|
2018-02-27 22:51:02 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_NVDEC) += nvdec.h
|
2016-05-25 15:04:28 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_NVENC) += nvenc.h
|
2015-03-29 13:49:44 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_QSV) += qsv.h qsv_internal.h
|
|
|
|
SKIPHEADERS-$(CONFIG_QSVENC) += qsvenc.h
|
2013-12-14 22:29:15 +03:00
|
|
|
SKIPHEADERS-$(CONFIG_XVMC) += xvmc.h
|
2020-09-16 00:28:20 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_VAAPI) += vaapi_decode.h vaapi_hevc.h vaapi_encode.h
|
2013-07-25 22:30:20 +03:00
|
|
|
SKIPHEADERS-$(CONFIG_VDPAU) += vdpau.h vdpau_internal.h
|
2017-09-05 15:58:13 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_VIDEOTOOLBOX) += videotoolbox.h vt_internal.h
|
2017-09-23 23:08:07 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_V4L2_M2M) += v4l2_buffers.h v4l2_context.h v4l2_m2m.h
|
2022-08-04 11:49:00 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_ZLIB) += zlib_wrapper.h
|
2008-11-19 00:48:43 +02:00
|
|
|
|
2021-09-24 02:27:17 +02:00
|
|
|
TESTPROGS = avcodec \
|
|
|
|
avpacket \
|
2022-07-03 11:52:04 +02:00
|
|
|
bitstream_be \
|
|
|
|
bitstream_le \
|
2017-03-24 07:48:28 +02:00
|
|
|
celp_math \
|
2018-02-10 11:30:14 +02:00
|
|
|
codec_desc \
|
2017-07-29 20:56:55 +02:00
|
|
|
htmlsubtitles \
|
2015-06-20 01:24:08 +02:00
|
|
|
jpeg2000dwt \
|
2015-05-20 13:38:01 +02:00
|
|
|
mathops \
|
2014-12-04 01:06:40 +02:00
|
|
|
|
2014-07-21 23:29:15 +03:00
|
|
|
TESTPROGS-$(CONFIG_CABAC) += cabac
|
2016-05-11 20:10:10 +02:00
|
|
|
TESTPROGS-$(CONFIG_DCT) += avfft
|
2021-01-09 17:23:20 +02:00
|
|
|
TESTPROGS-$(CONFIG_FFT) += fft fft-fixed32
|
2016-02-16 18:58:50 +02:00
|
|
|
TESTPROGS-$(CONFIG_GOLOMB) += golomb
|
2014-07-21 15:27:45 +03:00
|
|
|
TESTPROGS-$(CONFIG_IDCTDSP) += dct
|
2014-07-21 15:26:00 +03:00
|
|
|
TESTPROGS-$(CONFIG_IIRFILTER) += iirfilter
|
2021-02-18 00:41:58 +02:00
|
|
|
TESTPROGS-$(CONFIG_MJPEG_ENCODER) += mjpegenc_huffman
|
2014-07-21 22:35:02 +03:00
|
|
|
TESTPROGS-$(HAVE_MMX) += motion
|
2017-09-12 23:11:56 +02:00
|
|
|
TESTPROGS-$(CONFIG_MPEGVIDEO) += mpeg12framerate
|
2018-09-19 00:30:57 +02:00
|
|
|
TESTPROGS-$(CONFIG_H264_METADATA_BSF) += h264_levels
|
2019-05-06 23:02:22 +02:00
|
|
|
TESTPROGS-$(CONFIG_HEVC_METADATA_BSF) += h265_levels
|
2014-07-21 15:28:26 +03:00
|
|
|
TESTPROGS-$(CONFIG_RANGECODER) += rangecoder
|
2014-07-21 23:29:15 +03:00
|
|
|
TESTPROGS-$(CONFIG_SNOW_ENCODER) += snowenc
|
2014-07-21 15:26:00 +03:00
|
|
|
|
2010-03-08 20:43:44 +02:00
|
|
|
TESTOBJS = dctref.o
|
2008-01-28 01:27:13 +02:00
|
|
|
|
2012-09-14 15:06:55 +03:00
|
|
|
TOOLS = fourcc2pixfmt
|
|
|
|
|
2015-11-28 00:01:49 +02:00
|
|
|
HOSTPROGS = aacps_tablegen \
|
2015-07-20 13:36:19 +02:00
|
|
|
aacps_fixed_tablegen \
|
2012-04-14 14:05:08 +03:00
|
|
|
cbrt_tablegen \
|
2015-06-30 11:53:06 +02:00
|
|
|
cbrt_fixed_tablegen \
|
2012-04-14 14:05:08 +03:00
|
|
|
cos_tablegen \
|
|
|
|
dv_tablegen \
|
|
|
|
motionpixels_tablegen \
|
|
|
|
mpegaudio_tablegen \
|
2020-11-18 14:13:45 +02:00
|
|
|
mpegaudiodec_common_tablegen \
|
2012-04-14 14:05:08 +03:00
|
|
|
pcm_tablegen \
|
|
|
|
qdm2_tablegen \
|
|
|
|
sinewin_tablegen \
|
2015-06-30 11:53:06 +02:00
|
|
|
sinewin_fixed_tablegen \
|
2009-10-29 02:55:35 +02:00
|
|
|
|
2011-05-16 01:54:36 +03:00
|
|
|
CLEANFILES = *_tables.c *_tables.h *_tablegen$(HOSTEXESUF)
|
2009-10-15 00:41:24 +03:00
|
|
|
|
2016-04-20 11:40:40 +02:00
|
|
|
$(SUBDIR)tests/dct$(EXESUF): $(SUBDIR)dctref.o $(SUBDIR)aandcttab.o
|
2013-11-10 19:23:31 +03:00
|
|
|
$(SUBDIR)dv_tablegen$(HOSTEXESUF): $(SUBDIR)dvdata_host.o
|
2009-10-15 00:41:24 +03:00
|
|
|
|
2011-05-19 20:34:40 +03:00
|
|
|
TRIG_TABLES = cos cos_fixed sin
|
|
|
|
TRIG_TABLES := $(TRIG_TABLES:%=$(SUBDIR)%_tables.c)
|
2011-03-26 17:20:30 +02:00
|
|
|
|
2011-05-16 01:53:07 +03:00
|
|
|
$(TRIG_TABLES): $(SUBDIR)%_tables.c: $(SUBDIR)cos_tablegen$(HOSTEXESUF)
|
2011-05-19 20:34:40 +03:00
|
|
|
$(M)./$< $* > $@
|
2009-10-28 20:42:52 +02:00
|
|
|
|
2010-03-21 18:03:45 +02:00
|
|
|
ifdef CONFIG_SMALL
|
|
|
|
$(SUBDIR)%_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DCONFIG_SMALL=1
|
|
|
|
else
|
|
|
|
$(SUBDIR)%_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DCONFIG_SMALL=0
|
|
|
|
endif
|
|
|
|
|
avcodec/aacsbr_tablegen: always initialize tables at runtime
This gets rid of virtually useless hardcoded tables hackery. The reason
it is useless is that a 320 element lut is anyway placed regardless of
--enable-hardcoded-tables, from which all necessary tables are trivially
derived at runtime at very low cost:
sample benchmark (x86-64, Haswell, GNU/Linux, single run is really
what is relevant here since looping drastically changes the bench). Fluctuations
are on the order of 10% for the single run test:
39400 decicycles in aacsbr_tableinit, 1 runs, 0 skips
25325 decicycles in aacsbr_tableinit, 2 runs, 0 skips
18475 decicycles in aacsbr_tableinit, 4 runs, 0 skips
15008 decicycles in aacsbr_tableinit, 8 runs, 0 skips
13016 decicycles in aacsbr_tableinit, 16 runs, 0 skips
12005 decicycles in aacsbr_tableinit, 32 runs, 0 skips
11546 decicycles in aacsbr_tableinit, 64 runs, 0 skips
11506 decicycles in aacsbr_tableinit, 128 runs, 0 skips
11500 decicycles in aacsbr_tableinit, 256 runs, 0 skips
11183 decicycles in aacsbr_tableinit, 509 runs, 3 skips
Tested with FATE with/without --enable-hardcoded-tables.
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-11-30 05:35:00 +02:00
|
|
|
GEN_HEADERS = cbrt_tables.h cbrt_fixed_tables.h aacps_tables.h aacps_fixed_tables.h \
|
2015-12-29 18:50:43 +02:00
|
|
|
dv_tables.h \
|
2020-11-18 14:13:45 +02:00
|
|
|
sinewin_tables.h sinewin_fixed_tables.h mpegaudio_tables.h \
|
|
|
|
mpegaudiodec_common_tables.h motionpixels_tables.h \
|
2010-07-04 22:03:04 +03:00
|
|
|
pcm_tables.h qdm2_tables.h
|
|
|
|
GEN_HEADERS := $(addprefix $(SUBDIR), $(GEN_HEADERS))
|
|
|
|
|
|
|
|
$(GEN_HEADERS): $(SUBDIR)%_tables.h: $(SUBDIR)%_tablegen$(HOSTEXESUF)
|
2010-03-10 04:56:52 +02:00
|
|
|
$(M)./$< > $@
|
2009-10-28 21:49:16 +02:00
|
|
|
|
|
|
|
ifdef CONFIG_HARDCODED_TABLES
|
2016-03-12 20:08:21 +02:00
|
|
|
$(SUBDIR)cbrt_data.o: $(SUBDIR)cbrt_tables.h
|
|
|
|
$(SUBDIR)cbrt_data_fixed.o: $(SUBDIR)cbrt_fixed_tables.h
|
2020-12-30 02:46:34 +02:00
|
|
|
$(SUBDIR)aacdec_fixed.o: $(SUBDIR)sinewin_fixed_tables.h
|
2015-07-20 13:36:19 +02:00
|
|
|
$(SUBDIR)aacps_float.o: $(SUBDIR)aacps_tables.h
|
|
|
|
$(SUBDIR)aacps_fixed.o: $(SUBDIR)aacps_fixed_tables.h
|
2012-04-05 17:58:43 +03:00
|
|
|
$(SUBDIR)dvenc.o: $(SUBDIR)dv_tables.h
|
2016-02-16 18:58:50 +02:00
|
|
|
$(SUBDIR)motionpixels.o: $(SUBDIR)motionpixels_tables.h
|
2020-11-18 14:13:45 +02:00
|
|
|
$(SUBDIR)mpegaudiodec_common.o: $(SUBDIR)mpegaudiodec_common_tables.h
|
2013-11-19 23:47:39 +03:00
|
|
|
$(SUBDIR)mpegaudiodec_fixed.o: $(SUBDIR)mpegaudio_tables.h
|
2010-05-13 21:41:18 +03:00
|
|
|
$(SUBDIR)mpegaudiodec_float.o: $(SUBDIR)mpegaudio_tables.h
|
2010-04-01 20:54:15 +03:00
|
|
|
$(SUBDIR)pcm.o: $(SUBDIR)pcm_tables.h
|
2010-03-14 21:30:25 +02:00
|
|
|
$(SUBDIR)qdm2.o: $(SUBDIR)qdm2_tables.h
|
2016-02-16 18:58:50 +02:00
|
|
|
$(SUBDIR)sinewin.o: $(SUBDIR)sinewin_tables.h
|
2009-10-28 21:49:16 +02:00
|
|
|
endif
|