Home
last modified time | relevance | path

Searched refs:aligned_width (Results 1 – 8 of 8) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/generic/
Dyv12config.c52 int aligned_width = (width + 15) & ~15; in vp8_yv12_realloc_frame_buffer() local
54 int y_stride = ((aligned_width + 2 * border) + 31) & ~31; in vp8_yv12_realloc_frame_buffer()
56 int uv_width = aligned_width >> 1; in vp8_yv12_realloc_frame_buffer()
82 ybf->y_width = aligned_width; in vp8_yv12_realloc_frame_buffer()
144 const int aligned_width = (width + 7) & ~7; in vp9_realloc_frame_buffer() local
147 int y_stride = ((aligned_width + 2 * border) + 31) & ~31; in vp9_realloc_frame_buffer()
150 const int uv_width = aligned_width >> ss_x; in vp9_realloc_frame_buffer()
157 const int alpha_width = aligned_width; in vp9_realloc_frame_buffer()
245 ybf->y_width = aligned_width; in vp9_realloc_frame_buffer()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_alloccommon.c31 static void set_mb_mi(VP9_COMMON *cm, int aligned_width, int aligned_height) { in set_mb_mi() argument
32 cm->mi_cols = aligned_width >> MI_SIZE_LOG2; in set_mb_mi()
117 const int aligned_width = ALIGN_POWER_OF_TWO(width, MI_SIZE_LOG2); in vp9_resize_frame_buffers() local
126 set_mb_mi(cm, aligned_width, aligned_height); in vp9_resize_frame_buffers()
163 const int aligned_width = ALIGN_POWER_OF_TWO(width, MI_SIZE_LOG2); in vp9_alloc_frame_buffers() local
190 set_mb_mi(cm, aligned_width, aligned_height); in vp9_alloc_frame_buffers()
228 const int aligned_width = ALIGN_POWER_OF_TWO(cm->width, MI_SIZE_LOG2); in vp9_update_frame_size() local
231 set_mb_mi(cm, aligned_width, aligned_height); in vp9_update_frame_size()
/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_surfacetexture.cpp749 int aligned_width, aligned_height; in setInput() local
756 aligned_width = bufinfo.crop.right - bufinfo.crop.left; in setInput()
758 aligned_width = ALIGN_UP(bufinfo.crop.right - bufinfo.crop.left, ALIGN_WIDTH); in setInput()
761 printf("aligned width: %d height: %d \n", aligned_width, aligned_height); in setInput()
774 aligned_width, aligned_height, bufinfo.format); in setInput()
780 if ((aligned_width != bufinfo.width) || (aligned_height != bufinfo.height) || in setInput()
785 Rect bounds(aligned_width, aligned_height); in setInput()
808 aligned_width, in setInput()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit_c2d.cpp446 int aligned_width = 0, size = 0; in calculate_yuv_offset_and_stride() local
454 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride()
455 size = aligned_width * aligned_height; in calculate_yuv_offset_and_stride()
457 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
458 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride()
464 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride()
465 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
466 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride()
469 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride()
471 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride()
[all …]
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit_c2d.cpp456 int aligned_width = 0, size = 0; in calculate_yuv_offset_and_stride() local
464 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride()
465 size = aligned_width * aligned_height; in calculate_yuv_offset_and_stride()
467 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
468 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride()
474 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride()
475 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
476 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride()
479 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride()
481 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride()
[all …]
/hardware/qcom/display/msm8974/libcopybit/
Dcopybit_c2d.cpp457 int aligned_width = 0, size = 0; in calculate_yuv_offset_and_stride() local
465 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride()
466 size = aligned_width * aligned_height; in calculate_yuv_offset_and_stride()
468 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
469 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride()
475 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride()
476 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
477 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride()
480 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride()
482 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride()
[all …]
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit_c2d.cpp462 int aligned_width = 0, size = 0; in calculate_yuv_offset_and_stride() local
470 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride()
471 size = aligned_width * aligned_height; in calculate_yuv_offset_and_stride()
473 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
474 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride()
480 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride()
481 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
482 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride()
485 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride()
487 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride()
[all …]
/hardware/qcom/display/msm8994/libcopybit/
Dcopybit_c2d.cpp465 int aligned_width = 0, size = 0; in calculate_yuv_offset_and_stride() local
473 aligned_width = ALIGN(width, 128); in calculate_yuv_offset_and_stride()
474 size = aligned_width * aligned_height; in calculate_yuv_offset_and_stride()
476 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
477 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride()
483 aligned_width = ALIGN(width, 32); in calculate_yuv_offset_and_stride()
484 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
485 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride()
488 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride()
490 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride()
[all …]