From 300f6a334498059f28ec63406112348c7e00fa64 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 29 Jun 2017 21:30:10 +0200 Subject: video: drop some more IMGFMT aliases For vo_opengl and vo_direct3d, these are supported in a generic way. For vf_vapoursynth, we could probably map its VSFormat struct in a generic way, but for now do some bullshit. vf_eq.c actually loses support for these formats. We could add generic support too (anything that has 8 bit planes will work), but why bother. The filter is deprecated anyway. --- video/img_format.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'video/img_format.h') diff --git a/video/img_format.h b/video/img_format.h index e036d65adc..4aecdbe174 100644 --- a/video/img_format.h +++ b/video/img_format.h @@ -142,26 +142,7 @@ enum mp_imgfmt { // Planar YUV formats IMGFMT_444P, // 1x1 - IMGFMT_422P, // 2x1 - IMGFMT_440P, // 1x2 IMGFMT_420P, // 2x2 - IMGFMT_411P, // 4x1 - IMGFMT_410P, // 4x4 - - // YUV formats with 2 bytes per plane-pixel. Formats with 9-15 bits pad the - // most significant bits with 0 (use shifts to expand them to 16 bits). - - IMGFMT_444P16, - IMGFMT_444P10, - IMGFMT_444P9, - - IMGFMT_422P16, - IMGFMT_422P10, - IMGFMT_422P9, - - IMGFMT_420P16, - IMGFMT_420P10, - IMGFMT_420P9, // Gray IMGFMT_Y8, @@ -179,8 +160,6 @@ enum mp_imgfmt { // Like IMGFMT_NV12, but with 10 bits per component (and 6 bits of padding) IMGFMT_P010, - // Like IMGFMT_NV12, but with 16 bits per component - IMGFMT_P016, // RGB/BGR Formats -- cgit v1.2.3