Currently pict_type and key_frame are unset.
Add an extra param to fetch the picture type from qsv decoder
The judgement “key frame is equal to IDR frame” only suitable for H264.
For HEVC, all IRAP frames are key frames, and other codecs have no IDR
frame.
Signed-off-by: ChaoX A Liu
> From: libav-devel [mailto:libav-devel-boun...@libav.org] On Behalf Of
> Diego Biurrun
> Sent: Thursday, March 29, 2018 12:55 AM
> To: libav development <libav-devel@libav.org>
> Subject: Re: [libav-devel] [PATCH] lavc/qsvdec: expose frame pic_type
>
> On Wed, Mar 2
On Wed, Mar 28, 2018 at 04:50:10PM +0800, Zhong Li wrote:
> Currently pict_type are unset.
> Add an extra param to fetch the picture type from qsv decoder
>
> v2: fix the compile error since AV_PICTURE_TYPE_NONE is not existed in libav.
> v3: remove the key_frame setting because the judgement
Resend it since forgot to remove AV_PICTURE_TYPE_NONE in v3.
Please let me know if still have any problem to accept this patch, and I'm glad
to update it.
> -Original Message-
> From: Li, Zhong
> Sent: Wednesday, March 28, 2018 4:50 PM
> To: libav-devel@libav.org
> Cc: Li, Zhong
Currently pict_type are unset.
Add an extra param to fetch the picture type from qsv decoder
v2: fix the compile error since AV_PICTURE_TYPE_NONE is not existed in libav.
v3: remove the key_frame setting because the judgement “key frame is equal
to IDR frame” only suitable for H264.
For HEVC, all
LGTM as well,
will take care of it this week.
On Mon, Jan 29, 2018 at 9:20 AM, Luca Barbato wrote:
> On 29/01/2018 08:31, Zhong Li wrote:
>
>> Currently key_frame and pict_type are unset.
>> Add an extra param to fetch the picture type from qsv decoder
>>
>> Signed-off-by:
On 29/01/2018 08:31, Zhong Li wrote:
Currently key_frame and pict_type are unset.
Add an extra param to fetch the picture type from qsv decoder
Signed-off-by: ChaoX A Liu
Signed-off-by: Zhong Li
---
libavcodec/qsv.c | 24
Currently key_frame and pict_type are unset.
Add an extra param to fetch the picture type from qsv decoder
Signed-off-by: ChaoX A Liu
Signed-off-by: Zhong Li
---
libavcodec/qsv.c | 24
libavcodec/qsv_internal.h | 3