Re: [FFmpeg-devel] [PATCH v2 1/1] avcodec/vaapi_encode: add frame-skip func

2019-02-25 Thread Mark Thompson
On 22/02/2019 03:09, Sun, Jing A wrote: > -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of Mark > Thompson > Sent: Thursday, February 21, 2019 5:35 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PAT

Re: [FFmpeg-devel] [PATCH v2 1/1] avcodec/vaapi_encode: add frame-skip func

2019-02-21 Thread Sun, Jing A
-Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of Mark Thompson Sent: Thursday, February 21, 2019 5:35 AM To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH v2 1/1] avcodec/vaapi_encode: add frame-skip func On 20/02/2019 10:33, Jing

Re: [FFmpeg-devel] [PATCH v2 1/1] avcodec/vaapi_encode: add frame-skip func

2019-02-20 Thread Mark Thompson
On 20/02/2019 10:33, Jing SUN wrote: > This implements app controlled frame skipping > in vaapi encoding. To make a frame skipped, > allocate its frame side data of the newly > added AV_FRAME_DATA_SKIP_FRAME type and set > its value to 1. > > Signed-off-by: Jing SUN > --- >

[FFmpeg-devel] [PATCH v2 1/1] avcodec/vaapi_encode: add frame-skip func

2019-02-20 Thread Jing SUN
This implements app controlled frame skipping in vaapi encoding. To make a frame skipped, allocate its frame side data of the newly added AV_FRAME_DATA_SKIP_FRAME type and set its value to 1. Signed-off-by: Jing SUN --- libavcodec/vaapi_encode.c | 112