Lines Matching refs:colorFormat
810 OMX_COLOR_FORMATTYPE colorFormat) {
839 && colorFormat == format.eColorFormat) {
853 && format.eColorFormat == colorFormat) {
861 colorFormat, compressionFormat);
879 OMX_COLOR_FORMATTYPE colorFormat, int32_t width, int32_t height) {
880 switch (colorFormat) {
906 const sp<MetaData>& meta, OMX_COLOR_FORMATTYPE *colorFormat) {
910 *colorFormat = OMX_COLOR_FormatYUV420SemiPlanar;
913 *colorFormat = (OMX_COLOR_FORMATTYPE) targetColorFormat;
916 *colorFormat = OMX_COLOR_FormatYCbYCr;
922 return isColorFormatSupported(*colorFormat, kPortIndexInput);
926 OMX_COLOR_FORMATTYPE colorFormat, int portIndex) {
927 LOGV("isColorFormatSupported: %d", static_cast<int>(colorFormat));
946 if (portFormat.eColorFormat == colorFormat) {
948 return OK; // colorFormat is supported!
959 CODEC_LOGE("color format %d is not supported", colorFormat);
988 OMX_COLOR_FORMATTYPE colorFormat;
989 CHECK_EQ((status_t)OK, findTargetColorFormat(meta, &colorFormat));
998 colorFormat), (status_t)OK);
1007 def.nBufferSize = getFrameSize(colorFormat,
1018 video_def->eColorFormat = colorFormat;