Home
last modified time | relevance | path

Searched refs:bits_cost (Results 1 – 3 of 3) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dpalette.c47 int bits_cost = bit_depth; in delta_encode_cost() local
48 if (num == 1) return bits_cost; in delta_encode_cost()
49 bits_cost += 2; in delta_encode_cost()
63 bits_cost += bits_per_delta; in delta_encode_cost()
67 return bits_cost; in delta_encode_cost()
Dencodemv.c123 int bits_cost[MV_OFFSET_BITS][2]; in build_nmv_component_cost_table() local
131 av1_cost_tokens_from_cdf(bits_cost[i], mvcomp->bits_cdf[i], NULL); in build_nmv_component_cost_table()
155 for (i = 0; i < b; ++i) cost += bits_cost[i][((d >> i) & 1)]; in build_nmv_component_cost_table()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemv.c73 int bits_cost[MV_OFFSET_BITS][2]; in build_nmv_component_cost_table() local
84 bits_cost[i][0] = vp9_cost_zero(mvcomp->bits[i]); in build_nmv_component_cost_table()
85 bits_cost[i][1] = vp9_cost_one(mvcomp->bits[i]); in build_nmv_component_cost_table()
121 for (i = 0; i < b; ++i) whole_cost += bits_cost[i][((d >> i) & 1)]; in build_nmv_component_cost_table()