Home
last modified time | relevance | path

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

/frameworks/native/headers/media_plugin/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.h294 MediaImage2 sMediaImage;
/frameworks/av/media/libstagefright/omx/
DOMXUtils.cpp79 void MediaImage2::initFromV1(const MediaImage &image) { in initFromV1()
83 mType = MediaImage2::MEDIA_IMAGE_TYPE_UNKNOWN; in initFromV1()
90 mType = MediaImage2::MEDIA_IMAGE_TYPE_UNKNOWN; in initFromV1()
95 mType = (MediaImage2::Type)image.mType; in initFromV1()
203 MediaImage2 &image = params.sMediaImage; in DescribeDefaultColorFormat()
206 image.mType = MediaImage2::MEDIA_IMAGE_TYPE_UNKNOWN; in DescribeDefaultColorFormat()
244 image.mType = MediaImage2::MEDIA_IMAGE_TYPE_YUV; in DescribeDefaultColorFormat()
330 return describeParams.sMediaImage.mType != MediaImage2::MEDIA_IMAGE_TYPE_UNKNOWN; in DescribeColorFormat()
336 return describeParams.sMediaImage.mType != MediaImage2::MEDIA_IMAGE_TYPE_UNKNOWN; in DescribeColorFormat()
362 const MediaImage2 &img = describeParams.sMediaImage; in IsFlexibleColorFormat()
[all …]
/frameworks/av/media/libstagefright/
DACodec.cpp4920 MediaImage2 &img = describeParams.sMediaImage; in getPortFormat()
4921 MediaImage2::PlaneInfo *plane = img.mPlane; in getPortFormat()