Home
last modified time | relevance | path

Searched refs:zerosLeft (Results 1 – 5 of 5) sorted by relevance

/external/opencore/codecs_v2/video/avc_h264/enc/src/
Dresidual.cpp155 int zerosLeft; in enc_residual_block() local
217 zerosLeft = 0; in enc_residual_block()
222 zerosLeft += run[i]; in enc_residual_block()
364 ce_TotalZeros(stream, zerosLeft, TotalCoeff); in enc_residual_block()
368 ce_TotalZerosChromaDC(stream, zerosLeft, TotalCoeff); in enc_residual_block()
373 zerosLeft = 0; in enc_residual_block()
379 if (zerosLeft > 0) in enc_residual_block()
381 ce_RunBefore(stream, run[i], zerosLeft); in enc_residual_block()
384 zerosLeft = zerosLeft - run[i]; in enc_residual_block()
Dvlc_encode.cpp294 AVCEnc_Status ce_RunBefore(AVCEncBitstream *stream, int run_before, int zerosLeft) in ce_RunBefore() argument
321 if (zerosLeft <= 6) in ce_RunBefore()
323 len = lenRunBefore[zerosLeft-1][run_before]; in ce_RunBefore()
324 code = codRunBefore[zerosLeft-1][run_before]; in ce_RunBefore()
Davcenc_lib.h1012 AVCEnc_Status ce_RunBefore(AVCEncBitstream *stream, int run_before, int zerosLeft);
/external/opencore/codecs_v2/video/avc_h264/dec/src/
Dresidual.cpp358 int levelCode, levelSuffixSize, zerosLeft; in residual_block_cavlc() local
481 ce_TotalZeros(stream, &zerosLeft, TotalCoeff); in residual_block_cavlc()
485 ce_TotalZerosChromaDC(stream, &zerosLeft, TotalCoeff); in residual_block_cavlc()
490 zerosLeft = 0; in residual_block_cavlc()
495 if (zerosLeft > 0) in residual_block_cavlc()
497 ce_RunBefore(stream, &run_before, zerosLeft); in residual_block_cavlc()
503 zerosLeft = 0; // could be negative under error conditions in residual_block_cavlc()
506 zerosLeft = zerosLeft - run[i]; in residual_block_cavlc()
509 if (zerosLeft < 0) in residual_block_cavlc()
511 zerosLeft = 0; in residual_block_cavlc()
[all …]
Dvlc.cpp769 AVCDec_Status ce_RunBefore(AVCDecBitstream *stream, int *code, int zerosLeft) in ce_RunBefore() argument
784 if (zerosLeft <= 6) in ce_RunBefore()
786 BitstreamShowBits(stream, codlen[zerosLeft-1], &temp); in ce_RunBefore()
788 pcode = (uint8*) & (RunBeforeTab[zerosLeft-1][temp][0]); in ce_RunBefore()