On 08/09/16 11:33, Hendrik Leppkes wrote:
> On Thu, Sep 8, 2016 at 7:17 AM, Anton Khirnov wrote:
>> Quoting Mark Thompson (2016-09-06 22:53:18)
>>> @@ -2480,6 +2514,20 @@ int vp78_decode_frame(AVCodecContext *avctx, void
>>> *data, int *got_frame,
>>> if (ret < 0)
>>>
On Thu, Sep 8, 2016 at 7:17 AM, Anton Khirnov wrote:
> Quoting Mark Thompson (2016-09-06 22:53:18)
>> @@ -2480,6 +2514,20 @@ int vp78_decode_frame(AVCodecContext *avctx, void
>> *data, int *got_frame,
>> if (ret < 0)
>> goto err;
>>
>> +if (!is_vp7 &&
Quoting Mark Thompson (2016-09-06 22:53:18)
> @@ -2480,6 +2514,20 @@ int vp78_decode_frame(AVCodecContext *avctx, void
> *data, int *got_frame,
> if (ret < 0)
> goto err;
>
> +if (!is_vp7 && s->pix_fmt == AV_PIX_FMT_NONE) {
> +enum AVPixelFormat pix_fmts[] = {
> +
Also adds some extra fields to the main context structure that may
be needed by a hwaccel decoder.
---
v2: review comments incorporated.
On 06/09/16 09:57, Anton Khirnov wrote:
> Quoting Mark Thompson (2016-09-04 14:43:21)
>> @@ -313,13 +336,19 @@ static void get_quants(VP8Context *s)
>>
Quoting Mark Thompson (2016-09-04 14:43:21)
> Also adds some extra fields to the main context structure that may
> be needed by a hwaccel decoder.
> ---
> libavcodec/vp8.c | 190
> +++
> libavcodec/vp8.h | 25
> 2 files changed, 162
Also adds some extra fields to the main context structure that may
be needed by a hwaccel decoder.
---
libavcodec/vp8.c | 190 +++
libavcodec/vp8.h | 25
2 files changed, 162 insertions(+), 53 deletions(-)
diff --git