Searched defs:blkidx (Results 1 - 3 of 3) sorted by relevance
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | block.cpp | 77 int dct_luma(AVCEncObject *encvid, int blkidx, uint8 *cur, uint8 *org, int *coef_cost) argument 91 coef += ((blkidx & 0x3) << 2) + ((blkidx >> 2) << 6); /* point to the 4x4 block */ 142 level = encvid->level[ras2dec[blkidx]]; 143 run = encvid->run[ras2dec[blkidx]]; 265 int r0, r1, r2, r3, j, blkidx; local 276 blkidx = blkIdx2blkXY[b8][b4]; 278 if (currMB->nz_coeff[blkidx])
|
H A D | slice.cpp | 171 int b8, b4, blkidx; local 240 blkidx = blkIdx2blkXY[b8][b4]; 242 numcoeff = dct_luma(encvid, blkidx, cur, org4, &cost8); 243 currMB->nz_coeff[blkidx] = numcoeff; 246 video->cbp4x4 |= (1 << blkidx); 270 blkidx = blkIdx2blkXY[b8][0]; 272 currMB->nz_coeff[blkidx] = 0; 273 currMB->nz_coeff[blkidx+1] = 0; 274 currMB->nz_coeff[blkidx+4] = 0; 275 currMB->nz_coeff[blkidx [all...] |
H A D | intra_est.cpp | 638 int b8, b4, cost4x4, blkidx; local 663 blkidx = blkIdx2blkXY[b8][b4]; 664 cost4x4 = blk_intra4x4_search(encvid, blkidx, comp, org4); 673 video->pred_block = encvid->pred_i4[currMB->i4Mode[blkidx]]; 674 numcoef = dct_luma(encvid, blkidx, comp, org4, &dummy); 675 currMB->nz_coeff[blkidx] = numcoef; 678 video->cbp4x4 |= (1 << blkidx); 720 int blk_intra4x4_search(AVCEncObject *encvid, int blkidx, uint8 *cur, uint8 *org) argument 746 if (blkidx <= 3) /* top row block (!block_y) */ 750 if (!(blkidx 1223 FindMostProbableI4Mode(AVCCommonObj *video, int blkidx) argument [all...] |
Completed in 37 milliseconds