mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
amc: Properly integrate COLOR_QCOM_FormatYVU420SemiPlanar32m again
https://bugzilla.gnome.org/show_bug.cgi?id=732683
This commit is contained in:
parent
93bce7aeb7
commit
74c2e64d5d
1 changed files with 2 additions and 0 deletions
|
@ -2770,6 +2770,7 @@ gst_amc_color_format_info_set (GstAmcColorFormatInfo * color_format_info,
|
|||
break;
|
||||
}
|
||||
case COLOR_QCOM_FormatYUV420SemiPlanar:
|
||||
case COLOR_QCOM_FormatYVU420SemiPlanar32m:
|
||||
case COLOR_FormatYUV420SemiPlanar:{
|
||||
if (stride == 0 || slice_height == 0) {
|
||||
GST_ERROR ("Stride or slice height is 0");
|
||||
|
@ -2950,6 +2951,7 @@ gst_amc_color_format_copy (GstAmcColorFormatInfo * cinfo,
|
|||
break;
|
||||
}
|
||||
case COLOR_QCOM_FormatYUV420SemiPlanar:
|
||||
case COLOR_QCOM_FormatYVU420SemiPlanar32m:
|
||||
case COLOR_FormatYUV420SemiPlanar:{
|
||||
gint i, j, height;
|
||||
gint c_stride, v_stride;
|
||||
|
|
Loading…
Reference in a new issue