Lines Matching refs:tgt
273 NativeImage *tgt = getNativeImage(env, target); in Java_android_media_cts_CodecUtils_copyFlexYUVImage() local
275 if (tgt != NULL && src != NULL) { in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
278 tgt->width, tgt->height, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
279 tgt->crop.left, tgt->crop.top, tgt->crop.right, tgt->crop.bottom, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
280 tgt->plane[0].cropWidth, tgt->plane[0].cropHeight, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
281 tgt->plane[0].rowInc, tgt->plane[0].colInc, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
282 tgt->plane[1].rowInc, tgt->plane[1].colInc, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
283 tgt->plane[2].rowInc, tgt->plane[2].colInc, in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
290 for (size_t ix = 0; ix < tgt->numPlanes; ++ix) { in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
291 uint8_t *row = const_cast<uint8_t *>(tgt->plane[ix].buffer) + tgt->plane[ix].cropOffs; in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
292 for (size_t y = 0; y < tgt->plane[ix].cropHeight; ++y) { in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
294 ssize_t colInc = tgt->plane[ix].colInc; in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
297 for (size_t x = 0; x < tgt->plane[ix].cropWidth; ++x) { in Java_android_media_cts_CodecUtils_copyFlexYUVImage()
301 row += tgt->plane[ix].rowInc; in Java_android_media_cts_CodecUtils_copyFlexYUVImage()