/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_mbgraph.h | 25 } ref[MAX_REF_FRAMES]; member in struct:__anon1152
|
H A D | vp9_encodemv.h | 25 void vp9_encode_mv(VP9_COMP *cpi, vp9_writer* w, const MV* mv, const MV* ref,
|
H A D | vp9_mbgraph.c | 195 &stats->ref[INTRA_FRAME].m.mode); 198 stats->ref[INTRA_FRAME].err = intra_error; 207 &stats->ref[GOLDEN_FRAME].m.mv, 209 stats->ref[GOLDEN_FRAME].err = g_motion_error; 211 stats->ref[GOLDEN_FRAME].err = INT_MAX; 212 stats->ref[GOLDEN_FRAME].m.mv.as_int = 0; 215 // Do an Alt-ref frame MV search, if it exists and is different than 222 &stats->ref[ALTREF_FRAME].m.mv); 224 stats->ref[ALTREF_FRAME].err = a_motion_error; 226 stats->ref[ALTREF_FRAM [all...] |
H A D | vp9_pickmode.c | 39 int ref = mbmi->ref_frame[0]; local 40 const MV ref_mv = mbmi->ref_mvs[ref][0].as_mv; 49 ref); 68 if ((x->pred_mv_sad[ref] >> 3) > x->pred_mv_sad[i]) { 79 assert(x->mv_best_ref_index[ref] <= 2); 80 if (x->mv_best_ref_index[ref] < 2) 81 mvp_full = mbmi->ref_mvs[ref][x->mv_best_ref_index[ref]].as_mv; 83 mvp_full = x->pred_mv[ref].as_mv; 140 int ref local [all...] |
H A D | vp9_encodemv.c | 203 const MV* mv, const MV* ref, 205 const MV diff = {mv->row - ref->row, 206 mv->col - ref->col}; 208 usehp = usehp && vp9_use_mv_hp(ref); 237 const MV *ref = &mbmi->ref_mvs[mbmi->ref_frame[i]][0].as_mv; local 238 const MV diff = {mvs[i].as_mv.row - ref->row, 239 mvs[i].as_mv.col - ref->col}; 202 vp9_encode_mv(VP9_COMP* cpi, vp9_writer* w, const MV* mv, const MV* ref, const nmv_context* mvctx, int usehp) argument
|
H A D | vp9_rdopt.c | 435 const int ref = xd->mi[0]->mbmi.ref_frame[0]; local 447 x->pred_sse[ref] = sse; 1559 int thisrate = 0, ref; local 1564 for (ref = 0; ref < 1 + is_compound; ++ref) { 1565 const uint8_t *pre = &pd->pre[ref].buf[raster_block_offset(BLOCK_8X8, i, 1566 pd->pre[ref].stride)]; 1567 vp9_build_inter_predictor(pre, pd->pre[ref].stride, 1569 &mi->bmi[i].as_mv[ref] 1760 int ref; local 2382 int ref = mbmi->ref_frame[0]; local 2546 int ite, ref; local 3613 int64_t ref = cpi->rd_filter_cache[cm->interp_filter == SWITCHABLE ? local 4324 int64_t ref = cpi->rd_filter_cache[cm->interp_filter == SWITCHABLE ? local [all...] |
H A D | vp9_variance.h | 104 int height, const uint8_t *ref, int ref_stride);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
H A D | vp9_reconintra.h | 23 const uint8_t *ref, int ref_stride,
|
H A D | vp9_reconinter.c | 71 int w, int h, int ref, 74 sf->predict[subpel_x != 0][subpel_y != 0][ref]( 83 int w, int h, int ref, 97 sf, w, h, ref, kernel, sf->x_step_q4, sf->y_step_q4); 150 int ref; local 152 for (ref = 0; ref < 1 + is_compound; ++ref) { 153 const struct scale_factors *const sf = &xd->block_refs[ref]->sf; 154 struct buf_2d *const pre_buf = &pd->pre[ref]; 66 inter_predictor(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, const int subpel_x, const int subpel_y, const struct scale_factors *sf, int w, int h, int ref, const InterpKernel *kernel, int xs, int ys) argument 79 vp9_build_inter_predictor(const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, const MV *src_mv, const struct scale_factors *sf, int w, int h, int ref, const InterpKernel *kernel, enum mv_precision precision, int x, int y) argument 254 int ref; local [all...] |
H A D | vp9_mvref_common.c | 32 // This is used to figure out a context for the ref blocks. The code flattens 137 static INLINE int_mv scale_mv(const MB_MODE_INFO *mbmi, int ref, argument 140 int_mv mv = mbmi->mv[ref]; 141 if (ref_sign_bias[mbmi->ref_frame[ref]] != ref_sign_bias[this_ref_frame]) { 320 int block, int ref, int mi_row, int mi_col, 329 find_mv_refs_idx(cm, xd, tile, mi, mi->mbmi.ref_frame[ref], mv_list, block, 340 nearest->as_int = bmi[0].as_mv[ref].as_int; 349 candidates[0] = bmi[1].as_mv[ref]; 350 candidates[1] = bmi[0].as_mv[ref]; 354 nearest->as_int = bmi[2].as_mv[ref] 318 vp9_append_sub8x8_mvs_for_idx(VP9_COMMON *cm, MACROBLOCKD *xd, const TileInfo *const tile, int block, int ref, int mi_row, int mi_col, int_mv *nearest, int_mv *near) argument [all...] |
H A D | vp9_mvref_common.h | 39 // score to use as ref motion vector 45 int block, int ref, int mi_row, int mi_col,
|
H A D | vp9_reconintra.c | 314 static void build_intra_predictors(const MACROBLOCKD *xd, const uint8_t *ref, argument 360 left_col[i] = ref[i * ref_stride - 1]; 364 left_col[i] = ref[i * ref_stride - 1]; 366 left_col[i] = ref[(extend_bottom - 1) * ref_stride - 1]; 371 left_col[i] = ref[i * ref_stride - 1]; 378 const uint8_t *above_ref = ref - ref_stride; 440 const uint8_t *ref, int ref_stride, 452 build_intra_predictors(xd, ref, ref_stride, dst, dst_stride, mode, tx_size, 438 vp9_predict_intra_block(const MACROBLOCKD *xd, int block_idx, int bwl_in, TX_SIZE tx_size, MB_PREDICTION_MODE mode, const uint8_t *ref, int ref_stride, uint8_t *dst, int dst_stride, int aoff, int loff, int plane) argument
|
H A D | vp9_entropymv.h | 27 int vp9_use_mv_hp(const MV *ref);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/ |
H A D | vp9_sad4d_intrin_avx2.c | 15 uint8_t *ref[4], 24 ref0 = ref[0]; 25 ref1 = ref[1]; 26 ref2 = ref[2]; 27 ref3 = ref[3]; 39 // sum of the absolute differences between every ref-i to src 44 // sum every ref-i 85 uint8_t *ref[4], 96 ref0 = ref[0]; 97 ref1 = ref[ 13 vp9_sad32x32x4d_avx2(uint8_t *src, int src_stride, uint8_t *ref[4], int ref_stride, unsigned int res[4]) argument 83 vp9_sad64x64x4d_avx2(uint8_t *src, int src_stride, uint8_t *ref[4], int ref_stride, unsigned int res[4]) argument [all...] |
H A D | vp9_variance_impl_intrin_avx2.c | 19 __m256i src, src_expand_low, src_expand_high, ref, ref_expand_low; local 36 ref =_mm256_castsi128_si256( 38 ref = _mm256_inserti128_si256(ref, 45 ref_expand_low = _mm256_unpacklo_epi8(ref, zero_reg); 46 ref_expand_high = _mm256_unpackhi_epi8(ref, zero_reg); 48 // src-ref 52 // madd low (src - ref) 58 // madd high (src - ref) 130 __m256i src, src_expand_low, src_expand_high, ref, ref_expand_lo local [all...] |
H A D | vp9_sad4d_sse2.asm | 15 ; PROCESS_4x2x4 first, off_{first,second}_{src,ref}, advance_at_end 62 ; PROCESS_8x2x4 first, off_{first,second}_{src,ref}, advance_at_end 107 ; PROCESS_16x2x4 first, off_{first,second}_{src,ref}, advance_at_end 158 ; PROCESS_32x2x4 first, off_{first,second}_{src,ref}, advance_at_end 164 ; PROCESS_64x2x4 first, off_{first,second}_{src,ref}, advance_at_end 171 ; uint8_t *ref[4], int ref_stride,
|
H A D | vp9_sad_sse2.asm | 18 cglobal sad%1x%2, 4, %3, 5, src, src_stride, ref, ref_stride, n_rows 20 cglobal sad%1x%2, 4, %3, 5, src, src_stride, ref, ref_stride, \ 25 cglobal sad%1x%2_avg, 5, 1 + %3, 5, src, src_stride, ref, ref_stride, \ 29 ref, ref_stride, \ 48 ; uint8_t *ref, int ref_stride); 91 ; uint8_t *ref, int ref_stride); 136 ; uint8_t *ref, int ref_stride); 182 ; uint8_t *ref, int ref_stride); 226 ; uint8_t *ref, int ref_stride);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/ |
H A D | vp8_sad16x16_armv6.asm | 39 ldr r8, [r2, #0x0] ; load 4 ref pixels (1A) 41 ldr r9, [r2, #0x4] ; load 4 ref pixels (1A) 48 ldr r12, [r2, #0x8] ; load 4 ref pixels (1B) 49 ldr lr, [r2, #0xC] ; load 4 ref pixels (1B) 65 ldr r8, [r2, #0x0] ; load 4 ref pixels (2A) 66 ldr r9, [r2, #0x4] ; load 4 ref pixels (2A) 73 ldr r12, [r2, #0x8] ; load 4 ref pixels (2B) 74 ldr lr, [r2, #0xC] ; load 4 ref pixels (2B)
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
H A D | vp8cx_set_ref.c | 165 vpx_ref_frame_t ref; local 166 ref.frame_type = VP8_LAST_FRAME; 167 ref.img = raw; 168 if (vpx_codec_control(&codec, VP8_SET_REFERENCE, &ref))
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
H A D | vp9_decodemv.c | 237 static INLINE void read_mv(vp9_reader *r, MV *mv, const MV *ref, argument 242 const int use_hp = allow_hp && vp9_use_mv_hp(ref); 253 mv->row = ref->row + diff.row; 254 mv->col = ref->col + diff.col; 285 // FIXME(rbultje) I'm pretty sure this breaks segmentation ref frame coding 432 int inter_mode_ctx, ref, is_compound; local 437 for (ref = 0; ref < 1 + is_compound; ++ref) { 438 const MV_REFERENCE_FRAME frame = mbmi->ref_frame[ref]; [all...] |
H A D | vp9_detokenize.c | 89 const int ref = is_inter_block(&xd->mi[0]->mbmi); local 92 fc->coef_probs[tx_size][type][ref]; 95 counts->coef[tx_size][type][ref]; 97 counts->eob_branch[tx_size][type][ref];
|
/hardware/intel/common/libmix/videodecoder/ |
H A D | VideoDecoderAVC.cpp | 418 VAPictureH264 *ref = sliceParam->RefPicList0; local 425 for (int32_t j = 0; j <= activeMinus1; j++, ref++) { 426 if (!(ref->flags & VA_PICTURE_H264_INVALID)) { 427 ref->picture_id = findSurface(ref); 428 if (ref->picture_id == VA_INVALID_SURFACE) { 434 WTRACE("Reference frame %d is missing. Use last reference", getPOC(ref)); 435 ref->picture_id = mLastReference->renderBuffer.surface; 437 ETRACE("Reference frame %d is missing. Stop decoding.", getPOC(ref)); 444 ref 453 VAPictureH264 *ref = picParam->ReferenceFrames; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
H A D | mcomp.h | 40 extern int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
H A D | loopfilter.c | 118 ref, /* index in ref_lf_deltas */ local 160 ref = INTRA_FRAME; 163 lvl_ref = lvl_seg + mbd->ref_lf_deltas[ref]; 172 lfi->lvl[seg][ref][mode] = lvl_mode; 177 lfi->lvl[seg][ref][mode] = lvl_mode; 180 for(ref = 1; ref < MAX_REF_FRAMES; ref++) 183 lvl_ref = lvl_seg + mbd->ref_lf_deltas[ref]; 192 lfi->lvl[seg][ref][mod [all...] |
/hardware/intel/img/psb_video/src/ |
H A D | tng_picmgmt.h | 200 VAStatus tng_picmgmt_update(context_ENC_p ctx, IMG_PICMGMT_TYPE eType, unsigned int ref);
|