
decoding: set by libavcodec, read by user.
#Ffmpeg copy avframe code#
Log2 of the size of the block which a single vector in motion_val represents: (4->16x16, 3->8x8, 2-> 4x4, 1-> 2x2)įrame timestamp estimated using various heuristics, in stream time base Code outside libavcodec should access this field using: av_frame_get_best_effort_timestamp(frame) Used by multithreading to store frame-specific info The AVCodecContext which ff_thread_get_buffer() was last called on Hardware accelerator private data (FFmpeg-allocated)

Reordered opaque 64bit (generally an integer or a double precision float PTS but can be anything). Tell user application that palette has changed from previous frame. If the content is interlaced, is top field displayed first. The content of the picture is interlaced.

When decoding, this signals how much the picture must be delayed. encoding: Set by the one who allocates it.Type of the buffer (to keep track of who has to deallocate data) Motion reference frame index the order in which these are stored can depend on the codec. Macroblock type table mb_type_base + mb_width + 2 Mbskip_table>=1 if MB didn't change stride= mb_width = (width+15)>4 Is this picture used as reference The values for this are the same as the MpegEncContext.picture_structure variable, that is 1->top field, 2->bottom field, 3->frame/both fields. Quality (between 1 (good) and FF_LAMBDA_MAX (bad)) Reordered pts from the last AVPacket that has been input into the decoderĭts from the last AVPacket that has been input into the decoder Presentation timestamp in time_base units (time when frame should be shown to user) If AV_NOPTS_VALUE then frame_rate = 1/time_base will be assumed. Sample aspect ratio for the video frame, 0/1 if unknown/unspecified Pointer to the first allocated byte of the picture. Picture type of the frame, see ?_TYPE below. Number of audio samples (per channel) described by this frameįormat of the frame, -1 if unknown or unset Values correspond to enum PixelFormat for video frames, enum AVSampleFormat for audio)

Size, in bytes, of the data for each picture/channel plane.
