|
FFmpeg
|
Flags describing additional frame properties. More...
Macros | |
| #define | AV_FRAME_FLAG_CORRUPT (1 << 0) |
| The frame data may be corrupted, e.g. | |
| #define | AV_FRAME_FLAG_KEY (1 << 1) |
| A flag to mark frames that are keyframes. | |
| #define | AV_FRAME_FLAG_DISCARD (1 << 2) |
| A flag to mark the frames which need to be decoded, but shouldn't be output. | |
| #define | AV_FRAME_FLAG_INTERLACED (1 << 3) |
| A flag to mark frames whose content is interlaced. | |
| #define | AV_FRAME_FLAG_TOP_FIELD_FIRST (1 << 4) |
| A flag to mark frames where the top field is displayed first if the content is interlaced. | |
| #define | AV_FRAME_FLAG_LOSSLESS (1 << 5) |
| A decoder can use this flag to mark frames which were originally encoded losslessly. | |
Flags describing additional frame properties.
| #define AV_FRAME_FLAG_CORRUPT (1 << 0) |
The frame data may be corrupted, e.g.
due to decoding errors.
Definition at line 683 of file frame.h.
Referenced by apv_decode(), ff_hevc_output_frames(), ff_vvc_output_frame(), h264_select_output_frame(), packet_decode(), and process_frame_obj().
| #define AV_FRAME_FLAG_KEY (1 << 1) |
A flag to mark frames that are keyframes.
Definition at line 687 of file frame.h.
Referenced by aac_decode_er_frame(), activate(), activate(), aom_decode(), av1_frame_alloc(), avs_decode_frame(), bfi_decode_frame(), cinepak_decode(), clv_decode_frame(), cmv_decode_frame(), cpia_decode_frame(), cuvid_output_frame(), decode_bl16(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame_ga(), decode_frame_lscr(), decode_header(), decode_idat_chunk(), decode_slice(), dirac_decode_data_unit(), dng_decode_tiles(), encode_frame(), encode_frame(), encode_picture(), ff_aac_usac_decode_frame(), ff_decode_preinit(), ff_mjpeg_decode_sof(), ff_mpv_encode_picture(), ff_mpv_frame_start(), ff_snow_frames_prepare(), ff_v4l2_buffer_buf_to_avframe(), ff_vp56_decode_frame(), ff_vp56_decode_mbs(), ffat_decode(), fg_output_frame(), fic_decode_frame(), filter_frame(), filter_frame(), forced_kf_apply(), g2m_decode_frame(), gem_decode_frame(), get_stream_info(), gif_decode_frame(), h261_decode_frame(), h264_field_start(), h264_frame_start(), h264_select_output_frame(), hevc_frame_start(), hnm_decode_frame(), imx_decode_frame(), libdav1d_receive_frame(), libjxl_receive_frame(), librsvg_decode_frame(), libxevd_receive_frame(), mediacodec_wrap_sw_audio_buffer(), mobiclip_decode(), mss1_decode_frame(), mss2_decode_frame(), mss3_decode_frame(), mss4_decode_frame(), mxpeg_decode_frame(), oh_encode_send_sw_frame(), output_frame(), paf_video_decode(), qsv_decode(), read_access_unit(), request_frame(), rscc_decode_frame(), rv60_decode_frame(), screenpresso_decode_frame(), select_frame(), send_next_delayed_frame(), set_pict_type(), sga_decode_frame(), show_frame(), svq3_decode_frame(), tdsc_decode_frame(), testsrc_vulkan_activate(), tgq_decode_frame(), tgq_decode_mb(), tgv_decode_frame(), tlog_ref(), uavs3d_output_callback(), video_frame_process(), video_sync_process(), vk_ffv1_end_frame(), vk_ffv1_start_frame(), vp3_decode_frame(), vp56_conceal_mb(), vp56_decode_mb(), vp56_mc(), vp5_parse_coeff_models(), vp5_parse_header(), vp6_parse_coeff_models(), vp6_parse_header(), vp78_decode_frame(), vp8_lossless_decode_frame(), vp9_decode_frame(), and zerocodec_decode_frame().
| #define AV_FRAME_FLAG_DISCARD (1 << 2) |
A flag to mark the frames which need to be decoded, but shouldn't be output.
Definition at line 691 of file frame.h.
Referenced by decode_simple_internal(), discard_samples(), ff_decode_frame_props_from_pkt(), ff_decode_receive_frame_internal(), and reget_buffer_internal().
| #define AV_FRAME_FLAG_INTERLACED (1 << 3) |
A flag to mark frames whose content is interlaced.
Definition at line 695 of file frame.h.
Referenced by activate(), activate(), activate(), alloc_frame(), alloc_frame(), analyze_plane(), cfhd_decode(), cuvid_output_frame(), decode_frame(), decode_frame(), decode_frame(), decode_frame_header(), decode_idat_chunk(), decode_slice_header(), deint_d3d12_filter_frame(), deint_d3d12_process_frame(), deint_vaapi_filter_frame(), deinterlace_plane_slice(), deinterlace_slice(), dnxhd_decode_frame(), dnxhd_decode_header(), dnxhd_decode_macroblock(), dnxhd_load_picture(), dvvideo_decode_frame(), enc_reopen(), encode_frame(), encode_slice_header(), eval_pts(), ff_fmt_from_frame(), ff_mjpeg_decode_sof(), ff_mpv_frame_start(), ff_vp56_decode_mbs(), ff_yadif_filter_frame(), ffmal_copy_frame(), fill_vaapi_pic(), filter(), filter(), filter(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_slice(), get_field(), get_frame(), h264_export_frame_props(), interlace_vulkan_filter_frame(), m101_decode_frame(), output_frame(), prores_encode_frame(), qsv_decode(), query_frame(), request_frame(), return_frame(), rkmpp_retrieve_frame(), scale_frame(), select_frame(), setup_roi(), show_frame(), submit_frame(), submit_frame(), sws_frame_setup(), tlog_ref(), v4l2_get_interlacing(), vc1_decode_frame(), and vulkan_encode_ffv1_submit_frame().
| #define AV_FRAME_FLAG_TOP_FIELD_FIRST (1 << 4) |
A flag to mark frames where the top field is displayed first if the content is interlaced.
Definition at line 700 of file frame.h.
Referenced by alloc_frame(), alloc_frame(), analyze_plane(), cuvid_output_frame(), decode_frame(), decode_frame(), decode_frame_header(), decode_slice_header(), decode_slice_thread(), deint_d3d12_configure_processor(), deint_vaapi_filter_frame(), deinterlace_plane_slice(), deinterlace_slice(), dnxhd_decode_header(), dnxhd_load_picture(), dv_write_pack(), dvvideo_decode_frame(), enc_reopen(), encode_frame(), encode_slice(), encode_slice_header(), ff_mjpeg_decode_sof(), ff_mpv_frame_start(), ff_prores_kostya_write_frame_header(), ffmal_copy_frame(), fill_vaapi_pic(), filter(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_frame(), filter_slice(), find_slice_quant(), flush_frame(), h264_export_frame_props(), interlace_vulkan_filter_frame(), m101_decode_frame(), mpeg4_encode_picture_header(), mpeg_field_start(), nvenc_send_frame(), output_frame(), prores_encode_frame(), qsv_decode(), query_frame(), reconfig_encoder_from_frame(), return_frame(), rkmpp_retrieve_frame(), select_frame(), show_frame(), submit_frame(), submit_frame(), tlog_ref(), v4l2_get_interlacing(), vc1_decode_frame(), vulkan_encode_ffv1_submit_frame(), vulkan_encode_prores_submit_frame(), and write_frame_header().
| #define AV_FRAME_FLAG_LOSSLESS (1 << 5) |
A decoder can use this flag to mark frames which were originally encoded losslessly.
For coding bitstream formats which support both lossless and lossy encoding, it is sometimes possible for a decoder to determine which method was used when the bitstream was encoded.
Definition at line 708 of file frame.h.
Referenced by ff_mjpeg_decode_frame_from_buf(), jpeg2000_decode_frame(), show_frame(), vp8_lossless_decode_frame(), and vp9_decode_frame().