1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-09 19:22:05 +00:00

vo_opengl: hwdec_vaegl: fix terminology in comment

Bad idea to call a component "pixel" - that's true only for the Y plane.
This commit is contained in:
wm4 2017-01-13 10:22:11 +01:00
parent 14010e7cf6
commit 6de00d10c8

View File

@ -315,12 +315,12 @@ static int map_frame(struct gl_hwdec *hw, struct mp_image *hw_image,
mp_image_setfmt(&layout, mpfmt);
int drm_fmts[8] = {
// 1 bytes per pixel, 1-4 components
// 1 bytes per component, 1-4 components
MP_FOURCC('R', '8', ' ', ' '), // DRM_FORMAT_R8
MP_FOURCC('G', 'R', '8', '8'), // DRM_FORMAT_GR88
MP_FOURCC('R', 'G', '2', '4'), // DRM_FORMAT_RGB888
MP_FOURCC('R', 'A', '2', '4'), // DRM_FORMAT_RGBA8888
// 2 bytes per pixel, 1-4 components
// 2 bytes per component, 1-4 components
MP_FOURCC('R', '1', '6', ' '), // proposed DRM_FORMAT_R16
MP_FOURCC('G', 'R', '3', '2'), // proposed DRM_FORMAT_GR32
0, // N/A