HomeSort by relevance Sort by last modified time
    Searched defs:currMB (Results 1 - 8 of 8) sorted by null

  /frameworks/av/media/libstagefright/codecs/avc/common/src/
mb_access.cpp 35 video->mbAvailA = (video->mblock[video->mbAddrA].slice_id == video->currMB->slice_id);
38 video->mbAvailD = (video->mblock[video->mbAddrD].slice_id == video->currMB->slice_id);
44 video->mbAvailB = (video->mblock[video->mbAddrB].slice_id == video->currMB->slice_id);
47 video->mbAvailC = (video->mblock[video->mbAddrC].slice_id == video->currMB->slice_id);
81 pred_nnz = video->currMB->nz_coeff[(j<<2)+i-1];
104 pred_nnz += video->currMB->nz_coeff[((j-1)<<2)+i];
140 pred_nnz = video->currMB->nz_coeff[(j<<2)+i-1];
164 pred_nnz += video->currMB->nz_coeff[((j-1)<<2)+i];
188 AVCMacroblock *currMB = video->currMB;
    [all...]
  /frameworks/av/media/libstagefright/codecs/avc/enc/src/
block.cpp 192 if (video->currMB->mb_intra) // only do inverse transform with intra block
260 void MBInterIdct(AVCCommonObj *video, uint8 *curL, AVCMacroblock *currMB, int picPitch)
272 if (currMB->CBP&(1 << b8))
278 if (currMB->nz_coeff[blkidx])
365 AVCMacroblock *currMB = video->currMB;
367 uint8 *pred = encvid->pred_i16[currMB->i16Mode];
580 currMB->CBP = 0;
627 currMB->nz_coeff[blkIdx2blkXY[b8][b4]] = ncoeff; /* in raster scan !!! */
630 currMB->CBP |= (1 << b8)
    [all...]
rate_control.cpp 695 AVCMacroblock *currMB = video->currMB;
700 video->QPy_div_6 = (currMB->QPy * 43) >> 8;
701 video->QPy_mod_6 = currMB->QPy - 6 * video->QPy_div_6;
702 currMB->QPc = video->QPc = mapQPi2QPc[AVC_CLIP3(0, 51, currMB->QPy + video->currPicParams->chroma_qp_index_offset)];
727 encvid->lambda_mode = QP2QUANT[AVC_MAX(0, currMB->QPy-SHIFT_QP)];
737 AVCMacroblock *currMB = video->currMB;
739 currMB->QPy = video->QPy; /* set to previous value or picture level *
    [all...]
slice.cpp 27 AVCMacroblock *currMB ;
44 currMB = video->currMB = &(video->mblock[CurrMbAddr]);
45 currMB->slice_id = video->slice_id; // for deblocking
51 /* calculate currMB->QPy */
159 AVCMacroblock *currMB = video->currMB;
206 if (currMB->mbMode == AVC_I_PCM)
219 //RCCalculateMAD(encvid,currMB,orgL,orgPitch); // no need to re-calculate MAD for Intra
224 if (!currMB->mb_intra
    [all...]
motion_comp.cpp 42 AVCMacroblock *currMB = video->currMB;
73 for (mbPartIdx = 0; mbPartIdx < currMB->NumMbPart; mbPartIdx++)
75 MbHeight = currMB->SubMbPartHeight[mbPartIdx];
76 MbWidth = currMB->SubMbPartWidth[mbPartIdx];
79 ref_idx = currMB->ref_idx_L0[(mbPartIdx_Y << 1) + mbPartIdx_X];
86 for (subMbPartIdx = 0; subMbPartIdx < currMB->NumSubMbPart[mbPartIdx]; subMbPartIdx++)
90 mv = (int16*)(currMB->mvL0 + block_x + (block_y << 2));
111 offset_indx = currMB->SubMbPartWidth[mbPartIdx] >> 3;
113 offset_MbPart_indx = currMB->MbPartWidth >> 4
    [all...]
motion_est.cpp 248 AVCMacroblock *currMB, *mblock = video->mblock;
351 video->currMB = currMB = mblock + mbnum;
356 if (currMB->mb_intra == 0) /* for INTER mode */
372 currMB->mbMode = AVC_P16;
373 currMB->MBPartPredMode[0][0] = AVC_Pred_L0;
377 currMB->mvL0[k>>1] = mv_uint32;
831 currMB->NumMbPart, currMB->MbPartWidth, currMB->MbPartHeight
    [all...]
intra_est.cpp 115 AVCMacroblock *currMB = video->currMB;
125 currMB->CBP = 0;
177 if (currMB->mb_intra)
182 memset(currMB->mvL0, 0, sizeof(int32)*16);
183 currMB->ref_idx_L0[0] = currMB->ref_idx_L0[1] =
184 currMB->ref_idx_L0[2] = currMB->ref_idx_L0[3] = -1;
434 AVCMacroblock *currMB = video->currMB
    [all...]
  /frameworks/av/media/libstagefright/codecs/avc/common/include/
avcint_common.h 678 AVCMacroblock *currMB; /* pointer to current macroblock */
    [all...]

Completed in 529 milliseconds