Commit 74c2e64d authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

amc: Properly integrate COLOR_QCOM_FormatYVU420SemiPlanar32m again

https://bugzilla.gnome.org/show_bug.cgi?id=732683
parent 93bce7ae
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment