/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_seg_common.c | 28 int vp9_segfeature_active(const struct segmentation *seg, int segment_id, 31 (seg->feature_mask[segment_id] & (1 << feature_id)); 39 void vp9_enable_segfeature(struct segmentation *seg, int segment_id, 41 seg->feature_mask[segment_id] |= 1 << feature_id; 52 void vp9_set_segdata(struct segmentation *seg, int segment_id, 60 seg->feature_data[segment_id][feature_id] = seg_data; 63 int vp9_get_segdata(const struct segmentation *seg, int segment_id, 65 return seg->feature_data[segment_id][feature_id];
|
vp9_seg_common.h | 53 int segment_id, 59 int segment_id, 67 int segment_id, 72 int segment_id,
|
vp9_quant_common.h | 30 int vp9_get_qindex(const struct segmentation *seg, int segment_id,
|
vp9_quant_common.c | 133 int vp9_get_qindex(const struct segmentation *seg, int segment_id, 135 if (vp9_segfeature_active(seg, segment_id, SEG_LVL_ALT_Q)) { 136 const int data = vp9_get_segdata(seg, segment_id, SEG_LVL_ALT_Q);
|
vp9_pred_common.c | 376 int x, y, segment_id = INT_MAX; local 380 segment_id = MIN(segment_id, 383 assert(segment_id >= 0 && segment_id < MAX_SEGMENTS); 384 return segment_id;
|
/external/libvpx/libvpx/vp9/common/ |
vp9_seg_common.c | 33 void vp9_enable_segfeature(struct segmentation *seg, int segment_id, 35 seg->feature_mask[segment_id] |= 1 << feature_id; 46 void vp9_set_segdata(struct segmentation *seg, int segment_id, 54 seg->feature_data[segment_id][feature_id] = seg_data;
|
vp9_seg_common.h | 53 int segment_id, 56 (seg->feature_mask[segment_id] & (1 << feature_id)); 62 int segment_id, 70 int segment_id, 74 static INLINE int get_segdata(const struct segmentation *seg, int segment_id, 76 return seg->feature_data[segment_id][feature_id];
|
vp9_quant_common.h | 29 int vp9_get_qindex(const struct segmentation *seg, int segment_id,
|
vp9_quant_common.c | 267 int vp9_get_qindex(const struct segmentation *seg, int segment_id, 269 if (segfeature_active(seg, segment_id, SEG_LVL_ALT_Q)) { 270 const int data = get_segdata(seg, segment_id, SEG_LVL_ALT_Q);
|
vp9_pred_common.h | 30 int x, y, segment_id = MAX_SEGMENTS; local 34 segment_id = 35 VPXMIN(segment_id, segment_ids[mi_offset + y * cm->mi_cols + x]); 37 assert(segment_id >= 0 && segment_id < MAX_SEGMENTS); 38 return segment_id;
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_segmentation.h | 26 int segment_id, 29 int segment_id,
|
vp9_aq_cyclicrefresh.h | 91 // check if we should reset the segment_id, and update the cyclic_refresh map 126 static INLINE int cyclic_refresh_segment_id_boosted(int segment_id) { 127 return segment_id == CR_SEGMENT_ID_BOOST1 || 128 segment_id == CR_SEGMENT_ID_BOOST2; 131 static INLINE int cyclic_refresh_segment_id(int segment_id) { 132 if (segment_id == CR_SEGMENT_ID_BOOST1) 134 else if (segment_id == CR_SEGMENT_ID_BOOST2)
|
vp9_segmentation.c | 41 void vp9_disable_segfeature(struct segmentation *seg, int segment_id, 43 seg->feature_mask[segment_id] &= ~(1 << feature_id); 46 void vp9_clear_segdata(struct segmentation *seg, int segment_id, 48 seg->feature_data[segment_id][feature_id] = 0; 115 int segment_id; local 121 segment_id = xd->mi[0]->mbmi.segment_id; 126 no_pred_segcounts[segment_id]++; 134 const int pred_flag = pred_segment_id == segment_id; 144 t_unpred_seg_counts[segment_id]++ [all...] |
vp9_aq_cyclicrefresh.c | 186 // check if we should reset the segment_id, and update the cyclic_refresh map 209 // segment_id. 210 if (cyclic_refresh_segment_id_boosted(mbmi->segment_id)) { 211 mbmi->segment_id = refresh_this_block; 212 // Reset segment_id if it will be skipped. 214 mbmi->segment_id = CR_SEGMENT_ID_BASE; 221 if (cyclic_refresh_segment_id_boosted(mbmi->segment_id)) { 235 // copy mbmi->segment_id into global segmentation map. 240 cpi->segmentation_map[map_offset] = mbmi->segment_id; 265 mbmi->segment_id <= CR_SEGMENT_ID_BOOST2) [all...] |
vp9_tokenize.c | 457 static INLINE int get_tx_eob(const struct segmentation *seg, int segment_id, 460 return segfeature_active(seg, segment_id, SEG_LVL_SKIP) ? 0 : eob_max; 481 const int segment_id = mbmi->segment_id; local 492 const int seg_eob = get_tx_eob(&cpi->common.seg, segment_id, tx_size); 593 const int skip_inc = !segfeature_active(&cm->seg, mbmi->segment_id, [all...] |
vp9_rd.c | 237 int i, bsize, segment_id; local 239 for (segment_id = 0; segment_id < MAX_SEGMENTS; ++segment_id) { 241 clamp(vp9_get_qindex(&cm->seg, segment_id, cm->base_qindex) + 253 rd->threshes[segment_id][bsize][i] = 259 rd->threshes[segment_id][bsize][i] =
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_segmentation.h | 26 int segment_id, 29 int segment_id,
|
vp9_segmentation.c | 55 void vp9_disable_segfeature(struct segmentation *seg, int segment_id, 57 seg->feature_mask[segment_id] &= ~(1 << feature_id); 60 void vp9_clear_segdata(struct segmentation *seg, int segment_id, 62 seg->feature_data[segment_id][feature_id] = 0; 131 int segment_id; local 137 segment_id = xd->mi[0]->mbmi.segment_id; 142 no_pred_segcounts[segment_id]++; 150 const int pred_flag = pred_segment_id == segment_id; 160 t_unpred_seg_counts[segment_id]++ [all...] |
vp9_aq_cyclicrefresh.c | 126 // check if we should reset the segment_id, and update the cyclic_refresh map 144 // Check if we should reset the segment_id for this block. 145 if (mbmi->segment_id > 0 && !refresh_this_block) 146 mbmi->segment_id = 0; 152 if (mbmi->segment_id == 1) { 165 // copy mbmi->segment_id into global segmentation map. 170 mbmi->segment_id; 174 if (mbmi->segment_id)
|
vp9_tokenize.c | 203 static INLINE int get_tx_eob(const struct segmentation *seg, int segment_id, 206 return vp9_segfeature_active(seg, segment_id, SEG_LVL_SKIP) ? 0 : eob_max; 225 const int segment_id = mbmi->segment_id; local 237 const int seg_eob = get_tx_eob(&cpi->common.seg, segment_id, tx_size); 315 const int skip_inc = !vp9_segfeature_active(&cm->seg, mbmi->segment_id,
|
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] 41 return SEGMENT_ID(energy); 103 vp9_set_segdata(seg, SEGMENT_ID(i), SEG_LVL_ALT_Q, qindex_delta); 104 vp9_enable_segfeature(seg, SEGMENT_ID(i), SEG_LVL_ALT_Q);
|
vp9_pickmode.c | 232 unsigned char segment_id = mbmi->segment_id; local 233 const int *const rd_threshes = cpi->rd_threshes[segment_id][bsize]; 255 mbmi->segment_id = segment_id;
|
vp9_bitstream.c | 97 static int write_skip(const VP9_COMP *cpi, int segment_id, const MODE_INFO *mi, 100 if (vp9_segfeature_active(&cpi->common.seg, segment_id, SEG_LVL_SKIP)) { 186 int segment_id) { 188 vp9_write_tree(w, vp9_segment_tree, seg->tree_probs, segment_id, 3, 0); 197 const int segment_id = mbmi->segment_id; local 201 if (vp9_segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME)) { 204 vp9_get_segdata(&cm->seg, segment_id, SEG_LVL_REF_FRAME)); 237 const int segment_id = mbmi->segment_id; local [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
vp9_decodemv.c | 97 int x, y, segment_id = INT_MAX; local 101 segment_id = 102 VPXMIN(segment_id, segment_ids[mi_offset + y * cm->mi_cols + x]); 104 assert(segment_id >= 0 && segment_id < MAX_SEGMENTS); 105 return segment_id; 109 int x_mis, int y_mis, int segment_id) { 112 assert(segment_id >= 0 && segment_id < MAX_SEGMENTS); 116 cm->current_frame_seg_map[mi_offset + y * cm->mi_cols + x] = segment_id; 135 int segment_id; local 155 int predicted_segment_id, segment_id; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
vp9_decodemv.c | 88 int mi_row, int mi_col, int segment_id) { 96 assert(segment_id >= 0 && segment_id < MAX_SEGMENTS); 100 cm->last_frame_seg_map[mi_offset + y * cm->mi_cols + x] = segment_id; 108 int segment_id; local 116 segment_id = read_segment_id(r, seg); 117 set_segment_id(cm, bsize, mi_row, mi_col, segment_id); 118 return segment_id; 126 int predicted_segment_id, segment_id; local 139 segment_id = mbmi->seg_id_predicted ? predicted_segment_i [all...] |