Author | SHA1 | Message | Date |
---|---|---|---|
|
a670eea560 | vf_hwmap: Properly free a locally derived device | 8 years ago |
|
5635c80bf5 | vf_hwmap: Add missing error code | 8 years ago |
|
81a4cb8e58 |
vf_hwmap: Add reverse mapping for hardware frames
This is something of a hack. It allocates a new hwframe context for the target format, then maps it back to the source link and overwrites the input link hw_frames_ctx so that the previous filter will receive the frames we want from ff_get_video_buffer(). It may fail if the previous filter imposes any additional constraints on the frames it wants to use as output. |
8 years ago |
|
38cb05f1c8 |
vf_hwmap: Add device derivation
Also refactor a little and improve error messages to make failure cases easier to understand. |
8 years ago |
|
124e26971e |
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. |
8 years ago |