This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit a36487c49cf68f9acd58f250294bbaceb120faa9 Author: Wu Jianhua <[email protected]> AuthorDate: Tue Apr 15 04:45:23 2025 +0800 Commit: jianhuaw <[email protected]> CommitDate: Sun Nov 29 10:42:10 2026 +0000 avcodec/bit_depth_template: add tpixel for intermediate pixel type The int is needed by motion compensation as intermediate type for 16 bits format Signed-off-by: Wu Jianhua <[email protected]> --- libavcodec/bit_depth_template.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/bit_depth_template.c b/libavcodec/bit_depth_template.c index 6a80cdaf32..153483c989 100644 --- a/libavcodec/bit_depth_template.c +++ b/libavcodec/bit_depth_template.c @@ -30,6 +30,7 @@ # undef pixel4 # undef dctcoef # undef idctin +# undef tpixel # undef no_rnd_avg_pixel4 # undef rnd_avg_pixel4 # undef AV_RN2P @@ -54,6 +55,11 @@ # define pixel2 uint32_t # define pixel4 uint64_t # define dctcoef int32_t +#if BIT_DEPTH > 12 +# define tpixel int +#else +# define tpixel int16_t +#endif #ifdef IN_IDCT_DEPTH #if IN_IDCT_DEPTH == 32 @@ -84,6 +90,7 @@ # define pixel4 uint32_t # define dctcoef int16_t # define idctin int16_t +# define tpixel int16_t # define no_rnd_avg_pixel4 no_rnd_avg32 # define rnd_avg_pixel4 rnd_avg32 -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
