OSDN Git Service

lavfi: Hardware map filter
authorMark Thompson <sw@jkqxz.net>
Tue, 25 Oct 2016 19:40:17 +0000 (20:40 +0100)
committerMark Thompson <sw@jkqxz.net>
Thu, 3 Nov 2016 23:49:05 +0000 (23:49 +0000)
commit124e26971e69bb25f38c6c7cb3fa20c77cf10966
tree78e46e0f53ba6b29e49afd6e1c2ed82343972700
parentd06aa24ba583ad08025da9e1b29afcd8218ff9b0
lavfi: Hardware map filter

Takes a frame associated with a hardware context as input and maps it
to something else (another hardware frame or normal memory) for other
processing.  If the frame to map was originally in the target format
(but mapped to something else), the original frame is output.

Also supports mapping backwards, where only the output has a hardware
context.  The link immediately before will be supplied with mapped
hardware frames which it can write directly into, and this filter
then unmaps them back to the actual hardware frames.
libavfilter/Makefile
libavfilter/allfilters.c
libavfilter/version.h
libavfilter/vf_hwmap.c [new file with mode: 0644]