[FFmpeg-cvslog] lavf/dv: remove DVMuxContext declaration from dv.h

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 10:20:15 2022 +0200| [dcc4704a4e818a2f25766a62d780c021126ea8a5] | committer: Anton Khirnov lavf/dv: remove DVMuxContext declaration from dv.h DVMuxContext is only used inside dvenc.c, there is no reason for it to be visible outside of that f

[FFmpeg-cvslog] lavf/dv: always provide avpriv_dv_* symbols

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 10:41:04 2022 +0200| [b6196cb2ef011f1a3278534070205b44c1e0e780] | committer: Anton Khirnov lavf/dv: always provide avpriv_dv_* symbols They are used from libavdevice. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b6196cb2ef011

[FFmpeg-cvslog] lavc/dvdec: drop the only use of DVVideoContext.avctx

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 11:23:09 2022 +0200| [b62d41df07c627a677c69da139fd7e3710495a3a] | committer: Anton Khirnov lavc/dvdec: drop the only use of DVVideoContext.avctx The function gets the codec context parameter directly. > http://git.videolan.org/gitweb.cgi/ff

[FFmpeg-cvslog] lavc/dv: do not pass DVVideoContext to ff_dv_init_dynamic_tables()

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 11:09:09 2022 +0200| [91c51dac6d00fec9dca0dc137230f1ab24ab7077] | committer: Anton Khirnov lavc/dv: do not pass DVVideoContext to ff_dv_init_dynamic_tables() It only needs work_chunks from it, so pass that directly. This is done in preparat

[FFmpeg-cvslog] lavc/dv: remove ff_dvvideo_init()

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 11:06:32 2022 +0200| [d1ba5d883ef95489fe59d035dd71105dc1184e84] | committer: Anton Khirnov lavc/dv: remove ff_dvvideo_init() The function contains only two assignments, setting DVVideoContext.avctx and AVCodecContext.chroma_sample_location.

[FFmpeg-cvslog] lavc/dvdec: stop using DVVideoContext

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 11:31:07 2022 +0200| [4e73ed836641e85c5efbcb0d42a811645c74ac95] | committer: Anton Khirnov lavc/dvdec: stop using DVVideoContext The struct is quite small and the decoder and the encoder use different fields from it, so benefits from reusing

[FFmpeg-cvslog] lavc/dvenc: stop using DVVideoContext

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 11:31:07 2022 +0200| [828ec6ef4306d046749817fd6890e11f3289928b] | committer: Anton Khirnov lavc/dvenc: stop using DVVideoContext Move the parts of it used by the encoder into a new DVEncContext and remove DVVideoContext. > http://git.videol

[FFmpeg-cvslog] lavc/dv: do not pass DVVideoContext to dv_calculate_mb_xy()

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 11:09:09 2022 +0200| [69bad628ec37dc75813ae015df7ce4022d002d9a] | committer: Anton Khirnov lavc/dv: do not pass DVVideoContext to dv_calculate_mb_xy() Pass the two variables needed from it directly. This is done in preparation to splitting

[FFmpeg-cvslog] lavc/dv.h: move encoder/decoder-specific code to a new header

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 11:54:41 2022 +0200| [7203bb6a59c55e853855b2e60e3fbc6d2f65dce1] | committer: Anton Khirnov lavc/dv.h: move encoder/decoder-specific code to a new header dv.h is also used by libavformat, so avoid exposing encoder/decoder code to it. > http:

[FFmpeg-cvslog] lavc/dv: rename constants to follow our naming conventions

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 12:04:58 2022 +0200| [f7b3fc4afe6540506257c73a93a3f4272c250d44] | committer: Anton Khirnov lavc/dv: rename constants to follow our naming conventions CamelCase for enum tags, ALL_CAPS for enum values. > http://git.videolan.org/gitweb.cgi/ff

[FFmpeg-cvslog] lavf/dv: make returning the video packet optional

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 12:12:34 2022 +0200| [090f12b15750bc3eb81b2d892cd980e9285cfe48] | committer: Anton Khirnov lavf/dv: make returning the video packet optional The mov demuxer only returns DV audio, video packets are discarded. It first reads the data to be p

[FFmpeg-cvslog] lavf/dv: return a meaningful error code from avpriv_dv_produce_packet()

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 13:49:36 2022 +0200| [f0283f278a6a5f587d6cd66128b29d49ef42fb36] | committer: Anton Khirnov lavf/dv: return a meaningful error code from avpriv_dv_produce_packet() > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f0283f278a6a5f587d

[FFmpeg-cvslog] lavf/dv: forward errors from avformat_new_stream()

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 14:36:24 2022 +0200| [b2e1d1443c12bb4cab54137154ae395b2d11c744] | committer: Anton Khirnov lavf/dv: forward errors from avformat_new_stream() > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b2e1d1443c12bb4cab54137154ae395b2d11c74

[FFmpeg-cvslog] lavf/dv: set non-changing AVStream fields only once

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 14:38:17 2022 +0200| [000b8d2acc53b23eaccf7a2d3e650f7e633bd3b6] | committer: Anton Khirnov lavf/dv: set non-changing AVStream fields only once > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=000b8d2acc53b23eaccf7a2d3e650f7e633bd3

[FFmpeg-cvslog] lavf/dv: set audio bitrate only at stream creation

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 14:39:50 2022 +0200| [6def44128afedcfbcad98ca00e209345875fac45] | committer: Anton Khirnov lavf/dv: set audio bitrate only at stream creation Demuxers are not supposed to update AVCodecParameters after the stream was seen by the caller. This

[FFmpeg-cvslog] lavf/dv: do not update AVCodecParameters.sample_rate while demuxing

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Tue Aug 23 16:21:03 2022 +0200| [1ef4620290bcea29097a79c3f27be3d5cb366687] | committer: Anton Khirnov lavf/dv: do not update AVCodecParameters.sample_rate while demuxing Demuxers are not allowed to do this and few callers, if any, will handle this corr

[FFmpeg-cvslog] lavf/mov: avoid leaks with multiple dv-audio streams

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Wed Aug 31 04:43:22 2022 +0200| [693c1e631c4957acd2fe9d9650d757fd8d3d1239] | committer: Anton Khirnov lavf/mov: avoid leaks with multiple dv-audio streams > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=693c1e631c4957acd2fe9d9650d757fd8d3d1

[FFmpeg-cvslog] lavu/fifo: add the header to its own doxy group

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Thu Jun 30 16:20:09 2022 +0200| [c9b6fd27bfbd2c4c99c1af8e86b70eeb47991124] | committer: Anton Khirnov lavu/fifo: add the header to its own doxy group Also, drop mentions of it being a circular buffer, as this is an internal implementation detail that s

[FFmpeg-cvslog] lavu/fifo: clarify interaction of AV_FIFO_FLAG_AUTO_GROW with av_fifo_can_write()

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Thu Jun 30 16:23:46 2022 +0200| [8728808b3eadae96595cfc22424ae877d9276789] | committer: Anton Khirnov lavu/fifo: clarify interaction of AV_FIFO_FLAG_AUTO_GROW with av_fifo_can_write() > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8728808

[FFmpeg-cvslog] lavu/fifo: clarify interaction of AV_FIFO_FLAG_AUTO_GROW with av_fifo_write()

2022-09-05 Thread Anton Khirnov
ffmpeg | branch: master | Anton Khirnov | Thu Jun 30 16:23:46 2022 +0200| [ea5b375e0e95b05c88ec728d5953c916b4925bef] | committer: Anton Khirnov lavu/fifo: clarify interaction of AV_FIFO_FLAG_AUTO_GROW with av_fifo_write() > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ea5b375e0e95

[FFmpeg-cvslog] avcodec/x86/flacdsp: fix bug in decorrelation

2022-09-05 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sat Sep 3 23:41:38 2022 +0200| [1e202d89c95d99d69412854f4ee9d5e569c3da69] | committer: Paul B Mahol avcodec/x86/flacdsp: fix bug in decorrelation Fixes #9297 > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1e202d89c95d99d69412854f4ee9d5e569

[FFmpeg-cvslog] avcodec/flac: smallest frame is 10 bytes

2022-09-05 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sun Sep 4 20:50:16 2022 +0200| [2ed5925e26f77fc377cedcefb3864dc1a4712210] | committer: Paul B Mahol avcodec/flac: smallest frame is 10 bytes Fixes #9270 > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ed5925e26f77fc377cedcefb3864dc1a471221

[FFmpeg-cvslog] avcodec/cfhd, cfhddata: Simplify check for escape

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 3 16:39:46 2022 +0200| [6b1a7fc8bd473aa4e644a64335eb93044647f96d] | committer: Andreas Rheinhardt avcodec/cfhd, cfhddata: Simplify check for escape cfhd.c checked for level being equal to a certain codebook- dependent constant and to run

[FFmpeg-cvslog] avcodec/cfhddata: Avoid code tables

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 3 04:39:16 2022 +0200| [764cacfdb60faba00cee057c347c2168ac006814] | committer: Andreas Rheinhardt avcodec/cfhddata: Avoid code tables cfhddata.c initializes a RL VLC table via code tables and corresponding tables for length, run and level

[FFmpeg-cvslog] avcodec/cfhddata: Avoid code duplication when creating codebooks

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 3 17:56:48 2022 +0200| [320c36d9c77cfeb9d9ec4cb856400546aba45eba] | committer: Andreas Rheinhardt avcodec/cfhddata: Avoid code duplication when creating codebooks Reviewed-by: Paul B Mahol Signed-off-by: Andreas Rheinhardt > http://git

[FFmpeg-cvslog] avcodec/cfhddata: Reduce stack usage

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 3 20:09:18 2022 +0200| [e6d89d0efd9194198d9964e47bf428be222594ea] | committer: Andreas Rheinhardt avcodec/cfhddata: Reduce stack usage Creating CFHD RL VLC tables works by first extending the codes by the sign, followed by creating a VLC,

[FFmpeg-cvslog] avcodec/cfhd, cfhddata: Free VLC as soon as it is not needed

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 3 18:02:17 2022 +0200| [9e9c99366a9606bbcdfc805b1631dac006df28b2] | committer: Andreas Rheinhardt avcodec/cfhd, cfhddata: Free VLC as soon as it is not needed The VLC is only used to initialize RL VLC. Reviewed-by: Paul B Mahol Signed-o

[FFmpeg-cvslog] fate/matroska: Add tests for muxing with initial_padding

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Sep 1 16:41:58 2022 +0200| [c0279e67f18ab7bb4e071c08a231dd7d7821b278] | committer: Andreas Rheinhardt fate/matroska: Add tests for muxing with initial_padding Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git

[FFmpeg-cvslog] fftools/ffprobe: Report initial and trailing padding

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Sep 1 14:42:00 2022 +0200| [5c16df1b92c519238e10664eeab3adb3b9016edd] | committer: Andreas Rheinhardt fftools/ffprobe: Report initial and trailing padding Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=

[FFmpeg-cvslog] avformat/matroskaenc: Only write DiscardPadding if nonzero

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Aug 31 15:02:00 2022 +0200| [7bacef580f81ab7a98401b9b05441115df36d86b] | committer: Andreas Rheinhardt avformat/matroskaenc: Only write DiscardPadding if nonzero It is possible for the trailing padding to be zero, namely e.g. if the AV_PKT_DAT

[FFmpeg-cvslog] avformat/matroskaenc: Don't override samplerate for CodecDelay

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Aug 29 23:00:48 2022 +0200| [be0a2515ab25e4531464f84c4c4d5a97e1a3e8ef] | committer: Andreas Rheinhardt avformat/matroskaenc: Don't override samplerate for CodecDelay Opus can be decoded to multiple samplerates (namely 48kHz, 24KHz, 16Khz, 12 K

[FFmpeg-cvslog] avformat/matroskaenc: Actually apply timestamp offset for Opus

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Aug 31 06:23:08 2022 +0200| [eb325324aabe6ae479bbf15256321da8e39238d4] | committer: Andreas Rheinhardt avformat/matroskaenc: Actually apply timestamp offset for Opus Matroska generally requires timestamps to be nonnegative, but there is an exc

[FFmpeg-cvslog] avformat/mux: Allow muxers to set custom min timestamp

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Sep 1 01:26:48 2022 +0200| [1a8309e954b894675aa450db5c117240195385a9] | committer: Andreas Rheinhardt avformat/mux: Allow muxers to set custom min timestamp Matroska requires pts to be >= 0 with a slight exception: It has a mechanism to deal

[FFmpeg-cvslog] avformat/matroskaenc: Write CodecDelay for codecs != Opus

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Sep 1 20:50:53 2022 +0200| [8913539a5d2a81a77980b45455b1eb144827fd96] | committer: Andreas Rheinhardt avformat/matroskaenc: Write CodecDelay for codecs != Opus The field is not specific to Opus. The mp2fixed encoder signals initial_padding an

[FFmpeg-cvslog] avformat/matroskaenc: Use custom min timestamp

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Sep 1 14:19:07 2022 +0200| [bca4fef46a6b0a6f5c31840c4c03303a329dbbe9] | committer: Andreas Rheinhardt avformat/matroskaenc: Use custom min timestamp Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit

[FFmpeg-cvslog] avcodec/x86/flacdsp_init: Remove double ';'

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Sep 5 20:54:57 2022 +0200| [ad12e31b036fa4d9655d9e4e2b70f5610f83fdc9] | committer: Andreas Rheinhardt avcodec/x86/flacdsp_init: Remove double ';' Inside a function, the second ';' in ";;" is just a null statement, but it is actually illegal o

[FFmpeg-cvslog] ref/fate/ffprobe_xsd: Change ref file

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Sep 5 23:23:18 2022 +0200| [9b738de6112f475a557a2d911c8c33160ce85846] | committer: Andreas Rheinhardt ref/fate/ffprobe_xsd: Change ref file Forgotten in 5c16df1b92c519238e10664eeab3adb3b9016edd, because neither I nor patchwork ran fate with x

[FFmpeg-cvslog] avcodec/libtheoraenc: Do not use invalid error code

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Sep 1 23:49:32 2022 +0200| [61c37bc61d6ff08d52c5f9e01b9ba45e957031ca] | committer: Andreas Rheinhardt avcodec/libtheoraenc: Do not use invalid error code Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=c

[FFmpeg-cvslog] tools/.gitignore: Add missing tools

2022-09-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Sep 5 01:42:51 2022 +0200| [b881d2db8892e88a625dfa4ac2d5b8ca53ab9595] | committer: Andreas Rheinhardt tools/.gitignore: Add missing tools Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b881d2db

[FFmpeg-cvslog] x86/tx_float: add support for calling assembly functions from assembly

2022-09-05 Thread Lynne
ffmpeg | branch: master | Lynne | Sat Sep 3 03:34:57 2022 +0200| [2425d5cd7e37387305f85bef63f7441c8b1cc147] | committer: Lynne x86/tx_float: add support for calling assembly functions from assembly Needed for the next patch. We get this for the extremely small cost of a branch on _ns functions

[FFmpeg-cvslog] x86/tx_float: implement inverse MDCT AVX2 assembly

2022-09-05 Thread Lynne
ffmpeg | branch: master | Lynne | Sat Sep 3 03:36:40 2022 +0200| [4537d9554d9a0027ba028c8eb16221d9235ebe43] | committer: Lynne x86/tx_float: implement inverse MDCT AVX2 assembly This commit implements an iMDCT in pure assembly. This is capable of processing any mod-8 transforms, rather than j

[FFmpeg-cvslog] checkasm/tx: add checkasm support for the iMDCT

2022-09-05 Thread Lynne
ffmpeg | branch: master | Lynne | Sun Sep 4 02:40:07 2022 +0200| [9a9647af3309369e0d35cd99426d1c73df7a634c] | committer: Lynne checkasm/tx: add checkasm support for the iMDCT > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9a9647af3309369e0d35cd99426d1c73df7a634c --- tests/checka

[FFmpeg-cvslog] aarch64/tx_float: fix compilation

2022-09-05 Thread Lynne
ffmpeg | branch: master | Lynne | Tue Sep 6 05:41:46 2022 +0200| [a89025f74d06f345ea3dc835c34c5059fe7257e5] | committer: Lynne aarch64/tx_float: fix compilation Forgot to add the new function arguments. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a89025f74d06f345ea3dc835c34c50