Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vpx_scale/generic/
Dyv12config.c53 int aligned_width = (width + 15) & ~15; in vp8_yv12_realloc_frame_buffer() local
55 int y_stride = ((aligned_width + 2 * border) + 31) & ~31; in vp8_yv12_realloc_frame_buffer()
57 int uv_width = aligned_width >> 1; in vp8_yv12_realloc_frame_buffer()
89 ybf->y_width = aligned_width; in vp8_yv12_realloc_frame_buffer()
169 const int aligned_width = (width + 7) & ~7; in vpx_realloc_frame_buffer() local
171 const int y_stride = ((aligned_width + 2 * border) + 31) & ~31; in vpx_realloc_frame_buffer()
174 const int uv_width = aligned_width >> ss_x; in vpx_realloc_frame_buffer()
246 ybf->y_width = aligned_width; in vpx_realloc_frame_buffer()
/external/libaom/libaom/aom_scale/generic/
Dyv12config.c51 const uint64_t uvplane_size, const int aligned_width, in realloc_frame_buffer_aligned() argument
120 ybf->y_width = aligned_width; in realloc_frame_buffer_aligned()
175 const int aligned_width, in calc_stride_and_planesize() argument
187 *y_stride = ((aligned_width + 2 * border) + 31) & ~31; in calc_stride_and_planesize()
212 const int aligned_width = (width + 7) & ~7; in aom_realloc_frame_buffer() local
214 const int uv_width = aligned_width >> ss_x; in aom_realloc_frame_buffer()
220 ss_x, ss_y, aligned_width, aligned_height, border, byte_alignment, in aom_realloc_frame_buffer()
226 aligned_width, aligned_height, uv_width, uv_height, uv_stride, in aom_realloc_frame_buffer()
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c154 uint32_t aligned_width, aligned_height, stride, size; in vc4_check_tex_size() local
172 aligned_width = round_up(width, utile_w); in vc4_check_tex_size()
176 aligned_width = round_up(width, utile_w * 8); in vc4_check_tex_size()
180 aligned_width = round_up(width, utile_w); in vc4_check_tex_size()
188 stride = aligned_width * cpp; in vc4_check_tex_size()
195 aligned_width, aligned_height, in vc4_check_tex_size()
682 uint32_t aligned_width, aligned_height; in reloc_tex() local
693 aligned_width = round_up(level_width, utile_w * 8); in reloc_tex()
697 aligned_width = round_up(level_width, utile_w); in reloc_tex()
701 aligned_width = round_up(level_width, utile_w); in reloc_tex()
[all …]
/external/mesa3d/src/panfrost/lib/
Dpan_afbc.c113 unsigned aligned_width = ALIGN_POT(width, AFBC_TILE_WIDTH); in panfrost_afbc_header_size() local
117 unsigned tile_count_x = aligned_width / AFBC_TILE_WIDTH; in panfrost_afbc_header_size()
Dpan_tiler.c231 unsigned aligned_width = ALIGN_POT(width, tile_width); in pan_tile_count() local
234 unsigned tile_count_x = aligned_width / tile_width; in pan_tile_count()
Dpan_texture.c501 unsigned aligned_width = ALIGN_POT(width, CHECKSUM_TILE_WIDTH); in panfrost_compute_checksum_size() local
504 unsigned tile_count_x = aligned_width / CHECKSUM_TILE_WIDTH; in panfrost_compute_checksum_size()
/external/minigbm/
Dhelpers.c315 uint32_t aligned_width, aligned_height; in drv_dumb_bo_create_ex() local
318 aligned_width = width; in drv_dumb_bo_create_ex()
324 aligned_width = ALIGN(width, 16); in drv_dumb_bo_create_ex()
334 aligned_width = ALIGN(width, 32); in drv_dumb_bo_create_ex()
351 aligned_width = in drv_dumb_bo_create_ex()
352 DIV_ROUND_UP(aligned_width * layout_from_format(format)->bytes_per_pixel[0], 4); in drv_dumb_bo_create_ex()
357 create_dumb.width = aligned_width; in drv_dumb_bo_create_ex()
Drockchip.c121 uint32_t aligned_width = w_mbs * 16; in rockchip_bo_create_with_modifiers() local
124 drv_bo_from_format(bo, aligned_width, aligned_height, format); in rockchip_bo_create_with_modifiers()
/external/libwebm/common/
Dvp9_header_parser.cc221 const int aligned_width = AlignPowerOfTwo(width_, kMiSizeLog2); in ParseTileInfo() local
222 const int mi_cols = aligned_width >> kMiSizeLog2; in ParseTileInfo()
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dfilterbank_util.c147 const int aligned_width = (chan_freq_index_start - aligned_start + width); in FilterbankPopulateState() local
149 (((aligned_width - 1) / kFilterbankChannelBlockSize) + 1) * in FilterbankPopulateState()
/external/libvpx/libvpx/vp9/common/
Dvp9_alloccommon.c22 const int aligned_width = ALIGN_POWER_OF_TWO(width, MI_SIZE_LOG2); in vp9_set_mi_size() local
24 *mi_cols = aligned_width >> MI_SIZE_LOG2; in vp9_set_mi_size()
/external/mesa3d/src/intel/isl/tests/
Disl_surf_get_image_offset_test.c106 uint32_t aligned_width, in t_assert_gen4_3d_layer() argument
115 aligned_width * (z % horiz_layers), in t_assert_gen4_3d_layer()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_resource.c103 unsigned aligned_width; in setup_miptree() local
107 aligned_width = align(width, 16); in setup_miptree()
110 aligned_width = width; in setup_miptree()
114 stride = util_format_get_stride(pres->format, aligned_width); in setup_miptree()
119 res->levels[level].width = aligned_width; in setup_miptree()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_vcn_enc_2_0.c302 uint32_t aligned_width = enc->enc_pic.session_init.aligned_picture_width; in radeon_enc_ctx() local
305 enc->enc_pic.ctx_buf.rec_luma_pitch = align(aligned_width, enc->alignment); in radeon_enc_ctx()
306 enc->enc_pic.ctx_buf.rec_chroma_pitch = align(aligned_width, enc->alignment); in radeon_enc_ctx()
/external/libaom/libaom/av1/common/
Dalloccommon.c24 const int aligned_width = ALIGN_POWER_OF_TWO(width, 3); in av1_get_MBs() local
26 const int mi_cols = aligned_width >> MI_SIZE_LOG2; in av1_get_MBs()
Dav1_common_int.h1255 const int aligned_width = in av1_zero_above_context() local
1258 const int width_y = aligned_width; in av1_zero_above_context()
1278 aligned_width); in av1_zero_above_context()
1281 tx_size_wide[TX_SIZES_LARGEST], aligned_width * sizeof(TXFM_CONTEXT)); in av1_zero_above_context()
Dresize.c1381 const int aligned_width = ALIGN_POWER_OF_TWO(cm->width, 3); in av1_superres_upscale() local
1383 &copy_buffer, aligned_width, cm->height, seq_params->subsampling_x, in av1_superres_upscale()
1393 assert(copy_buffer.y_crop_width == aligned_width); in av1_superres_upscale()
/external/libaom/libaom/av1/decoder/
Ddecoder.c55 const int aligned_width = ALIGN_POWER_OF_TWO(width, 3); in dec_set_mb_mi() local
58 mi_params->mi_cols = aligned_width >> MI_SIZE_LOG2; in dec_set_mb_mi()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ethread.c60 const int aligned_width = ALIGN_POWER_OF_TWO(cpi->oxcf.width, MI_SIZE_LOG2); in get_max_tile_cols() local
61 int mi_cols = aligned_width >> MI_SIZE_LOG2; in get_max_tile_cols()
Dvp9_ratectrl.c2956 const int aligned_width = ALIGN_POWER_OF_TWO(src_width, MI_SIZE_LOG2); in vp9_scene_detection_onepass() local
2958 num_mi_cols = aligned_width >> MI_SIZE_LOG2; in vp9_scene_detection_onepass()
/external/webrtc/sdk/objc/components/video_codec/
DRTCVideoEncoderH264.mm368 uint32_t aligned_width = (((_width + 15) >> 4) << 4);
371 (aligned_width * aligned_height));
/external/libaom/libaom/av1/encoder/
Dencoder.c649 const int aligned_width = ALIGN_POWER_OF_TWO(width, 3); in set_mb_mi() local
652 mi_params->mi_cols = aligned_width >> MI_SIZE_LOG2; in set_mb_mi()