Lines Matching refs:frame_size
33 int lsf, mpeg25, bitrate_index, frame_size;
56 frame_size = avpriv_mpa_bitrate_tab[lsf][2][bitrate_index>>1];
57 frame_size = (frame_size * 144000) / (sample_rate << lsf) + (bitrate_index&1);
58 if(frame_size == buf_size + 4)
60 if(frame_size == buf_size + 6)
70 header |= (frame_size == buf_size + 4)<<16; //FIXME actually set a correct crc instead of 0
72 *poutbuf_size= frame_size;
73 *poutbuf= av_malloc(frame_size + FF_INPUT_BUFFER_PADDING_SIZE);
74 memcpy(*poutbuf + frame_size - buf_size, buf, buf_size + FF_INPUT_BUFFER_PADDING_SIZE);
77 uint8_t *p= *poutbuf + frame_size - buf_size;