Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Composition Timecode #100

Open
wants to merge 594 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
594 commits
Select commit Hold shift + click to select a range
9d10d3a
avformat/aptxdec: Don't set AVCodecParameters.frame_size
mkver Aug 29, 2021
c8707c1
avformat/aptxdec: Don't set AV_PKT_FLAG_CORRUPT mistakenly
mkver Aug 29, 2021
e6bfb14
avcodec/aptxdec: Process data in complete blocks only
mkver Aug 29, 2021
dc7b664
avcodec/encode: Redo checks for small last audio frame
mkver Sep 15, 2022
017d976
avcodec/encode: Enable encoders to control padding of last frame
mkver Sep 15, 2022
129cbbd
avcodec/aptxenc: Process data in complete blocks of four samples only
mkver Aug 29, 2021
bbf045a
lavc/vorbisdec: use ptrdiff_t to iterate over intptr_t
Sep 19, 2022
b520342
lavc/vorbisdsp: use ptrdiff_t rather than intptr_t
Sep 19, 2022
5c15cb1
lavc/vorbisdec: use intermediate variables
Sep 19, 2022
32129d6
avcodec/vorbisdec: Move ff_vorbis_inverse_coupling() to vorbisdsp.c
mkver Sep 19, 2022
187cd27
avutil/dict: Error out in case of key == NULL
mkver Sep 14, 2022
4d7a1a4
swscale/input: Avoid calls to av_pix_fmt_desc_get()
mkver Sep 8, 2022
888a02a
swscale/output: Don't call av_pix_fmt_desc_get() in a loop
mkver Sep 8, 2022
118b36f
avcodec/mjpegdec: Avoid copying data when flipping image
mkver Apr 14, 2022
8f119b5
tests/checkasm: add a test for VorbisDSPContext
jamrial Sep 19, 2022
56e29fc
tests/mxf: Fix test requirements
mkver Sep 7, 2022
f08d529
fate/mxf: Add ProRes remux test
mkver Nov 8, 2021
48fa27e
avformat/mxf: set stream frame rates for ST 422 essence containers
palemieux Sep 6, 2022
79845ce
fate/mxf: add JPEG 2000 test
palemieux Sep 6, 2022
71364c5
fate/ffmpeg: Use transcode instead of enc_dec in shortest-sub test
mkver Sep 17, 2022
6a8b3e7
fate/ffmpeg: Set max_delay for shortest-sub
mkver Sep 17, 2022
353108b
avcodec/smc: Move transient GetByteContext from context to stack
mkver Sep 17, 2022
e27d67b
avcodec/rpzaenc: Avoid useless intermediate variable
mkver Sep 17, 2022
2e9fd62
fate/segafilm: Add tests for segafilm (de)muxer
mkver Sep 18, 2022
d438540
avformat/spdifenc: Reorder struct members to make it smaller
mkver Sep 17, 2022
e601ec3
libavformat/riffec: Zero-initialize channels in ff_get_wav_header
willcassella Sep 9, 2022
cc367a9
lavc/lpc: do not explode when windowing a 1-length array
cyanreg Sep 21, 2022
3ade6a8
x86/lpc: implement a new Welch windowing function
cyanreg Sep 19, 2022
0744782
avformat/mov: get the correct fragment stsd_id when decrypting the sa…
Sep 1, 2022
acbb277
avcodec/ac3dec: add downmix support for mono and stereo for eac3 7.1
richardpl Sep 20, 2022
0ee535b
lavc/aarch64: Add neon implementation for pix_median_abs16
hubert-mazur Sep 20, 2022
e9a6170
lavc/aarch64: Add neon implementation for vsad8_intra
hubert-mazur Sep 20, 2022
b273211
lavc/aarch64: Add neon implementation for pix_median_abs8
hubert-mazur Sep 20, 2022
55c35d8
avfilter/internal: Remove declaration of inexistent function
mkver Sep 21, 2022
5a7978a
avfilter/avfilter: Make ff_command_queue_pop() static
mkver Sep 21, 2022
2ca2d46
lavc/videotoolboxenc: Fix crash by uninitialized value
thiloborgmann Sep 15, 2022
6a150fc
avcodec/mlpenc: analyze only if there are samples
richardpl Sep 21, 2022
b9d71cd
avcodec/mjpegbdec: use init_get_bits8()
richardpl Sep 21, 2022
6a288ad
fate/lavf-*: Add missing dependency on pipe protocol
mkver Sep 18, 2022
57f3ca2
avcodec/cavsdsp: Remove unused function parameter
mkver Sep 20, 2022
fd72d8a
avcodec/blockdsp: Remove unused AVCodecContext parameter
mkver Sep 20, 2022
9beba05
avcodec/fmtconvert: Remove unused AVCodecContext parameter
mkver Sep 20, 2022
e2e3181
avcodec/avcodec: Uninitialize AVChannelLayout before overwriting it
mkver Sep 18, 2022
859d9d7
avcodec/encode: Remove dead deprecated check
mkver Sep 18, 2022
a06a2d8
avcodec/avcodec: Check for more invalid channel layouts
mkver Sep 16, 2022
90edbd3
avcodec/avcodec: Always use old channel count/layout if set
mkver Sep 18, 2022
9ffd0c4
avcodec/encode: Remove deprecated always-false checks
mkver Sep 18, 2022
cd335de
avcodec/dfpwmdec: Remove always-false check
mkver Sep 16, 2022
ce6af2d
avcodec/pcm-blurayenc: Don't presume every channel layout to be native
mkver Sep 18, 2022
5c18934
avcodec/pcm: Remove always-false check
mkver Sep 18, 2022
e607366
avcodec/libcodec2: Remove dead channel count check
mkver Sep 18, 2022
56f7b39
avcodec/libshine: Remove dead channel count check
mkver Sep 18, 2022
4668ff7
avcodec/libspeexenc: Remove dead channel count check
mkver Sep 18, 2022
17366d6
avcodec/mpegaudioenc_template: Remove dead channel count check
mkver Sep 18, 2022
03fb801
avcodec/mlpenc: Fix channel layouts
mkver Sep 17, 2022
a12338a
avcodec/mlpenc: Simplify channel layout comparisons
mkver Sep 17, 2022
65dbc83
avcodec/mlpenc: Remove dead channel layout checks
mkver Sep 17, 2022
66e297f
avcodec/dcaenc: Remove dead checks for unspec channel layouts
mkver Sep 17, 2022
ce16d18
avcodec/dcaenc: Simplify channel layout check
mkver Sep 17, 2022
dea944b
x86/lpc: fix odd scalar loop overreads/writes
cyanreg Sep 22, 2022
b67776e
x86/lpc: fix even scalar loop overreads/writes
cyanreg Sep 22, 2022
f2d75d7
fate/checkasm: add LPC test to list
cyanreg Sep 22, 2022
c9aa616
x86/lpc: Fix parameter sign extension, unbreaking checkasm-lpc on x86…
mstorsjo Sep 22, 2022
f55f817
avcodec/exr: fix skipping too long metadata values
richardpl Sep 22, 2022
af919cf
fftools/ffmpeg: fix av_display_rotation_set() type cast
quink-black Sep 1, 2022
05cff21
avutil/channel_layout: mention how the API user should treat channel …
jamrial Sep 21, 2022
14b3830
avformat/dashdec: Fix crash on invalid input/ENOMEM, fix leak
mkver Sep 20, 2022
8306074
avformat/dashdec: Reindent after the previous commit
mkver Sep 20, 2022
dd81cc2
avcodec/mjpegdec: Check for unsupported bayer case
michaelni Sep 18, 2022
7786097
avformat/mxfdec: Check run_in is within 65536
michaelni Sep 18, 2022
1182bbb
avformat/mxfdec: only probe max run in
michaelni Sep 21, 2022
c5bd689
avformat/mxfdec: Avoid some redundant writing to tables in mxf_comput…
michaelni Sep 11, 2022
1c2b626
avformat/aiffdec: Check block_duration
michaelni Sep 17, 2022
9303ba2
avformat/aiffdec: Use 64bit for block_duration use
michaelni Sep 17, 2022
db73ae0
avformat/icodec: Check nb_pal
michaelni Sep 17, 2022
08edacc
lavc/aacpsdsp: precompute constant factors
Sep 20, 2022
2bcf86d
x86/aacpsdsp: precompute constant factors
jamrial Sep 20, 2022
48615f0
x86/aacpsdsp: add ps_hybrid_analysis_fma3
jamrial Sep 20, 2022
bd7d69f
avcodec/libvpxenc: add -min-gf-interval
jzern Sep 14, 2022
a2d9592
avformat/movenc: Write auxi box for animated AVIF with alpha
Sep 20, 2022
c8c4a16
avcodec/lpc: use ptrdiff_t for length parameters
jamrial Sep 22, 2022
0627e6d
avcodec/lpc: zero the middle odd sample in the output
jamrial Sep 22, 2022
a1c6f4b
tests/checkasm/lpc: randomize buffer length
jamrial Sep 22, 2022
0922c6b
x86/lpc: use fused negative multiply-add instructions where useful
jamrial Sep 22, 2022
9cbfffa
tests/checkasm/lpc: print mismatching values
jamrial Sep 22, 2022
6ad39f0
tests/checkasm/lpc: reduce range and use signed values
cyanreg Sep 22, 2022
668f43a
tests/checkasm/lpc: correct arithmetic when randomizing buffers
cyanreg Sep 22, 2022
3241e92
x86/tx_float: adjust internal ASM call ABI again
cyanreg Sep 23, 2022
ace42cf
x86/tx_float: add 15xN PFA FFT AVX SIMD
cyanreg Sep 19, 2022
74e8541
x86/tx_float: generalize iMDCT
cyanreg Sep 23, 2022
e7a987d
lavu/tx: remove special -1 inverted lookup mode
cyanreg Sep 23, 2022
6860967
fftools/ffmpeg_filter: configure min_hard_comp unconditionally
quink-black Sep 17, 2022
7e7baf8
lavu/tx: do not steal lookup tables of subcontexts in the iMDCT
cyanreg Sep 22, 2022
10137d9
MAINTAINERS: add myself as a ffmpeg.c maintainer
elenril Sep 20, 2022
07d9300
MAINTAINERS: remove the project leader section
elenril Sep 20, 2022
e301143
opus_silk: reset midonly flag after skipping LBRR
tmatth Sep 23, 2022
c504fb8
lavc/pthread_frame: always transfer stashed hwaccel state
elenril Sep 19, 2022
750f378
x86/tx_float: add missing preprocessor wrapper for AVX2 functions
jamrial Sep 23, 2022
84f4674
avcodec: add APAC decoder
richardpl Sep 19, 2022
6c23391
avformat: add APAC demuxer
richardpl Sep 19, 2022
ec8be8a
avcodec/tiff: improve lut handling for DNG
richardpl Sep 23, 2022
0d8f43c
x86/tx_float: change a condition in a preprocessor check
jamrial Sep 23, 2022
d5a0dc0
avcodec/jpeg2000dec: Set sample aspect ratio before getting buffer
mkver Sep 23, 2022
793282a
avcodec/jpeg2000dec: Implement FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM
mkver Sep 23, 2022
7adf750
doc/examples/extract_mvs: add motion information
chemag Sep 12, 2022
d2f4829
x86/tx_float: fix some symbol names
jamrial Sep 23, 2022
f21899d
x86/tx_float: enable AVX-only split-radix FFT codelets
cyanreg Sep 24, 2022
3c16f9e
avcodec/qoidec: implement FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM
richardpl Sep 24, 2022
cea1e1f
avcodec/exr: implement FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM
richardpl Sep 24, 2022
1e07952
avcodec/xwddec: implement FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM
richardpl Sep 24, 2022
eb90454
avcodec/hdrdec: implement FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM
richardpl Sep 24, 2022
08f6b1e
avcodec/xbmdec: implement FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM
richardpl Sep 24, 2022
3e49c1e
avcodec/xpmdec: implement FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM
richardpl Sep 24, 2022
a44a540
avcodec/cri: implement FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM
richardpl Sep 24, 2022
a54da08
avcodec/photocd: implement FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM
richardpl Sep 24, 2022
2f9fa7e
avcodec/mjpegbdec: Don't create unnecessary AVFrame reference
mkver Apr 14, 2022
a166b8a
avcodec: add FTR audio decoder and parser
richardpl Aug 30, 2022
257eea3
doc: mention new audio formats
richardpl Sep 24, 2022
aa79d13
avformat/cafenc: derive Opus frame size from the relevant stream para…
jamrial Sep 21, 2022
1b47190
avcodec/opusdec: stop setting deprecated swr options
jamrial Sep 23, 2022
d0349c9
avformat/ape: Check frames size
michaelni Sep 17, 2022
5b23cab
avformat/apm: Use 64bit for bit_rate computation
michaelni Sep 17, 2022
736e9e6
avformat/asfdec_o: Limit packet offset
michaelni Sep 17, 2022
d4bb4e3
avformat/cafdec: Check that nb_frasmes fits within 64bit
michaelni Sep 17, 2022
10453f5
avformat/dhav: Use 64bit seek_back
michaelni Sep 17, 2022
93db0f0
avformat/dxa: avoid bpc overflows
michaelni Sep 17, 2022
0345a88
avformat/genh: Check nb_channels for IMA ADPCM
michaelni Sep 17, 2022
b1a6812
avformat/jacosubdec: Fix overflow in get_shift()
michaelni Sep 17, 2022
7124f10
avformat/flvdec: Use 64bit for sum_flv_tag_size
michaelni Sep 18, 2022
2c14640
avformat/nutdec: Check fields
michaelni Sep 18, 2022
2cb7ee8
avformat/rmdec: check tag_size
michaelni Sep 18, 2022
981f5e4
avformat/sbgdec: clamp end_ts
michaelni Sep 18, 2022
5f529e9
avformat/sbgdec: Check ts_int in genrate_intervals
michaelni Sep 18, 2022
aa8eb1b
avformat/sdsdec: Use av_rescale() to avoid intermediate overflow in d…
michaelni Sep 18, 2022
2c789f7
avformat/xwma: Use av_rescale() for duration computation
michaelni Sep 18, 2022
529f64b
avformat/rpl: Use 64bit for duration computation
michaelni Sep 18, 2022
4075f0c
avformat/spdifdec: Use 64bit to compute bit rate
michaelni Sep 18, 2022
aa441ac
avformat/matroskadec: Error out if a timestamp is beyond duration
michaelni Sep 18, 2022
8008940
avcodec/dstdec: Check for overflow in build_filter()
michaelni Sep 10, 2022
7cd252e
avcodec/parser: Remove declaration of inexistent function
mkver Sep 23, 2022
7ae1c0d
avcodec/h264_redundant_pps_bsf: Don't remove PPS
mkver Sep 20, 2022
a7e5419
avcodec/cbs: Only write extradata if there is something to write
mkver Sep 20, 2022
843fe31
avformat/nutdec: Don't shrink packet size manually
mkver Sep 20, 2022
54b29e1
fate/cbs: Add tests for h264_redundant_pps BSF
mkver Sep 20, 2022
63bb6d6
avutil: add RGB single-precision float formats
richardpl Sep 14, 2022
7bb0afc
avutil: add RGBA single-float precision packed formats
richardpl Sep 14, 2022
baf9099
avcodec/tiff: add packed/planar 32bit float support
richardpl Sep 14, 2022
9995a76
avfilter/vf_extractplanes: add support for packed rgb float formats
richardpl Sep 14, 2022
9189711
avcodec/tiff: improve color handling in DNG
richardpl Sep 25, 2022
c077105
avcodec/pnmdec: implement FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM
richardpl Sep 25, 2022
1452445
avcodec/tiff: implement FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM
richardpl Sep 25, 2022
0ca7386
avcodec/tiff: support multiple black levels
richardpl Sep 25, 2022
cf856d8
avcodec/avcodec: Move AV_ER_* and FF_COMPLIANCE_* to defs.h
mkver Sep 20, 2022
8be6552
avutil/pixdesc: Add av_chroma_location_(enum_to_pos|pos_to_enum)
mkver Sep 21, 2022
832e656
avformat/matroska*: Use av_chroma_location_(pos_to_enum|enum_to_pos)
mkver Sep 21, 2022
a02a0e8
avcodec/avcodec: Deprecate lavc chroma pos API functions
mkver Sep 21, 2022
2b41463
avformat/internal: Don't include avcodec.h
mkver Sep 21, 2022
dd2ea01
libavcodec/qsvenc: fixy typo for min/max qp reset
Sep 23, 2022
543a46b
opus: convert encoder and decoder to lavu/tx
cyanreg Sep 23, 2022
1798301
avfilter/scale_eval: Reduce rounding error.
Sep 26, 2022
b95e2fb
lavu/cpu: detect RISC-V base extensions
Sep 26, 2022
746f1ff
lavu/riscv: initial common header for assembler macros
Sep 26, 2022
04d092e
lavc/audiodsp: RISC-V F vector_clipf
Sep 26, 2022
1edac8e
lavc/pixblockdsp: RISC-V I get_pixels
Sep 26, 2022
0c0a3de
lavu/cpu: CPU flags for the RISC-V Vector extension
Sep 26, 2022
1b6aee5
configure: probe RISC-V Vector extension
Sep 26, 2022
39357ca
lavu/riscv: fallback macros for SH{1, 2, 3}ADD
Sep 26, 2022
a6c10d0
lavu/floatdsp: RISC-V V vector_fmul_scalar
Sep 26, 2022
89b7ec6
lavu/floatdsp: RISC-V V vector_dmul_scalar
Sep 26, 2022
7058af9
lavu/floatdsp: RISC-V V vector_fmul
Sep 26, 2022
da169a2
lavu/floatdsp: RISC-V V vector_dmul
Sep 26, 2022
c3db27b
lavu/floatdsp: RISC-V V vector_fmac_scalar
Sep 26, 2022
d120ab5
lavu/floatdsp: RISC-V V vector_dmac_scalar
Sep 26, 2022
f4ea450
lavu/floatdsp: RISC-V V vector_fmul_add
Sep 26, 2022
47ce973
lavu/floatdsp: RISC-V V butterflies_float
Sep 26, 2022
9aeb6ac
lavu/floatdsp: RISC-V V vector_fmul_reverse
Sep 26, 2022
b493370
lavu/floatdsp: RISC-V V vector_fmul_window
Sep 26, 2022
cd77662
lavu/floatdsp: RISC-V V scalarproduct_float
Sep 26, 2022
c1bb19e
lavu/fixeddsp: RISC-V V butterflies_fixed
Sep 26, 2022
27da951
lavc/audiodsp: RISC-V V vector_clip_int32
Sep 26, 2022
f127a5d
lavc/audiodsp: RISC-V V vector_clipf
Sep 26, 2022
f41ae62
lavc/audiodsp: RISC-V V scalarproduct_int16
Sep 26, 2022
47a10b9
lavc/fmtconvert: RISC-V V int32_to_float_fmul_scalar
Sep 26, 2022
220dfd0
lavc/fmtconvert: RISC-V V int32_to_float_fmul_array8
Sep 26, 2022
453aba7
lavc/vorbisdsp: RISC-V V inverse_coupling
Sep 26, 2022
b0cacf4
lavc/aacpsdsp: RISC-V V add_squares
Sep 26, 2022
e180326
lavc/aacpsdsp: RISC-V V mul_pair_single
Sep 26, 2022
15c3a0b
lavc/aacpsdsp: RISC-V V hybrid_analysis
Sep 26, 2022
09f9079
lavc/aacpsdsp: RISC-V V hybrid_analysis_ileave
Sep 26, 2022
a15edb0
lavc/aacpsdsp: RISC-V V hybrid_synthesis_deint
Sep 26, 2022
c03f965
lavc/aacpsdsp: RISC-V V stereo_interpolate[0]
Sep 26, 2022
f5cd00b
ffprobe: Check for invalid matrix error when printing rotation
dwbuiten Sep 22, 2022
59cb0bd
avfilter/vf_extractplanes: add missing break; statement
BtbN Sep 27, 2022
2664b39
avocdec/snowenc: Fix left shift of negative number
mkver Sep 26, 2022
0bc7ba4
configure: remove mdct15 from the encoder/decoder's list of requirements
cyanreg Sep 27, 2022
0e402eb
format/imfdec: improve error handling when selecting tracks for playback
palemieux Sep 19, 2022
dd2e524
riscv: Use the correct path for including asm.S
mstorsjo Sep 28, 2022
c47ebfa
lavu/riscv: helper to read the vector length
Sep 27, 2022
b29ee63
lavc/idctdsp: RISC-V V put_pixels_clamped function
Sep 27, 2022
fa983b5
lavc/idctdsp: RISC-V V add_pixels_clamped function
Sep 27, 2022
2746329
lavc/idctdsp: RISC-V V put_signed_pixels_clamped function
Sep 27, 2022
676b08c
lavc/pixblockdsp: RISC-V V 8-bit get_pixels & get_pixels_unaligned
Sep 27, 2022
ebee258
lavc/pixblockdsp: RISC-V V 16-bit get_pixels & get_pixels_unaligned
Sep 27, 2022
d310131
lavc/pixblockdsp: RISC-V diff_pixels & diff_pixels_unaligned
Sep 27, 2022
4f022e6
avcodec/mjpegdec: check that index is not negative
richardpl Sep 25, 2022
bcd2e7d
avutil/version: bump minor for the new RISC-V cpu flags
jamrial Sep 28, 2022
299253a
avutil/channel_layout: move and improve the comment about unknown orders
jamrial Sep 25, 2022
a91ddce
avcodec/dirac_dwt(_template): Don't use ff_-prefix for static func
mkver Sep 25, 2022
4393331
avcodec/dirac_dwt: Avoid conversions between function pointers and void*
mkver Sep 25, 2022
fdff1b9
avcodec/codec_internal: Avoid deprecation warnings for channel_layouts
mkver Sep 25, 2022
6573e65
avcodec/aacdectab: Remove empty channel layouts
mkver Sep 26, 2022
ba07c84
avcodec/amrwbdec,lsp: Include mips headers only #if ARCH_MIPS
mkver Sep 25, 2022
e098062
avcodec/lsp: Move ff_lsp2polyf() upwards in lsp.c
mkver Sep 25, 2022
c35a670
avcodec/lsp: Make ff_lsp2polyf() static
mkver Sep 25, 2022
3d8754c
avutil/display: Drop wrong comments about matrices being allocated
mkver Sep 25, 2022
fff0105
avcodec/jpeg2000dwt: Fix left shift of negative number
mkver Sep 26, 2022
6059ea2
riscv: Fix linking without RVV; change #ifdef into #if
mstorsjo Sep 29, 2022
8651923
arm: vc1dsp: Canonicalize the syntax for aligned NEON loads/stores
mstorsjo Sep 28, 2022
6f2ad7f
aarch64: me_cmp: Avoid redundant loads in ff_pix_abs16_y2_neon
mstorsjo Sep 28, 2022
8089fe0
aarch64: me_cmp: Avoid using the non-unrolled codepath for the minimu…
mstorsjo Sep 28, 2022
76d8f0d
avcodec/ac3dsp: Remove unused parameter
mkver Sep 26, 2022
17df610
libavcodec/qsvenc: Add framerate reset support to qsv
Sep 23, 2022
29a3ba8
libavcodec/qsvenc: Add bitrate reset support to qsvenc
Sep 23, 2022
3771d54
libavcodec/qsvenc: Add pic_timing_sei reset support to qsv
Sep 23, 2022
a3c0a3e
libavcodec/qsvenc: Let runtime to set default parameter.
Sep 26, 2022
5682046
libavcodec/qsvenc: Let runtime to decide targetUsage
Sep 26, 2022
87cc318
avcodec/tiff: Remove commented-out code
mkver Sep 25, 2022
fe3c2c8
avcodec/jrevdct: Fix UB left shifts of negative numbers
mkver Sep 28, 2022
e5f6918
avcodec/mpegvideo: Fix undefined left shift of negative numbers
mkver Sep 28, 2022
66a03f4
sws/rgb2rgb: RISC-V V shuffle_bytes_xxxx functions
Sep 28, 2022
9181835
sws/rgb2rgb: RISC-V V interleaveBytes
Sep 28, 2022
a1bfb52
sws/rgb2rgb: RISC-V 64-bit V packed YUYV/UYVY to planar 4:2:2
Sep 28, 2022
6d0a7e9
avutil/pixdesc: Remove always-false checks
mkver Sep 26, 2022
571b670
avutil/pixdesc: Avoid direct access to pix fmt desc array
mkver Sep 26, 2022
5fe447b
avutil/pixdesc: Move ff_check_pixfmt_descriptors() to its only user
mkver Sep 26, 2022
36e805e
avutil/tests/pixelutils: Use av_assert0 instead for test tools
mkver Sep 26, 2022
9d52844
avutil/tests/pixelutils: Test that all non-hw pix fmts have components
mkver Sep 26, 2022
9a494b8
avcodec/mjpegdec: remove not needed operations on channel identifiers
richardpl Sep 30, 2022
4b6b75c
avcodec: add Media 100i decoder
richardpl Sep 21, 2022
b0c7352
avcodec/mjpegdec: Fix compilation
mkver Sep 30, 2022
35c939f
Merge branch 'master' into feature/cpl-tc-support
palemieux Oct 2, 2022
8b69f92
Merge branch 'feature/cpl-tc-support-v1' into feature/cpl-tc-support
palemieux Oct 2, 2022
201b84f
Fix variable initialization
palemieux Oct 2, 2022
1057ce7
Merge remote-tracking branch 'upstream/master' into feature/cpl-tc-su…
palemieux Oct 2, 2022
2a318c8
avformat/imfdec: variable initialiaztion cosmetics
palemieux Oct 2, 2022
1e291ac
Cosmetics
palemieux Oct 2, 2022
81c3324
avformat/imfdec: use CPL start timecode if available
palemieux Jul 25, 2022
c3c38ad
avformat/tests/imf: add CPL timecode test
palemieux Aug 23, 2022
306c4bb
avformat/imfdec: variable initialiaztion cosmetics
palemieux Oct 2, 2022
5153fc2
Merge branch 'feature/cpl-tc-support-v2' into feature/cpl-tc-support
palemieux Oct 2, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
avcodec/blockdsp: Remove unused AVCodecContext parameter
Possible since be95df1.

Reviewed-by: Rémi Denis-Courmont <remi@remlab.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
mkver committed Sep 21, 2022
commit fd72d8aea3fbda09e029d2ecd7564f8c98b347e3
2 changes: 1 addition & 1 deletion libavcodec/4xm.c
Original file line number Diff line number Diff line change
@@ -1012,7 +1012,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
return AVERROR(ENOMEM);

f->version = AV_RL32(avctx->extradata) >> 16;
ff_blockdsp_init(&f->bdsp, avctx);
ff_blockdsp_init(&f->bdsp);
ff_bswapdsp_init(&f->bbdsp);
f->avctx = avctx;

2 changes: 1 addition & 1 deletion libavcodec/asvdec.c
Original file line number Diff line number Diff line change
@@ -292,7 +292,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
}

ff_asv_common_init(avctx);
ff_blockdsp_init(&a->bdsp, avctx);
ff_blockdsp_init(&a->bdsp);
ff_idctdsp_init(&a->idsp, avctx);
ff_init_scantable(a->idsp.idct_permutation, &a->scantable, ff_asv_scantab);
avctx->pix_fmt = AV_PIX_FMT_YUV420P;
2 changes: 1 addition & 1 deletion libavcodec/bink.c
Original file line number Diff line number Diff line change
@@ -1384,7 +1384,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
avctx->pix_fmt = c->has_alpha ? AV_PIX_FMT_YUVA420P : AV_PIX_FMT_YUV420P;
avctx->color_range = c->version == 'k' ? AVCOL_RANGE_JPEG : AVCOL_RANGE_MPEG;

ff_blockdsp_init(&c->bdsp, avctx);
ff_blockdsp_init(&c->bdsp);
ff_hpeldsp_init(&hdsp, avctx->flags);
c->put_pixels_tab = hdsp.put_pixels_tab[1][0];
ff_binkdsp_init(&c->binkdsp);
5 changes: 2 additions & 3 deletions libavcodec/blockdsp.c
Original file line number Diff line number Diff line change
@@ -21,7 +21,6 @@

#include "config.h"
#include "libavutil/attributes.h"
#include "avcodec.h"
#include "blockdsp.h"

static void clear_block_c(int16_t *block)
@@ -56,7 +55,7 @@ static void fill_block8_c(uint8_t *block, uint8_t value, ptrdiff_t line_size,
}
}

av_cold void ff_blockdsp_init(BlockDSPContext *c, AVCodecContext *avctx)
av_cold void ff_blockdsp_init(BlockDSPContext *c)
{
c->clear_block = clear_block_c;
c->clear_blocks = clear_blocks_c;
@@ -71,7 +70,7 @@ av_cold void ff_blockdsp_init(BlockDSPContext *c, AVCodecContext *avctx)
#elif ARCH_PPC
ff_blockdsp_init_ppc(c);
#elif ARCH_X86
ff_blockdsp_init_x86(c, avctx);
ff_blockdsp_init_x86(c);
#elif ARCH_MIPS
ff_blockdsp_init_mips(c);
#endif
6 changes: 2 additions & 4 deletions libavcodec/blockdsp.h
Original file line number Diff line number Diff line change
@@ -22,8 +22,6 @@
#include <stddef.h>
#include <stdint.h>

#include "avcodec.h"

/* add and put pixel (decoding)
* Block sizes for op_pixels_func are 8x4,8x8 16x8 16x16.
* h for op_pixels_func is limited to { width / 2, width },
@@ -38,12 +36,12 @@ typedef struct BlockDSPContext {
op_fill_func fill_block_tab[2];
} BlockDSPContext;

void ff_blockdsp_init(BlockDSPContext *c, AVCodecContext *avctx);
void ff_blockdsp_init(BlockDSPContext *c);

void ff_blockdsp_init_alpha(BlockDSPContext *c);
void ff_blockdsp_init_arm(BlockDSPContext *c);
void ff_blockdsp_init_ppc(BlockDSPContext *c);
void ff_blockdsp_init_x86(BlockDSPContext *c, AVCodecContext *avctx);
void ff_blockdsp_init_x86(BlockDSPContext *c);
void ff_blockdsp_init_mips(BlockDSPContext *c);

#endif /* AVCODEC_BLOCKDSP_H */
2 changes: 1 addition & 1 deletion libavcodec/cavs.c
Original file line number Diff line number Diff line change
@@ -793,7 +793,7 @@ av_cold int ff_cavs_init(AVCodecContext *avctx)
{
AVSContext *h = avctx->priv_data;

ff_blockdsp_init(&h->bdsp, avctx);
ff_blockdsp_init(&h->bdsp);
ff_h264chroma_init(&h->h264chroma, 8);
ff_idctdsp_init(&h->idsp, avctx);
ff_videodsp_init(&h->vdsp, 8);
2 changes: 1 addition & 1 deletion libavcodec/dnxhddec.c
Original file line number Diff line number Diff line change
@@ -273,7 +273,7 @@ static int dnxhd_decode_header(DNXHDContext *ctx, AVFrame *frame,

ctx->avctx->bits_per_raw_sample = ctx->bit_depth = bitdepth;
if (ctx->bit_depth != old_bit_depth) {
ff_blockdsp_init(&ctx->bdsp, ctx->avctx);
ff_blockdsp_init(&ctx->bdsp);
ff_idctdsp_init(&ctx->idsp, ctx->avctx);
ff_init_scantable(ctx->idsp.idct_permutation, &ctx->scantable,
ff_zigzag_direct);
2 changes: 1 addition & 1 deletion libavcodec/dnxhdenc.c
Original file line number Diff line number Diff line change
@@ -419,7 +419,7 @@ static av_cold int dnxhd_encode_init(AVCodecContext *avctx)

avctx->bits_per_raw_sample = ctx->bit_depth;

ff_blockdsp_init(&ctx->bdsp, avctx);
ff_blockdsp_init(&ctx->bdsp);
ff_fdctdsp_init(&ctx->m.fdsp, avctx);
ff_mpv_idct_init(&ctx->m);
ff_mpegvideoencdsp_init(&ctx->m.mpvencdsp, avctx);
2 changes: 1 addition & 1 deletion libavcodec/eamad.c
Original file line number Diff line number Diff line change
@@ -69,7 +69,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
MadContext *s = avctx->priv_data;
s->avctx = avctx;
avctx->pix_fmt = AV_PIX_FMT_YUV420P;
ff_blockdsp_init(&s->bdsp, avctx);
ff_blockdsp_init(&s->bdsp);
ff_bswapdsp_init(&s->bbdsp);
ff_idctdsp_init(&s->idsp, avctx);
ff_init_scantable_permutation(s->idsp.idct_permutation, FF_IDCT_PERM_NONE);
2 changes: 1 addition & 1 deletion libavcodec/eatqi.c
Original file line number Diff line number Diff line change
@@ -62,7 +62,7 @@ static av_cold int tqi_decode_init(AVCodecContext *avctx)
{
TqiContext *t = avctx->priv_data;

ff_blockdsp_init(&t->bdsp, avctx);
ff_blockdsp_init(&t->bdsp);
ff_bswapdsp_init(&t->bsdsp);
ff_idctdsp_init(&t->idsp, avctx);
ff_init_scantable_permutation(t->idsp.idct_permutation, FF_IDCT_PERM_NONE);
2 changes: 1 addition & 1 deletion libavcodec/g2meet.c
Original file line number Diff line number Diff line change
@@ -180,7 +180,7 @@ static av_cold int jpg_init(AVCodecContext *avctx, JPGContext *c)
if (ret)
return ret;

ff_blockdsp_init(&c->bdsp, avctx);
ff_blockdsp_init(&c->bdsp);
ff_idctdsp_init(&c->idsp, avctx);
ff_init_scantable(c->idsp.idct_permutation, &c->scantable,
ff_zigzag_direct);
2 changes: 1 addition & 1 deletion libavcodec/intrax8.c
Original file line number Diff line number Diff line change
@@ -722,7 +722,7 @@ av_cold int ff_intrax8_common_init(AVCodecContext *avctx,
ff_wmv1_scantable[3]);

ff_intrax8dsp_init(&w->dsp);
ff_blockdsp_init(&w->bdsp, avctx);
ff_blockdsp_init(&w->bdsp);

ff_thread_once(&init_static_once, x8_vlc_init);

2 changes: 1 addition & 1 deletion libavcodec/jvdec.c
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
return AVERROR(ENOMEM);

avctx->pix_fmt = AV_PIX_FMT_PAL8;
ff_blockdsp_init(&s->bdsp, avctx);
ff_blockdsp_init(&s->bdsp);
return 0;
}

2 changes: 1 addition & 1 deletion libavcodec/mdec.c
Original file line number Diff line number Diff line change
@@ -219,7 +219,7 @@ static av_cold int decode_init(AVCodecContext *avctx)

a->avctx = avctx;

ff_blockdsp_init(&a->bdsp, avctx);
ff_blockdsp_init(&a->bdsp);
ff_bswapdsp_init(&a->bbdsp);
ff_idctdsp_init(&a->idsp, avctx);
ff_mpeg12_init_vlcs();
2 changes: 1 addition & 1 deletion libavcodec/mimic.c
Original file line number Diff line number Diff line change
@@ -133,7 +133,7 @@ static av_cold int mimic_decode_init(AVCodecContext *avctx)
ctx->prev_index = 0;
ctx->cur_index = 15;

ff_blockdsp_init(&ctx->bdsp, avctx);
ff_blockdsp_init(&ctx->bdsp);
ff_bswapdsp_init(&ctx->bbdsp);
ff_hpeldsp_init(&ctx->hdsp, avctx->flags);
ff_idctdsp_init(&ctx->idsp, avctx);
2 changes: 1 addition & 1 deletion libavcodec/mjpegdec.c
Original file line number Diff line number Diff line change
@@ -134,7 +134,7 @@ av_cold int ff_mjpeg_decode_init(AVCodecContext *avctx)
s->pkt = avctx->internal->in_pkt;

s->avctx = avctx;
ff_blockdsp_init(&s->bdsp, avctx);
ff_blockdsp_init(&s->bdsp);
ff_hpeldsp_init(&s->hdsp, avctx->flags);
init_idct(avctx);
s->buffer_size = 0;
2 changes: 1 addition & 1 deletion libavcodec/mpegvideo.c
Original file line number Diff line number Diff line change
@@ -281,7 +281,7 @@ static void gray8(uint8_t *dst, const uint8_t *src, ptrdiff_t linesize, int h)
/* init common dct for both encoder and decoder */
static av_cold int dct_init(MpegEncContext *s)
{
ff_blockdsp_init(&s->bdsp, s->avctx);
ff_blockdsp_init(&s->bdsp);
ff_h264chroma_init(&s->h264chroma, 8); //for lowres
ff_hpeldsp_init(&s->hdsp, s->avctx->flags);
ff_mpegvideodsp_init(&s->mdsp);
2 changes: 1 addition & 1 deletion libavcodec/mv30.c
Original file line number Diff line number Diff line change
@@ -670,7 +670,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
avctx->pix_fmt = AV_PIX_FMT_YUV420P;
avctx->color_range = AVCOL_RANGE_JPEG;

ff_blockdsp_init(&s->bdsp, avctx);
ff_blockdsp_init(&s->bdsp);

s->prev_frame = av_frame_alloc();
if (!s->prev_frame)
2 changes: 1 addition & 1 deletion libavcodec/proresdec2.c
Original file line number Diff line number Diff line change
@@ -177,7 +177,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
av_log(avctx, AV_LOG_DEBUG, "Auto bitdepth precision. Use 12b decoding based on codec tag.\n");
}

ff_blockdsp_init(&ctx->bdsp, avctx);
ff_blockdsp_init(&ctx->bdsp);
ret = ff_proresdsp_init(&ctx->prodsp, avctx);
if (ret < 0) {
av_log(avctx, AV_LOG_ERROR, "Fail to init proresdsp for bits per raw sample %d\n", avctx->bits_per_raw_sample);
2 changes: 1 addition & 1 deletion libavcodec/speedhq.c
Original file line number Diff line number Diff line change
@@ -665,7 +665,7 @@ static av_cold int speedhq_decode_init(AVCodecContext *avctx)
if (ret)
return AVERROR_UNKNOWN;

ff_blockdsp_init(&s->bdsp, avctx);
ff_blockdsp_init(&s->bdsp);
ff_idctdsp_init(&s->idsp, avctx);
ff_init_scantable(s->idsp.idct_permutation, &s->intra_scantable, ff_zigzag_direct);

2 changes: 1 addition & 1 deletion libavcodec/vc1dec.c
Original file line number Diff line number Diff line change
@@ -540,7 +540,7 @@ static av_cold int vc1_decode_init(AVCodecContext *avctx)
// That this is necessary might indicate a bug.
ff_vc1_decode_end(avctx);

ff_blockdsp_init(&s->bdsp, avctx);
ff_blockdsp_init(&s->bdsp);
ff_h264chroma_init(&v->h264chroma, 8);
ff_qpeldsp_init(&s->qdsp);

2 changes: 1 addition & 1 deletion libavcodec/wmv2.c
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ av_cold void ff_wmv2_common_init(MpegEncContext *s)
{
WMV2Context *const w = s->private_ctx;

ff_blockdsp_init(&s->bdsp, s->avctx);
ff_blockdsp_init(&s->bdsp);
ff_wmv2dsp_init(&w->wdsp);
s->idsp.perm_type = w->wdsp.idct_perm;
ff_init_scantable_permutation(s->idsp.idct_permutation,
3 changes: 1 addition & 2 deletions libavcodec/x86/blockdsp_init.c
Original file line number Diff line number Diff line change
@@ -29,8 +29,7 @@ void ff_clear_block_avx(int16_t *block);
void ff_clear_blocks_sse(int16_t *blocks);
void ff_clear_blocks_avx(int16_t *blocks);

av_cold void ff_blockdsp_init_x86(BlockDSPContext *c,
AVCodecContext *avctx)
av_cold void ff_blockdsp_init_x86(BlockDSPContext *c)
{
#if HAVE_X86ASM
int cpu_flags = av_get_cpu_flags();
3 changes: 1 addition & 2 deletions tests/checkasm/blockdsp.c
Original file line number Diff line number Diff line change
@@ -57,10 +57,9 @@ void checkasm_check_blockdsp(void)
LOCAL_ALIGNED_32(uint16_t, buf0, [6 * 8 * 8]);
LOCAL_ALIGNED_32(uint16_t, buf1, [6 * 8 * 8]);

AVCodecContext avctx = { 0 };
BlockDSPContext h;

ff_blockdsp_init(&h, &avctx);
ff_blockdsp_init(&h);

check_clear(clear_block, 8 * 8);
check_clear(clear_blocks, 8 * 8 * 6);