Home
last modified time | relevance | path

Searched refs:sign_cost (Results 1 – 4 of 4) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_tokenize.c91 static const int16_t sign_cost[1] = { 512 }; variable
262 { 0, 0, 1, sign_cost }, // ONE_TOKEN
263 { 0, 0, 2, sign_cost }, // TWO_TOKEN
264 { 0, 0, 3, sign_cost }, // THREE_TOKEN
265 { 0, 0, 4, sign_cost }, // FOUR_TOKEN
278 { 0, 0, 1, sign_cost }, // ONE
279 { 0, 0, 2, sign_cost }, // TWO
280 { 0, 0, 3, sign_cost }, // THREE
281 { 0, 0, 4, sign_cost }, // FOUR
292 { 0, 0, 1, sign_cost }, // ONE
[all …]
Dvp9_encodemv.c72 int sign_cost[2], class_cost[MV_CLASSES], class0_cost[CLASS0_SIZE]; in build_nmv_component_cost_table() local
79 sign_cost[0] = vp9_cost_zero(mvcomp->sign); in build_nmv_component_cost_table()
80 sign_cost[1] = vp9_cost_one(mvcomp->sign); in build_nmv_component_cost_table()
112 mvcost[v] = cost + sign_cost[0]; in build_nmv_component_cost_table()
113 mvcost[-v] = cost + sign_cost[1]; in build_nmv_component_cost_table()
126 mvcost[v] = cost + hp_cost[0] + sign_cost[0]; in build_nmv_component_cost_table()
127 mvcost[-v] = cost + hp_cost[0] + sign_cost[1]; in build_nmv_component_cost_table()
129 mvcost[v + 1] = cost + hp_cost[1] + sign_cost[0]; in build_nmv_component_cost_table()
130 mvcost[-v - 1] = cost + hp_cost[1] + sign_cost[1]; in build_nmv_component_cost_table()
132 mvcost[v] = cost + sign_cost[0]; in build_nmv_component_cost_table()
[all …]
/external/libaom/libaom/av1/encoder/
Dencodemv.c86 int sign_cost[2], class_cost[MV_CLASSES], class0_cost[CLASS0_SIZE]; in build_nmv_component_cost_table() local
91 av1_cost_tokens_from_cdf(sign_cost, mvcomp->sign_cdf, NULL); in build_nmv_component_cost_table()
135 mvcost[v] = cost + sign_cost[0]; in build_nmv_component_cost_table()
136 mvcost[-v] = cost + sign_cost[1]; in build_nmv_component_cost_table()
Drd.c153 int sign_cost[CFL_JOINT_SIGNS]; in av1_fill_mode_rates() local
154 av1_cost_tokens_from_cdf(sign_cost, fc->cfl_sign_cdf, NULL); in av1_fill_mode_rates()
171 cost_u[u] += sign_cost[joint_sign]; in av1_fill_mode_rates()