Home
last modified time | relevance | path

Searched refs:QPy (Results 1 – 7 of 7) sorted by relevance

/external/opencore/codecs_v2/video/avc_h264/dec/src/
Dslice.cpp125 currMB->QPy = video->QPy; in DecodeMB()
220 temp += (video->QPy + 52); in DecodeMB()
221 currMB->QPy = video->QPy = temp - 52 * (temp * 79 >> 12); in DecodeMB()
222 if (currMB->QPy > 51 || currMB->QPy < 0) in DecodeMB()
224 video->QPy = AVC_CLIP3(0, 51, video->QPy); in DecodeMB()
227 video->QPy_div_6 = (video->QPy * 43) >> 8; in DecodeMB()
228 video->QPy_mod_6 = video->QPy - 6 * video->QPy_div_6; in DecodeMB()
229 …currMB->QPc = video->QPc = mapQPi2QPc[AVC_CLIP3(0, 51, video->QPy + video->currPicParams->chroma_q… in DecodeMB()
250 currMB->QPy = 0; /* necessary for deblocking */ // _OPTIMIZE in DecodeMB()
754 currMB->QPy = 26; in ConcealSlice()
Dheader.cpp712 video->QPy = 26 + currPPS->pic_init_qp_minus26 + sliceHdr->slice_qp_delta; in DecodeSliceHeader()
713 if (video->QPy > 51 || video->QPy < 0) in DecodeSliceHeader()
715 video->QPy = AVC_CLIP3(0, 51, video->QPy); in DecodeSliceHeader()
718 …video->QPc = mapQPi2QPc[AVC_CLIP3(0, 51, video->QPy + video->currPicParams->chroma_qp_index_offset… in DecodeSliceHeader()
720 video->QPy_div_6 = (video->QPy * 43) >> 8; in DecodeSliceHeader()
721 video->QPy_mod_6 = video->QPy - 6 * video->QPy_div_6; in DecodeSliceHeader()
/external/opencore/codecs_v2/video/avc_h264/enc/src/
Drate_control.cpp349 video->QPy = rateCtrl->Qc = rateCtrl->initQP; in RCInitFrameQP()
354 video->QPy = rateCtrl->Qc; in RCInitFrameQP()
377 pMP->QP = video->QPy; in RCInitFrameQP()
391 video->QPy = rateCtrl->initQP; in RCInitFrameQP()
399 picParam->pic_init_qp_minus26 = video->QPy - 26; in RCInitFrameQP()
403 encvid->lambda_mode = QP2QUANT[AVC_MAX(0, video->QPy-SHIFT_QP)]; in RCInitFrameQP()
704 video->QPy_div_6 = (currMB->QPy * 43) >> 8; in RCInitChromaQP()
705 video->QPy_mod_6 = currMB->QPy - 6 * video->QPy_div_6; in RCInitChromaQP()
706 …currMB->QPc = video->QPc = mapQPi2QPc[AVC_CLIP3(0, 51, currMB->QPy + video->currPicParams->chroma_… in RCInitChromaQP()
731 encvid->lambda_mode = QP2QUANT[AVC_MAX(0, currMB->QPy-SHIFT_QP)]; in RCInitChromaQP()
[all …]
Dslice.cpp337 if (!currMB->CBP && currMB->NumMbPart == 1 && currMB->QPy == video->QPy) in EncodeMB()
585 status = se_v(stream, currMB->QPy - video->QPy); in EncodeMBHeader()
586 video->QPy = currMB->QPy; /* = (video->QPyprev + currMB->mb_qp_delta + 52)%52; */ in EncodeMBHeader()
591 if (currMB->QPy != video->QPy) // current QP is not the same as previous QP in EncodeMBHeader()
Dinit.cpp895 sliceHdr->slice_qp_delta = video->QPy - 26 - currPPS->pic_init_qp_minus26; in InitSlice()
/external/opencore/codecs_v2/video/avc_h264/common/src/
Ddeblock.cpp330 QP = (MbP->QPy + MbQ->QPy + 1) >> 1; // Average QP of the two blocks; in DeblockMb()
374 indexA = MbQ->QPy + video->FilterOffsetA; in DeblockMb()
375 indexB = MbQ->QPy + video->FilterOffsetB; in DeblockMb()
437 QP = (MbP->QPy + MbQ->QPy + 1) >> 1; // Average QP of the two blocks; in DeblockMb()
/external/opencore/codecs_v2/video/avc_h264/common/include/
Davcint_common.h601 int QPy; /* Luma QP */ member
646 int QPy; member