aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2012-10-12 15:49:36 +0200
committerLuca Barbato <lu_zero@gentoo.org>2012-10-13 12:33:18 +0200
commit1bd442c276e6688b43777a198cad0d7e3a92123f (patch)
tree91d70ca799a3aecdddfa296f1f75454fc7c9d27f
parent5d2be71b9ecf2a88752666a2c4039f4d98419d35 (diff)
downloadffmpeg-1bd442c276e6688b43777a198cad0d7e3a92123f.tar.gz
nut: prioritize native tags
Use native tags instead of avi ones, simplifies a lot raw video codecs handling.
-rw-r--r--libavformat/nut.c6
-rw-r--r--libavformat/nut.h2
-rw-r--r--libavformat/nutdec.c7
-rw-r--r--libavformat/nutenc.c15
-rw-r--r--tests/ref/lavfi/crop2
-rw-r--r--tests/ref/lavfi/crop_scale2
-rw-r--r--tests/ref/lavfi/crop_scale_vflip2
-rw-r--r--tests/ref/lavfi/crop_vflip2
-rw-r--r--tests/ref/lavfi/null2
-rw-r--r--tests/ref/lavfi/pixdesc114
-rw-r--r--tests/ref/lavfi/pixfmts_copy114
-rw-r--r--tests/ref/lavfi/pixfmts_crop82
-rw-r--r--tests/ref/lavfi/pixfmts_hflip82
-rw-r--r--tests/ref/lavfi/pixfmts_null114
-rw-r--r--tests/ref/lavfi/pixfmts_pad34
-rw-r--r--tests/ref/lavfi/pixfmts_scale114
-rw-r--r--tests/ref/lavfi/pixfmts_vflip114
-rw-r--r--tests/ref/lavfi/scale2002
-rw-r--r--tests/ref/lavfi/scale5002
-rw-r--r--tests/ref/lavfi/vflip2
-rw-r--r--tests/ref/lavfi/vflip_crop2
-rw-r--r--tests/ref/lavfi/vflip_vflip2
22 files changed, 413 insertions, 405 deletions
diff --git a/libavformat/nut.c b/libavformat/nut.c
index 6a68e28173..b666bff716 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -22,6 +22,7 @@
#include "libavutil/mathematics.h"
#include "libavutil/tree.h"
#include "nut.h"
+#include "riff.h"
#include "internal.h"
const AVCodecTag ff_nut_subtitle_tags[] = {
@@ -89,6 +90,11 @@ const AVCodecTag ff_nut_video_tags[] = {
{ AV_CODEC_ID_NONE , 0 }
};
+const AVCodecTag * const ff_nut_codec_tags[] = {
+ ff_nut_video_tags, ff_nut_subtitle_tags,
+ ff_codec_bmp_tags, ff_codec_wav_tags, 0
+};
+
void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val){
int i;
for(i=0; i<nut->avf->nb_streams; i++){
diff --git a/libavformat/nut.h b/libavformat/nut.h
index 3f09689bd1..335eceb440 100644
--- a/libavformat/nut.h
+++ b/libavformat/nut.h
@@ -106,6 +106,8 @@ typedef struct NUTContext {
extern const AVCodecTag ff_nut_subtitle_tags[];
extern const AVCodecTag ff_nut_video_tags[];
+extern const AVCodecTag * const ff_nut_codec_tags[];
+
typedef struct Dispositions {
char str[9];
int flag;
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index dd02aadf5f..8448e13702 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -350,8 +350,8 @@ static int decode_stream_header(NUTContext *nut)
case 0:
st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
st->codec->codec_id = av_codec_get_id((const AVCodecTag * const []) {
- ff_codec_bmp_tags,
ff_nut_video_tags,
+ ff_codec_bmp_tags,
0
},
tmp);
@@ -991,8 +991,5 @@ AVInputFormat ff_nut_demuxer = {
.read_close = nut_read_close,
.read_seek = read_seek,
.extensions = "nut",
- .codec_tag = (const AVCodecTag * const []) {
- ff_codec_bmp_tags, ff_nut_video_tags, ff_codec_wav_tags,
- ff_nut_subtitle_tags, 0
- },
+ .codec_tag = ff_nut_codec_tags,
};
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index 4b1e66379c..6338924f48 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -374,6 +374,8 @@ static void write_mainheader(NUTContext *nut, AVIOContext *bc){
static int write_streamheader(AVFormatContext *avctx, AVIOContext *bc, AVStream *st, int i){
NUTContext *nut = avctx->priv_data;
AVCodecContext *codec = st->codec;
+ unsigned codec_tag = av_codec_get_tag(ff_nut_codec_tags, codec->codec_id);
+
ff_put_v(bc, i);
switch(codec->codec_type){
case AVMEDIA_TYPE_VIDEO: ff_put_v(bc, 0); break;
@@ -382,8 +384,12 @@ static int write_streamheader(AVFormatContext *avctx, AVIOContext *bc, AVStream
default : ff_put_v(bc, 3); break;
}
ff_put_v(bc, 4);
- if (codec->codec_tag){
- avio_wl32(bc, codec->codec_tag);
+
+ if (!codec_tag)
+ codec_tag = codec->codec_tag;
+
+ if (codec_tag) {
+ avio_wl32(bc, codec_tag);
} else {
av_log(avctx, AV_LOG_ERROR, "No codec tag defined for stream %d\n", i);
return AVERROR(EINVAL);
@@ -873,8 +879,5 @@ AVOutputFormat ff_nut_muxer = {
.write_packet = nut_write_packet,
.write_trailer = nut_write_trailer,
.flags = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
- .codec_tag = (const AVCodecTag * const []){
- ff_codec_bmp_tags, ff_nut_video_tags, ff_codec_wav_tags,
- ff_nut_subtitle_tags, 0
- },
+ .codec_tag = ff_nut_codec_tags,
};
diff --git a/tests/ref/lavfi/crop b/tests/ref/lavfi/crop
index 32041c2184..81ce4d10fb 100644
--- a/tests/ref/lavfi/crop
+++ b/tests/ref/lavfi/crop
@@ -1 +1 @@
-crop 3d163f156eaddf41d2be20736f973539
+crop 64e8f986d4cc67ec6797f5adb486e43f
diff --git a/tests/ref/lavfi/crop_scale b/tests/ref/lavfi/crop_scale
index 82e5394496..4eb20c8f84 100644
--- a/tests/ref/lavfi/crop_scale
+++ b/tests/ref/lavfi/crop_scale
@@ -1 +1 @@
-crop_scale 0a3d45d58b805b8c47416b9239535f94
+crop_scale 011cb96fad3d86823e4441e305814834
diff --git a/tests/ref/lavfi/crop_scale_vflip b/tests/ref/lavfi/crop_scale_vflip
index 07c729af0d..a89297a808 100644
--- a/tests/ref/lavfi/crop_scale_vflip
+++ b/tests/ref/lavfi/crop_scale_vflip
@@ -1 +1 @@
-crop_scale_vflip e88a4dfb960d0bb28ee875567bedde5d
+crop_scale_vflip f2b3800ab986d147b8ed5ebae67152df
diff --git a/tests/ref/lavfi/crop_vflip b/tests/ref/lavfi/crop_vflip
index a3f8200222..759d744a91 100644
--- a/tests/ref/lavfi/crop_vflip
+++ b/tests/ref/lavfi/crop_vflip
@@ -1 +1 @@
-crop_vflip 628542e17b6900ee79b1429183ae01b0
+crop_vflip f9a15b41ea4034a15d39a2b6f649f1c5
diff --git a/tests/ref/lavfi/null b/tests/ref/lavfi/null
index 3c3b7b742d..dcb6bdf56e 100644
--- a/tests/ref/lavfi/null
+++ b/tests/ref/lavfi/null
@@ -1 +1 @@
-null eba2f135a08829387e2f698ff72a2939
+null 46235acb958138b6a77976601b7045ec
diff --git a/tests/ref/lavfi/pixdesc b/tests/ref/lavfi/pixdesc
index dc1b8572dc..c142ba2b9e 100644
--- a/tests/ref/lavfi/pixdesc
+++ b/tests/ref/lavfi/pixdesc
@@ -1,66 +1,66 @@
-abgr 037bf9df6a765520ad6d490066bf4b89
-argb c442a8261c2265a07212ef0f72e35f5a
-bgr24 0d0cb38ab3fa0b2ec0865c14f78b217b
-bgr444be d9ea9307d21b162225b8b2c524cf9477
-bgr444le 88035350e9da3a8f67387890b956f0bc
-bgr48be 00624e6c7ec7ab19897ba2f0a3257fe8
-bgr48le d02c235ebba7167881ca2d576497ff84
-bgr4_byte 50d23cc82d9dcef2fd12adb81fb9b806
-bgr555be 49f01b1f1f0c84fd9e776dd34cc3c280
-bgr555le 378d6ac4223651a1adcbf94a3d0d807b
-bgr565be 257cf78afa35dc31e9696f139c916715
-bgr565le 1dfdd03995c287e3c754b164bf26a355
-bgr8 24bd566170343d06fec6fccfff5abc54
-bgra 76a18a5151242fa137133f604cd624d2
-gray db08f7f0751900347e6b8649e4164d21
-gray16be 7becf34ae825a3df3969bf4c6bfeb5e2
-gray16le 10bd87059b5c189f3caef2837f4f2b5c
-monob 668ebe8b8103b9046b251b2fa8a1d88f
-monow 9251497f3b0634f1165d12d5a289d943
-nv12 e0af357888584d36eec5aa0f673793ef
-nv21 9a3297f3b34baa038b1f37cb202b512f
-rgb24 b41eba9651e1b5fe386289b506188105
-rgb444be 9e89db334568c6b2e3d5d0540f4ba960
-rgb444le 0a68cb6de8bf530aa30c5c1205c25155
-rgb48be cc139ec1dd9451f0e049c0cb3a0c8aa2
-rgb48le 86c5608904f75360d492dbc5c9589969
-rgb4_byte c93ba89b74c504e7f5ae9d9ab1546c73
-rgb555be 912a62c5e53bfcbac2a0340e10973cf2
+abgr 73847fb78ab01d040bc65307aa2e772d
+argb 68262dbda747e9552cf04a06632a7cee
+bgr24 e288c39c730970ee1056e858adc094a2
+bgr444be d15710f070a201afe2da5bd2fc1c5c76
+bgr444le fb261abd38568e10f8ebb0be52c207ce
+bgr48be 754a33cf60aed44a890d194eb571ec2c
+bgr48le 605447329b7242e41e6e4bcc36f87d06
+bgr4_byte 9028891b9beedf5e1e37f627980da330
+bgr555be 9e49d38ab65413f382cafd46ac469640
+bgr555le fe4784e5d4f66130fa63dee552e4720d
+bgr565be 90625bce942c002aa1b55e6d77d515e2
+bgr565le d036946273d95741eb7a0593988a7090
+bgr8 2180b117a65abfd26a70458c535aa9b1
+bgra 328a76e72c55508cdf04dc93a5b056fc
+gray 847f04953fd848b8c86164d9ba93f54b
+gray16be 56cb2303e2f5f2d3a9260db3d6de26ab
+gray16le 56cb2303e2f5f2d3a9260db3d6de26ab
+monob 0bcbf98de0e633e6ccb62efeb9ab58ef
+monow 37c78ca41610436acf9adf5bca7faea7
+nv12 d5e62031f9870c9d7ff5544475f6e590
+nv21 1f695aff75622765316c3dea6e3f2647
+rgb24 8008d64571c68fce43c083b83513eac3
+rgb444be 40308261161f0c54c0b5a11ce1286d11
+rgb444le b7a68135e696901059751d6a55f40df6
+rgb48be 3044840d35ce6550f77942f8204ba13d
+rgb48le 8b57ae0801998fc463cfd601761d1686
+rgb4_byte 109b9756a6dc5fae6486af9aad150ead
+rgb555be e9a77d923399e647c8f588b3be4cc393
rgb555le a937a0fc764fb57dc1b3af87cba0273c
-rgb565be 9cadf742e05ddc23a3b5b270f89aad3c
-rgb565le d39aa298bb525e9be8860351c6f62dab
-rgb8 4a9d8e4f2f154e83a7e1735be6300700
-rgba 93a5b3712e6eb8c5b9a09ffc7b9fbc12
-uyvy422 adcf64516a19fce44df77082bdb16291
-yuv410p 2d9225153c83ee1132397d619d94d1b3
-yuv411p 8b298af3e43348ca1b11eb8a3252ac6c
-yuv420p eba2f135a08829387e2f698ff72a2939
-yuv420p10be 299fe1d785a3d3dd5e70778700d7fb06
-yuv420p10le 8aee004e765a5383be0954f5e916b72f
-yuv420p16be 16c009a235cd52b74791a895423152a3
-yuv420p16le 2d59c4f1d0314a5a957a7cfc4b6fabcc
+rgb565be 538c8b97606f6d98a7002e4c22b40393
+rgb565le 87ec337363dce156cd18792d22d522a4
+rgb8 c5d664ba16c5cb12d2aaad7d4a68ffca
+rgba ff1a9f355d43f9d25f07a191b5aa906c
+uyvy422 de111a00fa0d71375fea25768d6efe9b
+yuv410p 08cf06ff43081c2224f5c310ea7a14ae
+yuv411p de4c4062be12f1aacf19b741a8733c2b
+yuv420p 46235acb958138b6a77976601b7045ec
+yuv420p10be 7605e266c088d0fcf68c7b27c3ceff5f
+yuv420p10le 4228ee628c6deec123a13b9784516cc7
+yuv420p16be 5cc2373d3d047895a2ebddc4c1283707
+yuv420p16le 5cc2373d3d047895a2ebddc4c1283707
yuv420p9be ce880fa07830e5297c22acf6e20555ce
yuv420p9le 16543fda8f87d94a6cf857d2e8d4461a
-yuv422p c9bba4529821d796a6ab09f6a5fd355a
-yuv422p10be 11af7dfafe8bc025c7e3bd82b830fe8a
-yuv422p10le ec04efb76efa79bf0d02b21572371a56
-yuv422p16be 5499502e1c29534a158a1fe60e889f60
-yuv422p16le e3d61fde6978591596bc36b914386623
+yuv422p bbdc2c9ebbb9cba2683b8215e821bd18
+yuv422p10be bdc13b630fd668b34c6fe1aae28dfc71
+yuv422p10le d0607c260a45c973e6639f4e449730ad
+yuv422p16be 3e7a4994a087400beee8e2ff1010619a
+yuv422p16le e7b0ad57d34744cfbd01f66accc5beb1
yuv422p9be 29b71579946940a8c00fa844c9dff507
yuv422p9le 062b7f9cbb972bf36b5bdb1a7623701a
-yuv440p 5a064afe2b453bb52cdb3f176b1aa1cf
-yuv444p 0a98447b78fd476aa39686da6a74fa2e
-yuv444p10be 71be185a2fb7a353eb024df9bc63212d
-yuv444p10le c1c6b30a12065c7901c0a267e4861a0f
-yuv444p16be 1c6ea2c2f5e539006112ceec3d4e7d90
-yuv444p16le 20f86bc2f68d2b3f1f2b48b97b2189f4
+yuv440p b8fa0df5e6823acbdd1c83b83a44eff7
+yuv444p bf2748223e2c506109b1484ab7c5192c
+yuv444p10be e65cbae7e4f1892c23defbc8e8052cf6
+yuv444p10le 767179dd82846cf00ee4c340c9c1ab74
+yuv444p16be 7e0bfc40d54fb52fa422dafc37780c9b
+yuv444p16le 405cc935bfb502ad26900804875b0a81
yuv444p9be 6ab31f4c12b533ce318ecdff83cdd054
yuv444p9le f0606604a5c08becab6ba500124c4b7c
-yuva420p a29884f3f3dfe1e00b961bc17bef3d47
+yuva420p daf3a17f2dddd6bf9c0281f561e574fd
yuva422p 92b6815f465297284cdb843711682cee
yuva444p c523716e4900cfe515eaab1d7124fdd9
-yuvj420p 32eec78ba51857b16ce9b813a49b7189
-yuvj422p 0dfa0ed434f73be51428758c69e082cb
-yuvj440p 657501a28004e27a592757a7509f5189
-yuvj444p 98d3d054f2ec09a75eeed5d328dc75b7
-yuyv422 f2569f2b5069a0ee0cecae33de0455e3
+yuvj420p 2ec5ee97b265396d426ab2fcf42f5f75
+yuvj422p 40048ec9d2151b927128b7ac93dec259
+yuvj440p 7551571a073caf98805460d31f43a012
+yuvj444p e52f0ea5bf6fb63fcea819f524b5b67e
+yuyv422 492785131c4ffe8ec838fd42c51abaca
diff --git a/tests/ref/lavfi/pixfmts_copy b/tests/ref/lavfi/pixfmts_copy
index dc1b8572dc..c142ba2b9e 100644
--- a/tests/ref/lavfi/pixfmts_copy
+++ b/tests/ref/lavfi/pixfmts_copy
@@ -1,66 +1,66 @@
-abgr 037bf9df6a765520ad6d490066bf4b89
-argb c442a8261c2265a07212ef0f72e35f5a
-bgr24 0d0cb38ab3fa0b2ec0865c14f78b217b
-bgr444be d9ea9307d21b162225b8b2c524cf9477
-bgr444le 88035350e9da3a8f67387890b956f0bc
-bgr48be 00624e6c7ec7ab19897ba2f0a3257fe8
-bgr48le d02c235ebba7167881ca2d576497ff84
-bgr4_byte 50d23cc82d9dcef2fd12adb81fb9b806
-bgr555be 49f01b1f1f0c84fd9e776dd34cc3c280
-bgr555le 378d6ac4223651a1adcbf94a3d0d807b
-bgr565be 257cf78afa35dc31e9696f139c916715
-bgr565le 1dfdd03995c287e3c754b164bf26a355
-bgr8 24bd566170343d06fec6fccfff5abc54
-bgra 76a18a5151242fa137133f604cd624d2
-gray db08f7f0751900347e6b8649e4164d21
-gray16be 7becf34ae825a3df3969bf4c6bfeb5e2
-gray16le 10bd87059b5c189f3caef2837f4f2b5c
-monob 668ebe8b8103b9046b251b2fa8a1d88f
-monow 9251497f3b0634f1165d12d5a289d943
-nv12 e0af357888584d36eec5aa0f673793ef
-nv21 9a3297f3b34baa038b1f37cb202b512f
-rgb24 b41eba9651e1b5fe386289b506188105
-rgb444be 9e89db334568c6b2e3d5d0540f4ba960
-rgb444le 0a68cb6de8bf530aa30c5c1205c25155
-rgb48be cc139ec1dd9451f0e049c0cb3a0c8aa2
-rgb48le 86c5608904f75360d492dbc5c9589969
-rgb4_byte c93ba89b74c504e7f5ae9d9ab1546c73
-rgb555be 912a62c5e53bfcbac2a0340e10973cf2
+abgr 73847fb78ab01d040bc65307aa2e772d
+argb 68262dbda747e9552cf04a06632a7cee
+bgr24 e288c39c730970ee1056e858adc094a2
+bgr444be d15710f070a201afe2da5bd2fc1c5c76
+bgr444le fb261abd38568e10f8ebb0be52c207ce
+bgr48be 754a33cf60aed44a890d194eb571ec2c
+bgr48le 605447329b7242e41e6e4bcc36f87d06
+bgr4_byte 9028891b9beedf5e1e37f627980da330
+bgr555be 9e49d38ab65413f382cafd46ac469640
+bgr555le fe4784e5d4f66130fa63dee552e4720d
+bgr565be 90625bce942c002aa1b55e6d77d515e2
+bgr565le d036946273d95741eb7a0593988a7090
+bgr8 2180b117a65abfd26a70458c535aa9b1
+bgra 328a76e72c55508cdf04dc93a5b056fc
+gray 847f04953fd848b8c86164d9ba93f54b
+gray16be 56cb2303e2f5f2d3a9260db3d6de26ab
+gray16le 56cb2303e2f5f2d3a9260db3d6de26ab
+monob 0bcbf98de0e633e6ccb62efeb9ab58ef
+monow 37c78ca41610436acf9adf5bca7faea7
+nv12 d5e62031f9870c9d7ff5544475f6e590
+nv21 1f695aff75622765316c3dea6e3f2647
+rgb24 8008d64571c68fce43c083b83513eac3
+rgb444be 40308261161f0c54c0b5a11ce1286d11
+rgb444le b7a68135e696901059751d6a55f40df6
+rgb48be 3044840d35ce6550f77942f8204ba13d
+rgb48le 8b57ae0801998fc463cfd601761d1686
+rgb4_byte 109b9756a6dc5fae6486af9aad150ead
+rgb555be e9a77d923399e647c8f588b3be4cc393
rgb555le a937a0fc764fb57dc1b3af87cba0273c
-rgb565be 9cadf742e05ddc23a3b5b270f89aad3c
-rgb565le d39aa298bb525e9be8860351c6f62dab
-rgb8 4a9d8e4f2f154e83a7e1735be6300700
-rgba 93a5b3712e6eb8c5b9a09ffc7b9fbc12
-uyvy422 adcf64516a19fce44df77082bdb16291
-yuv410p 2d9225153c83ee1132397d619d94d1b3
-yuv411p 8b298af3e43348ca1b11eb8a3252ac6c
-yuv420p eba2f135a08829387e2f698ff72a2939
-yuv420p10be 299fe1d785a3d3dd5e70778700d7fb06
-yuv420p10le 8aee004e765a5383be0954f5e916b72f
-yuv420p16be 16c009a235cd52b74791a895423152a3
-yuv420p16le 2d59c4f1d0314a5a957a7cfc4b6fabcc
+rgb565be 538c8b97606f6d98a7002e4c22b40393
+rgb565le 87ec337363dce156cd18792d22d522a4
+rgb8 c5d664ba16c5cb12d2aaad7d4a68ffca
+rgba ff1a9f355d43f9d25f07a191b5aa906c
+uyvy422 de111a00fa0d71375fea25768d6efe9b
+yuv410p 08cf06ff43081c2224f5c310ea7a14ae
+yuv411p de4c4062be12f1aacf19b741a8733c2b
+yuv420p 46235acb958138b6a77976601b7045ec
+yuv420p10be 7605e266c088d0fcf68c7b27c3ceff5f
+yuv420p10le 4228ee628c6deec123a13b9784516cc7
+yuv420p16be 5cc2373d3d047895a2ebddc4c1283707
+yuv420p16le 5cc2373d3d047895a2ebddc4c1283707
yuv420p9be ce880fa07830e5297c22acf6e20555ce
yuv420p9le 16543fda8f87d94a6cf857d2e8d4461a
-yuv422p c9bba4529821d796a6ab09f6a5fd355a
-yuv422p10be 11af7dfafe8bc025c7e3bd82b830fe8a
-yuv422p10le ec04efb76efa79bf0d02b21572371a56
-yuv422p16be 5499502e1c29534a158a1fe60e889f60
-yuv422p16le e3d61fde6978591596bc36b914386623
+yuv422p bbdc2c9ebbb9cba2683b8215e821bd18
+yuv422p10be bdc13b630fd668b34c6fe1aae28dfc71
+yuv422p10le d0607c260a45c973e6639f4e449730ad
+yuv422p16be 3e7a4994a087400beee8e2ff1010619a
+yuv422p16le e7b0ad57d34744cfbd01f66accc5beb1
yuv422p9be 29b71579946940a8c00fa844c9dff507
yuv422p9le 062b7f9cbb972bf36b5bdb1a7623701a
-yuv440p 5a064afe2b453bb52cdb3f176b1aa1cf
-yuv444p 0a98447b78fd476aa39686da6a74fa2e
-yuv444p10be 71be185a2fb7a353eb024df9bc63212d
-yuv444p10le c1c6b30a12065c7901c0a267e4861a0f
-yuv444p16be 1c6ea2c2f5e539006112ceec3d4e7d90
-yuv444p16le 20f86bc2f68d2b3f1f2b48b97b2189f4
+yuv440p b8fa0df5e6823acbdd1c83b83a44eff7
+yuv444p bf2748223e2c506109b1484ab7c5192c
+yuv444p10be e65cbae7e4f1892c23defbc8e8052cf6
+yuv444p10le 767179dd82846cf00ee4c340c9c1ab74
+yuv444p16be 7e0bfc40d54fb52fa422dafc37780c9b
+yuv444p16le 405cc935bfb502ad26900804875b0a81
yuv444p9be 6ab31f4c12b533ce318ecdff83cdd054
yuv444p9le f0606604a5c08becab6ba500124c4b7c
-yuva420p a29884f3f3dfe1e00b961bc17bef3d47
+yuva420p daf3a17f2dddd6bf9c0281f561e574fd
yuva422p 92b6815f465297284cdb843711682cee
yuva444p c523716e4900cfe515eaab1d7124fdd9
-yuvj420p 32eec78ba51857b16ce9b813a49b7189
-yuvj422p 0dfa0ed434f73be51428758c69e082cb
-yuvj440p 657501a28004e27a592757a7509f5189
-yuvj444p 98d3d054f2ec09a75eeed5d328dc75b7
-yuyv422 f2569f2b5069a0ee0cecae33de0455e3
+yuvj420p 2ec5ee97b265396d426ab2fcf42f5f75
+yuvj422p 40048ec9d2151b927128b7ac93dec259
+yuvj440p 7551571a073caf98805460d31f43a012
+yuvj444p e52f0ea5bf6fb63fcea819f524b5b67e
+yuyv422 492785131c4ffe8ec838fd42c51abaca
diff --git a/tests/ref/lavfi/pixfmts_crop b/tests/ref/lavfi/pixfmts_crop
index cbbcf90bbf..4c21df2e78 100644
--- a/tests/ref/lavfi/pixfmts_crop
+++ b/tests/ref/lavfi/pixfmts_crop
@@ -1,42 +1,42 @@
-abgr cd761690872843d1b7ab0c695393c751
-argb 2ec6ef18769bcd651c2e8904d5a3ee67
-bgr24 3450fd00cf1493d1ded75544d82ba3ec
-bgr48be 18ca4002732f278cc9f525215c2fca41
-bgr48le 395a4c187c4e95217d089bd3df9f3654
-bgr4_byte 2f6ac3cdd4676ab4e2982bdf0664945b
-bgr555be d3a7c273604723adeb7e5f5dd1c4272b
-bgr555le d22442fc13b464f9ba455b08df4e981f
-bgr565be fadceef4a64ad6873fcb43ddee0deb3c
-bgr565le 891664e5a54ae5968901347da92bc5e9
-bgr8 4b7159e05765bd4703180072d86423c8
-bgra 395c9f706fccda721471acaa5c96c16c
-gray 8c4850e66562a587a292dc728a65ea4a
-gray16be daa5a6b98fb4a280c57c57bff1a2ab5a
-gray16le 84f5ea7259073edcb893113b42213c8e
-rgb24 3b90ed64b687d3dc186c6ef521dc71a8
-rgb48be e6fd353c0eb9bea889423954414bea35
-rgb48le 68a1723da11ce08b502d42e204376503
-rgb4_byte 6958029f73c6cdfed4f71020d816f027
-rgb555be 41a7d1836837bc90f2cae19a9c9df3b3
+abgr 3ea75d2191e50fd995e79d3167eaf4ac
+argb 1c7637a98e2bfe24bfaea711ded47de4
+bgr24 bf4d4419dbcf9fe22d7dccf137ab53fb
+bgr48be e4d08743c85666faebd9e0b854baeda3
+bgr48le 3507b459228017b619ca3b3eb5bd909d
+bgr4_byte 666299d8a2a910bcc4cf43e9432f7c24
+bgr555be 4bf6af9379dab0d27bf9b4b81ecfd4b7
+bgr555le b30a66789470a32c87342195fb9d5d5c
+bgr565be 335f53034b43d7ef1eac018e1c2ca8d6
+bgr565le c82b62ee67c177b886158d2a19dbd739
+bgr8 c4a9b1d280bd24ed0fc4173b2ce7bde3
+bgra 240b45176dbc6a852ea8ca8b146812ab
+gray 529771169f0fdb6db6a9013c59bbd25c
+gray16be cbb5c394080a5f5bbfbbdc20dbf32dcb
+gray16le cbb5c394080a5f5bbfbbdc20dbf32dcb
+rgb24 08a1446a5547ccc42eefdc0027d35d07
+rgb48be 8734db0ab3316e65fe7693ac6561bacc
+rgb48le 7565b41f4fc1003990b979ee66ebdb7e
+rgb4_byte 590390da81f5d2fde68714a8b107cf91
+rgb555be ea50843338dc30f06b8b6d394bef45ae
rgb555le eeb78f8ce6186fba55c941469e60ba67
-rgb565be b2d1cb525f3a0cfe27753c0d479b2fa9
-rgb565le 6a49700680be9a0d434411825a769556
-rgb8 88b0398c265d1ed7a837dc084fa0917c
-rgba fd00b24c7597268c32759a84a1de2de4
-yuv410p a9f2eaa747bf988b7bebe4f442b9c67a
-yuv411p 3334d3aef8dba238658090ac172375d1
-yuv420p bfea0188ddd4889787c403caae119cc7
-yuv420p16be 8365eff38b8c329aeb95fc605fa229bb
-yuv420p16le 5e8dd38d973d5854abe1ad4efad20cc1
-yuv422p f2f930a91fe00d4252c4720b5ecd8961
-yuv422p16be 167e4338811a7d272925a4c6417d60da
-yuv422p16le 3359395d5875d581fa1e975013d30114
-yuv440p 2472417d980e395ad6843cbb8b633b29
-yuv444p 1f151980486848c96bc5585ced99003e
-yuv444p16be 1ce8fcd4712d525af983e6179d6a4f9e
-yuv444p16le 5f1441e18345aadb3f881dac99c6c08a
-yuva420p 7536753dfbc7932560fb50c921369a0e
-yuvj420p 21f891093006d42d7683b0e1d773a657
-yuvj422p 9a43d474c407590ad8f213880586b45e
-yuvj440p 977351350450ebdbf7a9d20020c6b5a5
-yuvj444p 4a50ba26859dad91dcf7000de0d0efa1
+rgb565be e572eefa20d4bffca22fb556ff1a618a
+rgb565le e3677d571880329ff30fd065eb5b442f
+rgb8 819dfa784f263ae580a4e84873e60dcf
+rgba f44a3fb71c1d1ebbdecc848939453e93
+yuv410p 3ddd9a2cc90bd5c0d065474fa53e4317
+yuv411p e4ab76b73fbeb140e446768137676cd0
+yuv420p 686a5142f158b7fdc55054d35b47b65e
+yuv420p16be e8b764460634b89b676fa535b7426f28
+yuv420p16le e8b764460634b89b676fa535b7426f28
+yuv422p 7e6dc6dc64a2064d40965d7f8100046b
+yuv422p16be dd6937520aea93bd44d3a283f20a0474
+yuv422p16le d4d4f1609a608ff8d5b3c8773aecd4ea
+yuv440p 027343c5aa141b8bcd80c33cd39373d9
+yuv444p b320c72c56eef223b58ac1d033797ee3
+yuv444p16be 32152e1fcb2f0099f85bde4fb6ef9f5a
+yuv444p16le a4df69f0d2ad486b607d86c0c1740504
+yuva420p 05375eeabd41ece7adc70018cf4cc26a
+yuvj420p ecb32a5326230237d073dc8c6e6c63b4
+yuvj422p d41c5038dbe61cf9900ddd67e02fa206
+yuvj440p 722479c15d4cbd1980006a197ec5781c
+yuvj444p e4e0af5f712e2500b16af39336b7438d
diff --git a/tests/ref/lavfi/pixfmts_hflip b/tests/ref/lavfi/pixfmts_hflip
index 3741713ee2..de21812f76 100644
--- a/tests/ref/lavfi/pixfmts_hflip
+++ b/tests/ref/lavfi/pixfmts_hflip
@@ -1,42 +1,42 @@
-abgr 49468c6c9ceee5d52b08b1270a909323
-argb 50ba9f16c6475530602f2983278b82d0
-bgr24 cc53d2011d097972db0d22756c3699e3
-bgr48be 815192d3757c66de97b0d51818acbe0f
-bgr48le 8e4184ac6eae251b4bace51dba7d790c
-bgr4_byte aac987e7d1a6a96477cfc0b48a4285de
-bgr555be bc07265898440116772200390d70c092
-bgr555le ccee08679bac84a1f960c6c9070c5538
-bgr565be e088789ce46224b87c6e46610ef19add
-bgr565le 3703466e19e1b52e03a34fd244a8e8e4
-bgr8 50b505a889f0428242305acb642da107
-bgra 01ca21e7e6a8d1281b4553bde8e8a404
-gray 03efcb4ab52a24c0af0e03cfd26c9377
-gray16be 9bcbca979601ddc4869f846f08f3d1dd
-gray16le c1b8965adcc7f847ee343149ff507073
-rgb24 754f1722fc738590cc407ac65749bfe8
-rgb48be d690412ca5fada031b5da47b87096248
-rgb48le c901feb564232f5d0bc0eabd66dae3e7
-rgb4_byte c8a3f995fcf3e0919239ea2c413ddc29
-rgb555be 045ce8607d3910586f4d97481dda8632
+abgr 66fb925bedc5155194719dffc2c526b5
+argb e972281410a51a47fa21fce9ec52cab5
+bgr24 54739cc1861449697e7877ca37c95750
+bgr48be 7d4c05f2365aa9f3d1ca17c6f8bba55b
+bgr48le 75230cb9bc1381def64609d23797ca30
+bgr4_byte ecf6c84ef788e77eca91f070bfc45efc
+bgr555be 4c447c3c3017f49f52bfc9facdfe3efe
+bgr555le 6c0d129b668964175c67374ea302343e
+bgr565be 3f56b0a17d103c75423c290e037c17bb
+bgr565le 5486be524bd8c8bd947862fa359e0847
+bgr8 d9bb81c2c61befec69cd901420748b1f
+bgra 0de156867e10a7c5626d667dcfe92697
+gray d0b67c9c9c4bdd4c5554f859026490df
+gray16be c87c394fdc24a0b932a02717b37c727c
+gray16le c87c394fdc24a0b932a02717b37c727c
+rgb24 8121483b7fbfd04b4f207d095df0ee69
+rgb48be 7ddbbb77f57a3f2f95521bafab8e526e
+rgb48le 1a3b85db28a0bcb0d16e149f5f85ac3e
+rgb4_byte 5353b86cf87796ba6ad3a99c5b5c8f8f
+rgb555be 01986e19988788506941bacf6584dc3a
rgb555le 8778ee0cf58ce9ad1d99a1eca9f95e87
-rgb565be c8022a1b2470e72f124e4389fad4c372
-rgb565le 2cb690eb3fcb72da3771ad6a48931158
-rgb8 9e462b811b9b6173397b9cfc1f6b2f17
-rgba d3d0dc1ecef3ed72f26a2986d0efc204
-yuv410p acb543ebbbf63eefe533e6faffc006da
-yuv411p c626cf6d191139b4ca7efc0155f957f1
-yuv420p 2d5c80f9ba2ddd85b2aeda3564cc7d64
-yuv420p16be 758b0c1e2113b15e7afde48da4e4d024
-yuv420p16le 480ccd951dcb806bc875d307e02e50a0
-yuv422p 6e728f4eb9eae287c224f396d84be6ea
-yuv422p16be a05d43cd62b790087bd37083174557de
-yuv422p16le 6954abebcbc62d81068d58d0c62bdd5b
-yuv440p a99e2b57ed601f39852715c9d675d0d3
-yuv444p 947e47f7bb5fdccc659d19b7df2b6fc3
-yuv444p16be 58c012e5ab73b066ef3c2b6411a395f1
-yuv444p16le 32c12794e184042a59738ab2de608c8d
-yuva420p d83ec0c01498189f179ec574918185f1
-yuvj420p df3aaaec3bb157c3bde5f0365af30f4f
-yuvj422p d113871528d510a192797af59df9c05c
-yuvj440p 07f5ff12ced85aba1b5cf51692fff4bb
-yuvj444p 8d95f6b4d4c9b4b0389d36df686bfa46
+rgb565be 3b1181680a9a484ae7d931ca6a3b41ed
+rgb565le bdef88bd73ab43a9e18ab64e17c69b5d
+rgb8 2ce33cb6718894f4797f5bae9d61b99f
+rgba 86948ec56f3f88c9141212d083a3f21f
+yuv410p 41c16c3c27b3d709a1a961c774034536
+yuv411p d55b274b5bcbd9292f7b5fff25922733
+yuv420p 6879e666af6a09bed20ee2d593431150
+yuv420p16be cd2f72ae9d8ea1c1b0bfecd8d09d7526
+yuv420p16le cd2f72ae9d8ea1c1b0bfecd8d09d7526
+yuv422p 75b88fe7ab04c45211517c10e30f4899
+yuv422p16be 1e2d97feb13a0e3ca84e43dc81959edb
+yuv422p16le 05525fb698a3ba60e7a1d9e5dbbdfc8c
+yuv440p 4fba8a5673b7fbe8f85dfe461099caa9
+yuv444p 308403326851b9cc7ccb76e6ed30ea7e
+yuv444p16be 05987c028fc245b56f0277f817e1038d
+yuv444p16le 20a15ccef6c0b610dfec596e6f721d57
+yuva420p a9f7c23658929c65112d75d5726d2247
+yuvj420p 0f1581aea00551ba2e49d8b180989197
+yuvj422p 052d108d1ef6c9f8c915b59732bffa74
+yuvj440p 11139dfaa9a0fe49aa9948c94dff0b83
+yuvj444p 9355e3071a619724296b65c8f150e191
diff --git a/tests/ref/lavfi/pixfmts_null b/tests/ref/lavfi/pixfmts_null
index dc1b8572dc..c142ba2b9e 100644
--- a/tests/ref/lavfi/pixfmts_null
+++ b/tests/ref/lavfi/pixfmts_null
@@ -1,66 +1,66 @@
-abgr 037bf9df6a765520ad6d490066bf4b89
-argb c442a8261c2265a07212ef0f72e35f5a
-bgr24 0d0cb38ab3fa0b2ec0865c14f78b217b
-bgr444be d9ea9307d21b162225b8b2c524cf9477
-bgr444le 88035350e9da3a8f67387890b956f0bc
-bgr48be 00624e6c7ec7ab19897ba2f0a3257fe8
-bgr48le d02c235ebba7167881ca2d576497ff84
-bgr4_byte 50d23cc82d9dcef2fd12adb81fb9b806
-bgr555be 49f01b1f1f0c84fd9e776dd34cc3c280
-bgr555le 378d6ac4223651a1adcbf94a3d0d807b
-bgr565be 257cf78afa35dc31e9696f139c916715
-bgr565le 1dfdd03995c287e3c754b164bf26a355
-bgr8 24bd566170343d06fec6fccfff5abc54
-bgra 76a18a5151242fa137133f604cd624d2
-gray db08f7f0751900347e6b8649e4164d21
-gray16be 7becf34ae825a3df3969bf4c6bfeb5e2
-gray16le 10bd87059b5c189f3caef2837f4f2b5c
-monob 668ebe8b8103b9046b251b2fa8a1d88f
-monow 9251497f3b0634f1165d12d5a289d943
-nv12 e0af357888584d36eec5aa0f673793ef
-nv21 9a3297f3b34baa038b1f37cb202b512f
-rgb24 b41eba9651e1b5fe386289b506188105
-rgb444be 9e89db334568c6b2e3d5d0540f4ba960
-rgb444le 0a68cb6de8bf530aa30c5c1205c25155
-rgb48be cc139ec1dd9451f0e049c0cb3a0c8aa2
-rgb48le 86c5608904f75360d492dbc5c9589969
-rgb4_byte c93ba89b74c504e7f5ae9d9ab1546c73
-rgb555be 912a62c5e53bfcbac2a0340e10973cf2
+abgr 73847fb78ab01d040bc65307aa2e772d
+argb 68262dbda747e9552cf04a06632a7cee
+bgr24 e288c39c730970ee1056e858adc094a2
+bgr444be d15710f070a201afe2da5bd2fc1c5c76
+bgr444le fb261abd38568e10f8ebb0be52c207ce
+bgr48be 754a33cf60aed44a890d194eb571ec2c
+bgr48le 605447329b7242e41e6e4bcc36f87d06
+bgr4_byte 9028891b9beedf5e1e37f627980da330
+bgr555be 9e49d38ab65413f382cafd46ac469640
+bgr555le fe4784e5d4f66130fa63dee552e4720d
+bgr565be 90625bce942c002aa1b55e6d77d515e2
+bgr565le d036946273d95741eb7a0593988a7090
+bgr8 2180b117a65abfd26a70458c535aa9b1
+bgra 328a76e72c55508cdf04dc93a5b056fc
+gray 847f04953fd848b8c86164d9ba93f54b
+gray16be 56cb2303e2f5f2d3a9260db3d6de26ab
+gray16le 56cb2303e2f5f2d3a9260db3d6de26ab
+monob 0bcbf98de0e633e6ccb62efeb9ab58ef
+monow 37c78ca41610436acf9adf5bca7faea7
+nv12 d5e62031f9870c9d7ff5544475f6e590
+nv21 1f695aff75622765316c3dea6e3f2647
+rgb24 8008d64571c68fce43c083b83513eac3
+rgb444be 40308261161f0c54c0b5a11ce1286d11
+rgb444le b7a68135e696901059751d6a55f40df6
+rgb48be 3044840d35ce6550f77942f8204ba13d
+rgb48le 8b57ae0801998fc463cfd601761d1686
+rgb4_byte 109b9756a6dc5fae6486af9aad150ead
+rgb555be e9a77d923399e647c8f588b3be4cc393
rgb555le a937a0fc764fb57dc1b3af87cba0273c
-rgb565be 9cadf742e05ddc23a3b5b270f89aad3c
-rgb565le d39aa298bb525e9be8860351c6f62dab
-rgb8 4a9d8e4f2f154e83a7e1735be6300700
-rgba 93a5b3712e6eb8c5b9a09ffc7b9fbc12
-uyvy422 adcf64516a19fce44df77082bdb16291
-yuv410p 2d9225153c83ee1132397d619d94d1b3
-yuv411p 8b298af3e43348ca1b11eb8a3252ac6c
-yuv420p eba2f135a08829387e2f698ff72a2939
-yuv420p10be 299fe1d785a3d3dd5e70778700d7fb06
-yuv420p10le 8aee004e765a5383be0954f5e916b72f
-yuv420p16be 16c009a235cd52b74791a895423152a3
-yuv420p16le 2d59c4f1d0314a5a957a7cfc4b6fabcc
+rgb565be 538c8b97606f6d98a7002e4c22b40393
+rgb565le 87ec337363dce156cd18792d22d522a4
+rgb8 c5d664ba16c5cb12d2aaad7d4a68ffca
+rgba ff1a9f355d43f9d25f07a191b5aa906c
+uyvy422 de111a00fa0d71375fea25768d6efe9b
+yuv410p 08cf06ff43081c2224f5c310ea7a14ae
+yuv411p de4c4062be12f1aacf19b741a8733c2b
+yuv420p 46235acb958138b6a77976601b7045ec
+yuv420p10be 7605e266c088d0fcf68c7b27c3ceff5f
+yuv420p10le 4228ee628c6deec123a13b9784516cc7
+yuv420p16be 5cc2373d3d047895a2ebddc4c1283707
+yuv420p16le 5cc2373d3d047895a2ebddc4c1283707
yuv420p9be ce880fa07830e5297c22acf6e20555ce
yuv420p9le 16543fda8f87d94a6cf857d2e8d4461a
-yuv422p c9bba4529821d796a6ab09f6a5fd355a
-yuv422p10be 11af7dfafe8bc025c7e3bd82b830fe8a
-yuv422p10le ec04efb76efa79bf0d02b21572371a56
-yuv422p16be 5499502e1c29534a158a1fe60e889f60
-yuv422p16le e3d61fde6978591596bc36b914386623
+yuv422p bbdc2c9ebbb9cba2683b8215e821bd18
+yuv422p10be bdc13b630fd668b34c6fe1aae28dfc71
+yuv422p10le d0607c260a45c973e6639f4e449730ad
+yuv422p16be 3e7a4994a087400beee8e2ff1010619a
+yuv422p16le e7b0ad57d34744cfbd01f66accc5beb1
yuv422p9be 29b71579946940a8c00fa844c9dff507
yuv422p9le 062b7f9cbb972bf36b5bdb1a7623701a
-yuv440p 5a064afe2b453bb52cdb3f176b1aa1cf
-yuv444p 0a98447b78fd476aa39686da6a74fa2e
-yuv444p10be 71be185a2fb7a353eb024df9bc63212d
-yuv444p10le c1c6b30a12065c7901c0a267e4861a0f
-yuv444p16be 1c6ea2c2f5e539006112ceec3d4e7d90
-yuv444p16le 20f86bc2f68d2b3f1f2b48b97b2189f4
+yuv440p b8fa0df5e6823acbdd1c83b83a44eff7
+yuv444p bf2748223e2c506109b1484ab7c5192c
+yuv444p10be e65cbae7e4f1892c23defbc8e8052cf6
+yuv444p10le 767179dd82846cf00ee4c340c9c1ab74
+yuv444p16be 7e0bfc40d54fb52fa422dafc37780c9b
+yuv444p16le 405cc935bfb502ad26900804875b0a81
yuv444p9be 6ab31f4c12b533ce318ecdff83cdd054
yuv444p9le f0606604a5c08becab6ba500124c4b7c
-yuva420p a29884f3f3dfe1e00b961bc17bef3d47
+yuva420p daf3a17f2dddd6bf9c0281f561e574fd
yuva422p 92b6815f465297284cdb843711682cee
yuva444p c523716e4900cfe515eaab1d7124fdd9
-yuvj420p 32eec78ba51857b16ce9b813a49b7189
-yuvj422p 0dfa0ed434f73be51428758c69e082cb
-yuvj440p 657501a28004e27a592757a7509f5189
-yuvj444p 98d3d054f2ec09a75eeed5d328dc75b7
-yuyv422 f2569f2b5069a0ee0cecae33de0455e3
+yuvj420p 2ec5ee97b265396d426ab2fcf42f5f75
+yuvj422p 40048ec9d2151b927128b7ac93dec259
+yuvj440p 7551571a073caf98805460d31f43a012
+yuvj444p e52f0ea5bf6fb63fcea819f524b5b67e
+yuyv422 492785131c4ffe8ec838fd42c51abaca
diff --git a/tests/ref/lavfi/pixfmts_pad b/tests/ref/lavfi/pixfmts_pad
index 03db5a7efd..c92c4062f1 100644
--- a/tests/ref/lavfi/pixfmts_pad
+++ b/tests/ref/lavfi/pixfmts_pad
@@ -1,17 +1,17 @@
-abgr e8e5e350c856c051d502cd435a2aa0bd
-argb a98e0a1213824ee4566d4891468bb614
-bgr24 ac7417cea8d6e799a31a3c9a39b8f202
-bgra 6113a09a023cb2b08e9cad78eb1eb37a
-rgb24 65eed443acc66c4f02bab6df4ebed515
-rgba 74d4158ad0c626e9a7c6923b9ca73294
-yuv410p a5210eb6a9b10c3269899b935df9a2d6
-yuv411p a23380c9698e2d80c9fa8a8b6d4f6854
-yuv420p f8733600369adaea28aa445dbdf2ed4c
-yuv422p 3e0d822c11c716e7636387b1bf27c5ff
-yuv440p 225dd7fbc8cceb24c26b765187d43a9e
-yuv444p 45484f0411d336ce94636da0395f4692
-yuva420p 919722724765dc3a716c38fa53b20580
-yuvj420p 4f20e2799966c21a9d9e0788b0956925
-yuvj422p e4d84b0683f77a76f1c17d976eff127c
-yuvj440p 33511c43339aa32533ab832861c150c3
-yuvj444p 82f0badd9d0c062bbfa0d9d73d7240a3
+abgr 2c47ea5ec3da5dc7f4d2e141fd6841b9
+argb 67430e1f50e4be0913d2cf7d2b6ba4ba
+bgr24 5c2e45d97a6c4704882588a7ffae238d
+bgra 4030517e296b927680860ba9b0a52e23
+rgb24 2df6b34af4c559b8cfc58a2aeeaa65d5
+rgba e43c083a669144b3c17a833bb19b001d
+yuv410p 1d752918e7825f189b9ad001e644545a
+yuv411p 7422262bf0395696b8a93c0740ba6e4e
+yuv420p d42c9cb1b2185d204012bb19115ad4b0
+yuv422p 2b58291021951d7b24464cdf8b3ca7a0
+yuv440p a5faea7fe20425e5fe17739078e22be6
+yuv444p 4d369cf27838adf636fcaba7dde5e0ea
+yuva420p 8d9eb742292e8c99c33fb427111f8064
+yuvj420p 02373f923648cc7e856c3c2ba5c8f927
+yuvj422p 3d34416c03bb783befe22ca76a00e863
+yuvj440p 9f0ba799129481b00483ef81c9b97991
+yuvj444p ee4a9c1fafb0a33f39975f3b82e5e1c4
diff --git a/tests/ref/lavfi/pixfmts_scale b/tests/ref/lavfi/pixfmts_scale
index acd40e3451..f2bd0d79e2 100644
--- a/tests/ref/lavfi/pixfmts_scale
+++ b/tests/ref/lavfi/pixfmts_scale
@@ -1,66 +1,66 @@
-abgr d894cb97f6c80eb21bdbe8a4eea62d86
-argb 54346f2b2eef10919e0f247241df3b24
-bgr24 570f8d6b51a838aed022ef67535f6bdc
-bgr444be 25fe04f73a3bad4140d1c4f96ca5b670
-bgr444le 2fde227e6cea6dca5decdd0b7c0866f7
-bgr48be 390d3058a12a99c2b153ed7922508bea
-bgr48le 39fe06feb4ec1d9730dccc04a0cfac4c
-bgr4_byte ee1d35a7baf8e9016891929a2f565c0b
-bgr555be de8901c1358834fddea060fcb3a67beb
-bgr555le 36b745067197f9ca8c1731cac51329c9
-bgr565be 922a2503767036ae9536f4f7823c04ee
-bgr565le 3a514a298c6161a071ddf9963c06509d
-bgr8 7f007fa6c153a16e808a9c51605a4016
-bgra a5e7040f9a80cccd65e5acf2ca09ace5
-gray d7786a7d9d99ac74230cc045cab5632c
-gray16be b554d6c1cc8da23967445be4dd3e4a86
-gray16le 715a33aa1c19cb26b14f5cc000e7a3d1
-monob 88c4c050758e64d120f50c7eff694381
-monow d31772ebaa877fc2a78565937f7f9673
-nv12 4676d59db43d657dc12841f6bc3ab452
-nv21 69c699510ff1fb777b118ebee1002f14
-rgb24 514692e28e8ff6860e415ce4fcf6eb8c
-rgb444be 12254053ae93373869fca18b2afcba31
-rgb444le badbd68b59c87df6ae73248309637634
-rgb48be 8fac63787a711886030f8e056872b488
-rgb48le ab92f2763a2eb264c3870cc758f97149
-rgb4_byte d81ffd3add95842a618eec81024f0b5c
-rgb555be 4607309f9f217d51cbb53d13b84b4537
+abgr f4b0c8dbb5bdfec99958a28e2d324ac9
+argb 16ca3931f0dbe94e398ea48a5bf58b70
+bgr24 888ec832a959f32a4e3904080dbb73ac
+bgr444be d95f525f577fa72db9657caf164df1e5
+bgr444le 153fe93cbfb5f6dc847871f87bd21c0a
+bgr48be 36d5cf796df5ec2bdbeca030a33023f8
+bgr48le 0f8ecc15b505571b56aa7b9b5989f523
+bgr4_byte 67d4eed793b35b806ca8280319bd5afe
+bgr555be b297460489fd56ca5f2ea4ae65021f49
+bgr555le 356e789afbc2a0405af7153b5e729bf7
+bgr565be 58a1111d00a0c3291dfa69c86e9641dc
+bgr565le 0842a7981c039178405cd7788e9370e0
+bgr8 4e2078f78e5e3d36bd31ae5ee6ef7c6a
+bgra 98dc319426077e7754516e92e4f85aa6
+gray 9737d613a3bcdc2b36f74cc7ac4a51d9
+gray16be 278ab69e5754945d985b299d5e1fa35a
+gray16le fe0bce884a330dab249a26edaa0d2ec0
+monob 682379f77415663f1dec565f2fd54489
+monow 1cd1c265dc23d0b1ac65dd4307a99d59
+nv12 1c44aec0a654fab88edfeadc39e09e4e
+nv21 9a8aebe1a3883862320c73feee73a7a0
+rgb24 b3c88f4ccc3a47604c81527fb946fc81
+rgb444be 91ccc230a97958e4e6c6bdbffebdafa4
+rgb444le b784ed1a3ebd2038798cf9e68a3a5363
+rgb48be 93ecaa3d1a411f5518ec44ea30ac2a1f
+rgb48le a04c290a53f76e8a1eaaa79a7d803591
+rgb4_byte f1a1f3d0958a0e427ae42b30cb0aa387
+rgb555be 74cdf63552a6bb2516f81bed47bf6904
rgb555le a350ef1dc2c9688ed49e7ba018843795
-rgb565be 678ce231c4ea13629c1353b1df4ffbef
-rgb565le 6f4bb711238baa762d73305213f8d035
-rgb8 091d0170b354ef0e97312b95feb5483f
-rgba a3d362f222098a00e63867f612018659
-uyvy422 314bd486277111a95d9369b944fa0400
-yuv410p 7df8f6d69b56a8dcb6c7ee908e5018b5
-yuv411p 1143e7c5cc28fe0922b051b17733bc4c
-yuv420p fdad2d8df8985e3d17e73c71f713cb14
-yuv420p10be 27f28a6e09b1c04d0f755035a5db1f43
-yuv420p10le a5a1692e026590ba2eddb46b9b827529
-yuv420p16be d7270efce54eb59c7b01c14157a1b890
-yuv420p16le e85abf00bad940a922b623c91c9026d7
+rgb565be 3dff89b6f3fcab02c752041737fb42aa
+rgb565le 3a6252b6a1ad70f2478c08da07d27261
+rgb8 89f284975ee055c2e8c01143facb7c06
+rgba fb2184a9bc2186f7b3c4fec1cfab7048
+uyvy422 eb46505182922bf2ce2bfdf70d45e8b9
+yuv410p 6518712b80313c0415770ce7dd669e54
+yuv411p a00f5d54beb3b75b2a60b754d04532dc
+yuv420p 0c9995813a18c9f5d050ff706d5fd4a6
+yuv420p10be c143e77e97d2f7d62c3b518857ba9f9b
+yuv420p10le 72d90eccf5c34691ff057dafb7447aa2
+yuv420p16be 8467c2c5a44275b7a0d3a0372986ce9d
+yuv420p16le 3934438e67be71b72589ec15d700eaac
yuv420p9be bb87fddca65d1742412c8d2b1caf96c6
yuv420p9le 828eec50014a41258a5423c1fe56ac97
-yuv422p 918e37701ee7377d16a8a6c119c56a40
-yuv422p10be 315654908d50718e175aae018c484732
-yuv422p10le 91bbc78a9a56f659b55abc17722dcc09
-yuv422p16be e7e34fe9264784763ab6cb406524c0f3
-yuv422p16le c435b76b08204dda6908640fb5fd4621
+yuv422p c4f6a86378430e898952b5566dfe5606
+yuv422p10be cea7ca6b0e66d6f29539885896c88603
+yuv422p10le a10c4a5837547716f13cd61918b145f9
+yuv422p16be c9c8e130f19c1c01936296f7177ff98d
+yuv422p16le c652b73e866e1f9aa1acb7dfb0bc7a57
yuv422p9be 82494823944912f73cebc58ad2979bbd
yuv422p9le fc69c8a21f473916a4b4225636b97e06
-yuv440p 461503fdb9b90451020aa3b25ddf041c
-yuv444p 81b2eba962d12e8d64f003ac56f6faf2
-yuv444p10be fb304d77c6d2e18df5938662a22176f0
-yuv444p10le b17136913eb066dca6be6af645b9f7e8
-yuv444p16be 0da9bed80f5542682ab286f3261cf24c
-yuv444p16le a0c5d3c7bf3f181db503cf8e450d1335
+yuv440p 8187c98127e06b4fb1b34cc592147fd3
+yuv444p c5cfe213b7559f76df493d8ea2f64a9c
+yuv444p10be e9d3c8e744b8b0d8187ca092fa203fc9
+yuv444p10le 02f0a336e9da062a64df1ba487e102c5
+yuv444p16be afaaf3fb1ba4764e5f9ea873e3f34c7e
+yuv444p16le 69300728abdbbe8da82dd7116f04a599
yuv444p9be 9ac2643ce7f7e5c4e17c8c9fd8494d4a
yuv444p9le 896a1cc9cccca1ba410dd53942d33cc4
-yuva420p 8673a9131fb47de69788863f93a50eb7
+yuva420p fdb69fb6cc9e3aa983374c9db8f29eec
yuva422p 3c76ebeca0a7d3aa5f8e31ef80a86ffe
yuva444p 3268c6abe5e3cdbd16552a1eddced816
-yuvj420p 30427bd6caf5bda93a173dbebe759e09
-yuvj422p fc8288f64fd149573f73cf8da05d8e6d
-yuvj440p 508ac7a9ddeb6d1794a1100ba7a1664c
-yuvj444p 73aebe144085b22d1189caf6ca07e18c
-yuyv422 169e19ac91b257bd84ace0fdf56559ad
+yuvj420p 010ce3f530e23e3dddb78c7b32aa4ed4
+yuvj422p 7ac51d77ebf61c0372c56c7c7ff5913f
+yuvj440p 2bb582a8e6beddaa8bf3d96858d903ac
+yuvj444p 674375ff81cbd8bb96bca4566f620ba7
+yuyv422 9d6d9667443e4359b392e5e7af5a82ec
diff --git a/tests/ref/lavfi/pixfmts_vflip b/tests/ref/lavfi/pixfmts_vflip
index a4dffb9c22..f980d07a39 100644
--- a/tests/ref/lavfi/pixfmts_vflip
+++ b/tests/ref/lavfi/pixfmts_vflip
@@ -1,66 +1,66 @@
-abgr 25e72e9dbd01ab00727c976d577f7be5
-argb 19869bf1a5ac0b6af4d8bbe2c104533c
-bgr24 89108a4ba00201f79b75b9305c42352d
-bgr444be 9ef12c42fb791948ca4423c452dc6b9a
-bgr444le 3650ecfc163abd1596c0cd29d130c4b0
-bgr48be 2f23931844f57641f3737348182d118c
-bgr48le 4242a026012b6c135a6aa138a6d67031
-bgr4_byte 407fcf564ed764c38e1d748f700ab921
-bgr555be f739d2519f7e9d494359bf67a3821537
-bgr555le bd7b3ec4d684dfad075d89a606cb8b74
-bgr565be f19e9a4786395e1ddcd51399c98c9f6c
-bgr565le fdb617533e1e7ff512ea5b6b6233e738
-bgr8 c60f93fd152c6903391d1fe9decd3547
-bgra 7f9b799fb48544e49ce93e91d7f9fca8
-gray 30d9014a9d43b5f37e7aa64be3a3ecfc
-gray16be 6b84b85d3326182fa1217e138249edc5
-gray16le 66bb8faa09dc149734aca3c768a6d4e1
-monob d0cf8732677a5360b6160133043590d8
-monow ff9869d067ecb94eb9d90c9750c31fea
-nv12 046f00f598ce14d9854a3534a5c99114
-nv21 01ea369dd2d0d3ed7451dc5c8d61497f
-rgb24 eaefabc168d0b14576bab45bc1e56e1e
-rgb444be 06722e03f8404e7d2226665ed2444a32
-rgb444le 185c9a5d9c2877484310d4196ef4cd6f
-rgb48be 62dd185862ed142283bd300eb6dbd216
-rgb48le dcb76353268bc5862194d131762220da
-rgb4_byte 8c6ff02df0b06dd2d574836c3741b2a2
-rgb555be 40dc33cfb5cf56aac1c5a290ac486c36
+abgr 39270c968598bac0ef53faaa5f9ab7cd
+argb 099dc071d7385b2958e36604c2fbf4ef
+bgr24 d7fd19a5e2ddec014ec483a6f807f773
+bgr444be 315a3d2b921326db4aeef512c674834f
+bgr444le 42ad8afaa17d8256eb5c8616af5b5fc3
+bgr48be 159bb03b8383a8231c7faf4462bf4a3f
+bgr48le 4ce6287c9dc835366d695afefdfa6da7
+bgr4_byte 384ddc3c9797f08f468b33328952d7c0
+bgr555be 105658d99e190e5b64f5858484606501
+bgr555le e1761ffd7aa99b66e0e026b7b4a20ae5
+bgr565be ac19809e846662b237112d117d0cf056
+bgr565le 5bcafb5b24abf9feaf95b70380cd4494
+bgr8 92aff068b09448adc0643f6c807a78fc
+bgra e03d3ee0b977f6d86e5116b20494bef5
+gray 6c44273c4a4a9676078fb2680259d9d6
+gray16be 9816387666a24fbec942cf1636ae7bac
+gray16le 9816387666a24fbec942cf1636ae7bac
+monob 1173d22fcaa1dcd26c0bd5a906928033
+monow 77021318fe158b1a08f2fd5e712a5e6c
+nv12 539436fde931a45cb438d7902de7b6c0
+nv21 c6357ecd64dae698e25c3ca3f2331500
+rgb24 1af81a69b65c340b3b8f43150c568f4e
+rgb444be 9ccc19256e99503a5656bb88f0faf8b7
+rgb444le 5a23015e7df8a0f45dd2a86cbe8ca37c
+rgb48be 074f11f466ff6fc2bfebdad3136e0d6b
+rgb48le da585c76f8411e58d31c94a51b66e8c4
+rgb4_byte d4349af4d8868b8740fcf1dad1363e77
+rgb555be 8e983bde68651b279f6b9fdc89eb1416
rgb555le 4f8eaad29a17e0f8e9d8ab743e76b999
-rgb565be b57623ad9df74648339311a0edcebc7b
-rgb565le 73f247a3315dceaea3022ac7c197c5ef
-rgb8 13a8d89ef78d8127297d899005456ff0
-rgba 1fc6e920a42ec812aaa3b2aa02f37987
-uyvy422 ffbd36720c77398d9a0d03ce2625928f
-yuv410p 7bfb39d7afb49d6a6173e6b23ae321eb
-yuv411p 4a90048cc3a65fac150e53289700efe1
-yuv420p 2e6d6062e8cad37fb3ab2c433b55f382
-yuv420p10be fb0772f5e2b9da20ff826e64c3893137
-yuv420p10le e95879e14c4a6805f39643964baf41f7
-yuv420p16be 539076782902664a8acf381bf4f713e8
-yuv420p16le 0f609e588e5a258644ef85170d70e030
+rgb565be a9483bdaec8840b6e7b2256dda00bfad
+rgb565le fc681b3d23ad9ef7e8c83c93e4ef37b1
+rgb8 85d929a91b543b3ed871f3b5d702e47c
+rgba 330bd6168e46c0d5eb4acbdbb50afa2e
+uyvy422 5fb09cfbc5c15e900522e86fdc0bab46
+yuv410p a2f9fa925a788be39635d9d25d5a33e1
+yuv411p 481acae2a62cb6cb59948353fb1bdcf0
+yuv420p 2a723a3b78a86381fd9331e85385f612
+yuv420p10be df97d20b3b4a10c174d4360552c4160d
+yuv420p10le 4b5249208602b941332945c926f80ae9
+yuv420p16be d7c65e21af4366760c9196cb54841577
+yuv420p16le d7c65e21af4366760c9196cb54841577
yuv420p9be be40ec975fb2873891643cbbbddbc3b0
yuv420p9le 7e606310d3f5ff12badf911e8f333471
-yuv422p d7f5cb44d9b0210d66d6a8762640ab34
-yuv422p10be 0be8378c3773e1c0b394315ef4994351
-yuv422p10le 6518094fe8de6bee95af21af1e5dc1e1
-yuv422p16be 9bd8f8c961822b586fa4cf992be54acc
-yuv422p16le 9c4a1239605c7952b736ac3130163f14
+yuv422p 3c6cd98020a8822430015a1d4f643f6c
+yuv422p10be 588fe319b96513c32e21d3e32b45447f
+yuv422p10le 11b57f2bd9661024153f3973b9090cdb
+yuv422p16be 161f9b97be9dd6801878a0ee2f8149de
+yuv422p16le 98165fb4c7a8ba83fb592021347d7212
yuv422p9be 7c6f1e140b3999ee7d923854e507752a
yuv422p9le 51f10d79c07989060dd06e767e6d7d60
-yuv440p 876385e96165acf51271b20e5d85a416
-yuv444p 9c3c667d1613b72d15bc6d851c5eb8f7
-yuv444p10be ee069cc6db48975eb029d72f889a7fe6
-yuv444p10le 645b3335248113cafe3c29edb1d7f3be
-yuv444p16be de2dedfc6f12073ffead113f86e07ecf
-yuv444p16le 8e83323cf102d6c823a03ae8a7b7e033
+yuv440p 0b9b909c1fbc520cc91f1b2bc319f84c
+yuv444p bc483d89637ed7d27cde1d1085154564
+yuv444p10be 944a4997c4edb3a8dd0f0493cfd5a1fd
+yuv444p10le 2d0947ae89ecc6a501eee6832cb27e06
+yuv444p16be 3dde1ec591100800d4ee6ec931ac1c4d
+yuv444p16le 506ad8e766ee0b601e18a4290d2b9c1f
yuv444p9be 6ac92b7dc9ab2fc59bee99204886899a
yuv444p9le 85aef13a654953d3455d89770b0d74bd
-yuva420p c705d1cf061d8c6580ac690b55f92276
+yuva420p 34af9677e70b0d54a42d44107f6e5cff
yuva422p 6aed0ea657ed51cc047a4fbdd981aec8
yuva444p da5d64f2b2bd2013c186456f595fad65
-yuvj420p 41fd02b204da0ab62452cd14b595e2e4
-yuvj422p 7f6ca9bc1812cde02036d7d29a7cce43
-yuvj440p 25711c3c0fd15ec19c59a10784fcfb96
-yuvj444p e45dee2ac02276dfab92e8ebfbe52e00
-yuyv422 e944ff7316cd03c42c091717ce74f602
+yuvj420p 20f0ff8b4e202bd0a118acca9c774beb
+yuvj422p 948e6239dfc78a85a575d92e7968bb6f
+yuvj440p 60cfe7a12efa3c75a60579d56cd8f5c6
+yuvj444p ff09cf2a6250f08c130cd91402d67c80
+yuyv422 fa64091239484eb461f44f54f324bb80
diff --git a/tests/ref/lavfi/scale200 b/tests/ref/lavfi/scale200
index 17103a256d..dbb3be7327 100644
--- a/tests/ref/lavfi/scale200
+++ b/tests/ref/lavfi/scale200
@@ -1 +1 @@
-scale200 aebdc1c3e08da2a925ba7212b1fadee0
+scale200 c11aba7c133cba17d8e522c1904a98d5
diff --git a/tests/ref/lavfi/scale500 b/tests/ref/lavfi/scale500
index 93ba4f2485..b1a9b9d9b7 100644
--- a/tests/ref/lavfi/scale500
+++ b/tests/ref/lavfi/scale500
@@ -1 +1 @@
-scale500 ef865c51156e55ce1ce38c8f90a709e6
+scale500 4815689a16d30fcb858ca6cfc20dbceb
diff --git a/tests/ref/lavfi/vflip b/tests/ref/lavfi/vflip
index 66b873270a..51456eafbf 100644
--- a/tests/ref/lavfi/vflip
+++ b/tests/ref/lavfi/vflip
@@ -1 +1 @@
-vflip 2e6d6062e8cad37fb3ab2c433b55f382
+vflip 2a723a3b78a86381fd9331e85385f612
diff --git a/tests/ref/lavfi/vflip_crop b/tests/ref/lavfi/vflip_crop
index 6bb832f4cc..0a83fb0ede 100644
--- a/tests/ref/lavfi/vflip_crop
+++ b/tests/ref/lavfi/vflip_crop
@@ -1 +1 @@
-vflip_crop 72ee0d0dfc8af0cd94a466760313654d
+vflip_crop 23998d61923d72982c618ed806d6cf9d
diff --git a/tests/ref/lavfi/vflip_vflip b/tests/ref/lavfi/vflip_vflip
index b719745dc6..0d067e9be7 100644
--- a/tests/ref/lavfi/vflip_vflip
+++ b/tests/ref/lavfi/vflip_vflip
@@ -1 +1 @@
-vflip_vflip eba2f135a08829387e2f698ff72a2939
+vflip_vflip 46235acb958138b6a77976601b7045ec