Lines Matching defs:pitch

40     int pitch = currPic->pitch;
43 offset = (video->mb_y << 4) * pitch + (video->mb_x << 4);
52 video->pred_pitch = pitch;
63 comp = curL;// + (block_x<<2) + (block_y<<2)*currPic->pitch;
82 itrans(dataBlock, comp, comp, pitch);
94 comp += ((pitch << 2) - 4);
113 curL += (pitch << 3) - 8;
135 pitch = 1;
137 video->pintra_pred_top = curL - pitch;
141 video->intra_pred_topleft = *(curL - pitch - 1);
161 Intra_16x16_Horizontal(video, pitch);
169 Intra_16x16_DC(video, pitch);
174 Intra_16x16_Plane(video, pitch);
185 pitch = currPic->pitch;
202 itrans(dataBlock, curL, curL, pitch);
217 curL += ((pitch << 2) - 16);
222 offset = (offset >> 2) + (video->mb_x << 2); //((video->mb_y << 3)* pitch + (video->mb_x << 3));
233 pitch = 1;
235 pitch >>= 1;
236 video->pintra_pred_top_cb = curCb - pitch;
238 video->pintra_pred_top_cr = curCr - pitch;
243 video->intra_pred_topleft_cb = *(curCb - pitch - 1);
244 video->intra_pred_topleft_cr = *(curCr - pitch - 1);
255 video->pred_pitch = currPic->pitch >> 1;
261 Intra_Chroma_DC(video, pitch, predCb, predCr);
267 Intra_Chroma_Horizontal(video, pitch, predCb, predCr);
289 Intra_Chroma_Plane(video, pitch, predCb, predCr);
301 pitch = currPic->pitch >> 1;
315 ictrans(dataBlock, curCb, curCb, pitch);
336 ictrans(dataBlock, curCr, curCr, pitch);
352 curCb += ((pitch << 2) - 8);
353 curCr += ((pitch << 2) - 8);
367 int pitch;
375 pitch = 20;
380 pitch = currPic->pitch;
381 tmp_word = offset + (pitch << 2) - (pitch >> 1);
386 pred = currPic->Sl + offset + (pitch << 4) - pitch;/* bottom line for Y */
415 pred -= ((pitch << 4) - pitch - 15); /* last column */
421 tmp_byte = *(pred += pitch);
423 tmp_byte = *(pred += pitch);
426 tmp_word = *(pred += pitch);
427 tmp_byte = *(pred += pitch);
429 tmp_byte = *(pred += pitch);
431 tmp_byte = *(pred += pitch);
434 tmp_word = *(pred += pitch);
435 tmp_byte = *(pred += pitch);
437 tmp_byte = *(pred += pitch);
439 tmp_byte = *(pred += pitch);
442 tmp_word = *(pred += pitch);
443 tmp_byte = *(pred += pitch);
445 tmp_byte = *(pred += pitch);
447 tmp_byte = *(pred += pitch);
450 *(tmp_ptr += 4) = *(pred += pitch);
455 pitch = 12;
457 pitch >>= 1;
458 predCb -= (7 * pitch - 7);
464 tmp_byte = *(predCb += pitch);
466 tmp_byte = *(predCb += pitch);
469 tmp_word = *(predCb += pitch);
470 tmp_byte = *(predCb += pitch);
472 tmp_byte = *(predCb += pitch);
474 tmp_byte = *(predCb += pitch);
477 *(tmp_ptr += 4) = *(predCb += pitch);
483 predCr -= (7 * pitch - 7);
489 tmp_byte = *(predCr += pitch);
491 tmp_byte = *(predCr += pitch);
494 tmp_word = *(predCr += pitch);
495 tmp_byte = *(predCr += pitch);
497 tmp_byte = *(predCr += pitch);
499 tmp_byte = *(predCr += pitch);
502 *(tmp_ptr += 4) = *(predCr += pitch);
513 int pitch = video->currPic->pitch;
518 block_offset = (block_y << 2) * pitch + (block_x << 2);
526 pitch = 1;
531 pitch = video->pred_pitch;
558 video->pintra_pred_top = comp - pitch;
562 video->intra_pred_topleft = *(comp - pitch - 1);
582 Intra_4x4_Horizontal(video, pitch, block_offset);
601 Intra_4x4_DC(video, pitch, block_offset, &availability);
631 Intra_4x4_Diagonal_Down_Right(video, pitch, block_offset);
645 Intra_4x4_Diagonal_Vertical_Right(video, pitch, block_offset);
659 Intra_4x4_Diagonal_Horizontal_Down(video, pitch, block_offset);
691 Intra_4x4_Horizontal_Up(video, pitch, block_offset);
736 void Intra_4x4_Horizontal(AVCCommonObj *video, int pitch, int block_offset)
749 comp_ref += pitch;
755 comp_ref += pitch;
761 comp_ref += pitch;
770 void Intra_4x4_DC(AVCCommonObj *video, int pitch, int block_offset,
782 comp_ref += pitch;
784 comp_ref += pitch;
786 comp_ref += pitch;
900 void Intra_4x4_Diagonal_Down_Right(AVCCommonObj *video, int pitch, int
923 comp_refy += pitch; /* re-use x1 instead of y1 */
927 comp_refy += pitch; /* re-use x0 instead of y2 */
931 comp_refy += pitch; /* re-use x2 instead of y3 */
965 void Intra_4x4_Diagonal_Vertical_Right(AVCCommonObj *video, int pitch, int block_offset)
989 comp_refy += pitch; /* reuse x2 instead of y1 */
1002 comp_refy += pitch; /* reuse x0 instead of y2 */
1005 comp_refy += pitch; /* reuse x1 instead of y3 */
1035 void Intra_4x4_Diagonal_Horizontal_Down(AVCCommonObj *video, int pitch,
1055 comp_refy += pitch; /* reuse x1 instead of y1 */
1060 comp_refy += pitch; /* reuse x0 instead of y2 */
1064 comp_refy += pitch; /* reuse x1 instead of y3 */
1167 void Intra_4x4_Horizontal_Up(AVCCommonObj *video, int pitch, int block_offset)
1177 comp_refy += pitch;
1179 comp_refy += pitch;
1181 comp_refy += pitch;
1253 void Intra_16x16_Horizontal(AVCCommonObj *video, int pitch)
1271 comp_ref += pitch;
1276 void Intra_16x16_DC(AVCCommonObj *video, int pitch)
1319 comp_ref_y += pitch;
1333 comp_ref_y += pitch;
1356 void Intra_16x16_Plane(AVCCommonObj *video, int pitch)
1371 comp_ref_y0 = comp_ref_y + (pitch << 3);
1372 comp_ref_y1 = comp_ref_y + 6 * pitch;
1378 comp_ref_y0 += pitch;
1379 comp_ref_y1 -= pitch;
1386 a_16 = ((*(comp_ref_x + 15) + *(comp_ref_y + 15 * pitch)) << 4) + 16;;
1482 void Intra_Chroma_DC(AVCCommonObj *video, int pitch, uint8 *predCb, uint8 *predCr)
1521 sum_y0 += *(comp_ref_y += pitch);
1522 sum_y0 += *(comp_ref_y += pitch);
1523 sum_y0 += *(comp_ref_y += pitch);
1525 sum_y1 = *(comp_ref_y += pitch);
1526 sum_y1 += *(comp_ref_y += pitch);
1527 sum_y1 += *(comp_ref_y += pitch);
1528 sum_y1 += *(comp_ref_y += pitch);
1546 sum_y0 += *(comp_ref_y += pitch);
1547 sum_y0 += *(comp_ref_y += pitch);
1548 sum_y0 += *(comp_ref_y += pitch);
1550 sum_y1 = *(comp_ref_y += pitch);
1551 sum_y1 += *(comp_ref_y += pitch);
1552 sum_y1 += *(comp_ref_y += pitch);
1553 sum_y1 += *(comp_ref_y += pitch);
1620 void Intra_Chroma_Horizontal(AVCCommonObj *video, int pitch, uint8 *predCb, uint8 *predCr)
1640 comp += pitch;
1682 void Intra_Chroma_Plane(AVCCommonObj *video, int pitch, uint8 *predCb, uint8 *predCr)
1705 comp_ref_y0 = comp_ref_y + (pitch << 2);
1706 comp_ref_y1 = comp_ref_y + (pitch << 1);
1711 comp_ref_y0 += pitch;
1712 comp_ref_y1 -= pitch;
1717 a_16_C[component] = ((*(comp_ref_x + 7) + *(comp_ref_y + 7 * pitch)) << 4) + 16;