Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/generated/models/
Daxis_aligned_bbox_transform.model.cpp12 auto imageInfo = model->addOperand(&type3); in CreateModel() local
15 …tion(ANEURALNETWORKS_AXIS_ALIGNED_BBOX_TRANSFORM, {roi, bboxDeltas, batchSplit, imageInfo}, {out}); in CreateModel()
18 {roi, bboxDeltas, batchSplit, imageInfo}, in CreateModel()
37 auto imageInfo = model->addOperand(&type3); in CreateModel_relaxed() local
40 …tion(ANEURALNETWORKS_AXIS_ALIGNED_BBOX_TRANSFORM, {roi, bboxDeltas, batchSplit, imageInfo}, {out}); in CreateModel_relaxed()
43 {roi, bboxDeltas, batchSplit, imageInfo}, in CreateModel_relaxed()
64 auto imageInfo = model->addOperand(&type6); in CreateModel_float16() local
67 …tion(ANEURALNETWORKS_AXIS_ALIGNED_BBOX_TRANSFORM, {roi, bboxDeltas, batchSplit, imageInfo}, {out}); in CreateModel_float16()
70 {roi, bboxDeltas, batchSplit, imageInfo}, in CreateModel_float16()
90 auto imageInfo = model->addOperand(&type9); in CreateModel_quant8() local
[all …]
Dgenerate_proposals.model.cpp18 auto imageInfo = model->addOperand(&type4); in CreateModel_nhwc() local
44 …model->addOperation(ANEURALNETWORKS_GENERATE_PROPOSALS, {scores, bboxDeltas, anchors, imageInfo, p… in CreateModel_nhwc()
47 {scores, bboxDeltas, anchors, imageInfo}, in CreateModel_nhwc()
72 auto imageInfo = model->addOperand(&type4); in CreateModel_nhwc_relaxed() local
98 …model->addOperation(ANEURALNETWORKS_GENERATE_PROPOSALS, {scores, bboxDeltas, anchors, imageInfo, p… in CreateModel_nhwc_relaxed()
101 {scores, bboxDeltas, anchors, imageInfo}, in CreateModel_nhwc_relaxed()
128 auto imageInfo = model->addOperand(&type18); in CreateModel_nhwc_quant8() local
154 …model->addOperation(ANEURALNETWORKS_GENERATE_PROPOSALS, {scores, bboxDeltas, anchors, imageInfo, p… in CreateModel_nhwc_quant8()
157 {scores, bboxDeltas, anchors, imageInfo}, in CreateModel_nhwc_quant8()
182 auto imageInfo = model->addOperand(&type24); in CreateModel_nhwc_float16() local
[all …]
Dbbox_graph.model.cpp25 auto imageInfo = model->addOperand(&type4); in CreateModel_zero_sized() local
114 …model->addOperation(ANEURALNETWORKS_GENERATE_PROPOSALS, {scores, deltas, anchors, imageInfo, param… in CreateModel_zero_sized()
118 …model->addOperation(ANEURALNETWORKS_AXIS_ALIGNED_BBOX_TRANSFORM, {roi, delta, batches, imageInfo},… in CreateModel_zero_sized()
122 {scores, deltas, anchors, imageInfo, featureMap}, in CreateModel_zero_sized()
154 auto imageInfo = model->addOperand(&type4); in CreateModel_zero_sized_relaxed() local
243 …model->addOperation(ANEURALNETWORKS_GENERATE_PROPOSALS, {scores, deltas, anchors, imageInfo, param… in CreateModel_zero_sized_relaxed()
247 …model->addOperation(ANEURALNETWORKS_AXIS_ALIGNED_BBOX_TRANSFORM, {roi, delta, batches, imageInfo},… in CreateModel_zero_sized_relaxed()
251 {scores, deltas, anchors, imageInfo, featureMap}, in CreateModel_zero_sized_relaxed()
285 auto imageInfo = model->addOperand(&type23); in CreateModel_zero_sized_float16() local
374 …model->addOperation(ANEURALNETWORKS_GENERATE_PROPOSALS, {scores, deltas, anchors, imageInfo, param… in CreateModel_zero_sized_float16()
[all …]
/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.cpp1357 MediaImage2* imageInfo = reinterpret_cast<MediaImage2*>(imageData->data()); in copyOneYuvTile() local
1358 if (imageInfo->mType != MediaImage2::MEDIA_IMAGE_TYPE_YUV || in copyOneYuvTile()
1359 imageInfo->mBitDepth != 8 || in copyOneYuvTile()
1360 imageInfo->mBitDepthAllocated != 8 || in copyOneYuvTile()
1361 imageInfo->mNumPlanes != 3) { in copyOneYuvTile()
1364 imageInfo->mType, imageInfo->mBitDepth, in copyOneYuvTile()
1365 imageInfo->mBitDepthAllocated, imageInfo->mNumPlanes); in copyOneYuvTile()
1372 __FUNCTION__, imageInfo->mPlane[MediaImage2::U].mOffset, in copyOneYuvTile()
1373 imageInfo->mPlane[MediaImage2::V].mOffset, in copyOneYuvTile()
1374 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()