On 2016-03-29 20:30:49 +0200, Vittorio Giovara wrote:
> ---
> I kept the old test as is and tested the keyframe handling in a new sample.
> Vittorio
>
> tests/fate/screen.mak | 13 +++++++++++--
> tests/ref/fate/screenpresso-16bit | 9 +++++++++
> tests/ref/fate/{screenpresso => screenpresso-24bit} | 0
> tests/ref/fate/screenpresso-32bit | 5 +++++
> 4 files changed, 25 insertions(+), 2 deletions(-)
> create mode 100644 tests/ref/fate/screenpresso-16bit
> rename tests/ref/fate/{screenpresso => screenpresso-24bit} (100%)
> create mode 100644 tests/ref/fate/screenpresso-32bit
>
> diff --git a/tests/fate/screen.mak b/tests/fate/screen.mak
> index 82d4861..5b340dd 100644
> --- a/tests/fate/screen.mak
> +++ b/tests/fate/screen.mak
> @@ -44,8 +44,17 @@ fate-g2m: $(FATE_G2M)
> FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, RSCC) += fate-rscc
> fate-rscc: CMD = framecrc -i $(TARGET_SAMPLES)/rscc/pip.avi -an
>
> -FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, SCREENPRESSO) += fate-screenpresso
> -fate-screenpresso: CMD = framecrc -i $(TARGET_SAMPLES)/spv1/bunny.avi
> +FATE_SCREENPRESSO += fate-screenpresso-16bit
> +fate-screenpresso-16bit: CMD = framecrc -i
> $(TARGET_SAMPLES)/spv1/16bpp_555.avi -an
> +
> +FATE_SCREENPRESSO += fate-screenpresso-24bit
> +fate-screenpresso-24bit: CMD = framecrc -i $(TARGET_SAMPLES)/spv1/bunny.avi
> -an
> +
> +FATE_SCREENPRESSO += fate-screenpresso-32bit
> +fate-screenpresso-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/spv1/32bpp.avi
> -an
> +
> +FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, SCREENPRESSO) += $(FATE_SCREENPRESSO)
> +fate-screenpresso: $(FATE_SCREENPRESSO)
>
> FATE_SAMPLES_AVCONV-$(call DEMDEC, ASF, TDSC) += fate-tdsc
> fate-tdsc: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/tdsc/tdsc.asf
> -an -pix_fmt bgr24
> diff --git a/tests/ref/fate/screenpresso-16bit
> b/tests/ref/fate/screenpresso-16bit
> new file mode 100644
> index 0000000..d9a7d89
> --- /dev/null
> +++ b/tests/ref/fate/screenpresso-16bit
> @@ -0,0 +1,9 @@
> +#tb 0: 100/2397
> +0, 0, 0, 1, 153600, 0x69a234de
> +0, 1, 1, 1, 153600, 0x7f43aee5
> +0, 2, 2, 1, 153600, 0x81030634
> +0, 3, 3, 1, 153600, 0xf570d0ef
> +0, 4, 4, 1, 153600, 0x386e8cec
> +0, 5, 5, 1, 153600, 0xbe53af8f
> +0, 6, 6, 1, 153600, 0xf92f48bd
> +0, 7, 7, 1, 153600, 0x594472c5
> diff --git a/tests/ref/fate/screenpresso b/tests/ref/fate/screenpresso-24bit
> similarity index 100%
> rename from tests/ref/fate/screenpresso
> rename to tests/ref/fate/screenpresso-24bit
> diff --git a/tests/ref/fate/screenpresso-32bit
> b/tests/ref/fate/screenpresso-32bit
> new file mode 100644
> index 0000000..5e1a3b5
> --- /dev/null
> +++ b/tests/ref/fate/screenpresso-32bit
> @@ -0,0 +1,5 @@
> +#tb 0: 100/2397
> +0, 0, 0, 1, 307200, 0xa01f27cc
> +0, 1, 1, 1, 307200, 0x5d83c4d0
> +0, 2, 2, 1, 307200, 0xb7d7919f
> +0, 3, 3, 1, 307200, 0x4d201450
ok, thanks. good to see that the existing test doesn't change, although
it's only thanks to git's rename detection.
Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel