Searched refs:MediaImage2 (Results 1 – 4 of 4) sorted by relevance
60 struct __attribute__ ((__packed__)) MediaImage2 { struct101 static_assert(sizeof(MediaImage2::PlaneInfo) == 20, "wrong struct size"); argument102 static_assert(sizeof(MediaImage2) == 104, "wrong struct size");244 inline static const char *asString(MediaImage2::Type i, const char *def = "??") {246 case MediaImage2::MEDIA_IMAGE_TYPE_UNKNOWN: return "Unknown";247 case MediaImage2::MEDIA_IMAGE_TYPE_YUV: return "YUV";248 case MediaImage2::MEDIA_IMAGE_TYPE_YUVA: return "YUVA";249 case MediaImage2::MEDIA_IMAGE_TYPE_RGB: return "RGB";250 case MediaImage2::MEDIA_IMAGE_TYPE_RGBA: return "RGBA";251 case MediaImage2::MEDIA_IMAGE_TYPE_Y: return "Y";[all …]
292 MediaImage2 sMediaImage;
71 void MediaImage2::initFromV1(const MediaImage &image) { in initFromV1()75 mType = MediaImage2::MEDIA_IMAGE_TYPE_UNKNOWN; in initFromV1()82 mType = MediaImage2::MEDIA_IMAGE_TYPE_UNKNOWN; in initFromV1()87 mType = (MediaImage2::Type)image.mType; in initFromV1()
4503 MediaImage2 &image = params.sMediaImage; in describeDefaultColorFormat()4506 image.mType = MediaImage2::MEDIA_IMAGE_TYPE_UNKNOWN; in describeDefaultColorFormat()4541 image.mType = MediaImage2::MEDIA_IMAGE_TYPE_YUV; in describeDefaultColorFormat()4628 return describeParams.sMediaImage.mType != MediaImage2::MEDIA_IMAGE_TYPE_UNKNOWN; in describeColorFormat()4634 return describeParams.sMediaImage.mType != MediaImage2::MEDIA_IMAGE_TYPE_UNKNOWN; in describeColorFormat()4660 const MediaImage2 &img = describeParams.sMediaImage; in isFlexibleColorFormat()4661 if (img.mType == MediaImage2::MEDIA_IMAGE_TYPE_YUV) { in isFlexibleColorFormat()4730 MediaImage2 &img = describeParams.sMediaImage; in getPortFormat()4731 MediaImage2::PlaneInfo *plane = img.mPlane; in getPortFormat()