Re: [libav-devel] [PATCH] vdpau: Add missing deprecation guards

2016-03-01 Thread Luca Barbato
On 01/03/16 21:34, Vittorio Giovara wrote:
> ---
>  libavcodec/vdpau.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c
> index dd48c04..bf5f8d9 100644
> --- a/libavcodec/vdpau.c
> +++ b/libavcodec/vdpau.c
> @@ -317,6 +317,7 @@ int ff_vdpau_add_buffer(struct vdpau_picture_context 
> *pic_ctx,
>  return 0;
>  }
>  
> +#if FF_API_VDPAU_PROFILE
>  int av_vdpau_get_profile(AVCodecContext *avctx, VdpDecoderProfile *profile)
>  {
>  #define PROFILE(prof)  \
> @@ -363,6 +364,7 @@ do {   \
>  return AVERROR(EINVAL);
>  #undef PROFILE
>  }
> +#endif /* FF_API_VDPAU_PROFILE */
>  
>  AVVDPAUContext *av_vdpau_alloc_context(void)
>  {
> 

Ok.
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


[libav-devel] [PATCH] vdpau: Add missing deprecation guards

2016-03-01 Thread Vittorio Giovara
---
 libavcodec/vdpau.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c
index dd48c04..bf5f8d9 100644
--- a/libavcodec/vdpau.c
+++ b/libavcodec/vdpau.c
@@ -317,6 +317,7 @@ int ff_vdpau_add_buffer(struct vdpau_picture_context 
*pic_ctx,
 return 0;
 }
 
+#if FF_API_VDPAU_PROFILE
 int av_vdpau_get_profile(AVCodecContext *avctx, VdpDecoderProfile *profile)
 {
 #define PROFILE(prof)  \
@@ -363,6 +364,7 @@ do {   \
 return AVERROR(EINVAL);
 #undef PROFILE
 }
+#endif /* FF_API_VDPAU_PROFILE */
 
 AVVDPAUContext *av_vdpau_alloc_context(void)
 {
-- 
2.7.0

___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


Re: [libav-devel] [PATCH 2/2] fate: Add separate target for all indeo3 tests

2016-03-01 Thread Vittorio Giovara
On Tue, Mar 1, 2016 at 7:52 AM, Diego Biurrun  wrote:
> ---
>  tests/fate/indeo.mak| 11 +++
>  tests/ref/fate/{indeo3 => indeo3-1} |  0
>  2 files changed, 7 insertions(+), 4 deletions(-)
>  rename tests/ref/fate/{indeo3 => indeo3-1} (100%)
>
> diff --git a/tests/fate/indeo.mak b/tests/fate/indeo.mak
> index ad39bf3..a275bda 100644
> --- a/tests/fate/indeo.mak
> +++ b/tests/fate/indeo.mak
> @@ -7,12 +7,15 @@ fate-indeo2-delta: CMD = framecrc -i 
> $(TARGET_SAMPLES)/rt21/ISKATE.AVI -an
>  FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, INDEO2) += $(FATE_INDEO2)
>  fate-indeo2: $(FATE_INDEO2)
>
> -FATE_INDEO-$(call DEMDEC, MOV, INDEO3) += fate-indeo3
> -fate-indeo3: CMD = framecrc -i $(TARGET_SAMPLES)/iv32/cubes.mov
> +FATE_INDEO3-$(CONFIG_MOV_DEMUXER) += fate-indeo3-1
> +fate-indeo3-1: CMD = framecrc -i $(TARGET_SAMPLES)/iv32/cubes.mov
>
> -FATE_INDEO-$(call DEMDEC, AVI, INDEO3) += fate-indeo3-2
> +FATE_INDEO3-$(CONFIG_AVI_DEMUXER) += fate-indeo3-2
>  fate-indeo3-2: CMD = framecrc -i $(TARGET_SAMPLES)/iv32/OPENINGH.avi
>
> +FATE_SAMPLES_AVCONV-$(CONFIG_INDEO3_DECODER) += $(FATE_INDEO3-yes)
> +fate-indeo3: $(FATE_INDEO3-yes)
> +
>  FATE_INDEO-$(call DEMDEC, AVI, INDEO4) += fate-indeo4
>  fate-indeo4: CMD = framecrc -i $(TARGET_SAMPLES)/iv41/indeo41-partial.avi -an
>
> @@ -20,4 +23,4 @@ FATE_INDEO-$(call DEMDEC, AVI, INDEO5) += fate-indeo5
>  fate-indeo5: CMD = framecrc -i 
> $(TARGET_SAMPLES)/iv50/Educ_Movie_DeadlyForce.avi -an
>
>  FATE_SAMPLES_AVCONV += $(FATE_INDEO-yes)
> -fate-indeo: $(FATE_INDEO2) $(FATE_INDEO-yes)
> +fate-indeo: $(FATE_INDEO2) $(FATE_INDEO3-yes) $(FATE_INDEO-yes)
> diff --git a/tests/ref/fate/indeo3 b/tests/ref/fate/indeo3-1
> similarity index 100%
> rename from tests/ref/fate/indeo3
> rename to tests/ref/fate/indeo3-1
> --
> 2.5.0

sure
-- 
Vittorio
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


Re: [libav-devel] [PATCH 1/2] fate: Add test for indeo2 with delta frames

2016-03-01 Thread Luca Barbato
On 01/03/16 13:52, Diego Biurrun wrote:
> From: Vittorio Giovara 
> 
> Signed-off-by: Diego Biurrun 
> ---
>  tests/fate/indeo.mak|  12 +++-
>  tests/ref/fate/indeo2-delta | 115 
> 
>  tests/ref/fate/{indeo2 => indeo2-intra} |   0
>  3 files changed, 124 insertions(+), 3 deletions(-)
>  create mode 100644 tests/ref/fate/indeo2-delta
>  rename tests/ref/fate/{indeo2 => indeo2-intra} (100%)
> 

Set Ok.

___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


[libav-devel] [PATCH 1/2] fate: Add test for indeo2 with delta frames

2016-03-01 Thread Diego Biurrun
From: Vittorio Giovara 

Signed-off-by: Diego Biurrun 
---
 tests/fate/indeo.mak|  12 +++-
 tests/ref/fate/indeo2-delta | 115 
 tests/ref/fate/{indeo2 => indeo2-intra} |   0
 3 files changed, 124 insertions(+), 3 deletions(-)
 create mode 100644 tests/ref/fate/indeo2-delta
 rename tests/ref/fate/{indeo2 => indeo2-intra} (100%)

diff --git a/tests/fate/indeo.mak b/tests/fate/indeo.mak
index e725a6b..ad39bf3 100644
--- a/tests/fate/indeo.mak
+++ b/tests/fate/indeo.mak
@@ -1,5 +1,11 @@
-FATE_INDEO-$(call DEMDEC, AVI, INDEO2) += fate-indeo2
-fate-indeo2: CMD = framecrc -i $(TARGET_SAMPLES)/rt21/VPAR0026.AVI
+FATE_INDEO2 += fate-indeo2-intra
+fate-indeo2-intra: CMD = framecrc -i $(TARGET_SAMPLES)/rt21/VPAR0026.AVI
+
+FATE_INDEO2 += fate-indeo2-delta
+fate-indeo2-delta: CMD = framecrc -i $(TARGET_SAMPLES)/rt21/ISKATE.AVI -an
+
+FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, INDEO2) += $(FATE_INDEO2)
+fate-indeo2: $(FATE_INDEO2)
 
 FATE_INDEO-$(call DEMDEC, MOV, INDEO3) += fate-indeo3
 fate-indeo3: CMD = framecrc -i $(TARGET_SAMPLES)/iv32/cubes.mov
@@ -14,4 +20,4 @@ FATE_INDEO-$(call DEMDEC, AVI, INDEO5) += fate-indeo5
 fate-indeo5: CMD = framecrc -i 
$(TARGET_SAMPLES)/iv50/Educ_Movie_DeadlyForce.avi -an
 
 FATE_SAMPLES_AVCONV += $(FATE_INDEO-yes)
-fate-indeo: $(FATE_INDEO-yes)
+fate-indeo: $(FATE_INDEO2) $(FATE_INDEO-yes)
diff --git a/tests/ref/fate/indeo2-delta b/tests/ref/fate/indeo2-delta
new file mode 100644
index 000..c197dcc
--- /dev/null
+++ b/tests/ref/fate/indeo2-delta
@@ -0,0 +1,115 @@
+#tb 0: 16567/25
+0,  0,  0,1,21600, 0xa3e914dd
+0,  1,  1,1,21600, 0x367eb420
+0,  2,  2,1,21600, 0x527488e2
+0,  3,  3,1,21600, 0x5e704dcb
+0,  4,  4,1,21600, 0xfbfb35d4
+0,  5,  5,1,21600, 0xf6e168de
+0,  6,  6,1,21600, 0x0b589818
+0,  7,  7,1,21600, 0xc67b2dbd
+0,  8,  8,1,21600, 0x002f4994
+0,  9,  9,1,21600, 0xe3a476f2
+0, 10, 10,1,21600, 0xbc5f0f39
+0, 11, 11,1,21600, 0xef095e3a
+0, 12, 12,1,21600, 0x6bb4f515
+0, 13, 13,1,21600, 0x1be1f0fa
+0, 14, 14,1,21600, 0x0d855464
+0, 15, 15,1,21600, 0x6711b47d
+0, 16, 16,1,21600, 0x14cb2640
+0, 17, 17,1,21600, 0x5b794027
+0, 18, 18,1,21600, 0xf8cfab3c
+0, 19, 19,1,21600, 0xe639b0c2
+0, 20, 20,1,21600, 0x403b3d7b
+0, 21, 21,1,21600, 0x364cbb6f
+0, 22, 22,1,21600, 0xadff6c72
+0, 23, 23,1,21600, 0x76c85b52
+0, 24, 24,1,21600, 0xbe85ec80
+0, 25, 25,1,21600, 0x1e9f9e50
+0, 26, 26,1,21600, 0xbd31bd82
+0, 27, 27,1,21600, 0x4445a12a
+0, 28, 28,1,21600, 0x08f25888
+0, 29, 29,1,21600, 0x73d45696
+0, 30, 30,1,21600, 0xbc681a10
+0, 31, 31,1,21600, 0x03f502be
+0, 32, 32,1,21600, 0x9206a757
+0, 33, 33,1,21600, 0x3ed5e1be
+0, 34, 34,1,21600, 0x76b636a9
+0, 35, 35,1,21600, 0x7d40ccb0
+0, 36, 36,1,21600, 0xa2955499
+0, 37, 37,1,21600, 0xf4b20c86
+0, 38, 38,1,21600, 0xe497d681
+0, 39, 39,1,21600, 0x831ef973
+0, 40, 40,1,21600, 0x43aa78e6
+0, 41, 41,1,21600, 0x26e4bdb6
+0, 42, 42,1,21600, 0xd04e9feb
+0, 43, 43,1,21600, 0x08ef4b58
+0, 44, 44,1,21600, 0x30b84cc3
+0, 45, 45,1,21600, 0x04e1dec0
+0, 46, 46,1,21600, 0xed4f24d5
+0, 47, 47,1,21600, 0xcc9f8d4c
+0, 48, 48,1,21600, 0x402ff69a
+0, 49, 49,1,21600, 0xd77a4e7b
+0, 50, 50,1,21600, 0xe614de71
+0, 51, 51,1,21600, 0x18daccbd
+0, 52, 52,1,21600, 0x87e896d1
+0, 53, 53,1,21600, 0x51d76264
+0, 54, 54,1,21600, 0x9b910304
+0, 55, 55,1,21600, 0xd3a7aa30
+0, 56, 56,1,21600, 0x40e4e926
+0, 57, 57,1,  

[libav-devel] [PATCH 2/2] fate: Add separate target for all indeo3 tests

2016-03-01 Thread Diego Biurrun
---
 tests/fate/indeo.mak| 11 +++
 tests/ref/fate/{indeo3 => indeo3-1} |  0
 2 files changed, 7 insertions(+), 4 deletions(-)
 rename tests/ref/fate/{indeo3 => indeo3-1} (100%)

diff --git a/tests/fate/indeo.mak b/tests/fate/indeo.mak
index ad39bf3..a275bda 100644
--- a/tests/fate/indeo.mak
+++ b/tests/fate/indeo.mak
@@ -7,12 +7,15 @@ fate-indeo2-delta: CMD = framecrc -i 
$(TARGET_SAMPLES)/rt21/ISKATE.AVI -an
 FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, INDEO2) += $(FATE_INDEO2)
 fate-indeo2: $(FATE_INDEO2)
 
-FATE_INDEO-$(call DEMDEC, MOV, INDEO3) += fate-indeo3
-fate-indeo3: CMD = framecrc -i $(TARGET_SAMPLES)/iv32/cubes.mov
+FATE_INDEO3-$(CONFIG_MOV_DEMUXER) += fate-indeo3-1
+fate-indeo3-1: CMD = framecrc -i $(TARGET_SAMPLES)/iv32/cubes.mov
 
-FATE_INDEO-$(call DEMDEC, AVI, INDEO3) += fate-indeo3-2
+FATE_INDEO3-$(CONFIG_AVI_DEMUXER) += fate-indeo3-2
 fate-indeo3-2: CMD = framecrc -i $(TARGET_SAMPLES)/iv32/OPENINGH.avi
 
+FATE_SAMPLES_AVCONV-$(CONFIG_INDEO3_DECODER) += $(FATE_INDEO3-yes)
+fate-indeo3: $(FATE_INDEO3-yes)
+
 FATE_INDEO-$(call DEMDEC, AVI, INDEO4) += fate-indeo4
 fate-indeo4: CMD = framecrc -i $(TARGET_SAMPLES)/iv41/indeo41-partial.avi -an
 
@@ -20,4 +23,4 @@ FATE_INDEO-$(call DEMDEC, AVI, INDEO5) += fate-indeo5
 fate-indeo5: CMD = framecrc -i 
$(TARGET_SAMPLES)/iv50/Educ_Movie_DeadlyForce.avi -an
 
 FATE_SAMPLES_AVCONV += $(FATE_INDEO-yes)
-fate-indeo: $(FATE_INDEO2) $(FATE_INDEO-yes)
+fate-indeo: $(FATE_INDEO2) $(FATE_INDEO3-yes) $(FATE_INDEO-yes)
diff --git a/tests/ref/fate/indeo3 b/tests/ref/fate/indeo3-1
similarity index 100%
rename from tests/ref/fate/indeo3
rename to tests/ref/fate/indeo3-1
-- 
2.5.0

___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel