Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dcost.c492 static int GetResidualCost(int ctx0, const VP8Residual* const res) { in GetResidualCost() argument
495 const int p0 = res->prob[n][ctx0][0]; in GetResidualCost()
496 const uint16_t* t = res->cost[n][ctx0]; in GetResidualCost()
500 int cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in GetResidualCost()
531 extern int VP8GetResidualCostMIPS32(int ctx0, const VP8Residual* const res);
Dcost.h59 typedef int (*VP8GetResidualCostFunc)(int ctx0, const VP8Residual* const res);
Dquant.c552 int ctx0, int coeff_type, in TrellisQuantizeBlock() argument
569 const int last_proba = probas[VP8EncBands[first]][ctx0][0]; in TrellisQuantizeBlock()
591 const score_t rate = (ctx0 == 0) ? VP8BitCost(1, last_proba) : 0; in TrellisQuantizeBlock()
593 ss_cur[m].costs = costs[VP8EncBands[first]][ctx0]; in TrellisQuantizeBlock()
/external/webp/src/dsp/
Denc_mips32.c512 extern int VP8GetResidualCostMIPS32(int ctx0, const VP8Residual* const res);
514 int VP8GetResidualCostMIPS32(int ctx0, const VP8Residual* const res) { in VP8GetResidualCostMIPS32() argument
517 int p0 = res->prob[n][ctx0][0]; in VP8GetResidualCostMIPS32()
518 const uint16_t* t = res->cost[n][ctx0]; in VP8GetResidualCostMIPS32()
536 cost = (ctx0 == 0) ? VP8BitCost(1, p0) : 0; in VP8GetResidualCostMIPS32()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c294 const int ctx0 = vp9_get_pred_context_single_ref_p1(xd); in read_ref_frames() local
295 const int bit0 = vp9_read(r, fc->single_ref_prob[ctx0][0]); in read_ref_frames()
297 ++counts->single_ref[ctx0][0][bit0]; in read_ref_frames()