Lines Matching defs:frame_size
1040 f->nb_samples = avctx->frame_size;
1060 int frame_size = 1 << (venc->log2_blocksize[1] - 1);
1061 int subframes = frame_size / sf_size;
1067 memcpy(venc->samples + 2 * ch * frame_size,
1068 venc->saved + ch * frame_size, sizeof(float) * 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;
1078 float *save = venc->saved + ch * frame_size;
1088 memcpy(venc->scratch, venc->samples, 2 * venc->channels * frame_size);
1096 int frame_size = 1 << (venc->log2_blocksize[1] - 1);
1113 need_more = venc->bufqueue.available * avctx->frame_size < frame_size;
1120 if (venc->bufqueue.available * avctx->frame_size < frame_size) {
1121 int frames_needed = (frame_size/avctx->frame_size) - venc->bufqueue.available;
1134 move_audio(venc, avctx->frame_size);
1158 floor_fit(venc, fc, &venc->coeffs[i * frame_size], posts, frame_size);
1159 if (floor_encode(venc, fc, &pb, posts, &venc->floor[i * frame_size], frame_size)) {
1165 for (i = 0; i < venc->channels * frame_size; i++)
1169 float *mag = venc->coeffs + mapping->magnitude[i] * frame_size;
1170 float *ang = venc->coeffs + mapping->angle[i] * frame_size;
1172 for (j = 0; j < frame_size; j++) {
1183 &pb, venc->coeffs, frame_size, venc->channels)) {
1191 ff_af_queue_remove(&venc->afq, frame_size, &avpkt->pts, &avpkt->duration);
1193 if (frame_size > avpkt->duration) {
1197 AV_WL32(&side[4], frame_size - avpkt->duration);
1290 avctx->frame_size = 64;