Searched refs:codeNum (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/media/libstagefright/codecs/avc/enc/src/
H A Dvlc_encode.cpp22 AVCEnc_Status ue_v(AVCEncBitstream *bitstream, uint codeNum) argument
24 if (AVCENC_SUCCESS != SetEGBitstring(bitstream, codeNum))
34 uint codeNum; local
39 codeNum = -value * 2;
43 codeNum = value * 2 - 1;
46 status = ue_v(bitstream, codeNum);
69 //codeNum = (1<<leadingZeros)-1+infobits;
70 AVCEnc_Status SetEGBitstring(AVCEncBitstream *bitstream, uint codeNum) argument
76 if (!codeNum)
84 while ((uint)(1 << leadingZeros) < codeNum
109 uint codeNum; local
[all...]
H A Davcenc_lib.h929 \param "codeNum" "Pointer to the value of the codeNum."
932 AVCEnc_Status ue_v(AVCEncBitstream *bitstream, uint codeNum);
952 This function creates Exp-Golomb codeword from codeNum.
954 \param "codeNum" "Pointer to the codeNum value."
957 AVCEnc_Status SetEGBitstring(AVCEncBitstream *bitstream, uint codeNum);
961 by calling ue_v() and then mapping the CBP to the corresponding VLC codeNum.
/frameworks/base/media/libstagefright/codecs/avc/dec/src/
H A Dvlc.cpp97 AVCDec_Status ue_v(AVCDecBitstream *bitstream, uint *codeNum) argument
108 *codeNum = (temp >> (15 - (leading_zeros << 1))) - 1;
114 *codeNum = temp - 1;
156 uint32 codeNum; local
161 codeNum = (1 << leadingZeros) - 1 + infobits;
163 *value = (codeNum + 1) / 2;
165 if ((codeNum & 0x01) == 0) // lsb is signed bit
232 /* see Table 9-4 assignment of codeNum to values of coded_block_pattern. */
243 uint codeNum; local
246 ue_v(stream, &codeNum);
[all...]
H A Davcdec_lib.h298 \param "codeNum" "Pointer to the value of the codeNum."
301 AVCDec_Status ue_v(AVCDecBitstream *bitstream, uint *codeNum);
351 by calling ue_v() and then mapping the codeNum to the corresponding CBP value.

Completed in 54 milliseconds