This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit df0f1ca84e405f5ecf8c1a00f57421ec2bdecf19 Author: Kacper Michajłow <[email protected]> AuthorDate: Sat Oct 24 20:12:25 2026 +0200 Commit: Kacper Michajłow <[email protected]> CommitDate: Wed Oct 28 19:22:28 2026 +0000 swscale: name the XYZ12 table setup after SMPTE ST 428-1 The XYZ12 formats are converted with the 2.6 power of ST 428-1 (DCDM) whatever a frame is tagged with, the path is chosen by the pixel format alone and there is no other XYZ in swscale. Say so in the name of the table setup, to make clear that it's ST 428. Signed-off-by: Kacper Michajłow <[email protected]> --- libswscale/swscale_internal.h | 2 +- libswscale/utils.c | 4 ++-- tests/checkasm/sw_xyz2rgb.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index f3435be1a0..5d641fb02a 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -736,7 +736,7 @@ av_cold void ff_sws_init_range_convert_x86(SwsInternal *c); av_cold void ff_sws_init_xyzdsp(SwsInternal *c); av_cold void ff_sws_init_xyzdsp_aarch64(SwsInternal *c); -av_cold int ff_sws_fill_xyztables(SwsInternal *c); +av_cold int ff_sws_fill_st428_tables(SwsInternal *c); SwsFunc ff_yuv2rgb_init_x86(SwsInternal *c); SwsFunc ff_yuv2rgb_init_ppc(SwsInternal *c); diff --git a/libswscale/utils.c b/libswscale/utils.c index e970b9f035..043c1e9e76 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -749,7 +749,7 @@ static av_cold void init_xyz_tables(void) } } -av_cold int ff_sws_fill_xyztables(SwsInternal *c) +av_cold int ff_sws_fill_st428_tables(SwsInternal *c) { static const int16_t xyz2rgb_matrix[3][3] = { {13270, -6295, -2041}, @@ -853,7 +853,7 @@ static int handle_formats(SwsContext *sws) c->srcXYZ |= handle_xyz(&sws->src_format); c->dstXYZ |= handle_xyz(&sws->dst_format); if (c->srcXYZ || c->dstXYZ) - return ff_sws_fill_xyztables(c); + return ff_sws_fill_st428_tables(c); else return 0; } diff --git a/tests/checkasm/sw_xyz2rgb.c b/tests/checkasm/sw_xyz2rgb.c index 17c5fcce7b..91180ff9a4 100644 --- a/tests/checkasm/sw_xyz2rgb.c +++ b/tests/checkasm/sw_xyz2rgb.c @@ -65,7 +65,7 @@ static void check_xyz12Torgb48le(void) memset(&c, 0, sizeof(c)); c.opts.src_format = src_pix_fmt; ff_sws_init_xyzdsp(&c); - ff_sws_fill_xyztables(&c); + ff_sws_fill_st428_tables(&c); randomize_buffers(src, 3 * MAX_LINE_SIZE * NUM_LINES); -- 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]
