Lines Matching refs:blocksize
41 static int unpack_bytes (int bits, int blocksize, const unsigned char * block, short * samples) ;
134 struct g72x_state * g72x_reader_init (int codec, int *blocksize, int *samplesperblock)
147 *blocksize = G723_16_BYTES_PER_BLOCK ;
150 pstate->blocksize = G723_16_BYTES_PER_BLOCK ;
156 *blocksize = G723_24_BYTES_PER_BLOCK ;
159 pstate->blocksize = G723_24_BYTES_PER_BLOCK ;
165 *blocksize = G721_32_BYTES_PER_BLOCK ;
168 pstate->blocksize = G721_32_BYTES_PER_BLOCK ;
174 *blocksize = G721_40_BYTES_PER_BLOCK ;
177 pstate->blocksize = G721_40_BYTES_PER_BLOCK ;
189 struct g72x_state * g72x_writer_init (int codec, int *blocksize, int *samplesperblock)
201 *blocksize = G723_16_BYTES_PER_BLOCK ;
204 pstate->blocksize = G723_16_BYTES_PER_BLOCK ;
210 *blocksize = G723_24_BYTES_PER_BLOCK ;
213 pstate->blocksize = G723_24_BYTES_PER_BLOCK ;
219 *blocksize = G721_32_BYTES_PER_BLOCK ;
222 pstate->blocksize = G721_32_BYTES_PER_BLOCK ;
228 *blocksize = G721_40_BYTES_PER_BLOCK ;
231 pstate->blocksize = G721_40_BYTES_PER_BLOCK ;
246 count = unpack_bytes (pstate->codec_bits, pstate->blocksize, block, samples) ;
605 unpack_bytes (int bits, int blocksize, const unsigned char * block, short * samples)
610 for (k = 0 ; bindex <= blocksize && k < G72x_BLOCK_SIZE ; k++)