Lines Matching refs:j
634 RK_S32 c, i, j, k, l, m, n, max, size2, res, sharp; in decode_parser_header() local
1020 for (j = 1; j < 4; j++) { in decode_parser_header()
1021 s->segmentation.feat[i].lflvl[j][0] = in decode_parser_header()
1022 av_clip_uintp2(lflvl + ((s->lf_delta.ref[j] + in decode_parser_header()
1024 s->segmentation.feat[i].lflvl[j][1] = in decode_parser_header()
1025 av_clip_uintp2(lflvl + ((s->lf_delta.ref[j] + in decode_parser_header()
1139 for (j = 0; j < 2; j++) { in decode_parser_header()
1142 s->prob_flag_delta.p_flag.tx16p[i][j] = 1; in decode_parser_header()
1143 s->prob.p.tx16p[i][j] = in decode_parser_header()
1144 update_prob(&s->c, s->prob.p.tx16p[i][j], in decode_parser_header()
1145 &s->prob_flag_delta.p_delta.tx16p[i][j]); in decode_parser_header()
1149 for (j = 0; j < 3; j++) { in decode_parser_header()
1152 s->prob_flag_delta.p_flag.tx32p[i][j] = 1; in decode_parser_header()
1153 s->prob.p.tx32p[i][j] = in decode_parser_header()
1154 update_prob(&s->c, s->prob.p.tx32p[i][j], in decode_parser_header()
1155 &s->prob_flag_delta.p_delta.tx32p[i][j]); in decode_parser_header()
1165 for (j = 0; j < 2; j++) in decode_parser_header()
1169 RK_U8 *p = s->prob.coef[i][j][k][l][m]; in decode_parser_header()
1170 RK_U8 *p_flag = s->prob_flag_delta.coef_flag[i][j][k][l][m]; in decode_parser_header()
1171 RK_U8 *p_delta = s->prob_flag_delta.coef_delta[i][j][k][l][m]; in decode_parser_header()
1172 RK_U8 *r = ref[j][k][l][m]; in decode_parser_header()
1186 for (j = 0; j < 2; j++) in decode_parser_header()
1190 RK_U8 *p = s->prob.coef[i][j][k][l][m]; in decode_parser_header()
1191 RK_U8 *r = ref[j][k][l][m]; in decode_parser_header()
1213 for (j = 0; j < 3; j++) { in decode_parser_header()
1215 s->prob_flag_delta.p_flag.mv_mode[i][j] = 1; in decode_parser_header()
1216 s->prob.p.mv_mode[i][j] = in decode_parser_header()
1217 update_prob(&s->c, s->prob.p.mv_mode[i][j], in decode_parser_header()
1218 &s->prob_flag_delta.p_delta.mv_mode[i][j]); in decode_parser_header()
1224 for (j = 0; j < 2; j++) { in decode_parser_header()
1226 s->prob_flag_delta.p_flag.filter[i][j] = 1; in decode_parser_header()
1227 s->prob.p.filter[i][j] = in decode_parser_header()
1228 update_prob(&s->c, s->prob.p.filter[i][j], in decode_parser_header()
1229 &s->prob_flag_delta.p_delta.filter[i][j]); in decode_parser_header()
1289 for (j = 0; j < 9; j++) { in decode_parser_header()
1291 s->prob_flag_delta.p_flag.y_mode[i][j] = 1; in decode_parser_header()
1292 s->prob.p.y_mode[i][j] = in decode_parser_header()
1293 update_prob(&s->c, s->prob.p.y_mode[i][j], in decode_parser_header()
1294 &s->prob_flag_delta.p_delta.y_mode[i][j]); in decode_parser_header()
1299 for (j = 0; j < 4; j++) in decode_parser_header()
1302 s->prob_flag_delta.p_flag.partition[3 - i][j][k] = 1; in decode_parser_header()
1303 s->prob.p.partition[3 - i][j][k] = in decode_parser_header()
1304 update_prob(&s->c, s->prob.p.partition[3 - i][j][k], in decode_parser_header()
1305 &s->prob_flag_delta.p_delta.partition[3 - i][j][k]); in decode_parser_header()
1325 for (j = 0; j < 10; j++) in decode_parser_header()
1327 s->prob_flag_delta.p_flag.mv_comp[i].classes[j] = 1; in decode_parser_header()
1328 s->prob_flag_delta.p_delta.mv_comp[i].classes[j] = in decode_parser_header()
1329 s->prob.p.mv_comp[i].classes[j] = (vpx_rac_get_uint(&s->c, 7) << 1) | 1; in decode_parser_header()
1338 for (j = 0; j < 10; j++) in decode_parser_header()
1340 s->prob_flag_delta.p_flag.mv_comp[i].bits[j] = 1; in decode_parser_header()
1341 s->prob_flag_delta.p_delta.mv_comp[i].bits[j] = in decode_parser_header()
1342 s->prob.p.mv_comp[i].bits[j] = (vpx_rac_get_uint(&s->c, 7) << 1) | 1; in decode_parser_header()
1347 for (j = 0; j < 2; j++) in decode_parser_header()
1350 s->prob_flag_delta.p_flag.mv_comp[i].class0_fp[j][k] = 1; in decode_parser_header()
1351 s->prob_flag_delta.p_delta.mv_comp[i].class0_fp[j][k] = in decode_parser_header()
1352 … s->prob.p.mv_comp[i].class0_fp[j][k] = (vpx_rac_get_uint(&s->c, 7) << 1) | 1; in decode_parser_header()
1355 for (j = 0; j < 3; j++) in decode_parser_header()
1357 s->prob_flag_delta.p_flag.mv_comp[i].fp[j] = 1; in decode_parser_header()
1358 s->prob_flag_delta.p_delta.mv_comp[i].fp[j] = in decode_parser_header()
1359 s->prob.p.mv_comp[i].fp[j] = in decode_parser_header()
1404 RK_S32 i, j, k, l, m; in adapt_probs() local
1410 for (j = 0; j < 2; j++) in adapt_probs()
1414 RK_U8 *pp = s->prob_ctx[s->framectxid].coef[i][j][k][l][m]; in adapt_probs()
1415 RK_U32 *e = s->counts.eob[i][j][k][l][m]; in adapt_probs()
1416 RK_U32 *c = s->counts.coef[i][j][k][l][m]; in adapt_probs()
1478 for (j = 0; j < 4; j++) { in adapt_probs()
1479 RK_U8 *pp = p->partition[i][j]; in adapt_probs()
1480 RK_U32 *c = s->counts.partition[i][j]; in adapt_probs()
1564 for (j = 0; j < 10; j++) in adapt_probs()
1565 adapt_prob(&pp[j], c2[j][0], c2[j][1], 20, 128); in adapt_probs()
1567 for (j = 0; j < 2; j++) { in adapt_probs()
1568 pp = p->mv_comp[i].class0_fp[j]; in adapt_probs()
1569 c = s->counts.class0_fp[i][j]; in adapt_probs()
1705 RK_S32 j, k, l, m; in vp9_parser_frame() local
1708 for (j = 0; j < 2; j++) in vp9_parser_frame()
1712 memcpy(s->prob_ctx[s->framectxid].coef[i][j][k][l][m], in vp9_parser_frame()
1713 s->prob.coef[i][j][k][l][m], 3); in vp9_parser_frame()
1809 RK_S32 i, j; in inv_count_data() local
1820 j = 0; in inv_count_data()
1822 memcpy(&s->counts.partition[j], &partition_probs[i], 64); in inv_count_data()
1823 j++; in inv_count_data()
1829 for (j = 0; j < 10; j++) { in inv_count_data()
1830 value = count_y_mode[i][j]; in inv_count_data()
1831 if (j == 0) in inv_count_data()
1833 else if (j == 1) in inv_count_data()
1835 else if (j == 2) in inv_count_data()
1837 else if (j == 7) in inv_count_data()
1839 else if (j == 8) in inv_count_data()
1842 s->counts.y_mode[i][j] = value; in inv_count_data()
1880 for (j = 0; j < 10; j++) { in inv_count_data()
1881 value = src_uv[j]; in inv_count_data()
1882 if (j == 0) in inv_count_data()
1884 else if (j == 1) in inv_count_data()
1886 else if (j == 2) in inv_count_data()
1888 else if (j == 7) in inv_count_data()
1890 else if (j == 8) in inv_count_data()
1893 dst_uv[j] = value; in inv_count_data()