Android Color Formats
Sometimes it's useful to be able to cross reference the various color formats available on Android. And sometimes it's useful to know which vendor format a debug message is referring to. Since I've spent far too long searching the AOSP code for these numbers, I've compiled this list :)
This list was last updated 2020/08/01 against AOSP tag android-10.0.0_r40.
Some examples of system logcat messages these numbers might occur in:
W/ACodec: do not know color format 0x7fa30c06 = 2141391878
E/OMX-VDEC-1080P: Get_parameter: OMX_IndexParamVideoPortFormat: nPortIndex (0), nIndex (0), eCompressionFormat (0x0), eColorFormat (0x7fa30c06), xFramerate (0x0)
D/SurfaceUtils: set up nativeWindow 0x13371337 for 720x1280, color 0x7fa30c06, rotation 0, usage 0
D/NdkImageReader: acquireImageLocked: Overriding buffer format YUV_420_888 to 0x7fa30c06.