Zhao Zhili:
> On Mar 21, 2025, at 19:23, Andreas Rheinhardt 
> <andreas.rheinha...@outlook.com> wrote:
>>
>> Patch attached.
> 
> Sometimes the bitstream has builtin endian, not native endian, in which case 
> it shouldn’t be ignored.
> 

Do you have a list of all decoders for which this is true?
Anyway, the documentation of the bitexact flag says that the output
shall not be dependent on the specific build, which is currently not
guaranteed. If we can't distinguish the cases in which a decoder output
in the codec's "native" endianness from the cases in which it just
outputs in the system's endianness (and I don't see how we would
distinguish these cases), then we need to fix up both to ensure that the
output really does not depend on the specific system.
Should there be a need in the future, we could add an option to be
bitexact, but not normalize the pixel formats.

- Andreas

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
  • ... Andreas Rheinhardt
    • ... Zhao Zhili
      • ... Andreas Rheinhardt
        • ... Zhao Zhili
          • ... Andreas Rheinhardt
            • ... Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics
        • ... Zhao Zhili

Reply via email to