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

Commit 348c45bd authored by Pannag Sanketi's avatar Pannag Sanketi
Browse files

Adding AndoirdOpaque Colorformat to OMX

Adding an enum to indicate an android opaque OMX
colorformat. This will inform the encoder that
the actual colorformat will be relayed by the
Frames read from the GRAlloc Buffers

Related to bug id: 4529323

Change-Id: Iddc5bd1ce8ca2b2506a57aadf5fc91ff0c7b78ef
parent 1352531d
Loading
Loading
Loading
Loading
+209 −202
Original line number Diff line number Diff line
@@ -149,6 +149,13 @@ typedef enum OMX_COLOR_FORMATTYPE {
    OMX_COLOR_Format24BitABGR6666,
    OMX_COLOR_FormatKhronosExtensions = 0x6F000000, /**< Reserved region for introducing Khronos Standard Extensions */
    OMX_COLOR_FormatVendorStartUnused = 0x7F000000, /**< Reserved region for introducing Vendor Extensions */
    /**<Reserved android opaque colorformat. Tells the encoder that
     * the actual colorformat will be  relayed by the
     * Gralloc Buffers.
     * FIXME: In the process of reserving some enum values for
     * Android-specific OMX IL colorformats. Change this enum to
     * an acceptable range once that is done.*/
    OMX_COLOR_FormatAndroidOpaque = 0x7F000001,
    OMX_TI_COLOR_FormatYUV420PackedSemiPlanar = 0x7F000100,
    OMX_QCOM_COLOR_FormatYVU420SemiPlanar = 0x7FA30C00,
    OMX_COLOR_FormatMax = 0x7FFFFFFF