Lines Matching refs:frame
159 int samples; ///< samples left to decode in current frame
167 uint32_t CRC; ///< signalled frame CRC
169 int frameflags; ///< frame flags
186 uint8_t *data; ///< current frame data
187 uint8_t *data_end; ///< frame data end
188 int data_size; ///< frame data allocated size
189 const uint8_t *ptr; ///< current position in frame data
768 /* Read the frame flags if they exist */
1473 static int ape_decode_frame(AVCodecContext *avctx, AVFrame *frame,
1546 /* Initialize the frame decoder */
1548 av_log(avctx, AV_LOG_ERROR, "Error reading frame header\n");
1570 frame->nb_samples = blockstodecode;
1571 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) {
1593 av_log(avctx, AV_LOG_ERROR, "Error decoding frame\n");
1600 sample8 = (uint8_t *)frame->data[ch];
1607 sample16 = (int16_t *)frame->data[ch];
1614 sample24 = (int32_t *)frame->data[ch];
1634 uint8_t *smp_native = frame->data[ch] + i*stride;
1639 uint8_t *smp = frame->data[ch] + i*stride;