[FFmpeg-devel,1/5] tests/fate-run: only support le format result on pixfmts

Submitted by Muhammad Faiz on Jan. 27, 2019, 9:36 a.m.

Details

Message ID 20190127093619.28904-1-mfcc64@gmail.com
State New
Headers show

Commit Message

Muhammad Faiz Jan. 27, 2019, 9:36 a.m.
regardless of the actual supported formats.
This allows filters to support only native-endian formats,
and also allows consistency checks between little-endian
and big-endian implementation.

This also reveals bugs on gbrap10, p010, p016 format, and
super2xsai filter (mismatched checksums between little-endian
and big-endian).

Suggested-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
---
Old thread is here: https://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195930.html

 tests/fate-run.sh                        |   6 +-
 tests/ref/fate/filter-pixfmts-copy       | 112 +++++++++++------------
 tests/ref/fate/filter-pixfmts-crop       | 112 +++++++++++------------
 tests/ref/fate/filter-pixfmts-field      | 112 +++++++++++------------
 tests/ref/fate/filter-pixfmts-fieldorder |  88 +++++++++---------
 tests/ref/fate/filter-pixfmts-hflip      | 112 +++++++++++------------
 tests/ref/fate/filter-pixfmts-il         | 112 +++++++++++------------
 tests/ref/fate/filter-pixfmts-null       | 112 +++++++++++------------
 tests/ref/fate/filter-pixfmts-scale      | 112 +++++++++++------------
 tests/ref/fate/filter-pixfmts-super2xsai |   8 +-
 tests/ref/fate/filter-pixfmts-swapuv     |  56 ++++++------
 tests/ref/fate/filter-pixfmts-transpose  |  90 +++++++++---------
 tests/ref/fate/filter-pixfmts-vflip      | 112 +++++++++++------------
 13 files changed, 573 insertions(+), 571 deletions(-)

Comments

Carl Eugen Hoyos Jan. 27, 2019, 12:17 p.m.
2019-01-27 10:36 GMT+01:00, Muhammad Faiz <mfcc64@gmail.com>:

> -bgra64be            c8d3217bf58d34f080ac88c0b0012c77
> +bgra64le            b71d75a928aac14cb768403e6f6a9910
>  bgra64le            b71d75a928aac14cb768403e6f6a9910

I believe the output should be changed to make it less
confusing.

Carl Eugen
Muhammad Faiz Jan. 27, 2019, 2:05 p.m.
On Sun, Jan 27, 2019 at 7:17 PM Carl Eugen Hoyos <ceffmpeg@gmail.com> wrote:
>
> 2019-01-27 10:36 GMT+01:00, Muhammad Faiz <mfcc64@gmail.com>:
>
> > -bgra64be            c8d3217bf58d34f080ac88c0b0012c77
> > +bgra64le            b71d75a928aac14cb768403e6f6a9910
> >  bgra64le            b71d75a928aac14cb768403e6f6a9910
>
> I believe the output should be changed to make it less
> confusing.

Any attempt to differentiate these two lines makes [4/5] and [5/5] don't work.
Carl Eugen Hoyos Jan. 27, 2019, 2:15 p.m.
2019-01-27 15:05 GMT+01:00, Muhammad Faiz <mfcc64@gmail.com>:
> On Sun, Jan 27, 2019 at 7:17 PM Carl Eugen Hoyos <ceffmpeg@gmail.com> wrote:
>>
>> 2019-01-27 10:36 GMT+01:00, Muhammad Faiz <mfcc64@gmail.com>:
>>
>> > -bgra64be            c8d3217bf58d34f080ac88c0b0012c77
>> > +bgra64le            b71d75a928aac14cb768403e6f6a9910
>> >  bgra64le            b71d75a928aac14cb768403e6f6a9910
>>
>> I believe the output should be changed to make it less
>> confusing.
>
> Any attempt to differentiate these two lines makes [4/5]
> and [5/5] don't work.

I wonder if this just indicates that your approach is wrong,
and that the tests for the filters in question have to be
(completely) different.

Carl Eugen
Muhammad Faiz Jan. 27, 2019, 3:07 p.m.
On Sun, Jan 27, 2019 at 9:15 PM Carl Eugen Hoyos <ceffmpeg@gmail.com> wrote:
>
> 2019-01-27 15:05 GMT+01:00, Muhammad Faiz <mfcc64@gmail.com>:
> > On Sun, Jan 27, 2019 at 7:17 PM Carl Eugen Hoyos <ceffmpeg@gmail.com> wrote:
> >>
> >> 2019-01-27 10:36 GMT+01:00, Muhammad Faiz <mfcc64@gmail.com>:
> >>
> >> > -bgra64be            c8d3217bf58d34f080ac88c0b0012c77
> >> > +bgra64le            b71d75a928aac14cb768403e6f6a9910
> >> >  bgra64le            b71d75a928aac14cb768403e6f6a9910
> >>
> >> I believe the output should be changed to make it less
> >> confusing.
> >
> > Any attempt to differentiate these two lines makes [4/5]
> > and [5/5] don't work.
>
> I wonder if this just indicates that your approach is wrong,
> and that the tests for the filters in question have to be
> (completely) different.

How can this approach be wrong if it revealed bug?
Michael Niedermayer Jan. 27, 2019, 3:53 p.m.
On Sun, Jan 27, 2019 at 04:36:15PM +0700, Muhammad Faiz wrote:
> regardless of the actual supported formats.
> This allows filters to support only native-endian formats,
> and also allows consistency checks between little-endian
> and big-endian implementation.
> 
> This also reveals bugs on gbrap10, p010, p016 format, and
> super2xsai filter (mismatched checksums between little-endian
> and big-endian).
> 
> Suggested-by: Hendrik Leppkes <h.leppkes@gmail.com>
> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
> ---
> Old thread is here: https://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195930.html
> 
>  tests/fate-run.sh                        |   6 +-
>  tests/ref/fate/filter-pixfmts-copy       | 112 +++++++++++------------
>  tests/ref/fate/filter-pixfmts-crop       | 112 +++++++++++------------
>  tests/ref/fate/filter-pixfmts-field      | 112 +++++++++++------------
>  tests/ref/fate/filter-pixfmts-fieldorder |  88 +++++++++---------
>  tests/ref/fate/filter-pixfmts-hflip      | 112 +++++++++++------------
>  tests/ref/fate/filter-pixfmts-il         | 112 +++++++++++------------
>  tests/ref/fate/filter-pixfmts-null       | 112 +++++++++++------------
>  tests/ref/fate/filter-pixfmts-scale      | 112 +++++++++++------------
>  tests/ref/fate/filter-pixfmts-super2xsai |   8 +-
>  tests/ref/fate/filter-pixfmts-swapuv     |  56 ++++++------
>  tests/ref/fate/filter-pixfmts-transpose  |  90 +++++++++---------
>  tests/ref/fate/filter-pixfmts-vflip      | 112 +++++++++++------------
>  13 files changed, 573 insertions(+), 571 deletions(-)
> 
> diff --git a/tests/fate-run.sh b/tests/fate-run.sh
> index aece90a01d..faa4285e71 100755
> --- a/tests/fate-run.sh
> +++ b/tests/fate-run.sh
> @@ -297,8 +297,10 @@ pixfmts(){
>  
>      outertest=$test
>      for pix_fmt in $pix_fmts; do
> -        test=$pix_fmt
> -        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt -frames:v $nframes
> +        # force little endian format on result
> +        pix_fmt_le=`echo $pix_fmt | sed 's/be$/le/'`
> +        test=$pix_fmt_le
> +        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt_le -frames:v $nframes
>      done

if the input to a filter is a big endian format and the output is little
endian. Then there really isnt a gurantee that the filter will work with
big endian data. The libavfilter core could convert before or after the filter
as it preferrs. At least thats how i remember it from the last time i looked
at the code.
This also makes sense, as there are very good reasons to convert before,
for example when doing so results in better quality or higher speed
or fewer converts overall in multi input or multi output filters...

So if the output is always forced to LE then this may unintentionally
remove testing a range of cases.
also this removes testing the codepath for big endian formats after the
convert. Or do we have remaining cases that test these ?

I am in favor of adding more and better tests but please make sure
no codepathes drop out of all tests. (and not just by chance of the
format negotiation randomly picking the intended choice, which it
very well might)

thanks

[...]
Carl Eugen Hoyos Jan. 27, 2019, 3:54 p.m.
2019-01-27 16:07 GMT+01:00, Muhammad Faiz <mfcc64@gmail.com>:
> On Sun, Jan 27, 2019 at 9:15 PM Carl Eugen Hoyos <ceffmpeg@gmail.com> wrote:
>>
>> 2019-01-27 15:05 GMT+01:00, Muhammad Faiz <mfcc64@gmail.com>:
>> > On Sun, Jan 27, 2019 at 7:17 PM Carl Eugen Hoyos <ceffmpeg@gmail.com>
>> > wrote:
>> >>
>> >> 2019-01-27 10:36 GMT+01:00, Muhammad Faiz <mfcc64@gmail.com>:
>> >>
>> >> > -bgra64be            c8d3217bf58d34f080ac88c0b0012c77
>> >> > +bgra64le            b71d75a928aac14cb768403e6f6a9910
>> >> >  bgra64le            b71d75a928aac14cb768403e6f6a9910
>> >>
>> >> I believe the output should be changed to make it less
>> >> confusing.
>> >
>> > Any attempt to differentiate these two lines makes [4/5]
>> > and [5/5] don't work.
>>
>> I wonder if this just indicates that your approach is wrong,
>> and that the tests for the filters in question have to be
>> (completely) different.
>
> How can this approach be wrong if it revealed bug?

As I tried to explain I am happy that you found this issue,
but I believe an approach should be searched that produces
a little more useful output.

Carl Eugen
Muhammad Faiz Jan. 27, 2019, 4:24 p.m.
On Sun, Jan 27, 2019 at 10:53 PM Michael Niedermayer
<michael@niedermayer.cc> wrote:
>
> On Sun, Jan 27, 2019 at 04:36:15PM +0700, Muhammad Faiz wrote:
> > regardless of the actual supported formats.
> > This allows filters to support only native-endian formats,
> > and also allows consistency checks between little-endian
> > and big-endian implementation.
> >
> > This also reveals bugs on gbrap10, p010, p016 format, and
> > super2xsai filter (mismatched checksums between little-endian
> > and big-endian).
> >
> > Suggested-by: Hendrik Leppkes <h.leppkes@gmail.com>
> > Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
> > ---
> > Old thread is here: https://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195930.html
> >
> >  tests/fate-run.sh                        |   6 +-
> >  tests/ref/fate/filter-pixfmts-copy       | 112 +++++++++++------------
> >  tests/ref/fate/filter-pixfmts-crop       | 112 +++++++++++------------
> >  tests/ref/fate/filter-pixfmts-field      | 112 +++++++++++------------
> >  tests/ref/fate/filter-pixfmts-fieldorder |  88 +++++++++---------
> >  tests/ref/fate/filter-pixfmts-hflip      | 112 +++++++++++------------
> >  tests/ref/fate/filter-pixfmts-il         | 112 +++++++++++------------
> >  tests/ref/fate/filter-pixfmts-null       | 112 +++++++++++------------
> >  tests/ref/fate/filter-pixfmts-scale      | 112 +++++++++++------------
> >  tests/ref/fate/filter-pixfmts-super2xsai |   8 +-
> >  tests/ref/fate/filter-pixfmts-swapuv     |  56 ++++++------
> >  tests/ref/fate/filter-pixfmts-transpose  |  90 +++++++++---------
> >  tests/ref/fate/filter-pixfmts-vflip      | 112 +++++++++++------------
> >  13 files changed, 573 insertions(+), 571 deletions(-)
> >
> > diff --git a/tests/fate-run.sh b/tests/fate-run.sh
> > index aece90a01d..faa4285e71 100755
> > --- a/tests/fate-run.sh
> > +++ b/tests/fate-run.sh
> > @@ -297,8 +297,10 @@ pixfmts(){
> >
> >      outertest=$test
> >      for pix_fmt in $pix_fmts; do
> > -        test=$pix_fmt
> > -        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt -frames:v $nframes
> > +        # force little endian format on result
> > +        pix_fmt_le=`echo $pix_fmt | sed 's/be$/le/'`
> > +        test=$pix_fmt_le
> > +        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt_le -frames:v $nframes
> >      done
>
> if the input to a filter is a big endian format and the output is little
> endian. Then there really isnt a gurantee that the filter will work with
> big endian data. The libavfilter core could convert before or after the filter
> as it preferrs. At least thats how i remember it from the last time i looked
> at the code.
> This also makes sense, as there are very good reasons to convert before,
> for example when doing so results in better quality or higher speed
> or fewer converts overall in multi input or multi output filters...

Of course, this can be easily fixed by adding format=$pix_fmt after
$filter=$filter_args.

>
> So if the output is always forced to LE then this may unintentionally
> remove testing a range of cases.
> also this removes testing the codepath for big endian formats after the
> convert. Or do we have remaining cases that test these ?

Do you suggest to duplicate test to output BE and LE simultaneously?

>
> I am in favor of adding more and better tests but please make sure
> no codepathes drop out of all tests. (and not just by chance of the
> format negotiation randomly picking the intended choice, which it
> very well might)
Muhammad Faiz Jan. 27, 2019, 4:27 p.m.
On Sun, Jan 27, 2019 at 10:54 PM Carl Eugen Hoyos <ceffmpeg@gmail.com> wrote:
>
> 2019-01-27 16:07 GMT+01:00, Muhammad Faiz <mfcc64@gmail.com>:
> > On Sun, Jan 27, 2019 at 9:15 PM Carl Eugen Hoyos <ceffmpeg@gmail.com> wrote:
> >>
> >> 2019-01-27 15:05 GMT+01:00, Muhammad Faiz <mfcc64@gmail.com>:
> >> > On Sun, Jan 27, 2019 at 7:17 PM Carl Eugen Hoyos <ceffmpeg@gmail.com>
> >> > wrote:
> >> >>
> >> >> 2019-01-27 10:36 GMT+01:00, Muhammad Faiz <mfcc64@gmail.com>:
> >> >>
> >> >> > -bgra64be            c8d3217bf58d34f080ac88c0b0012c77
> >> >> > +bgra64le            b71d75a928aac14cb768403e6f6a9910
> >> >> >  bgra64le            b71d75a928aac14cb768403e6f6a9910
> >> >>
> >> >> I believe the output should be changed to make it less
> >> >> confusing.
> >> >
> >> > Any attempt to differentiate these two lines makes [4/5]
> >> > and [5/5] don't work.
> >>
> >> I wonder if this just indicates that your approach is wrong,
> >> and that the tests for the filters in question have to be
> >> (completely) different.
> >
> > How can this approach be wrong if it revealed bug?
>
> As I tried to explain I am happy that you found this issue,
> but I believe an approach should be searched that produces
> a little more useful output.

Can you give me an example how the output should be?
Carl Eugen Hoyos Jan. 27, 2019, 4:43 p.m.
2019-01-27 17:27 GMT+01:00, Muhammad Faiz <mfcc64@gmail.com>:

> Can you give me an example how the output should be?

I have no suggestion, I simply wanted to point out that with
your change it would be very difficult to understand how
future differences are caused.

Carl Eugen
Michael Niedermayer Jan. 27, 2019, 8:07 p.m.
On Sun, Jan 27, 2019 at 11:24:46PM +0700, Muhammad Faiz wrote:
> On Sun, Jan 27, 2019 at 10:53 PM Michael Niedermayer
> <michael@niedermayer.cc> wrote:
> >
> > On Sun, Jan 27, 2019 at 04:36:15PM +0700, Muhammad Faiz wrote:
> > > regardless of the actual supported formats.
> > > This allows filters to support only native-endian formats,
> > > and also allows consistency checks between little-endian
> > > and big-endian implementation.
> > >
> > > This also reveals bugs on gbrap10, p010, p016 format, and
> > > super2xsai filter (mismatched checksums between little-endian
> > > and big-endian).
> > >
> > > Suggested-by: Hendrik Leppkes <h.leppkes@gmail.com>
> > > Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
> > > ---
> > > Old thread is here: https://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195930.html
> > >
> > >  tests/fate-run.sh                        |   6 +-
> > >  tests/ref/fate/filter-pixfmts-copy       | 112 +++++++++++------------
> > >  tests/ref/fate/filter-pixfmts-crop       | 112 +++++++++++------------
> > >  tests/ref/fate/filter-pixfmts-field      | 112 +++++++++++------------
> > >  tests/ref/fate/filter-pixfmts-fieldorder |  88 +++++++++---------
> > >  tests/ref/fate/filter-pixfmts-hflip      | 112 +++++++++++------------
> > >  tests/ref/fate/filter-pixfmts-il         | 112 +++++++++++------------
> > >  tests/ref/fate/filter-pixfmts-null       | 112 +++++++++++------------
> > >  tests/ref/fate/filter-pixfmts-scale      | 112 +++++++++++------------
> > >  tests/ref/fate/filter-pixfmts-super2xsai |   8 +-
> > >  tests/ref/fate/filter-pixfmts-swapuv     |  56 ++++++------
> > >  tests/ref/fate/filter-pixfmts-transpose  |  90 +++++++++---------
> > >  tests/ref/fate/filter-pixfmts-vflip      | 112 +++++++++++------------
> > >  13 files changed, 573 insertions(+), 571 deletions(-)
> > >
> > > diff --git a/tests/fate-run.sh b/tests/fate-run.sh
> > > index aece90a01d..faa4285e71 100755
> > > --- a/tests/fate-run.sh
> > > +++ b/tests/fate-run.sh
> > > @@ -297,8 +297,10 @@ pixfmts(){
> > >
> > >      outertest=$test
> > >      for pix_fmt in $pix_fmts; do
> > > -        test=$pix_fmt
> > > -        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt -frames:v $nframes
> > > +        # force little endian format on result
> > > +        pix_fmt_le=`echo $pix_fmt | sed 's/be$/le/'`
> > > +        test=$pix_fmt_le
> > > +        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt_le -frames:v $nframes
> > >      done
> >
> > if the input to a filter is a big endian format and the output is little
> > endian. Then there really isnt a gurantee that the filter will work with
> > big endian data. The libavfilter core could convert before or after the filter
> > as it preferrs. At least thats how i remember it from the last time i looked
> > at the code.
> > This also makes sense, as there are very good reasons to convert before,
> > for example when doing so results in better quality or higher speed
> > or fewer converts overall in multi input or multi output filters...
> 
> Of course, this can be easily fixed by adding format=$pix_fmt after
> $filter=$filter_args.
> 

> >
> > So if the output is always forced to LE then this may unintentionally
> > remove testing a range of cases.
> > also this removes testing the codepath for big endian formats after the
> > convert. Or do we have remaining cases that test these ?
> 
> Do you suggest to duplicate test to output BE and LE simultaneously?

I dont really have a specific suggestion, just dont want to have some
codepathes be lost from testing
a solution that doesnt duplicate all the tests would be better i guess
as it would be quicker

thx

[...]
Muhammad Faiz Jan. 27, 2019, 10:29 p.m.
On Mon, Jan 28, 2019 at 3:07 AM Michael Niedermayer
<michael@niedermayer.cc> wrote:
>
> On Sun, Jan 27, 2019 at 11:24:46PM +0700, Muhammad Faiz wrote:
> > On Sun, Jan 27, 2019 at 10:53 PM Michael Niedermayer
> > <michael@niedermayer.cc> wrote:
> > >
> > > On Sun, Jan 27, 2019 at 04:36:15PM +0700, Muhammad Faiz wrote:
> > > > regardless of the actual supported formats.
> > > > This allows filters to support only native-endian formats,
> > > > and also allows consistency checks between little-endian
> > > > and big-endian implementation.
> > > >
> > > > This also reveals bugs on gbrap10, p010, p016 format, and
> > > > super2xsai filter (mismatched checksums between little-endian
> > > > and big-endian).
> > > >
> > > > Suggested-by: Hendrik Leppkes <h.leppkes@gmail.com>
> > > > Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
> > > > ---
> > > > Old thread is here: https://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195930.html
> > > >
> > > >  tests/fate-run.sh                        |   6 +-
> > > >  tests/ref/fate/filter-pixfmts-copy       | 112 +++++++++++------------
> > > >  tests/ref/fate/filter-pixfmts-crop       | 112 +++++++++++------------
> > > >  tests/ref/fate/filter-pixfmts-field      | 112 +++++++++++------------
> > > >  tests/ref/fate/filter-pixfmts-fieldorder |  88 +++++++++---------
> > > >  tests/ref/fate/filter-pixfmts-hflip      | 112 +++++++++++------------
> > > >  tests/ref/fate/filter-pixfmts-il         | 112 +++++++++++------------
> > > >  tests/ref/fate/filter-pixfmts-null       | 112 +++++++++++------------
> > > >  tests/ref/fate/filter-pixfmts-scale      | 112 +++++++++++------------
> > > >  tests/ref/fate/filter-pixfmts-super2xsai |   8 +-
> > > >  tests/ref/fate/filter-pixfmts-swapuv     |  56 ++++++------
> > > >  tests/ref/fate/filter-pixfmts-transpose  |  90 +++++++++---------
> > > >  tests/ref/fate/filter-pixfmts-vflip      | 112 +++++++++++------------
> > > >  13 files changed, 573 insertions(+), 571 deletions(-)
> > > >
> > > > diff --git a/tests/fate-run.sh b/tests/fate-run.sh
> > > > index aece90a01d..faa4285e71 100755
> > > > --- a/tests/fate-run.sh
> > > > +++ b/tests/fate-run.sh
> > > > @@ -297,8 +297,10 @@ pixfmts(){
> > > >
> > > >      outertest=$test
> > > >      for pix_fmt in $pix_fmts; do
> > > > -        test=$pix_fmt
> > > > -        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt -frames:v $nframes
> > > > +        # force little endian format on result
> > > > +        pix_fmt_le=`echo $pix_fmt | sed 's/be$/le/'`
> > > > +        test=$pix_fmt_le
> > > > +        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt_le -frames:v $nframes
> > > >      done
> > >
> > > if the input to a filter is a big endian format and the output is little
> > > endian. Then there really isnt a gurantee that the filter will work with
> > > big endian data. The libavfilter core could convert before or after the filter
> > > as it preferrs. At least thats how i remember it from the last time i looked
> > > at the code.
> > > This also makes sense, as there are very good reasons to convert before,
> > > for example when doing so results in better quality or higher speed
> > > or fewer converts overall in multi input or multi output filters...
> >
> > Of course, this can be easily fixed by adding format=$pix_fmt after
> > $filter=$filter_args.
> >
>
> > >
> > > So if the output is always forced to LE then this may unintentionally
> > > remove testing a range of cases.
> > > also this removes testing the codepath for big endian formats after the
> > > convert. Or do we have remaining cases that test these ?
> >
> > Do you suggest to duplicate test to output BE and LE simultaneously?
>
> I dont really have a specific suggestion, just dont want to have some
> codepathes be lost from testing
> a solution that doesnt duplicate all the tests would be better i guess
> as it would be quicker

Do you feel that because BE disappears in the output, it means that BE
is untested?
Michael Niedermayer Jan. 28, 2019, 12:22 a.m.
On Mon, Jan 28, 2019 at 05:29:41AM +0700, Muhammad Faiz wrote:
> On Mon, Jan 28, 2019 at 3:07 AM Michael Niedermayer
> <michael@niedermayer.cc> wrote:
> >
> > On Sun, Jan 27, 2019 at 11:24:46PM +0700, Muhammad Faiz wrote:
> > > On Sun, Jan 27, 2019 at 10:53 PM Michael Niedermayer
> > > <michael@niedermayer.cc> wrote:
> > > >
> > > > On Sun, Jan 27, 2019 at 04:36:15PM +0700, Muhammad Faiz wrote:
> > > > > regardless of the actual supported formats.
> > > > > This allows filters to support only native-endian formats,
> > > > > and also allows consistency checks between little-endian
> > > > > and big-endian implementation.
> > > > >
> > > > > This also reveals bugs on gbrap10, p010, p016 format, and
> > > > > super2xsai filter (mismatched checksums between little-endian
> > > > > and big-endian).
> > > > >
> > > > > Suggested-by: Hendrik Leppkes <h.leppkes@gmail.com>
> > > > > Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
> > > > > ---
> > > > > Old thread is here: https://ffmpeg.org/pipermail/ffmpeg-devel/2016-June/195930.html
> > > > >
> > > > >  tests/fate-run.sh                        |   6 +-
> > > > >  tests/ref/fate/filter-pixfmts-copy       | 112 +++++++++++------------
> > > > >  tests/ref/fate/filter-pixfmts-crop       | 112 +++++++++++------------
> > > > >  tests/ref/fate/filter-pixfmts-field      | 112 +++++++++++------------
> > > > >  tests/ref/fate/filter-pixfmts-fieldorder |  88 +++++++++---------
> > > > >  tests/ref/fate/filter-pixfmts-hflip      | 112 +++++++++++------------
> > > > >  tests/ref/fate/filter-pixfmts-il         | 112 +++++++++++------------
> > > > >  tests/ref/fate/filter-pixfmts-null       | 112 +++++++++++------------
> > > > >  tests/ref/fate/filter-pixfmts-scale      | 112 +++++++++++------------
> > > > >  tests/ref/fate/filter-pixfmts-super2xsai |   8 +-
> > > > >  tests/ref/fate/filter-pixfmts-swapuv     |  56 ++++++------
> > > > >  tests/ref/fate/filter-pixfmts-transpose  |  90 +++++++++---------
> > > > >  tests/ref/fate/filter-pixfmts-vflip      | 112 +++++++++++------------
> > > > >  13 files changed, 573 insertions(+), 571 deletions(-)
> > > > >
> > > > > diff --git a/tests/fate-run.sh b/tests/fate-run.sh
> > > > > index aece90a01d..faa4285e71 100755
> > > > > --- a/tests/fate-run.sh
> > > > > +++ b/tests/fate-run.sh
> > > > > @@ -297,8 +297,10 @@ pixfmts(){
> > > > >
> > > > >      outertest=$test
> > > > >      for pix_fmt in $pix_fmts; do
> > > > > -        test=$pix_fmt
> > > > > -        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt -frames:v $nframes
> > > > > +        # force little endian format on result
> > > > > +        pix_fmt_le=`echo $pix_fmt | sed 's/be$/le/'`
> > > > > +        test=$pix_fmt_le
> > > > > +        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt_le -frames:v $nframes
> > > > >      done
> > > >
> > > > if the input to a filter is a big endian format and the output is little
> > > > endian. Then there really isnt a gurantee that the filter will work with
> > > > big endian data. The libavfilter core could convert before or after the filter
> > > > as it preferrs. At least thats how i remember it from the last time i looked
> > > > at the code.
> > > > This also makes sense, as there are very good reasons to convert before,
> > > > for example when doing so results in better quality or higher speed
> > > > or fewer converts overall in multi input or multi output filters...
> > >
> > > Of course, this can be easily fixed by adding format=$pix_fmt after
> > > $filter=$filter_args.
> > >
> >
> > > >
> > > > So if the output is always forced to LE then this may unintentionally
> > > > remove testing a range of cases.
> > > > also this removes testing the codepath for big endian formats after the
> > > > convert. Or do we have remaining cases that test these ?
> > >
> > > Do you suggest to duplicate test to output BE and LE simultaneously?
> >
> > I dont really have a specific suggestion, just dont want to have some
> > codepathes be lost from testing
> > a solution that doesnt duplicate all the tests would be better i guess
> > as it would be quicker
> 
> Do you feel that because BE disappears in the output, it means that BE
> is untested?

no, rather that it implies that the code path after the final convert to LE
dont see BE anymore in the affected tests. I did not check if other cases
remain that test BE there

the disappearance might confuse people though, 
for example a developer who runs the tests after a code change and sees
a checksum change. Its important that he understands what the change means
so he can quickly fix his code.
Seeing a LE test fail causes one to probably not think about a BE specific bug.

The case of developers seeing their or someone elses code cause a fate failure
is possibly the main area where understanding the meaning matters.
I dont know how much this is an issue but with these checksums
seeing a difference its not immedeatly obvious if its teh LE or BE path even
if one knows that it can be the BE path
Iam not saying iam against this because of this, just wanted to bring it up
as i realize this could affect people and as you mentioned the subject ...

thanks

[...]

Patch hide | download patch | download mbox

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index aece90a01d..faa4285e71 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -297,8 +297,10 @@  pixfmts(){
 
     outertest=$test
     for pix_fmt in $pix_fmts; do
-        test=$pix_fmt
-        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt -frames:v $nframes
+        # force little endian format on result
+        pix_fmt_le=`echo $pix_fmt | sed 's/be$/le/'`
+        test=$pix_fmt_le
+        video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt_le -frames:v $nframes
     done
 
     rm $in_fmts $scale_in_fmts $scale_out_fmts $scale_exclude_fmts
diff --git a/tests/ref/fate/filter-pixfmts-copy b/tests/ref/fate/filter-pixfmts-copy
index 0609344c2a..bf0977a96a 100644
--- a/tests/ref/fate/filter-pixfmts-copy
+++ b/tests/ref/fate/filter-pixfmts-copy
@@ -5,144 +5,144 @@  argb                f003b555ef429222005d33844cca9325
 ayuv64le            07b9c969dfbe4add4c0626773b151d4f
 bgr0                6fcd67c8e6cec723dab21c70cf53dc16
 bgr24               4cff3814819f02ecf5824edfd768d2b1
-bgr444be            1cd47c1555f947dfcba99192e3429d20
 bgr444le            e1832fdc9b118d4440ba03cea6e30428
-bgr48be             51477f029592ddb6b912980fdf2df7f1
+bgr444le            e1832fdc9b118d4440ba03cea6e30428
+bgr48le             b34faf404b33c74cd25f5f912ca3274c
 bgr48le             b34faf404b33c74cd25f5f912ca3274c
 bgr4_byte           7ca99bc8a1c7c831cb955806ac05cb72
-bgr555be            6d32031ad4f52723023e547058a62c71
 bgr555le            823a3b2f2585e537da5cb76c8ce30cf4
-bgr565be            438b0f18fd754280d5dc2f421c376ffb
+bgr555le            823a3b2f2585e537da5cb76c8ce30cf4
+bgr565le            acab2b65c0fe5f9618c90f77f70ab3be
 bgr565le            acab2b65c0fe5f9618c90f77f70ab3be
 bgr8                898a66734bda0572dfab1edd8239f6a2
 bgra                3934fb81a602dfa7d29420b1a66f0fd8
-bgra64be            c8d3217bf58d34f080ac88c0b0012c77
+bgra64le            b71d75a928aac14cb768403e6f6a9910
 bgra64le            b71d75a928aac14cb768403e6f6a9910
 gbrap               98d30987407c51e5620921e11d40a4ff
-gbrap10be           edcffb185e44b6dae5c2ead5505b7125
+gbrap10le           3a046be0d38289dda5d8fdbd0f34aaf5
 gbrap10le           2a7392e14b21b1f9457526a071236a6d
-gbrap12be           0c4c1f8af361571265ca259d5f70f026
 gbrap12le           5f1d8c663d4c28863e687192433b34a4
-gbrap16be           e4edca4361d643794034e5aa9ef290b1
+gbrap12le           5f1d8c663d4c28863e687192433b34a4
+gbrap16le           9a95b389d2bf556179e8f4b27fb550ab
 gbrap16le           9a95b389d2bf556179e8f4b27fb550ab
 gbrp                5fbc319e30110d19d539f5b274eddb6d
-gbrp10be            703a17591a2a5c236675c5101c349bcc
 gbrp10le            ee014153f55c011918df5b2394815780
-gbrp12be            527d337eb5813ebba7cf969ee660d423
+gbrp10le            ee014153f55c011918df5b2394815780
+gbrp12le            fd192920b171a0cf88d61e8310e95d81
 gbrp12le            fd192920b171a0cf88d61e8310e95d81
-gbrp14be            46d502db6dc5eb7e9da3c60016b2df91
 gbrp14le            1607f5c8f13360b53b8186f523996b1b
-gbrp16be            7b6764a504c853b09f5c7d0b2223c5a4
+gbrp14le            1607f5c8f13360b53b8186f523996b1b
+gbrp16le            fb9323a5bd060282bec7bfd7d38dc230
 gbrp16le            fb9323a5bd060282bec7bfd7d38dc230
-gbrp9be             a4dc6f6f9bb051de2dc348b592ad4282
+gbrp9le             699da3a3b324f3fd001a56aee9683384
 gbrp9le             699da3a3b324f3fd001a56aee9683384
 gray                188590b1231afd231ea910815aef2b25
-gray10be            d486558ecd2e27afc17930be861f0e4c
 gray10le            917d687103b2adcca7132bfc070ca54a
-gray12be            9685614450f1282be433d2b07234ca1f
+gray10le            917d687103b2adcca7132bfc070ca54a
+gray12le            2700bd7fb3fea56e54eb03e31d6d4e57
 gray12le            2700bd7fb3fea56e54eb03e31d6d4e57
-gray14be            19ed2bf25878980d6f81f6ae699024ec
 gray14le            4b148b26b30040c05dc248a8852f31ac
-gray16be            08d997a3faa25a3db9d6be272d282eef
+gray14le            4b148b26b30040c05dc248a8852f31ac
+gray16le            df65eb804360795e3e38a2701fa9641a
 gray16le            df65eb804360795e3e38a2701fa9641a
-gray9be             6382a14594a8b68f0ec7de25531f9334
 gray9le             4eb1dda58706436e3b69aef29b0089db
-grayf32be           f3bf178835f8146aa09d1da94bba4d8a
+gray9le             4eb1dda58706436e3b69aef29b0089db
+grayf32le           fb6ea85bfbc8cd21c51fc0e110197294
 grayf32le           fb6ea85bfbc8cd21c51fc0e110197294
 monob               8b04f859fee6a0be856be184acd7a0b5
 monow               54d16d2c01abfd72ecdb5e51e283937c
 nv12                8e24feb2c544dc26a20047a71e4c27aa
 nv21                335d85c9af6110f26ae9e187a82ed2cf
-p010be              7f9842d6015026136bad60d03c035cc3
+p010le              1929db89609c4b8c6d9c9030a9e7843d
 p010le              c453421b9f726bdaf2bacf59a492c43b
-p016be              7f9842d6015026136bad60d03c035cc3
+p016le              1929db89609c4b8c6d9c9030a9e7843d
 p016le              c453421b9f726bdaf2bacf59a492c43b
 pal8                ff5929f5b42075793b2c34cb441bede5
 rgb0                0de71e5a1f97f81fb51397a0435bfa72
 rgb24               f4438057d046e6d98ade4e45294b21be
-rgb444be            115e5259b91f4a416546b09570347633
 rgb444le            f3f66689cb4c810563fba7665c526800
-rgb48be             18127d8ec64aa21619ada80b93514906
+rgb444le            f3f66689cb4c810563fba7665c526800
+rgb48le             60d0ba0e5a429c947aaa736be54aca87
 rgb48le             60d0ba0e5a429c947aaa736be54aca87
 rgb4_byte           7d68393a3de6f392cf2ed05ffaec6259
-rgb555be            f76c8109974636b54bd0cb4c36bb883d
 rgb555le            21daf4d05999ccf3eef7d492e73c4d5b
-rgb565be            85711f35f71340ba23e553a07d246656
+rgb555le            21daf4d05999ccf3eef7d492e73c4d5b
+rgb565le            e04771e79a8ee8a51e9a325540e6215e
 rgb565le            e04771e79a8ee8a51e9a325540e6215e
 rgb8                7ac6008c84d622c2fc50581706e17576
 rgba                b6e1b441c365e03b5ffdf9b7b68d9a0c
-rgba64be            ae2ae04b5efedca3505f47c4dd6ea6ea
+rgba64le            b91e1d77f799eb92241a2d2d28437b15
 rgba64le            b91e1d77f799eb92241a2d2d28437b15
 uyvy422             3bcf3c80047592f2211fae3260b1b65d
-xyz12be             a1ef56bf746d71f59669c28e48fc8450
 xyz12le             831ff03c1ba4ef19374686f16a064d8c
-ya16be              2f2c27f1854ac00c73d13861dcab2705
+xyz12le             831ff03c1ba4ef19374686f16a064d8c
+ya16le              2c1fbd127c9f0435adc0e9b2ea3f486b
 ya16le              2c1fbd127c9f0435adc0e9b2ea3f486b
 ya8                 dbb99fbcdc204aaa1a7397ff561f1a67
 yuv410p             5d4d992a7728431aa4e0700f87fb7fd8
 yuv411p             7e1300e89f5bc07939e2c4a6acbdf267
 yuv420p             a014c7eb7a8385d1dd092b7a583f1bff
-yuv420p10be         f9b154364efaa1af376fa6d8eeae6955
 yuv420p10le         15c83294ef560d57f25d16ae6e0fc70c
-yuv420p12be         34da9c4e289124122ba36a9d4fb133fa
+yuv420p10le         15c83294ef560d57f25d16ae6e0fc70c
+yuv420p12le         c19a477a07fcf88e37ab37b416d064c0
 yuv420p12le         c19a477a07fcf88e37ab37b416d064c0
-yuv420p14be         64779858686946fc0e780baf7c1391b6
 yuv420p14le         c1d012a4f9d54fbc8b04fea96d85e903
-yuv420p16be         268b07358d8dc733ee81d0b87990d5af
+yuv420p14le         c1d012a4f9d54fbc8b04fea96d85e903
+yuv420p16le         dae8da9edd4255051e3e546ae7ed9bd3
 yuv420p16le         dae8da9edd4255051e3e546ae7ed9bd3
-yuv420p9be          37f0476e8458a93d3d22db568f617aca
+yuv420p9le          83a6d32c91c15a3bc334bb9abf920654
 yuv420p9le          83a6d32c91c15a3bc334bb9abf920654
 yuv422p             74f8006b4482db104f1986f49807a0af
-yuv422p10be         7291903c3c0cf4e5456dd9673a619f1d
 yuv422p10le         14cbaa728e888534359b9dddc5430f08
-yuv422p12be         e9bc7f2da217fade40feb6960dcd894e
+yuv422p10le         14cbaa728e888534359b9dddc5430f08
 yuv422p12le         8d8184e4d0f1eb50e1834ac0c4af8c33
-yuv422p14be         2617c569ae9659d8fe6a01f96e2c9657
+yuv422p12le         8d8184e4d0f1eb50e1834ac0c4af8c33
+yuv422p14le         7d01363cf090306cf93337c474cd8827
 yuv422p14le         7d01363cf090306cf93337c474cd8827
-yuv422p16be         86147d8bfb795ab1873c899611e2a361
 yuv422p16le         9df47cb7d6d39b335a547ced2865e72e
-yuv422p9be          338dbb97c9f5a12ccea2c61774ddff2e
+yuv422p16le         9df47cb7d6d39b335a547ced2865e72e
+yuv422p9le          0822f8af35a269a036ae44878acba87e
 yuv422p9le          0822f8af35a269a036ae44878acba87e
 yuv440p             98d0f96fdb3ba415899017adf7d4a4f9
-yuv440p10be         d874167042037c1daf9b9a2f74bffad9
 yuv440p10le         3cfbd921369aa8f1e4977efdb7f44c8c
-yuv440p12be         dc3e6a40c44d5a5f9fd260b270e9037f
+yuv440p10le         3cfbd921369aa8f1e4977efdb7f44c8c
+yuv440p12le         2fff7746ae7c07d407075c0e372baf46
 yuv440p12le         2fff7746ae7c07d407075c0e372baf46
 yuv444p             8f90fb3a757878c545a8bfe5d19a9bab
-yuv444p10be         6683d5cb82c708d5f3a2a89d0311f7a4
 yuv444p10le         6d736fa464ff2de2b07e0a56af8444b7
-yuv444p12be         04320ad158450ee158f84a27c6325702
+yuv444p10le         6d736fa464ff2de2b07e0a56af8444b7
+yuv444p12le         08a81b2ea9c7c8b447e40ef8f4a46a4a
 yuv444p12le         08a81b2ea9c7c8b447e40ef8f4a46a4a
-yuv444p14be         ea3057d469d0c49c24e844256ef7871e
 yuv444p14le         940f5908ccf06e01411f0a7bddb45c6a
-yuv444p16be         aee24ab2e9a4656f889399f1b0d98639
+yuv444p14le         940f5908ccf06e01411f0a7bddb45c6a
 yuv444p16le         781c22317c02b3dd4225709000bdb847
-yuv444p9be          ac09917e5d2abc82c0d260007f4dfd77
+yuv444p16le         781c22317c02b3dd4225709000bdb847
+yuv444p9le          caef947b8aff5b52285385c6ae9b2439
 yuv444p9le          caef947b8aff5b52285385c6ae9b2439
 yuva420p            b227672e56215e184e702c02a771d7f3
-yuva420p10be        f66e7d677625380f7504867fab51305c
 yuva420p10le        01e94ee605714396e69b013c11dda348
-yuva420p16be        76e5e65eae1e7c5681a397a3462f4a9d
+yuva420p10le        01e94ee605714396e69b013c11dda348
+yuva420p16le        b1930ab28ffe031c78ca28d3406311c8
 yuva420p16le        b1930ab28ffe031c78ca28d3406311c8
-yuva420p9be         48dfa24cf0ea3864f35285074e8fa888
+yuva420p9le         0e9c9803aaaddc9f38e419de587793c2
 yuva420p9le         0e9c9803aaaddc9f38e419de587793c2
 yuva422p            8f6bb778647e5dee62f544d646321171
-yuva422p10be        2f7204c93a1e5bfb04538852f99e4074
 yuva422p10le        c8082548aca999edde77ef2749b1ff4c
-yuva422p12be        19f8205cca3d19bfd4ad9cd2bfb07a0e
+yuva422p10le        c8082548aca999edde77ef2749b1ff4c
+yuva422p12le        38e6c7d87332852d660df5594529fa6e
 yuva422p12le        38e6c7d87332852d660df5594529fa6e
-yuva422p16be        427ad55f7464121bb3ce164641772bc6
 yuva422p16le        af6f8df651275de58129e010bb45ffcd
-yuva422p9be         47579cc2cea861ca1461589b80c4720f
+yuva422p16le        af6f8df651275de58129e010bb45ffcd
+yuva422p9le         aaeab2bfe80a29390e8666103ed8bb40
 yuva422p9le         aaeab2bfe80a29390e8666103ed8bb40
 yuva444p            459fad5abfd16db9bb6a52761dc74cc1
-yuva444p10be        fa16bae4fc25429deb944ffa9f5b28a0
 yuva444p10le        92f820d3481b7ebcb48b98a73e7b4c90
-yuva444p12be        d8193387128a1b1efc51f36a12c85385
+yuva444p10le        92f820d3481b7ebcb48b98a73e7b4c90
 yuva444p12le        9c17bf72b083f93040d1e19516b54de7
-yuva444p16be        c80c1899789a6411d0025730efc8f01c
+yuva444p12le        9c17bf72b083f93040d1e19516b54de7
+yuva444p16le        2ed56ea50fafda4d226c9b133755dad8
 yuva444p16le        2ed56ea50fafda4d226c9b133755dad8
-yuva444p9be         4903fde22b15d28da90761ac1cfcb1c5
+yuva444p9le         4eeb5988df0740fea720da1e31bbb829
 yuva444p9le         4eeb5988df0740fea720da1e31bbb829
 yuvj411p            e003eefa7e2a20f20d33767775417216
 yuvj420p            8f3d8f1b4577d11082d5ab8a901e048d
diff --git a/tests/ref/fate/filter-pixfmts-crop b/tests/ref/fate/filter-pixfmts-crop
index 4e4b6e4a63..09b7ca9a27 100644
--- a/tests/ref/fate/filter-pixfmts-crop
+++ b/tests/ref/fate/filter-pixfmts-crop
@@ -5,141 +5,141 @@  argb                8b822972049a1e207000763f2564d6e0
 ayuv64le            ab2f7bc8f150af47c42c778e3ea28bce
 bgr0                38a84849a9198667c348c686802e3b52
 bgr24               1dacd8e04bf0eff163e82250d01a9cc7
-bgr444be            e2d2b864dfa528e77684ddc117f2d974
 bgr444le            5f48e6dc70fdbf4ef6d651081f104a2f
-bgr48be             61b6a1a7c6d523b7e594f63790c7f032
+bgr444le            5f48e6dc70fdbf4ef6d651081f104a2f
+bgr48le             2b158ebcd483e03abea86c32abd21642
 bgr48le             2b158ebcd483e03abea86c32abd21642
 bgr4_byte           441c4d66a344babfbbd3e4767413893b
-bgr555be            c5480b08d681d33ae29148054762bcfb
 bgr555le            500a2ed02aa57f7635125e6c983702db
-bgr565be            2d4a32d7e3d994b21c400ad008a5cdf0
+bgr555le            500a2ed02aa57f7635125e6c983702db
+bgr565le            14ed3f499e83ccb0cdbfa0a457557880
 bgr565le            14ed3f499e83ccb0cdbfa0a457557880
 bgr8                142275ecc024d3f7b66c168ac2279ae2
 bgra                e66a5f68ba463cbc89fce23a61bb5203
-bgra64be            1ad8dd02714cafec793fb89577ddde47
+bgra64le            dd29ec9aba43aa3e8f9f5b9a93ca8831
 bgra64le            dd29ec9aba43aa3e8f9f5b9a93ca8831
 gbrap               188cd467fe7ae7d85ae9ca8bdfa07739
-gbrap10be           1880c4856d9cc6492b8b859f2711aaf1
+gbrap10le           c8505df07f9eeb413f943b5f4d686c0b
 gbrap10le           c2b6e35f8b7ca363a7ec021ccdf31d1f
-gbrap12be           c9769d18733cdc2664d8b9af09a03f6d
 gbrap12le           3f80453c1ac6c5d1b2febf3ef141b476
-gbrap16be           21c98d0d7e7de2a93f9f095e5bb5c227
+gbrap12le           3f80453c1ac6c5d1b2febf3ef141b476
+gbrap16le           ea9a96870c1b742dd9f065c5db568184
 gbrap16le           ea9a96870c1b742dd9f065c5db568184
 gbrp                ec671f573c2105072ab68a1933c58fee
-gbrp10be            6f0130a41f01e58593d3840446dd94b7
 gbrp10le            9c152b7dfb7ad7bc477518d97316d04f
-gbrp12be            561516202a6e37dd19543f9bb3af339f
+gbrp10le            9c152b7dfb7ad7bc477518d97316d04f
+gbrp12le            3e7f87d834748844ab326e22eb2b7487
 gbrp12le            3e7f87d834748844ab326e22eb2b7487
-gbrp14be            057232bca98c472a003cc46b3fd939e4
 gbrp14le            d4764dba3c3efd1263c2c8e0f5ac9f6a
-gbrp16be            59e4c27ee33520e23dbceafbec27aa9b
+gbrp14le            d4764dba3c3efd1263c2c8e0f5ac9f6a
+gbrp16le            0768a2462783829f63ed0bfd53d01222
 gbrp16le            0768a2462783829f63ed0bfd53d01222
-gbrp9be             4af43999e5e9742992b6550ea5ad9b23
+gbrp9le             b4cbfa7878706a14295f09212e41f7fe
 gbrp9le             b4cbfa7878706a14295f09212e41f7fe
 gray                0d70b54b4b888ec4dbd89713620ac1ee
-gray10be            18ed76cab145ab9058cc353fcec6d3c4
 gray10le            fd83f7489880160783ddb125615b4638
-gray12be            472700c26cc49b8d5f74af141f6a0d38
+gray10le            fd83f7489880160783ddb125615b4638
+gray12le            4f6537fe1f32b3963350f8c435009433
 gray12le            4f6537fe1f32b3963350f8c435009433
-gray14be            302b5b534f64ee15fffe2d3818e8c29c
 gray14le            9c205ae791cbb9e479beb0ece236c05f
-gray16be            38f599da990224de86e3dc7a543121a9
+gray14le            9c205ae791cbb9e479beb0ece236c05f
+gray16le            9ff7c866bd98def4e6c91542c1c45f80
 gray16le            9ff7c866bd98def4e6c91542c1c45f80
-gray9be             8ffcb18d699480f55414bfc21ab33321
 gray9le             4d1932d4968a248584f5e39c25f1dd43
-grayf32be           cf40ec06a8abe54852b7f85a00549eec
+gray9le             4d1932d4968a248584f5e39c25f1dd43
+grayf32le           b672526c9da9c8959ab881f242f6890a
 grayf32le           b672526c9da9c8959ab881f242f6890a
 nv12                92cda427f794374731ec0321ee00caac
 nv21                1bcfc197f4fb95de85ba58182d8d2f69
-p010be              8b2de2eb6b099bbf355bfc55a0694ddc
+p010le              a1e4f713e145dfc465bfe0cc77096a03
 p010le              373b50c766dfd0a8e79c9a73246d803a
-p016be              8b2de2eb6b099bbf355bfc55a0694ddc
+p016le              a1e4f713e145dfc465bfe0cc77096a03
 p016le              373b50c766dfd0a8e79c9a73246d803a
 pal8                1f2cdc8e718f95c875dbc1034a688bfb
 rgb0                736646b70dd9a0be22b8da8041e35035
 rgb24               c5fbbf816bb2000f4d2914e335698ef5
-rgb444be            44a33306889f7fa1a71ec831b860fd0a
 rgb444le            934708063a8ecb93b46f6ab7e828419c
-rgb48be             39ef8f30c85bbb58433df9c085f158a1
+rgb444le            934708063a8ecb93b46f6ab7e828419c
+rgb48le             c92ee84f0952517a2830aa19166638a0
 rgb48le             c92ee84f0952517a2830aa19166638a0
 rgb4_byte           847730fe0a7dc7fd99dd16599d6b828b
-rgb555be            39bb24bfcf01e379bd1653eb731ed21c
 rgb555le            e9f1e9fc4d0ef9fe18f1771b21d02dbc
-rgb565be            974ddb6347a700a75eec014311725aaa
+rgb555le            e9f1e9fc4d0ef9fe18f1771b21d02dbc
+rgb565le            a0a2ce6d0907386f476364f9571ad3df
 rgb565le            a0a2ce6d0907386f476364f9571ad3df
 rgb8                9b364a8f112ad9459fec47a51cc03b30
 rgba                9488ac85abceaf99a9309eac5a87697e
-rgba64be            89910046972ab3c68e2a348302cc8ca9
 rgba64le            fea8ebfc869b52adf353778f29eac7a7
-xyz12be             cb4571f9aaa7b59f999ef327276104b7
+rgba64le            fea8ebfc869b52adf353778f29eac7a7
+xyz12le             cd6aae8d26b18bdb4b9d068586276d91
 xyz12le             cd6aae8d26b18bdb4b9d068586276d91
-ya16be              029a3b7c523de988e3161484d41ea15c
+ya16le              32929a08d11982aec66ea1e665cfba3a
 ya16le              32929a08d11982aec66ea1e665cfba3a
 ya8                 51a8dd297e35d40b06d3ebe8f4717895
 yuv410p             3bb6c7b64f2c46bc5e8b77198ce4ea58
 yuv411p             693e4afe96998e6dd91734037d75d887
 yuv420p             510d36163e4d3710988c23c2240ca6dc
-yuv420p10be         ce9af476d924b463b0f68579f30a6463
 yuv420p10le         65214f2af95e816bbe303fa0649ecc84
-yuv420p12be         f86f763eb2ae76d12226009e5f9595d7
+yuv420p10le         65214f2af95e816bbe303fa0649ecc84
+yuv420p12le         3741f6a4ccd368d0e9d00ecdebdde0c9
 yuv420p12le         3741f6a4ccd368d0e9d00ecdebdde0c9
-yuv420p14be         5544e5fc40e718e608c0bd8c7b1d0812
 yuv420p14le         2c763a71c7c4650b91b405634556e21c
-yuv420p16be         c22f72b460beef22b0bf80806c43b25f
+yuv420p14le         2c763a71c7c4650b91b405634556e21c
+yuv420p16le         564d26a52ed271792e8909f8aa9a3e87
 yuv420p16le         564d26a52ed271792e8909f8aa9a3e87
-yuv420p9be          d0458179f9cc757a11ceb80655fde30e
+yuv420p9le          fe0215f5683437bd5a10b6255344109e
 yuv420p9le          fe0215f5683437bd5a10b6255344109e
 yuv422p             42ea5e9a22df5913b2ec75512162e533
-yuv422p10be         3956017f5023ff5d56b4f814422dd711
 yuv422p10le         a5fa7cb6a21bcbb60ae3ba4a9f4e60e0
-yuv422p12be         3a7cdaa7671394aae514d60c529e099d
+yuv422p10le         a5fa7cb6a21bcbb60ae3ba4a9f4e60e0
 yuv422p12le         3369b2b6eed18a450ab0a5581335e375
-yuv422p14be         845c42b333e331a556008ef0a16afc85
+yuv422p12le         3369b2b6eed18a450ab0a5581335e375
+yuv422p14le         abcdaccf8d01a9133daca94383d27db7
 yuv422p14le         abcdaccf8d01a9133daca94383d27db7
-yuv422p16be         565299a5d6265c77d00fd1a1d0173834
 yuv422p16le         a3fc398dd11644235e260f7e82cc87e6
-yuv422p9be          9d92f0bae2037bda1deaa70cc42998bc
+yuv422p16le         a3fc398dd11644235e260f7e82cc87e6
+yuv422p9le          5e08f31583a6072dfc12c5ffaabedd88
 yuv422p9le          5e08f31583a6072dfc12c5ffaabedd88
 yuv440p             11786b7e8f8f45fdeafe841a258fe5fd
-yuv440p10be         7c47e76d0430f2a1de2a1bfd50221c97
 yuv440p10le         6e501e62a7f84748338cdf19b0186a19
-yuv440p12be         ab1c4c998c757b2e26d40575c5a6d0c9
+yuv440p10le         6e501e62a7f84748338cdf19b0186a19
+yuv440p12le         33c5cae9acde262b194efdf78ad44258
 yuv440p12le         33c5cae9acde262b194efdf78ad44258
 yuv444p             28166fdead6f87f57f4c77156dce0466
-yuv444p10be         2c9b7f39c006b68d6b53791472ade1d5
 yuv444p10le         8427e65a1608ff8c5c88492f4926f6c1
-yuv444p12be         6e1f91ed1c6fc42fbc912d7d3aed0aca
+yuv444p10le         8427e65a1608ff8c5c88492f4926f6c1
+yuv444p12le         6a674498003ca57c8c2700b7d0ecb290
 yuv444p12le         6a674498003ca57c8c2700b7d0ecb290
-yuv444p14be         bb07382a868b35875b771b37dd234605
 yuv444p14le         f8f6e6124bae7e95d0061b95bd64be66
-yuv444p16be         25b9244db531ccab7095a44b3115032d
+yuv444p14le         f8f6e6124bae7e95d0061b95bd64be66
 yuv444p16le         b537ff9b2ef601b8568ffef2fdc4281b
-yuv444p9be          770fae9f4bbb3b659a78e912ae7e0421
+yuv444p16le         b537ff9b2ef601b8568ffef2fdc4281b
+yuv444p9le          764e317b46961236ad25fa174c3af5c6
 yuv444p9le          764e317b46961236ad25fa174c3af5c6
 yuva420p            5fb8147030796ad0ebb4fadac776ca05
-yuva420p10be        f2127ce6fe956ee3a3b6c9b308c3bb9f
 yuva420p10le        080798ee8a995734fcb2d7238010e046
-yuva420p16be        ee90bc4624631b784dc8c9a68b72fbb0
+yuva420p10le        080798ee8a995734fcb2d7238010e046
+yuva420p16le        965dfd8e5f0e22bdd33fb2b7155eca22
 yuva420p16le        965dfd8e5f0e22bdd33fb2b7155eca22
-yuva420p9be         f4f93012c80c905a5885459aa2d29ef5
+yuva420p9le         abff60ecbe6e867949399710953bd1fc
 yuva420p9le         abff60ecbe6e867949399710953bd1fc
 yuva422p            ad564e513a8c08ff0ec99324e204dfbd
-yuva422p10be        61c806e5e02ea4c90ad3156c90957a18
 yuva422p10le        41507ce136674ad458e562d44c67ddca
-yuva422p12be        e686b37d6738aae3c1d25bd36f3e518c
+yuva422p10le        41507ce136674ad458e562d44c67ddca
+yuva422p12le        95bb91f2922bdd2eb9aa6fabe86d4994
 yuva422p12le        95bb91f2922bdd2eb9aa6fabe86d4994
-yuva422p16be        3437cce47184e4b9a7a681831816e1ea
 yuva422p16le        0d534fcd61fc54fa9d4bbae5bde537ec
-yuva422p9be         588f72cd85285ed71a519525a947dedc
+yuva422p16le        0d534fcd61fc54fa9d4bbae5bde537ec
+yuva422p9le         d5a5d50f414caa1563700207931f0e0a
 yuva422p9le         d5a5d50f414caa1563700207931f0e0a
 yuva444p            64bd3debe7c2b8cca91bc1d6e2a8d80e
-yuva444p10be        1291045203be7d60b9015fa7e34b5716
 yuva444p10le        75865370fb0c018fb8663958bafcdc51
-yuva444p12be        ff58aed06f42e1258ae04509bccaad0a
+yuva444p10le        75865370fb0c018fb8663958bafcdc51
 yuva444p12le        00ab9d34f0fd4ba23b48e8ae4bf93c17
-yuva444p16be        f817caf234aaf5848b2bc9679582ed56
+yuva444p12le        00ab9d34f0fd4ba23b48e8ae4bf93c17
+yuva444p16le        b32ad623fc423f897ff31c4073ea2a6f
 yuva444p16le        b32ad623fc423f897ff31c4073ea2a6f
-yuva444p9be         48498d994c3c9070f31773e39da306dd
+yuva444p9le         431b0ac211a8f81c15f38fb57a73530c
 yuva444p9le         431b0ac211a8f81c15f38fb57a73530c
 yuvj411p            241d393eeaa1517f6b4b23034222994b
 yuvj420p            35583968261c636b9c57ff03fd60eb54
diff --git a/tests/ref/fate/filter-pixfmts-field b/tests/ref/fate/filter-pixfmts-field
index d59c982880..5779469d41 100644
--- a/tests/ref/fate/filter-pixfmts-field
+++ b/tests/ref/fate/filter-pixfmts-field
@@ -5,144 +5,144 @@  argb                6dca4f2987b49b7d63f702d17bace630
 ayuv64le            d9836decca6323ba88b3b3d02257c0b6
 bgr0                1da3fdbac616b3b410d081e39ed7a1f6
 bgr24               573c76d77b1cbe6534ea7c0267dc1b13
-bgr444be            064887b4ca8f49cfb7c776057bc75c74
 bgr444le            adbbebc13a6a00db18a91086fe66e99f
-bgr48be             1516f1c0816ea22e1a7590b82b9762c7
+bgr444le            adbbebc13a6a00db18a91086fe66e99f
+bgr48le             bce78fec940d8d22186418e42b5a4caf
 bgr48le             bce78fec940d8d22186418e42b5a4caf
 bgr4_byte           59d0a8b0ffd371ed645ef8a22304435d
-bgr555be            26371682da1569a7d979ce26096fc19c
 bgr555le            c31595e9ae64fcbd6147ef33b2899b28
-bgr565be            46e14950534befc7e791f65e66449bdd
+bgr555le            c31595e9ae64fcbd6147ef33b2899b28
+bgr565le            7f53bf9a2d3ab2badf50469e8a8e988e
 bgr565le            7f53bf9a2d3ab2badf50469e8a8e988e
 bgr8                47b2118262ad932cacf731cb66905ffd
 bgra                66d6e0846990fff0f09a07c43c3add71
-bgra64be            ec0bdef8663dc9d73818a48419cb4764
+bgra64le            9e2def541e51bc6e77fbffbff7fa146a
 bgra64le            9e2def541e51bc6e77fbffbff7fa146a
 gbrap               08a28b79dbd19246d1a94e3466af3624
-gbrap10be           29d46cbf021b233f5f1886e5d5fe21b4
+gbrap10le           a5cfc53fbd96fcdf83b8b655fe25bf67
 gbrap10le           4017c5d8c124438eb9aefa107db58d3b
-gbrap12be           e7f471132628b1c034199cc109b84bc2
 gbrap12le           886207e5aa379a0312485b94e5fd5edd
-gbrap16be           eaa0158f27ebc40cde9e3d6eef1e2ba1
+gbrap12le           886207e5aa379a0312485b94e5fd5edd
+gbrap16le           6cf68992d4fcac2aa025d1014b669d24
 gbrap16le           6cf68992d4fcac2aa025d1014b669d24
 gbrp                838025a3062f7f31e99196ce66961ad7
-gbrp10be            f63c2555ea19fc78b00fd5b3e2b48e8c
 gbrp10le            be64c374ab318235d912372e99a0516a
-gbrp12be            ef164a1c062dc3572c61b9ef10897ca1
+gbrp10le            be64c374ab318235d912372e99a0516a
+gbrp12le            0527fdb6f75b1cb0d380809eb7a7589a
 gbrp12le            0527fdb6f75b1cb0d380809eb7a7589a
-gbrp14be            6aff3ad388e2ed97d59b71a75029746d
 gbrp14le            ed9ccbc7a4f3e269a2ec37d210359fd8
-gbrp16be            020eff1626415ea726c55b23162ce59a
+gbrp14le            ed9ccbc7a4f3e269a2ec37d210359fd8
+gbrp16le            0ab77b498d4a39905515b6e1f0329ed2
 gbrp16le            0ab77b498d4a39905515b6e1f0329ed2
-gbrp9be             170da3a8644cbea61c3caeadc45354c5
+gbrp9le             da5d80e6f12cabaa7081bb85d3b7fd30
 gbrp9le             da5d80e6f12cabaa7081bb85d3b7fd30
 gray                57fd8e6e00f6be8752726005974cce1b
-gray10be            437713f3d081238cddb738e106e5a27d
 gray10le            c749b80049b152f4ba3e66a72c0c5acc
-gray12be            d34c50810b37e6f97dffdf6a8ab958de
+gray10le            c749b80049b152f4ba3e66a72c0c5acc
+gray12le            cf71b8fee47ce7821f3ae9f9b62ae39a
 gray12le            cf71b8fee47ce7821f3ae9f9b62ae39a
-gray14be            2644f330259d70793d789b8dc3c01226
 gray14le            7776a471945d303088012cbc2ff2a2d0
-gray16be            e1700e056de9917744a7ff4ab2ca63fd
+gray14le            7776a471945d303088012cbc2ff2a2d0
+gray16le            338de7ac5f7d36d5ad5ac2c8d5bbea68
 gray16le            338de7ac5f7d36d5ad5ac2c8d5bbea68
-gray9be             25e50940fa300a8f09edfb6eba4fd250
 gray9le             1146cfc1b92bfd07ed238e65ffcd134f
-grayf32be           72fbfa47b2863658a8a80d588f23b3e7
+gray9le             1146cfc1b92bfd07ed238e65ffcd134f
+grayf32le           6b856bdbf2a2bfcd2bc7d50f109daaf0
 grayf32le           6b856bdbf2a2bfcd2bc7d50f109daaf0
 monob               2129cc72a484d7e10a44de9117aa9f80
 monow               03d783611d265cae78293f88ea126ea1
 nv12                16f7a46708ef25ebd0b72e47920cc11e
 nv21                7294574037cc7f9373ef5695d8ebe809
-p010be              a0311a09bba7383553267d2b3b9c075e
+p010le              f1cc90d292046109a626db2da9f0f9b6
 p010le              ee09a18aefa3ebe97715b3a7312cb8ff
-p016be              a0311a09bba7383553267d2b3b9c075e
+p016le              f1cc90d292046109a626db2da9f0f9b6
 p016le              ee09a18aefa3ebe97715b3a7312cb8ff
 pal8                0658c18dcd8d052d59dfbe23f5b368d9
 rgb0                ca3fa6e865b91b3511c7f2bf62830059
 rgb24               25ab271e26a5785be169578d99da5dd0
-rgb444be            a05fabc91e485ec02461be900cd72ef3
 rgb444le            61825e18081a86c96cc407f5e6105f28
-rgb48be             425b90bfe7d2c944921c3d224eb383f2
+rgb444le            61825e18081a86c96cc407f5e6105f28
+rgb48le             33202a1d6baa93c5a29d88eeb47b5f04
 rgb48le             33202a1d6baa93c5a29d88eeb47b5f04
 rgb4_byte           d9d8b1fc15960fc0b49edc7dbb1108eb
-rgb555be            ed65d5e935d38d7da789adaeb07a72c8
 rgb555le            c53ba385311e57e75f6919aceb7eb689
-rgb565be            692136248339f1ac903932d48b8f3311
+rgb555le            c53ba385311e57e75f6919aceb7eb689
+rgb565le            d0f227a59da3208567485aa79679fe8d
 rgb565le            d0f227a59da3208567485aa79679fe8d
 rgb8                62c3b9e2a171de3d894a8eeb271c85e8
 rgba                ee616262ca6d67b7ecfba4b36c602ce3
-rgba64be            23c8c0edaabe3eaec89ce69633fb0048
+rgba64le            dfdba4de4a7cac9abf08852666c341d3
 rgba64le            dfdba4de4a7cac9abf08852666c341d3
 uyvy422             1c49e44ab3f060e85fc4a3a9464f045e
-xyz12be             d2fa69ec91d3ed862f2dac3f8e7a3437
 xyz12le             02bccd5e0b6824779a1f848b0ea3e3b5
-ya16be              c0ce74d2a3da641ea634a3898dda7455
+xyz12le             02bccd5e0b6824779a1f848b0ea3e3b5
+ya16le              9b098d425e5bc27fa8a8ac8b176d592d
 ya16le              9b098d425e5bc27fa8a8ac8b176d592d
 ya8                 28cea4f98ed452bd3da9c752e5e3399c
 yuv410p             a85920d6bd26f51306e2ecbe71d1c554
 yuv411p             9106e283d5dbcfba01c611886d58871a
 yuv420p             9ea8ed3c22c31c0354b7face540bb280
-yuv420p10be         c6e76d651b991c0814a3047b2b3a517c
 yuv420p10le         3bf226b758c0b53b893729d97e7bc602
-yuv420p12be         8d63ddea0b9a886e859fec778d72a1ef
+yuv420p10le         3bf226b758c0b53b893729d97e7bc602
+yuv420p12le         f5b6dd8cd8b62fce64deac95aae916ef
 yuv420p12le         f5b6dd8cd8b62fce64deac95aae916ef
-yuv420p14be         dda2c5c09b72b41a19943b3832ddd2d5
 yuv420p14le         e79f827393fb9344190bacacffe9978e
-yuv420p16be         62d08d547f857b254c1d31b5c40b20a6
+yuv420p14le         e79f827393fb9344190bacacffe9978e
+yuv420p16le         4ddc458e596c44dfe007ca0c8b211e38
 yuv420p16le         4ddc458e596c44dfe007ca0c8b211e38
-yuv420p9be          65f8350de025dc8e6608bc21bf50c88f
+yuv420p9le          e9d061aad8e0d07226d41421797e6cbf
 yuv420p9le          e9d061aad8e0d07226d41421797e6cbf
 yuv422p             9bd12ab1efe6c3fe6d9f639b97b79c7e
-yuv422p10be         6dd930ff81b89b71f6cadf757e0e8b3e
 yuv422p10le         5e314f06833b5016cc5cd76c611f7a48
-yuv422p12be         71c75f56a518f07be9946cbdb38b1d45
+yuv422p10le         5e314f06833b5016cc5cd76c611f7a48
 yuv422p12le         1351d615ca6a97f206d04b9c4bb2d130
-yuv422p14be         d3d1d29966b9737dc8bbc31c6d215c9e
+yuv422p12le         1351d615ca6a97f206d04b9c4bb2d130
+yuv422p14le         3ba9d5d2a32dc3e0ec025100621e20f9
 yuv422p14le         3ba9d5d2a32dc3e0ec025100621e20f9
-yuv422p16be         ed49651e67f96c34649762f4678091de
 yuv422p16le         c7a8ad6f7aded288ca2d16c6e5d73026
-yuv422p9be          cf48ab1346f7fef1b983b8f01b6888b3
+yuv422p16le         c7a8ad6f7aded288ca2d16c6e5d73026
+yuv422p9le          b1b7acc0afe050fff93141e2e3c8f040
 yuv422p9le          b1b7acc0afe050fff93141e2e3c8f040
 yuv440p             5100aaa0d8b30f0eea8825fe9ae20b42
-yuv440p10be         4456a712fbf663d3eb591dfec7c0556d
 yuv440p10le         a71cc3c1b47f6600717421bc88ba1c43
-yuv440p12be         735964fdb80852e971ccb4264ce7d822
+yuv440p10le         a71cc3c1b47f6600717421bc88ba1c43
+yuv440p12le         a529385f94a4d46fa339746693975d99
 yuv440p12le         a529385f94a4d46fa339746693975d99
 yuv444p             389eda40a7a3bd5d3b280b448e99f27e
-yuv444p10be         80b1cf057149a1f7dfae1da061e00523
 yuv444p10le         cdd8ba90dfc7689e0771dc36a70db433
-yuv444p12be         caaa959ed39a74dcec478f23690f5ffc
+yuv444p10le         cdd8ba90dfc7689e0771dc36a70db433
+yuv444p12le         a7965a51a2e45723f650d1313f2aa356
 yuv444p12le         a7965a51a2e45723f650d1313f2aa356
-yuv444p14be         18a46dde1fafcc7bbc6ebb3fd6681e7c
 yuv444p14le         90058811cf9c35a4ddfab367bea40c51
-yuv444p16be         1ff6ee64bcc33be585712e86359430d5
+yuv444p14le         90058811cf9c35a4ddfab367bea40c51
 yuv444p16le         9fc18b0a156d20503e3bac4823277adb
-yuv444p9be          e83171709ee786a5859aeab22d8ea4ce
+yuv444p16le         9fc18b0a156d20503e3bac4823277adb
+yuv444p9le          cca7482f37778cfb440f22355e47e9b1
 yuv444p9le          cca7482f37778cfb440f22355e47e9b1
 yuva420p            ebd72004be42de4743ca46fd81947b56
-yuva420p10be        5e000937fce49360850bc10d8083f798
 yuva420p10le        f16bde9ed6d8bd015d59b2e8e248ab31
-yuva420p16be        f29675ea983d3a2a28d648f25d2f79c6
+yuva420p10le        f16bde9ed6d8bd015d59b2e8e248ab31
+yuva420p16le        b5f41c7abf5b7baf5754a5ade5a6f055
 yuva420p16le        b5f41c7abf5b7baf5754a5ade5a6f055
-yuva420p9be         dbf1a242d3277c87c07fe7b4db993869
+yuva420p9le         00d48d3b1b0383b92ccdb26543cfb7f8
 yuva420p9le         00d48d3b1b0383b92ccdb26543cfb7f8
 yuva422p            801bfb0d4c9e7a524d97bfa11f7995fd
-yuva422p10be        a0d743770698deea2be35ceb2bb0eaad
 yuva422p10le        6a0861e5c887f3213dc34d8674611950
-yuva422p12be        87dc9f7efc97d5e1bbea7564eca62a2a
+yuva422p10le        6a0861e5c887f3213dc34d8674611950
+yuva422p12le        137f75ade26b6d631d3998127e411a00
 yuva422p12le        137f75ade26b6d631d3998127e411a00
-yuva422p16be        c870b697714221ef9168b6984294e501
 yuva422p16le        fef7d5f29dfec9ee36216b7a610b4b39
-yuva422p9be         83ff1ae035bb587dc59acf4121602dac
+yuva422p16le        fef7d5f29dfec9ee36216b7a610b4b39
+yuva422p9le         75baca2a93a8e76b27ea208858213819
 yuva422p9le         75baca2a93a8e76b27ea208858213819
 yuva444p            cfbd995b538c34dee9c107ecf875b283
-yuva444p10be        de8b80b4c3a12624412530f09de6dd39
 yuva444p10le        04c93877f724a29b47bc8c0a10a3036b
-yuva444p12be        a9efd9944314bb7fc9ba359bc3446446
+yuva444p10le        04c93877f724a29b47bc8c0a10a3036b
 yuva444p12le        acc831041bbf13e75636c0426f82aa19
-yuva444p16be        b10fd7c1b61ac22bdb285f0d91a390f1
+yuva444p12le        acc831041bbf13e75636c0426f82aa19
+yuva444p16le        cac82ffc36b7052747407663fc5ed510
 yuva444p16le        cac82ffc36b7052747407663fc5ed510
-yuva444p9be         a6f66d08b3370fdd90987a6143b7b91c
+yuva444p9le         8d0f0b0840096127613920984078ce53
 yuva444p9le         8d0f0b0840096127613920984078ce53
 yuvj411p            0c7caab687fbd33cba04702366b6c401
 yuvj420p            c9bef7e5c1dba1024be992167806ef07
diff --git a/tests/ref/fate/filter-pixfmts-fieldorder b/tests/ref/fate/filter-pixfmts-fieldorder
index 1996649e10..216ca3e769 100644
--- a/tests/ref/fate/filter-pixfmts-fieldorder
+++ b/tests/ref/fate/filter-pixfmts-fieldorder
@@ -5,111 +5,111 @@  argb                80d08e68cb91bc8f2f817516e65f0bd0
 ayuv64le            84ef6260fe02427da946d4a2207fb54c
 bgr0                d2c676224ea80ac3ce01afde325ea1a0
 bgr24               b7fdbcd10f20e6ea2d40aae0f329f80d
-bgr444be            ca5acc0d5315d6d9f4422337c6f20842
 bgr444le            8a82dc31d4305abb60825c54e07c1b09
-bgr48be             b1be092ef916a204e002606cf83240fe
+bgr444le            8a82dc31d4305abb60825c54e07c1b09
+bgr48le             3e64bd2ad45de53a780b2bf546fd5343
 bgr48le             3e64bd2ad45de53a780b2bf546fd5343
 bgr4_byte           319d0fda198978f05e0318863d10bc01
-bgr555be            686b1f3318a44c48e2ea473c42d7d90a
 bgr555le            113908a73bbef613f68706be3352f404
-bgr565be            b0aca25c2de20dabce53cc0e6e27b8aa
+bgr555le            113908a73bbef613f68706be3352f404
+bgr565le            2e00c326499c8475ffc6aca5476ad422
 bgr565le            2e00c326499c8475ffc6aca5476ad422
 bgr8                cfc405aaf0162b4edfe9b3e047c5624d
 bgra                5967b559257dbb6784f93b9d2bef4edd
-bgra64be            64a4ec15bc35ede2018f650b50c2429b
+bgra64le            5029192d0f32383c9f25f8e7da7cb5a0
 bgra64le            5029192d0f32383c9f25f8e7da7cb5a0
 gbrap               00afb65d44bea99c31b318fdbeb3be10
-gbrap10be           8b27254a69cd0e25fa55262a743f95e6
+gbrap10le           7ddbc3ffb7cb6b7e59c866ff99ca5a16
 gbrap10le           52278021718ec370903dccc923dc8bf6
-gbrap12be           302b353dff696ec9fd0d85a0cc14802b
 gbrap12le           ae2d6db2c9c825f06d92389de21263d2
-gbrap16be           52c10d8046d123dfc4a478276906467c
+gbrap12le           ae2d6db2c9c825f06d92389de21263d2
+gbrap16le           2317737b8f5140add27d121de8f5ba95
 gbrap16le           2317737b8f5140add27d121de8f5ba95
 gbrp                506dea2fe492e985a396d1b11ccd8db3
-gbrp10be            55bbfe2d472780dcbadf3027778caa0e
 gbrp10le            13a39077ab1b2c3b49afd3e250b84a77
-gbrp12be            f1b59334c687a39ba076fe47e6ee9515
+gbrp10le            13a39077ab1b2c3b49afd3e250b84a77
+gbrp12le            e64ab4d290eb10476db165054720173f
 gbrp12le            e64ab4d290eb10476db165054720173f
-gbrp14be            b3806ade527ef7452c29106054946cd1
 gbrp14le            b01b1a05d8de36f51a133d25102fe1f3
-gbrp16be            f82e4bda468275f51becf70f3880be52
+gbrp14le            b01b1a05d8de36f51a133d25102fe1f3
+gbrp16le            c7813a905f94aabb2bcade79c9b7e39e
 gbrp16le            c7813a905f94aabb2bcade79c9b7e39e
-gbrp9be             b8d294d4bc81ceef1fb529e917c02e48
+gbrp9le             0d42cc9e222d806c33172781b45cb3e3
 gbrp9le             0d42cc9e222d806c33172781b45cb3e3
 gray                d96e0f1c73d3f0b9506d691b5cd36c73
-gray10be            c26c73de96b630f1207ff589b6553ebd
 gray10le            16e4db1d611ec3fa5c9fd8fbdbf1ffcc
-gray12be            1c3285c150e1dddcf0fbee405cfb068e
+gray10le            16e4db1d611ec3fa5c9fd8fbdbf1ffcc
+gray12le            a57b6199f5690add0ac0150fa95c4988
 gray12le            a57b6199f5690add0ac0150fa95c4988
-gray14be            1e3d0d0421cf84eac93d7ab1964207ff
 gray14le            04899f53627203bd1fe3f17fb0de199c
-gray16be            293a36548ce16543494790f8f7f76a05
+gray14le            04899f53627203bd1fe3f17fb0de199c
+gray16le            84f83f5fcbb5d458efb8395a50a3797e
 gray16le            84f83f5fcbb5d458efb8395a50a3797e
-gray9be             ec877f5bcf0ea275a6f36c12cc9adf11
 gray9le             fba944fde7923d5089f4f52d12988b9e
-grayf32be           1aa7960131f880c54fe3c77f13448674
+gray9le             fba944fde7923d5089f4f52d12988b9e
+grayf32le           4029ac9d197f255794c1b9e416520fc7
 grayf32le           4029ac9d197f255794c1b9e416520fc7
 rgb0                2e3d8c91c7a83d451593dfd06607ff39
 rgb24               b82577f8215d3dc2681be60f1da247af
-rgb444be            1c3afc3a0c53c51139c76504f59bb1f4
 rgb444le            afced429728bf94c0617d0c031e356e5
-rgb48be             dd9db831fb640b113bd9531f3f19c226
+rgb444le            afced429728bf94c0617d0c031e356e5
+rgb48le             ef45b68fddf5e4d2e2ab3c08920dae64
 rgb48le             ef45b68fddf5e4d2e2ab3c08920dae64
 rgb4_byte           e9804cb4aa572a40ddf3204e9c2c4566
-rgb555be            b4ef7a0ad6f45b329a1ece563617c557
 rgb555le            bcc3bd31b2df8180341fa0e50b70852b
-rgb565be            d9b1e8f52a4044b0019ce56f6bc2242c
+rgb555le            bcc3bd31b2df8180341fa0e50b70852b
+rgb565le            eac5262d84669b2af28e9357660dc912
 rgb565le            eac5262d84669b2af28e9357660dc912
 rgb8                6deae05ccac5c50bd0d9c9fe8e124557
 rgba                1fdf872a087a32cd35b80cc7be399578
-rgba64be            5598f44514d122b9a57c5c92c20bbc61
+rgba64le            b34e6e30621ae579519a2d91a96a0acf
 rgba64le            b34e6e30621ae579519a2d91a96a0acf
 uyvy422             75de70e31c435dde878002d3f22b238a
-xyz12be             15f5cda71de5fef9cec5e75e3833b6bc
 xyz12le             7be6c8781f38c21a6b8f602f62ca31e6
-ya16be              205d6a21890c1f057c9c20fbbba590e2
+xyz12le             7be6c8781f38c21a6b8f602f62ca31e6
+ya16le              f35616fdb5d3fbf767a4f11118cf8ad1
 ya16le              f35616fdb5d3fbf767a4f11118cf8ad1
 ya8                 055ac5ab5ff8533dd319edc17a398af1
 yuv411p             e4a040e0e786c4dae07d9d3f90a54905
 yuv422p             16ce67249c6ce7ef57a433646ad6dfc1
-yuv422p10be         62ae323dcc41aabf8ff6ecc53b119ce8
 yuv422p10le         60b20ad8c01ad7ea774ce1d74d8932ba
-yuv422p12be         7bcb3e28323dbf566512b5b8a1d33380
+yuv422p10le         60b20ad8c01ad7ea774ce1d74d8932ba
+yuv422p12le         5877624df10122dd51c173f814bd5414
 yuv422p12le         5877624df10122dd51c173f814bd5414
-yuv422p14be         8bd7bfb0b35d68000ba57af66958ef2d
 yuv422p14le         471c7528e3da240d0a40f33548cbfbab
-yuv422p16be         8c193a8b6064e2379b2fb211cd2e6e37
+yuv422p14le         471c7528e3da240d0a40f33548cbfbab
 yuv422p16le         c949614bec06baca5ffca840b164eacc
-yuv422p9be          b615f4e767a287e85be97dd52371ba5e
+yuv422p16le         c949614bec06baca5ffca840b164eacc
+yuv422p9le          c9faffe2fcb2e30be5d792412b3550b0
 yuv422p9le          c9faffe2fcb2e30be5d792412b3550b0
 yuv444p             1483374f69c4bbaf9252ce255fc84feb
-yuv444p10be         2e5caee508692869141bd9649cc17f64
 yuv444p10le         c0ceb41ad4c2ddc454f3fdb9cda2d8ad
-yuv444p12be         8729565c21a9d8f1e7a87d81d0aa4a54
+yuv444p10le         c0ceb41ad4c2ddc454f3fdb9cda2d8ad
 yuv444p12le         d4786cb4b1e79b2af1493e01d685282f
-yuv444p14be         33f1cf5233f57582618390ea337e83c6
+yuv444p12le         d4786cb4b1e79b2af1493e01d685282f
+yuv444p14le         7d9fc358232488f671d663d27875f3c1
 yuv444p14le         7d9fc358232488f671d663d27875f3c1
-yuv444p16be         779ea70979e735d3074fef0466792681
 yuv444p16le         aa893d9b1857b68fd1c5fc42236d7816
-yuv444p9be          fd0ae3b828d40e2638ea0640bb5cc168
+yuv444p16le         aa893d9b1857b68fd1c5fc42236d7816
+yuv444p9le          9bb3dde9fadb3c03a0ef8305b5f67a7e
 yuv444p9le          9bb3dde9fadb3c03a0ef8305b5f67a7e
 yuva422p            c470da57cde22b452deb8874df710dce
-yuva422p10be        a2ffa080ae661c1033aa38be28002922
 yuva422p10le        a4f5e8006f8ea3f964206605045e0fe0
-yuva422p12be        ec44f9fc083d5f39051f2a65daea6890
+yuva422p10le        a4f5e8006f8ea3f964206605045e0fe0
 yuva422p12le        5fd785e19f68538ba76e6e505447239c
-yuva422p16be        929ec5d4bcfac13ba8a02f12e3f5fc7f
+yuva422p12le        5fd785e19f68538ba76e6e505447239c
+yuva422p16le        7155a6036e25719f2e4d2d47212f077d
 yuva422p16le        7155a6036e25719f2e4d2d47212f077d
-yuva422p9be         b1af62d553d790e041e80cf89608efe3
+yuva422p9le         65c80faeb0021deb232ee451f77c89e3
 yuva422p9le         65c80faeb0021deb232ee451f77c89e3
 yuva444p            9ac54882677f1fc5553a97ea558e942d
-yuva444p10be        3326267d176a8dfed2c7511b926962e6
 yuva444p10le        bfe957d1b5fea3585b3942cbfdd529ad
-yuva444p12be        ecaa57b7f0b04c3e8779a5f5dcd23032
+yuva444p10le        bfe957d1b5fea3585b3942cbfdd529ad
+yuva444p12le        6b645eeaff8363d82ff686b3b020cae3
 yuva444p12le        6b645eeaff8363d82ff686b3b020cae3
-yuva444p16be        2f80d411847856e1364659dee8b23485
 yuva444p16le        5796be8d66371b60037fc8053c27e900
-yuva444p9be         a83599c0e9fca08f6b7c6e02c2413fcf
+yuva444p16le        5796be8d66371b60037fc8053c27e900
+yuva444p9le         390fcd8f72ee407a8c338667944e3f72
 yuva444p9le         390fcd8f72ee407a8c338667944e3f72
 yuvj411p            73fa99cb96d2f7171bff15bc2e43d963
 yuvj422p            d5e67ce1db5347cf3416069286359f57
diff --git a/tests/ref/fate/filter-pixfmts-hflip b/tests/ref/fate/filter-pixfmts-hflip
index f171a95fa3..96dc08c528 100644
--- a/tests/ref/fate/filter-pixfmts-hflip
+++ b/tests/ref/fate/filter-pixfmts-hflip
@@ -5,141 +5,141 @@  argb                36cf791c52c5463bfc52a070de54337e
 ayuv64le            4cedbc38b3d4dcb26cdab170ce6d667b
 bgr0                66e9fda4e658d73bfe4fc9d792542271
 bgr24               db074979bd684ca4547e28681ad3f6ab
-bgr444be            63ad2fe7b4e44b11c5ca03b545a941ca
 bgr444le            a742195a606d5c3f1de795b499077f01
-bgr48be             e59efaa40ad1652c74a7c83aba43b4f2
+bgr444le            a742195a606d5c3f1de795b499077f01
+bgr48le             13c4f904e318356c96ffce911226cf83
 bgr48le             13c4f904e318356c96ffce911226cf83
 bgr4_byte           8de3494b53a459ab0f748a525e87ad4c
-bgr555be            2b491222a2807a112b404f2924ba0c3e
 bgr555le            533feb969289df2bc628d46816d1db89
-bgr565be            3094c0320e068305b35c57b82476370c
+bgr555le            533feb969289df2bc628d46816d1db89
+bgr565le            d20c95743b957cbecd09272a630f22cb
 bgr565le            d20c95743b957cbecd09272a630f22cb
 bgr8                67fb3fd116f0c0eb36d8ed03bdfbb0a6
 bgra                275f05a382bcbc9bc77c06b79e1d8a71
-bgra64be            1cabeafe9c21a4f7ccd976220f22ee5a
+bgra64le            1b15c01c94cf9af89273da1d1f994cff
 bgra64le            1b15c01c94cf9af89273da1d1f994cff
 gbrap               bf6a2b2f206fbbb332a718fb570d7cb7
-gbrap10be           f188dc23756469cbdd172fe97ad58121
+gbrap10le           927aa36653525bc3d9e9add84d52d7a3
 gbrap10le           262f0501633ea4670020fae8ac6835e2
-gbrap12be           ffe9aa4cbcc42f71757efe18826764ac
 gbrap12le           88a85c1b3c5e19e299fdd209b73ac1ba
-gbrap16be           3117e84b258433a7efb9288bbb8815d4
+gbrap12le           88a85c1b3c5e19e299fdd209b73ac1ba
+gbrap16le           3ad08cf8b49d8eb31a1b356ec4b7b88b
 gbrap16le           3ad08cf8b49d8eb31a1b356ec4b7b88b
 gbrp                0ecfeca171ba3a1a2ff4e92f572b71cf
-gbrp10be            774398c2f81757a536c094f16cfc541a
 gbrp10le            e9a6434d691be541f789f850963da181
-gbrp12be            13d819d869f8e84aadca57e21883030e
+gbrp10le            e9a6434d691be541f789f850963da181
+gbrp12le            22046339442c155fbb9b02ceff5e1c15
 gbrp12le            22046339442c155fbb9b02ceff5e1c15
-gbrp14be            7e1d2f9d9bb7cc90d88540f36998acd6
 gbrp14le            91bb636f4e1f5d50312b136c185542e9
-gbrp16be            46cf9473646a4b9dbcb05661ade658ec
+gbrp14le            91bb636f4e1f5d50312b136c185542e9
+gbrp16le            6ce6093b24d09c0edcd55b2d6fec89a0
 gbrp16le            6ce6093b24d09c0edcd55b2d6fec89a0
-gbrp9be             174de037c2a9f2b6fb4d9444ae0ff82f
+gbrp9le             ba7c2631fb2967aa909c66509bd243fe
 gbrp9le             ba7c2631fb2967aa909c66509bd243fe
 gray                8bd4ece1dbf89b20ee785e0515356e07
-gray10be            160dd03e30d33379de92c70ee52c01fd
 gray10le            6baac1da6be3789409b67cd506afe7da
-gray12be            de7b5ef4b513e7e8270c617249d1cbdf
+gray10le            6baac1da6be3789409b67cd506afe7da
+gray12le            e8d0739ff61649bd82722b3134cbe776
 gray12le            e8d0739ff61649bd82722b3134cbe776
-gray14be            22560aaac37f5bb2982819b752bf4608
 gray14le            d4b2f5e7c4bbd39130655b8f2c55f010
-gray16be            cf7294d9aa23e1b838692ec01ade587b
+gray14le            d4b2f5e7c4bbd39130655b8f2c55f010
+gray16le            d91ce41e304419bcf32ac792f01bd64f
 gray16le            d91ce41e304419bcf32ac792f01bd64f
-gray9be             ac8d260669479ae720a5b6d4d8639e34
 gray9le             424fc581947bc8c357c9ec5e3c1c04d1
-grayf32be           a69add7bbf892a71fe81b3b75982dbe2
+gray9le             424fc581947bc8c357c9ec5e3c1c04d1
+grayf32le           4563e176a35dc8a8a07e0829fad5eb88
 grayf32le           4563e176a35dc8a8a07e0829fad5eb88
 nv12                801e58f1be5fd0b5bc4bf007c604b0b4
 nv21                9f10dfff8963dc327d3395af21f0554f
-p010be              744b13e44d39e1ff7588983fa03e0101
+p010le              aeb31f50c66f376b0530c7bb6287212b
 p010le              a50b160346ab94f55a425065b57006f0
-p016be              744b13e44d39e1ff7588983fa03e0101
+p016le              aeb31f50c66f376b0530c7bb6287212b
 p016le              a50b160346ab94f55a425065b57006f0
 pal8                5b7c77d99817b4f52339742a47de7797
 rgb0                0092452f37d73da20193265ace0b7d57
 rgb24               21571104e6091a689feabb7867e513dd
-rgb444be            38d6d0e9aa15ce95f3fffcde8437632d
 rgb444le            4c5bb6590def780c480abbe6a6349b1a
-rgb48be             dc7f3a98c0913a6defa56bf032590ad0
+rgb444le            4c5bb6590def780c480abbe6a6349b1a
+rgb48le             a813a316f8b5d49340f64990f914e2f7
 rgb48le             a813a316f8b5d49340f64990f914e2f7
 rgb4_byte           f28c594e547d38166c2757338948e874
-rgb555be            316c7c1f785d8ba84dbe3eaa20591158
 rgb555le            07f561fec000bbadf6b732a358c6126a
-rgb565be            593c48d6214cb40f6472ebdf9f6ede1a
+rgb555le            07f561fec000bbadf6b732a358c6126a
+rgb565le            ccc896ad1852500b7e72bb858860d747
 rgb565le            ccc896ad1852500b7e72bb858860d747
 rgb8                68a3a575badadd9e4f90226209f11699
 rgba                51961c723ea6707e0a410cd3f21f15d3
-rgba64be            c910444019f4cfbf4d995227af55da8d
 rgba64le            0c810d8b3a6bca10321788e1cb145340
-xyz12be             25f90259ff8a226befdaec3dfe82996e
+rgba64le            0c810d8b3a6bca10321788e1cb145340
+xyz12le             926c0791d59aaff61b2778e8ada3316d
 xyz12le             926c0791d59aaff61b2778e8ada3316d
-ya16be              632b2e6e8e20c3edcfe99356fa7fca9e
+ya16le              e2ff5a2fb969c70dcc862937f9224873
 ya16le              e2ff5a2fb969c70dcc862937f9224873
 ya8                 4ad5920716de3d2fbbc49f95adb60345
 yuv410p             c49fd0c55c41185b1580aac77211992b
 yuv411p             c416371077dce13d31bf1dc706111ae7
 yuv420p             eb8d9f02db98e10400781428c43e9438
-yuv420p10be         5cd5c8181248b2dbdc7a8669caca3ed7
 yuv420p10le         95a92ee031fdb8812661c019d925fad0
-yuv420p12be         8fe5d344a1576aba7892e855d2790df9
+yuv420p10le         95a92ee031fdb8812661c019d925fad0
+yuv420p12le         c0897e2b53c1417fcf0cfbdbf9f54163
 yuv420p12le         c0897e2b53c1417fcf0cfbdbf9f54163
-yuv420p14be         c5758d8062c61248110485243a75b712
 yuv420p14le         e283871dec73c853421d3aa098f071a7
-yuv420p16be         da4f5b6e537edf9cdea48a60defe520e
+yuv420p14le         e283871dec73c853421d3aa098f071a7
+yuv420p16le         4173d444fea2ea27ad03b3f92e982bcd
 yuv420p16le         4173d444fea2ea27ad03b3f92e982bcd
-yuv420p9be          be69519cbd3f3b9d02b165e6d675b4cf
+yuv420p9le          49eac58088b3e1cac170911382e2bb9d
 yuv420p9le          49eac58088b3e1cac170911382e2bb9d
 yuv422p             5aade4d118cd7243800a08d300033748
-yuv422p10be         a12d0957b703bd54cd569664b821ca3e
 yuv422p10le         8b6ac98276b10b7e540a5f689e5453fa
-yuv422p12be         b5d2142e6ccd9f69dee2c0643b14a741
+yuv422p10le         8b6ac98276b10b7e540a5f689e5453fa
 yuv422p12le         da75ea80662636c698986cdeab334669
-yuv422p14be         027a593f148a96ff9e37a35e55608818
+yuv422p12le         da75ea80662636c698986cdeab334669
+yuv422p14le         4c1de1ce4f199ab8e94a28bf79ecedb6
 yuv422p14le         4c1de1ce4f199ab8e94a28bf79ecedb6
-yuv422p16be         3d4b525c8056b740a4afa5b86cd79cd3
 yuv422p16le         bb93ea91207d118811e2dfd5a48e223d
-yuv422p9be          5b41fff3b17c2934e1db61f0591fdfbc
+yuv422p16le         bb93ea91207d118811e2dfd5a48e223d
+yuv422p9le          720ed60d583933c3fb8db6dbb2991dc6
 yuv422p9le          720ed60d583933c3fb8db6dbb2991dc6
 yuv440p             53fb331a853af01bed7f32504a1e5ff0
-yuv440p10be         38108067cdce71f3a8f51eee25e4ff5d
 yuv440p10le         a369c78eda4f46d71105c38ddc92b976
-yuv440p12be         2d5e61f399ecb12bfb66fdf20b37b4f0
+yuv440p10le         a369c78eda4f46d71105c38ddc92b976
+yuv440p12le         7aecbe06b7cd8c84d98af8cf3bb971e8
 yuv440p12le         7aecbe06b7cd8c84d98af8cf3bb971e8
 yuv444p             0bd726440d90438ad357172fe1fac9b3
-yuv444p10be         c2e452fbe45f23c70525919154f4b81f
 yuv444p10le         90140d5f930fb2ff750fe18df990d0f3
-yuv444p12be         f858a8f0c55192ab69d356b97e0449bb
+yuv444p10le         90140d5f930fb2ff750fe18df990d0f3
+yuv444p12le         22f099dbae63e6564f06e1cc32683a4e
 yuv444p12le         22f099dbae63e6564f06e1cc32683a4e
-yuv444p14be         be4727c283bb3af3327f7b9dc57e51b8
 yuv444p14le         289f4d6a3d60ba654e8280683825ee9a
-yuv444p16be         acb6b001d445a628d1d0a2dfbeed078c
+yuv444p14le         289f4d6a3d60ba654e8280683825ee9a
 yuv444p16le         cce4770e9e2c6d4104562490d6ffbbaa
-yuv444p9be          e29d58f528e7b36e3d7321e50f6a69d9
+yuv444p16le         cce4770e9e2c6d4104562490d6ffbbaa
+yuv444p9le          587f7bd803aa09109e278fb7aa3e3971
 yuv444p9le          587f7bd803aa09109e278fb7aa3e3971
 yuva420p            e910f0f5ed439a17fc3e61b42dec88c2
-yuva420p10be        2c3b83450c3155793a142ecd5d525131
 yuva420p10le        c49ac6b0e89564fa8243e0400adc37de
-yuva420p16be        8fbd18fd0d3b755dd311988856843b80
+yuva420p10le        c49ac6b0e89564fa8243e0400adc37de
+yuva420p16le        cd647fd48bf5398a783f6ba6a6332835
 yuva420p16le        cd647fd48bf5398a783f6ba6a6332835
-yuva420p9be         3cd29a8e3da6c6ab7538ecf987fb8123
+yuva420p9le         15e6654f50eddf97f852070d8dd8f009
 yuva420p9le         15e6654f50eddf97f852070d8dd8f009
 yuva422p            902dc911ee175d9b1f2addcc03aab9a3
-yuva422p10be        fb927978446e975f7424600495a7acde
 yuva422p10le        1d0b5a5946b824810b1b83a7ce429274
-yuva422p12be        5407e82d1c4356472ad549e5ae38ea1e
+yuva422p10le        1d0b5a5946b824810b1b83a7ce429274
+yuva422p12le        5dc0e1910b248e12989ae937ddeec342
 yuva422p12le        5dc0e1910b248e12989ae937ddeec342
-yuva422p16be        88977e5ddcee9377525c3f251fdeb25e
 yuva422p16le        d6a50a91be5fc720ca97fc2f6fbd3bb2
-yuva422p9be         996d8d73648c602c73c51e2d95b6cf9b
+yuva422p16le        d6a50a91be5fc720ca97fc2f6fbd3bb2
+yuva422p9le         2d64684a8844967e9ffe827c04e3c917
 yuva422p9le         2d64684a8844967e9ffe827c04e3c917
 yuva444p            53247be24822d158c0866cd58d2ceeba
-yuva444p10be        9f3c25c3b9d26787d0bf8da2b15c75c6
 yuva444p10le        1721b843b721629da7a0cd76ac665708
-yuva444p12be        9feb6e1d8bfe9b7fd5e352465f278704
+yuva444p10le        1721b843b721629da7a0cd76ac665708
 yuva444p12le        12a949ebcf0f94e4a2f9915ef778680a
-yuva444p16be        635fb2720470e0042a7c9b70bf908a2c
+yuva444p12le        12a949ebcf0f94e4a2f9915ef778680a
+yuva444p16le        6d5bd13f8bb804bd1158c1af732a24e1
 yuva444p16le        6d5bd13f8bb804bd1158c1af732a24e1
-yuva444p9be         3d3e7491192aa4e396015bf8e3755a24
+yuva444p9le         31727b34bc3d5ce726681e90557d39e4
 yuva444p9le         31727b34bc3d5ce726681e90557d39e4
 yuvj411p            70a0abb56a538376aff33c275584b61e
 yuvj420p            83af439c504d41f986adc17059b7fda8
diff --git a/tests/ref/fate/filter-pixfmts-il b/tests/ref/fate/filter-pixfmts-il
index 0839a77ed2..c2c1bd339d 100644
--- a/tests/ref/fate/filter-pixfmts-il
+++ b/tests/ref/fate/filter-pixfmts-il
@@ -5,143 +5,143 @@  argb                9e50e6ef02c83f28e97865a1f46ddfcd
 ayuv64le            6f45f683e99ddf4180c7c7f47719efcc
 bgr0                590dcd1297d1dd4541eea217381db604
 bgr24               73afe7b447b083a7c2d682abe8dd451a
-bgr444be            4fa078adc981fd07440a7b657c98c4c1
 bgr444le            404c22249a4222f3c086ef9ef79e090f
-bgr48be             6de326fc52d92c6a31d74378534d2fff
+bgr444le            404c22249a4222f3c086ef9ef79e090f
+bgr48le             d37e673d846e9ceb06641ba6d480db84
 bgr48le             d37e673d846e9ceb06641ba6d480db84
 bgr4_byte           f275df6bc1d33eb037b0f609bfa5a7a8
-bgr555be            e9007cafaf389f2895cf0e45079ecb90
 bgr555le            9d4d4c0c5e85eca0030e74ed873e9538
-bgr565be            bef8c77c32880c9eebe4507ebc3f2a6d
+bgr555le            9d4d4c0c5e85eca0030e74ed873e9538
+bgr565le            8190c5275d8b62d997362f999b72be16
 bgr565le            8190c5275d8b62d997362f999b72be16
 bgr8                ef01593604512621b3d175f8b6c2ec9e
 bgra                e6ae08f06f157297296b319a249dddf5
-bgra64be            de7c036f20fc54d89690239cc6239678
+bgra64le            d1aa975fa03ce226008396b30a653420
 bgra64le            d1aa975fa03ce226008396b30a653420
 gbrap               575ff1fe5d7585ed82da1db35f106e4c
-gbrap10be           bafa57a2e4331d8a39f6f0087c85d4b1
+gbrap10le           522cf76fa2253286ddede13a6b91397a
 gbrap10le           553a1f439d8184dc400432d3f786fbce
-gbrap12be           48609d6b61ff6313939fa2d9c3ebb6d9
 gbrap12le           e3b5342c8e47820f2de7e2dd61872312
-gbrap16be           696c84c8b009c7320cad7f3847bb35da
+gbrap12le           e3b5342c8e47820f2de7e2dd61872312
+gbrap16le           9bacb81fbbe9cdfd04d71eb55a9719d2
 gbrap16le           9bacb81fbbe9cdfd04d71eb55a9719d2
 gbrp                dc06edb62e70024a216c8e303b79b328
-gbrp10be            321e7f061d8b9b5801221b6cf3c99666
 gbrp10le            799ed3afca01076439a0b6785b3dc4bb
-gbrp12be            7ca179ad8f7b018de48a48bdb0776965
+gbrp10le            799ed3afca01076439a0b6785b3dc4bb
+gbrp12le            c69843651e7e60e85c5e8a2fe4ecb290
 gbrp12le            c69843651e7e60e85c5e8a2fe4ecb290
-gbrp14be            5dc5e8131c25125347758e03d15b69e6
 gbrp14le            bf3d5dec9b58cecd4ca1c5d3a4d57c31
-gbrp16be            c8c95027703c680ed8f8f91c725db40a
+gbrp14le            bf3d5dec9b58cecd4ca1c5d3a4d57c31
+gbrp16le            c95c9d7c2b19826b73ff1811d9fe6bdb
 gbrp16le            c95c9d7c2b19826b73ff1811d9fe6bdb
-gbrp9be             f029d87fa642f4261160471ad27fd53f
+gbrp9le             b310d3cf37f7b41d706155993f8f0584
 gbrp9le             b310d3cf37f7b41d706155993f8f0584
 gray                52ae18648161ac43144f5c9cd2127786
-gray10be            8400dec0eefb172849b785d35fc55674
 gray10le            b7d6e49e8d1291f2b0a57d55e9478ef1
-gray12be            c62bc3def5ea217dfb68433905cb9d64
+gray10le            b7d6e49e8d1291f2b0a57d55e9478ef1
+gray12le            5bd0fef836928e1e19a315782a8c1302
 gray12le            5bd0fef836928e1e19a315782a8c1302
-gray14be            5b3a15c182e2daed65dc39c33fd62735
 gray14le            3573d6870b14256f01800066d36ad862
-gray16be            92c3b09f371b610cc1b6a9776034f4d0
+gray14le            3573d6870b14256f01800066d36ad862
+gray16le            1db278d23a554e01910cedacc6c02521
 gray16le            1db278d23a554e01910cedacc6c02521
-gray9be             ed7db5bb2ddc09bc26068c8b858db204
 gray9le             2ec9188f0dcfefef76a09f371d7beb8e
-grayf32be           f36197c9e2ef5c50a995e980c1a37203
+gray9le             2ec9188f0dcfefef76a09f371d7beb8e
+grayf32le           8bf3d295c3ffd53da0e06d0702e7c1ca
 grayf32le           8bf3d295c3ffd53da0e06d0702e7c1ca
 monob               faba75df28033ba7ce3d82ff2a99ee68
 monow               6e9cfb8d3a344c5f0c3e1d5e1297e580
 nv12                3c3ba9b1b4c4dfff09c26f71b51dd146
 nv21                ab586d8781246b5a32d8760a61db9797
-p010be              3df51286ef66b53e3e283dbbab582263
+p010le              38945445b360fa737e9e37257393e823
 p010le              eadcd8241e97e35b2b47d5eb2eaea6cd
-p016be              3df51286ef66b53e3e283dbbab582263
+p016le              38945445b360fa737e9e37257393e823
 p016le              eadcd8241e97e35b2b47d5eb2eaea6cd
 rgb0                cfaf68671e43248267d8cd50cae8c13f
 rgb24               88894f608cf33ba310f21996748d77a7
-rgb444be            99d36d814988fb388aacdef575dacfcf
 rgb444le            71b4b1a44e13d1bdb31f81b5f9a75803
-rgb48be             267ac00248129e735a917175b5cf0a82
+rgb444le            71b4b1a44e13d1bdb31f81b5f9a75803
+rgb48le             15e7d807b7f4ea68ac506dfc2db9146c
 rgb48le             15e7d807b7f4ea68ac506dfc2db9146c
 rgb4_byte           9bd11ff523ea914bf0b26f8af7965054
-rgb555be            fd0be5e3f5f6fdb250f8368c2eabe943
 rgb555le            c85a16162ca83496306ba6c888c1a8b7
-rgb565be            046e381ad0be8277f7020420297a8f6b
+rgb555le            c85a16162ca83496306ba6c888c1a8b7
+rgb565le            9b79220c3c2f23b60a55c2bdf709ffb8
 rgb565le            9b79220c3c2f23b60a55c2bdf709ffb8
 rgb8                93f9fa5ecf522abe13ed34f21831fdfe
 rgba                625d8f4bd39c4bdbf61eb5e4713aecc9
-rgba64be            db70d33aa6c06f3e0a1c77bd11284261
+rgba64le            a8a2daae04374a27219bc1c890204007
 rgba64le            a8a2daae04374a27219bc1c890204007
 uyvy422             d6ee3ca43356d08c392382b24b22cda5
-xyz12be             7c7d54c55f136cbbc50b18029f3be0b3
 xyz12le             090ba6b1170baf2b1358b43b971d33b0
-ya16be              bf2cf1e89c9fdb5bc10425db567ba2da
+xyz12le             090ba6b1170baf2b1358b43b971d33b0
+ya16le              4e9c9097fae615b8a5f4c3b237f752f0
 ya16le              4e9c9097fae615b8a5f4c3b237f752f0
 ya8                 a38d6e288f582f1a04310232ed764afc
 yuv410p             dea1ab8843465adf5b8240b2d98fd85b
 yuv411p             8bf73777a5ff43c126be274245aceff1
 yuv420p             f1f4e7e94a76d5320049464bdeac24ed
-yuv420p10be         f7839393b65972595bdcb2485c6bf2a1
 yuv420p10le         cb00b1fc299baff8bc31086d8571fed6
-yuv420p12be         e5bba4d9f2299e98e69c9347234545c8
+yuv420p10le         cb00b1fc299baff8bc31086d8571fed6
+yuv420p12le         7110d2862c1da19e0298029383d31dab
 yuv420p12le         7110d2862c1da19e0298029383d31dab
-yuv420p14be         240357c01079020ccc3d9287b5821a1b
 yuv420p14le         f7d0f5f5e72455b238897ed87cf67b3c
-yuv420p16be         8195046b708c613b3ca521c95db529ab
+yuv420p14le         f7d0f5f5e72455b238897ed87cf67b3c
+yuv420p16le         0586439ecbd0d2fb8f22f953e6efade8
 yuv420p16le         0586439ecbd0d2fb8f22f953e6efade8
-yuv420p9be          955faeb6751e2fc39cbe160dc5fd35b6
+yuv420p9le          f8a4a93f98743cdd8d0ebadba2f8028a
 yuv420p9le          f8a4a93f98743cdd8d0ebadba2f8028a
 yuv422p             da122be331a53ec389ab6b2064488beb
-yuv422p10be         956f3c496807e62a288501e183fafad0
 yuv422p10le         43f99eb0d8abd1754572f77e430d4c41
-yuv422p12be         9e8e40a95c4c762274e22026d16a4157
+yuv422p10le         43f99eb0d8abd1754572f77e430d4c41
 yuv422p12le         28a5b358a919297c005bc491c91b2b15
-yuv422p14be         ccff1e00f5d3adb899f1c266b22c9628
+yuv422p12le         28a5b358a919297c005bc491c91b2b15
+yuv422p14le         f8a3bcbf8c55b1f570c078ff2f436b1f
 yuv422p14le         f8a3bcbf8c55b1f570c078ff2f436b1f
-yuv422p16be         7f2363ccb6e69241c70411b6d063a2fe
 yuv422p16le         58c0fabd1042b35346ed8b8ed3f90653
-yuv422p9be          3ecf7f2584fe3f3f567790e3924c153c
+yuv422p16le         58c0fabd1042b35346ed8b8ed3f90653
+yuv422p9le          a3fe601dcec267ae70db422843d2ce84
 yuv422p9le          a3fe601dcec267ae70db422843d2ce84
 yuv440p             b4261e15f5dc347b873cf19ccaba8123
-yuv440p10be         9c8e626ca9722f872ef0ecc8e3fca74e
 yuv440p10le         8c28978a0ad4d80c588989505a7f0807
-yuv440p12be         6711f322b74edc424230bc973c6afcd6
+yuv440p10le         8c28978a0ad4d80c588989505a7f0807
+yuv440p12le         6f47a23742f5763f3240982e1892e4dc
 yuv440p12le         6f47a23742f5763f3240982e1892e4dc
 yuv444p             bbd70cde098f24097c4cdcd3ad22d9ce
-yuv444p10be         b0de51e143a5bd490c424dc836becfa8
 yuv444p10le         4435dca19253b88dc7cd553928467e79
-yuv444p12be         23f0ce3a810138df7849d4f6b5e50211
+yuv444p10le         4435dca19253b88dc7cd553928467e79
+yuv444p12le         0394aeef391e2cc09722ee8e7244f1c3
 yuv444p12le         0394aeef391e2cc09722ee8e7244f1c3
-yuv444p14be         c712cf9dbf8571fbd31fa747e58993ec
 yuv444p14le         3a0e361e5998f8590dd8ca8ce896cea1
-yuv444p16be         929c50756bfe8cab7c416f56095fbb82
+yuv444p14le         3a0e361e5998f8590dd8ca8ce896cea1
 yuv444p16le         63c3c3bc5d08f701afa3406f7a22018c
-yuv444p9be          b33e6dc5cf08ff7672292b518d352c2f
+yuv444p16le         63c3c3bc5d08f701afa3406f7a22018c
+yuv444p9le          c9d767579483a2e4bb1424afc5223361
 yuv444p9le          c9d767579483a2e4bb1424afc5223361
 yuva420p            e72aad3c3cf41445bdc1c9d14b21321f
-yuva420p10be        7cd2e0948f56fb54e8e6856b02561493
 yuva420p10le        5f038e8362ab2f999984a5b7d1536b7d
-yuva420p16be        b98c585e4b9a6cdb86147499d8fe8531
+yuva420p10le        5f038e8362ab2f999984a5b7d1536b7d
+yuva420p16le        c58b31509a944e5ec6a0676218e43daa
 yuva420p16le        c58b31509a944e5ec6a0676218e43daa
-yuva420p9be         845bc11e88affc3161ae6265008edc84
+yuva420p9le         fbc3300867510900fec84caf718e8601
 yuva420p9le         fbc3300867510900fec84caf718e8601
 yuva422p            6c347a539965cd63cddfeec598858c11
-yuva422p10be        d34bf5f06ac5c67e12409aa111b4e21b
 yuva422p10le        ecb3cc8d77cee05e54d4de60831be159
-yuva422p12be        de287adba746037e68ff81cf7dc59e57
+yuva422p10le        ecb3cc8d77cee05e54d4de60831be159
+yuva422p12le        761e18a8a73b55113e57ec39de33a4e6
 yuva422p12le        761e18a8a73b55113e57ec39de33a4e6
-yuva422p16be        47a8d3c98492d31bce0ed0d6f74f5131
 yuva422p16le        a950acae1f7ffc47a0951a40e3309b09
-yuva422p9be         0217ba7015245e017ceb0a3eeb39fa56
+yuva422p16le        a950acae1f7ffc47a0951a40e3309b09
+yuva422p9le         1bbb5ba2b649bbe47c928012deb4e3ae
 yuva422p9le         1bbb5ba2b649bbe47c928012deb4e3ae
 yuva444p            c8153b52159fb0f392459b8be406c294
-yuva444p10be        b0456e5ecdd87c983573e1016db85178
 yuva444p10le        f9b10500666ba220ce42b478a6785dae
-yuva444p12be        eb83a157ff3d750d3ee71c9c598c01b9
+yuva444p10le        f9b10500666ba220ce42b478a6785dae
 yuva444p12le        6cc82bf7cc18194db81397debfc01951
-yuva444p16be        97f8cb6ed835c7c5cd2fb112b1e135c7
+yuva444p12le        6cc82bf7cc18194db81397debfc01951
+yuva444p16le        47170401a8c348d3f05f6530607d066b
 yuva444p16le        47170401a8c348d3f05f6530607d066b
-yuva444p9be         d5c0170b41221a9607e6ae586880a383
+yuva444p9le         4948983313f46180666dec85ef30130c
 yuva444p9le         4948983313f46180666dec85ef30130c
 yuvj411p            91e137f54b2cbbb1c1423c36f031d5f2
 yuvj420p            2b6d8e3b527af5de94963d1bdefe20a9
diff --git a/tests/ref/fate/filter-pixfmts-null b/tests/ref/fate/filter-pixfmts-null
index 0609344c2a..bf0977a96a 100644
--- a/tests/ref/fate/filter-pixfmts-null
+++ b/tests/ref/fate/filter-pixfmts-null
@@ -5,144 +5,144 @@  argb                f003b555ef429222005d33844cca9325
 ayuv64le            07b9c969dfbe4add4c0626773b151d4f
 bgr0                6fcd67c8e6cec723dab21c70cf53dc16
 bgr24               4cff3814819f02ecf5824edfd768d2b1
-bgr444be            1cd47c1555f947dfcba99192e3429d20
 bgr444le            e1832fdc9b118d4440ba03cea6e30428
-bgr48be             51477f029592ddb6b912980fdf2df7f1
+bgr444le            e1832fdc9b118d4440ba03cea6e30428
+bgr48le             b34faf404b33c74cd25f5f912ca3274c
 bgr48le             b34faf404b33c74cd25f5f912ca3274c
 bgr4_byte           7ca99bc8a1c7c831cb955806ac05cb72
-bgr555be            6d32031ad4f52723023e547058a62c71
 bgr555le            823a3b2f2585e537da5cb76c8ce30cf4
-bgr565be            438b0f18fd754280d5dc2f421c376ffb
+bgr555le            823a3b2f2585e537da5cb76c8ce30cf4
+bgr565le            acab2b65c0fe5f9618c90f77f70ab3be
 bgr565le            acab2b65c0fe5f9618c90f77f70ab3be
 bgr8                898a66734bda0572dfab1edd8239f6a2
 bgra                3934fb81a602dfa7d29420b1a66f0fd8
-bgra64be            c8d3217bf58d34f080ac88c0b0012c77
+bgra64le            b71d75a928aac14cb768403e6f6a9910
 bgra64le            b71d75a928aac14cb768403e6f6a9910
 gbrap               98d30987407c51e5620921e11d40a4ff
-gbrap10be           edcffb185e44b6dae5c2ead5505b7125
+gbrap10le           3a046be0d38289dda5d8fdbd0f34aaf5
 gbrap10le           2a7392e14b21b1f9457526a071236a6d
-gbrap12be           0c4c1f8af361571265ca259d5f70f026
 gbrap12le           5f1d8c663d4c28863e687192433b34a4
-gbrap16be           e4edca4361d643794034e5aa9ef290b1
+gbrap12le           5f1d8c663d4c28863e687192433b34a4
+gbrap16le           9a95b389d2bf556179e8f4b27fb550ab
 gbrap16le           9a95b389d2bf556179e8f4b27fb550ab
 gbrp                5fbc319e30110d19d539f5b274eddb6d
-gbrp10be            703a17591a2a5c236675c5101c349bcc
 gbrp10le            ee014153f55c011918df5b2394815780
-gbrp12be            527d337eb5813ebba7cf969ee660d423
+gbrp10le            ee014153f55c011918df5b2394815780
+gbrp12le            fd192920b171a0cf88d61e8310e95d81
 gbrp12le            fd192920b171a0cf88d61e8310e95d81
-gbrp14be            46d502db6dc5eb7e9da3c60016b2df91
 gbrp14le            1607f5c8f13360b53b8186f523996b1b
-gbrp16be            7b6764a504c853b09f5c7d0b2223c5a4
+gbrp14le            1607f5c8f13360b53b8186f523996b1b
+gbrp16le            fb9323a5bd060282bec7bfd7d38dc230
 gbrp16le            fb9323a5bd060282bec7bfd7d38dc230
-gbrp9be             a4dc6f6f9bb051de2dc348b592ad4282
+gbrp9le             699da3a3b324f3fd001a56aee9683384
 gbrp9le             699da3a3b324f3fd001a56aee9683384
 gray                188590b1231afd231ea910815aef2b25
-gray10be            d486558ecd2e27afc17930be861f0e4c
 gray10le            917d687103b2adcca7132bfc070ca54a
-gray12be            9685614450f1282be433d2b07234ca1f
+gray10le            917d687103b2adcca7132bfc070ca54a
+gray12le            2700bd7fb3fea56e54eb03e31d6d4e57
 gray12le            2700bd7fb3fea56e54eb03e31d6d4e57
-gray14be            19ed2bf25878980d6f81f6ae699024ec
 gray14le            4b148b26b30040c05dc248a8852f31ac
-gray16be            08d997a3faa25a3db9d6be272d282eef
+gray14le            4b148b26b30040c05dc248a8852f31ac
+gray16le            df65eb804360795e3e38a2701fa9641a
 gray16le            df65eb804360795e3e38a2701fa9641a
-gray9be             6382a14594a8b68f0ec7de25531f9334
 gray9le             4eb1dda58706436e3b69aef29b0089db
-grayf32be           f3bf178835f8146aa09d1da94bba4d8a
+gray9le             4eb1dda58706436e3b69aef29b0089db
+grayf32le           fb6ea85bfbc8cd21c51fc0e110197294
 grayf32le           fb6ea85bfbc8cd21c51fc0e110197294
 monob               8b04f859fee6a0be856be184acd7a0b5
 monow               54d16d2c01abfd72ecdb5e51e283937c
 nv12                8e24feb2c544dc26a20047a71e4c27aa
 nv21                335d85c9af6110f26ae9e187a82ed2cf
-p010be              7f9842d6015026136bad60d03c035cc3
+p010le              1929db89609c4b8c6d9c9030a9e7843d
 p010le              c453421b9f726bdaf2bacf59a492c43b
-p016be              7f9842d6015026136bad60d03c035cc3
+p016le              1929db89609c4b8c6d9c9030a9e7843d
 p016le              c453421b9f726bdaf2bacf59a492c43b
 pal8                ff5929f5b42075793b2c34cb441bede5
 rgb0                0de71e5a1f97f81fb51397a0435bfa72
 rgb24               f4438057d046e6d98ade4e45294b21be
-rgb444be            115e5259b91f4a416546b09570347633
 rgb444le            f3f66689cb4c810563fba7665c526800
-rgb48be             18127d8ec64aa21619ada80b93514906
+rgb444le            f3f66689cb4c810563fba7665c526800
+rgb48le             60d0ba0e5a429c947aaa736be54aca87
 rgb48le             60d0ba0e5a429c947aaa736be54aca87
 rgb4_byte           7d68393a3de6f392cf2ed05ffaec6259
-rgb555be            f76c8109974636b54bd0cb4c36bb883d
 rgb555le            21daf4d05999ccf3eef7d492e73c4d5b
-rgb565be            85711f35f71340ba23e553a07d246656
+rgb555le            21daf4d05999ccf3eef7d492e73c4d5b
+rgb565le            e04771e79a8ee8a51e9a325540e6215e
 rgb565le            e04771e79a8ee8a51e9a325540e6215e
 rgb8                7ac6008c84d622c2fc50581706e17576
 rgba                b6e1b441c365e03b5ffdf9b7b68d9a0c
-rgba64be            ae2ae04b5efedca3505f47c4dd6ea6ea
+rgba64le            b91e1d77f799eb92241a2d2d28437b15
 rgba64le            b91e1d77f799eb92241a2d2d28437b15
 uyvy422             3bcf3c80047592f2211fae3260b1b65d
-xyz12be             a1ef56bf746d71f59669c28e48fc8450
 xyz12le             831ff03c1ba4ef19374686f16a064d8c
-ya16be              2f2c27f1854ac00c73d13861dcab2705
+xyz12le             831ff03c1ba4ef19374686f16a064d8c
+ya16le              2c1fbd127c9f0435adc0e9b2ea3f486b
 ya16le              2c1fbd127c9f0435adc0e9b2ea3f486b
 ya8                 dbb99fbcdc204aaa1a7397ff561f1a67
 yuv410p             5d4d992a7728431aa4e0700f87fb7fd8
 yuv411p             7e1300e89f5bc07939e2c4a6acbdf267
 yuv420p             a014c7eb7a8385d1dd092b7a583f1bff
-yuv420p10be         f9b154364efaa1af376fa6d8eeae6955
 yuv420p10le         15c83294ef560d57f25d16ae6e0fc70c
-yuv420p12be         34da9c4e289124122ba36a9d4fb133fa
+yuv420p10le         15c83294ef560d57f25d16ae6e0fc70c
+yuv420p12le         c19a477a07fcf88e37ab37b416d064c0
 yuv420p12le         c19a477a07fcf88e37ab37b416d064c0
-yuv420p14be         64779858686946fc0e780baf7c1391b6
 yuv420p14le         c1d012a4f9d54fbc8b04fea96d85e903
-yuv420p16be         268b07358d8dc733ee81d0b87990d5af
+yuv420p14le         c1d012a4f9d54fbc8b04fea96d85e903
+yuv420p16le         dae8da9edd4255051e3e546ae7ed9bd3
 yuv420p16le         dae8da9edd4255051e3e546ae7ed9bd3
-yuv420p9be          37f0476e8458a93d3d22db568f617aca
+yuv420p9le          83a6d32c91c15a3bc334bb9abf920654
 yuv420p9le          83a6d32c91c15a3bc334bb9abf920654
 yuv422p             74f8006b4482db104f1986f49807a0af
-yuv422p10be         7291903c3c0cf4e5456dd9673a619f1d
 yuv422p10le         14cbaa728e888534359b9dddc5430f08
-yuv422p12be         e9bc7f2da217fade40feb6960dcd894e
+yuv422p10le         14cbaa728e888534359b9dddc5430f08
 yuv422p12le         8d8184e4d0f1eb50e1834ac0c4af8c33
-yuv422p14be         2617c569ae9659d8fe6a01f96e2c9657
+yuv422p12le         8d8184e4d0f1eb50e1834ac0c4af8c33
+yuv422p14le         7d01363cf090306cf93337c474cd8827
 yuv422p14le         7d01363cf090306cf93337c474cd8827
-yuv422p16be         86147d8bfb795ab1873c899611e2a361
 yuv422p16le         9df47cb7d6d39b335a547ced2865e72e
-yuv422p9be          338dbb97c9f5a12ccea2c61774ddff2e
+yuv422p16le         9df47cb7d6d39b335a547ced2865e72e
+yuv422p9le          0822f8af35a269a036ae44878acba87e
 yuv422p9le          0822f8af35a269a036ae44878acba87e
 yuv440p             98d0f96fdb3ba415899017adf7d4a4f9
-yuv440p10be         d874167042037c1daf9b9a2f74bffad9
 yuv440p10le         3cfbd921369aa8f1e4977efdb7f44c8c
-yuv440p12be         dc3e6a40c44d5a5f9fd260b270e9037f
+yuv440p10le         3cfbd921369aa8f1e4977efdb7f44c8c
+yuv440p12le         2fff7746ae7c07d407075c0e372baf46
 yuv440p12le         2fff7746ae7c07d407075c0e372baf46
 yuv444p             8f90fb3a757878c545a8bfe5d19a9bab
-yuv444p10be         6683d5cb82c708d5f3a2a89d0311f7a4
 yuv444p10le         6d736fa464ff2de2b07e0a56af8444b7
-yuv444p12be         04320ad158450ee158f84a27c6325702
+yuv444p10le         6d736fa464ff2de2b07e0a56af8444b7
+yuv444p12le         08a81b2ea9c7c8b447e40ef8f4a46a4a
 yuv444p12le         08a81b2ea9c7c8b447e40ef8f4a46a4a
-yuv444p14be         ea3057d469d0c49c24e844256ef7871e
 yuv444p14le         940f5908ccf06e01411f0a7bddb45c6a
-yuv444p16be         aee24ab2e9a4656f889399f1b0d98639
+yuv444p14le         940f5908ccf06e01411f0a7bddb45c6a
 yuv444p16le         781c22317c02b3dd4225709000bdb847
-yuv444p9be          ac09917e5d2abc82c0d260007f4dfd77
+yuv444p16le         781c22317c02b3dd4225709000bdb847
+yuv444p9le          caef947b8aff5b52285385c6ae9b2439
 yuv444p9le          caef947b8aff5b52285385c6ae9b2439
 yuva420p            b227672e56215e184e702c02a771d7f3
-yuva420p10be        f66e7d677625380f7504867fab51305c
 yuva420p10le        01e94ee605714396e69b013c11dda348
-yuva420p16be        76e5e65eae1e7c5681a397a3462f4a9d
+yuva420p10le        01e94ee605714396e69b013c11dda348
+yuva420p16le        b1930ab28ffe031c78ca28d3406311c8
 yuva420p16le        b1930ab28ffe031c78ca28d3406311c8
-yuva420p9be         48dfa24cf0ea3864f35285074e8fa888
+yuva420p9le         0e9c9803aaaddc9f38e419de587793c2
 yuva420p9le         0e9c9803aaaddc9f38e419de587793c2
 yuva422p            8f6bb778647e5dee62f544d646321171
-yuva422p10be        2f7204c93a1e5bfb04538852f99e4074
 yuva422p10le        c8082548aca999edde77ef2749b1ff4c
-yuva422p12be        19f8205cca3d19bfd4ad9cd2bfb07a0e
+yuva422p10le        c8082548aca999edde77ef2749b1ff4c
+yuva422p12le        38e6c7d87332852d660df5594529fa6e
 yuva422p12le        38e6c7d87332852d660df5594529fa6e
-yuva422p16be        427ad55f7464121bb3ce164641772bc6
 yuva422p16le        af6f8df651275de58129e010bb45ffcd
-yuva422p9be         47579cc2cea861ca1461589b80c4720f
+yuva422p16le        af6f8df651275de58129e010bb45ffcd
+yuva422p9le         aaeab2bfe80a29390e8666103ed8bb40
 yuva422p9le         aaeab2bfe80a29390e8666103ed8bb40
 yuva444p            459fad5abfd16db9bb6a52761dc74cc1
-yuva444p10be        fa16bae4fc25429deb944ffa9f5b28a0
 yuva444p10le        92f820d3481b7ebcb48b98a73e7b4c90
-yuva444p12be        d8193387128a1b1efc51f36a12c85385
+yuva444p10le        92f820d3481b7ebcb48b98a73e7b4c90
 yuva444p12le        9c17bf72b083f93040d1e19516b54de7
-yuva444p16be        c80c1899789a6411d0025730efc8f01c
+yuva444p12le        9c17bf72b083f93040d1e19516b54de7
+yuva444p16le        2ed56ea50fafda4d226c9b133755dad8
 yuva444p16le        2ed56ea50fafda4d226c9b133755dad8
-yuva444p9be         4903fde22b15d28da90761ac1cfcb1c5
+yuva444p9le         4eeb5988df0740fea720da1e31bbb829
 yuva444p9le         4eeb5988df0740fea720da1e31bbb829
 yuvj411p            e003eefa7e2a20f20d33767775417216
 yuvj420p            8f3d8f1b4577d11082d5ab8a901e048d
diff --git a/tests/ref/fate/filter-pixfmts-scale b/tests/ref/fate/filter-pixfmts-scale
index 3226e8b53c..00b40c6d12 100644
--- a/tests/ref/fate/filter-pixfmts-scale
+++ b/tests/ref/fate/filter-pixfmts-scale
@@ -5,144 +5,144 @@  argb                f0e17c71a40643c33a5bcfb481f6d8f8
 ayuv64le            59fb016f9874062d0be77cb3920ffed2
 bgr0                243d58ca64f97b2f415b4c63cb79f0e1
 bgr24               18744aaab4b8bce065a7144dc0ccf921
-bgr444be            920760bee08c4fa161bf060e21ebba92
 bgr444le            01be36a28ebca1a11eb4d192986cd4e9
-bgr48be             3ae02769c69d2512eaa26fff65763acb
+bgr444le            01be36a28ebca1a11eb4d192986cd4e9
+bgr48le             a6ce2344f07b77438258b6787fe5c24c
 bgr48le             a6ce2344f07b77438258b6787fe5c24c
 bgr4_byte           01efea74088e5e3343c19ee053b95f31
-bgr555be            ab353278d103d379e1ec86e5cabb645f
 bgr555le            16ccbf59297e4b9ab25fd8af5a84a95d
-bgr565be            3477e19fc11f95285836f30fdff26c1d
+bgr555le            16ccbf59297e4b9ab25fd8af5a84a95d
+bgr565le            82a81e7c9d4e0431fa22f4df9694afdc
 bgr565le            82a81e7c9d4e0431fa22f4df9694afdc
 bgr8                2c57e76ccf04d51de6acafcf35d6fa70
 bgra                d8316272bc3a360ef9dff3ecc84520a3
-bgra64be            4e6a1b9f9c18b881c27d76611d45f737
+bgra64le            efeee0abcc658ebcff049d5e74d74943
 bgra64le            efeee0abcc658ebcff049d5e74d74943
 gbrap               4a100f750ac846b34bfeef0d6893c3de
-gbrap10be           6d89abb9248006c3e9017545e9474654
+gbrap10le           c1765f3d46ad1c254882bae146074bea
 gbrap10le           cf974e23f485a10740f5de74a5c8c3df
-gbrap12be           1d9b57766ba9c2192403f43967cb9af0
+gbrap12le           22c1b73c2fa900ae9b7ba35ae93d887b
 gbrap12le           bb1ba1c157717db3dd612a76d38a018e
-gbrap16be           c72b935a6e57a8e1c37bff08c2db55b1
+gbrap16le           13eb0e62b1ac9c1c86c81521eaefab5f
 gbrap16le           13eb0e62b1ac9c1c86c81521eaefab5f
 gbrp                dc3387f925f972c61aae7eb23cdc19f0
-gbrp10be            0277d4c3a8498d75e2783fb81379e481
 gbrp10le            f3d70f8ab845c3c9b8f7452e4a6e285a
-gbrp12be            fbd4e149c452c351c6d1c11d6b6e176a
+gbrp10le            f3d70f8ab845c3c9b8f7452e4a6e285a
 gbrp12le            c51d51c3b753d735eb22983397262c88
-gbrp14be            cd20808592e62cc439786c18a14b3e70
+gbrp12le            c51d51c3b753d735eb22983397262c88
+gbrp14le            456f7d1ff5990aa6379137d84dd63862
 gbrp14le            456f7d1ff5990aa6379137d84dd63862
-gbrp16be            5fc826cfabebfc1442cb793c4b6303e2
 gbrp16le            1b3e0b63d47a3e1b6b20931316883bf2
-gbrp9be             d9c88968001e1452ff31fbc8d16b18a0
+gbrp16le            1b3e0b63d47a3e1b6b20931316883bf2
+gbrp9le             2ccfed0816bf6bd4bb3a5b7591d9603a
 gbrp9le             2ccfed0816bf6bd4bb3a5b7591d9603a
 gray                221201cc7cfc4964eacd8b3e426fd276
-gray10be            9452756d0b37f4f5c7cae7635e22d747
 gray10le            37fd2e1ec6b66410212d39a342e864df
-gray12be            950de5d1b6b943a26c51f6a157e19a14
+gray10le            37fd2e1ec6b66410212d39a342e864df
+gray12le            9c3b154a8bb0a73a3b465892dbc23b36
 gray12le            9c3b154a8bb0a73a3b465892dbc23b36
-gray14be            db9094229f32fb22c5cf06471b9a1cfa
 gray14le            c33308eb8b40142dfd9273249c1cd73a
-gray16be            32891cb0928b1119d8d43a6e1bef0e2b
+gray14le            c33308eb8b40142dfd9273249c1cd73a
+gray16le            f96cfb5652b090dad52615930f0ce65f
 gray16le            f96cfb5652b090dad52615930f0ce65f
-gray9be             779dec0c6c2df008128b91622a20daf8
 gray9le             fa87a96ca275f82260358635f838b514
-grayf32be           5e4c715519f53c15f1345df90481e5f5
+gray9le             fa87a96ca275f82260358635f838b514
+grayf32le           2ff1b84023e820307b1ba7a9550115bc
 grayf32le           2ff1b84023e820307b1ba7a9550115bc
 monob               f01cb0b623357387827902d9d0963435
 monow               35c68b86c226d6990b2dcb573a05ff6b
 nv12                b118d24a3653fe66e5d9e079033aef79
 nv21                c74bb1c10dbbdee8a1f682b194486c4d
-p010be              1d6726d94bf1385996a9a9840dd0e878
+p010le              5d436e6b35292a0e356d81f37f989b66
 p010le              4b316f2b9e18972299beb73511278fa8
-p016be              31e204018cbb53f8988c4e1174ea8ce9
+p016le              6832661b5fe5f9a7a882f482a881b679
 p016le              d5afe557f492a09317e525d7cb782f5b
 pal8                29e10892009b2cfe431815ec3052ed3b
 rgb0                fbd27e98154efb7535826afed41e9bb0
 rgb24               e022e741451e81f2ecce1c7240b93e87
-rgb444be            db52b9ecdf98479b693e3f4bd9e77bac
 rgb444le            63288425c05f146cde5c82b85bb126e0
-rgb48be             45b25016f10d54cf36eef3479afd8249
+rgb444le            63288425c05f146cde5c82b85bb126e0
+rgb48le             40577b147620ecfb115717473d000697
 rgb48le             40577b147620ecfb115717473d000697
 rgb4_byte           9e540a2e7193ebcbf1c7f85d192a0c4e
-rgb555be            cb5407a0d40f3d0120155daeaaa9a222
 rgb555le            c15540d1fc887882c35860634009c439
-rgb565be            c69fa7d6e458509de65e911d147629a8
+rgb555le            c15540d1fc887882c35860634009c439
+rgb565le            a4a6ef89cdc10282b428cb1392f2a353
 rgb565le            a4a6ef89cdc10282b428cb1392f2a353
 rgb8                bcdc033b4ef0979d060dbc8893d4db58
 rgba                85bb5d03cea1c6e8002ced3373904336
-rgba64be            ee73e57923af984b31cc7795d13929da
+rgba64le            783d2779adfafe3548bdb671ec0de69e
 rgba64le            783d2779adfafe3548bdb671ec0de69e
 uyvy422             aeb4ba4f9f003ae21f6d18089198244f
-xyz12be             c7ba8345998c0141ddc079cdd29b1a40
 xyz12le             95f5d3a0de834cc495c9032a14987cde
-ya16be              372195dc947eee1bcb6f733a3544272e
+xyz12le             95f5d3a0de834cc495c9032a14987cde
+ya16le              3923551514cfa588cf528e6f48e8cb9a
 ya16le              3923551514cfa588cf528e6f48e8cb9a
 ya8                 0a9db5bb4b009de9197eede5e9d19e16
 yuv410p             e8f49b5fb9335b62c074f7f8bb0234fc
 yuv411p             5af32557c93beb482e26e7af693104c6
 yuv420p             5d3ac239c3712143560b1dfbd48a7ddd
-yuv420p10be         95256d0cefca26429b2f41aabc9bee04
 yuv420p10le         1aae90a2cff18e516f004dae77ac78f7
-yuv420p12be         25a6da0f8045bc7bdeda544e1cf2387b
+yuv420p10le         1aae90a2cff18e516f004dae77ac78f7
+yuv420p12le         c6e40a0851e1237281cd6500bef7a1fa
 yuv420p12le         c6e40a0851e1237281cd6500bef7a1fa
-yuv420p14be         b202fde5a53d529ddaa35c9467ff0b61
 yuv420p14le         36cac5d88b0d566cf835e84da6513e5a
-yuv420p16be         6f307c5b1a5941023f9029cb3a616f5c
+yuv420p14le         36cac5d88b0d566cf835e84da6513e5a
+yuv420p16le         11f4bfbd4a058b58aa26dc47a86061f7
 yuv420p16le         11f4bfbd4a058b58aa26dc47a86061f7
-yuv420p9be          aa0d83ca3cdb5770e47dc007cf5f7324
+yuv420p9le          0e6ade4219bdcbce32eceafc80d995d7
 yuv420p9le          0e6ade4219bdcbce32eceafc80d995d7
 yuv422p             9823e4d6bd1482b0cab3c44dab67f0a7
-yuv422p10be         42b9b936392b4a6a678028ace2cdcd20
 yuv422p10le         4bdc5e9ab3a16409600887335dbb1a66
-yuv422p12be         af6ec8146dd7860b510017c22e8d0c80
+yuv422p10le         4bdc5e9ab3a16409600887335dbb1a66
 yuv422p12le         d69676f61d2693cfd163b3ce3f79fb56
-yuv422p14be         2a005a86b80b947c953d11ae170551c7
+yuv422p12le         d69676f61d2693cfd163b3ce3f79fb56
+yuv422p14le         dcbde0634eb70bed62dde097c80a1643
 yuv422p14le         dcbde0634eb70bed62dde097c80a1643
-yuv422p16be         a772b46454e415ce454c0999ebb71486
 yuv422p16le         b4f64306c671ba4aa2eb23732ee02317
-yuv422p9be          8313b67817cd81fe768bdc5c2f3fffb1
+yuv422p16le         b4f64306c671ba4aa2eb23732ee02317
+yuv422p9le          39e9236c5005bfee5399c29e379964da
 yuv422p9le          39e9236c5005bfee5399c29e379964da
 yuv440p             483b8427cef7ab9c94d6b3f26d0ab094
-yuv440p10be         b93618311430e216a3d6736182fe7c04
 yuv440p10le         ca2c882018398d2a126c1ec65e8336d8
-yuv440p12be         373ab37ba2498cb11de24218d686e0f8
+yuv440p10le         ca2c882018398d2a126c1ec65e8336d8
+yuv440p12le         bb9ffc3033fe32b9ce3233524ed5ab70
 yuv440p12le         bb9ffc3033fe32b9ce3233524ed5ab70
 yuv444p             098f01e6790e1e6beff8d604120c2664
-yuv444p10be         024ee33cac7b5b7b225d7acb9dc59da3
 yuv444p10le         a085fff2fb81d76753da689aee365b55
-yuv444p12be         a181627b93bd9c4c384b83e17d373a7c
+yuv444p10le         a085fff2fb81d76753da689aee365b55
+yuv444p12le         97e47326ff0efe89c295fd9ddb0ca854
 yuv444p12le         97e47326ff0efe89c295fd9ddb0ca854
-yuv444p14be         3eac31f0d4969210640de74914faf86d
 yuv444p14le         2c362c4cf167b7e2d83f4eb0dfaeb2b9
-yuv444p16be         a60c674411d64cc4b9fbf17039afffb3
+yuv444p14le         2c362c4cf167b7e2d83f4eb0dfaeb2b9
 yuv444p16le         0a490fef1f2631367ee362d20a336efe
-yuv444p9be          040bcbb962c19e390482301933622930
+yuv444p16le         0a490fef1f2631367ee362d20a336efe
+yuv444p9le          16b65bb696a8931c7ab69501a7f93cfd
 yuv444p9le          16b65bb696a8931c7ab69501a7f93cfd
 yuva420p            05a12916f04859bb2c9a6decf624af74
-yuva420p10be        df8b3acfa7ac6ad96929aac1aa6c0102
 yuva420p10le        a5cc4bfc952ad1bc6f033d136d5a821c
-yuva420p16be        01c74149a6696d0ee71232881622ac3a
+yuva420p10le        a5cc4bfc952ad1bc6f033d136d5a821c
+yuva420p16le        c78a814ad6a2cbbab4b422724f0c7ba9
 yuva420p16le        c78a814ad6a2cbbab4b422724f0c7ba9
-yuva420p9be         57b730421849f8ccfe7913c664396376
+yuva420p9le         1fdfcde9cf7ef1d41002175b5793435f
 yuva420p9le         1fdfcde9cf7ef1d41002175b5793435f
 yuva422p            3a80cb3e08782033aabfeff1e8969403
-yuva422p10be        94b13db95ceb970ded9773c095ade7d4
 yuva422p10le        544965627ee94964b9cc57750c385b31
-yuva422p12be        4285def72fb83a9c918d78453220a4b7
+yuva422p10le        544965627ee94964b9cc57750c385b31
+yuva422p12le        accda73617ccfa3c45ced5e2a48a8323
 yuva422p12le        accda73617ccfa3c45ced5e2a48a8323
-yuva422p16be        95be33f9599958669f3c1cb24e54a5e5
 yuva422p16le        ed83cc6e8fb70306d0622962504d1fcf
-yuva422p9be         5ff6aeca90b8392133d7b1addfbd639b
+yuva422p16le        ed83cc6e8fb70306d0622962504d1fcf
+yuva422p9le         451965b076c628b0eabaa4ef33f98ded
 yuva422p9le         451965b076c628b0eabaa4ef33f98ded
 yuva444p            f120326d9d940c9ac5cf5fd160969b82
-yuva444p10be        1838cd61a24fda56a7379c9cd9cb1629
 yuva444p10le        c5c2f602caab63c58954f5a80691436a
-yuva444p12be        befc6a3602bc58df4f4e8490ae6782cf
+yuva444p10le        c5c2f602caab63c58954f5a80691436a
 yuva444p12le        8d13b714cdbadd2aa4e16c1ec673c0e2
-yuva444p16be        39ca2e32aa61b210b6c528855d24a16b
+yuva444p12le        8d13b714cdbadd2aa4e16c1ec673c0e2
+yuva444p16le        cd2e0a001d8175f2204b2eb411c6a801
 yuva444p16le        cd2e0a001d8175f2204b2eb411c6a801
-yuva444p9be         58add24afbf43ff0ff7079cc1948fb56
+yuva444p9le         077c8cec2c374163d7f7eae27e797bdb
 yuva444p9le         077c8cec2c374163d7f7eae27e797bdb
 yuvj411p            d1076331c75ca66bf62497edbd8384f9
 yuvj420p            10390e6dda9cbb4c61fb88bcbb49fc3c
diff --git a/tests/ref/fate/filter-pixfmts-super2xsai b/tests/ref/fate/filter-pixfmts-super2xsai
index 3c7e65ab5a..d42601dab1 100644
--- a/tests/ref/fate/filter-pixfmts-super2xsai
+++ b/tests/ref/fate/filter-pixfmts-super2xsai
@@ -1,14 +1,14 @@ 
 abgr                e21be14b5fe9d7a29740a418c325b17e
 argb                563489534663cb2b32beed2b41370c37
 bgr24               a933eac9bb53c3ce3c33950b229996b5
-bgr555be            d6d14ec3ae9ffffed3006a253e9b9a9a
+bgr555le            d69e39a24027afcb28feaabb46f0948d
 bgr555le            70b819425f79f823356229b90b41cc84
-bgr565be            4ffcc26e740622ffd3314fe251e97804
+bgr565le            78f3b43ddcc1f8558444c97d249a6123
 bgr565le            6fb9dc50a81b853800ba65d5ec6b8417
 bgra                e9cc6644e2f35103c241094ab4bb8fec
 rgb24               3fd7653f414f350ddb0c0a236ce0c809
-rgb555be            0f34c006142babd10065d90b8c2ce3d6
+rgb555le            f2f9f30e8be582729f12a03331e3c635
 rgb555le            53325a20c913826566880eb25d1d2946
-rgb565be            9889faf1a636161f3049b78e92db7d89
+rgb565le            340ffed3645809f68346280764ca3de6
 rgb565le            14fe550f449a7539d9f1e99e85cf40f1
 rgba                7041184d35c316e73e849504b64bc4f6
diff --git a/tests/ref/fate/filter-pixfmts-swapuv b/tests/ref/fate/filter-pixfmts-swapuv
index 676a440699..9db42b611a 100644
--- a/tests/ref/fate/filter-pixfmts-swapuv
+++ b/tests/ref/fate/filter-pixfmts-swapuv
@@ -1,67 +1,67 @@ 
 yuv410p             c87be6ce12b2d505935893b733e21ee4
 yuv411p             2a8b6b718d437e0bd15b614ea0723a82
 yuv420p             60976c86cb8b9a7ac3a11ba874134f22
-yuv420p10be         84f6ed35268d552fcca83629ab6aa4dd
 yuv420p10le         559e8f10eab594de72d2b081bf9d480d
-yuv420p12be         f4650c64b173a906d33719e49c0cfb9b
+yuv420p10le         559e8f10eab594de72d2b081bf9d480d
+yuv420p12le         26370ea437474d2b53ace1e55ee53faf
 yuv420p12le         26370ea437474d2b53ace1e55ee53faf
-yuv420p14be         970fa43a1470ddedbd874c726a519293
 yuv420p14le         5a18b1d6f439077208556f2d2a80becd
-yuv420p16be         97009aa152a4c6dc383b75c551ffa71c
+yuv420p14le         5a18b1d6f439077208556f2d2a80becd
+yuv420p16le         e7201caa7838647aefee41ae9e098110
 yuv420p16le         e7201caa7838647aefee41ae9e098110
-yuv420p9be          1fddc5d7f64f642fe888c5e0a8a4f499
+yuv420p9le          6e111f38dddfeec499e162f17244362d
 yuv420p9le          6e111f38dddfeec499e162f17244362d
 yuv422p             80c6bc82f4bc330df1895c8f998e34bf
-yuv422p10be         0aeb0cd5949ee258355fbe4ff2f84a56
 yuv422p10le         1bfff133885efb1c44dfd9191b6f241a
-yuv422p12be         d0b86084ce9330782fa24c4bdb3f6bc1
+yuv422p10le         1bfff133885efb1c44dfd9191b6f241a
+yuv422p12le         d46f2dd548a3edc0b1e3870ce112b722
 yuv422p12le         d46f2dd548a3edc0b1e3870ce112b722
-yuv422p14be         91a75ccb62fd1149069c6b7b26fe195d
 yuv422p14le         dbec6e0152daedafa161437fc931b1e6
-yuv422p16be         c5de1a3fd28f647cb14d293061312f80
+yuv422p14le         dbec6e0152daedafa161437fc931b1e6
+yuv422p16le         56d4e3285312b1a24f299bef44f4dc15
 yuv422p16le         56d4e3285312b1a24f299bef44f4dc15
-yuv422p9be          ee90a48d7bbb9973e9152e80d58bfe4d
+yuv422p9le          c6cacd918669ffd24732281bed2e61a6
 yuv422p9le          c6cacd918669ffd24732281bed2e61a6
 yuv440p             563fd94ba1ddde6f3cd34a815ec03165
-yuv440p10be         2aadf346979813cbb336c0a543fe243f
 yuv440p10le         9e34483ca0850e2d701a8a6d8ca9a0f1
-yuv440p12be         287406f4129717ae52d0c443cf42c207
+yuv440p10le         9e34483ca0850e2d701a8a6d8ca9a0f1
+yuv440p12le         ecbf69ad94f2917251f1ee642c82e8ae
 yuv440p12le         ecbf69ad94f2917251f1ee642c82e8ae
 yuv444p             184ae83da74e478595258db9e6af0827
-yuv444p10be         224d0e8ed36e9e72ed171aeba6483523
 yuv444p10le         b525bc915f533a2a82b3ce525693bb9b
-yuv444p12be         afdf75fe13ae792c4e0fa2cfb9e5bd1e
+yuv444p10le         b525bc915f533a2a82b3ce525693bb9b
+yuv444p12le         f161ba8f5c036deac7def77ccbda67b7
 yuv444p12le         f161ba8f5c036deac7def77ccbda67b7
-yuv444p14be         c87e248a2c605515f11afd8f1251db67
 yuv444p14le         3085381c2b70642fc95c6bb153d766a1
-yuv444p16be         3d99c4af5cc1ddc3144a10e0b2b75951
+yuv444p14le         3085381c2b70642fc95c6bb153d766a1
+yuv444p16le         56f7022d0aeb4c4f56c6451e431d5390
 yuv444p16le         56f7022d0aeb4c4f56c6451e431d5390
-yuv444p9be          3d86a8c9cc4af8ecc692578384e01ffe
+yuv444p9le          65b78fabc21cad07cfd209f2c27ae0be
 yuv444p9le          65b78fabc21cad07cfd209f2c27ae0be
 yuva420p            8afb004ce37ac4d9f881c138b25c414a
-yuva420p10be        7417eee3faa13dd69a2335996fd4ed14
 yuva420p10le        db1e7e8bc49adb2180d8dcef665331b7
-yuva420p16be        949443d63e99f714b2dfcb5b79033d5c
+yuva420p10le        db1e7e8bc49adb2180d8dcef665331b7
 yuva420p16le        22c6b3317ece86f461aec210179571be
-yuva420p9be         1125f7298fc3f69725ad793d16c2da12
+yuva420p16le        22c6b3317ece86f461aec210179571be
+yuva420p9le         7f445bfa33b6875cc65b47cee24c3154
 yuva420p9le         7f445bfa33b6875cc65b47cee24c3154
 yuva422p            a1bd5c90b7bde1d3657025612a6f231e
-yuva422p10be        05bcc2394cfb0406d37b942423f6dbe7
 yuva422p10le        c166994709af82b9cdcebe4a7057348c
-yuva422p12be        30f4f9d6a2a623c45c4474e4aac8f7b9
+yuva422p10le        c166994709af82b9cdcebe4a7057348c
 yuva422p12le        79dfb02173b19beb76b9f0b76a96d1d5
-yuva422p16be        9599ed5721f52028c3acfeb7b33ddc87
+yuva422p12le        79dfb02173b19beb76b9f0b76a96d1d5
+yuva422p16le        dbb74e0bb2cf732e39e669f60ec6e1cf
 yuva422p16le        dbb74e0bb2cf732e39e669f60ec6e1cf
-yuva422p9be         39093fec98b02e83b7e20dab3e5e4cf6
+yuva422p9le         a0a6dd2e62ea01e8a2268c7d88385252
 yuva422p9le         a0a6dd2e62ea01e8a2268c7d88385252
 yuva444p            ff2441de373fbfaed7bc199a7abe5a3e
-yuva444p10be        857043b712213eee329d2fb584d74c3e
 yuva444p10le        c3c451b3605af959a5d80146f4170e9d
-yuva444p12be        d60fd21b48fa6a3677a9070d5b2eafdb
+yuva444p10le        c3c451b3605af959a5d80146f4170e9d
 yuva444p12le        8f43565353cf0ce0a06f6b1261e42a53
-yuva444p16be        356d72791dfd91861b21630e315d40cb
+yuva444p12le        8f43565353cf0ce0a06f6b1261e42a53
+yuva444p16le        176591ce074ba8befc5fb279446ca1be
 yuva444p16le        176591ce074ba8befc5fb279446ca1be
-yuva444p9be         675f0ed3e6572b05f06d9e44611bdff5
+yuva444p9le         bf3ea2bf123a3a1ceedf587682b85cb9
 yuva444p9le         bf3ea2bf123a3a1ceedf587682b85cb9
 yuvj411p            361c32e086bd27cf3ded194dc00dc9c5
 yuvj420p            553ac1af571391271d9715e2e8a4a5cc
diff --git a/tests/ref/fate/filter-pixfmts-transpose b/tests/ref/fate/filter-pixfmts-transpose
index 7bcb88c38b..851f0ea91f 100644
--- a/tests/ref/fate/filter-pixfmts-transpose
+++ b/tests/ref/fate/filter-pixfmts-transpose
@@ -5,114 +5,114 @@  argb                87bbd23debb94d486ac3a6b6c0b005f9
 ayuv64le            e4c07e0d5b333b3bc9eb4f3ce6af3a2c
 bgr0                df3a6eedd4939ce09a357b655ac2962a
 bgr24               f9a08135e5d58c0b2a5509c369a88414
-bgr444be            dd9e990a327649ec0b2b81a8ee4d8f49
 bgr444le            bee1d9fae8733d0c0669bca2ac4dfaf6
-bgr48be             39f48f6353dfc772af36cbb41e6126a4
+bgr444le            bee1d9fae8733d0c0669bca2ac4dfaf6
+bgr48le             9a61d9531b1f6de44b27f6bb9b4dfc79
 bgr48le             9a61d9531b1f6de44b27f6bb9b4dfc79
 bgr4_byte           ddff9da461afce90e3122a41d79b287d
-bgr555be            24e5c6502a6d927f8ba88f3320ebf619
 bgr555le            5201d098979ea86a66d8df1ef41c79ad
-bgr565be            59afe17b455e921daf428ba05a40bab9
+bgr555le            5201d098979ea86a66d8df1ef41c79ad
+bgr565le            b2709790684abbd2133906b637f2b4b8
 bgr565le            b2709790684abbd2133906b637f2b4b8
 bgr8                b6ee15f70989d2f52f184e32b3af2c18
 bgra                f2fe61e08446900ad209f2c586997e15
-bgra64be            8d01994c8c32e628fcf9749851f1ffe8
+bgra64le            faaef6d280f92e7e8abdd9fa4a61f7b5
 bgra64le            faaef6d280f92e7e8abdd9fa4a61f7b5
 gbrap               0899b3af50d35a63bfecb419a5b29968
-gbrap10be           3e3be2d8f9aa5f449a1df404e27d0054
+gbrap10le           1e7a177186c222e1d885ea9ae109bb81
 gbrap10le           db4e4861010cbbf726492fad282d5813
-gbrap12be           1518c9a565d1ba1a45dd369acc1aa75e
 gbrap12le           714fe318af81a46f83655c6e7e13351e
-gbrap16be           39d488528aacff466aac7539c9b948a8
+gbrap12le           714fe318af81a46f83655c6e7e13351e
+gbrap16le           5426ac9457289927bfe2ec03038a8780
 gbrap16le           5426ac9457289927bfe2ec03038a8780
 gbrp                7b4b6a2f1cdc51455b25515c3ecea944
-gbrp10be            d7401725699b2ddf954caa16a0878a1e
 gbrp10le            6036711969eae1979be6358f688bd9c8
-gbrp12be            ec7d6e69fc579619b53d57a76c20480d
+gbrp10le            6036711969eae1979be6358f688bd9c8
+gbrp12le            bf7478185274486c3f7dd4db1da8f7d0
 gbrp12le            bf7478185274486c3f7dd4db1da8f7d0
-gbrp14be            9b66f22e4315aaa878a430ae3f44ab57
 gbrp14le            16f30349b42dca007b37b8522d3018df
-gbrp16be            0d003b88d4f446ae9ba12cab1cbb359a
+gbrp14le            16f30349b42dca007b37b8522d3018df
+gbrp16le            a1c09038fa4636c9843ab8dd2b7601ea
 gbrp16le            a1c09038fa4636c9843ab8dd2b7601ea
-gbrp9be             df381b4b27be25d172fa556434478807
+gbrp9le             a5301e978f68b29bfc613b2462ec4888
 gbrp9le             a5301e978f68b29bfc613b2462ec4888
 gray                c5f8bc6636fd15dbc57deb4bba1e7379
-gray10be            48b421da79c195fd91dffb8fca79a8a2
 gray10le            7774e3296916b896afa46f626334a280
-gray12be            89f1c4b7821b771f6d967f9db871f8ef
+gray10le            7774e3296916b896afa46f626334a280
+gray12le            43d392c3dcbd79b47cce31f2006c5050
 gray12le            43d392c3dcbd79b47cce31f2006c5050
-gray14be            5e2d1eb84d6d375502b3210d572d7433
 gray14le            6114774e9d07b08ec52fabaf6d0ee85a
-gray16be            4aef307021a91b1de67f1d4381a39132
+gray14le            6114774e9d07b08ec52fabaf6d0ee85a
+gray16le            76f2afe156edca7ae05cfa4e5867126e
 gray16le            76f2afe156edca7ae05cfa4e5867126e
-gray9be             2c425fa532c940d226822da8b3592310
 gray9le             bcc575942910b3c72eaa72e8794f3acd
-grayf32be           823288e1ec497bb1f22c070e502e5272
+gray9le             bcc575942910b3c72eaa72e8794f3acd
+grayf32le           6e9ec0e1cac3617f3041e681afd2c575
 grayf32le           6e9ec0e1cac3617f3041e681afd2c575
 nv12                1965e3826144686748f2f6b516fca5ba
 nv21                292adaf5271c5c8516b71640458c01f4
-p010be              ad0de2cc9bff81688b182a870fcf7000
+p010le              024ef1cf56a4872f202b96a6a4bbf10a
 p010le              e7ff5143595021246733ce6bd0a769e8
-p016be              ad0de2cc9bff81688b182a870fcf7000
+p016le              024ef1cf56a4872f202b96a6a4bbf10a
 p016le              e7ff5143595021246733ce6bd0a769e8
 rgb0                31ea5da7fe779c6ea0a33f1d28aad918
 rgb24               47654cabaaad79170b90afd5a02161dd
-rgb444be            3cac1f0c43a74d2a95eb02e187070845
 rgb444le            46d602468bd9e5a430622e3d4b7c8f40
-rgb48be             400932419bbb780614254253ef5591c3
+rgb444le            46d602468bd9e5a430622e3d4b7c8f40
+rgb48le             6a99c40f21629cb0655e8772d7190374
 rgb48le             6a99c40f21629cb0655e8772d7190374
 rgb4_byte           d3990da196266305a3f2e5b1d72401a5
-rgb555be            79e4503ff0d5cf52d3a7901397499a28
 rgb555le            c65f2594c0b3107a322f7aeb81aa8a16
-rgb565be            0c746b5063d02d6cb98e9e9a59ad3b99
+rgb555le            c65f2594c0b3107a322f7aeb81aa8a16
+rgb565le            63b02db11c3d20be54d218c7c44f8ddb
 rgb565le            63b02db11c3d20be54d218c7c44f8ddb
 rgb8                c90feb30c3c9391ef5f470209d7b7a15
 rgba                4d76a9542143752a4ac30f82f88f68f1
-rgba64be            a60041217f4c0cd796d19d3940a12a41
 rgba64le            ad47197774858858ae7b0c177dffa459
-xyz12be             68e5cba640f6e4ef72dff950e88b5342
+rgba64le            ad47197774858858ae7b0c177dffa459
+xyz12le             8b6b6a6db4d7561e80db88ccaecce7a9
 xyz12le             8b6b6a6db4d7561e80db88ccaecce7a9
-ya16be              41b7ad48693e3ce8b4d3220016ef6b15
+ya16le              8ea70315667011a6ed50b6750f42b142
 ya16le              8ea70315667011a6ed50b6750f42b142
 ya8                 d4b7a62f80681fa44c977ff3a64f4ce4
 yuv410p             4c0143429edd30aa01493447c90132ea
 yuv420p             2fa5b2201c75034206cc20e2c6134aed
-yuv420p10be         0931660f930d9be8aea9d0c76b406055
 yuv420p10le         9ce12b168c49db871836c979b526c1f1
-yuv420p12be         73d6be4230b6f4e4e269977afab56323
+yuv420p10le         9ce12b168c49db871836c979b526c1f1
+yuv420p12le         6938815c8acd690138506cbb5f005fb8
 yuv420p12le         6938815c8acd690138506cbb5f005fb8
-yuv420p14be         bf76a805b9c2f9808c73492d3b8da268
 yuv420p14le         5df47483b89ffe6ef4bbf14058d7d3b3
-yuv420p16be         3a64132681656be6db635f4e6a282dc9
+yuv420p14le         5df47483b89ffe6ef4bbf14058d7d3b3
+yuv420p16le         c77a81e47d1690a338693ec6f323ef1e
 yuv420p16le         c77a81e47d1690a338693ec6f323ef1e
-yuv420p9be          2307cb7f324df299c4829b11cb0e6bc7
+yuv420p9le          c735c3c8424c70d822ab4a1fe1f504e2
 yuv420p9le          c735c3c8424c70d822ab4a1fe1f504e2
 yuv444p             eb755977ca464baac5f03771858080ae
-yuv444p10be         866b59a23dff3dc1cb6bf7bd7da26da4
 yuv444p10le         417d62f15abf4777c4ec5e0d00796a9e
-yuv444p12be         c1da110f0ee898fbcd4b45afb5aed58b
+yuv444p10le         417d62f15abf4777c4ec5e0d00796a9e
+yuv444p12le         dc18bddd7b6bb9fdb2e0c7e7476375fa
 yuv444p12le         dc18bddd7b6bb9fdb2e0c7e7476375fa
-yuv444p14be         2f181fa3403e7911b233d3d976abea73
 yuv444p14le         ac718343878786a25b9a50924f9aabca
-yuv444p16be         128214efef6fffe3293db513ae700d4a
+yuv444p14le         ac718343878786a25b9a50924f9aabca
+yuv444p16le         a8b6613094b8d2b275e2e4bc4512c9e4
 yuv444p16le         a8b6613094b8d2b275e2e4bc4512c9e4
-yuv444p9be          eae529dd1cdb7f512ae2674334c1ef08
+yuv444p9le          06ffcacdd03f6457614c352a4ccb7642
 yuv444p9le          06ffcacdd03f6457614c352a4ccb7642
 yuva420p            058d00d9564be827e5db6ce2b8b2dbb5
-yuva420p10be        333209d11916161a65c6453d2bf435c2
 yuva420p10le        4b7ea5b59a712f1f59cd394b3b40ff69
-yuva420p16be        5984c7f4d14e4cf0e511cb0aa6c53089
+yuva420p10le        4b7ea5b59a712f1f59cd394b3b40ff69
+yuva420p16le        34e29fc4a22a0ab1ea01641d0df2ac86
 yuva420p16le        34e29fc4a22a0ab1ea01641d0df2ac86
-yuva420p9be         45ea80889575b31cccc83a4d16555497
+yuva420p9le         6e5cb3e761a9c45e26370307c49f8831
 yuva420p9le         6e5cb3e761a9c45e26370307c49f8831
 yuva444p            4f9e649fbc2c0c91178d1576e462bb31
-yuva444p10be        9450fbac30b5f9da7414c895695591a9
 yuva444p10le        84a93637bf2c7e498380beff9b1fc503
-yuva444p12be        3eae4234e38ce068600dd7fdb39e04d2
+yuva444p10le        84a93637bf2c7e498380beff9b1fc503
+yuva444p12le        c4a4a3601a7fb9ef02770384e155f3d7
 yuva444p12le        c4a4a3601a7fb9ef02770384e155f3d7
-yuva444p16be        9fd2f00ea9bef8e488228bc0b47b28cb
 yuva444p16le        ae9fd8d1baea0f8626b963816d667d2d
-yuva444p9be         4ce11ae57780f74c78cdd5c06be4bded
+yuva444p16le        ae9fd8d1baea0f8626b963816d667d2d
+yuva444p9le         1b9cc85fd6ab0c7e240915a99e98d1c1
 yuva444p9le         1b9cc85fd6ab0c7e240915a99e98d1c1
 yuvj420p            9603b8dd64daec41f0514197989c2b19
 yuvj444p            66ec9b3219df9eb2c1315d293602ab42
diff --git a/tests/ref/fate/filter-pixfmts-vflip b/tests/ref/fate/filter-pixfmts-vflip
index 933ea0c815..2de72485cc 100644
--- a/tests/ref/fate/filter-pixfmts-vflip
+++ b/tests/ref/fate/filter-pixfmts-vflip
@@ -5,144 +5,144 @@  argb                3fd6af7ef2364d8aa845d45db289a04a
 ayuv64le            558671dd31d0754cfa6344eaf441df78
 bgr0                7117438cf000254610f23625265769b5
 bgr24               52b2c21cbc166978a38a646c354b6858
-bgr444be            6c6cb3f5a26d5fd00bd04467bb0bbcca
 bgr444le            860b20346d24510c1b3e44067916bb68
-bgr48be             161d37f2f6ba5de48d17f59050804660
+bgr444le            860b20346d24510c1b3e44067916bb68
+bgr48le             98f471e833021adad925d7d8d45b7c6f
 bgr48le             98f471e833021adad925d7d8d45b7c6f
 bgr4_byte           f6296e1a5741531f67f62599ae30bfde
-bgr555be            f5e041ea34e4c084c3531b9fe2d01016
 bgr555le            3b5c5281a7e13a1f757dc5d8eeb77d85
-bgr565be            a567fb6edb4057d44c33c1bad23b9807
+bgr555le            3b5c5281a7e13a1f757dc5d8eeb77d85
+bgr565le            c6f40163bd064760f316a90f4c7885ac
 bgr565le            c6f40163bd064760f316a90f4c7885ac
 bgr8                f2e4aabfe9e6039beb1f2b8c43c83e3c
 bgra                0af63cc2ffd61af252df93cc767de358
-bgra64be            31af33833f6d8f2e4a62683288770aa4
+bgra64le            45feb93863055282447d1ff89c5158bf
 bgra64le            45feb93863055282447d1ff89c5158bf
 gbrap               421c56a25f88d58b9361f5c7bb368e21
-gbrap10be           e8134b72acc090b093b4d9b4d4703c7e
+gbrap10le           cc927d069d03410f828b35c5db1000b1
 gbrap10le           43bde7bd6a676c6ac33dbcc4c72762f3
-gbrap12be           16a3d105ba852a9fa23ea5232db51b48
 gbrap12le           6ef8a3ac4129ec23c34aec14ac41f249
-gbrap16be           70b020b6b9e1896b72f890de3570ffda
+gbrap12le           6ef8a3ac4129ec23c34aec14ac41f249
+gbrap16le           e0cf341cdbaf1f5c40016f181bc9d7d4
 gbrap16le           e0cf341cdbaf1f5c40016f181bc9d7d4
 gbrp                413b0f6ea51588d4be5f0c76d43d8796
-gbrp10be            d02bd50db83213667808f5bacefe667c
 gbrp10le            2d4a5ebc773ffc3d857a6ef24afbe10e
-gbrp12be            a668b7dba68817736501386ffe9f3adc
+gbrp10le            2d4a5ebc773ffc3d857a6ef24afbe10e
+gbrp12le            299695016c22a4947d94b16f0975536b
 gbrp12le            299695016c22a4947d94b16f0975536b
-gbrp14be            eeebacfb19c970dd76ad044ef85e8fe5
 gbrp14le            6e93b87047e433995111eb5397751c3f
-gbrp16be            3fef87fe67bf1fd0e2f5056dc0db2ef4
+gbrp14le            6e93b87047e433995111eb5397751c3f
+gbrp16le            f3b2b76fe707f77eb1376640759f5168
 gbrp16le            f3b2b76fe707f77eb1376640759f5168
-gbrp9be             99c694dd47d12ae48fc8f47a0c410333
+gbrp9le             26e103a4ab99fb3f58667df490997a36
 gbrp9le             26e103a4ab99fb3f58667df490997a36
 gray                41811422d5819ed69389357294384c10
-gray10be            52710b3ab3ccf6101d28109f58cd48c4
 gray10le            9c432a163f0cfe9ee2a4b72ae8a7c307
-gray12be            7423ce8a77fbc40c5d4776eb28fec60a
+gray10le            9c432a163f0cfe9ee2a4b72ae8a7c307
+gray12le            808158633559d7deebc7dac2d79e88f8
 gray12le            808158633559d7deebc7dac2d79e88f8
-gray14be            68b14e31a089d6bd1fa2082d66d004da
 gray14le            3842b874a9b05ce2ae3cad9ef7131013
-gray16be            29f24ba7cb0fc4fd2ae78963d008f6e6
+gray14le            3842b874a9b05ce2ae3cad9ef7131013
+gray16le            a37e9c4ea76e8eeddc2af8f600ba2c10
 gray16le            a37e9c4ea76e8eeddc2af8f600ba2c10
-gray9be             dda11d4ffd62b414012ffc4667fb4971
 gray9le             159bf6482d217b2b8276eb2216cd7a09
-grayf32be           c1ba5943a0d24d70e6a280f37e4f4593
+gray9le             159bf6482d217b2b8276eb2216cd7a09
+grayf32le           8e6c048a5b3b8b26d3a5ddfce255f3f6
 grayf32le           8e6c048a5b3b8b26d3a5ddfce255f3f6
 monob               7810c4857822ccfc844d78f5e803269a
 monow               90a947bfcd5f2261e83b577f48ec57b1
 nv12                261ebe585ae2aa4e70d39a10c1679294
 nv21                2909feacd27bebb080c8e0fa41795269
-p010be              06e9354b6e0e38ba41736352cedc0bd5
+p010le              cdf6a3c38d9d4e3f079fa369e1dda662
 p010le              fd18d322bffbf5816902c13102872e22
-p016be              06e9354b6e0e38ba41736352cedc0bd5
+p016le              cdf6a3c38d9d4e3f079fa369e1dda662
 p016le              fd18d322bffbf5816902c13102872e22
 pal8                450b0155d0f2d5628bf95a442db5f817
 rgb0                56a7ea69541bcd27bef6a5615784722b
 rgb24               195e6dae1c3a488b9d3ceb7560d25d85
-rgb444be            d30742559618f871ef5543f602e35d04
 rgb444le            8cae7773ce27d959fd7836832ab392a6
-rgb48be             3c519a3f78405a8f2cc05c4846ab6e71
+rgb444le            8cae7773ce27d959fd7836832ab392a6
+rgb48le             09218c1dea3d085d435910478d4c4b7a
 rgb48le             09218c1dea3d085d435910478d4c4b7a
 rgb4_byte           0e2b561097230e9c72acc645e6806e20
-rgb555be            730f68605d12eb7cd524b63388f69712
 rgb555le            7fec4673ba9025bf492e88754afb51b2
-rgb565be            1f54ab9892bf28e3081ab55c83c86e24
+rgb555le            7fec4673ba9025bf492e88754afb51b2
+rgb565le            13255e04237bb16eb22f29f892590182
 rgb565le            13255e04237bb16eb22f29f892590182
 rgb8                7df049b6094f8a5e084d74462f6d6cde
 rgba                c1a5908572737f2ae1e5d8218af65f4b
-rgba64be            17e6273323b5779b5f3f775f150c1011
+rgba64le            48f45b10503b7dd140329c3dd0d54c98
 rgba64le            48f45b10503b7dd140329c3dd0d54c98
 uyvy422             3a237e8376264e0cfa78f8a3fdadec8a
-xyz12be             810644e008deb231850d779aaa27cc7e
 xyz12le             829701db461b43533cf9241e0743bc61
-ya16be              01fa2780505ce1bd187ae7f9dcc5fcc3
+xyz12le             829701db461b43533cf9241e0743bc61
+ya16le              492f528782acf22769b0b633187be212
 ya16le              492f528782acf22769b0b633187be212
 ya8                 4299c6ca3b470a7d8a420e26eb485b1d
 yuv410p             c7adfe96c8e043a6cb9290c39bf8063c
 yuv411p             3fce29db403a25f81be39e01aaf6ff3a
 yuv420p             d64fae96fac22aefa8fbcf45a09f37c1
-yuv420p10be         63f545453139f38883cfa1210f7b6ac5
 yuv420p10le         925de8b0bf9519c4b841afab4dd6bb25
-yuv420p12be         619425168c3b8bb9da68e7810bf5eacf
+yuv420p10le         925de8b0bf9519c4b841afab4dd6bb25
+yuv420p12le         403d7d96939fa538b04f7b7b26ac6868
 yuv420p12le         403d7d96939fa538b04f7b7b26ac6868
-yuv420p14be         22d2d9fb5883410807ede4066e735426
 yuv420p14le         5cace6a24a1ff5d2a41a3c909c4bc41f
-yuv420p16be         0a6499a1b22230ad030448d3ac95b5c1
+yuv420p14le         5cace6a24a1ff5d2a41a3c909c4bc41f
+yuv420p16le         2a5c131b060757aab1fe84200528d404
 yuv420p16le         2a5c131b060757aab1fe84200528d404
-yuv420p9be          694227c773c3a66e4edeca950f99f6d6
+yuv420p9le          c3ec4bffc19c49edafd769a7dfccd9c1
 yuv420p9le          c3ec4bffc19c49edafd769a7dfccd9c1
 yuv422p             54f608c9d8bc56979aeaa7863820f5d3
-yuv422p10be         fbd6329d2decbe318be4d89dc8ade3a3
 yuv422p10le         7d7bdf4f68d8a7698e92722625c59c53
-yuv422p12be         d6ca250820312bab977ce88d2ef65c13
+yuv422p10le         7d7bdf4f68d8a7698e92722625c59c53
 yuv422p12le         3185b59dddc7ee67251d9829a977130b
-yuv422p14be         3bc3a72c7cf995981bd8eb45f23705b3
+yuv422p12le         3185b59dddc7ee67251d9829a977130b
+yuv422p14le         5987087bbc03d8cbff4c41bce03451d9
 yuv422p14le         5987087bbc03d8cbff4c41bce03451d9
-yuv422p16be         97d95a9cfe8f67fb20a4c983c7fdc215
 yuv422p16le         3b9df52a757a0d1ddb1c9c38f0ed4787
-yuv422p9be          25116f0953ecd26f292101b51ac708df
+yuv422p16le         3b9df52a757a0d1ddb1c9c38f0ed4787
+yuv422p9le          42615866fe9ab98e28970ed7fbf4b2a0
 yuv422p9le          42615866fe9ab98e28970ed7fbf4b2a0
 yuv440p             fa45ee7329b98fc43c0be460d9a0d6a5
-yuv440p10be         54789b4f66d9a79fc182ff268639dbd0
 yuv440p10le         d06d7c054522ac02ec04f76dfa431676
-yuv440p12be         7b8c9b6688f44282007ae220d52e5ed6
+yuv440p10le         d06d7c054522ac02ec04f76dfa431676
+yuv440p12le         2a3adb4692391171c506cc0899d27511
 yuv440p12le         2a3adb4692391171c506cc0899d27511
 yuv444p             7c8c5d138d732f4ca7d864b9ffef3047
-yuv444p10be         faa81f737d465afcacef351818d34772
 yuv444p10le         bfc5036e4ab0ab6da1416df4a462db74
-yuv444p12be         6706d8807b9dd14d331a7e9572fd9c5d
+yuv444p10le         bfc5036e4ab0ab6da1416df4a462db74
+yuv444p12le         9bba33b2c0dd09f653a4c22d201142c5
 yuv444p12le         9bba33b2c0dd09f653a4c22d201142c5
-yuv444p14be         cf181f44988d3ddf4cc32b87ca473251
 yuv444p14le         086322cb9a98eb91825c9bb2ad00eac7
-yuv444p16be         ee0721d7fda4a67bc6270a78fa361140
+yuv444p14le         086322cb9a98eb91825c9bb2ad00eac7
 yuv444p16le         8c4c2511907fd23d9aeefab490a22db7
-yuv444p9be          7ffa40454450cbeec09d57f5a0a3eb8b
+yuv444p16le         8c4c2511907fd23d9aeefab490a22db7
+yuv444p9le          a4fb60fbace24757b1e07d5a65f09e64
 yuv444p9le          a4fb60fbace24757b1e07d5a65f09e64
 yuva420p            3b136bcd7c2ffc3a1849e4814c046954
-yuva420p10be        d045faff818dabb9ecebab6d14bf7b10
 yuva420p10le        becf56ac1e271c04ccc204c68e8e0b5f
-yuva420p16be        eeb7b6b0dba4ca15a1457bf0ff2bc51b
+yuva420p10le        becf56ac1e271c04ccc204c68e8e0b5f
+yuva420p16le        aa0a678ad48815d226888a5053a6fe6e
 yuva420p16le        aa0a678ad48815d226888a5053a6fe6e
-yuva420p9be         bcee2f39913b006fdfaa865246fbc122
+yuva420p9le         aec21fa8f1088b7898cd80a30f382224
 yuva420p9le         aec21fa8f1088b7898cd80a30f382224
 yuva422p            39707b0dfdaadeefa20819080365db15
-yuva422p10be        53fbfe6d7eb01e2007003383c5d91850
 yuva422p10le        df1f95630ccd7bf05b95b6b3061cbeef
-yuva422p12be        6b13c0f628b4369c2ecabb3aaf02dbc6
+yuva422p10le        df1f95630ccd7bf05b95b6b3061cbeef
+yuva422p12le        5413c3f022d30fbdd9f1d4e35468c8c4
 yuva422p12le        5413c3f022d30fbdd9f1d4e35468c8c4
-yuva422p16be        35ad91fa92b04e13d6b557d2f250ade1
 yuva422p16le        8fb93970118fde962f5dbcd156966722
-yuva422p9be         2b16b2dc102ad688a3023f30e3c6f9d9
+yuva422p16le        8fb93970118fde962f5dbcd156966722
+yuva422p9le         6a23d290358691a9d8bab49582265764
 yuva422p9le         6a23d290358691a9d8bab49582265764
 yuva444p            442a690385166bed3e785d9262c1c501
-yuva444p10be        bb6d52902c30f5cc63ddc3fbe3346bf5
 yuva444p10le        6e43f7c44e070fce492dcb1b038de85e
-yuva444p12be        437e75242255bcaeb853c35284f3b58c
+yuva444p10le        6e43f7c44e070fce492dcb1b038de85e
 yuva444p12le        5864b489dff8cd98f46ca86b32f357e2
-yuva444p16be        b8801dccf64b3eadc2a5b5db67ae0b0f
+yuva444p12le        5864b489dff8cd98f46ca86b32f357e2
+yuva444p16le        8e72ae66754badf5d1eeb094e6bf0ddc
 yuva444p16le        8e72ae66754badf5d1eeb094e6bf0ddc
-yuva444p9be         bcd845394351ca6d15e947342802957d
+yuva444p9le         7727a93765ed38dfd25e3d6b7a38fa63
 yuva444p9le         7727a93765ed38dfd25e3d6b7a38fa63
 yuvj411p            260f51b360dc00b2222f4cb39fa05e36
 yuvj420p            fab4394239b08bdb7638215a42d56eaf