mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
Add support for OMX_COLOR_FormatYUV420PackedSemiPlanar and OMX_COLOR_Format24bitBGR888
https://bugzilla.gnome.org/show_bug.cgi?id=775959
This commit is contained in:
parent
78295462d3
commit
8b01b06af6
1 changed files with 4 additions and 0 deletions
|
@ -45,6 +45,7 @@ gst_omx_video_get_format_from_omx (OMX_COLOR_FORMATTYPE omx_colorformat)
|
|||
format = GST_VIDEO_FORMAT_I420;
|
||||
break;
|
||||
case OMX_COLOR_FormatYUV420SemiPlanar:
|
||||
case OMX_COLOR_FormatYUV420PackedSemiPlanar:
|
||||
format = GST_VIDEO_FORMAT_NV12;
|
||||
break;
|
||||
case OMX_COLOR_FormatYUV422SemiPlanar:
|
||||
|
@ -75,6 +76,9 @@ gst_omx_video_get_format_from_omx (OMX_COLOR_FORMATTYPE omx_colorformat)
|
|||
case OMX_COLOR_Format16bitBGR565:
|
||||
format = GST_VIDEO_FORMAT_BGR16;
|
||||
break;
|
||||
case OMX_COLOR_Format24bitBGR888:
|
||||
format = GST_VIDEO_FORMAT_BGR;
|
||||
break;
|
||||
default:
|
||||
format = GST_VIDEO_FORMAT_UNKNOWN;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue