/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_seg_common.c | 28 int vp9_segfeature_active(const struct segmentation *seg, int segment_id, in vp9_segfeature_active() argument 31 (seg->feature_mask[segment_id] & (1 << feature_id)); in vp9_segfeature_active() 39 void vp9_enable_segfeature(struct segmentation *seg, int segment_id, in vp9_enable_segfeature() argument 41 seg->feature_mask[segment_id] |= 1 << feature_id; in vp9_enable_segfeature() 52 void vp9_set_segdata(struct segmentation *seg, int segment_id, in vp9_set_segdata() argument 60 seg->feature_data[segment_id][feature_id] = seg_data; in vp9_set_segdata() 63 int vp9_get_segdata(const struct segmentation *seg, int segment_id, in vp9_get_segdata() argument 65 return seg->feature_data[segment_id][feature_id]; in vp9_get_segdata()
|
D | vp9_seg_common.h | 53 int segment_id, 59 int segment_id, 67 int segment_id, 72 int segment_id,
|
D | vp9_quant_common.c | 133 int vp9_get_qindex(const struct segmentation *seg, int segment_id, in vp9_get_qindex() argument 135 if (vp9_segfeature_active(seg, segment_id, SEG_LVL_ALT_Q)) { in vp9_get_qindex() 136 const int data = vp9_get_segdata(seg, segment_id, SEG_LVL_ALT_Q); in vp9_get_qindex()
|
D | vp9_pred_common.c | 376 int x, y, segment_id = INT_MAX; in vp9_get_segment_id() local 380 segment_id = MIN(segment_id, in vp9_get_segment_id() 383 assert(segment_id >= 0 && segment_id < MAX_SEGMENTS); in vp9_get_segment_id() 384 return segment_id; in vp9_get_segment_id()
|
D | vp9_quant_common.h | 30 int vp9_get_qindex(const struct segmentation *seg, int segment_id,
|
D | vp9_blockd.h | 128 uint8_t segment_id; member
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
D | vp9_decodemv.c | 88 int mi_row, int mi_col, int segment_id) { in set_segment_id() argument 96 assert(segment_id >= 0 && segment_id < MAX_SEGMENTS); in set_segment_id() 100 cm->last_frame_seg_map[mi_offset + y * cm->mi_cols + x] = segment_id; in set_segment_id() 108 int segment_id; in read_intra_segment_id() local 116 segment_id = read_segment_id(r, seg); in read_intra_segment_id() 117 set_segment_id(cm, bsize, mi_row, mi_col, segment_id); in read_intra_segment_id() 118 return segment_id; in read_intra_segment_id() 126 int predicted_segment_id, segment_id; in read_inter_segment_id() local 139 segment_id = mbmi->seg_id_predicted ? predicted_segment_id in read_inter_segment_id() 142 segment_id = read_segment_id(r, seg); in read_inter_segment_id() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_segmentation.c | 55 void vp9_disable_segfeature(struct segmentation *seg, int segment_id, in vp9_disable_segfeature() argument 57 seg->feature_mask[segment_id] &= ~(1 << feature_id); in vp9_disable_segfeature() 60 void vp9_clear_segdata(struct segmentation *seg, int segment_id, in vp9_clear_segdata() argument 62 seg->feature_data[segment_id][feature_id] = 0; in vp9_clear_segdata() 131 int segment_id; in count_segs() local 137 segment_id = xd->mi[0]->mbmi.segment_id; in count_segs() 142 no_pred_segcounts[segment_id]++; in count_segs() 150 const int pred_flag = pred_segment_id == segment_id; in count_segs() 160 t_unpred_seg_counts[segment_id]++; in count_segs()
|
D | vp9_segmentation.h | 26 int segment_id, 29 int segment_id,
|
D | vp9_aq_cyclicrefresh.c | 145 if (mbmi->segment_id > 0 && !refresh_this_block) in vp9_cyclic_refresh_update_segment() 146 mbmi->segment_id = 0; in vp9_cyclic_refresh_update_segment() 152 if (mbmi->segment_id == 1) { in vp9_cyclic_refresh_update_segment() 170 mbmi->segment_id; in vp9_cyclic_refresh_update_segment() 174 if (mbmi->segment_id) in vp9_cyclic_refresh_update_segment()
|
D | vp9_tokenize.c | 203 static INLINE int get_tx_eob(const struct segmentation *seg, int segment_id, in get_tx_eob() argument 206 return vp9_segfeature_active(seg, segment_id, SEG_LVL_SKIP) ? 0 : eob_max; in get_tx_eob() 225 const int segment_id = mbmi->segment_id; in tokenize_b() local 237 const int seg_eob = get_tx_eob(&cpi->common.seg, segment_id, tx_size); in tokenize_b() 315 const int skip_inc = !vp9_segfeature_active(&cm->seg, mbmi->segment_id, in vp9_tokenize_sb()
|
D | vp9_bitstream.c | 97 static int write_skip(const VP9_COMP *cpi, int segment_id, const MODE_INFO *mi, in write_skip() argument 100 if (vp9_segfeature_active(&cpi->common.seg, segment_id, SEG_LVL_SKIP)) { in write_skip() 186 int segment_id) { in write_segment_id() argument 188 vp9_write_tree(w, vp9_segment_tree, seg->tree_probs, segment_id, 3, 0); in write_segment_id() 197 const int segment_id = mbmi->segment_id; in write_ref_frames() local 201 if (vp9_segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME)) { in write_ref_frames() 204 vp9_get_segdata(&cm->seg, segment_id, SEG_LVL_REF_FRAME)); in write_ref_frames() 237 const int segment_id = mbmi->segment_id; in pack_inter_mode_mvs() local 250 write_segment_id(w, seg, segment_id); in pack_inter_mode_mvs() 252 write_segment_id(w, seg, segment_id); in pack_inter_mode_mvs() [all …]
|
D | vp9_pickmode.c | 232 unsigned char segment_id = mbmi->segment_id; in vp9_pick_inter_mode() local 233 const int *const rd_threshes = cpi->rd_threshes[segment_id][bsize]; in vp9_pick_inter_mode() 255 mbmi->segment_id = segment_id; in vp9_pick_inter_mode()
|
D | vp9_aq_variance.c | 30 static int segment_id[MAX_SEGMENTS] = { 5, 3, 1, 0, 2, 4, 6, 7 }; variable 34 #define SEGMENT_ID(i) segment_id[(i) - ENERGY_MIN]
|
D | vp9_quantize.c | 220 const int segment_id = xd->mi[0]->mbmi.segment_id; in vp9_init_plane_quantizers() local 221 const int qindex = vp9_get_qindex(&cm->seg, segment_id, cm->base_qindex); in vp9_init_plane_quantizers() 253 x->skip_block = vp9_segfeature_active(&cm->seg, segment_id, SEG_LVL_SKIP); in vp9_init_plane_quantizers()
|
D | vp9_rdopt.c | 247 int i, bsize, segment_id; in set_block_thresholds() local 249 for (segment_id = 0; segment_id < MAX_SEGMENTS; ++segment_id) { in set_block_thresholds() 250 const int qindex = clamp(vp9_get_qindex(&cm->seg, segment_id, in set_block_thresholds() 262 cpi->rd_threshes[segment_id][bsize][i] = in set_block_thresholds() 267 cpi->rd_thresh_sub8x8[segment_id][bsize][i] = in set_block_thresholds() 1455 const int segment_id = x->e_mbd.mi[0]->mbmi.segment_id; in cost_mv_ref() local 1458 if (!vp9_segfeature_active(&cpi->common.seg, segment_id, SEG_LVL_SKIP)) { in cost_mv_ref() 2204 static void estimate_ref_frame_costs(VP9_COMP *cpi, int segment_id, in estimate_ref_frame_costs() argument 2210 int seg_ref_active = vp9_segfeature_active(&cm->seg, segment_id, in estimate_ref_frame_costs() 3135 unsigned char segment_id = mbmi->segment_id; in vp9_rd_pick_inter_mode_sb() local [all …]
|
D | vp9_encodeframe.c | 257 mbmi->segment_id = vp9_get_segment_id(cm, map, bsize, mi_row, mi_col); in set_offsets() 277 x->encode_breakout = cpi->segment_encode_breakout[mbmi->segment_id]; in set_offsets() 279 mbmi->segment_id = 0; in set_offsets() 865 mi_addr->mbmi.segment_id = in update_state() 924 if (!vp9_segfeature_active(&cm->seg, mbmi->segment_id, SEG_LVL_SKIP)) { in update_state() 1041 mbmi->segment_id = vp9_vaq_segment_id(energy); in rd_pick_sb_modes() 1045 mbmi->segment_id = vp9_get_segment_id(cm, map, bsize, mi_row, mi_col); in rd_pick_sb_modes() 1109 const int seg_ref_active = vp9_segfeature_active(&cm->seg, mbmi->segment_id, in update_stats() 2557 mbmi->segment_id = 0; in set_mode_info() 3416 unsigned int segment_id = mbmi->segment_id; in encode_superblock() local [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
D | loopfilter.c | 217 const int seg = mode_info_context->mbmi.segment_id; in vp8_loop_filter_row_normal() 274 const int seg = mode_info_context->mbmi.segment_id; in vp8_loop_filter_row_simple() 349 const int seg = mode_info_context->mbmi.segment_id; in vp8_loop_filter_frame() 405 const int seg = mode_info_context->mbmi.segment_id; in vp8_loop_filter_frame() 491 const int seg = mode_info_context->mbmi.segment_id; in vp8_loop_filter_frame_yonly() 607 const int seg = mode_info_context->mbmi.segment_id; in vp8_loop_filter_partial_frame()
|
D | blockd.h | 165 …uint8_t segment_id; /* Which set of segmentation parameters should be used for th… member
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
D | ethreading.c | 172 … xd->mode_info_context->mbmi.segment_id = cpi->segmentation_map[map_index + mb_col]; in thread_encoding_proc() 174 xd->mode_info_context->mbmi.segment_id = 0; in thread_encoding_proc() 180 xd->mode_info_context->mbmi.segment_id = 0; in thread_encoding_proc() 222 cpi->segmentation_map[map_index + mb_col] = mbmi->segment_id; in thread_encoding_proc() 232 if (mbmi->segment_id) in thread_encoding_proc() 269 segment_counts[xd->mode_info_context->mbmi.segment_id]++; in thread_encoding_proc()
|
D | encodeframe.c | 489 xd->mode_info_context->mbmi.segment_id = cpi->segmentation_map[map_index+mb_col]; in encode_mb_row() 491 xd->mode_info_context->mbmi.segment_id = 0; in encode_mb_row() 497 xd->mode_info_context->mbmi.segment_id = 0; in encode_mb_row() 537 cpi->segmentation_map[map_index+mb_col] = xd->mode_info_context->mbmi.segment_id; in encode_mb_row() 546 if (xd->mode_info_context->mbmi.segment_id) in encode_mb_row() 583 segment_counts[xd->mode_info_context->mbmi.segment_id] ++; in encode_mb_row() 1222 x->encode_breakout = cpi->segment_encode_breakout[xd->mode_info_context->mbmi.segment_id]; in vp8cx_encode_inter_macroblock() 1291 if ((xd->mode_info_context->mbmi.segment_id == 1) && in vp8cx_encode_inter_macroblock() 1294 xd->mode_info_context->mbmi.segment_id = 0; in vp8cx_encode_inter_macroblock()
|
D | quantize.c | 622 QIndex = xd->segment_feature_data[MB_LVL_ALT_Q][xd->mode_info_context->mbmi.segment_id]; in vp8cx_mb_init_quantizer() 626 …ommon.base_qindex + xd->segment_feature_data[MB_LVL_ALT_Q][xd->mode_info_context->mbmi.segment_id]; in vp8cx_mb_init_quantizer()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/ |
D | decodemv.c | 583 mi->segment_id = in read_mb_features() 586 mi->segment_id = in read_mb_features() 600 mi->mbmi.segment_id = 0; in decode_mb_mode_mvs()
|
D | onyxd_if.c | 397 pbi->common.mi[i].mbmi.segment_id = in vp8dx_receive_compressed_data() 398 pbi->common.prev_mi[i].mbmi.segment_id; in vp8dx_receive_compressed_data()
|
D | error_concealment.c | 395 mi->mbmi.segment_id = 0; in estimate_missing_mvs() 587 mb->mode_info_context->mbmi.segment_id = 0; in vp8_interpolate_motion()
|