43 for (j = 0; j < 2; j++) {
76 for (j = 0; j < 2; j++) {
93 for (j = 0; j < 2; j++) {
109 for (j = 0; j < 2; j++) {
120 for (j = 0; j < 2; j++) {
210 block_cbp = mb_cbp >> (block_num * 4), bottom_cbp,
212 block_is_intra = mb_is_intra >> block_num, bottom_is_intra;
217 dst = s->
dest[block_num - 3];
219 dst = s->
dest[0] + (block_num & 1) * 8 + ((block_num & 2) * 4 - 8) * linesize;
226 bottom_cbp = v->
cbp[s->
mb_x] >> (block_num * 4);
231 bottom_cbp = (block_num < 2) ? (mb_cbp >> ((block_num + 2) * 4))
232 : (v->
cbp[s->
mb_x] >> ((block_num - 2) * 4));
233 bottom_is_intra = (block_num < 2) ? (mb_is_intra >> (block_num + 2))
239 if (bottom_is_intra & 1 || block_is_intra & 1 ||
240 mv[0][0] !=
mv[mv_stride][0] ||
mv[0][1] !=
mv[mv_stride][1]) {
243 idx = ((bottom_cbp >> 2) | block_cbp) & 3;
258 idx = (block_cbp | (block_cbp >> 2)) & 3;
274 block_cbp = mb_cbp >> (block_num * 4), right_cbp,
276 block_is_intra = mb_is_intra >> block_num, right_is_intra;
281 dst = s->
dest[block_num - 3] - 8 * linesize;
283 dst = s->
dest[0] + (block_num & 1) * 8 + ((block_num & 2) * 4 - 16) * linesize - 8;
294 right_cbp = (block_num & 1) ? (v->
cbp[s->
mb_x - s->
mb_stride] >> ((block_num - 1) * 4))
295 : (mb_cbp >> ((block_num + 1) * 4));
297 : (mb_is_intra >> (block_num + 1));
300 if (block_is_intra & 1 || right_is_intra & 1 ||
mv[0][0] !=
mv[1][0] ||
mv[0][1] !=
mv[1][1]) {
303 idx = ((right_cbp >> 1) | block_cbp) & 5;
318 idx = (block_cbp | (block_cbp >> 1)) & 5;
335 for (i = 0; i < 6; i++) {
342 for (i = 0; i < 6; i++) {
348 for (i = 0; i < 6; i++) {