Lines Matching defs:frame
35 * 32 bits samples per frame (used when not set explicitly in the frames)
43 * 32 bits max coded frame size (0 means unknown)
82 int nb_samples; /**< number of samples in the current frame */
237 static int decode_element(AVCodecContext *avctx, AVFrame *frame, int ch_index,
248 /* the number of output samples is stored in the frame */
260 /* whether the frame is compressed */
268 av_log(avctx, AV_LOG_ERROR, "invalid samples per frame: %"PRIu32"\n",
274 frame->nb_samples = output_samples;
275 if ((ret = ff_thread_get_buffer(avctx, frame, 0)) < 0)
285 alac->output_samples_buffer[ch] = (int32_t *)frame->extended_data[ch_index + ch];
394 int16_t *outbuffer = (int16_t *)frame->extended_data[ch_index + ch];
416 static int alac_decode_frame(AVCodecContext *avctx, AVFrame *frame,
448 ret = decode_element(avctx, frame,
530 "max samples per frame invalid: %"PRIu32"\n",
541 bytestream2_get_be32u(&gb); // max coded frame size