/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
H A D | vp9_reconinter.h | 36 const struct scale_factors *sf, 43 const struct scale_factors *sf) { 44 const int x = sf ? sf->scale_value_x(x_offset, sf) : x_offset; 45 const int y = sf ? sf->scale_value_y(y_offset, sf) : y_offset; 65 const struct scale_factors *sf); 42 scaled_buffer_offset(int x_offset, int y_offset, int stride, const struct scale_factors *sf) argument
|
H A D | vp9_scale.h | 31 int (*scale_value_x)(int val, const struct scale_factors *sf); 32 int (*scale_value_y)(int val, const struct scale_factors *sf); 37 MV32 vp9_scale_mv(const MV *mv, int x, int y, const struct scale_factors *sf); 39 void vp9_setup_scale_factors_for_frame(struct scale_factors *sf, 43 static INLINE int vp9_is_valid_scale(const struct scale_factors *sf) { argument 44 return sf->x_scale_fp != REF_INVALID_SCALE && 45 sf->y_scale_fp != REF_INVALID_SCALE; 48 static INLINE int vp9_is_scaled(const struct scale_factors *sf) { argument 49 return sf->x_scale_fp != REF_NO_SCALE || 50 sf [all...] |
H A D | vp9_scale.c | 15 static INLINE int scaled_x(int val, const struct scale_factors *sf) { argument 16 return (int)((int64_t)val * sf->x_scale_fp >> REF_SCALE_SHIFT); 19 static INLINE int scaled_y(int val, const struct scale_factors *sf) { argument 20 return (int)((int64_t)val * sf->y_scale_fp >> REF_SCALE_SHIFT); 23 static int unscaled_value(int val, const struct scale_factors *sf) { argument 24 (void) sf; 44 MV32 vp9_scale_mv(const MV *mv, int x, int y, const struct scale_factors *sf) { argument 45 const int x_off_q4 = scaled_x(x << SUBPEL_BITS, sf) & SUBPEL_MASK; 46 const int y_off_q4 = scaled_y(y << SUBPEL_BITS, sf) & SUBPEL_MASK; 48 scaled_y(mv->row, sf) 54 vp9_setup_scale_factors_for_frame(struct scale_factors *sf, int other_w, int other_h, int this_w, int this_h) argument [all...] |
H A D | vp9_reconinter.c | 70 const struct scale_factors *sf, 74 sf->predict[subpel_x != 0][subpel_y != 0][ref]( 82 const struct scale_factors *sf, 90 MV32 mv = vp9_scale_mv(&mv_q4, x, y, sf); 97 sf, w, h, ref, kernel, sf->x_step_q4, sf->y_step_q4); 153 const struct scale_factors *const sf = &xd->block_refs[ref]->sf; local 180 if (vp9_is_scaled(sf)) { 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 257 const struct scale_factors *const sf = &xd->block_refs[ref]->sf; local 428 vp9_setup_pre_planes(MACROBLOCKD *xd, int idx, const YV12_BUFFER_CONFIG *src, int mi_row, int mi_col, const struct scale_factors *sf) argument [all...] |
H A D | vp9_blockd.h | 201 struct scale_factors sf; member in struct:RefBuffer
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_speed_features.c | 45 SPEED_FEATURES *sf, 48 sf->adaptive_rd_thresh = 1; 49 sf->recode_loop = ((speed < 1) ? ALLOW_RECODE : ALLOW_RECODE_KFMAXBW); 50 sf->allow_skip_recode = 1; 53 sf->use_square_partition_only = !frame_is_intra_only(cm); 54 sf->less_rectangular_check = 1; 55 sf->tx_size_search_method = vp9_frame_is_boosted(cpi) 59 sf->disable_split_mask = cm->show_frame ? 62 sf->disable_split_mask = DISABLE_COMPOUND_SPLIT; 63 sf 43 set_good_speed_feature(VP9_COMP *cpi, VP9_COMMON *cm, SPEED_FEATURES *sf, int speed) argument 147 set_rt_speed_feature(VP9_COMMON *cm, SPEED_FEATURES *sf, int speed) argument 284 SPEED_FEATURES *const sf = &cpi->sf; local [all...] |
H A D | vp9_temporal_filter.c | 156 step_param = cpi->sf.reduce_first_step_size + ((cpi->speed > 5) ? 1 : 0); 158 step_param = cpi->sf.reduce_first_step_size + 2; 159 step_param = MIN(step_param, (cpi->sf.max_step_search_steps - 2)); 161 /*cpi->sf.search_method == HEX*/ 177 0, cpi->sf.subpel_iters_per_step, 388 struct scale_factors sf; local 447 vp9_setup_scale_factors_for_frame(&sf, 462 strength, &sf);
|
H A D | vp9_onyx_if.c | 507 const SPEED_FEATURES *const sf = &cpi->sf; local 522 if (sf->disable_split_mask & (1 << i)) 657 if (cpi->sf.search_method == NSTEP) { 659 } else if (cpi->sf.search_method == DIAMOND) { 2021 } else if ((cpi->sf.recode_loop == ALLOW_RECODE) || 2022 ((cpi->sf.recode_loop == ALLOW_RECODE_KFARFGF) && 2112 vp9_pick_filter_level(cpi->Source, cpi, cpi->sf.lpf_pick); 2338 if (cpi->sf.recode_loop >= ALLOW_RECODE_KFARFGF) { 2341 if (!cpi->sf 2547 const SPEED_FEATURES *const sf = &cpi->sf; local [all...] |
H A D | vp9_onyx_int.h | 407 SPEED_FEATURES sf; member in struct:VP9_COMP
|
H A D | vp9_encodeframe.c | 487 const struct scale_factors *const sf = &cm->frame_refs[LAST_FRAME - 1].sf; local 501 vp9_setup_pre_planes(xd, 0, yv12, mi_row, mi_col, sf); 1627 cpi->sf.partition_search_type == SEARCH_PARTITION && 1628 cpi->sf.adjust_partitioning_from_last_frame) { 1758 && cpi->sf.adjust_partitioning_from_last_frame 1759 && cpi->sf.partition_search_type == SEARCH_PARTITION 1964 if (cpi->sf.auto_min_max_partition_size == RELAXED_NEIGHBORING_MIN_MAX) { 1979 if (cpi->sf.use_square_partition_only && 2051 if (cpi->sf [all...] |
H A D | vp9_rdopt.c | 257 // range of values used for cpi->sf.thresh_mult[]. 289 x->select_txfm_size = (cpi->sf.tx_size_search_method == USE_LARGESTALL && 294 if (!cpi->sf.use_nonrd_pick_mode || cm->frame_type == KEY_FRAME) { 302 if (!cpi->sf.use_nonrd_pick_mode || (cm->current_video_frame & 0x07) == 1 || 788 mbmi->tx_size, cpi->sf.use_fast_coef_costing); 933 cpi->sf.use_fast_coef_costing); 962 if (cpi->sf.tx_size_search_method == USE_LARGESTALL) { 971 if (cpi->sf.tx_size_search_method == USE_LARGESTINTRA_MODELINTER) { 982 cpi->sf.use_fast_coef_costing); 1000 if (cpi->sf 2331 const struct scale_factors *const sf = &cm->frame_refs[ref_frame - 1].sf; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/ |
H A D | svc_encodeframe.c | 179 static void sf_create_index(struct Superframe *sf) { argument 185 if (sf->count == 0 || sf->count >= 8) return; 188 marker |= sf->count - 1; 192 if (sf->magnitude < mask) break; 199 sf->index_size = 2 + (mag + 1) * sf->count; 200 bufp = sf->buffer; 203 for (i = 0; i < sf->count; ++i) { 204 int this_sz = sf [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
H A D | onyx_if.c | 751 SPEED_FEATURES *sf = &cpi->sf; local 756 int last_improved_quant = sf->improved_quant; 768 sf->RD = 1; 769 sf->search_method = NSTEP; 770 sf->improved_quant = 1; 771 sf->improved_dct = 1; 772 sf->auto_filter = 1; 773 sf->recode_loop = 1; 774 sf [all...] |
H A D | onyx_int.h | 495 SPEED_FEATURES sf; member in struct:VP8_COMP
|