Home
last modified time | relevance | path

Searched refs:ctx0 (Results 1 – 9 of 9) sorted by relevance

/external/webp/src/dsp/
Dcost_mips_dsp_r2.c18 static int GetResidualCost(int ctx0, const VP8Residual* const res) { in GetResidualCost() argument
23 int p0 = res->prob[n][ctx0][0]; in GetResidualCost()
25 const uint16_t* t = costs[n][ctx0]; in GetResidualCost()
29 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost()
Dcost.c322 static int GetResidualCost(int ctx0, const VP8Residual* const res) { in GetResidualCost() argument
325 const int p0 = res->prob[n][ctx0][0]; in GetResidualCost()
327 const uint16_t* t = costs[n][ctx0]; in GetResidualCost()
331 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost()
Dcost_mips32.c18 static int GetResidualCost(int ctx0, const VP8Residual* const res) { in GetResidualCost() argument
23 int p0 = res->prob[n][ctx0][0]; in GetResidualCost()
25 const uint16_t* t = costs[n][ctx0]; in GetResidualCost()
29 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost()
Dcost_sse2.c45 static int GetResidualCostSSE2(int ctx0, const VP8Residual* const res) { in GetResidualCostSSE2() argument
50 const int p0 = res->prob[n][ctx0][0]; in GetResidualCostSSE2()
52 const uint16_t* t = costs[n][ctx0]; in GetResidualCostSSE2()
56 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCostSSE2()
Ddsp.h209 typedef int (*VP8GetResidualCostFunc)(int ctx0,
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c346 const int ctx0 = vp9_get_pred_context_single_ref_p1(xd); in read_ref_frames() local
347 const int bit0 = vpx_read(r, fc->single_ref_prob[ctx0][0]); in read_ref_frames()
349 ++counts->single_ref[ctx0][0][bit0]; in read_ref_frames()
/external/webp/src/enc/
Dquant.c572 int ctx0, int coeff_type, in TrellisQuantizeBlock() argument
590 const int last_proba = probas[VP8EncBands[first]][ctx0][0]; in TrellisQuantizeBlock()
612 const score_t rate = (ctx0 == 0) ? VP8BitCost(1, last_proba) : 0; in TrellisQuantizeBlock()
614 ss_cur[m].costs = costs[first][ctx0]; in TrellisQuantizeBlock()
/external/opencv3/3rdparty/libwebp/enc/
Dframe.c285 static int GetResidualCost(int ctx0, const VP8Residual* const res) { in GetResidualCost() argument
288 int p0 = res->prob[n][ctx0][0]; in GetResidualCost()
289 const uint16_t* t = res->cost[n][ctx0]; in GetResidualCost()
Dquant.c489 int ctx0, int coeff_type, in TrellisQuantizeBlock() argument
506 const int last_proba = last_costs[VP8EncBands[first]][ctx0][0]; in TrellisQuantizeBlock()
529 NODE(n, m).ctx = ctx0; in TrellisQuantizeBlock()