Home
last modified time | relevance | path

Searched refs:tu_size (Results 1 – 6 of 6) sorted by relevance

/external/libaom/libaom/common/
Dobudec.c381 size_t tu_size; in obudec_read_temporal_unit() local
413 tu_size = (size_t)size; in obudec_read_temporal_unit()
427 tu_size = obu_ctx->bytes_buffered; in obudec_read_temporal_unit()
436 if (tu_size > AOM_MAX_ALLOCABLE_MEMORY) { in obudec_read_temporal_unit()
441 if (tu_size > 0) { in obudec_read_temporal_unit()
442 uint8_t *new_buffer = (uint8_t *)realloc(*buffer, tu_size); in obudec_read_temporal_unit()
450 *bytes_read = tu_size; in obudec_read_temporal_unit()
451 *buffer_size = tu_size; in obudec_read_temporal_unit()
454 memcpy(*buffer, obu_ctx->buffer, tu_size); in obudec_read_temporal_unit()
466 data_size = tu_size - length_of_temporal_unit_size; in obudec_read_temporal_unit()
[all …]
/external/libhevc/decoder/
Dihevcd_boundary_strength.c297 WORD32 tu_size; in ihevcd_ctb_boundary_strength_islice() local
307 tu_size = 1 << (ps_tu->b3_size + 2); in ihevcd_ctb_boundary_strength_islice()
308 tu_size >>= 2; /* TU size divided by 4 */ in ihevcd_ctb_boundary_strength_islice()
310 u4_bs = DUP_LSB_10(tu_size); in ihevcd_ctb_boundary_strength_islice()
345 for(row = start_pos_y; row < start_pos_y + tu_size; row += 2) in ihevcd_ctb_boundary_strength_islice()
347 for(col = start_pos_x; col < start_pos_x + tu_size; col += 2) in ihevcd_ctb_boundary_strength_islice()
565 WORD32 tu_size; in ihevcd_ctb_boundary_strength_pbslice() local
575 tu_size = 1 << (ps_tu->b3_size + 2); in ihevcd_ctb_boundary_strength_pbslice()
576 tu_size >>= 2; in ihevcd_ctb_boundary_strength_pbslice()
578 end_pos_x = start_pos_x + tu_size; in ihevcd_ctb_boundary_strength_pbslice()
[all …]
Dihevcd_parse_slice.c2950 WORD32 tu_size; in ihevcd_parse_slice_data() local
2956 tu_size = 1 << (ps_tu->b3_size + 2); in ihevcd_parse_slice_data()
2957 tu_size >>= 2; /* TU size divided by 4 */ in ihevcd_parse_slice_data()
2962 for(row = start_pos_y; row < start_pos_y + tu_size; row += 2) in ihevcd_parse_slice_data()
2964 for(col = start_pos_x; col < start_pos_x + tu_size; col += 2) in ihevcd_parse_slice_data()
/external/libhevc/encoder/
Dihevce_cabac_tu.c416 WORD32 tu_size = 4 << ps_enc_tu->s_tu.b3_size; in ihevce_encode_transform_tree() local
455 ASSERT((tu_size >= 4) && (tu_size <= (1 << log2_tr_size))); in ihevce_encode_transform_tree()
465 split_tr_flag = tu_size < (1 << log2_tr_size); in ihevce_encode_transform_tree()
786 if(32 == tu_size) in ihevce_encode_transform_tree()
792 ps_entropy_ctxt->ps_pic_level_info->i8_total_tu_based_on_size[tu_size >> 3]++; in ihevce_encode_transform_tree()
800 ASSERT(tu_size == (1 << log2_tr_size)); in ihevce_encode_transform_tree()
Dihevce_enc_loop_utils.c163 WORD32 tu_size = ps_tu_prms->u1_tu_size; in ihevce_tu_tree_update() local
165 if(((tu_size >> depth) >= 16) && (tu_split_flag & 0x1)) in ihevce_tu_tree_update()
167 if((tu_size >> depth) == 32) in ihevce_tu_tree_update()
211 (i4_x_off + (tu_size >> (depth + 1))), in ihevce_tu_tree_update()
221 (i4_y_off + (tu_size >> (depth + 1)))); in ihevce_tu_tree_update()
229 (i4_x_off + (tu_size >> (depth + 1))), in ihevce_tu_tree_update()
230 (i4_y_off + (tu_size >> (depth + 1)))); in ihevce_tu_tree_update()
242 ps_tu_prms->u1_tu_size = tu_size >> (depth + 1); in ihevce_tu_tree_update()
254 ps_tu_prms->u1_tu_size = tu_size >> (depth + 1); in ihevce_tu_tree_update()
256 ps_tu_prms->u1_x_off = i4_x_off + (tu_size >> (depth + 1)); in ihevce_tu_tree_update()
[all …]
/external/libaom/libaom/av1/
Dav1_cx_iface.c2258 size_t tu_size = ctx->pending_cx_data_sz; in encoder_encode() local
2259 const size_t length_field_size = aom_uleb_size_in_bytes(tu_size); in encoder_encode()
2263 tu_size); in encoder_encode()
2265 if (av1_write_uleb_obu_size(0, (uint32_t)tu_size, in encoder_encode()