Lines Matching defs:frame
164 int frame_length; ///< frame length for each frame (last frame may differ)
203 unsigned int cur_frame_length; ///< length of the current frame to decode
204 unsigned int frame_id; ///< the frame ID / number of the current frame
207 unsigned int num_blocks; ///< number of blocks used in the current frame
538 * Also assure that the block sizes of the last frame correspond to the
558 // The last frame may have an overdetermined block structure given in
568 // frame which is actually not allowed by the block length switching part
571 // frame.
1086 /** Compute the number of samples left to decode for the current frame and
1130 // damaged block, write zero for the rest of the frame
1222 // damaged block, write zero for the rest of the frame
1637 /** Read the frame data.
1651 // skip the size of the ra unit if present in the frame
1796 /** Decode an ALS frame.
1798 static int decode_frame(AVCodecContext *avctx, AVFrame *frame,
1813 // (sconf->ra_distance == 0) no frame is treated as a random access frame.
1814 // For the first frame, if prediction is used, all samples used from the
1815 // previous frame are assumed to be zero.
1818 // the last frame to decode might have a different length
1826 // decode the frame data
1829 "Reading frame data failed. Skipping RA unit.\n");
1840 frame->nb_samples = ctx->cur_frame_length;
1841 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0)
1844 // transform decoded frame into output format
1847 int##bps##_t *dest = (int##bps##_t*)frame->data[0]; \
1873 int32_t *src = (int32_t *)frame->data[0];
1894 int16_t *src = (int16_t*) frame->data[0];
1902 (uint32_t *) frame->data[0],
1907 crc_source = frame->data[0];
1916 // check CRC sums if this is the last frame
2172 /** Flush (reset) the frame ID after seeking.