Home
last modified time | relevance | path

Searched refs:MediaImage2 (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/include/media/hardware/
DVideoAPI.h60 struct __attribute__ ((__packed__)) MediaImage2 { struct
101 static_assert(sizeof(MediaImage2::PlaneInfo) == 20, "wrong struct size"); argument
102 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 …]
DHardwareAPI.h292 MediaImage2 sMediaImage;
/frameworks/av/media/libstagefright/omx/
DOMXUtils.cpp71 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()
/frameworks/av/media/libstagefright/
DACodec.cpp4503 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()