Commits on Source (3)
-
There’s no possible interoperability between VLC_CODEC_CVPX_P010 and the native Darwin OpenGLES backend given it can’t allocate more than 8bit-per-pixel textures. Hence we can reject this chroma to prevent the display from opening in this case.
5193c8db -
Only OpenGLES isn’t compatible with `x420` formats. Other renderer implementation using Metal or AVSampleBufferDisplayLayer can display this chroma just fine.
d80a7ace -
Metal device is mandatory to handle P010 chroma on mobile/tv devices. The Metal device API can only be used in ObjC context hence a new ObjC source file had to be created to handle the device detection.
fb5cfd52
Showing
- modules/codec/Makefile.am 3 additions, 3 deletionsmodules/codec/Makefile.am
- modules/codec/videotoolbox/decoder.c 14 additions, 3 deletionsmodules/codec/videotoolbox/decoder.c
- modules/codec/vt_utils.h 7 additions, 0 deletionsmodules/codec/vt_utils.h
- modules/codec/vt_utils_native.m 14 additions, 0 deletionsmodules/codec/vt_utils_native.m
- modules/video_output/Makefile.am 2 additions, 2 deletionsmodules/video_output/Makefile.am
- modules/video_output/opengl/display.c 4 additions, 0 deletionsmodules/video_output/opengl/display.c
modules/codec/vt_utils_native.m
0 → 100644