Searched refs:sign_cost (Results 1 – 5 of 5) sorted by relevance
/external/libvpx/vp9/encoder/ |
D | vp9_tokenize.c | 91 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 …]
|
D | vp9_encodemv.c | 72 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/test/ |
D | mv_cost_test.cc | 22 int sign_cost[2], class_cost[MV_CLASSES], class0_cost[CLASS0_SIZE]; in ReferenceBuildNmvComponentCostTable() local 26 av1_cost_tokens_from_cdf(sign_cost, mvcomp->sign_cdf, NULL); in ReferenceBuildNmvComponentCostTable() 68 mvcost[v] = cost + sign_cost[0]; in ReferenceBuildNmvComponentCostTable() 69 mvcost[-v] = cost + sign_cost[1]; in ReferenceBuildNmvComponentCostTable()
|
/external/libaom/av1/encoder/ |
D | encodemv.c | 128 int sign_cost[2], class_cost[MV_CLASSES], class0_cost[CLASS0_SIZE]; in av1_build_nmv_component_cost_table() local 134 av1_cost_tokens_from_cdf(sign_cost, mvcomp->sign_cdf, NULL); in av1_build_nmv_component_cost_table() 164 int negate_sign = sign_cost[1] - sign_cost[0]; in av1_build_nmv_component_cost_table() 178 mvcost[v] = fp_cost[o] + hp_cost[hp] + sign_cost[0]; in av1_build_nmv_component_cost_table() 245 mvcost[v] = cost + class0_hp_cost[hp] + sign_cost[0]; in av1_build_nmv_component_cost_table() 246 mvcost[-v] = cost + class0_hp_cost[hp] + sign_cost[1]; in av1_build_nmv_component_cost_table()
|
D | rd.c | 151 int sign_cost[CFL_JOINT_SIGNS]; in av1_fill_mode_rates() local 152 av1_cost_tokens_from_cdf(sign_cost, fc->cfl_sign_cdf, NULL); in av1_fill_mode_rates() 169 cost_u[u] += sign_cost[joint_sign]; in av1_fill_mode_rates()
|