mirror of https://github.com/mpv-player/mpv
vf_scale: prefer converting GBR24P to other 8 bit per component RGB formats
Compared to converting to Y444 this should be faster and lossless. Based on patch by Hans-Kristian Arntzen [maister archlinux us] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34317 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b223805547
commit
bf3f28f0a8
|
@ -142,6 +142,10 @@ static int preferred_conversions[][2] = {
|
||||||
{IMGFMT_UYVY, IMGFMT_422P},
|
{IMGFMT_UYVY, IMGFMT_422P},
|
||||||
{IMGFMT_422P, IMGFMT_YUY2},
|
{IMGFMT_422P, IMGFMT_YUY2},
|
||||||
{IMGFMT_422P, IMGFMT_UYVY},
|
{IMGFMT_422P, IMGFMT_UYVY},
|
||||||
|
{IMGFMT_GBR24P, IMGFMT_BGR24},
|
||||||
|
{IMGFMT_GBR24P, IMGFMT_RGB24},
|
||||||
|
{IMGFMT_GBR24P, IMGFMT_BGR32},
|
||||||
|
{IMGFMT_GBR24P, IMGFMT_RGB32},
|
||||||
{0, 0}
|
{0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue