FFmpeg
|
This structure describes decoded (raw) audio or video data. More...
#include <avcodec.h>
Data Fields | |
uint8_t * | data [AV_NUM_DATA_POINTERS] |
pointer to the picture/channel planes. | |
int | linesize [AV_NUM_DATA_POINTERS] |
Size, in bytes, of the data for each picture/channel plane. | |
uint8_t ** | extended_data |
pointers to the data planes/channels. | |
int | width |
width and height of the video frame | |
int | height |
int | nb_samples |
number of audio samples (per channel) described by this frame | |
int | format |
format of the frame, -1 if unknown or unset Values correspond to enum AVPixelFormat for video frames, enum AVSampleFormat for audio) | |
int | key_frame |
1 -> keyframe, 0-> not | |
enum AVPictureType | pict_type |
Picture type of the frame, see ?_TYPE below. | |
uint8_t * | base [AV_NUM_DATA_POINTERS] |
pointer to the first allocated byte of the picture. | |
AVRational | sample_aspect_ratio |
sample aspect ratio for the video frame, 0/1 if unknown/unspecified | |
int64_t | pts |
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. | |
int64_t | pkt_pts |
pts copied from the AVPacket that was decoded to produce this frame | |
int64_t | pkt_dts |
dts copied from the AVPacket that triggered returning this frame | |
int | coded_picture_number |
picture number in bitstream order | |
int | display_picture_number |
picture number in display order | |
int | quality |
quality (between 1 (good) and FF_LAMBDA_MAX (bad)) | |
int | reference |
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. | |
int8_t * | qscale_table |
QP table. | |
int | qstride |
QP store stride. | |
int | qscale_type |
uint8_t * | mbskip_table |
mbskip_table[mb]>=1 if MB didn't change stride= mb_width = (width+15)>>4 | |
int16_t(*[2] | motion_val )[2] |
motion vector table | |
uint32_t * | mb_type |
macroblock type table mb_type_base + mb_width + 2 | |
short * | dct_coeff |
DCT coefficients. | |
int8_t * | ref_index [2] |
motion reference frame index the order in which these are stored can depend on the codec. | |
void * | opaque |
for some private data of the user | |
uint64_t | error [AV_NUM_DATA_POINTERS] |
error | |
int | type |
type of the buffer (to keep track of who has to deallocate data[*]) | |
int | repeat_pict |
When decoding, this signals how much the picture must be delayed. | |
int | interlaced_frame |
The content of the picture is interlaced. | |
int | top_field_first |
If the content is interlaced, is top field displayed first. | |
int | palette_has_changed |
Tell user application that palette has changed from previous frame. | |
int | buffer_hints |
codec suggestion on buffer type if != 0 | |
AVPanScan * | pan_scan |
Pan scan. | |
int64_t | reordered_opaque |
reordered opaque 64bit (generally an integer or a double precision float PTS but can be anything). | |
void * | hwaccel_picture_private |
hardware accelerator private data (FFmpeg-allocated) | |
struct AVCodecContext * | owner |
the AVCodecContext which ff_thread_get_buffer() was last called on | |
void * | thread_opaque |
used by multithreading to store frame-specific info | |
uint8_t | motion_subsample_log2 |
log2 of the size of the block which a single vector in motion_val represents: (4->16x16, 3->8x8, 2-> 4x4, 1-> 2x2) | |
int | sample_rate |
Sample rate of the audio data. | |
uint64_t | channel_layout |
Channel layout of the audio data. | |
int64_t | best_effort_timestamp |
frame timestamp estimated using various heuristics, in stream time base Code outside libavcodec should access this field using: av_frame_get_best_effort_timestamp(frame) | |
int64_t | pkt_pos |
reordered pos from the last AVPacket that has been input into the decoder Code outside libavcodec should access this field using: av_frame_get_pkt_pos(frame) | |
int64_t | pkt_duration |
duration of the corresponding packet, expressed in AVStream->time_base units, 0 if unknown. | |
AVDictionary * | metadata |
metadata. | |
int | decode_error_flags |
decode error flags of the frame, set to a combination of FF_DECODE_ERROR_xxx flags if the decoder produced a frame, but there were errors during the decoding. | |
int64_t | channels |
number of audio channels, only used for audio. | |
int | pkt_size |
size of the corresponding packet containing the compressed frame. | |
This structure describes decoded (raw) audio or video data.
AVFrame must be allocated using avcodec_alloc_frame() and freed with avcodec_free_frame(). Note that this allocates only the AVFrame itself. The buffers for the data must be managed through other means.
AVFrame is typically allocated once and then reused multiple times to hold different data (e.g. a single AVFrame to hold frames received from a decoder). In such a case, avcodec_get_frame_defaults() should be used to reset the frame to its original clean state before it is reused again.
sizeof(AVFrame) is not a part of the public ABI, so new fields may be added to the end with a minor bump. Similarly fields that are marked as to be only accessed by av_opt_ptr() can be reordered. This allows 2 forks to add fields without breaking compatibility with each other.
uint8_t* AVFrame::data[AV_NUM_DATA_POINTERS] |
pointer to the picture/channel planes.
This might be different from the first allocated byte
Definition at line 1106 of file avcodec.h.
Referenced by aac_encode_frame(), aacPlus_encode_frame(), aasc_decode_end(), aasc_decode_frame(), ac3_decode_frame(), add_frame_default(), adpcm_decode_frame(), adx_encode_frame(), alloc_frame_buffer(), amr_wb_encode_frame(), amrnb_decode_frame(), amrwb_decode_frame(), amv_encode_picture(), ape_decode_frame(), apply_loop_filter(), apply_motion_generic(), audio_decode_example(), audio_decode_frame(), audio_get_buffer(), aura_decode_end(), aura_decode_frame(), avcodec_decode_video2(), avcodec_default_reget_buffer(), avcodec_default_release_buffer(), avcodec_encode_audio2(), avcodec_fill_audio_frame(), avcodec_free_frame(), avcodec_get_frame_defaults(), avfilter_copy_buf_props(), avfilter_get_audio_buffer_ref_from_frame(), avfilter_get_video_buffer_ref_from_frame(), avs_decode_end(), avs_decode_frame(), avui_decode_close(), avui_decode_frame(), avui_encode_frame(), bethsoftvid_decode_end(), bethsoftvid_decode_frame(), bfi_decode_close(), bfi_decode_frame(), bink_decode_plane(), binkb_decode_plane(), bmp_decode_end(), bmp_decode_frame(), bmp_encode_frame(), bmv_aud_decode_frame(), brpix_decode_frame(), brpix_end(), cavs_decode_frame(), cdg_border_preset(), cdg_decode_end(), cdg_decode_frame(), cdg_load_palette(), cdg_scroll(), cdg_tile_block(), cdxl_decode_end(), cdxl_decode_frame(), cdxl_decode_ham6(), cdxl_decode_ham8(), cdxl_decode_rgb(), cinaudio_decode_frame(), cinepak_decode_end(), cinepak_decode_frame(), cinepak_decode_init(), cinepak_decode_vectors(), cinvideo_decode_end(), cinvideo_decode_frame(), cllc_decode_close(), cllc_decode_frame(), cmv_decode_end(), cmv_decode_frame(), cmv_decode_inter(), cmv_decode_intra(), cng_decode_frame(), cng_encode_frame(), codec_get_buffer(), codec_release_buffer(), comp_block(), cond_release_buffer(), copy_frame(), copy_frame_default(), copy_from(), copy_output(), cpia_decode_frame(), create_clusters(), cyuv_decode_end(), cyuv_decode_frame(), dct_get(), decode_argb_frame(), decode_close(), decode_end(), decode_flush(), decode_frame(), decode_i2_frame(), decode_init(), decode_mb(), decode_p_block(), decode_p_frame(), decode_packet(), decode_pic(), decode_rgb24_frame(), decode_slice(), decode_slice_header(), decode_slice_thread(), decode_tag(), decode_thread(), decode_tile(), decode_video(), decode_wmv9(), decode_write_frame(), dfa_decode_end(), dfa_decode_frame(), dirac_decode_data_unit(), dirac_decode_frame(), dirac_decode_frame_internal(), dirac_decode_picture_header(), dnxhd_decode_close(), dnxhd_decode_frame(), dnxhd_decode_macroblock(), dnxhd_encode_picture(), dnxhd_load_picture(), dpcm_decode_frame(), draw_char(), dv_decode_video_segment(), dv_encode_video_segment(), dvvideo_close(), dvvideo_decode_frame(), eightsvx_decode_frame(), encode_bitstream(), encode_end(), encode_frame(), encode_mb_internal(), encode_picture_lossless(), encode_picture_ls(), encode_q_branch(), encode_slice(), encode_thread(), end(), end_frame(), erase_line(), erase_screen(), escape124_decode_close(), escape124_decode_frame(), escape130_decode_close(), escape130_decode_frame(), estimate_best_b_count(), eval_motion_dist(), execute_code(), Faac_encode_frame(), ff_alloc_picture(), ff_apply_vector_2x2(), ff_apply_vector_4x4(), ff_cavs_end(), ff_cavs_init_pic(), ff_cavs_next_mb(), ff_draw_horiz_band(), ff_dxva2_get_surface(), ff_er_frame_end(), ff_estimate_b_frame_motion(), ff_estimate_p_frame_motion(), ff_h263_decode_frame(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_fill_default_ref_list(), ff_h264_fill_mbaff_ref_list(), ff_init_block_index(), ff_ivi_decode_close(), ff_ivi_decode_frame(), ff_jpegls_decode_picture(), ff_load_image(), ff_mjpeg_decode_end(), ff_mjpeg_decode_frame(), ff_mjpeg_decode_sof(), ff_mjpeg_decode_sos(), ff_mpeg4_encode_mb(), ff_mpeg_flush(), ff_mpeg_update_thread_context(), ff_MPV_encode_picture(), ff_MPV_frame_end(), ff_MPV_frame_start(), ff_msmpeg4_pred_dc(), ff_pnm_end(), ff_pre_estimate_p_frame_motion(), ff_print_debug_info(), ff_release_unused_pictures(), ff_rtjpeg_decode_frame_yuv420(), ff_rv34_decode_frame(), ff_snow_common_end(), ff_snow_frame_start(), ff_snow_pred_block(), ff_snow_release_buffer(), ff_thread_release_buffer(), ff_thread_video_encode_frame(), ff_vaapi_get_surface_id(), ff_vc1_decode_end(), ff_vdpau_add_data_chunk(), ff_vdpau_h264_picture_complete(), ff_vdpau_h264_picture_start(), ff_vdpau_h264_set_reference_frames(), ff_vdpau_mpeg4_decode_picture(), ff_vdpau_mpeg_picture_complete(), ff_vdpau_vc1_decode_picture(), ff_vp56_decode_frame(), ff_xvmc_decode_mb(), ff_xvmc_field_end(), ff_xvmc_field_start(), ff_xvmc_init_block(), ffv1_close(), filter(), find_slice_quant(), find_unused_picture(), flac_decode_frame(), flac_encode_frame(), flashsv2_encode_frame(), flashsv_decode_block(), flashsv_decode_end(), flashsv_decode_frame(), flashsv_decode_init(), flashsv_encode_frame(), flic_decode_end(), flic_decode_frame_15_16BPP(), flic_decode_frame_8BPP(), flic_decode_init(), flush(), frame_worker_thread(), free_picture(), free_sequence_buffers(), g722_decode_frame(), g723_1_decode_frame(), gather_data_for_cel(), gather_data_for_subcel(), get_4block_rd(), get_block_rd(), get_buffer(), get_frame_mb(), get_siz(), gif_decode_close(), gif_decode_frame(), gif_decode_init(), gif_encode_frame(), gif_fill(), gif_fill_rect(), gif_read_image(), gsm_decode_frame(), guess_mv(), h261_decode_frame(), h263_mv4_search(), halfpel_interpol(), hl_decode_mb(), hl_decode_mb_444(), hscroll(), idcin_decode_end(), idcin_decode_frame(), idcin_decode_init(), idcin_decode_vlcs(), idct_put(), ilbc_decode_frame(), ilbc_encode_frame(), init_image(), interpolate_refplane(), ipvideo_decode_end(), ipvideo_decode_frame(), ipvideo_decode_init(), ipvideo_decode_opcodes(), ir2_decode_end(), ir2_decode_frame(), is_intra_more_likely(), iterative_me(), lag_decode_end(), lag_decode_frame(), libcelt_dec_decode(), libgsm_decode_frame(), libgsm_encode_frame(), libopenjpeg_copy_packed16(), libopenjpeg_copy_packed8(), libopenjpeg_copy_to_packed16(), libopenjpeg_copy_to_packed8(), libopenjpeg_copy_unpacked16(), libopenjpeg_copy_unpacked8(), libopenjpeg_copyto16(), libopenjpeg_copyto8(), libopenjpeg_decode_close(), libopenjpeg_decode_frame(), libopus_decode(), libopus_encode(), libschroedinger_decode_close(), libschroedinger_decode_frame(), libspeex_decode_frame(), ljpeg_decode_rgb_scan(), ljpeg_decode_yuv_scan(), load_input_picture(), loop_filter(), mb_var_thread(), mc_dir_part(), mimic_decode_end(), mimic_decode_frame(), mjpeg_decode_scan(), mjpeg_decode_scan_progressive_ac(), mm_decode_end(), mm_decode_frame(), mm_decode_inter(), mm_decode_intra(), mp3lame_encode_frame(), mp_decode_end(), mp_decode_frame(), mp_get_yuv_from_rgb(), mp_read_changes_map(), mp_set_rgb_from_yuv(), MPA_encode_frame(), mpeg_field_start(), MPV_decode_mb_internal(), MPV_motion_internal(), MPV_motion_lowres(), msrle_decode_end(), msrle_decode_frame(), msrle_decode_init(), mss1_decode_end(), mss1_decode_frame(), mss2_decode_end(), mss2_decode_frame(), mss3_decode_end(), mss3_decode_frame(), mss4_decode_end(), mss4_decode_frame(), msvideo1_decode_16bit(), msvideo1_decode_8bit(), msvideo1_decode_end(), msvideo1_decode_init(), mvc_decode_end(), mvc_decode_frame(), mxpeg_check_dimensions(), mxpeg_decode_end(), mxpeg_decode_frame(), oggvorbis_decode_frame(), output_data(), pack_yuv(), pad_last_frame(), paf_aud_decode(), paf_vid_close(), paf_vid_decode(), pam_encode_frame(), pcm_bluray_decode_frame(), pcm_decode_frame(), pcm_encode_frame(), pcx_decode_frame(), pcx_encode_frame(), pcx_end(), pic_as_field(), pic_is_unused(), picmemset(), picmemset_8bpp(), png_dec_end(), pnm_decode_frame(), pnm_encode_frame(), predict_slice(), predict_slice_buffered(), prefetch_motion(), print_long_term(), print_short_term(), ptx_decode_frame(), ptx_end(), qcelp_decode_frame(), qdm2_decode_frame(), qtrle_decode_16bpp(), qtrle_decode_1bpp(), qtrle_decode_24bpp(), qtrle_decode_2n4bpp(), qtrle_decode_32bpp(), qtrle_decode_8bpp(), qtrle_decode_end(), qtrle_decode_frame(), qtrle_decode_init(), queue_picture(), ra144_decode_frame(), ra144_encode_frame(), ra288_decode_frame(), raw_decode(), reconstruct_and_encode_image(), release_buffer(), render_slice(), rl2_decode_end(), rl2_decode_frame(), roq_decode_end(), roq_decode_frame(), roq_dpcm_encode_frame(), rpza_decode_end(), rpza_decode_init(), rpza_decode_stream(), rv30_loop_filter(), rv34_mc(), rv40_loop_filter(), s302m_decode_frame(), select_input_picture(), seqvideo_decode(), seqvideo_decode_end(), seqvideo_decode_init(), set_palette(), sgi_end(), sgirle_decode_end(), sgirle_decode_frame(), sipr_decode_frame(), skip_check(), smc_decode_end(), smc_decode_init(), smc_decode_stream(), smka_decode_frame(), sse_mb(), sunrast_decode_frame(), sunrast_encode_frame(), sunrast_end(), svq1_decode_end(), svq1_decode_frame(), svq1_encode_end(), svq1_encode_frame(), svq1_encode_plane(), svq1_flush(), svq3_mc_dir_part(), synth_superframe(), targa_encode_frame(), targa_encode_normal(), targa_encode_rle(), targa_end(), tgq_decode_end(), tgq_decode_frame(), tgq_idct_put_mb(), tgq_idct_put_mb_dconly(), tgv_decode_frame(), tgv_decode_inter(), tiff_end(), tm2_decode_blocks(), tmv_decode_close(), tmv_decode_frame(), to_meta_with_crop(), tqi_decode_end(), tqi_decode_frame(), tqi_idct_put(), truemotion1_decode_16bit(), truemotion1_decode_24bit(), truemotion1_decode_end(), truemotion1_decode_header(), truemotion1_decode_init(), truespeech_decode_frame(), tscc2_decode_end(), tscc2_decode_slice(), tta_decode_frame(), twolame_encode_frame(), txd_decode_frame(), txd_end(), ulti_convert_yuv(), ulti_decode_end(), uninit(), update_frames(), utvideo_encode_frame(), v308_decode_close(), v308_decode_frame(), v308_encode_frame(), v408_decode_close(), v408_decode_frame(), v408_encode_frame(), v410_decode_close(), v410_decode_frame(), v410_encode_frame(), vble_decode_close(), vble_decode_frame(), vble_restore_plane(), vc1_decode_frame(), vc1_decode_skip_blocks(), vc1_interp_mc(), vc1_mc_1mv(), vc1_mc_4mv_chroma(), vc1_mc_4mv_chroma4(), vc1_mc_4mv_luma(), vcr1_decode_end(), vcr1_decode_frame(), vdadec_decode(), video_encode_example(), video_get_buffer(), video_thread(), vmd_decode(), vmdaudio_decode_frame(), vmdvideo_decode_end(), vmdvideo_decode_frame(), vp3_decode_flush(), vp3_decode_init(), vp3_update_thread_context(), vp56_decode_mb(), vp8_decode(), vp8_decode_flush_impl(), vp8_decode_frame(), vp8_decode_mb_row_no_filter(), vp8_encode(), vp8_filter_mb_row(), vp8_mc_chroma(), vp8_mc_luma(), vqa_decode_chunk(), vqa_decode_end(), vqa_decode_frame(), vqa_decode_init(), wavesynth_decode(), wavpack_decode_frame(), ws_snd_decode_frame(), X264_frame(), x8_init_block_index(), xan_decode_chroma(), xan_decode_end(), xan_decode_frame(), xan_decode_frame_type0(), xan_decode_frame_type1(), xan_wc3_copy_pixel_run(), xan_wc3_output_pixel_run(), XAVS_frame(), xbm_decode_close(), xbm_decode_frame(), xbm_encode_frame(), xface_decode_close(), xface_decode_frame(), xface_encode_frame(), xvid_encode_frame(), xwd_decode_close(), xwd_decode_frame(), xwd_encode_frame(), y216_decode_close(), y216_decode_frame(), y41p_decode_close(), y41p_decode_frame(), y41p_encode_frame(), yop_decode_close(), yop_decode_frame(), yuv4_decode_close(), yuv4_decode_frame(), yuv4_encode_frame(), zero12v_decode_close(), zero12v_decode_frame(), zerocodec_decode_close(), and zerocodec_decode_frame().
int AVFrame::linesize[AV_NUM_DATA_POINTERS] |
Size, in bytes, of the data for each picture/channel plane.
For audio, only linesize[0] may be set. For planar audio, each channel plane must be the same size.
Definition at line 1117 of file avcodec.h.
Referenced by aasc_decode_frame(), add_frame_default(), alloc_frame_buffer(), amv_encode_picture(), apply_loop_filter(), apply_motion_generic(), aura_decode_frame(), avcodec_fill_audio_frame(), avfilter_copy_buf_props(), avfilter_get_audio_buffer_ref_from_frame(), avfilter_get_video_buffer_ref_from_frame(), avs_decode_frame(), avui_decode_frame(), avui_encode_frame(), bethsoftvid_decode_frame(), bfi_decode_frame(), bink_decode_plane(), binkb_decode_plane(), bmp_decode_frame(), bmp_encode_frame(), brpix_decode_frame(), cdg_border_preset(), cdg_decode_frame(), cdg_scroll(), cdg_tile_block(), cdxl_decode_ham6(), cdxl_decode_ham8(), cdxl_decode_rgb(), cinepak_decode_vectors(), cinvideo_decode_frame(), cmv_decode_inter(), cmv_decode_intra(), codec_get_buffer(), comp_block(), copy_frame(), copy_frame_default(), copy_from(), copy_output(), cpia_decode_frame(), create_clusters(), cyuv_decode_frame(), dct_get(), decode_13(), decode_argb_frame(), decode_frame(), decode_i2_frame(), decode_p_frame(), decode_packet(), decode_pic(), decode_rgb24_frame(), decode_slice(), decode_slice_header(), decode_slice_thread(), decode_thread(), decode_tile(), decode_video(), decode_wmv9(), decode_write_frame(), dfa_decode_frame(), dirac_decode_data_unit(), dnxhd_decode_macroblock(), dnxhd_encode_picture(), dnxhd_load_picture(), draw_char(), draw_slice(), dv_decode_video_segment(), dv_encode_video_segment(), encode_bitstream(), encode_frame(), encode_picture_lossless(), encode_picture_ls(), encode_q_branch(), encode_slice(), erase_line(), erase_screen(), escape124_decode_frame(), escape130_decode_frame(), estimate_best_b_count(), eval_motion_dist(), execute_code(), ff_alloc_picture(), ff_apply_vector_2x2(), ff_apply_vector_4x4(), ff_cavs_init_pic(), ff_er_frame_end(), ff_h264_fill_mbaff_ref_list(), ff_init_block_index(), ff_ivi_decode_frame(), ff_jpegls_decode_picture(), ff_load_image(), ff_mjpeg_decode_sof(), ff_MPV_frame_end(), ff_MPV_frame_start(), ff_print_debug_info(), ff_rtjpeg_decode_frame_yuv420(), ff_snow_common_init_after_header(), ff_snow_frame_start(), ff_snow_release_buffer(), ff_thread_video_encode_frame(), ff_vp56_decode_mbs(), filter(), find_slice_quant(), flashsv2_encode_frame(), flashsv_decode_block(), flashsv_decode_frame(), flashsv_encode_frame(), flic_decode_frame_15_16BPP(), flic_decode_frame_8BPP(), gather_data_for_cel(), gather_data_for_subcel(), get_4block_rd(), get_block_rd(), get_dc(), get_frame_mb(), gif_encode_frame(), gif_fill(), gif_fill_rect(), gif_read_image(), halfpel_interpol(), hscroll(), idcin_decode_vlcs(), idct_put(), init_mv(), interpolate_refplane(), ipvideo_decode_opcodes(), ir2_decode_frame(), iterative_me(), lag_decode_frame(), libopenjpeg_copy_packed16(), libopenjpeg_copy_packed8(), libopenjpeg_copy_to_packed16(), libopenjpeg_copy_to_packed8(), libopenjpeg_copy_unpacked16(), libopenjpeg_copy_unpacked8(), libopenjpeg_copyto16(), libopenjpeg_copyto8(), libschroedinger_decode_frame(), load_input_picture(), mm_decode_inter(), mm_decode_intra(), mp3lame_encode_frame(), mp_get_yuv_from_rgb(), mp_read_changes_map(), mp_set_rgb_from_yuv(), mpeg_field_start(), mpeg_motion_internal(), mpeg_motion_lowres(), MPV_decode_mb_internal(), msrle_decode_frame(), mss1_decode_frame(), mss2_decode_frame(), mss3_decode_frame(), mss4_decode_dct_block(), mss4_decode_frame(), mss4_decode_image_block(), msvideo1_decode_16bit(), msvideo1_decode_8bit(), mvc_decode_frame(), mxpeg_check_dimensions(), pack_yuv(), pad_last_frame(), paf_vid_decode(), pam_encode_frame(), pcx_decode_frame(), pcx_encode_frame(), pic_as_field(), picmemset(), picmemset_8bpp(), pnm_decode_frame(), pnm_encode_frame(), predict_slice(), predict_slice_buffered(), ptx_decode_frame(), qtrle_decode_16bpp(), qtrle_decode_1bpp(), qtrle_decode_24bpp(), qtrle_decode_2n4bpp(), qtrle_decode_32bpp(), qtrle_decode_8bpp(), qtrle_decode_frame(), qtrle_encode_line(), queue_picture(), raw_decode(), reconstruct_and_encode_image(), render_slice(), rl2_decode_frame(), rpza_decode_stream(), seq_decode_op1(), seq_decode_op2(), seq_decode_op3(), seqvideo_decode(), sgirle_decode_frame(), skip_check(), smc_decode_stream(), sunrast_decode_frame(), sunrast_encode_frame(), svq1_decode_frame(), svq1_encode_frame(), svq1_encode_plane(), targa_encode_normal(), targa_encode_rle(), tgq_idct_put_mb(), tgq_idct_put_mb_dconly(), tgv_decode_frame(), tgv_decode_inter(), tm2_decode_blocks(), tmv_decode_frame(), to_meta_with_crop(), tqi_idct_put(), truemotion1_decode_16bit(), truemotion1_decode_24bit(), tscc2_decode_slice(), txd_decode_frame(), ulti_convert_yuv(), utvideo_encode_frame(), v308_decode_frame(), v308_encode_frame(), v408_decode_frame(), v408_encode_frame(), v410_decode_frame(), v410_encode_frame(), vble_restore_plane(), vc1_decode_b_mb_intfi(), vc1_decode_frame(), vc1_decode_p_mb_intfi(), vc1_interp_mc(), vc1_mc_1mv(), vc1_mc_4mv_chroma(), vc1_mc_4mv_luma(), vcr1_decode_frame(), vdadec_decode(), video_encode_example(), video_get_buffer(), video_thread(), vmd_decode(), vp3_draw_horiz_band(), vp8_decode(), vp8_decode_mb_row_no_filter(), vp8_encode(), vqa_decode_chunk(), X264_frame(), x8_decode_intra_mb(), x8_init_block_index(), x8_setup_spatial_predictor(), xan_decode_chroma(), xan_decode_frame(), xan_decode_frame_type0(), xan_decode_frame_type1(), xan_wc3_copy_pixel_run(), xan_wc3_output_pixel_run(), XAVS_frame(), xbm_decode_frame(), xbm_encode_frame(), xface_decode_frame(), xface_encode_frame(), xvid_encode_frame(), xwd_decode_frame(), xwd_encode_frame(), y216_decode_frame(), y41p_decode_frame(), y41p_encode_frame(), yop_copy_previous_block(), yop_decode_frame(), yop_paint_block(), yuv4_decode_frame(), yuv4_encode_frame(), zero12v_decode_frame(), and zerocodec_decode_frame().
uint8_t** AVFrame::extended_data |
pointers to the data planes/channels.
For video, this should simply point to data[].
For planar audio, each channel has a separate data pointer, and linesize[0] contains the size of each channel buffer. For packed audio, there is just one data pointer, and linesize[0] contains the total size of the buffer for all channels.
Note: Both data and extended_data will always be set by get_buffer(), but for planar audio with more channels that can fit in data, extended_data must be used by the decoder in order to access all channels.
encoding: set by user decoding: set by AVCodecContext.get_buffer()
Definition at line 1137 of file avcodec.h.
Referenced by adpcm_decode_frame(), adx_decode_frame(), alac_encode_frame(), apply_window_and_mdct(), atrac1_decode_frame(), atrac3_decode_frame(), audio_decode_frame(), avcodec_alloc_frame(), avcodec_decode_audio4(), avcodec_decode_video2(), avcodec_encode_audio2(), avcodec_fill_audio_frame(), avcodec_free_frame(), avcodec_get_frame_defaults(), avfilter_copy_buf_props(), codec_get_buffer(), cook_decode_frame(), copy_input_samples(), dca_decode_frame(), decode_element(), decode_frame(), encode_frame(), ff_mpeg_update_thread_context(), frame_configure_elements(), frame_worker_thread(), imc_decode_frame(), mace_decode_frame(), mp_decode_frame(), mpc7_decode_frame(), mpc8_decode_frame(), oggvorbis_encode_frame(), pad_last_frame(), pcm_decode_frame(), pcm_encode_frame(), shorten_decode_frame(), tak_decode_frame(), twin_decode_frame(), video_get_buffer(), vorbis_decode_frame(), vorbis_encode_frame(), and wma_decode_superframe().
int AVFrame::width |
width and height of the video frame
Definition at line 1144 of file avcodec.h.
Referenced by avcodec_decode_video2(), avcodec_default_reget_buffer(), avfilter_copy_buf_props(), avfilter_copy_frame_props(), avfilter_get_video_buffer_ref_from_frame(), decode_frame(), decode_video(), ff_init_buffer_info(), ff_load_image(), libopenjpeg_copy_to_packed16(), libopenjpeg_copy_to_packed8(), libschroedinger_decode_frame(), queue_picture(), show_frame(), svq1_decode_frame(), video_encode_example(), and video_thread().
int AVFrame::height |
Definition at line 1144 of file avcodec.h.
Referenced by avcodec_decode_video2(), avcodec_default_reget_buffer(), avfilter_copy_buf_props(), avfilter_copy_frame_props(), avfilter_get_video_buffer_ref_from_frame(), cpia_decode_frame(), decode_frame(), decode_video(), ff_init_buffer_info(), ff_load_image(), gif_fill(), gif_read_image(), libopenjpeg_copy_to_packed16(), libopenjpeg_copy_to_packed8(), libschroedinger_decode_frame(), queue_picture(), show_frame(), svq1_decode_frame(), video_encode_example(), and video_thread().
int AVFrame::nb_samples |
number of audio samples (per channel) described by this frame
Definition at line 1151 of file avcodec.h.
Referenced by aac_decode_frame_int(), aac_encode_frame(), ac3_decode_frame(), adpcm_decode_frame(), adx_decode_frame(), alac_encode_frame(), amrnb_decode_frame(), amrwb_decode_frame(), ape_decode_frame(), apply_window_and_mdct(), atrac1_decode_frame(), atrac3_decode_frame(), audio_decode_example(), audio_decode_frame(), audio_encode_example(), audio_get_buffer(), avcodec_decode_audio4(), avcodec_encode_audio2(), avcodec_fill_audio_frame(), avfilter_copy_buf_props(), avfilter_get_audio_buffer_ref_from_frame(), bmv_aud_decode_frame(), cinaudio_decode_frame(), cng_decode_frame(), cng_encode_frame(), cook_decode_frame(), copy_input_samples(), dca_decode_frame(), decode_audio(), decode_element(), decode_frame(), decode_packet(), decode_subframe(), decode_tag(), do_audio_out(), dpcm_decode_frame(), eightsvx_decode_frame(), encode_frame(), Faac_encode_frame(), ff_af_queue_add(), flac_decode_frame(), flac_encode_frame(), flush(), frame_configure_elements(), g722_decode_frame(), g723_1_decode_frame(), gsm_decode_frame(), ilbc_decode_frame(), imc_decode_frame(), libcelt_dec_decode(), libgsm_decode_frame(), libopus_decode(), libopus_encode(), libspeex_decode_frame(), mace_decode_frame(), mp3lame_encode_frame(), mp_decode_frame(), mpc7_decode_frame(), mpc8_decode_frame(), oggvorbis_decode_frame(), oggvorbis_encode_frame(), output_data(), pad_last_frame(), paf_aud_decode(), pcm_bluray_decode_frame(), pcm_decode_frame(), pcm_encode_frame(), qcelp_decode_frame(), qdm2_decode_frame(), ra144_decode_frame(), ra144_encode_frame(), ra288_decode_frame(), s302m_decode_frame(), shorten_decode_frame(), show_frame(), sipr_decode_frame(), smka_decode_frame(), synth_superframe(), tak_decode_frame(), truespeech_decode_frame(), tta_decode_frame(), twin_decode_frame(), twolame_encode_frame(), vmdaudio_decode_frame(), vorbis_decode_frame(), vorbis_encode_frame(), wavesynth_decode(), wavpack_decode_frame(), wma_decode_superframe(), write_audio_frame(), and ws_snd_decode_frame().
int AVFrame::format |
format of the frame, -1 if unknown or unset Values correspond to enum AVPixelFormat for video frames, enum AVSampleFormat for audio)
Definition at line 1160 of file avcodec.h.
Referenced by audio_decode_frame(), audio_encode_example(), avcodec_decode_audio4(), avcodec_decode_video2(), avcodec_default_reget_buffer(), avcodec_get_frame_defaults(), avfilter_copy_buf_props(), avfilter_copy_frame_props(), avfilter_get_audio_buffer_ref_from_frame(), avfilter_get_video_buffer_ref_from_frame(), decode_audio(), decode_frame(), decode_packet(), decode_video(), ff_init_buffer_info(), ff_load_image(), ff_snow_common_init_after_header(), libschroedinger_decode_frame(), mss2_decode_frame(), queue_picture(), show_frame(), vdadec_decode(), video_encode_example(), and video_thread().
int AVFrame::key_frame |
1 -> keyframe, 0-> not
Definition at line 1167 of file avcodec.h.
Referenced by a64multi_encode_frame(), a64multi_init_encoder(), aacPlus_encode_init(), avcodec_get_frame_defaults(), avfilter_copy_buf_props(), avfilter_copy_frame_props(), avs_decode_frame(), avui_decode_frame(), avui_encode_frame(), bfi_decode_frame(), bmp_decode_frame(), bmp_encode_frame(), cinepak_decode(), cllc_decode_frame(), cmv_decode_frame(), cpia_decode_frame(), decode_frame(), decode_init(), decode_nal_units(), decode_postinit(), decode_slice(), decode_video(), dirac_decode_data_unit(), dnxhd_decode_init(), dnxhd_encode_init(), dvvideo_decode_frame(), encode_frame(), encode_init(), encode_picture(), encode_picture_lossless(), encode_picture_ls(), encode_slice(), ff_h263_decode_frame(), ff_h264_frame_start(), ff_mjpeg_decode_sof(), ff_MPV_encode_picture(), ff_MPV_frame_start(), ff_snow_frame_start(), ff_vp56_decode_mbs(), flashsv2_encode_frame(), flashsv_encode_frame(), get_siz(), gif_decode_frame(), gif_encode_frame(), h261_decode_frame(), lag_decode_frame(), libschroedinger_encode_frame(), mpeg1_decode_picture(), mpeg1_encode_sequence_header(), mpeg_decode_picture_coding_extension(), mss1_decode_frame(), mss2_decode_frame(), mss3_decode_frame(), mss4_decode_frame(), mxpeg_decode_frame(), paf_vid_decode(), pam_encode_frame(), pcx_encode_frame(), pnm_decode_frame(), pnm_encode_frame(), prores_encode_init(), qtrle_encode_frame(), qtrle_encode_line(), raw_init_decoder(), show_frame(), storeframe(), sunrast_encode_init(), svq1_encode_frame(), svq3_decode_frame(), targa_encode_init(), tgq_decode_frame(), tgv_decode_frame(), tmv_decode_frame(), utvideo_encode_frame(), v308_decode_frame(), v308_encode_frame(), v408_decode_frame(), v408_encode_frame(), v410_decode_frame(), v410_encode_frame(), vble_decode_frame(), vc1_decode_frame(), vcr1_decode_frame(), write_video_frame(), XAVS_frame(), xbm_decode_frame(), xvid_encode_frame(), xwd_decode_frame(), xwd_encode_frame(), y216_decode_frame(), y41p_decode_frame(), y41p_encode_frame(), yuv4_decode_frame(), yuv4_encode_frame(), zero12v_decode_init(), and zerocodec_decode_frame().
enum AVPictureType AVFrame::pict_type |
Picture type of the frame, see ?_TYPE below.
Definition at line 1174 of file avcodec.h.
Referenced by a64multi_encode_frame(), a64multi_init_encoder(), avfilter_copy_buf_props(), avfilter_copy_frame_props(), avs_decode_frame(), avui_decode_frame(), avui_encode_frame(), bfi_decode_frame(), bmp_decode_frame(), bmp_encode_frame(), cavs_decode_frame(), cdxl_decode_frame(), cllc_decode_frame(), cmv_decode_frame(), copy_picture_attributes(), cpia_decode_frame(), decode_frame(), decode_mb_i(), decode_pic(), decode_postinit(), decode_slice_header(), decode_video(), dirac_decode_data_unit(), dnxhd_encode_init(), do_video_out(), do_video_stats(), dvvideo_decode_frame(), encode_frame(), encode_init(), encode_picture(), encode_picture_lossless(), encode_picture_ls(), estimate_best_b_count(), execute_code(), ff_h263_decode_frame(), ff_h264_execute_ref_pic_marking(), ff_mjpeg_decode_sof(), ff_mpeg4_encode_mb(), ff_MPV_encode_picture(), ff_MPV_frame_start(), ff_print_debug_info(), ff_thread_video_encode_frame(), ff_vc1_parse_frame_header_adv(), ff_vp56_decode_mbs(), flashsv2_encode_frame(), flashsv_encode_frame(), get_siz(), gif_decode_frame(), gif_encode_frame(), h261_decode_frame(), mimic_decode_frame(), mpeg1_decode_picture(), mpeg_decode_picture_coding_extension(), mss1_decode_frame(), mss2_decode_frame(), mss3_decode_frame(), mss4_decode_frame(), mxpeg_decode_frame(), paf_vid_decode(), pam_encode_frame(), pcx_decode_frame(), pcx_encode_frame(), pnm_decode_frame(), pnm_encode_frame(), prores_encode_init(), ptx_decode_frame(), qtrle_encode_frame(), queue_picture(), ratecontrol_1pass(), raw_decode(), raw_init_decoder(), raw_init_encoder(), rv10_decode_packet(), select_input_picture(), set_mv_intra(), show_frame(), storeframe(), sunrast_decode_frame(), sunrast_encode_init(), svq1_decode_frame(), svq1_decode_frame_header(), svq1_encode_frame(), svq1_encode_plane(), svq3_decode_frame(), targa_encode_init(), tgq_decode_frame(), tgv_decode_frame(), tmv_decode_frame(), txd_decode_frame(), utvideo_encode_frame(), v308_decode_frame(), v308_encode_frame(), v408_decode_frame(), v408_encode_frame(), v410_decode_frame(), v410_encode_frame(), vaapi_mpeg4_start_frame(), vble_decode_frame(), vc1_decode_frame(), vcr1_decode_frame(), vp8_encode(), X264_frame(), XAVS_frame(), xbm_decode_frame(), xbm_encode_init(), xface_encode_init(), xvid_encode_frame(), xwd_decode_frame(), xwd_encode_frame(), y216_decode_frame(), y41p_decode_frame(), y41p_encode_frame(), yuv4_decode_frame(), yuv4_encode_frame(), zero12v_decode_init(), and zerocodec_decode_frame().
uint8_t* AVFrame::base[AV_NUM_DATA_POINTERS] |
pointer to the first allocated byte of the picture.
Can be used in get_buffer/release_buffer. This isn't used by libavcodec unless the default get/release_buffer() is used.
Definition at line 1182 of file avcodec.h.
Referenced by avcodec_default_reget_buffer(), codec_get_buffer(), decode_slice_header(), free_picture(), and video_get_buffer().
AVRational AVFrame::sample_aspect_ratio |
sample aspect ratio for the video frame, 0/1 if unknown/unspecified
Definition at line 1189 of file avcodec.h.
Referenced by av_guess_sample_aspect_ratio(), avcodec_decode_video2(), avcodec_get_frame_defaults(), avfilter_copy_buf_props(), avfilter_copy_frame_props(), decode_slice_header(), decode_video(), encode_slice_header(), ff_init_buffer_info(), movie_push_frame(), and video_thread().
int64_t AVFrame::pts |
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.
Definition at line 1197 of file avcodec.h.
Referenced by a64multi_encode_frame(), aacPlus_encode_frame(), amr_wb_encode_frame(), avcodec_encode_audio2(), avcodec_encode_video2(), avcodec_get_frame_defaults(), avfilter_copy_buf_props(), avfilter_copy_frame_props(), copy_picture_attributes(), decode_audio(), decode_packet(), decode_thread(), decode_video(), decode_vop_header(), do_audio_out(), do_video_out(), encode_frame(), encode_superframe(), ff_af_queue_add(), ff_h263_decode_picture_header(), ff_MPV_encode_picture(), ff_rate_estimate_qscale(), ff_thread_video_encode_frame(), flac_encode_frame(), gif_decode_frame(), h261_decode_picture_header(), libschroedinger_encode_frame(), load_input_picture(), main(), MPA_encode_frame(), mpeg4_encode_gop_header(), reap_filters(), roq_dpcm_encode_frame(), set_frame_distances(), storeframe(), twolame_encode_frame(), video_encode_example(), video_thread(), vorbis_encode_frame(), vp8_encode(), X264_frame(), and XAVS_frame().
int64_t AVFrame::pkt_pts |
pts copied from the AVPacket that was decoded to produce this frame
Definition at line 1204 of file avcodec.h.
Referenced by avcodec_decode_audio4(), avcodec_decode_video2(), avcodec_get_frame_defaults(), copy_frame(), decode_audio(), ff_init_buffer_info(), get_video_frame(), gif_decode_frame(), libschroedinger_decode_frame(), raw_decode(), and show_frame().
int64_t AVFrame::pkt_dts |
dts copied from the AVPacket that triggered returning this frame
Definition at line 1211 of file avcodec.h.
Referenced by avcodec_decode_audio4(), avcodec_decode_video2(), avcodec_get_frame_defaults(), ff_thread_decode_frame(), get_video_frame(), gif_decode_frame(), and show_frame().
int AVFrame::coded_picture_number |
picture number in bitstream order
Definition at line 1218 of file avcodec.h.
Referenced by copy_picture_attributes(), decode_packet(), encode_frame(), ff_MPV_encode_picture(), ff_MPV_frame_start(), ff_write_pass1_stats(), mpeg1_encode_sequence_header(), select_input_picture(), and show_frame().
int AVFrame::display_picture_number |
picture number in display order
Definition at line 1224 of file avcodec.h.
Referenced by copy_picture_attributes(), dirac_decode_frame(), dirac_decode_picture_header(), encode_frame(), ff_write_pass1_stats(), get_delayed_pic(), load_input_picture(), select_input_picture(), and show_frame().
int AVFrame::quality |
quality (between 1 (good) and FF_LAMBDA_MAX (bad))
Definition at line 1231 of file avcodec.h.
Referenced by copy_picture_attributes(), decode_frame(), decode_init(), dnxhd_encode_picture(), do_video_out(), do_video_stats(), encode_frame(), estimate_best_b_count(), estimate_qp(), ff_mjpeg_decode_frame(), ff_MPV_frame_end(), ff_thread_video_encode_frame(), ff_write_pass1_stats(), mjpegb_decode_frame(), print_report(), ratecontrol_1pass(), roq_encode_frame(), svq1_encode_plane(), X264_frame(), XAVS_frame(), and xvid_encode_frame().
int AVFrame::reference |
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.
Set to 4 for delayed, non-reference frames.
Definition at line 1241 of file avcodec.h.
Referenced by aasc_decode_frame(), aura_decode_frame(), avs_decode_frame(), avui_decode_frame(), avui_encode_frame(), await_reference_mb_row(), await_references(), bethsoftvid_decode_init(), bfi_decode_frame(), bmp_decode_frame(), cdg_init_frame(), cdxl_decode_frame(), cinepak_decode_frame(), cllc_decode_frame(), cmv_decode_frame(), cyuv_decode_frame(), decode_frame(), decode_init(), decode_mb(), decode_postinit(), decode_slice_header(), dirac_decode_data_unit(), dirac_decode_frame(), dirac_decode_picture_header(), dvvideo_decode_frame(), encode_frame(), escape124_decode_frame(), escape130_decode_frame(), ff_draw_horiz_band(), ff_generate_sliding_window_mmcos(), ff_h264_decode_ref_pic_list_reordering(), ff_h264_direct_ref_list_init(), ff_h264_execute_ref_pic_marking(), ff_h264_fill_mbaff_ref_list(), ff_h264_frame_start(), ff_ivi_decode_frame(), ff_MPV_frame_end(), ff_MPV_frame_start(), ff_release_unused_pictures(), ff_snow_frame_start(), ff_vdpau_h264_picture_complete(), ff_vdpau_h264_set_reference_frames(), ff_vp56_decode_frame(), fill_colmap(), fill_picture_parameters(), fill_slice_long(), fill_vaapi_pic(), fill_vaapi_ReferenceFrames(), flashsv_decode_frame(), flic_decode_frame_15_16BPP(), flic_decode_frame_8BPP(), flush_change(), flush_dpb(), get_delayed_pic(), get_lowest_part_y(), ipvideo_decode_frame(), ir2_decode_frame(), lag_decode_frame(), load_input_picture(), mc_dir_part(), mimic_decode_frame(), mm_decode_init(), mp_decode_frame(), MPV_decode_mb_internal(), msrle_decode_frame(), mss1_decode_frame(), mss2_decode_frame(), mss3_decode_frame(), mss4_decode_frame(), msvideo1_decode_frame(), mvc_decode_frame(), mxpeg_decode_init(), paf_vid_decode(), pic_as_field(), pic_is_unused(), pnm_decode_frame(), pred_spatial_direct_motion(), pred_temp_direct_motion(), qtrle_decode_frame(), rl2_decode_frame(), roq_decode_frame(), rpza_decode_frame(), select_input_picture(), seqvideo_decode_frame(), sgirle_decode_frame(), show_frame(), smc_decode_frame(), split_field_copy(), tgv_decode_frame(), truemotion1_decode_frame(), tscc2_decode_frame(), ulti_decode_frame(), unreference_pic(), utvideo_encode_frame(), v308_decode_frame(), v308_encode_frame(), v408_decode_frame(), v408_encode_frame(), v410_decode_frame(), v410_encode_frame(), vble_decode_frame(), vcr1_decode_frame(), vmdvideo_decode_frame(), xan_decode_frame(), xbm_decode_frame(), xface_decode_frame(), xwd_decode_frame(), y216_decode_frame(), y41p_decode_frame(), y41p_encode_frame(), yuv4_decode_frame(), yuv4_encode_frame(), zero12v_decode_frame(), and zerocodec_decode_frame().
int8_t* AVFrame::qscale_table |
QP table.
Definition at line 1248 of file avcodec.h.
Referenced by avfilter_copy_frame_props(), decide_ac_pred(), decode_end(), decode_frame(), decode_init(), decode_init_thread_copy(), decode_mb_skip(), encode_mb_internal(), encode_thread(), ff_alloc_picture(), ff_clean_h263_qscales(), ff_clean_mpeg4_qscales(), ff_h263_loop_filter(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_filter_mb(), ff_init_qscale_tab(), ff_intrax8_decode_picture(), ff_mjpeg_decode_frame(), ff_mpeg4_pred_ac(), ff_print_debug_info(), ff_vp56_decode_frame(), ff_xvmc_decode_mb(), fill_filter_caches(), filter_mb_dir(), free_picture(), h264_filter_mb_fast_internal(), loop_filter(), mjpegb_decode_frame(), mpeg4_decode_partition_a(), mpeg4_decode_partition_b(), mpeg4_decode_partitioned_mb(), MPV_decode_mb_internal(), rv30_loop_filter(), rv34_decode_inter_macroblock(), rv34_decode_intra_macroblock(), rv40_loop_filter(), svq1_decode_frame(), vc1_decode_b_mb(), vc1_decode_b_mb_intfi(), vc1_decode_i_block_adv(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_intra_block(), vc1_decode_p_mb(), vc1_decode_p_mb_intfi(), vc1_decode_p_mb_intfr(), and vc1_pred_dc().
int AVFrame::qstride |
QP store stride.
Definition at line 1254 of file avcodec.h.
Referenced by avfilter_copy_frame_props(), decode_init(), ff_alloc_picture(), ff_mjpeg_decode_frame(), ff_vp56_decode_frame(), and mjpegb_decode_frame().
int AVFrame::qscale_type |
Definition at line 1259 of file avcodec.h.
Referenced by decode_postinit(), ff_vp56_decode_frame(), and slice_end().
uint8_t* AVFrame::mbskip_table |
mbskip_table[mb]>=1 if MB didn't change stride= mb_width = (width+15)>>4
Definition at line 1267 of file avcodec.h.
Referenced by ff_alloc_picture(), ff_estimate_b_frame_motion(), ff_h263_update_motion_val(), ff_mpeg4_encode_mb(), free_picture(), and mpeg4_decode_mb().
int16_t(*[2] AVFrame::motion_val)[2] |
motion vector table
Definition at line 1281 of file avcodec.h.
Referenced by check_input_motion(), copy_picture_attributes(), direct_search(), encode_thread(), ff_alloc_picture(), ff_er_frame_end(), ff_estimate_p_frame_motion(), ff_fix_long_p_mvs(), ff_h263_decode_mb(), ff_h263_encode_mb(), ff_h263_pred_motion(), ff_h263_update_motion_val(), ff_mpeg4_encode_mb(), ff_mpeg4_set_one_direct_mv(), ff_print_debug_info(), fill_decode_caches(), fill_filter_caches_inter(), free_picture(), guess_mv(), h263_mv4_search(), h_block_filter(), mpeg4_decode_partition_a(), mpeg4_decode_partitioned_mb(), mpeg_decode_slice(), MPV_motion_internal(), pred_pskip_motion(), pred_spatial_direct_motion(), pred_temp_direct_motion(), preview_obmc(), rv34_decode_mv(), rv34_mc(), rv34_pred_mv(), rv34_pred_mv_b(), rv34_pred_mv_rv3(), rv34_set_deblock_coef(), set_p_mv_tables(), svq1_encode_plane(), svq3_decode_mb(), svq3_mc_dir(), v_block_filter(), vc1_apply_p_h_loop_filter(), vc1_apply_p_v_loop_filter(), vc1_decode_b_mb_intfi(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_p_mb(), vc1_decode_p_mb_intfi(), vc1_decode_p_mb_intfr(), vc1_mc_1mv(), vc1_mc_4mv_chroma(), vc1_mc_4mv_luma(), vc1_pred_b_mv(), vc1_pred_b_mv_intfi(), vc1_pred_mv(), vc1_pred_mv_intfr(), wmv2_pred_motion(), and write_back_motion_list().
uint32_t* AVFrame::mb_type |
macroblock type table mb_type_base + mb_width + 2
Definition at line 1289 of file avcodec.h.
Referenced by await_references(), check_input_motion(), copy_picture_attributes(), decode_cabac_field_decoding_flag(), decode_cabac_mb_skip(), decode_mb_skip(), direct_search(), fetch_diagonal_mv(), ff_alloc_picture(), ff_er_frame_end(), ff_estimate_p_frame_motion(), ff_fix_long_p_mvs(), ff_h263_decode_mb(), ff_h263_loop_filter(), ff_h263_update_motion_val(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_filter_mb(), ff_h264_hl_decode_mb(), ff_mpeg4_set_direct_mv(), ff_print_debug_info(), ff_wmv2_decode_mb(), fill_decode_caches(), fill_decode_neighbors(), fill_filter_caches(), filter_mb_dir(), free_picture(), guess_dc(), guess_mv(), h261_decode_mb(), h261_decode_mb_skipped(), h264_filter_mb_fast_internal(), h_block_filter(), hl_decode_mb(), hl_decode_mb_444(), hl_motion(), is_intra_more_likely(), loop_filter(), mpeg4_decode_mb(), mpeg4_decode_partition_a(), mpeg4_decode_partition_b(), mpeg4_decode_partitioned_mb(), mpeg_decode_mb(), MPV_motion_internal(), msmpeg4v12_decode_mb(), msmpeg4v34_decode_mb(), parse_mb_skip(), pred_spatial_direct_motion(), pred_temp_direct_motion(), predict_field_decoding_flag(), preview_obmc(), rv30_loop_filter(), rv34_decode_inter_macroblock(), rv34_decode_inter_mb_header(), rv34_decode_intra_macroblock(), rv34_decode_intra_mb_header(), rv34_decode_mv(), rv34_pred_mv_b(), rv40_loop_filter(), svq1_encode_plane(), svq3_decode_frame(), svq3_decode_mb(), v_block_filter(), vc1_decode_b_mb_intfi(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_p_mb(), vc1_decode_p_mb_intfi(), vc1_decode_p_mb_intfr(), and vc1_pred_b_mv_intfi().
short* AVFrame::dct_coeff |
DCT coefficients.
Definition at line 1296 of file avcodec.h.
Referenced by ff_alloc_picture(), free_picture(), and MPV_decode_mb_internal().
int8_t* AVFrame::ref_index[2] |
motion reference frame index the order in which these are stored can depend on the codec.
Definition at line 1304 of file avcodec.h.
Referenced by check_input_motion(), copy_picture_attributes(), decode_mb(), ff_alloc_picture(), ff_er_frame_end(), ff_h263_update_motion_val(), ff_mpeg4_set_direct_mv(), fill_decode_caches(), fill_filter_caches_inter(), free_picture(), guess_mv(), mpeg_decode_slice(), pred_pskip_motion(), pred_spatial_direct_motion(), pred_temp_direct_motion(), vp8_alloc_frame(), vp8_decode_mb_row_no_filter(), vp8_decode_mv_mb_modes(), vp8_release_frame(), write_back_motion(), and write_back_motion_list().
void* AVFrame::opaque |
for some private data of the user
Definition at line 1311 of file avcodec.h.
Referenced by avcodec_default_reget_buffer(), codec_get_buffer(), codec_release_buffer(), decode_video(), ff_print_debug_info(), queue_picture(), and video_thread().
uint64_t AVFrame::error[AV_NUM_DATA_POINTERS] |
error
Definition at line 1318 of file avcodec.h.
Referenced by do_video_stats(), encode_frame(), encode_thread(), ff_MPV_encode_picture(), merge_context_after_encode(), and print_report().
int AVFrame::type |
type of the buffer (to keep track of who has to deallocate data[*])
Definition at line 1326 of file avcodec.h.
Referenced by alloc_frame_buffer(), avcodec_default_get_buffer(), avcodec_default_reget_buffer(), avcodec_default_release_buffer(), codec_get_buffer(), codec_release_buffer(), decode_init(), decode_video(), dnxhd_decode_init(), estimate_best_b_count(), ff_alloc_picture(), ff_copy_picture(), ff_mpeg4_encode_mb(), ff_mpeg_flush(), ff_print_debug_info(), find_unused_picture(), free_picture(), get_buffer(), select_input_picture(), skip_check(), and update_frames().
int AVFrame::repeat_pict |
When decoding, this signals how much the picture must be delayed.
extra_delay = repeat_pict / (2*fps)
Definition at line 1334 of file avcodec.h.
Referenced by decode_postinit(), mpeg_field_start(), queue_picture(), show_frame(), and vc1_decode_frame().
int AVFrame::interlaced_frame |
The content of the picture is interlaced.
Definition at line 1341 of file avcodec.h.
Referenced by avfilter_copy_buf_props(), avfilter_copy_frame_props(), copy_frame(), copy_picture_attributes(), decode_frame(), decode_frame_header(), decode_picture_header(), decode_postinit(), decode_slice(), decode_slice_header(), dnxhd_decode_frame(), dnxhd_decode_header(), dnxhd_decode_macroblock(), dnxhd_load_picture(), do_video_out(), dvvideo_decode_frame(), encode_slice_header(), ff_mjpeg_decode_sof(), ff_MPV_frame_start(), raw_decode(), raw_init_decoder(), show_frame(), utvideo_decode_init(), v4l2_read_packet(), vc1_decode_frame(), and yuv4_read_packet().
int AVFrame::top_field_first |
If the content is interlaced, is top field displayed first.
Definition at line 1348 of file avcodec.h.
Referenced by avfilter_copy_buf_props(), avfilter_copy_frame_props(), copy_frame(), copy_picture_attributes(), decode_frame_header(), decode_postinit(), decode_slice(), decode_slice_header(), decode_slice_thread(), decode_video(), dnxhd_decode_header(), dnxhd_load_picture(), do_video_out(), dv_write_pack(), dvvideo_decode_frame(), encode_frame(), encode_slice(), encode_slice_header(), ff_mjpeg_decode_sof(), ff_mpeg1_encode_picture_header(), ff_mpeg4_encode_picture_header(), ff_MPV_frame_start(), find_slice_quant(), raw_decode(), raw_init_decoder(), show_frame(), utvideo_decode_init(), v4l2_read_packet(), vc1_decode_frame(), X264_frame(), and yuv4_read_packet().
int AVFrame::palette_has_changed |
Tell user application that palette has changed from previous frame.
Definition at line 1355 of file avcodec.h.
Referenced by bfi_decode_frame(), brpix_decode_frame(), cdg_load_palette(), cinepak_decode_frame(), cinvideo_decode_frame(), decode_frame(), dfa_decode_frame(), execute_code(), flic_decode_frame_8BPP(), idcin_decode_frame(), ipvideo_decode_frame(), msrle_decode_frame(), mss1_decode_frame(), msvideo1_decode_frame(), paf_vid_decode(), qtrle_decode_frame(), raw_decode(), seqvideo_decode(), set_palette(), smc_decode_frame(), tmv_decode_frame(), vqa_decode_frame(), and yop_decode_frame().
int AVFrame::buffer_hints |
codec suggestion on buffer type if != 0
Definition at line 1362 of file avcodec.h.
Referenced by aasc_decode_frame(), aura_decode_frame(), avcodec_default_reget_buffer(), bethsoftvid_decode_init(), cdg_init_frame(), cinepak_decode_frame(), cinvideo_decode_frame(), cmv_decode_frame(), copy_frame(), cyuv_decode_frame(), decode_frame(), flashsv_decode_frame(), flic_decode_frame_15_16BPP(), flic_decode_frame_8BPP(), ir2_decode_frame(), mp_decode_frame(), msrle_decode_frame(), mss1_decode_frame(), mss2_decode_frame(), mss3_decode_frame(), mss4_decode_frame(), msvideo1_decode_frame(), mvc_decode_frame(), qtrle_decode_frame(), rpza_decode_frame(), seqvideo_decode_frame(), sgirle_decode_frame(), smc_decode_frame(), tgq_decode_frame(), tgv_decode_frame(), truemotion1_decode_frame(), tscc2_decode_frame(), ulti_decode_frame(), and xan_decode_frame().
AVPanScan* AVFrame::pan_scan |
Pan scan.
Definition at line 1369 of file avcodec.h.
Referenced by ff_alloc_picture(), free_picture(), and mpeg_field_start().
int64_t AVFrame::reordered_opaque |
reordered opaque 64bit (generally an integer or a double precision float PTS but can be anything).
The user sets AVCodecContext.reordered_opaque to represent the input at that time, the decoder reorders values as needed and sets AVFrame.reordered_opaque to exactly one of the values provided by the user through AVCodecContext.reordered_opaque
Definition at line 1382 of file avcodec.h.
Referenced by decode_thread(), end_frame(), ff_init_buffer_info(), and raw_decode().
void* AVFrame::hwaccel_picture_private |
hardware accelerator private data (FFmpeg-allocated)
Definition at line 1389 of file avcodec.h.
Referenced by alloc_frame_buffer(), commit_bitstream_and_slice_buffer(), decode_slice(), end_frame(), free_frame_buffer(), and start_frame().
struct AVCodecContext* AVFrame::owner |
the AVCodecContext which ff_thread_get_buffer() was last called on
Definition at line 1396 of file avcodec.h.
Referenced by ff_thread_await_progress(), ff_thread_get_buffer(), ff_thread_release_buffer(), ff_thread_report_progress(), free_progress(), and release_delayed_buffers().
void* AVFrame::thread_opaque |
used by multithreading to store frame-specific info
Definition at line 1403 of file avcodec.h.
Referenced by ff_thread_await_progress(), ff_thread_get_buffer(), ff_thread_report_progress(), free_progress(), get_lowest_part_y(), and release_delayed_buffers().
uint8_t AVFrame::motion_subsample_log2 |
log2 of the size of the block which a single vector in motion_val represents: (4->16x16, 3->8x8, 2-> 4x4, 1-> 2x2)
Definition at line 1411 of file avcodec.h.
Referenced by copy_picture_attributes(), ff_alloc_picture(), ff_er_frame_end(), and ff_print_debug_info().
int AVFrame::sample_rate |
Sample rate of the audio data.
Definition at line 1419 of file avcodec.h.
Referenced by audio_decode_frame(), avcodec_decode_audio4(), avfilter_copy_frame_props(), decode_audio(), and ff_init_buffer_info().
uint64_t AVFrame::channel_layout |
Channel layout of the audio data.
Definition at line 1427 of file avcodec.h.
Referenced by audio_decode_frame(), audio_encode_example(), avcodec_decode_audio4(), avfilter_copy_frame_props(), decode_audio(), and ff_init_buffer_info().
int64_t AVFrame::best_effort_timestamp |
frame timestamp estimated using various heuristics, in stream time base Code outside libavcodec should access this field using: av_frame_get_best_effort_timestamp(frame)
Definition at line 1436 of file avcodec.h.
Referenced by avcodec_decode_audio4(), avcodec_decode_video2(), and avcodec_get_frame_defaults().
int64_t AVFrame::pkt_pos |
reordered pos from the last AVPacket that has been input into the decoder Code outside libavcodec should access this field using: av_frame_get_pkt_pos(frame)
Definition at line 1445 of file avcodec.h.
Referenced by avcodec_decode_video2(), avcodec_get_frame_defaults(), ff_init_buffer_info(), raw_decode(), and show_frame().
int64_t AVFrame::pkt_duration |
duration of the corresponding packet, expressed in AVStream->time_base units, 0 if unknown.
Code outside libavcodec should access this field using: av_frame_get_pkt_duration(frame)
Definition at line 1455 of file avcodec.h.
Referenced by avcodec_decode_audio4(), avcodec_get_frame_defaults(), ff_init_buffer_info(), gif_decode_frame(), raw_decode(), and show_frame().
AVDictionary* AVFrame::metadata |
metadata.
Code outside libavcodec should access this field using: av_frame_get_metadata(frame)
Definition at line 1464 of file avcodec.h.
Referenced by add_doubles_metadata(), add_metadata_from_side_data(), add_shorts_metadata(), add_string_metadata(), and decode_frame().
int AVFrame::decode_error_flags |
decode error flags of the frame, set to a combination of FF_DECODE_ERROR_xxx flags if the decoder produced a frame, but there were errors during the decoding.
Code outside libavcodec should access this field using: av_frame_get_decode_error_flags(frame)
Definition at line 1475 of file avcodec.h.
Referenced by ac3_decode_frame(), and cpia_decode_frame().
int64_t AVFrame::channels |
number of audio channels, only used for audio.
Code outside libavcodec should access this field using: av_frame_get_channels(frame)
Definition at line 1486 of file avcodec.h.
Referenced by audio_decode_frame(), avcodec_decode_audio4(), avfilter_copy_frame_props(), decode_packet(), and ff_init_buffer_info().
int AVFrame::pkt_size |
size of the corresponding packet containing the compressed frame.
It must be accessed using av_frame_get_pkt_size() and av_frame_set_pkt_size(). It is set to a negative value if unknown.
Definition at line 1496 of file avcodec.h.
Referenced by avcodec_get_frame_defaults(), ff_init_buffer_info(), and show_frame().