Searched refs:image_ref (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/talk/media/devices/ |
D | carbonvideorenderer.cc | 83 CGImageRef image_ref = CGImageCreate(width, height, 8, 32, width * 4, in DrawFrame() local 88 if (image_ref == NULL) { in DrawFrame() 94 CGImageRelease(image_ref); in DrawFrame() 102 int y = window_bounds.bottom - CGImageGetHeight(image_ref); in DrawFrame() 103 CGRect dst_rect = CGRectMake(x, y, CGImageGetWidth(image_ref), in DrawFrame() 104 CGImageGetHeight(image_ref)); in DrawFrame() 105 CGContextDrawImage(context, dst_rect, image_ref); in DrawFrame() 108 CGImageRelease(image_ref); in DrawFrame()
|
/external/tensorflow/tensorflow/examples/multibox_detector/ |
D | main.cc | 238 tensorflow::TTypes<uint8>::Flat image_ref = *image; in DrawBox() local 249 image_ref((top * image_width + x) * 3 + i) = val; in DrawBox() 250 image_ref((bottom * image_width + x) * 3 + i) = val; in DrawBox() 253 image_ref((y * image_width + left) * 3 + i) = val; in DrawBox() 254 image_ref((y * image_width + right) * 3 + i) = val; in DrawBox()
|