[FFmpeg-cvslog] avcodec/ratecontrol: Fix double free on error

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat May 4 18:48:14 2024 +0200| [ba28222a14ab4c164a6702a65822871c68185c0d] | committer: Andreas Rheinhardt avcodec/ratecontrol: Fix double free on error Happens on init_pass2() failure. Signed-off-by: Andreas Rheinhardt > http://git.videolan.or

[FFmpeg-cvslog] avcodec/ratecontrol: Pass RCContext directly in ff_rate_control_uninit()

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat May 4 19:09:28 2024 +0200| [0c9e04b0e22cf2571ea3cfe3288cd05b18836b9f] | committer: Andreas Rheinhardt avcodec/ratecontrol: Pass RCContext directly in ff_rate_control_uninit() Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitwe

[FFmpeg-cvslog] avcodec/mpegvideo, ratecontrol: Remove write-only skip_count

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed May 1 13:11:13 2024 +0200| [685cda26aa03a1cf54c701d4399909d784f0dcce] | committer: Andreas Rheinhardt avcodec/mpegvideo, ratecontrol: Remove write-only skip_count Write-only since 6cf0cb8935f515a7b5f79d2e3cf02bd0764943bf. Signed-off-by: Andr

[FFmpeg-cvslog] avcodec/ratecontrol: Avoid padding in RateControlEntry

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat May 4 20:41:01 2024 +0200| [2786d34712491dbd74a3f3cead3eac5fe99af97d] | committer: Andreas Rheinhardt avcodec/ratecontrol: Avoid padding in RateControlEntry Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?

[FFmpeg-cvslog] avcodec/get_buffer: Remove redundant check

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Apr 20 03:11:39 2024 +0200| [0aaabe1fd72fb4d302a433ce33e45fb8c2301d6f] | committer: Andreas Rheinhardt avcodec/get_buffer: Remove redundant check It is unnecessary to check for whether the number of planes of an already existing audio pool coi

[FFmpeg-cvslog] avcodec/ratecontrol: Don't call ff_rate_control_uninit() ourselves

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat May 4 19:11:11 2024 +0200| [68a06640b1db48494498958976b2a22b85115426] | committer: Andreas Rheinhardt avcodec/ratecontrol: Don't call ff_rate_control_uninit() ourselves It is currently done inconsistently: Only one error path (namely the one

[FFmpeg-cvslog] avcodec/mpegpicture: Store linesize in ScratchpadContext

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Apr 20 04:10:33 2024 +0200| [d4b63885a6011ff13a3a80c616a905f526a113c0] | committer: Andreas Rheinhardt avcodec/mpegpicture: Store linesize in ScratchpadContext The mpegvideo-based codecs currently require the linesize to be constant (except wh

[FFmpeg-cvslog] avcodec/mpeg12dec: Allocate dummy frames for non-I fields

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 28 01:45:47 2024 +0200| [c85508f5a91cc0caf18ba33c941536bf8b99b81b] | committer: Andreas Rheinhardt avcodec/mpeg12dec: Allocate dummy frames for non-I fields MPEG-2 allows to pair an intra field (as first field) together with a P-field. In

[FFmpeg-cvslog] avcodec/mpegvideo_motion: Remove dead checks for existence of reference

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 28 12:25:46 2024 +0200| [f44d212e0e4e7def30dd60a7f700f019a49450b7] | committer: Andreas Rheinhardt avcodec/mpegvideo_motion: Remove dead checks for existence of reference These references now always exist due to dummy frames. Also remove t

[FFmpeg-cvslog] avcodec/mpegvideo_dec: Factor allocating dummy frames out

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 28 01:41:49 2024 +0200| [99543c93ec0984d190eb81b2ec5cfd8665bc14f2] | committer: Andreas Rheinhardt avcodec/mpegvideo_dec: Factor allocating dummy frames out This will allow to reuse it to allocate dummy frames for the second field (which c

[FFmpeg-cvslog] avcodec/mpegpicture: Mark dummy frames as such

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 28 01:43:32 2024 +0200| [73676dd47ac36f975b430f6a60a09144357523c3] | committer: Andreas Rheinhardt avcodec/mpegpicture: Mark dummy frames as such This will allow to avoid outputting them. Signed-off-by: Andreas Rheinhardt > http://git.v

[FFmpeg-cvslog] avcodec/mpegvideo_dec: Sync linesize and uvlinesize between threads

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Aug 15 17:07:08 2022 +0200| [a30c95ed8a51532d7360d0505a53ec62e8e7392c] | committer: Andreas Rheinhardt avcodec/mpegvideo_dec: Sync linesize and uvlinesize between threads linesize and uvlinesize are supposed to be the common linesize of all th

[FFmpeg-cvslog] avcodec/mpegvideo_motion: Optimize check away

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 28 12:36:58 2024 +0200| [5f505995db8f80867bd70f7b632ec0bb9879a3d5] | committer: Andreas Rheinhardt avcodec/mpegvideo_motion: Optimize check away Only MPEG-2 can have field motion vectors with coded fields. Signed-off-by: Andreas Rheinhard

[FFmpeg-cvslog] avcodec/mpegvideo_motion: Avoid constant function argument

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Apr 29 00:37:38 2024 +0200| [60d4c8a137409435bf09fcea08cb16427b964f2a] | committer: Andreas Rheinhardt avcodec/mpegvideo_motion: Avoid constant function argument Always 8. Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.c

[FFmpeg-cvslog] avcodec/msmpeg4enc: Only calculate coded_cbp when used

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Apr 20 22:11:55 2024 +0200| [1a5c21daee4b2f161d6e030c607ea47a21c64945] | committer: Andreas Rheinhardt avcodec/msmpeg4enc: Only calculate coded_cbp when used With this patch, msmpeg4v1 and msmpeg4v2 no longer use MpegEncContext.coded_block. S

[FFmpeg-cvslog] avcodec/mpegvideo: Only allocate coded_block when needed

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Apr 20 22:56:44 2024 +0200| [ba033acb56f2c6c68b9464a491807a6f7dba64bd] | committer: Andreas Rheinhardt avcodec/mpegvideo: Only allocate coded_block when needed It is only needed for msmpeg4v3, wmv1, wmv2 and VC-1. Signed-off-by: Andreas Rhein

[FFmpeg-cvslog] avcodec/mpegvideo_motion: Optimize check away

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 28 13:33:49 2024 +0200| [55e81306bfdecda915184bd970198dbe4f678e8d] | committer: Andreas Rheinhardt avcodec/mpegvideo_motion: Optimize check away When !CONFIG_SMALL, we create separate functions for FMT_MPEG1 (i.e. for MPEG-1/2); given that

[FFmpeg-cvslog] avcodec/mpegvideo: Only allocate cbp_table, pred_dir_table when needed

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 21 00:11:56 2024 +0200| [caac9740f84681f28bc6c6bf285fd0a25dc99060] | committer: Andreas Rheinhardt avcodec/mpegvideo: Only allocate cbp_table, pred_dir_table when needed Namely for the MPEG-4 decoder. Signed-off-by: Andreas Rheinhardt >

[FFmpeg-cvslog] avcodec/mpegpicture: Always reset mbskip_table

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 3 16:04:51 2024 +0200| [7ad13e173bf271d05341f007a467430bae82b392] | committer: Andreas Rheinhardt avcodec/mpegpicture: Always reset mbskip_table Codecs call ff_find_unused_picture() to get the index of an unused picture; said picture may

[FFmpeg-cvslog] avcodec/mpegvideo: Don't reset coded_block unnecessarily

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Apr 20 23:02:11 2024 +0200| [582d828f754f580cab9342e9c8a8ca09b906d69a] | committer: Andreas Rheinhardt avcodec/mpegvideo: Don't reset coded_block unnecessarily coded_block is only used for I-frames, so it is unnecessary to reset it in ff_clean

[FFmpeg-cvslog] avcodec/mpegpicture: Always reset motion val buffer

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Aug 8 16:51:04 2022 +0200| [71ff9217f769b03ce3b8081ad596ed777ac24d2f] | committer: Andreas Rheinhardt avcodec/mpegpicture: Always reset motion val buffer Codecs call ff_find_unused_picture() to get the index of an unused picture; said picture

[FFmpeg-cvslog] avcodec/mpegvideo: Redo aligning mb_height for VC-1

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 21 01:26:27 2024 +0200| [a95591dbfde3a9347cdfe6537243957e65d2d8ea] | committer: Andreas Rheinhardt avcodec/mpegvideo: Redo aligning mb_height for VC-1 VC-1 can switch from between being progressive and interlaced on a per-frame basis. In t

[FFmpeg-cvslog] avcodec/mpegpicture: Use RefStruct-pool API

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Aug 8 22:00:32 2022 +0200| [bed17eba47336e8c11aa85591d69aa5cfc33c67b] | committer: Andreas Rheinhardt avcodec/mpegpicture: Use RefStruct-pool API It involves less allocations and therefore has less potential errors to be checked. One conseque

[FFmpeg-cvslog] avcodec/mpegvideo, mpegpicture: Add buffer pool

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Aug 8 21:03:27 2022 +0200| [788892d647636b314fa23df8eaaa3f016809ce0a] | committer: Andreas Rheinhardt avcodec/mpegvideo, mpegpicture: Add buffer pool This avoids constant allocations+frees and will also allow to simply switch to the RefStruct

[FFmpeg-cvslog] avcodec/mpegpicture: Reindent after the previous commit

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Aug 8 22:20:45 2022 +0200| [6450cfcd100a7cc4ae2858532af743b5e9bc9868] | committer: Andreas Rheinhardt avcodec/mpegpicture: Reindent after the previous commit Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/

[FFmpeg-cvslog] avcodec/h263, mpeg(picture|video): Only allocate mbskip_table for MPEG-4

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 3 18:04:49 2024 +0200| [101ed72c2f330163a2e25377b1725cc34852315d] | committer: Andreas Rheinhardt avcodec/h263, mpeg(picture|video): Only allocate mbskip_table for MPEG-4 It is the only user of said table and doing so is especially import

[FFmpeg-cvslog] avcodec/mpegvideo: Reindent after the previous commit

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 3 18:21:39 2024 +0200| [9645eeb48554f4a1c1488bb00525b886354c2fac] | committer: Andreas Rheinhardt avcodec/mpegvideo: Reindent after the previous commit Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a

[FFmpeg-cvslog] avcodec/h263: Move setting mbskip_table to decoder/encoders

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 3 18:22:59 2024 +0200| [47e43c19cb50083bf55ea48e4caabc20ca2a8c33] | committer: Andreas Rheinhardt avcodec/h263: Move setting mbskip_table to decoder/encoders This removes a branch from H.263 based decoders. Signed-off-by: Andreas Rheinha

[FFmpeg-cvslog] avcodec/h263: Move encoder-only part out of ff_h263_update_motion_val()

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri May 3 17:25:12 2024 +0200| [2cbca73975c967eae3e704f432df4bd4c830dd58] | committer: Andreas Rheinhardt avcodec/h263: Move encoder-only part out of ff_h263_update_motion_val() Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb

[FFmpeg-cvslog] avcodec/mpegvideo: Restrict resetting mbskip_table to MPEG-4 decoder

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat May 4 17:06:31 2024 +0200| [3a4e7694a13edc185a00393c2e6872ff3e17756b] | committer: Andreas Rheinhardt avcodec/mpegvideo: Restrict resetting mbskip_table to MPEG-4 decoder This is done due to invalid input and therefore the encoder is not affe

[FFmpeg-cvslog] avcodec/mpegpicture: Reduce value of MAX_PLANES define

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Oct 4 16:14:40 2023 +0200| [1c40a179222f638e88c8e7b1a374753a00b0f979] | committer: Andreas Rheinhardt avcodec/mpegpicture: Reduce value of MAX_PLANES define No mpegvideo based codec supports alpha. While just at it, also make the define short

[FFmpeg-cvslog] avcodec/mpegpicture: Cache AVFrame.data and linesize values

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Oct 4 17:27:24 2023 +0200| [7814dd77aa61703e3d43fc72bfaf6a9fbc42ff9c] | committer: Andreas Rheinhardt avcodec/mpegpicture: Cache AVFrame.data and linesize values This avoids an indirection and is in preparation for removing the AVFrame from M

[FFmpeg-cvslog] avcodec/rv30, rv34, rv40: Avoid indirection

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Oct 10 02:29:13 2023 +0200| [f1c4e8950ebe951cd2883ecd5e3b6416edcd9a81] | committer: Andreas Rheinhardt avcodec/rv30, rv34, rv40: Avoid indirection Use the cached values from MpegEncContext.(cur|last|next)_pic instead of the corresponding *_pic

[FFmpeg-cvslog] avcodec/mpegvideo: Add const where appropriate

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Oct 4 21:33:18 2023 +0200| [dda009b97d3104b7bb7b43c1704ac10e2610185a] | committer: Andreas Rheinhardt avcodec/mpegvideo: Add const where appropriate Specifically, add const to the pointed-to-type of pointers that point to something static or

[FFmpeg-cvslog] avcodec/vc1_pred: Remove unused function parameter

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Oct 4 21:36:05 2023 +0200| [8c59b5aa6b41ae492930dedbcb69182962af7dab] | committer: Andreas Rheinhardt avcodec/vc1_pred: Remove unused function parameter Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=co

[FFmpeg-cvslog] avcodec/mpegpicture: Improve error messages and code

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Oct 7 19:16:49 2023 +0200| [042117da75308f3d96df85ea4f97864d0142af3d] | committer: Andreas Rheinhardt avcodec/mpegpicture: Improve error messages and code Make it clear that this is not a failure of get_buffer/the user, but a deficit of mpegv

[FFmpeg-cvslog] avcodec/mpegvideo_enc: Move copying properties to alloc_picture()

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Oct 7 21:22:08 2023 +0200| [2dfe7c1e404dcc64293cd5cf6dd02013ced5d539] | committer: Andreas Rheinhardt avcodec/mpegvideo_enc: Move copying properties to alloc_picture() This way said function sets everything (except for the actual contents of

[FFmpeg-cvslog] avcodec/mpegpicture: Split ff_alloc_picture() into check and alloc part

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Oct 7 19:45:46 2023 +0200| [89ca63cc9cc2d64a949adba5da36ef3dff580fd2] | committer: Andreas Rheinhardt avcodec/mpegpicture: Split ff_alloc_picture() into check and alloc part ff_alloc_picture() currently does two things: It checks the consiste

[FFmpeg-cvslog] avcodec/mpegpicture: Rename Picture->MPVPicture

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Oct 8 01:44:47 2023 +0200| [59422955cf381cb6e9990ea541eeb71736717783] | committer: Andreas Rheinhardt avcodec/mpegpicture: Rename Picture->MPVPicture Picture is just too generic. Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/

[FFmpeg-cvslog] avcodec/mpegvideo_enc: Pass AVFrame*, not Picture* to alloc_picture()

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Oct 7 21:37:42 2023 +0200| [8225d2da7390ac22cd9e93bb7b8711379ae36558] | committer: Andreas Rheinhardt avcodec/mpegvideo_enc: Pass AVFrame*, not Picture* to alloc_picture() It now only deals with the AVFrame and no longer with the accessories.

[FFmpeg-cvslog] avcodec/vc1_mc: Don't check AVFrame INTERLACE flags

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat May 4 16:20:42 2024 +0200| [dac15a5b6edec3c055a3add853a80b99246d6829] | committer: Andreas Rheinhardt avcodec/vc1_mc: Don't check AVFrame INTERLACE flags Instead cache these values in VC1Context to avoid the indirection and AND. Signed-off-b

[FFmpeg-cvslog] avcodec/error_resilience: Deduplicate cleanup code

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Apr 29 01:01:36 2024 +0200| [17501b22674ac738847e3d6057c69d0212fc6629] | committer: Andreas Rheinhardt avcodec/error_resilience: Deduplicate cleanup code Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=co

[FFmpeg-cvslog] avcodec/mpegpicture: Split MPVPicture into WorkPicture and ordinary Pic

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Oct 8 12:25:07 2023 +0200| [fe6037fd04db8837dcdb9013f9c4ad4e7eb0592e] | committer: Andreas Rheinhardt avcodec/mpegpicture: Split MPVPicture into WorkPicture and ordinary Pic There are two types of MPVPictures: Three (cur_pic, last_pic, next_p

[FFmpeg-cvslog] avcodec/mpegvideo_enc: Return early when getting length of B frame chain

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Oct 9 00:48:26 2023 +0200| [b64dfe2bd1929dc1b2633a5d392297e0c502c45e] | committer: Andreas Rheinhardt avcodec/mpegvideo_enc: Return early when getting length of B frame chain Possible now that this is a function of its own. Signed-off-by: An

[FFmpeg-cvslog] avcodec/mpegvideo_enc: Reindentation

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Oct 9 00:58:36 2023 +0200| [dceb73a22d4346bdc34d9bd186a70ddf1964a6a0] | committer: Andreas Rheinhardt avcodec/mpegvideo_enc: Reindentation Also try to use loop-scope for iterators. Signed-off-by: Andreas Rheinhardt > http://git.videolan.or

[FFmpeg-cvslog] avcodec/mpegvideo_enc: Factor setting length of B frame chain out

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Oct 9 00:44:58 2023 +0200| [17b5fc2e51a3bb5a7fc10cbd177d88ef1c025527] | committer: Andreas Rheinhardt avcodec/mpegvideo_enc: Factor setting length of B frame chain out It already avoids a goto and will be useful in the future to be able to sp

[FFmpeg-cvslog] avcodec/mpeg12dec: Don't initialize inter tables for IPU

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Apr 22 01:44:52 2024 +0200| [183a67580b61fd83dd0d70ea57e31d6681392e5a] | committer: Andreas Rheinhardt avcodec/mpeg12dec: Don't initialize inter tables for IPU IPU is intra-only. Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/g

[FFmpeg-cvslog] avcodec/mpeg12dec: Only initialize IDCT for IPU

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Apr 22 01:57:56 2024 +0200| [2f22fd7ec18e7662e12955d719fe6a9589476602] | committer: Andreas Rheinhardt avcodec/mpeg12dec: Only initialize IDCT for IPU This is all that is used. This is in preparation for further commits that will extend ff_mpv

[FFmpeg-cvslog] avcodec/mpeg12dec: Remove write-only assignment

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Apr 22 02:05:32 2024 +0200| [bbe10bcae84dd5ee30f2df464299c4f3d14b3042] | committer: Andreas Rheinhardt avcodec/mpeg12dec: Remove write-only assignment Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commi

[FFmpeg-cvslog] avcodec/mpeg12dec: Set out_format only once

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Apr 22 02:11:15 2024 +0200| [5ea7c0e323b58388e84fd6a329a26cfa2681be5b] | committer: Andreas Rheinhardt avcodec/mpeg12dec: Set out_format only once Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=

[FFmpeg-cvslog] avformat/riff: Declare VCR2 to be MPEG-2

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 28 16:43:47 2024 +0200| [b90b6764093a40d6b2064cdd07c4c715c934ebf1] | committer: Andreas Rheinhardt avformat/riff: Declare VCR2 to be MPEG-2 This brings it in line with mpeg12dec.c. (This entry has been added before the MPEG2VIDEO codec id

[FFmpeg-cvslog] avcodec/mpegvideo_dec: Add close function for mpegvideo-decoders

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 28 17:40:58 2024 +0200| [99d26939af3f0ef80f56debe458006abec3cbc71] | committer: Andreas Rheinhardt avcodec/mpegvideo_dec: Add close function for mpegvideo-decoders Currently identical to the H.261 and H.263 close functions (which it replac

[FFmpeg-cvslog] avcodec/mpeg4videoenc: Simplify writing startcodes

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Apr 22 02:38:23 2024 +0200| [5475000942c812bf9c5eb01f84d84822e7e0a0c0] | committer: Andreas Rheinhardt avcodec/mpeg4videoenc: Simplify writing startcodes Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=co

[FFmpeg-cvslog] avcodec/mpegpicture: Use ThreadProgress instead of ThreadFrame API

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Oct 16 01:21:55 2023 +0200| [45cf0541cf4b3ec89cd9c8c8919c0650852f30ec] | committer: Andreas Rheinhardt avcodec/mpegpicture: Use ThreadProgress instead of ThreadFrame API Given that MPVPictures are already directly shared between threads in cas

[FFmpeg-cvslog] avcodec/mpegpicture: Make MPVPicture refcounted

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Oct 15 21:34:43 2023 +0200| [9ce56f91c0e74b7cc34985fdb15050aa98aeded6] | committer: Andreas Rheinhardt avcodec/mpegpicture: Make MPVPicture refcounted Up until now, an initialized MpegEncContext had an array of MPVPictures (way more than were

[FFmpeg-cvslog] avcodec/mpeg4videoenc: Avoid branch for writing stuffing

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Apr 22 02:29:51 2024 +0200| [4ef98a43ee0e3e107943deb8177f47f916d67d8c] | committer: Andreas Rheinhardt avcodec/mpeg4videoenc: Avoid branch for writing stuffing Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git

[FFmpeg-cvslog] avcodec/mpegpicture: Avoid loop and branch when setting motion_val

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Apr 29 19:03:49 2024 +0200| [12fcbff446649fe7c2fd5aafd2d4e78c9b3b56a3] | committer: Andreas Rheinhardt avcodec/mpegpicture: Avoid loop and branch when setting motion_val Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/

[FFmpeg-cvslog] avcodec/mpegpicture: Avoid MotionEstContext in ff_mpeg_framesize_alloc()

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Apr 19 09:23:36 2024 +0200| [a05eebee99f74f5c7100b63bc5d80e59bc38b2ba] | committer: Andreas Rheinhardt avcodec/mpegpicture: Avoid MotionEstContext in ff_mpeg_framesize_alloc() Only set the ScratchpadContext and let the users that need it (i.e.

[FFmpeg-cvslog] avcodec/mpegvideo_enc: Unify initializing PutBitContexts

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Apr 22 09:18:22 2024 +0200| [4f2719a239e2efd9902922035c9cb16eb3a7138d] | committer: Andreas Rheinhardt avcodec/mpegvideo_enc: Unify initializing PutBitContexts This also rids us of the requirement to preserve the PutBitContext in ff_update_dup

[FFmpeg-cvslog] avcodec/mpegpicture: Use union for b_scratchpad and rd_scratchpad

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Apr 18 23:13:58 2024 +0200| [d0f76e6a11a17f211584aa56dba0e3f785c97f2e] | committer: Andreas Rheinhardt avcodec/mpegpicture: Use union for b_scratchpad and rd_scratchpad These pointers point to the same buffers, so one can just use a union for

[FFmpeg-cvslog] avcodec/mpeg12enc: Simplify writing startcodes

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 21 19:47:48 2024 +0200| [7e61e77c4ecc14a7f68822a1da7861b39764c24f] | committer: Andreas Rheinhardt avcodec/mpeg12enc: Simplify writing startcodes Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit

[FFmpeg-cvslog] avcodec/mpegvideo_dec, rv34: Simplify check for "does pic exist?"

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 28 18:59:29 2024 +0200| [a13ca893cff54610f45e85109d10bd81a24f7a89] | committer: Andreas Rheinhardt avcodec/mpegvideo_dec, rv34: Simplify check for "does pic exist?" The days in which an MPVPicture* is set with the corresponding frame being

[FFmpeg-cvslog] avcodec/mpegvideo_dec: Don't sync encoder-only coded_picture_number

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 28 19:11:44 2024 +0200| [c703a519a57be63e5e6c8f814699d428c4881990] | committer: Andreas Rheinhardt avcodec/mpegvideo_dec: Don't sync encoder-only coded_picture_number Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi

[FFmpeg-cvslog] avcodec/mpeg12dec: Don't initialize inter_scantable

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 28 20:56:45 2024 +0200| [1f5c64cbdc9e270495850c988e901391bc63c5d0] | committer: Andreas Rheinhardt avcodec/mpeg12dec: Don't initialize inter_scantable MPEG-1/2 only needs one scantable and therefore all code already uses the intra one. So

[FFmpeg-cvslog] avcodec/mpegvideo: Remove pblocks

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 28 21:34:30 2024 +0200| [2f6768c761ebdd50e6c6fc5ade0ed19fd647842f] | committer: Andreas Rheinhardt avcodec/mpegvideo: Remove pblocks It has been added in a579db0c4fe026d49c71d1ff64a2d1d07c152d68 due to XvMC, but today it is only used to sw

[FFmpeg-cvslog] avcodec/mpeg12dec: Pass Mpeg1Context* in mpeg_field_start()

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 28 20:42:41 2024 +0200| [9bb35cfa4d7f8f85ddd59d032a0777af2482d66f] | committer: Andreas Rheinhardt avcodec/mpeg12dec: Pass Mpeg1Context* in mpeg_field_start() Avoids a cast. Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gi

[FFmpeg-cvslog] avcodec/ituh263enc: Remove redundant check

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Apr 29 19:48:08 2024 +0200| [34ed9d1954c1d525536899208f93aa6ef2d51959] | committer: Andreas Rheinhardt avcodec/ituh263enc: Remove redundant check It is redundant due to the identical check in ff_mpv_encode_init(). Signed-off-by: Andreas Rhein

[FFmpeg-cvslog] avcodec/mpegvideo: Use enum for msmpeg4_version

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Apr 28 23:18:35 2024 +0200| [b2ac792367382bcc90fa39290161c937f934b01a] | committer: Andreas Rheinhardt avcodec/mpegvideo: Use enum for msmpeg4_version Improves readability. Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.

[FFmpeg-cvslog] avcodec/mpegvideo_enc: Binarize reference

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed May 8 18:19:45 2024 +0200| [bf087a7e2609511c169e81232bc6d5d86953be36] | committer: Andreas Rheinhardt avcodec/mpegvideo_enc: Binarize reference The H.264 decoder used reference to store its picture_structure into it; yet it does not use mpegv

[FFmpeg-cvslog] avcodec/vc1_pred: Fix indentation

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat May 11 20:31:47 2024 +0200| [1fe2a97b61610530c864e714c4777a75a484d5e1] | committer: Andreas Rheinhardt avcodec/vc1_pred: Fix indentation Forgotten after 41f974205317f6f40e72c9689374ab52d490dc6a. Signed-off-by: Andreas Rheinhardt > http://gi

[FFmpeg-cvslog] avcodec/dnxhdenc: Remove always-false check

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat May 4 15:26:53 2024 +0200| [f0c021b6ffbb817f2e91e7bf98d82249304c0ecc] | committer: Andreas Rheinhardt avcodec/dnxhdenc: Remove always-false check Always false since 49331f7ba3e3214738864af96d22fb1e6b5463b7. Signed-off-by: Andreas Rheinhardt

[FFmpeg-cvslog] avcodec/mpegvideo_enc: Make ff_dct_quantize_c() static

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat May 4 15:30:01 2024 +0200| [bf8208d0cd7c429e227c7e7f644076e272f51d55] | committer: Andreas Rheinhardt avcodec/mpegvideo_enc: Make ff_dct_quantize_c() static Only used here. Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb

[FFmpeg-cvslog] avcodec/mpegvideo_enc: Move initializing H263DSP to ituh263enc.c

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat May 4 15:34:54 2024 +0200| [adb1521385e6dbd583e64c25648fe6f5dd84d0d4] | committer: Andreas Rheinhardt avcodec/mpegvideo_enc: Move initializing H263DSP to ituh263enc.c Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ff

[FFmpeg-cvslog] avcodec/mips/mpegvideo: Set denoise_dct only for encoder

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Jun 2 05:44:22 2024 +0200| [83278282050910cf28537c7cd27b2e2e61b53bd7] | committer: Andreas Rheinhardt avcodec/mips/mpegvideo: Set denoise_dct only for encoder The C version is set in ff_dct_encode_init(), yet the MIPS version is set in dct_in

[FFmpeg-cvslog] avcodec/mpegvideo_enc: Always set c funcs in ff_dct_encode_init()

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat May 4 15:40:55 2024 +0200| [e80bd068c5196399161db970ec5cf989bd479859] | committer: Andreas Rheinhardt avcodec/mpegvideo_enc: Always set c funcs in ff_dct_encode_init() Use the common approach whereby the _c versions are set first and then (po

[FFmpeg-cvslog] avcodec/mpegvideo: Remove fast_dct_quantize

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat May 4 15:48:05 2024 +0200| [1dc1b6c5af626ed3b62c5c35f333e1f7ca570950] | committer: Andreas Rheinhardt avcodec/mpegvideo: Remove fast_dct_quantize It has been added in 3a87ac948f0cd95218e62d5a98b8b8d5e4c11366, but there was never an implementa

[FFmpeg-cvslog] avcodec/mpegvideo_enc: Don't pretend ff_dct_encode_init() can fail

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat May 4 21:15:21 2024 +0200| [89742b88c609be8fa276bcbed40088215d1ebf1a] | committer: Andreas Rheinhardt avcodec/mpegvideo_enc: Don't pretend ff_dct_encode_init() can fail Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/

[FFmpeg-cvslog] api/api-band-test: Remove write-only variable

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Oct 16 14:19:07 2022 +0200| [4c22b007809460ee0b3232dcf1f406fefd4567c7] | committer: Andreas Rheinhardt api/api-band-test: Remove write-only variable Besides being write only it had the wrong type: An uint8_t is definitely not enough to store t

[FFmpeg-cvslog] api/api-band-test: Perform codec admissibility check earlier

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Oct 16 14:50:56 2022 +0200| [b8cc5cf23322a1b661336c869976281057dc3123] | committer: Andreas Rheinhardt api/api-band-test: Perform codec admissibility check earlier Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/ffmpeg

[FFmpeg-cvslog] api/api-band-test: Query codec capabilities to decide admissibility

2024-06-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Oct 16 15:06:29 2022 +0200| [edcfa846cfbaeeccc8a48f2792ab2eba9f1706c7] | committer: Andreas Rheinhardt api/api-band-test: Query codec capabilities to decide admissibility Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi

[FFmpeg-cvslog] lavc/vvc: Prevent overflow in chroma QP derivation

2024-06-12 Thread Frank Plowman
ffmpeg | branch: master | Frank Plowman | Sun Jun 9 12:17:26 2024 +0100| [d72a5fe719c01da07af30e4402a7c3cd994b4cfc] | committer: Nuo Mi lavc/vvc: Prevent overflow in chroma QP derivation On the top of p. 112 in VVC (09/2023): It is a requirement of bitstream conformance that the values of qp

[FFmpeg-cvslog] lavc/vp8dsp: R-V V put_bilin_h v unroll

2024-06-12 Thread sunyuechi
ffmpeg | branch: master | sunyuechi | Thu May 30 23:26:53 2024 +0800| [8d9fb7b5cf0a3b32e2e59be5c32cbe0dab84567b] | committer: Rémi Denis-Courmont lavc/vp8dsp: R-V V put_bilin_h v unroll Since len < 64, the registers are sufficient, so it can be directly unrolled (a4 is even). Another benefit

[FFmpeg-cvslog] lavc/vp8dsp: R-V V bilin_load to bilin_load_h

2024-06-12 Thread sunyuechi
ffmpeg | branch: master | sunyuechi | Wed Jun 12 23:21:45 2024 +0800| [a4901a56c653e3063955e1316223a4df8c10994f] | committer: Rémi Denis-Courmont lavc/vp8dsp: R-V V bilin_load to bilin_load_h Signed-off-by: Rémi Denis-Courmont > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a4901

[FFmpeg-cvslog] avformat/mov_chan: use the newly added channel ids for more exact mapping

2024-06-12 Thread Marton Balint
ffmpeg | branch: master | Marton Balint | Mon Jun 3 21:15:16 2024 +0200| [e405afdd0a27caaa37ed57be81d4b7faf87296f2] | committer: Marton Balint avformat/mov_chan: use the newly added channel ids for more exact mapping Also make the iso_channel_position table consistent with what the AAC decode

[FFmpeg-cvslog] avformat/mxfdec: use the newly added channel ids for more exact mapping

2024-06-12 Thread Marton Balint
ffmpeg | branch: master | Marton Balint | Mon Jun 3 21:18:19 2024 +0200| [9fb6f024c3db2c19aca7f5f93c6843b7e5d1eecf] | committer: Marton Balint avformat/mxfdec: use the newly added channel ids for more exact mapping Signed-off-by: Marton Balint > http://git.videolan.org/gitweb.cgi/ffmpeg.git

[FFmpeg-cvslog] avformat/mov_chan: make iso_channel_position table more compact

2024-06-12 Thread Marton Balint
ffmpeg | branch: master | Marton Balint | Mon Jun 3 21:52:55 2024 +0200| [d9a0a6a2b5e3a62b819333d6fa239e897725dde3] | committer: Marton Balint avformat/mov_chan: make iso_channel_position table more compact Signed-off-by: Marton Balint > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=comm

[FFmpeg-cvslog] doc/developer: Provide information about git send-email and gmail

2024-06-12 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Jun 12 19:37:15 2024 +0200| [959cb2e2e36cad50b88d45c1201c2c3d64d4e48c] | committer: Michael Niedermayer doc/developer: Provide information about git send-email and gmail The 2 links are the clearest i found. Signed-off-by: Michael Niedermaye