Commit e79f6cd023 for ffmpeg

commit e79f6cd023e57847d898358f9e80a65200d94d44
Author: James Almer <jamrial@gmail.com>
Date:   Mon Nov 9 10:08:55 2026 -0300

    swscale/output: add support for RGBAF32

    Signed-off-by: James Almer <jamrial@gmail.com>

diff --git a/libswscale/format.c b/libswscale/format.c
index 5482982c0d..fd0c83a34c 100644
--- a/libswscale/format.c
+++ b/libswscale/format.c
@@ -271,8 +271,8 @@ static const LegacyFormatEntry legacy_format_entries[] = {
     [AV_PIX_FMT_RGBF16LE]       = { 1, 0 },
     [AV_PIX_FMT_RGBF32BE]       = { 1, 1 },
     [AV_PIX_FMT_RGBF32LE]       = { 1, 1 },
-    [AV_PIX_FMT_RGBAF32BE]      = { 1, 0 },
-    [AV_PIX_FMT_RGBAF32LE]      = { 1, 0 },
+    [AV_PIX_FMT_RGBAF32BE]      = { 1, 1 },
+    [AV_PIX_FMT_RGBAF32LE]      = { 1, 1 },
     [AV_PIX_FMT_XV30LE]         = { 1, 1 },
     [AV_PIX_FMT_XV36LE]         = { 1, 1 },
     [AV_PIX_FMT_XV36BE]         = { 1, 1 },
diff --git a/libswscale/output.c b/libswscale/output.c
index faf3ea4fa1..aaf0d1031f 100644
--- a/libswscale/output.c
+++ b/libswscale/output.c
@@ -1009,8 +1009,10 @@ YUV2PACKEDWRAPPER(yuv2, 422, yuyv422, AV_PIX_FMT_YUYV422)
 YUV2PACKEDWRAPPER(yuv2, 422, yvyu422, AV_PIX_FMT_YVYU422)
 YUV2PACKEDWRAPPER(yuv2, 422, uyvy422, AV_PIX_FMT_UYVY422)

-#define R_B ((target == AV_PIX_FMT_RGB48LE || target == AV_PIX_FMT_RGB48BE || target == AV_PIX_FMT_RGBA64LE || target == AV_PIX_FMT_RGBA64BE || target == AV_PIX_FMT_RGBF32LE || target == AV_PIX_FMT_RGBF32BE) ? R : B)
-#define B_R ((target == AV_PIX_FMT_RGB48LE || target == AV_PIX_FMT_RGB48BE || target == AV_PIX_FMT_RGBA64LE || target == AV_PIX_FMT_RGBA64BE || target == AV_PIX_FMT_RGBF32LE || target == AV_PIX_FMT_RGBF32BE) ? B : R)
+#define R_B ((target == AV_PIX_FMT_RGB48LE  || target == AV_PIX_FMT_RGB48BE  || target == AV_PIX_FMT_RGBA64LE || target == AV_PIX_FMT_RGBA64BE || \
+              target == AV_PIX_FMT_RGBF32LE || target == AV_PIX_FMT_RGBF32BE || target == AV_PIX_FMT_RGBAF32LE || target == AV_PIX_FMT_RGBAF32BE) ? R : B)
+#define B_R ((target == AV_PIX_FMT_RGB48LE  || target == AV_PIX_FMT_RGB48BE  || target == AV_PIX_FMT_RGBA64LE || target == AV_PIX_FMT_RGBA64BE || \
+              target == AV_PIX_FMT_RGBF32LE || target == AV_PIX_FMT_RGBF32BE || target == AV_PIX_FMT_RGBAF32LE || target == AV_PIX_FMT_RGBAF32BE) ? B : R)
 #define output_pixel(pos, val) \
     if (is_be) { \
         AV_WB16(pos, val); \
@@ -1140,15 +1142,24 @@ output_pixel_rgba(uint16_t *dest, int i, unsigned Y1, unsigned Y2,
                   int R, int G, int B, int A1, int A2,
                   enum AVPixelFormat target, int eightbytes, int is_be)
 {
-    if (target == AV_PIX_FMT_RGBF32LE || target == AV_PIX_FMT_RGBF32BE) {
+    if (target == AV_PIX_FMT_RGBF32LE || target == AV_PIX_FMT_RGBF32BE ||
+        target == AV_PIX_FMT_RGBAF32LE || target == AV_PIX_FMT_RGBAF32BE) {
         static const float float_mult = 1.0f / 65535.0f;
-        ptrdiff_t stride = 12;
+        ptrdiff_t stride = eightbytes ? 16 : 12;
         output_pixel32(&dest[stride * i     ], av_float2int(float_mult * av_clip_uintp2(((int)(R + Y1) >> 14) + (1<<15), 16)));
         output_pixel32(&dest[stride * i +  2], av_float2int(float_mult * av_clip_uintp2(((int)(G + Y1) >> 14) + (1<<15), 16)));
         output_pixel32(&dest[stride * i +  4], av_float2int(float_mult * av_clip_uintp2(((int)(B + Y1) >> 14) + (1<<15), 16)));
-        output_pixel32(&dest[stride * i +  6], av_float2int(float_mult * av_clip_uintp2(((int)(R + Y2) >> 14) + (1<<15), 16)));
-        output_pixel32(&dest[stride * i +  8], av_float2int(float_mult * av_clip_uintp2(((int)(G + Y2) >> 14) + (1<<15), 16)));
-        output_pixel32(&dest[stride * i + 10], av_float2int(float_mult * av_clip_uintp2(((int)(B + Y2) >> 14) + (1<<15), 16)));
+        if (eightbytes) {
+            output_pixel32(&dest[stride * i +  6], av_float2int(float_mult * (av_clip_uintp2(A1      , 30) >> 14)));
+            output_pixel32(&dest[stride * i +  8], av_float2int(float_mult * av_clip_uintp2(((int)(R + Y2) >> 14) + (1<<15), 16)));
+            output_pixel32(&dest[stride * i + 10], av_float2int(float_mult * av_clip_uintp2(((int)(G + Y2) >> 14) + (1<<15), 16)));
+            output_pixel32(&dest[stride * i + 12], av_float2int(float_mult * av_clip_uintp2(((int)(B + Y2) >> 14) + (1<<15), 16)));
+            output_pixel32(&dest[stride * i + 14], av_float2int(float_mult * (av_clip_uintp2(A2      , 30) >> 14)));
+        } else {
+            output_pixel32(&dest[stride * i +  6], av_float2int(float_mult * av_clip_uintp2(((int)(R + Y2) >> 14) + (1<<15), 16)));
+            output_pixel32(&dest[stride * i +  8], av_float2int(float_mult * av_clip_uintp2(((int)(G + Y2) >> 14) + (1<<15), 16)));
+            output_pixel32(&dest[stride * i + 10], av_float2int(float_mult * av_clip_uintp2(((int)(B + Y2) >> 14) + (1<<15), 16)));
+        }
     } else {
         ptrdiff_t stride = eightbytes ? 8 : 6;
         output_pixel(&dest[stride * i    ], av_clip_uintp2(((int)(R + Y1) >> 14) + (1<<15), 16));
@@ -1172,12 +1183,15 @@ static av_always_inline void
 output_pixel_rgba_full(uint16_t *dest, int i, unsigned Y, int R, int G, int B, int A,
                        enum AVPixelFormat target, int eightbytes, int is_be)
 {
-    if (target == AV_PIX_FMT_RGBF32LE || target == AV_PIX_FMT_RGBF32BE) {
+    if (target == AV_PIX_FMT_RGBF32LE || target == AV_PIX_FMT_RGBF32BE ||
+        target == AV_PIX_FMT_RGBAF32LE || target == AV_PIX_FMT_RGBAF32BE) {
         static const float float_mult = 1.0f / 65535.0f;
-        ptrdiff_t stride = 6;
+        ptrdiff_t stride = eightbytes ? 8 : 6;
         output_pixel32(&dest[stride * i     ], av_float2int(float_mult * av_clip_uintp2(((int)(R + Y) >> 14) + (1<<15), 16)));
         output_pixel32(&dest[stride * i +  2], av_float2int(float_mult * av_clip_uintp2(((int)(G + Y) >> 14) + (1<<15), 16)));
         output_pixel32(&dest[stride * i +  4], av_float2int(float_mult * av_clip_uintp2(((int)(B + Y) >> 14) + (1<<15), 16)));
+        if (eightbytes)
+            output_pixel32(&dest[stride * i + 6], av_float2int(float_mult * (av_clip_uintp2(A, 30) >> 14)));
     } else {
         ptrdiff_t stride = eightbytes ? 4 : 3;
         output_pixel(&dest[stride * i    ], av_clip_uintp2(((int)(R + (unsigned)Y) >> 14) + (1<<15), 16));
@@ -1620,6 +1634,10 @@ YUV2PACKED16WRAPPER(yuv2, rgba64, bgrx64be, AV_PIX_FMT_BGRA64, BE, 0, 1)
 YUV2PACKED16WRAPPER(yuv2, rgba64, bgrx64le, AV_PIX_FMT_BGRA64, LE, 0, 1)
 YUV2PACKED16WRAPPER(yuv2, rgba64, rgbf32be, AV_PIX_FMT_RGBF32, BE, 0, 0)
 YUV2PACKED16WRAPPER(yuv2, rgba64, rgbf32le, AV_PIX_FMT_RGBF32, LE, 0, 0)
+YUV2PACKED16WRAPPER(yuv2, rgba64, rgbaf32be, AV_PIX_FMT_RGBAF32, BE, 1, 1)
+YUV2PACKED16WRAPPER(yuv2, rgba64, rgbaf32le, AV_PIX_FMT_RGBAF32, LE, 1, 1)
+YUV2PACKED16WRAPPER(yuv2, rgba64, rgbxf32be, AV_PIX_FMT_RGBAF32, BE, 0, 1)
+YUV2PACKED16WRAPPER(yuv2, rgba64, rgbxf32le, AV_PIX_FMT_RGBAF32, LE, 0, 1)
 YUV2PACKED16WRAPPER(yuv2, ya16, ya16be, AV_PIX_FMT_YA16, BE, 1, 0)
 YUV2PACKED16WRAPPER(yuv2, ya16, ya16le, AV_PIX_FMT_YA16, LE, 1, 0)
 YUV2PACKED16WRAPPER(yuv2, ya16, yaf32be, AV_PIX_FMT_YAF32, BE, 1, 0)
@@ -1639,6 +1657,10 @@ YUV2PACKED16WRAPPER(yuv2, rgba64_full, bgrx64be_full, AV_PIX_FMT_BGRA64, BE, 0,
 YUV2PACKED16WRAPPER(yuv2, rgba64_full, bgrx64le_full, AV_PIX_FMT_BGRA64, LE, 0, 1)
 YUV2PACKED16WRAPPER(yuv2, rgba64_full, rgbf32be_full, AV_PIX_FMT_RGBF32, BE, 0, 0)
 YUV2PACKED16WRAPPER(yuv2, rgba64_full, rgbf32le_full, AV_PIX_FMT_RGBF32, LE, 0, 0)
+YUV2PACKED16WRAPPER(yuv2, rgba64_full, rgbaf32be_full, AV_PIX_FMT_RGBAF32, BE, 1, 1)
+YUV2PACKED16WRAPPER(yuv2, rgba64_full, rgbaf32le_full, AV_PIX_FMT_RGBAF32, LE, 1, 1)
+YUV2PACKED16WRAPPER(yuv2, rgba64_full, rgbxf32be_full, AV_PIX_FMT_RGBAF32, BE, 0, 1)
+YUV2PACKED16WRAPPER(yuv2, rgba64_full, rgbxf32le_full, AV_PIX_FMT_RGBAF32, LE, 0, 1)

 /*
  * Write out 2 RGB pixels in the target pixel format. This function takes a
@@ -3488,6 +3510,34 @@ av_cold void ff_sws_init_output_funcs(SwsInternal *c,
                 *yuv2packed1 = yuv2bgrx64be_full_1_c;
             }
             break;
+        case AV_PIX_FMT_RGBAF32LE:
+#if CONFIG_SWSCALE_ALPHA
+            if (c->needAlpha) {
+                *yuv2packedX = yuv2rgbaf32le_full_X_c;
+                *yuv2packed2 = yuv2rgbaf32le_full_2_c;
+                *yuv2packed1 = yuv2rgbaf32le_full_1_c;
+            } else
+#endif /* CONFIG_SWSCALE_ALPHA */
+            {
+                *yuv2packedX = yuv2rgbxf32le_full_X_c;
+                *yuv2packed2 = yuv2rgbxf32le_full_2_c;
+                *yuv2packed1 = yuv2rgbxf32le_full_1_c;
+            }
+            break;
+        case AV_PIX_FMT_RGBAF32BE:
+#if CONFIG_SWSCALE_ALPHA
+            if (c->needAlpha) {
+                *yuv2packedX = yuv2rgbaf32be_full_X_c;
+                *yuv2packed2 = yuv2rgbaf32be_full_2_c;
+                *yuv2packed1 = yuv2rgbaf32be_full_1_c;
+            } else
+#endif /* CONFIG_SWSCALE_ALPHA */
+            {
+                *yuv2packedX = yuv2rgbxf32be_full_X_c;
+                *yuv2packed2 = yuv2rgbxf32be_full_2_c;
+                *yuv2packed1 = yuv2rgbxf32be_full_1_c;
+            }
+            break;

         case AV_PIX_FMT_RGB24:
             *yuv2packedX = yuv2rgb24_full_X_c;
@@ -3657,6 +3707,34 @@ av_cold void ff_sws_init_output_funcs(SwsInternal *c,
                 *yuv2packedX = yuv2bgrx64be_X_c;
             }
             break;
+        case AV_PIX_FMT_RGBAF32LE:
+#if CONFIG_SWSCALE_ALPHA
+            if (c->needAlpha) {
+                *yuv2packed1 = yuv2rgbaf32le_1_c;
+                *yuv2packed2 = yuv2rgbaf32le_2_c;
+                *yuv2packedX = yuv2rgbaf32le_X_c;
+            } else
+#endif /* CONFIG_SWSCALE_ALPHA */
+            {
+                *yuv2packed1 = yuv2rgbxf32le_1_c;
+                *yuv2packed2 = yuv2rgbxf32le_2_c;
+                *yuv2packedX = yuv2rgbxf32le_X_c;
+            }
+            break;
+        case AV_PIX_FMT_RGBAF32BE:
+#if CONFIG_SWSCALE_ALPHA
+            if (c->needAlpha) {
+                *yuv2packed1 = yuv2rgbaf32be_1_c;
+                *yuv2packed2 = yuv2rgbaf32be_2_c;
+                *yuv2packedX = yuv2rgbaf32be_X_c;
+            } else
+#endif /* CONFIG_SWSCALE_ALPHA */
+            {
+                *yuv2packed1 = yuv2rgbxf32be_1_c;
+                *yuv2packed2 = yuv2rgbxf32be_2_c;
+                *yuv2packedX = yuv2rgbxf32be_X_c;
+            }
+            break;
         case AV_PIX_FMT_RGB48LE:
             *yuv2packed1 = yuv2rgb48le_1_c;
             *yuv2packed2 = yuv2rgb48le_2_c;
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 37a9cb94b5..678e53f405 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -1398,6 +1398,8 @@ av_cold int ff_sws_init_single_context(SwsContext *sws, SwsFilter *srcFilter,
         dstFormat != AV_PIX_FMT_BGR48BE &&
         dstFormat != AV_PIX_FMT_RGBF32LE &&
         dstFormat != AV_PIX_FMT_RGBF32BE &&
+        dstFormat != AV_PIX_FMT_RGBAF32LE &&
+        dstFormat != AV_PIX_FMT_RGBAF32BE &&
         dstFormat != AV_PIX_FMT_RGBA  &&
         dstFormat != AV_PIX_FMT_ARGB  &&
         dstFormat != AV_PIX_FMT_BGRA  &&
diff --git a/tests/ref/fate/filter-pixdesc-rgbaf32be b/tests/ref/fate/filter-pixdesc-rgbaf32be
new file mode 100644
index 0000000000..d554cd8b92
--- /dev/null
+++ b/tests/ref/fate/filter-pixdesc-rgbaf32be
@@ -0,0 +1 @@
+pixdesc-rgbaf32be   65e62b53e01bb74df32d20e8c772d626
diff --git a/tests/ref/fate/filter-pixdesc-rgbaf32le b/tests/ref/fate/filter-pixdesc-rgbaf32le
new file mode 100644
index 0000000000..b7f428872c
--- /dev/null
+++ b/tests/ref/fate/filter-pixdesc-rgbaf32le
@@ -0,0 +1 @@
+pixdesc-rgbaf32le   c2731630d0318bc2ab8cb831c6070dc7
diff --git a/tests/ref/fate/filter-pixfmts-copy b/tests/ref/fate/filter-pixfmts-copy
index cd68289f11..8c7150f055 100644
--- a/tests/ref/fate/filter-pixfmts-copy
+++ b/tests/ref/fate/filter-pixfmts-copy
@@ -104,6 +104,8 @@ rgb8                7ac6008c84d622c2fc50581706e17576
 rgba                b6e1b441c365e03b5ffdf9b7b68d9a0c
 rgba64be            ae2ae04b5efedca3505f47c4dd6ea6ea
 rgba64le            b91e1d77f799eb92241a2d2d28437b15
+rgbaf32be           88b8a7f74d7291e71f3c0203dbcb67ea
+rgbaf32le           5aca3c54ec5b50ba4341243f3bfabff6
 rgbf32be            eb8610acb97af6adb59d8a192204bf26
 rgbf32le            134ac0933d1f2bef30d11fd113ab2ecc
 uyva                8896d7525f12de08818a01a5d5cf84f1
diff --git a/tests/ref/fate/filter-pixfmts-crop b/tests/ref/fate/filter-pixfmts-crop
index c845bd580e..14d648ce7f 100644
--- a/tests/ref/fate/filter-pixfmts-crop
+++ b/tests/ref/fate/filter-pixfmts-crop
@@ -102,6 +102,8 @@ rgb8                9b364a8f112ad9459fec47a51cc03b30
 rgba                9488ac85abceaf99a9309eac5a87697e
 rgba64be            89910046972ab3c68e2a348302cc8ca9
 rgba64le            fea8ebfc869b52adf353778f29eac7a7
+rgbaf32be           58d6cd5efe844aa96570d52bb8c065df
+rgbaf32le           6c0c9887515581ffa3570a35fcadd3af
 rgbf32be            d6f8c49ef3def3c11a06dd70ebc057d4
 rgbf32le            7a5e25cd4812e34103751b61c894b27d
 uyva                03f362ac6a39f25286bc6616111b0752
diff --git a/tests/ref/fate/filter-pixfmts-field b/tests/ref/fate/filter-pixfmts-field
index 9f807433c9..d821309490 100644
--- a/tests/ref/fate/filter-pixfmts-field
+++ b/tests/ref/fate/filter-pixfmts-field
@@ -104,6 +104,8 @@ rgb8                62c3b9e2a171de3d894a8eeb271c85e8
 rgba                ee616262ca6d67b7ecfba4b36c602ce3
 rgba64be            23c8c0edaabe3eaec89ce69633fb0048
 rgba64le            dfdba4de4a7cac9abf08852666c341d3
+rgbaf32be           8236aa8aad8022f0bc64201a40538e42
+rgbaf32le           54e5f6afcd03ad920020109e13252a42
 rgbf32be            919ea3ceab0fbb77e4a53548cb7191a3
 rgbf32le            c6dc8ae2b4dfd4c1c0f6b3af950dbeef
 uyva                147398d2e8d310f915c95863ad192c5e
diff --git a/tests/ref/fate/filter-pixfmts-fieldorder b/tests/ref/fate/filter-pixfmts-fieldorder
index 0b5c4342fb..08cb5dbfd7 100644
--- a/tests/ref/fate/filter-pixfmts-fieldorder
+++ b/tests/ref/fate/filter-pixfmts-fieldorder
@@ -93,6 +93,8 @@ rgb8                6deae05ccac5c50bd0d9c9fe8e124557
 rgba                1fdf872a087a32cd35b80cc7be399578
 rgba64be            5598f44514d122b9a57c5c92c20bbc61
 rgba64le            b34e6e30621ae579519a2d91a96a0acf
+rgbaf32be           82452d5cb168b1815089829bea421325
+rgbaf32le           0140452646596fdec9010cdfa4a4d40c
 rgbf32be            f92c90bf08d70e854e4f8179de0eaf30
 rgbf32le            6202cc01added07819b74bb062ceef17
 uyva                ccf5dfd33765dda88c4b4afa2ea31305
diff --git a/tests/ref/fate/filter-pixfmts-hflip b/tests/ref/fate/filter-pixfmts-hflip
index c071cf6424..54121b896e 100644
--- a/tests/ref/fate/filter-pixfmts-hflip
+++ b/tests/ref/fate/filter-pixfmts-hflip
@@ -102,6 +102,8 @@ rgb8                68a3a575badadd9e4f90226209f11699
 rgba                51961c723ea6707e0a410cd3f21f15d3
 rgba64be            c910444019f4cfbf4d995227af55da8d
 rgba64le            0c810d8b3a6bca10321788e1cb145340
+rgbaf32be           cc7d6d2c37b7cb633ca83bbea42fd602
+rgbaf32le           411faef5b5c3d24eec92fa42915abf39
 rgbf32be            82ca0560630c21b141098adbf5a2e65e
 rgbf32le            46e3d448f093bb386ba93885bd99861c
 uyva                a8391c24037e2a670196b47bf6a2ca57
diff --git a/tests/ref/fate/filter-pixfmts-il b/tests/ref/fate/filter-pixfmts-il
index e3e72f715c..844368951a 100644
--- a/tests/ref/fate/filter-pixfmts-il
+++ b/tests/ref/fate/filter-pixfmts-il
@@ -103,6 +103,8 @@ rgb8                93f9fa5ecf522abe13ed34f21831fdfe
 rgba                625d8f4bd39c4bdbf61eb5e4713aecc9
 rgba64be            db70d33aa6c06f3e0a1c77bd11284261
 rgba64le            a8a2daae04374a27219bc1c890204007
+rgbaf32be           99244d67ba5ca6df5026b03bbf9350fb
+rgbaf32le           d2030e5b795ad37384a947c3261e3265
 rgbf32be            9dc7a55820a278c5f5c7eba50f5e9564
 rgbf32le            2c71576443b61ac5222c1a33564a10e3
 uyva                d2655e1a1c56bcb48f7c7a6a6270dd93
diff --git a/tests/ref/fate/filter-pixfmts-null b/tests/ref/fate/filter-pixfmts-null
index cd68289f11..8c7150f055 100644
--- a/tests/ref/fate/filter-pixfmts-null
+++ b/tests/ref/fate/filter-pixfmts-null
@@ -104,6 +104,8 @@ rgb8                7ac6008c84d622c2fc50581706e17576
 rgba                b6e1b441c365e03b5ffdf9b7b68d9a0c
 rgba64be            ae2ae04b5efedca3505f47c4dd6ea6ea
 rgba64le            b91e1d77f799eb92241a2d2d28437b15
+rgbaf32be           88b8a7f74d7291e71f3c0203dbcb67ea
+rgbaf32le           5aca3c54ec5b50ba4341243f3bfabff6
 rgbf32be            eb8610acb97af6adb59d8a192204bf26
 rgbf32le            134ac0933d1f2bef30d11fd113ab2ecc
 uyva                8896d7525f12de08818a01a5d5cf84f1
diff --git a/tests/ref/fate/filter-pixfmts-scale b/tests/ref/fate/filter-pixfmts-scale
index 5478a2be98..96f118b6b3 100644
--- a/tests/ref/fate/filter-pixfmts-scale
+++ b/tests/ref/fate/filter-pixfmts-scale
@@ -104,6 +104,8 @@ rgb8                bcdc033b4ef0979d060dbc8893d4db58
 rgba                85bb5d03cea1c6e8002ced3373904336
 rgba64be            ee73e57923af984b31cc7795d13929da
 rgba64le            783d2779adfafe3548bdb671ec0de69e
+rgbaf32be           67fe9802ad94adfa4b290e7ef731ffea
+rgbaf32le           9415cec74d7c019b4357c9c9487b2345
 rgbf32be            8491b339d91c40ad4d96d5b68aefd046
 rgbf32le            0262f60b0a8f1a05b24f3959d8122857
 uyva                2358038be6dac002a6c736e798a3d91c
diff --git a/tests/ref/fate/filter-pixfmts-transpose b/tests/ref/fate/filter-pixfmts-transpose
index 91d61f8e2e..476a85e3a5 100644
--- a/tests/ref/fate/filter-pixfmts-transpose
+++ b/tests/ref/fate/filter-pixfmts-transpose
@@ -92,6 +92,8 @@ rgb8                c90feb30c3c9391ef5f470209d7b7a15
 rgba                4d76a9542143752a4ac30f82f88f68f1
 rgba64be            a60041217f4c0cd796d19d3940a12a41
 rgba64le            ad47197774858858ae7b0c177dffa459
+rgbaf32be           30255224cbe16c571e04bbcb74f220a6
+rgbaf32le           73f6a194cae097cea6448c1facb2d7cf
 rgbf32be            a89fa50c9e278ad1e2bc44a9435c48fd
 rgbf32le            883cc75a2f3f00090b719d99e4c2b1da
 uyva                cb773ee5a9f8964b9c826d55f9f425a3
diff --git a/tests/ref/fate/filter-pixfmts-vflip b/tests/ref/fate/filter-pixfmts-vflip
index 3fe598f209..f9369dec6a 100644
--- a/tests/ref/fate/filter-pixfmts-vflip
+++ b/tests/ref/fate/filter-pixfmts-vflip
@@ -104,6 +104,8 @@ rgb8                7df049b6094f8a5e084d74462f6d6cde
 rgba                c1a5908572737f2ae1e5d8218af65f4b
 rgba64be            17e6273323b5779b5f3f775f150c1011
 rgba64le            48f45b10503b7dd140329c3dd0d54c98
+rgbaf32be           60b4cdf7f6352ca73cb72b50bdd1f7cf
+rgbaf32le           1185e02516f5415b3c3f0cfbe41cc688
 rgbf32be            3fccaf8e4c5a55cb4cca6df18b702525
 rgbf32le            cd0b091dfe143cec2bc9af0cd6af073a
 uyva                d43e89ba3d5c9274e1948eac8630fcc6