Home
last modified time | relevance | path

Searched refs:cost (Results 1 – 14 of 14) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dtreewriter.c14 static void cost( in cost() function
32 cost(C, T, P, j, d); in cost()
38 cost(c, t, p, 0, 0); in vp8_cost_tokens()
42 cost(c, t, p, start, 0); in vp8_cost_tokens2()
Dencodemv.c104 unsigned int cost; in cost_mvcomponent() local
108 cost = vp8_cost_zero(p [mvpis_short]) in cost_mvcomponent()
112 return cost; in cost_mvcomponent()
117 cost = vp8_cost_one(p [mvpis_short]); in cost_mvcomponent()
120 cost += vp8_cost_bit(p [MVPbits + i], (x >> i) & 1); in cost_mvcomponent()
127 cost += vp8_cost_bit(p [MVPbits + i], (x >> i) & 1); in cost_mvcomponent()
132 cost += vp8_cost_bit(p [MVPbits + 3], (x >> 3) & 1); in cost_mvcomponent()
135 return cost; /* + vp8_cost_bit( p [MVPsign], v < 0); */ in cost_mvcomponent()
209 …const int cost = 7 + MV_PROB_UPDATE_CORRECTION + ((vp8_cost_one(update_p) - vp8_cost_zero(update_p… in update() local
211 if (cur_b - new_b > cost) in update()
Drdopt.c526 int cost = 0; in cost_coeffs() local
536 cost += mb->token_costs [type] [vp8_coef_bands[c]] [pt] [t]; in cost_coeffs()
537 cost += vp8_dct_value_cost_ptr[v]; in cost_coeffs()
542 cost += mb->token_costs [type] [vp8_coef_bands[c]] [pt] [DCT_EOB_TOKEN]; in cost_coeffs()
547 return cost; in cost_coeffs()
552 int cost = 0; in vp8_rdcost_mby() local
566 cost += cost_coeffs(mb, x->block + b, PLANE_TYPE_Y_NO_DC, in vp8_rdcost_mby()
569 cost += cost_coeffs(mb, x->block + 24, PLANE_TYPE_Y2, in vp8_rdcost_mby()
572 return cost; in vp8_rdcost_mby()
710 int cost = mb->mbmode_cost [xd->frame_type] [B_PRED]; in rd_pick_intra4x4mby_modes() local
[all …]
Dpickinter.c190 int cost = mb->mbmode_cost [xd->frame_type] [B_PRED]; in pick_intra4x4mby_modes() local
219 cost += r; in pick_intra4x4mby_modes()
230 *Rate = cost; in pick_intra4x4mby_modes()
235 error = RDCOST(mb->rdmult, mb->rddiv, cost, distortion); in pick_intra4x4mby_modes()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_cost.c37 static void cost(int *costs, vp9_tree tree, const vp9_prob *probs, in cost() function
49 cost(costs, tree, probs, ii, cc); in cost()
54 cost(costs, tree, probs, 0, 0); in vp9_cost_tokens()
61 cost(costs, tree, probs, 2, 0); in vp9_cost_tokens_skip()
Dvp9_cost.h36 int cost = 0; in treed_cost() local
41 cost += vp9_cost_bit(probs[i >> 1], bit); in treed_cost()
45 return cost; in treed_cost()
Dvp9_encodemv.c104 int z, c, o, d, e, f, cost = 0; in build_nmv_component_cost_table() local
107 cost += class_cost[c]; in build_nmv_component_cost_table()
112 cost += class0_cost[d]; in build_nmv_component_cost_table()
117 cost += bits_cost[i][((d >> i) & 1)]; in build_nmv_component_cost_table()
120 cost += class0_fp_cost[d][f]; in build_nmv_component_cost_table()
122 cost += fp_cost[f]; in build_nmv_component_cost_table()
126 cost += class0_hp_cost[e]; in build_nmv_component_cost_table()
128 cost += hp_cost[e]; in build_nmv_component_cost_table()
131 mvcost[v] = cost + sign_cost[0]; in build_nmv_component_cost_table()
132 mvcost[-v] = cost + sign_cost[1]; in build_nmv_component_cost_table()
Dvp9_segmentation.c92 int cost = c0123 * vp9_cost_zero(probs[0]) + in cost_segmap() local
97 cost += c01 * vp9_cost_zero(probs[1]) + in cost_segmap()
101 cost += segcounts[0] * vp9_cost_zero(probs[3]) + in cost_segmap()
104 cost += segcounts[2] * vp9_cost_zero(probs[4]) + in cost_segmap()
109 cost += c45 * vp9_cost_zero(probs[2]) + in cost_segmap()
113 cost += segcounts[4] * vp9_cost_zero(probs[5]) + in cost_segmap()
116 cost += segcounts[6] * vp9_cost_zero(probs[6]) + in cost_segmap()
120 return cost; in cost_segmap()
Dvp9_tokenize.c141 int cost = 0; in vp9_tokenize_initialize() local
149 cost += treed_cost(p->tree, p->prob, extra >> 1, length); in vp9_tokenize_initialize()
151 cost += vp9_cost_bit(vp9_prob_half, extra & 1); /* sign */ in vp9_tokenize_initialize()
152 dct_value_cost[i + DCT_MAX_VALUE] = cost; in vp9_tokenize_initialize()
Dvp9_rdopt.c570 int c, cost; in cost_coeffs() local
577 cost = token_costs[0][0][pt][EOB_TOKEN]; in cost_coeffs()
585 cost = (*token_costs)[0][pt][prev_t] + vp9_dct_value_cost_ptr[v]; in cost_coeffs()
597 cost += (*token_costs)[!prev_t][!prev_t][t] + vp9_dct_value_cost_ptr[v]; in cost_coeffs()
600 cost += (*token_costs)[!prev_t][pt][t] + vp9_dct_value_cost_ptr[v]; in cost_coeffs()
613 cost += (*token_costs)[0][!prev_t][EOB_TOKEN]; in cost_coeffs()
616 cost += (*token_costs)[0][pt][EOB_TOKEN]; in cost_coeffs()
624 return cost; in cost_coeffs()
1182 int cost = 0; in rd_pick_intra_sub_8x8_y_mode() local
1213 cost += r; in rd_pick_intra_sub_8x8_y_mode()
[all …]
/hardware/intel/bootstub/
DLICENSE152 cost of physically performing source distribution, a complete
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dwlioctl.h1058 uint32 cost; /* PLC affinity */ member
1066 uint32 cost; /* Link cost or mac cost */ member
/hardware/ti/omap3/dspbridge/libbridge/
DCOPYING309 than the cost of performing this distribution.
/hardware/bsp/intel/peripheral/libmraa/cmake/modules/
DLICENSE.LGPL309 than the cost of performing this distribution.