[FFmpeg-devel] [PATCH] lavfi: Add VAAPI deinterlacer

Michael Niedermayer michael at niedermayer.cc
Mon Jan 9 02:27:16 EET 2017


On Sun, Jan 08, 2017 at 07:12:47PM +0000, Mark Thompson wrote:
> (cherry picked from commit ade370a4d7eab1866b6023c91c135d27c77ca465)
> ---
> One minor fixup for allocation due to differences in the lavfis, otherwise unchanged.
[...]
> diff --git a/libavfilter/vf_deinterlace_vaapi.c b/libavfilter/vf_deinterlace_vaapi.c
> new file mode 100644
> index 0000000000..2576cf95a9
> --- /dev/null
> +++ b/libavfilter/vf_deinterlace_vaapi.c
[...]
> +    params.surface_color_standard =
> +        vaapi_proc_colour_standard(input_frame->colorspace);

AVFrame->colorspace is documented as "
     * It must be accessed using av_frame_get_colorspace() and
     * av_frame_set_colorspace().
"

This is the API until the API is changed ...


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170109/564b1de9/attachment.sig>


More information about the ffmpeg-devel mailing list