Lines Matching defs:frame
30 * updates to the previous frame. Cursor is found in its own frame or at the
31 * bottom of the picture. Every frame is then packed with zlib.
56 AVFrame *refframe; // full decoded frame (without cursor)
102 /* These needs to be set to estimate buffer and frame size */
108 /* This value should be large enough for a RAW-only frame plus headers */
114 /* Allocate reference and JPEG frame */
136 /* Set the output pixel format on the reference frame */
386 /* Parse frame and either copy data or decode JPEG. */
435 /* Decode JPEG tile and copy it in the reference frame */
487 /* Allocate the reference frame if not already done or on size change */
494 /* Decode all tiles in a frame */
525 static int tdsc_decode_frame(AVCodecContext *avctx, AVFrame *frame,
570 /* First 4 bytes here are the number of GEPJ/WAR tiles in this frame */
585 /* This tag can be after a TDSF block or on its own frame */
587 /* First 4 bytes here are the total size in bytes for this frame */
600 /* Get the output frame and copy the reference frame */
601 ret = ff_get_buffer(avctx, frame, 0);
605 ret = av_frame_copy(frame, ctx->refframe);
609 /* Paint the cursor on the output frame */
610 tdsc_paint_cursor(avctx, frame->data[0], frame->linesize[0]);
614 frame->pict_type = AV_PICTURE_TYPE_I;
615 frame->key_frame = 1;
617 frame->pict_type = AV_PICTURE_TYPE_P;