summaryrefslogtreecommitdiffstats
path: root/video/vt.h
Commit message (Collapse)AuthorAgeFilesLines
* video: remove old videotoolbox supportwm42017-09-261-16/+0
| | | | | Like as in previous commits, you need a very recent FFmpeg (probably git master).
* videotoolbox: add reverse format mapping functionwm42017-02-171-0/+1
| | | | | Introduce mp_imgfmt_to_cvpixelformat(), and change the existing mp_imgfmt_from_cvpixelformat() to a table to avoid duplication.
* videotoolbox: factor some duplicated codewm42017-02-171-0/+15
The code for copying a videotoolbox surface to mp_image was duplicated (with some minor differences - I picked the hw_videotoolbox.c version, because it was "better"). mp_imgfmt_from_cvpixelformat() is somewhat duplicated with the vt_formats[] table, but this will be fixed in a later commit, and moving the function to shared code is preparation.