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

Git pushed a commit to branch master
in repository ffmpeg.

commit dc601f8ca4a1ba05463a0061cf129425d866683a
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Thu Nov 5 14:24:32 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun Nov 8 08:52:56 2026 +0100

    avcodec/faani?dct: Remove obsolete emms_c
    
    None of the codecs using the FDCTDSP or IDCTDSP API
    clobber the FPU state at all any more (since
    57f9d96cacd2dd62fe8c126b840ff2d0676f383b for the FDCTDSP,
    5dc2dd9b9f291a373015500b11136bef39cbc6c0 for IDCTDSP),
    so one can remove the emms_c here and simply presume
    that the caller abides by the ABI.
    
    Reviewed-by: Lynne <[email protected]>
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/faandct.c  | 5 -----
 libavcodec/faanidct.c | 7 -------
 2 files changed, 12 deletions(-)

diff --git a/libavcodec/faandct.c b/libavcodec/faandct.c
index a474906c1b..11237c64be 100644
--- a/libavcodec/faandct.c
+++ b/libavcodec/faandct.c
@@ -28,7 +28,6 @@
 #include <math.h>
 
 #include "faandct.h"
-#include "libavutil/emms.h"
 #include "libavutil/internal.h"
 #include "libavutil/mathematics.h"
 
@@ -122,8 +121,6 @@ void ff_faandct(int16_t *data)
     FLOAT temp[64];
     int i;
 
-    emms_c();
-
     row_fdct(temp, data);
 
     for (i=0; i<8; i++) {
@@ -175,8 +172,6 @@ void ff_faandct248(int16_t *data)
     FLOAT temp[64];
     int i;
 
-    emms_c();
-
     row_fdct(temp, data);
 
     for (i=0; i<8; i++) {
diff --git a/libavcodec/faanidct.c b/libavcodec/faanidct.c
index f2667fb716..55ddd84df3 100644
--- a/libavcodec/faanidct.c
+++ b/libavcodec/faanidct.c
@@ -20,7 +20,6 @@
  */
 #include "faanidct.h"
 #include "libavutil/common.h"
-#include "libavutil/emms.h"
 
 /* To allow switching to double. */
 typedef float FLOAT;
@@ -129,8 +128,6 @@ void ff_faanidct(int16_t block[64]){
     FLOAT temp[64];
     int i;
 
-    emms_c();
-
     for(i=0; i<64; i++)
         temp[i] = block[i] * prescale[i];
 
@@ -143,8 +140,6 @@ void ff_faanidct_add(uint8_t *dest, ptrdiff_t line_size, 
int16_t block[64])
     FLOAT temp[64];
     int i;
 
-    emms_c();
-
     for(i=0; i<64; i++)
         temp[i] = block[i] * prescale[i];
 
@@ -157,8 +152,6 @@ void ff_faanidct_put(uint8_t *dest, ptrdiff_t line_size, 
int16_t block[64])
     FLOAT temp[64];
     int i;
 
-    emms_c();
-
     for(i=0; i<64; i++)
         temp[i] = block[i] * prescale[i];
 

-- 
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]

Reply via email to