This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit c6309b5c63add7ad0ec221fafefc32bdcd6f8b91
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Mon Jul 27 21:37:04 2026 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Tue Jul 28 00:54:20 2026 +0200

    tests/checkasm/h264pred: Avoid declare_func_emms
    
    This is possible after the recent MMX->XMM conversions
    and preferable as it makes the test stricter.
    
    Reviewed-by: Niklas Haas <[email protected]>
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 tests/checkasm/h264pred.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/checkasm/h264pred.c b/tests/checkasm/h264pred.c
index 21ce7f4c35..1bf8357ad4 100644
--- a/tests/checkasm/h264pred.c
+++ b/tests/checkasm/h264pred.c
@@ -165,7 +165,7 @@ static void check_pred8x8(H264PredContext *h, uint8_t 
*buf0, uint8_t *buf1,
                           int codec, int chroma_format, int bit_depth)
 {
     int pred_mode;
-    declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t 
*src, ptrdiff_t stride);
+    declare_func(void, uint8_t *src, ptrdiff_t stride);
 
     for (pred_mode = 0; pred_mode < 11; pred_mode++) {
         if (check_pred_func(h->pred8x8[pred_mode], (chroma_format == 2) ? 
"8x16" : "8x8",
@@ -185,7 +185,7 @@ static void check_pred16x16(H264PredContext *h, uint8_t 
*buf0, uint8_t *buf1,
 {
     if (chroma_format == 1) {
         int pred_mode;
-        declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t 
*src, ptrdiff_t stride);
+        declare_func(void, uint8_t *src, ptrdiff_t stride);
 
         for (pred_mode = 0; pred_mode < 9; pred_mode++) {
             if (check_pred_func(h->pred16x16[pred_mode], "16x16", 
pred16x16_modes[codec][pred_mode])) {
@@ -205,7 +205,7 @@ static void check_pred8x8l(H264PredContext *h, uint8_t 
*buf0, uint8_t *buf1,
 {
     if (chroma_format == 1 && codec_ids[codec] == AV_CODEC_ID_H264) {
         int pred_mode;
-        declare_func_emms(AV_CPU_FLAG_MMXEXT, void, uint8_t *src, int topleft, 
int topright, ptrdiff_t stride);
+        declare_func(void, uint8_t *src, int topleft, int topright, ptrdiff_t 
stride);
 
         for (pred_mode = 0; pred_mode < 12; pred_mode++) {
             if (check_pred_func(h->pred8x8l[pred_mode], "8x8l", 
pred4x4_modes[codec][pred_mode])) {

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to