mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Add support for Format16bppRgb555
in Bitmap wrapper
Former-commit-id: 1711f98bd5
This commit is contained in:
parent
4eafa4533c
commit
7bee36e2ca
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,8 @@ private static string ConvertStreamFormat(PixelFormat fmt)
|
||||||
{
|
{
|
||||||
case PixelFormat.Format16bppGrayScale:
|
case PixelFormat.Format16bppGrayScale:
|
||||||
return "gray16le";
|
return "gray16le";
|
||||||
|
case PixelFormat.Format16bppRgb555:
|
||||||
|
return "bgr555le";
|
||||||
case PixelFormat.Format16bppRgb565:
|
case PixelFormat.Format16bppRgb565:
|
||||||
return "bgr565le";
|
return "bgr565le";
|
||||||
case PixelFormat.Format24bppRgb:
|
case PixelFormat.Format24bppRgb:
|
||||||
|
|
Loading…
Reference in a new issue