Lines Matching defs:samples
113 float *samples;
461 venc->samples = av_malloc_array(sizeof(float) * venc->channels, (1 << venc->log2_blocksize[1]));
466 if (!venc->saved || !venc->samples || !venc->floor || !venc->coeffs || !venc->scratch)
767 float *coeffs, uint16_t *posts, int samples)
800 float *floor, int samples)
882 fc->multiplier, floor, samples);
911 PutBitContext *pb, float *coeffs, int samples,
928 max2 = FFMAX(max2, fabs(coeffs[samples + k / real_ch]));
955 float *buf = coeffs + samples*j + rc->begin + p*psize;
973 a1 = (s % real_ch) * samples;
975 s = real_ch * samples;
981 if ((a2 += samples) == s) {
991 if ((a1 += samples) == s) {
1014 float *offset = venc->samples + channel * window_len * 2;
1025 venc->samples + channel * window_len * 2);
1056 /* Set up audio samples for psy analysis and window/mdct */
1064 /* Copy samples from last frame into current frame */
1067 memcpy(venc->samples + 2 * ch * frame_size,
1071 memset(venc->samples + 2 * ch * frame_size, 0, sizeof(float) * frame_size);
1077 float *offset = venc->samples + 2 * ch * frame_size + frame_size;
1083 memcpy(save + sf*sf_size, input, len); // Move samples for next frame
1088 memcpy(venc->scratch, venc->samples, 2 * venc->channels * frame_size);
1252 av_freep(&venc->samples);