Searched refs:imgBuf (Results 1 – 2 of 2) sorted by relevance
342 sp<ABuffer> imgBuf, imgBuf2; in TEST_P() local343 ASSERT_TRUE(ofmt->findBuffer("image-data", &imgBuf)); in TEST_P()345 EXPECT_EQ(imgBuf->size(), sizeof(MediaImage2)); in TEST_P()346 ASSERT_EQ(imgBuf->size(), imgBuf2->size()); in TEST_P()347 EXPECT_EQ(0, memcmp(imgBuf->data(), imgBuf2->data(), imgBuf->size())); in TEST_P()348 MediaImage2 *img = (MediaImage2*)imgBuf->data(); in TEST_P()
6253 QCameraHeapMemory *imgBuf = new QCameraHeapMemory(QCAMERA_ION_USE_CACHE); in registerFaceImage() local6254 if (imgBuf == NULL) { in registerFaceImage()6259 rc = imgBuf->allocate(1, config->input_buf_planes.plane_info.frame_len); in registerFaceImage()6262 delete imgBuf; in registerFaceImage()6266 void *pBufPtr = imgBuf->getPtr(0); in registerFaceImage()6269 imgBuf->deallocate(); in registerFaceImage()6270 delete imgBuf; in registerFaceImage()6275 imgBuf->cacheOps(0, ION_IOC_CLEAN_INV_CACHES); in registerFaceImage()6285 imgBuf->deallocate(); in registerFaceImage()6286 delete imgBuf; in registerFaceImage()[all …]