[FFmpeg-cvslog] x86/intreadwrite: fix include of config.h

2024-07-10 Thread James Almer
ffmpeg | branch: master | James Almer | Wed Jul 10 13:52:52 2024 -0300| [1a86a7a48d60aaa64ff55c109ee64512576d7e8b] | committer: James Almer x86/intreadwrite: fix include of config.h Should fix make checkheaders. Signed-off-by: James Almer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=co

[FFmpeg-cvslog] x86/intreadwrite.h: add missing preprocessor checks

2024-07-10 Thread James Almer
ffmpeg | branch: master | James Almer | Wed Jul 10 13:48:42 2024 -0300| [15056dd65026023352069f58403c997be7fb9496] | committer: James Almer x86/intreadwrite.h: add missing preprocessor checks Removed by accident in the previous commits. This makes the code only run when compiled with GCC and Cl

[FFmpeg-cvslog] x86/intreadwrite: use intrinsics instead of inline asm for AV_ZERO128

2024-07-10 Thread James Almer
ffmpeg | branch: master | James Almer | Mon Nov 14 02:32:33 2022 -0300| [4a04cca69af807ccf831da977a94350611967c4c] | committer: James Almer x86/intreadwrite: use intrinsics instead of inline asm for AV_ZERO128 When called inside a loop, the inline asm version results in one pxor unnecessarely e

[FFmpeg-cvslog] x86/intreadwrite: use intrinsics instead of inline asm for AV_COPY128

2024-07-10 Thread James Almer
ffmpeg | branch: master | James Almer | Wed Jul 10 13:00:20 2024 -0300| [bd1bcb07e0f29c135103a402d71b343a09ad1690] | committer: James Almer x86/intreadwrite: use intrinsics instead of inline asm for AV_COPY128 This has the benefit of removing any SSE -> AVX penalty that may happen when the comp

[FFmpeg-cvslog] avutil/hwcontext_d3d11va: correct sizeof IDirect3DSurface9

2024-07-10 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Jun 9 17:47:43 2024 +0200| [628ba061c8d5ae018c3e8aa8ce05b8dfcdfd8410] | committer: Michael Niedermayer avutil/hwcontext_d3d11va: correct sizeof IDirect3DSurface9 Fixes: CID1591944 Wrong sizeof argument Sponsored-by: Sovereign Tech Fund Revi

[FFmpeg-cvslog] swscale: prevent undefined behaviour in the PUTRGBA macro

2024-07-10 Thread Sean McGovern
ffmpeg | branch: master | Sean McGovern | Tue Jul 9 17:41:32 2024 -0400| [34b4ca8696de64ca756e7aed7bdefa9ff6bb5fac] | committer: Michael Niedermayer swscale: prevent undefined behaviour in the PUTRGBA macro For even small values of 'asrc[x]', shifting them by 24 bits or more will cause arithm

[FFmpeg-cvslog] avutil/wchar_filename: Correct sizeof

2024-07-10 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Jun 9 17:47:44 2024 +0200| [e9e8bea2e79bc3c481a6f81f75f6c871e3e0f367] | committer: Michael Niedermayer avutil/wchar_filename: Correct sizeof Fixes: CID1591930 Wrong sizeof argument Sponsored-by: Sovereign Tech Fund Reviewed-by: Steve Lhomme

[FFmpeg-cvslog] avutil/hwcontext_d3d11va: correct sizeof AVD3D11FrameDescriptor

2024-07-10 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Jun 9 17:47:41 2024 +0200| [698ed0d5a5a3a1219179facb5538eea463fae13f] | committer: Michael Niedermayer avutil/hwcontext_d3d11va: correct sizeof AVD3D11FrameDescriptor Fixes: CID1591909 Wrong sizeof argument Sponsored-by: Sovereign Tech Fund

[FFmpeg-cvslog] avcodec/vvc/refs: Use unsigned mask

2024-07-10 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Jul 7 20:47:26 2024 +0200| [eb552ecd543ad656c40849c6b2bcaf5fd667c9b9] | committer: Michael Niedermayer avcodec/vvc/refs: Use unsigned mask Not a bugfix, but might fix CID1604361 Overflowed constant Sponsored-by: Sovereign Tech Fund Reviewed

[FFmpeg-cvslog] avutil/hwcontext_d3d11va: Free AVD3D11FrameDescriptor on error

2024-07-10 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Jun 9 17:47:42 2024 +0200| [cf22f944d55c8eb0119fb20354a625f8c41eb11f] | committer: Michael Niedermayer avutil/hwcontext_d3d11va: Free AVD3D11FrameDescriptor on error Fixes: CID1598558 Resource leak Sponsored-by: Sovereign Tech Fund Reviewed

[FFmpeg-cvslog] MAINTAINERS: add myself as d3d12va_encode maintainer

2024-07-10 Thread Tong Wu
ffmpeg | branch: master | Tong Wu | Tue Jul 2 23:22:50 2024 +0800| [f2f2b275171d9e3c1c94cdaa87dbbfb3007820c0] | committer: Michael Niedermayer MAINTAINERS: add myself as d3d12va_encode maintainer Signed-off-by: Tong Wu Signed-off-by: Michael Niedermayer > http://git.videolan.org/gitweb.cgi

[FFmpeg-cvslog] lavfi/perlin: Fix out of bounds stack buffer write

2024-07-10 Thread Marvin Scholz
ffmpeg | branch: master | Marvin Scholz | Tue Jul 2 20:38:00 2024 +0200| [6d9c4bd69e81b614cf1e1a809679a7ab840b2b3d] | committer: Michael Niedermayer lavfi/perlin: Fix out of bounds stack buffer write An incorrect calculation in ff_perlin_init causes a write to the stack array at index 256, wh

[FFmpeg-cvslog] doc/examples/vaapi_encode: Try to check fwrite() for failure

2024-07-10 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Tue Jul 2 01:47:33 2024 +0200| [3e4bfff21192aed328c906c85424737128b108f1] | committer: Michael Niedermayer doc/examples/vaapi_encode: Try to check fwrite() for failure Fixes: CID1604548 Unused value Sponsored-by: Sovereign Tech Fund Reviewed-by

[FFmpeg-cvslog] swscale/x86/yuv2rgb: Detemplatize

2024-07-10 Thread Ramiro Polla
ffmpeg | branch: master | Ramiro Polla | Thu Jul 4 11:40:18 2024 +0200| [ac6263945ae802605635c99534d23c3c681a0f34] | committer: Ramiro Polla swscale/x86/yuv2rgb: Detemplatize Every function in yuv2rgb_template.c is only compiled exactly once, so detemplatize it. > http://git.videolan.org/git

[FFmpeg-cvslog] configure: restore autodetection of v4l2 and fbdev

2024-07-10 Thread Ramiro Polla
ffmpeg | branch: master | Ramiro Polla | Wed Jul 3 00:30:08 2024 +0200| [7405f1ad5351cc24b91a0227aeeaf24ff9d12278] | committer: Ramiro Polla configure: restore autodetection of v4l2 and fbdev The detection logic for v4l2 and fbdev was accidentally modified to depend on v4l2-m2m in 43b3412. >

[FFmpeg-cvslog] swscale: remove unconditional #define DITHER1XBPP

2024-07-10 Thread Ramiro Polla
ffmpeg | branch: master | Ramiro Polla | Thu Jul 4 11:40:17 2024 +0200| [4f7f9b102699306b449be27e7f3197f62cc1092d] | committer: Ramiro Polla swscale: remove unconditional #define DITHER1XBPP This seems to have had an use in the past, but it is now defined unconditionally. > http://git.videol

[FFmpeg-cvslog] avfilter/vf_scale: fix frame lifetimes

2024-07-10 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jul 9 11:28:41 2024 +0200| [084e0b364df3dad4bc1aa44887b49d9fa1e4011f] | committer: Niklas Haas avfilter/vf_scale: fix frame lifetimes scale_frame() inconsistently handled the lifetime of `in`. Fixes a possible double free and a possible memory leak.

[FFmpeg-cvslog] avfilter/vf_scale: test return code of scale_frame()

2024-07-10 Thread Niklas Haas
ffmpeg | branch: master | Niklas Haas | Tue Jul 9 11:32:42 2024 +0200| [0deb301ba9cd71a4d35384c9584b800161777852] | committer: Niklas Haas avfilter/vf_scale: test return code of scale_frame() Instead of testing the returned frame against NULL, test the return code itself, going more in line wi