Lines Matching refs:lc

472 static int cabac_reinit(HEVCLocalContext *lc)
474 return skip_bytes(&lc->cc, 0) == NULL ? AVERROR_INVALIDDATA : 0;
1040 HEVCLocalContext *lc = s->HEVClc;
1059 int16_t *coeffs = (int16_t*)(c_idx ? lc->edge_emu_buffer2 : lc->edge_emu_buffer);
1070 int pred_mode_intra = (c_idx == 0) ? lc->tu.intra_pred_mode :
1071 lc->tu.intra_pred_mode_c;
1076 if (!lc->cu.cu_transquant_bypass_flag) {
1091 int qp_y = lc->qp_y;
1105 lc->tu.cu_qp_offset_cb;
1108 lc->tu.cu_qp_offset_cr;
1137 int matrix_id = lc->cu.pred_mode != MODE_INTRA;
1152 if (lc->cu.pred_mode == MODE_INTER && s->ps.sps->explicit_rdpcm_enabled_flag &&
1153 (transform_skip_flag || lc->cu.cu_transquant_bypass_flag)) {
1284 (transform_skip_flag || lc->cu.cu_transquant_bypass_flag)) {
1325 (transform_skip_flag || lc->cu.cu_transquant_bypass_flag)) {
1370 if (!transform_skip_flag && !lc->cu.cu_transquant_bypass_flag)
1374 c_rice_param = lc->stat_coeff[sb_type] / 4;
1396 if (lc->cu.cu_transquant_bypass_flag ||
1397 (lc->cu.pred_mode == MODE_INTRA &&
1426 int c_rice_p_init = lc->stat_coeff[sb_type] / 4;
1428 lc->stat_coeff[sb_type]++;
1430 if (lc->stat_coeff[sb_type] > 0)
1431 lc->stat_coeff[sb_type]--;
1442 int c_rice_p_init = lc->stat_coeff[sb_type] / 4;
1444 lc->stat_coeff[sb_type]++;
1446 if (lc->stat_coeff[sb_type] > 0)
1447 lc->stat_coeff[sb_type]--;
1459 if(!lc->cu.cu_transquant_bypass_flag) {
1487 if (lc->cu.cu_transquant_bypass_flag) {
1498 lc->cu.pred_mode == MODE_INTRA;
1507 lc->cu.pred_mode == MODE_INTRA &&
1513 } else if (lc->cu.pred_mode == MODE_INTRA && c_idx == 0 && log2_trafo_size == 2) {
1531 if (lc->tu.cross_pf) {
1532 int16_t *coeffs_y = (int16_t*)lc->edge_emu_buffer;
1535 coeffs[i] = coeffs[i] + ((lc->tu.res_scale_val * coeffs_y[i]) >> 3);
1543 HEVCLocalContext *lc = s->HEVClc;
1553 case 2: lc->pu.mvd.x = mvd_decode(s); break;
1554 case 1: lc->pu.mvd.x = mvd_sign_flag_decode(s); break;
1555 case 0: lc->pu.mvd.x = 0; break;
1559 case 2: lc->pu.mvd.y = mvd_decode(s); break;
1560 case 1: lc->pu.mvd.y = mvd_sign_flag_decode(s); break;
1561 case 0: lc->pu.mvd.y = 0; break;