[libav-devel] [PATCH] lavc/qsvdec: expose frame pic_type and key_frame

2018-04-04 Thread Zhong Li
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

Re: [libav-devel] [PATCH] lavc/qsvdec: expose frame pic_type

2018-03-29 Thread Li, Zhong
> 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

Re: [libav-devel] [PATCH] lavc/qsvdec: expose frame pic_type

2018-03-28 Thread Diego Biurrun
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

Re: [libav-devel] [PATCH] lavc/qsvdec: expose frame pic_type

2018-03-28 Thread Li, Zhong
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

[libav-devel] [PATCH] lavc/qsvdec: expose frame pic_type

2018-03-28 Thread Zhong Li
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

Re: [libav-devel] [PATCH] lavc/qsvdec: expose frame pic_type and key_frame

2018-01-29 Thread Maxym Dmytrychenko
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:

Re: [libav-devel] [PATCH] lavc/qsvdec: expose frame pic_type and key_frame

2018-01-29 Thread Luca Barbato
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

[libav-devel] [PATCH] lavc/qsvdec: expose frame pic_type and key_frame

2018-01-28 Thread Zhong Li
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