Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18faac2a authored by Haynes Mathew George's avatar Haynes Mathew George Committed by Iliyan Malchev
Browse files

Add vendor specific output color format

- Add Qualcomm specific color format support to OMXCodec and ACodec
- This is the default color format supported on QCom chipsets

Change-Id: Id947b158c3b403c2d347f708bc1e780b4d65e220
parent 1c1a61cb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1357,7 +1357,8 @@ status_t ACodec::setSupportedOutputFormat() {
           || format.eColorFormat == OMX_COLOR_FormatYUV420SemiPlanar
           || format.eColorFormat == OMX_COLOR_FormatCbYCrY
           || format.eColorFormat == OMX_TI_COLOR_FormatYUV420PackedSemiPlanar
           || format.eColorFormat == OMX_QCOM_COLOR_FormatYVU420SemiPlanar);
           || format.eColorFormat == OMX_QCOM_COLOR_FormatYVU420SemiPlanar
           || format.eColorFormat == OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar64x32Tile2m8ka);

    return mOMX->setParameter(
            mNode, OMX_IndexParamVideoPortFormat,
+2 −1
Original line number Diff line number Diff line
@@ -1214,7 +1214,8 @@ status_t OMXCodec::setVideoOutputFormat(
               || format.eColorFormat == OMX_COLOR_FormatYUV420SemiPlanar
               || format.eColorFormat == OMX_COLOR_FormatCbYCrY
               || format.eColorFormat == OMX_TI_COLOR_FormatYUV420PackedSemiPlanar
               || format.eColorFormat == OMX_QCOM_COLOR_FormatYVU420SemiPlanar);
               || format.eColorFormat == OMX_QCOM_COLOR_FormatYVU420SemiPlanar
               || format.eColorFormat == OMX_QCOM_COLOR_FormatYUV420PackedSemiPlanar64x32Tile2m8ka);

        err = mOMX->setParameter(
                mNode, OMX_IndexParamVideoPortFormat,