Audio Video Frame. 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 * | base [AV_NUM_DATA_POINTERS] |
pointer to the first allocated byte of the picture. | |
int | key_frame |
1 -> keyframe, 0-> not | |
enum AVPictureType | pict_type |
Picture type of the frame, see ?_TYPE below. | |
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. | |
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. | |
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 | |
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) | |
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 | qscale_type |
int | interlaced_frame |
The content of the picture is interlaced. | |
int | top_field_first |
If the content is interlaced, is top field displayed first. | |
AVPanScan * | pan_scan |
Pan scan. | |
int | palette_has_changed |
Tell user application that palette has changed from previous frame. | |
int | buffer_hints |
codec suggestion on buffer type if != 0 | |
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. | |
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 (Libav-allocated) | |
int64_t | pkt_pts |
reordered pts from the last AVPacket that has been input into the decoder | |
int64_t | pkt_dts |
dts from the last AVPacket that has been input into the decoder | |
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 | |
int | nb_samples |
number of audio samples (per channel) described by this frame | |
uint8_t ** | extended_data |
pointers to the data planes/channels. | |
AVRational | sample_aspect_ratio |
sample aspect ratio for the video frame, 0/1 if unknown | |
int | width |
width and height of the video frame | |
int | height |
int | format |
format of the frame, -1 if unknown or unset Values correspond to enum PixelFormat for video frames, enum AVSampleFormat for audio) |
Audio Video Frame.
New fields can be added to the end of AVFRAME with minor version bumps. Removal, reordering and changes to existing fields require a major version bump. sizeof(AVFrame) must not be used outside libav*.
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 1015 of file avcodec.h.
Referenced by avcodec_default_reget_buffer(), codec_get_buffer(), decode_slice_header(), free_picture(), and video_get_buffer().
int AVFrame::buffer_hints |
codec suggestion on buffer type if != 0
Definition at line 1194 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(), 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(), msvideo1_decode_frame(), qtrle_decode_frame(), rpza_decode_frame(), seqvideo_decode_frame(), smc_decode_frame(), tgq_decode_frame(), tgv_decode_frame(), truemotion1_decode_frame(), ulti_decode_frame(), and xan_decode_frame().
int AVFrame::coded_picture_number |
picture number in bitstream order
Definition at line 1043 of file avcodec.h.
Referenced by copy_picture_attributes(), ff_write_pass1_stats(), mpeg1_encode_sequence_header(), MPV_frame_start(), and select_input_picture().
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 996 of file avcodec.h.
Referenced by aac_decode_frame_int(), aasc_decode_end(), aasc_decode_frame(), ac3_decode_frame(), add_frame_default(), adpcm_decode_frame(), adx_decode_frame(), alac_decode_frame(), alloc_frame_buffer(), amrnb_decode_frame(), amrwb_decode_frame(), ape_decode_frame(), apply_loop_filter(), apply_motion_generic(), atrac1_decode_frame(), atrac3_decode_frame(), audio_decode_example(), audio_decode_frame(), audio_get_buffer(), aura_decode_end(), aura_decode_frame(), av_vsrc_buffer_add_frame(), avcodec_default_reget_buffer(), avcodec_default_release_buffer(), avcodec_fill_audio_frame(), avs_decode_end(), avs_decode_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(), cavs_decode_frame(), cdg_border_preset(), cdg_decode_end(), cdg_decode_frame(), cdg_load_palette(), cdg_scroll(), cdg_tile_block(), cinaudio_decode_frame(), cinepak_decode_end(), cinepak_decode_frame(), cinepak_decode_init(), cinepak_decode_vectors(), cinvideo_decode_end(), cinvideo_decode_frame(), cinvideo_decode_init(), close_video(), cmv_decode_end(), cmv_decode_frame(), cmv_decode_inter(), cmv_decode_intra(), codec_get_buffer(), codec_reinit(), codec_release_buffer(), common_end(), comp_block(), cond_release_buffer(), cook_decode_frame(), copy_frame_default(), copy_from(), create_clusters(), cyuv_decode_end(), cyuv_decode_frame(), dca_decode_frame(), dct_get(), decode_close(), decode_end(), decode_flush(), decode_frame(), decode_frame_byterun1(), decode_frame_ilbm(), decode_i2_frame(), decode_init(), decode_mb(), decode_p_block(), decode_p_frame(), decode_pic(), decode_slice(), decode_slice_header(), decode_tag(), dfa_decode_end(), dfa_decode_frame(), dnxhd_decode_close(), dnxhd_decode_frame(), dnxhd_decode_macroblock(), dnxhd_encode_picture(), dnxhd_load_picture(), do_audio_out(), do_video_out(), do_video_resample(), dpcm_decode_frame(), draw_char(), dv_decode_video_segment(), dv_encode_video_segment(), dvvideo_close(), eightsvx_decode_frame(), encode_audio_frame(), encode_bitstream(), encode_frame(), encode_mb_internal(), encode_picture_lossless(), encode_picture_ls(), encode_thread(), erase_line(), erase_screen(), escape124_decode_close(), escape124_decode_frame(), estimate_best_b_count(), eval_motion_dist(), execute_code(), exit_program(), ff_alloc_picture(), ff_apply_vector_2x2(), ff_apply_vector_4x4(), 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_find_unused_picture(), 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_mjpeg_decode_end(), ff_mjpeg_decode_sof(), ff_mpeg_flush(), ff_pnm_end(), ff_pre_estimate_p_frame_motion(), ff_print_debug_info(), ff_release_unused_pictures(), 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_vaapi_get_surface_id(), 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_vp56_free(), ff_xvmc_decode_mb(), ff_xvmc_field_end(), ff_xvmc_field_start(), ff_xvmc_init_block(), fill_yuv_image(), filter_mb_row(), filter_mb_row_simple(), flac_decode_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(), free_picture(), g722_decode_frame(), gather_data_for_cel(), gather_data_for_subcel(), get_frame_mb(), gif_decode_close(), gif_decode_frame(), gif_decode_init(), gif_encode_frame(), gif_read_image(), gsm_decode_frame(), guess_mv(), h261_decode_frame(), h263_mv4_search(), halfpel_interpol(), hl_decode_mb_444_internal(), hl_decode_mb_internal(), hscroll(), idcin_decode_end(), idcin_decode_frame(), idcin_decode_init(), idcin_decode_vlcs(), idct_put(), imc_decode_frame(), init_image(), ipvideo_decode_end(), ipvideo_decode_frame(), ipvideo_decode_init(), ipvideo_decode_opcodes(), ir2_decode_end(), ir2_decode_frame(), is_intra_more_likely(), lag_decode_end(), lag_decode_frame(), libgsm_decode_frame(), libopenjpeg_decode_close(), libopenjpeg_decode_frame(), libspeex_decode_frame(), ljpeg_decode_rgb_scan(), ljpeg_decode_yuv_scan(), load_input_picture(), loop_filter(), mace_decode_frame(), 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(), movie_get_frame(), mp_decode_end(), mp_decode_frame(), mp_get_yuv_from_rgb(), mp_read_changes_map(), mp_set_rgb_from_yuv(), mpc7_decode_frame(), mpc8_decode_frame(), mpeg4_encode_mb(), mpeg_field_start(), MPV_decode_mb_internal(), MPV_encode_picture(), MPV_frame_end(), MPV_frame_start(), MPV_motion_internal(), MPV_motion_lowres(), msmpeg4_pred_dc(), msrle_decode_end(), msrle_decode_frame(), msrle_decode_init(), msvideo1_decode_16bit(), msvideo1_decode_8bit(), msvideo1_decode_end(), msvideo1_decode_init(), mxpeg_check_dimensions(), mxpeg_decode_end(), mxpeg_decode_frame(), output_data(), pack_yuv(), pam_encode_frame(), pcm_bluray_decode_frame(), pcm_decode_frame(), pcm_encode_frame(), pcx_decode_frame(), pcx_encode_frame(), pcx_end(), pic_as_field(), 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(), ra288_decode_frame(), raw_decode(), reconstruct_and_encode_image(), render_slice(), rl2_decode_end(), rl2_decode_frame(), roq_decode_end(), roq_decode_frame(), rpza_decode_end(), rpza_decode_init(), rpza_decode_stream(), rtjpeg_decode_frame_yuv420(), 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(), shorten_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_end(), svq1_decode_frame(), svq1_encode_frame(), svq1_encode_plane(), svq3_mc_dir_part(), synth_superframe(), 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(), transcode(), transcode_audio(), transcode_video(), truemotion1_decode_16bit(), truemotion1_decode_24bit(), truemotion1_decode_end(), truemotion1_decode_header(), truemotion1_decode_init(), truespeech_decode_frame(), tta_decode_frame(), twin_decode_frame(), txd_decode_frame(), txd_end(), ulti_convert_yuv(), ulti_decode_end(), update_frames(), v410_decode_close(), v410_decode_frame(), v410_encode_frame(), vble_decode_close(), vble_decode_frame(), vble_restore_plane(), vc1_decode_end(), 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(), video_decode_example(), video_encode_example(), video_get_buffer(), vmd_decode(), vmdaudio_decode_frame(), vmdvideo_decode_end(), vmdvideo_decode_frame(), vorbis_decode_frame(), vp3_decode_flush(), vp3_decode_init(), vp3_update_thread_context(), vp56_decode_mb(), vp56_mc(), vp8_decode(), vp8_decode_flush_impl(), vp8_decode_frame(), vp8_encode(), vp8_mc_chroma(), vp8_mc_luma(), vqa_decode_chunk(), vqa_decode_end(), vqa_decode_frame(), vqa_decode_init(), wavpack_decode_frame(), wma_decode_superframe(), write_video_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(), yop_decode_close(), and yop_decode_frame().
short* AVFrame::dct_coeff |
DCT coefficients.
Definition at line 1201 of file avcodec.h.
Referenced by ff_alloc_picture(), free_picture(), and MPV_decode_mb_internal().
int AVFrame::display_picture_number |
picture number in display order
Definition at line 1049 of file avcodec.h.
Referenced by copy_picture_attributes(), ff_write_pass1_stats(), load_input_picture(), and select_input_picture().
uint64_t AVFrame::error[AV_NUM_DATA_POINTERS] |
error
Definition at line 1138 of file avcodec.h.
Referenced by do_video_stats(), encode_thread(), merge_context_after_encode(), MPV_encode_picture(), and print_report().
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: unused decoding: set by AVCodecContext.get_buffer()
Definition at line 1284 of file avcodec.h.
Referenced by audio_get_buffer(), avcodec_fill_audio_frame(), codec_get_buffer(), encode_audio_frame(), exit_program(), and video_get_buffer().
int AVFrame::format |
format of the frame, -1 if unknown or unset Values correspond to enum PixelFormat for video frames, enum AVSampleFormat for audio)
Definition at line 1307 of file avcodec.h.
Referenced by av_vsrc_buffer_add_frame(), avcodec_decode_audio4(), avcodec_decode_video2(), avcodec_get_frame_defaults(), avfilter_copy_frame_props(), do_video_resample(), ff_thread_decode_frame(), and transcode_video().
int AVFrame::height |
Definition at line 1298 of file avcodec.h.
Referenced by av_vsrc_buffer_add_frame(), avcodec_decode_video2(), avfilter_copy_frame_props(), do_video_resample(), ff_thread_decode_frame(), and transcode_video().
void* AVFrame::hwaccel_picture_private |
hardware accelerator private data (Libav-allocated)
Definition at line 1229 of file avcodec.h.
Referenced by alloc_frame_buffer(), commit_bitstream_and_slice_buffer(), decode_slice(), end_frame(), free_frame_buffer(), and start_frame().
int AVFrame::interlaced_frame |
The content of the picture is interlaced.
Definition at line 1166 of file avcodec.h.
Referenced by avfilter_copy_frame_props(), copy_picture_attributes(), decode_frame(), decode_frame_header(), decode_picture_header(), decode_postinit(), decode_slice(), dnxhd_decode_frame(), dnxhd_decode_header(), dnxhd_decode_macroblock(), dnxhd_load_picture(), do_video_out(), ff_mjpeg_decode_sof(), MPV_frame_start(), raw_decode(), v4l2_read_packet(), and yuv4_read_packet().
int AVFrame::key_frame |
1 -> keyframe, 0-> not
Definition at line 1021 of file avcodec.h.
Referenced by a64multi_encode_frame(), a64multi_init_encoder(), adpcm_encode_init(), alac_encode_init(), avcodec_get_frame_defaults(), avfilter_copy_frame_props(), avs_decode_frame(), bfi_decode_frame(), bmp_decode_frame(), bmp_encode_frame(), cmv_decode_frame(), decode_frame(), decode_init(), decode_nal_units(), decode_postinit(), dnxhd_decode_init(), dnxhd_encode_init(), do_video_out(), encode_frame(), encode_init(), encode_picture(), encode_picture_lossless(), encode_picture_ls(), Faac_encode_init(), ff_h263_decode_frame(), ff_h264_frame_start(), ff_mjpeg_decode_sof(), ff_snow_frame_start(), ff_vp56_decode_frame(), flashsv_encode_frame(), flush_encoders(), gif_encode_frame(), h261_decode_frame(), lag_decode_frame(), libdirac_encode_frame(), libgsm_encode_init(), libschroedinger_encode_frame(), MP3lame_encode_init(), MPA_encode_init(), mpeg1_decode_picture(), mpeg1_encode_sequence_header(), mpeg_decode_picture_coding_extension(), MPV_frame_start(), mxpeg_decode_frame(), oggvorbis_encode_init(), output_packet(), pam_encode_frame(), pcm_encode_init(), pcx_encode_frame(), pnm_decode_frame(), pnm_encode_frame(), qtrle_encode_frame(), qtrle_encode_line(), raw_init_decoder(), raw_init_encoder(), roq_dpcm_encode_init(), storeframe(), svq1_encode_frame(), svq3_decode_frame(), targa_encode_frame(), targa_encode_init(), tgq_decode_frame(), tgv_decode_frame(), tmv_decode_frame(), v410_decode_frame(), v410_encode_frame(), vble_decode_frame(), vc1_decode_frame(), vp56_decode_mb(), vp56_mc(), vp5_parse_coeff_models(), vp5_parse_header(), vp6_parse_coeff_models(), vp6_parse_header(), write_video_frame(), X264_frame(), and XAVS_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 1007 of file avcodec.h.
Referenced by aasc_decode_frame(), add_frame_default(), alloc_frame_buffer(), apply_loop_filter(), apply_motion_generic(), audio_get_buffer(), aura_decode_frame(), av_vsrc_buffer_add_frame(), avcodec_fill_audio_frame(), avs_decode_frame(), bethsoftvid_decode_frame(), bfi_decode_frame(), bink_decode_plane(), binkb_decode_plane(), bmp_decode_frame(), bmp_encode_frame(), cdg_border_preset(), cdg_decode_frame(), cdg_scroll(), cdg_tile_block(), cinepak_decode_vectors(), cinvideo_decode_frame(), cmv_decode_inter(), cmv_decode_intra(), codec_get_buffer(), comp_block(), copy_frame_default(), copy_from(), create_clusters(), cyuv_decode_frame(), dct_get(), decode_13(), decode_frame(), decode_frame_byterun1(), decode_frame_ilbm(), decode_i2_frame(), decode_p_frame(), decode_slice(), decode_slice_header(), dfa_decode_frame(), dnxhd_decode_macroblock(), dnxhd_encode_picture(), dnxhd_load_picture(), do_video_out(), do_video_resample(), draw_char(), dv_decode_video_segment(), dv_encode_video_segment(), encode_bitstream(), encode_frame(), encode_picture_lossless(), encode_picture_ls(), erase_line(), erase_screen(), escape124_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_mjpeg_decode_sof(), ff_print_debug_info(), ff_snow_frame_start(), ff_snow_release_buffer(), ff_vp56_decode_frame(), fill_yuv_image(), 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_frame_mb(), gif_encode_frame(), gif_read_image(), halfpel_interpol(), hscroll(), idcin_decode_vlcs(), idct_put(), init_mv(), ipvideo_decode_opcodes(), ir2_decode_frame(), lag_decode_frame(), libopenjpeg_decode_frame(), load_input_picture(), mca(), mm_decode_inter(), mm_decode_intra(), movie_get_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(), MPV_frame_start(), msrle_decode_frame(), msvideo1_decode_16bit(), msvideo1_decode_8bit(), mxpeg_check_dimensions(), pack_yuv(), 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(), rtjpeg_decode_frame_yuv420(), seq_decode_op1(), seq_decode_op2(), seq_decode_op3(), seqvideo_decode(), skip_check(), smc_decode_stream(), sunrast_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(), transcode_video(), truemotion1_decode_16bit(), truemotion1_decode_24bit(), txd_decode_frame(), ulti_convert_yuv(), 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(), video_decode_example(), video_encode_example(), video_get_buffer(), vmd_decode(), vp3_draw_horiz_band(), vp56_size_changed(), vp8_decode(), vp8_encode(), vqa_decode_chunk(), write_video_frame(), 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(), yop_copy_previous_block(), yop_decode_frame(), yop_next_macroblock(), and yop_paint_block().
uint32_t* AVFrame::mb_type |
macroblock type table mb_type_base + mb_width + 2
Definition at line 1116 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_444_internal(), hl_decode_mb_internal(), 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(), 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().
uint8_t* AVFrame::mbskip_table |
mbskip_table[mb]>=1 if MB didn't change stride= mb_width = (width+15)>>4
Definition at line 1094 of file avcodec.h.
Referenced by ff_alloc_picture(), ff_estimate_b_frame_motion(), ff_h263_update_motion_val(), free_picture(), mpeg4_decode_mb(), mpeg4_decode_video_packet_header(), and mpeg4_encode_mb().
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 1124 of file avcodec.h.
Referenced by copy_picture_attributes(), ff_alloc_picture(), ff_er_frame_end(), and ff_print_debug_info().
int16_t(*[2] AVFrame::motion_val)[2] |
motion vector table
Definition at line 1108 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_set_one_direct_mv(), ff_print_debug_info(), fill_decode_caches(), fill_filter_caches_inter(), guess_mv(), h263_mv4_search(), h_block_filter(), mpeg4_decode_partition_a(), mpeg4_decode_partitioned_mb(), mpeg4_encode_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().
int AVFrame::nb_samples |
number of audio samples (per channel) described by this frame
Definition at line 1264 of file avcodec.h.
Referenced by aac_decode_frame_int(), ac3_decode_frame(), adpcm_decode_frame(), adx_decode_frame(), alac_decode_frame(), amrnb_decode_frame(), amrwb_decode_frame(), ape_decode_frame(), atrac1_decode_frame(), atrac3_decode_frame(), audio_decode_example(), audio_decode_frame(), audio_get_buffer(), avcodec_encode_audio2(), avcodec_fill_audio_frame(), bmv_aud_decode_frame(), cinaudio_decode_frame(), cook_decode_frame(), dca_decode_frame(), decode_frame(), decode_tag(), do_audio_out(), dpcm_decode_frame(), eightsvx_decode_frame(), encode_audio_frame(), flac_decode_frame(), g722_decode_frame(), gsm_decode_frame(), imc_decode_frame(), libgsm_decode_frame(), libspeex_decode_frame(), mace_decode_frame(), mp_decode_frame(), mpc7_decode_frame(), mpc8_decode_frame(), output_data(), pcm_bluray_decode_frame(), pcm_decode_frame(), pcm_encode_frame(), qcelp_decode_frame(), qdm2_decode_frame(), ra144_decode_frame(), ra288_decode_frame(), s302m_decode_frame(), shorten_decode_frame(), sipr_decode_frame(), smka_decode_frame(), synth_superframe(), transcode_audio(), truespeech_decode_frame(), tta_decode_frame(), twin_decode_frame(), vmdaudio_decode_frame(), vorbis_decode_frame(), wavpack_decode_frame(), wma_decode_superframe(), and ws_snd_decode_frame().
void* AVFrame::opaque |
for some private data of the user
Definition at line 1131 of file avcodec.h.
Referenced by avcodec_default_reget_buffer(), codec_get_buffer(), codec_release_buffer(), queue_picture(), transcode_video(), and video_thread().
struct AVCodecContext* AVFrame::owner |
the AVCodecContext which ff_thread_get_buffer() was last called on
Definition at line 1250 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().
int AVFrame::palette_has_changed |
Tell user application that palette has changed from previous frame.
Definition at line 1187 of file avcodec.h.
Referenced by bfi_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(), msvideo1_decode_frame(), qtrle_decode_frame(), raw_decode(), seqvideo_decode(), set_palette(), smc_decode_frame(), tmv_decode_frame(), vqa_decode_frame(), and yop_decode_frame().
AVPanScan* AVFrame::pan_scan |
Pan scan.
Definition at line 1180 of file avcodec.h.
Referenced by ff_alloc_picture(), free_picture(), and mpeg_field_start().
enum AVPictureType AVFrame::pict_type |
Picture type of the frame, see ?_TYPE below.
Definition at line 1028 of file avcodec.h.
Referenced by a64multi_encode_frame(), a64multi_init_encoder(), avfilter_copy_frame_props(), avs_decode_frame(), bfi_decode_frame(), bmp_decode_frame(), bmp_encode_frame(), cmv_decode_frame(), copy_picture_attributes(), decode_frame(), decode_postinit(), dnxhd_encode_init(), do_video_out(), do_video_stats(), encode_frame(), encode_init(), encode_picture(), encode_picture_lossless(), encode_picture_ls(), estimate_best_b_count(), execute_code(), ff_h263_decode_frame(), ff_h264_direct_ref_list_init(), ff_mjpeg_decode_sof(), ff_print_debug_info(), ff_vp56_decode_frame(), flashsv_encode_frame(), gif_encode_frame(), h261_decode_frame(), mimic_decode_frame(), mpeg1_decode_picture(), mpeg4_encode_mb(), mpeg_decode_picture_coding_extension(), MPV_encode_picture(), MPV_frame_start(), mxpeg_decode_frame(), pam_encode_frame(), pcx_decode_frame(), pcx_encode_frame(), pnm_decode_frame(), pnm_encode_frame(), ptx_decode_frame(), qtrle_encode_frame(), raw_decode(), raw_init_decoder(), raw_init_encoder(), rv10_decode_packet(), select_input_picture(), storeframe(), sunrast_decode_frame(), svq1_encode_frame(), svq1_encode_plane(), svq3_decode_frame(), targa_encode_frame(), tgq_decode_frame(), tgv_decode_frame(), tmv_decode_frame(), txd_decode_frame(), v410_decode_frame(), v410_encode_frame(), vaapi_mpeg4_start_frame(), vble_decode_frame(), vc1_decode_frame(), vc1_parse_frame_header_adv(), X264_frame(), and XAVS_frame().
int64_t AVFrame::pkt_dts |
dts from the last AVPacket that has been input into the decoder
Definition at line 1243 of file avcodec.h.
Referenced by avcodec_decode_audio4(), avcodec_decode_video2(), ff_thread_decode_frame(), get_video_frame(), movie_get_frame(), output_packet(), and transcode_video().
int64_t AVFrame::pkt_pts |
reordered pts from the last AVPacket that has been input into the decoder
Definition at line 1236 of file avcodec.h.
Referenced by audio_get_buffer(), avcodec_default_reget_buffer(), codec_get_buffer(), get_video_frame(), movie_get_frame(), output_packet(), raw_decode(), transcode_video(), and video_get_buffer().
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 1036 of file avcodec.h.
Referenced by avcodec_encode_audio2(), avcodec_get_frame_defaults(), avfilter_copy_frame_props(), copy_picture_attributes(), decode_vop_header(), do_audio_out(), do_video_out(), encode_frame(), ff_h263_decode_picture_header(), ff_rate_estimate_qscale(), flac_encode_frame(), flush_encoders(), h261_decode_picture_header(), libdirac_encode_frame(), libschroedinger_encode_frame(), load_input_picture(), mpeg4_encode_gop_header(), oggvorbis_encode_frame(), output_packet(), set_frame_distances(), storeframe(), transcode_audio(), vorbis_encode_frame(), vp8_encode(), write_audio_frame(), write_video_frame(), X264_frame(), and XAVS_frame().
int8_t* AVFrame::qscale_table |
QP table.
Definition at line 1080 of file avcodec.h.
Referenced by 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_print_debug_info(), ff_vp56_decode_frame(), ff_xvmc_decode_mb(), fill_filter_caches(), filter_mb_dir(), h264_filter_mb_fast_internal(), loop_filter(), mjpegb_decode_frame(), mpeg4_decode_partition_a(), mpeg4_decode_partition_b(), mpeg4_decode_partitioned_mb(), mpeg4_pred_ac(), MPV_decode_mb_internal(), rv30_loop_filter(), rv34_decode_inter_macroblock(), rv34_decode_intra_macroblock(), rv40_loop_filter(), 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::qscale_type |
Definition at line 1159 of file avcodec.h.
Referenced by decode_postinit(), ff_vp56_decode_frame(), and slice_end().
int AVFrame::qstride |
QP store stride.
Definition at line 1086 of file avcodec.h.
Referenced by decode_init(), ff_alloc_picture(), ff_mjpeg_decode_frame(), ff_vp56_decode_frame(), and mjpegb_decode_frame().
int AVFrame::quality |
quality (between 1 (good) and FF_LAMBDA_MAX (bad))
Definition at line 1056 of file avcodec.h.
Referenced by copy_picture_attributes(), decode_frame(), decode_init(), dnxhd_encode_picture(), do_video_out(), do_video_stats(), estimate_best_b_count(), estimate_qp(), ff_mjpeg_decode_frame(), ff_write_pass1_stats(), mjpegb_decode_frame(), MPV_frame_end(), output_packet(), print_report(), roq_encode_frame(), svq1_encode_plane(), transcode_video(), X264_frame(), and XAVS_frame().
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 1209 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_frame(), vp8_release_frame(), write_back_motion(), and write_back_motion_list().
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 1073 of file avcodec.h.
Referenced by aasc_decode_frame(), aura_decode_frame(), avs_decode_frame(), await_reference_mb_row(), await_references(), bethsoftvid_decode_init(), bfi_decode_frame(), bmp_decode_frame(), cdg_init_frame(), cinepak_decode_frame(), cmv_decode_frame(), cyuv_decode_frame(), decode_frame(), decode_init(), decode_postinit(), decode_slice_header(), escape124_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_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_dpb(), 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(), MPV_frame_end(), MPV_frame_start(), msrle_decode_frame(), msvideo1_decode_frame(), mxpeg_decode_init(), pic_as_field(), 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(), smc_decode_frame(), split_field_copy(), tgv_decode_frame(), truemotion1_decode_frame(), ulti_decode_frame(), unreference_pic(), v410_decode_frame(), v410_encode_frame(), vble_decode_frame(), vmdvideo_decode_frame(), and xan_decode_frame().
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 1222 of file avcodec.h.
Referenced by audio_get_buffer(), avcodec_default_reget_buffer(), end_frame(), movie_get_frame(), raw_decode(), and video_get_buffer().
int AVFrame::repeat_pict |
When decoding, this signals how much the picture must be delayed.
extra_delay = repeat_pict / (2*fps)
Definition at line 1154 of file avcodec.h.
Referenced by decode_postinit(), mpeg_field_start(), output_picture2(), and vc1_decode_frame().
AVRational AVFrame::sample_aspect_ratio |
sample aspect ratio for the video frame, 0/1 if unknown
Definition at line 1291 of file avcodec.h.
Referenced by avcodec_decode_video2(), avcodec_get_frame_defaults(), avfilter_copy_frame_props(), ff_thread_decode_frame(), movie_get_frame(), and transcode_video().
void* AVFrame::thread_opaque |
used by multithreading to store frame-specific info
Definition at line 1257 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().
int AVFrame::top_field_first |
If the content is interlaced, is top field displayed first.
Definition at line 1173 of file avcodec.h.
Referenced by avfilter_copy_frame_props(), copy_picture_attributes(), decode_frame(), decode_frame_header(), decode_postinit(), decode_slice(), dnxhd_decode_header(), dnxhd_load_picture(), do_video_out(), ff_mjpeg_decode_sof(), mpeg1_encode_picture_header(), mpeg4_encode_picture_header(), MPV_frame_start(), raw_decode(), v4l2_read_packet(), X264_frame(), and yuv4_read_packet().
int AVFrame::type |
type of the buffer (to keep track of who has to deallocate data[*])
Definition at line 1146 of file avcodec.h.
Referenced by alloc_frame_buffer(), audio_get_buffer(), avcodec_default_reget_buffer(), avcodec_default_release_buffer(), codec_get_buffer(), decode_init(), dnxhd_decode_init(), estimate_best_b_count(), ff_alloc_picture(), ff_copy_picture(), ff_find_unused_picture(), ff_mpeg_flush(), ff_print_debug_info(), free_picture(), mpeg4_encode_mb(), select_input_picture(), skip_check(), update_frames(), and video_get_buffer().
int AVFrame::width |
width and height of the video frame
Definition at line 1298 of file avcodec.h.
Referenced by av_vsrc_buffer_add_frame(), avcodec_decode_video2(), avfilter_copy_frame_props(), do_video_resample(), ff_thread_decode_frame(), and transcode_video().