Home
last modified time | relevance | path

Searched refs:imageInfo (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tools/aapt/
DImages.cpp875 static void analyze_image(const char *imageName, image_info &imageInfo, int grayscaleTolerance, in analyze_image() argument
880 int w = imageInfo.width; in analyze_image()
881 int h = imageInfo.height; in analyze_image()
903 dump_image(w, h, imageInfo.rows, PNG_COLOR_TYPE_RGB_ALPHA); in analyze_image()
907 png_bytep row = imageInfo.rows[j]; in analyze_image()
1089 png_bytep row = imageInfo.rows[j]; in analyze_image()
1117 png_bytep row = imageInfo.rows[j]; in analyze_image()
1140 image_info& imageInfo, const Bundle* bundle) in write_png() argument
1152 png_bytepp outRows = (png_bytepp) malloc((int) imageInfo.height * sizeof(png_bytep)); in write_png()
1157 for (i = 0; i < (int) imageInfo.height; i++) { in write_png()
[all …]
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp1407 MediaImage2* imageInfo = reinterpret_cast<MediaImage2*>(imageData->data()); in copyOneYuvTile() local
1408 if (imageInfo->mType != MediaImage2::MEDIA_IMAGE_TYPE_YUV || in copyOneYuvTile()
1409 imageInfo->mBitDepth != 8 || in copyOneYuvTile()
1410 imageInfo->mBitDepthAllocated != 8 || in copyOneYuvTile()
1411 imageInfo->mNumPlanes != 3) { in copyOneYuvTile()
1414 imageInfo->mType, imageInfo->mBitDepth, in copyOneYuvTile()
1415 imageInfo->mBitDepthAllocated, imageInfo->mNumPlanes); in copyOneYuvTile()
1422 __FUNCTION__, imageInfo->mPlane[MediaImage2::U].mOffset, in copyOneYuvTile()
1423 imageInfo->mPlane[MediaImage2::V].mOffset, in copyOneYuvTile()
1424 imageInfo->mPlane[MediaImage2::U].mRowInc, in copyOneYuvTile()
[all …]
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaProfileRenderer.cpp37 return mCanvas->imageInfo().width(); in getViewportWidth()
41 return mCanvas->imageInfo().height(); in getViewportHeight()
DVkInteropFunctorDrawable.cpp76 SkImageInfo surfaceInfo = canvas->imageInfo(); in onDraw()
135 info.color_space_ptr = canvas->imageInfo().colorSpace(); in onDraw()
184 canvas->imageInfo().refColorSpace(), kBottomLeft_GrSurfaceOrigin); in onDraw()
DGLFunctorDrawable.cpp104 canvas->imageInfo().makeWH(clipBounds.width(), clipBounds.height()); in onDraw()
141 info.color_space_ptr = canvas->imageInfo().colorSpace(); in onDraw()
/frameworks/base/native/graphics/jni/
Dbitmap.cpp27 android::bitmap::imageInfo(env, jbitmap, info); in AndroidBitmap_getInfo()
/frameworks/base/core/jni/android/graphics/
DBitmap.h47 void imageInfo(JNIEnv* env, jobject bitmap, AndroidBitmapInfo* info);
DBitmap.cpp238 void imageInfo(JNIEnv* env, jobject bitmap, AndroidBitmapInfo* info) { in imageInfo() function
246 const SkImageInfo& imageInfo = localBitmap->info(); in imageInfo() local
247 info->width = imageInfo.width(); in imageInfo()
248 info->height = imageInfo.height(); in imageInfo()
251 switch (imageInfo.colorType()) { in imageInfo()
/frameworks/wilhelm/src/
Ddata.h112 XAImageStreamInformation imageInfo; member
/frameworks/base/tools/aapt2/compile/
DPng.cpp248 static void analyze_image(IDiagnostics* diag, const PngInfo& imageInfo, in analyze_image() argument
253 int w = imageInfo.width; in analyze_image()
254 int h = imageInfo.height; in analyze_image()
275 const png_byte* row = imageInfo.rows[j]; in analyze_image()
413 const png_byte* row = imageInfo.rows[j]; in analyze_image()
/frameworks/wilhelm/src/itf/
DIStreamInformation.cpp128 *(XAImageStreamInformation *)info = streamInfo.imageInfo; in IStreamInformation_QueryStreamInformation()
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp97 return mCanvas->imageInfo().isOpaque(); in isOpaque()
101 return mCanvas->imageInfo().width(); in width()
105 return mCanvas->imageInfo().height(); in height()
/frameworks/base/libs/hwui/tests/unit/
DSkiaPipelineTests.cpp248 DeferLayer() : SkSurface_Base(T().imageInfo(), nullptr) {} in DeferLayer()