Home
last modified time | relevance | path

Searched refs:w_align (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dutils.c144 int w_align = 1; in avcodec_align_dimensions2() local
149 w_align = 1 << desc->log2_chroma_w; in avcodec_align_dimensions2()
243 w_align = 16; //FIXME assume 16 pixel per macroblock in avcodec_align_dimensions2()
246 w_align = 16*2; in avcodec_align_dimensions2()
251 w_align = 32; in avcodec_align_dimensions2()
256 w_align = 64; in avcodec_align_dimensions2()
262 w_align = 4; in avcodec_align_dimensions2()
266 w_align = 8; in avcodec_align_dimensions2()
275 w_align = 4; in avcodec_align_dimensions2()
281 w_align = 8; in avcodec_align_dimensions2()
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_transfer.c295 unsigned w_align, h_align; in etna_transfer_map() local
298 w_align = 64; in etna_transfer_map()
301 w_align = ETNA_RS_WIDTH_MASK + 1; in etna_transfer_map()
305 ptrans->box.width += ptrans->box.x & (w_align - 1); in etna_transfer_map()
306 ptrans->box.x = ptrans->box.x & ~(w_align - 1); in etna_transfer_map()
Detnaviv_rs.c551 unsigned int h_align, w_align; in etna_get_rs_alignment_mask() local
554 w_align = 64; in etna_get_rs_alignment_mask()
557 w_align = ETNA_RS_WIDTH_MASK + 1; in etna_get_rs_alignment_mask()
561 *width_mask = w_align - 1; in etna_get_rs_alignment_mask()
689 unsigned int w_align = ETNA_RS_WIDTH_MASK + 1; in etna_try_rs_blit() local
692 if (width & (w_align - 1) && width >= src_lev->width * msaa_xscale && width >= dst_lev->width) in etna_try_rs_blit()
693 width = align(width, w_align); in etna_try_rs_blit()
703 width & (w_align - 1) || height & (h_align - 1)) in etna_try_rs_blit()
/third_party/mesa3d/src/amd/common/
Dac_surface_modifier_test.c53 unsigned w_align = 1 << (align_bits / 2 + align_bits % 2); in block_count() local
56 w = align(w, w_align); in block_count()