/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_segmentation.h | 22 void vp9_enable_segmentation(struct segmentation *seg); 23 void vp9_disable_segmentation(struct segmentation *seg); 25 void vp9_disable_segfeature(struct segmentation *seg, 28 void vp9_clear_segdata(struct segmentation *seg, 45 void vp9_set_segment_data(struct segmentation *seg, signed char *feature_data, 50 void vp9_reset_segment_features(struct segmentation *seg);
|
H A D | vp9_segmentation.c | 22 void vp9_enable_segmentation(struct segmentation *seg) { argument 23 seg->enabled = 1; 24 seg->update_map = 1; 25 seg->update_data = 1; 28 void vp9_disable_segmentation(struct segmentation *seg) { argument 29 seg->enabled = 0; 33 struct segmentation *const seg = &cpi->common.seg; local 40 seg->update_map = 1; 41 seg 44 vp9_set_segment_data(struct segmentation *seg, signed char *feature_data, unsigned char abs_delta) argument 55 vp9_disable_segfeature(struct segmentation *seg, int segment_id, SEG_LVL_FEATURES feature_id) argument 60 vp9_clear_segdata(struct segmentation *seg, int segment_id, SEG_LVL_FEATURES feature_id) argument 217 struct segmentation *seg = &cm->seg; local 294 vp9_reset_segment_features(struct segmentation *seg) argument [all...] |
H A D | vp9_aq_complexity.c | 23 struct segmentation *const seg = &cm->seg; local 39 vp9_enable_segmentation(seg); 40 vp9_clearall_segfeatures(seg); 43 seg->abs_delta = SEGMENT_DELTADATA; 46 vp9_disable_segfeature(seg, 0, SEG_LVL_ALT_Q); 54 vp9_enable_segfeature(seg, segment, SEG_LVL_ALT_Q); 55 vp9_set_segdata(seg, segment, SEG_LVL_ALT_Q, qindex_delta);
|
H A D | vp9_aq_variance.c | 77 struct segmentation *seg = &cm->seg; local 86 vp9_enable_segmentation(seg); 87 vp9_clearall_segfeatures(seg); 89 seg->abs_delta = SEGMENT_DELTADATA; 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);
|
H A D | vp9_aq_cyclicrefresh.c | 74 // with number of seg blocks, so compare available bits to number of blocks. 183 struct segmentation *const seg = &cm->seg; local 192 vp9_disable_segmentation(&cm->seg); 226 vp9_enable_segmentation(&cm->seg); 227 vp9_clearall_segfeatures(seg); 229 seg->abs_delta = SEGMENT_DELTADATA; 231 // Note: setting temporal_update has no effect, as the seg-map coding method 236 // seg->temporal_update = 0; 239 vp9_disable_segfeature(seg, [all...] |
H A D | vp9_bitstream.c | 100 if (vp9_segfeature_active(&cpi->common.seg, segment_id, SEG_LVL_SKIP)) { 185 static void write_segment_id(vp9_writer *w, const struct segmentation *seg, argument 187 if (seg->enabled && seg->update_map) 188 vp9_write_tree(w, vp9_segment_tree, seg->tree_probs, segment_id, 3, 0); 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)); 234 const struct segmentation *const seg = &cm->seg; local 244 if (seg 337 const struct segmentation *const seg = &cm->seg; local 746 struct segmentation *seg = &cpi->common.seg; local [all...] |
H A D | vp9_onyx_if.c | 266 struct segmentation *const seg = &cm->seg; local 275 seg->update_map = 0; 276 seg->update_data = 0; 280 vp9_disable_segmentation(seg); 283 vp9_clearall_segfeatures(seg); 288 seg->update_map = 0; 289 seg->update_data = 0; 293 vp9_disable_segmentation(seg); 294 vp9_clearall_segfeatures(seg); 2549 struct segmentation *const seg = &cm->seg; local 3354 struct segmentation *seg = &cpi->common.seg; local [all...] |
H A D | vp9_tokenize.c | 203 static INLINE int get_tx_eob(const struct segmentation *seg, int segment_id, argument 206 return vp9_segfeature_active(seg, segment_id, SEG_LVL_SKIP) ? 0 : eob_max; 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,
|
H A D | vp9_mbgraph.c | 374 vp9_enable_segmentation(&cm->seg); 377 vp9_disable_segmentation(&cm->seg);
|
H A D | vp9_quantize.c | 221 const int qindex = vp9_get_qindex(&cm->seg, segment_id, cm->base_qindex); 253 x->skip_block = vp9_segfeature_active(&cm->seg, segment_id, SEG_LVL_SKIP);
|
H A D | vp9_encodeframe.c | 218 const struct segmentation *const seg = &cm->seg; local 253 if (seg->enabled) { 255 const uint8_t *const map = seg->update_map ? cpi->segmentation_map 261 if (seg->enabled && cpi->seg0_cnt > 0 && 262 !vp9_segfeature_active(seg, 0, SEG_LVL_REF_FRAME) && 263 vp9_segfeature_active(seg, 1, SEG_LVL_REF_FRAME)) { 848 const struct segmentation *const seg = &cm->seg; local 860 if (seg 1428 const struct segmentation *const seg = &cm->seg; local [all...] |
H A D | vp9_rdopt.c | 250 const int qindex = clamp(vp9_get_qindex(&cm->seg, segment_id, 1458 if (!vp9_segfeature_active(&cpi->common.seg, segment_id, SEG_LVL_SKIP)) { 2210 int seg_ref_active = vp9_segfeature_active(&cm->seg, segment_id, 3132 const struct segmentation *const seg = &cm->seg; local 3229 if (vp9_segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME) && 3230 vp9_get_segdata(seg, segment_id, SEG_LVL_REF_FRAME) != (int)ref_frame) { 3237 if (vp9_segfeature_active(seg, segment_id, SEG_LVL_SKIP)) { 3245 if (!vp9_segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME)) { 3381 !vp9_segfeature_active(&cm->seg, mbm 3763 const struct segmentation *seg = &cm->seg; local [all...] |
H A D | vp9_ratectrl.c | 121 vp9_copy(cc->segment_pred_probs, cm->seg.pred_probs); 142 vp9_copy(cm->seg.pred_probs, cc->segment_pred_probs);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
H A D | vp9_seg_common.c | 28 int vp9_segfeature_active(const struct segmentation *seg, int segment_id, argument 30 return seg->enabled && 31 (seg->feature_mask[segment_id] & (1 << feature_id)); 34 void vp9_clearall_segfeatures(struct segmentation *seg) { argument 35 vp9_zero(seg->feature_data); 36 vp9_zero(seg->feature_mask); 39 void vp9_enable_segfeature(struct segmentation *seg, int segment_id, argument 41 seg->feature_mask[segment_id] |= 1 << feature_id; 52 void vp9_set_segdata(struct segmentation *seg, int segment_id, argument 60 seg 63 vp9_get_segdata(const struct segmentation *seg, int segment_id, SEG_LVL_FEATURES feature_id) argument [all...] |
H A D | vp9_seg_common.h | 52 int vp9_segfeature_active(const struct segmentation *seg, 56 void vp9_clearall_segfeatures(struct segmentation *seg); 58 void vp9_enable_segfeature(struct segmentation *seg, 66 void vp9_set_segdata(struct segmentation *seg, 71 int vp9_get_segdata(const struct segmentation *seg,
|
H A D | vp9_quant_common.c | 133 int vp9_get_qindex(const struct segmentation *seg, int segment_id, argument 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); 137 const int seg_qindex = seg->abs_delta == SEGMENT_ABSDATA ?
|
H A D | vp9_quant_common.h | 30 int vp9_get_qindex(const struct segmentation *seg, int segment_id,
|
H A D | vp9_pred_common.h | 42 static INLINE vp9_prob vp9_get_pred_prob_seg_id(const struct segmentation *seg, argument 44 return seg->pred_probs[vp9_get_pred_context_seg_id(xd)];
|
H A D | vp9_entropymode.c | 440 vp9_clearall_segfeatures(&cm->seg); 441 cm->seg.abs_delta = SEGMENT_DELTADATA;
|
H A D | vp9_onyxc_int.h | 168 struct segmentation seg; member in struct:VP9Common
|
H A D | vp9_loopfilter.c | 259 const struct segmentation *const seg = &cm->seg; local 269 if (vp9_segfeature_active(seg, seg_id, SEG_LVL_ALT_LF)) { 270 const int data = vp9_get_segdata(seg, seg_id, SEG_LVL_ALT_LF); 271 lvl_seg = clamp(seg->abs_delta == SEGMENT_ABSDATA ?
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
H A D | loopfilter.c | 117 int seg, /* segment number */ local 130 for(seg = 0; seg < MAX_MB_SEGMENTS; seg++) 141 lvl_seg = mbd->segment_feature_data[MB_LVL_ALT_LF][seg]; 145 lvl_seg += mbd->segment_feature_data[MB_LVL_ALT_LF][seg]; 155 vpx_memset(lfi->lvl[seg][0], lvl_seg, 4 * 4 ); 172 lfi->lvl[seg][ref][mode] = lvl_mode; 177 lfi->lvl[seg][ref][mode] = lvl_mode; 192 lfi->lvl[seg][re 217 const int seg = mode_info_context->mbmi.segment_id; local 274 const int seg = mode_info_context->mbmi.segment_id; local 349 const int seg = mode_info_context->mbmi.segment_id; local 405 const int seg = mode_info_context->mbmi.segment_id; local 491 const int seg = mode_info_context->mbmi.segment_id; local 607 const int seg = mode_info_context->mbmi.segment_id; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
H A D | vp9_decodemv.c | 58 static int read_segment_id(vp9_reader *r, const struct segmentation *seg) { argument 59 return vp9_read_tree(r, vp9_segment_tree, seg->tree_probs); 106 struct segmentation *const seg = &cm->seg; local 110 if (!seg->enabled) 113 if (!seg->update_map) 116 segment_id = read_segment_id(r, seg); 123 struct segmentation *const seg = &cm->seg; local 128 if (!seg [all...] |
H A D | vp9_decodeframe.c | 350 if (cm->seg.enabled) 351 setup_plane_dequants(cm, xd, vp9_get_qindex(&cm->seg, mbmi->segment_id, 490 static void setup_segmentation(struct segmentation *seg, argument 494 seg->update_map = 0; 495 seg->update_data = 0; 497 seg->enabled = vp9_rb_read_bit(rb); 498 if (!seg->enabled) 502 seg->update_map = vp9_rb_read_bit(rb); 503 if (seg->update_map) { 505 seg [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/ |
H A D | threading.c | 492 const int seg = xd->mode_info_context->mbmi.segment_id; local 495 filter_level = lfi_n->lvl[seg][ref_frame][mode_index];
|