Lines Matching defs:lc
515 static void cabac_reinit(HEVCLocalContext *lc)
517 skip_bytes(&lc->cc, 0);
1063 HEVCLocalContext *lc = s->HEVClc;
1082 int16_t *coeffs = lc->tu.coeffs[c_idx > 0];
1093 int pred_mode_intra = (c_idx == 0) ? lc->tu.intra_pred_mode :
1094 lc->tu.intra_pred_mode_c;
1099 if (!lc->cu.cu_transquant_bypass_flag) {
1114 int qp_y = lc->qp_y;
1123 lc->tu.cu_qp_offset_cb;
1126 lc->tu.cu_qp_offset_cr;
1155 int matrix_id = lc->cu.pred_mode != MODE_INTRA;
1171 if (s->pps->transform_skip_enabled_flag && !lc->cu.cu_transquant_bypass_flag &&
1176 if (lc->cu.pred_mode == MODE_INTER && s->sps->explicit_rdpcm_enabled_flag &&
1177 (transform_skip_flag || lc->cu.cu_transquant_bypass_flag)) {
1308 (transform_skip_flag || lc->cu.cu_transquant_bypass_flag)) {
1349 (transform_skip_flag || lc->cu.cu_transquant_bypass_flag)) {
1394 if (!transform_skip_flag && !lc->cu.cu_transquant_bypass_flag)
1398 c_rice_param = lc->stat_coeff[sb_type] / 4;
1420 if (lc->cu.cu_transquant_bypass_flag ||
1421 (lc->cu.pred_mode == MODE_INTRA &&
1450 int c_rice_p_init = lc->stat_coeff[sb_type] / 4;
1452 lc->stat_coeff[sb_type]++;
1454 if (lc->stat_coeff[sb_type] > 0)
1455 lc->stat_coeff[sb_type]--;
1466 int c_rice_p_init = lc->stat_coeff[sb_type] / 4;
1468 lc->stat_coeff[sb_type]++;
1470 if (lc->stat_coeff[sb_type] > 0)
1471 lc->stat_coeff[sb_type]--;
1483 if(!lc->cu.cu_transquant_bypass_flag) {
1511 if (lc->cu.cu_transquant_bypass_flag) {
1521 lc->cu.pred_mode == MODE_INTRA;
1530 lc->cu.pred_mode == MODE_INTRA &&
1536 } else if (lc->cu.pred_mode == MODE_INTRA && c_idx == 0 && log2_trafo_size == 2) {
1554 if (lc->tu.cross_pf) {
1555 int16_t *coeffs_y = lc->tu.coeffs[0];
1558 coeffs[i] = coeffs[i] + ((lc->tu.res_scale_val * coeffs_y[i]) >> 3);
1566 HEVCLocalContext *lc = s->HEVClc;
1576 case 2: lc->pu.mvd.x = mvd_decode(s); break;
1577 case 1: lc->pu.mvd.x = mvd_sign_flag_decode(s); break;
1578 case 0: lc->pu.mvd.x = 0; break;
1582 case 2: lc->pu.mvd.y = mvd_decode(s); break;
1583 case 1: lc->pu.mvd.y = mvd_sign_flag_decode(s); break;
1584 case 0: lc->pu.mvd.y = 0; break;