Home
last modified time | relevance | path

Searched refs:qmat (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dfastcodemb.cpp289 Int *qmat; in CodeMB_MPEG() local
332 qmat = currVol->iqmat; in CodeMB_MPEG()
334 DctTh2 = (Int)((1.25 * QP - 1) * qmat[1] * 0.45);//0.567);//0.567); in CodeMB_MPEG()
335 DctTh3 = (Int)((1.25 * QP - 1) * qmat[2] * 0.55);//1.162); /* 8/2/2001 */ in CodeMB_MPEG()
336 DctTh4 = (Int)((1.25 * QP - 1) * qmat[32] * 0.8);//1.7583);//0.7942); in CodeMB_MPEG()
348 qmat = currVol->niqmat; in CodeMB_MPEG()
349 DctTh1 = (Int)(((QP << 1) - 0.5) * qmat[0] * 0.4);//0.2286);//0.3062); in CodeMB_MPEG()
350 DctTh2 = (Int)(((QP << 1) - 0.5) * qmat[1] * 0.45);//0.567);//0.4); in CodeMB_MPEG()
351 DctTh3 = (Int)(((QP << 1) - 0.5) * qmat[2] * 0.55);//1.162); /* 8/2/2001 */ in CodeMB_MPEG()
352 DctTh4 = (Int)(((QP << 1) - 0.5) * qmat[32] * 0.8);//1.7583);//0.7942); in CodeMB_MPEG()
[all …]
Dfastcodemb.h82 Int BlockQuantDequantMPEGInter(Int *rcoeff, Int *qcoeff, Int QP, Int *qmat,
86 Int BlockQuantDequantMPEGIntra(Int *rcoeff, Int *qcoeff, Int QP, Int *qmat,
90 Int BlockQuantDequantMPEGDCInter(Int *rcoeff, Int *qcoeff, Int QP, Int *qmat,
93 Int BlockQuantDequantMPEGDCIntra(Int *rcoeff, Int *qcoeff, Int QP, Int *qmat,
Dfastquant.cpp544 Int BlockQuantDequantMPEGInter(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat, in BlockQuantDequantMPEGInter() argument
587 stepsize = qmat[i]; in BlockQuantDequantMPEGInter()
673 Int BlockQuantDequantMPEGIntra(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat, in BlockQuantDequantMPEGIntra() argument
758 stepsize = qmat[i]; in BlockQuantDequantMPEGIntra()
852 Int BlockQuantDequantMPEGDCInter(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat, in BlockQuantDequantMPEGDCInter() argument
867 stepsize = qmat[0]; in BlockQuantDequantMPEGDCInter()
919 Int BlockQuantDequantMPEGDCIntra(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat, in BlockQuantDequantMPEGDCIntra() argument
926 OSCL_UNUSED_ARG(qmat); in BlockQuantDequantMPEGDCIntra()
Dmp4enc_lib.h80 Int BlockQuantDequantMPEGInter(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat,
84 Int BlockQuantDequantMPEGIntra(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat,
88 Int BlockQuantDequantMPEGDCInter(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat,
91 Int BlockQuantDequantMPEGDCIntra(Short *rcoeff, Short *qcoeff, Int QP, Int *qmat,
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dvlc_dequant.cpp76 int *qmat; in VlcDequantMpegIntraBlock() local
103 qmat = currVol->iqmat; in VlcDequantMpegIntraBlock()
148 temp = (int32)datablock[k] * qmat[k] * QP; in VlcDequantMpegIntraBlock()
193 temp = (int32)dcac_col[j] * qmat[k] * QP; in VlcDequantMpegIntraBlock()
209 temp = (int32)datablock[k] * qmat[k] * QP; in VlcDequantMpegIntraBlock()
242 temp = (int32)dcac_row[j] * qmat[k] * QP; in VlcDequantMpegIntraBlock()
259 temp = (int32)datablock[k] * qmat[k] * QP; in VlcDequantMpegIntraBlock()
298 temp = (int32)datablock[k] * qmat[k] * QP; in VlcDequantMpegIntraBlock()
314 temp = (int32)datablock[k] * qmat[k] * QP; in VlcDequantMpegIntraBlock()
400 int *qmat; in VlcDequantMpegInterBlock() local
[all …]
Dvop.cpp88 int *qmat, i, j; in DecodeVOLHeader() local
486 qmat = currVol->iqmat; in DecodeVOLHeader()
494 qmat[*(zigzag_inv+i)] = (int) BitstreamReadBits16(stream, 8); in DecodeVOLHeader()
496 while ((qmat[*(zigzag_inv+i)] != 0) && (++i < 64)); in DecodeVOLHeader()
499 qmat[*(zigzag_inv+j)] = qmat[*(zigzag_inv+i-1)]; in DecodeVOLHeader()
503 oscl_memcpy(qmat, mpeg_iqmat_def, 64*sizeof(int)); in DecodeVOLHeader()
506 qmat[0] = 0; /* necessary for switched && MPEG quant 07/09/01 */ in DecodeVOLHeader()
509 qmat = currVol->niqmat; in DecodeVOLHeader()
517 qmat[*(zigzag_inv+i)] = (int) BitstreamReadBits16(stream, 8); in DecodeVOLHeader()
519 while ((qmat[*(zigzag_inv+i)] != 0) && (++i < 64)); in DecodeVOLHeader()
[all …]