This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 150f7d15df726bdcf49a7c5ef9d8d67c46ed3d41 Author: Niklas Haas <[email protected]> AuthorDate: Mon Jul 13 22:51:54 2026 +0200 Commit: Niklas Haas <[email protected]> CommitDate: Tue Jul 14 12:24:01 2026 +0000 swscale/uops_macros_gen: drop checkasm planar write hack No longer needed since the new uops-based rewrite. Here's hoping we won't need to revert it if these ops come up again in the future. Signed-off-by: Niklas Haas <[email protected]> --- libswscale/uops_macros.h | 2 -- libswscale/uops_macros_gen.c | 23 ----------------------- 2 files changed, 25 deletions(-) diff --git a/libswscale/uops_macros.h b/libswscale/uops_macros.h index b1ead287b6..da3c03fe07 100644 --- a/libswscale/uops_macros.h +++ b/libswscale/uops_macros.h @@ -579,12 +579,10 @@ #define SWS_FOR_STRUCT_U16_DITHER(MACRO, ...) #define SWS_FOR_U32_READ_PLANAR(MACRO, ...) \ MACRO(__VA_ARGS__, u32_read_planar_x , SWS_PIXEL_U32, SWS_UOP_READ_PLANAR , 0x1) \ - MACRO(__VA_ARGS__, u32_read_planar_xy , SWS_PIXEL_U32, SWS_UOP_READ_PLANAR , 0x3) \ MACRO(__VA_ARGS__, u32_read_planar_xyz , SWS_PIXEL_U32, SWS_UOP_READ_PLANAR , 0x7) \ MACRO(__VA_ARGS__, u32_read_planar_xyzw , SWS_PIXEL_U32, SWS_UOP_READ_PLANAR , 0xf) #define SWS_FOR_STRUCT_U32_READ_PLANAR(MACRO, ...) \ MACRO(__VA_ARGS__, u32_read_planar_x , .type = SWS_PIXEL_U32, .uop = SWS_UOP_READ_PLANAR , .mask = 0x1) \ - MACRO(__VA_ARGS__, u32_read_planar_xy , .type = SWS_PIXEL_U32, .uop = SWS_UOP_READ_PLANAR , .mask = 0x3) \ MACRO(__VA_ARGS__, u32_read_planar_xyz , .type = SWS_PIXEL_U32, .uop = SWS_UOP_READ_PLANAR , .mask = 0x7) \ MACRO(__VA_ARGS__, u32_read_planar_xyzw , .type = SWS_PIXEL_U32, .uop = SWS_UOP_READ_PLANAR , .mask = 0xf) #define SWS_FOR_U32_READ_PLANAR_FH(MACRO, ...) diff --git a/libswscale/uops_macros_gen.c b/libswscale/uops_macros_gen.c index 33e328fcc3..db3d9ffdbe 100644 --- a/libswscale/uops_macros_gen.c +++ b/libswscale/uops_macros_gen.c @@ -318,29 +318,6 @@ static int sws_uops_macros_gen(char **out_str) goto fail; } - /** - * Additionally make sure planar reads/writes are always available for all - * formats, because checkasm depends on them to be able to verify the - * input/output of any other operations. - */ - for (enum SwsPixelType type = SWS_PIXEL_NONE+1; type < SWS_PIXEL_TYPE_NB; type++) { - if (!ff_sws_pixel_type_is_int(type)) - continue; - for (int elems = 1; elems <= 4; elems++) { - for (int rw = 0; rw < 2; rw++) { - SwsUOp uop = { - .type = type, - .uop = rw ? SWS_UOP_WRITE_PLANAR : SWS_UOP_READ_PLANAR, - .mask = SWS_COMP_ELEMS(elems), - }; - - ret = register_uop(&root, &uop); - if (ret < 0) - goto fail; - } - } - } - #define BPRINT_STR(str) av_bprint_append_data(bp, str, strlen(str)) BPRINT_STR( "/**\n" _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
