Home
last modified time | relevance | path

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

12

/external/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()
93 ybf->y_width = aligned_width; in vp8_yv12_realloc_frame_buffer()
173 const int aligned_width = (width + 7) & ~7; in vpx_realloc_frame_buffer() local
175 const int y_stride = ((aligned_width + 2 * border) + 31) & ~31; in vpx_realloc_frame_buffer()
178 const int uv_width = aligned_width >> ss_x; in vpx_realloc_frame_buffer()
250 ybf->y_width = aligned_width; in vpx_realloc_frame_buffer()
/external/libaom/aom_scale/generic/
Dyv12config.c63 const uint64_t uvplane_size, const int aligned_width, in realloc_frame_buffer_aligned() argument
145 ybf->y_width = aligned_width; in realloc_frame_buffer_aligned()
210 const int ss_x, const int ss_y, const int aligned_width, in calc_stride_and_planesize() argument
220 *y_stride = aom_calc_y_stride(aligned_width, border); in calc_stride_and_planesize()
247 const int aligned_width = (width + 7) & ~7; in aom_realloc_frame_buffer() local
249 const int uv_width = aligned_width >> ss_x; in aom_realloc_frame_buffer()
255 ss_x, ss_y, aligned_width, aligned_height, border, byte_alignment, in aom_realloc_frame_buffer()
262 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/intel-media-driver/media_driver/linux/common/ddi/
Dmedia_libva_common.cpp262 uint32_t aligned_width, aligned_height; in DdiMedia_ReplaceSurfaceWithVariant() local
295 aligned_width = MOS_ALIGN_CEIL(surface->iWidth, 128); in DdiMedia_ReplaceSurfaceWithVariant()
299 aligned_width = MOS_ALIGN_CEIL(surface->iWidth, 64); in DdiMedia_ReplaceSurfaceWithVariant()
307 aligned_width = (surface->iWidth + 1) >> 1; in DdiMedia_ReplaceSurfaceWithVariant()
312 aligned_width = (surface->iWidth + 1) >> 1; in DdiMedia_ReplaceSurfaceWithVariant()
319 aligned_width = surface->iWidth; in DdiMedia_ReplaceSurfaceWithVariant()
322 aligned_width = surface->iWidth * 2; in DdiMedia_ReplaceSurfaceWithVariant()
342 dstSurface->iWidth = aligned_width; in DdiMedia_ReplaceSurfaceWithVariant()
/external/minigbm/
Ddrv_helpers.c341 uint32_t aligned_width, aligned_height; in drv_dumb_bo_create_ex() local
344 aligned_width = width; in drv_dumb_bo_create_ex()
350 aligned_width = ALIGN(width, 16); in drv_dumb_bo_create_ex()
360 aligned_width = ALIGN(width, 32); in drv_dumb_bo_create_ex()
377 aligned_width = in drv_dumb_bo_create_ex()
378 DIV_ROUND_UP(aligned_width * layout_from_format(format)->bytes_per_pixel[0], 4); in drv_dumb_bo_create_ex()
382 aligned_width = ALIGN(aligned_width, MESA_LLVMPIPE_TILE_SIZE); in drv_dumb_bo_create_ex()
386 create_dumb.width = aligned_width; in drv_dumb_bo_create_ex()
Drockchip.c135 uint32_t aligned_width = w_mbs * 16; in rockchip_bo_create_with_modifiers() local
138 drv_bo_from_format(bo, aligned_width, 1, aligned_height, format); in rockchip_bo_create_with_modifiers()
/external/libaom/aom_scale/
Dyv12config.h215 static inline int aom_calc_y_stride(int aligned_width, int border) { in aom_calc_y_stride() argument
216 return ((aligned_width + 2 * border) + 31) & ~31; in aom_calc_y_stride()
/external/libwebm/common/
Dvp9_header_parser.cc224 const int aligned_width = AlignPowerOfTwo(width_, kMiSizeLog2); in ParseTileInfo() local
225 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/mesa3d/src/intel/isl/tests/
Disl_surf_get_image_offset_test.c106 uint32_t aligned_width, in t_assert_gfx4_3d_layer() argument
115 aligned_width * (z % horiz_layers), in t_assert_gfx4_3d_layer()
/external/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/libva-utils/vendor/intel/sfcsample/
DVDecAccelVA.cpp155 uint32_t aligned_width = m_DecodeDesc.width; in Open() local
166 aligned_width, in Open()
189 aligned_width, in Open()
/external/libultrahdr/lib/src/
Dultrahdr_api.cpp53 int aligned_width = ALIGNM(w_, align_stride_to); in uhdr_raw_image_ext() local
66 size_t plane_1_sz = bpp * aligned_width * h_; in uhdr_raw_image_ext()
70 plane_2_sz = (2 /* planes */ * bpp * (aligned_width / 2) * (h_ / 2)); in uhdr_raw_image_ext()
73 plane_2_sz = bpp * aligned_width * h_; in uhdr_raw_image_ext()
74 plane_3_sz = bpp * aligned_width * h_; in uhdr_raw_image_ext()
76 plane_2_sz = (bpp * (aligned_width / 2) * (h_ / 2)); in uhdr_raw_image_ext()
77 plane_3_sz = (bpp * (aligned_width / 2) * (h_ / 2)); in uhdr_raw_image_ext()
87 this->stride[UHDR_PLANE_Y] = aligned_width; in uhdr_raw_image_ext()
90 this->stride[UHDR_PLANE_UV] = aligned_width; in uhdr_raw_image_ext()
95 this->stride[UHDR_PLANE_U] = aligned_width; in uhdr_raw_image_ext()
[all …]
/external/mesa3d/src/gallium/drivers/lima/
Dlima_resource.c123 unsigned aligned_width; in setup_miptree() local
127 aligned_width = align(width, 16); in setup_miptree()
130 aligned_width = width; in setup_miptree()
134 stride = util_format_get_stride(pres->format, aligned_width); in setup_miptree()
/external/libaom/av1/decoder/
Ddecoder.c54 const int aligned_width = ALIGN_POWER_OF_TWO(width, 3); in dec_set_mb_mi() local
57 mi_params->mi_cols = aligned_width >> MI_SIZE_LOG2; in dec_set_mb_mi()
/external/libaom/av1/common/
Dav1_common_int.h1592 const int aligned_width = in av1_zero_above_context() local
1595 const int width_y = aligned_width; in av1_zero_above_context()
1615 aligned_width); in av1_zero_above_context()
1618 tx_size_wide[TX_SIZES_LARGEST], aligned_width * sizeof(TXFM_CONTEXT)); in av1_zero_above_context()
Dalloccommon.c30 const int aligned_width = ALIGN_POWER_OF_TWO(width, 3); in av1_get_MBs() local
32 const int mi_cols = aligned_width >> MI_SIZE_LOG2; in av1_get_MBs()
Dresize.c1329 const int aligned_width = ALIGN_POWER_OF_TWO(cm->width, 3); in av1_superres_upscale() local
1331 &copy_buffer, aligned_width, cm->height, seq_params->subsampling_x, in av1_superres_upscale()
1341 assert(copy_buffer.y_crop_width == aligned_width); in av1_superres_upscale()
/external/intel-media-driver/media_softlet/agnostic/Xe_M_plus/Xe_LPM_plus_base/codec/hal/enc/vp9/packet/
Dencode_vp9_vdenc_packet_xe_lpm_plus_base.cpp140 uint32_t aligned_width = MOS_ALIGN_CEIL(m_basicFeature->m_frameWidth, 64); in AllocateResources() local
142 uint32_t num_lcu = (aligned_width * aligned_height) / (64 * 64); in AllocateResources()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dradeon_uvd_enc.c84 uint32_t aligned_width = align(enc->base.width, 64); in setup_dpb() local
86 uint32_t pitch = align(aligned_width, alignment); in setup_dpb()
Dradeon_vcn_enc.c1195 uint32_t aligned_width = align(enc->base.width, rec_alignment); in pre_encode_size() local
1199 uint32_t pre_size = DIV_ROUND_UP((aligned_width >> 2), rec_alignment) * in pre_encode_size()
1201 uint32_t full_size = DIV_ROUND_UP(aligned_width, rec_alignment) * in pre_encode_size()
1219 uint32_t aligned_width = align(enc->base.width, rec_alignment); in setup_dpb() local
1221 uint32_t pitch = align(aligned_width, enc->alignment); in setup_dpb()
1227 uint32_t total_coloc_bytes = (align((aligned_width / 16), 64) / 2) in setup_dpb()
/external/libvpx/vp9/encoder/
Dvp9_ethread.c63 const int aligned_width = ALIGN_POWER_OF_TWO(cpi->oxcf.width, MI_SIZE_LOG2); in get_max_tile_cols() local
64 int mi_cols = aligned_width >> MI_SIZE_LOG2; in get_max_tile_cols()
/external/intel-media-driver/media_driver/agnostic/Xe_M/Xe_HPM/codec/hal/
Dcodechal_vdenc_vp9_xe_hpm.cpp600 uint32_t aligned_width = MOS_ALIGN_CEIL(m_frameWidth, 64); in AllocateResources() local
602 uint32_t num_lcu = (aligned_width * aligned_height) / (64 * 64); in AllocateResources()
/external/libvpx/
Dvpxenc.c1594 unsigned int aligned_width = (stream->config.cfg.g_w + 15u) & ~15u; in test_decode() local
1597 vpx_img_alloc(&ref_enc.img, VPX_IMG_FMT_I420, aligned_width, aligned_height, in test_decode()
1600 vpx_img_alloc(&ref_dec.img, VPX_IMG_FMT_I420, aligned_width, aligned_height, in test_decode()
/external/webrtc/sdk/objc/components/video_codec/
DRTCVideoEncoderH264.mm367 uint32_t aligned_width = (((_width + 15) >> 4) << 4);
370 (aligned_width * aligned_height));

12