[FFmpeg-devel] [PATCH] Fix lavfi pixdesc test
Mon Jul 19 19:18:00 CEST 2010
Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:
> On date Monday 2010-07-19 01:17:28 +0100, Mans Rullgard encoded:
>> This test verifies the pixdesc code by comparing the output with and
>> without a filter which should have no effect on the image. Since the
>> available pixel formats depend on the byte order of the machine, a
>> simple reference checksum is not possible.
>> The test originally tried to solve this by generating a reference file
>> on the fly. The problem with this is that the test framework expects
>> the reference file in the source tree, and writing to the source tree
>> is not allowed.
>> To avoid complicating the test framework, we instead provide two
>> reference files and select which to use based on the byte order.
>> configure | 2 +
>> tests/lavfi-regression.sh | 14 +-------
>> tests/ref/lavfi/pixdesc_be | 84 ++++++++++++++++++++++++++++++++++++++++++++
>> tests/ref/lavfi/pixdesc_le | 84 ++++++++++++++++++++++++++++++++++++++++++++
>> 4 files changed, 171 insertions(+), 13 deletions(-)
>> create mode 100644 tests/ref/lavfi/pixdesc_be
>> create mode 100644 tests/ref/lavfi/pixdesc_le
> Fine with me, thanks.
mans at mansr.com
More information about the ffmpeg-devel