Home
last modified time | relevance | path

Searched refs:new_b (Results 1 – 6 of 6) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_subexp.c128 const int new_b = cost_branch256(ct, newp); in vp9_prob_diff_update_savings_search() local
130 const int savings = old_b - new_b - update_b; in vp9_prob_diff_update_savings_search()
145 int i, old_b, new_b, update_b, savings, bestsavings, step; in vp9_prob_diff_update_savings_search_model() local
164 for (i = UNCONSTRAINED_NODES, new_b = 0; i < ENTROPY_NODES; ++i) in vp9_prob_diff_update_savings_search_model()
165 new_b += cost_branch256(ct + 2 * i, newplist[i]); in vp9_prob_diff_update_savings_search_model()
166 new_b += cost_branch256(ct + 2 * PIVOT_NODE, newplist[PIVOT_NODE]); in vp9_prob_diff_update_savings_search_model()
169 savings = old_b - new_b - update_b; in vp9_prob_diff_update_savings_search_model()
182 for (i = UNCONSTRAINED_NODES, new_b = 0; i < ENTROPY_NODES; ++i) in vp9_prob_diff_update_savings_search_model()
183 new_b += cost_branch256(ct + 2 * i, newplist[i]); in vp9_prob_diff_update_savings_search_model()
184 new_b += cost_branch256(ct + 2 * PIVOT_NODE, newplist[PIVOT_NODE]); in vp9_prob_diff_update_savings_search_model()
[all …]
/external/libvpx/libvpx/vp8/encoder/
Dencodemv.c208 const int new_b = vp8_cost_branch(ct, new_p); in update() local
211 if (cur_b - new_b > cost) in update()
Dbitstream.c74 unsigned int new_b = 0, old_b = 0; in update_mode() local
85 new_b += vp8_cost_branch(bct[i], Pnew[i]); in update_mode()
90 if (new_b + (n << 8) < old_b) in update_mode()
846 const int new_b = vp8_cost_branch(ct, newp); in prob_update_savings() local
850 return old_b - new_b - update_b; in prob_update_savings()
/external/webp/src/enc/
Dbackward_references.c185 PixOrCopyBlock* const new_b = BackwardRefsNewBlock(dst); in VP8LBackwardRefsCopy() local
186 if (new_b == NULL) return 0; // dst->error_ is set in VP8LBackwardRefsCopy()
187 memcpy(new_b->start_, b->start_, b->size_ * sizeof(*b->start_)); in VP8LBackwardRefsCopy()
188 new_b->size_ = b->size_; in VP8LBackwardRefsCopy()
/external/webp/src/dsp/
Dlossless_enc.c719 const uint32_t new_b = ((argb & 0xff) - green) & 0xff; in VP8LSubtractGreenFromBlueAndRed_C() local
720 argb_data[i] = (argb & 0xff00ff00) | (new_r << 16) | new_b; in VP8LSubtractGreenFromBlueAndRed_C()
/external/opencv3/3rdparty/libwebp/dsp/
Dlossless.c738 const uint32_t new_b = ((argb & 0xff) - green) & 0xff; in VP8LSubtractGreenFromBlueAndRed() local
739 argb_data[i] = (argb & 0xff00ff00) | (new_r << 16) | new_b; in VP8LSubtractGreenFromBlueAndRed()