Searched refs:newImageBuffer (Results 1 – 3 of 3) sorted by relevance
266 unsigned char * newImageBuffer = NULL; in upload_yv12_frame_to_yuv_surface() local279 newImageBuffer = (unsigned char*)malloc(frame_size); in upload_yv12_frame_to_yuv_surface()281 n_items = fread(newImageBuffer, frame_size, 1, fp); in upload_yv12_frame_to_yuv_surface()284 y_src = newImageBuffer; in upload_yv12_frame_to_yuv_surface()285 v_src = newImageBuffer + surface_image.width * surface_image.height; in upload_yv12_frame_to_yuv_surface()286 u_src = newImageBuffer + surface_image.width * surface_image.height * 5 / 4; in upload_yv12_frame_to_yuv_surface()344 if (newImageBuffer){ in upload_yv12_frame_to_yuv_surface()345 free(newImageBuffer); in upload_yv12_frame_to_yuv_surface()346 newImageBuffer = NULL; in upload_yv12_frame_to_yuv_surface()368 unsigned char * newImageBuffer = NULL; in store_yuv_surface_to_yv12_frame() local[all …]
1947 static unsigned char *newImageBuffer = 0; variable2108 newImageBuffer = (unsigned char *)malloc(frame_size); in alloc_encode_resource()2125 free(newImageBuffer); in release_encode_resource()2171 n_items = fread(newImageBuffer, frame_size, 1, yuv_fp); in upload_yuv_to_surface()2180 y_src = newImageBuffer; in upload_yuv_to_surface()2181 u_src = newImageBuffer + y_size; /* UV offset for NV12 */ in upload_yuv_to_surface()2182 v_src = newImageBuffer + y_size + u_size; in upload_yuv_to_surface()
84 static unsigned char *newImageBuffer = 0; variable264 newImageBuffer = (unsigned char *)malloc(frame_size); in alloc_encode_resource()279 free(newImageBuffer); in release_encode_resource()367 n_items = fread(newImageBuffer, frame_size, 1, yuv_fp); in upload_yuv_to_surface()376 y_src = newImageBuffer; in upload_yuv_to_surface()377 u_src = newImageBuffer + y_size; /* UV offset for NV12 */ in upload_yuv_to_surface()378 v_src = newImageBuffer + y_size + u_size; in upload_yuv_to_surface()