Home | History | Annotate | Download | only in libstagefright

Lines Matching defs:colorFormat

647         OMX_COLOR_FORMATTYPE colorFormat) {
675 && format.eColorFormat == colorFormat) {
683 colorFormat, compressionFormat);
701 OMX_COLOR_FORMATTYPE colorFormat, int32_t width, int32_t height) {
702 switch (colorFormat) {
728 const sp<MetaData>& meta, OMX_COLOR_FORMATTYPE *colorFormat) {
732 *colorFormat = OMX_COLOR_FormatYUV420SemiPlanar;
735 *colorFormat = (OMX_COLOR_FORMATTYPE) targetColorFormat;
739 return isColorFormatSupported(*colorFormat, kPortIndexInput);
743 OMX_COLOR_FORMATTYPE colorFormat, int portIndex) {
744 ALOGV("isColorFormatSupported: %d", static_cast<int>(colorFormat));
763 if (portFormat.eColorFormat == colorFormat) {
765 return OK; // colorFormat is supported!
776 CODEC_LOGE("color format %d is not supported", colorFormat);
805 OMX_COLOR_FORMATTYPE colorFormat;
806 CHECK_EQ((status_t)OK, findTargetColorFormat(meta, &colorFormat));
815 colorFormat), (status_t)OK);
824 def.nBufferSize = getFrameSize(colorFormat,
835 video_def->eColorFormat = colorFormat;
1224 int32_t colorFormat;
1225 if (meta->findInt32(kKeyColorFormat, &colorFormat)
1226 && colorFormat != OMX_COLOR_FormatUnused
1227 && colorFormat != format.eColorFormat) {
1234 if (format.eColorFormat == colorFormat) {
1238 if (format.eColorFormat != colorFormat) {
1239 CODEC_LOGE("Color format %d is not supported", colorFormat);