Home
last modified time | relevance | path

Searched refs:nBits (Results 1 – 8 of 8) sorted by relevance

/external/opencore/codecs_v2/video/avc_h264/enc/src/
Dbitstream_io.cpp143 AVCEnc_Status BitstreamWriteBits(AVCEncBitstream *stream, int nBits, uint code) in BitstreamWriteBits() argument
151 if (nBits > WORD_SIZE) /* has to be taken care of specially */ in BitstreamWriteBits()
157 if (nBits <= bit_left) /* more bits left in current_word */ in BitstreamWriteBits()
159 stream->current_word = (current_word << nBits) | code; in BitstreamWriteBits()
160 stream->bit_left -= nBits; in BitstreamWriteBits()
169 stream->current_word = (current_word << bit_left) | (code >> (nBits - bit_left)); in BitstreamWriteBits()
171 nBits -= bit_left; in BitstreamWriteBits()
177 stream->bit_left = WORD_SIZE - nBits; in BitstreamWriteBits()
Davcenc_lib.h254 AVCEnc_Status BitstreamWriteBits(AVCEncBitstream *stream, int nBits, uint code);
/external/opencore/codecs_v2/video/avc_h264/dec/src/
Davc_bitstream.cpp170 AVCDec_Status BitstreamReadBits(AVCDecBitstream *stream, int nBits, uint *code) in BitstreamReadBits() argument
172 if (stream->incnt < nBits) in BitstreamReadBits()
177 *code = stream->curr_word >> (32 - nBits); in BitstreamReadBits()
178 BitstreamFlushBits(stream, nBits); in BitstreamReadBits()
194 AVCDec_Status BitstreamShowBits(AVCDecBitstream *stream, int nBits, uint *code) in BitstreamShowBits() argument
196 if (stream->incnt < nBits) in BitstreamShowBits()
202 *code = stream->curr_word >> (32 - nBits); in BitstreamShowBits()
Davcdec_bitstream.h71 AVCDec_Status BitstreamReadBits(AVCDecBitstream *stream, int nBits, uint *code);
82 AVCDec_Status BitstreamShowBits(AVCDecBitstream *stream, int nBits, uint *code);
/external/webkit/SunSpider/tests/
Dcrypto-aes.js164 function AESEncryptCtr(plaintext, password, nBits) { argument
165 if (!(nBits==128 || nBits==192 || nBits==256)) return ''; // standard allows 128/192/256 bit keys
169 var nBytes = nBits/8; // no bytes in key
230 function AESDecryptCtr(ciphertext, password, nBits) { argument
231 if (!(nBits==128 || nBits==192 || nBits==256)) return ''; // standard allows 128/192/256 bit keys
233 var nBytes = nBits/8; // no bytes in key
/external/opencore/codecs_v2/audio/aac/dec/src/
Dcheck_crc.cpp127 void check_crc(HANDLE_CRC hCrcBuf, UInt32 bValue, Int32 nBits) in check_crc() argument
130 UInt32 bMask = (1UL << (nBits - 1)); in check_crc()
132 for (i = 0; i < nBits; i++, bMask >>= 1) in check_crc()
Dcheck_crc.h112 Int32 nBits);
/external/opencore/codecs_v2/audio/sbc/enc/src/
Dsbcenc_crc8.cpp69 UInt nBits = len & 0x7; /* len%8 */ in crc8() local
82 for (i = 0; i < nBits; i++) in crc8()