FFmpeg
Functions | Variables
demux_decode.c File Reference
#include <libavutil/imgutils.h>
#include <libavutil/samplefmt.h>
#include <libavutil/timestamp.h>
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>

Go to the source code of this file.

Functions

static int output_video_frame (AVFrame *frame)
 
static int output_audio_frame (AVFrame *frame)
 
static int decode_packet (AVCodecContext *dec, const AVPacket *pkt)
 
static int open_codec_context (int *stream_idx, AVCodecContext **dec_ctx, AVFormatContext *fmt_ctx, enum AVMediaType type)
 
static int get_format_from_sample_fmt (const char **fmt, enum AVSampleFormat sample_fmt)
 
int main (int argc, char **argv)
 

Variables

static AVFormatContextfmt_ctx = NULL
 
static AVCodecContextvideo_dec_ctx = NULL
 
static AVCodecContextaudio_dec_ctx
 
static int width
 
static int height
 
static enum AVPixelFormat pix_fmt
 
static AVStreamvideo_stream = NULL
 
static AVStreamaudio_stream = NULL
 
static const char * src_filename = NULL
 
static const char * video_dst_filename = NULL
 
static const char * audio_dst_filename = NULL
 
static FILE * video_dst_file = NULL
 
static FILE * audio_dst_file = NULL
 
static uint8_t * video_dst_data [4] = {NULL}
 
static int video_dst_linesize [4]
 
static int video_dst_bufsize
 
static int video_stream_idx = -1
 
static int audio_stream_idx = -1
 
static AVFrameframe = NULL
 
static AVPacketpkt = NULL
 
static int video_frame_count = 0
 
static int audio_frame_count = 0
 

Function Documentation

◆ output_video_frame()

static int output_video_frame ( AVFrame frame)
static
Examples
demux_decode.c.

Definition at line 59 of file demux_decode.c.

Referenced by decode_packet().

◆ output_audio_frame()

static int output_audio_frame ( AVFrame frame)
static
Examples
demux_decode.c.

Definition at line 90 of file demux_decode.c.

Referenced by decode_packet().

◆ decode_packet()

static int decode_packet ( AVCodecContext dec,
const AVPacket pkt 
)
static
Examples
demux_decode.c.

Definition at line 110 of file demux_decode.c.

Referenced by main().

◆ open_codec_context()

static int open_codec_context ( int stream_idx,
AVCodecContext **  dec_ctx,
AVFormatContext fmt_ctx,
enum AVMediaType  type 
)
static
Examples
demux_decode.c.

Definition at line 146 of file demux_decode.c.

Referenced by main().

◆ get_format_from_sample_fmt()

static int get_format_from_sample_fmt ( const char **  fmt,
enum AVSampleFormat  sample_fmt 
)
static
Examples
demux_decode.c.

Definition at line 197 of file demux_decode.c.

Referenced by main().

◆ main()

int main ( int  argc,
char **  argv 
)
Examples
demux_decode.c.

Definition at line 226 of file demux_decode.c.

Variable Documentation

◆ fmt_ctx

AVFormatContext* fmt_ctx = NULL
static
Examples
demux_decode.c.

Definition at line 38 of file demux_decode.c.

Referenced by main(), and open_codec_context().

◆ video_dec_ctx

AVCodecContext* video_dec_ctx = NULL
static
Examples
demux_decode.c.

Definition at line 39 of file demux_decode.c.

Referenced by main().

◆ audio_dec_ctx

AVCodecContext * audio_dec_ctx
static
Examples
demux_decode.c.

Definition at line 39 of file demux_decode.c.

Referenced by main(), and output_audio_frame().

◆ width

int width
static
Examples
demux_decode.c.

Definition at line 40 of file demux_decode.c.

Referenced by main(), and output_video_frame().

◆ height

int height
static
Examples
demux_decode.c.

Definition at line 40 of file demux_decode.c.

Referenced by main(), and output_video_frame().

◆ pix_fmt

enum AVPixelFormat pix_fmt
static
Examples
demux_decode.c, and mux.c.

Definition at line 41 of file demux_decode.c.

Referenced by alloc_frame(), amf_init_encoder(), av_dv_codec_profile(), av_dv_codec_profile2(), av_get_pix_fmt(), av_get_pix_fmt_name(), av_get_pix_fmt_string(), av_hwframe_ctx_init(), av_image_alloc(), av_image_check_size2(), av_image_copy(), av_image_copy2(), av_image_copy_to_buffer(), av_image_copy_uc_from(), av_image_fill_arrays(), av_image_fill_black(), av_image_fill_color(), av_image_fill_linesizes(), av_image_fill_plane_sizes(), av_image_fill_pointers(), av_image_get_buffer_size(), av_image_get_linesize(), av_pix_fmt_count_planes(), av_pix_fmt_desc_get(), av_pix_fmt_get_chroma_sub_sample(), av_pix_fmt_swap_endianness(), avi_write_header(), avpriv_set_systematic_pal2(), check_image_fill(), check_image_fill_black(), check_image_pointers(), compute_cmask(), convert_pix_fmt(), dc1394_read_common(), decode_frame_header(), device_try_init(), fbdev_read_header(), fbdev_write_header(), ff_fill_rgba_map(), ff_fmt_ff2v4l(), ff_h274_film_grain_params_supported(), ff_huffyuvdsp_init(), ff_huffyuvdsp_init_x86(), ff_huffyuvencdsp_init(), ff_huffyuvencdsp_init_x86(), ff_img_read_header(), ff_load_image(), ff_media_type_to_pix_fmt(), ff_parse_pixel_format(), ff_pix_fmt_to_guid(), ff_put_bmp_header(), ff_vk_mt_is_np_rgb(), fill_frameinfo_by_link(), get_pix_fmt_depth(), get_pix_fmt_internal(), get_pixel_format(), get_sw_pixel_format(), have_alpha_planar(), hls_slice_header(), image_copy(), init(), is16BPS(), is32BPS(), isALPHA(), isAnyRGB(), isBayer(), isBayer16BPS(), isBE(), isBGRinInt(), isDataInHighBits(), isFloat(), isFloat16(), isGray(), isNBPS(), isPacked(), isPackedRGB(), isPlanar(), isPlanarRGB(), isPlanarYUV(), isRGB(), isRGBinInt(), isSemiPlanarYUV(), isSwappedChroma(), isYUV(), list_formats(), load_mask(), main(), map_chroma_format(), mf_encv_input_adjust(), mf_encv_input_score(), mpegvideo_extract_headers(), nvenc_map_buffer_format(), opencl_frames_get_constraints(), opengl_compile_shaders(), opengl_draw(), opengl_fill_color_map(), output_video_frame(), pix_fmt_map(), pix_fmt_match(), pixfmt_from_pixmap_format(), print_pix_fmt_fourccs(), qrencodesrc_query_formats(), qsv_decode_header(), qsv_decode_preinit(), qsv_process_data(), query_formats(), range_map(), rawvideo_read_header(), ser_read_header(), set_sps(), show_pix_fmts(), swf_read_packet(), sws_isSupportedEndiannessConversion(), sws_isSupportedInput(), sws_isSupportedOutput(), transfer_image_buf(), usePal(), v4l2_read_header(), vaapi_device_init(), vaapi_format_from_pix_fmt(), vaapi_frames_get_constraints(), vaapi_get_image_format(), vbn_decode_frame(), vdpau_transfer_data_from(), vdpau_transfer_data_to(), vulkan_decode_get_profile(), xwd_encode_frame(), and yuv4_read_header().

◆ video_stream

AVStream* video_stream = NULL
static

◆ audio_stream

AVStream * audio_stream = NULL
static
Examples
demux_decode.c.

Definition at line 42 of file demux_decode.c.

Referenced by event_loop(), main(), and yop_read_header().

◆ src_filename

const char* src_filename = NULL
static
Examples
demux_decode.c.

Definition at line 43 of file demux_decode.c.

Referenced by main(), and open_codec_context().

◆ video_dst_filename

const char* video_dst_filename = NULL
static
Examples
demux_decode.c.

Definition at line 44 of file demux_decode.c.

Referenced by main().

◆ audio_dst_filename

const char* audio_dst_filename = NULL
static
Examples
demux_decode.c.

Definition at line 45 of file demux_decode.c.

Referenced by main().

◆ video_dst_file

FILE* video_dst_file = NULL
static
Examples
demux_decode.c.

Definition at line 46 of file demux_decode.c.

Referenced by main(), and output_video_frame().

◆ audio_dst_file

FILE* audio_dst_file = NULL
static
Examples
demux_decode.c.

Definition at line 47 of file demux_decode.c.

Referenced by main(), and output_audio_frame().

◆ video_dst_data

uint8_t* video_dst_data[4] = {NULL}
static
Examples
demux_decode.c.

Definition at line 49 of file demux_decode.c.

Referenced by main(), and output_video_frame().

◆ video_dst_linesize

int video_dst_linesize[4]
static
Examples
demux_decode.c.

Definition at line 50 of file demux_decode.c.

Referenced by main(), and output_video_frame().

◆ video_dst_bufsize

int video_dst_bufsize
static
Examples
demux_decode.c.

Definition at line 51 of file demux_decode.c.

Referenced by main(), and output_video_frame().

◆ video_stream_idx

int video_stream_idx = -1
static
Examples
demux_decode.c.

Definition at line 53 of file demux_decode.c.

Referenced by main().

◆ audio_stream_idx

int audio_stream_idx = -1
static
Examples
demux_decode.c.

Definition at line 53 of file demux_decode.c.

Referenced by main().

◆ frame

AVFrame* frame = NULL
static
Examples
decode_audio.c, decode_filter_audio.c, decode_filter_video.c, decode_video.c, demux_decode.c, encode_audio.c, encode_video.c, filter_audio.c, hw_decode.c, mux.c, qsv_decode.c, qsv_transcode.c, transcode.c, transcode_aac.c, vaapi_encode.c, and vaapi_transcode.c.

Definition at line 54 of file demux_decode.c.

Referenced by a64multi_encode_frame(), aac_decode_er_frame(), aac_decode_frame(), aac_decode_frame_int(), aac_encode_frame(), ac3_decode_frame(), ac3_output_frame(), activate(), add_coefficients(), add_frame(), add_metadata(), add_pframe_coefficients(), add_timecode_metadata(), addroi_filter_frame(), adjust_frame_pts_to_encoder_tb(), adpcm_decode_frame(), adx_decode_frame(), adx_encode_frame(), aic_decode_frame(), alac_decode_frame(), alac_encode_frame(), alloc_audio_frame(), alloc_frame(), alpha_inverse_prediction(), amf_copy_surface(), amf_create_buffer_with_frame_ref(), amplify_channel(), amr_wb_encode_frame(), amrnb_decode_frame(), amrwb_decode_frame(), analyze_frame(), aom_encode(), apac_decode(), ape_decode_frame(), apply_filter(), apply_window_and_mdct(), aptx_decode_frame(), aptx_encode_frame(), aqt_probe(), aqt_read_header(), atrac1_decode_frame(), atrac3_decode_frame(), atrac3al_decode_frame(), atrac3p_decode_frame(), atrac9_decode_block(), atrac9_decode_frame(), audio_frame_cksum(), audio_get_buffer(), audio_samplerate_update(), audio_thread(), audio_ts_process(), audio_video_handler(), aura_decode_frame(), av1_frame_alloc(), av1_frame_split_filter(), av1_parser_parse(), av1_receive_frame(), av1_receive_frame_internal(), av_ambient_viewing_environment_create_side_data(), av_buffersink_get_frame(), av_buffersink_get_frame_flags(), av_buffersink_get_samples(), av_buffersrc_add_frame(), av_buffersrc_add_frame_flags(), av_buffersrc_write_frame(), av_content_light_metadata_create_side_data(), av_detection_bbox_create_side_data(), av_downmix_info_update_side_data(), av_dv_frame_profile(), av_dynamic_hdr_plus_create_side_data(), av_dynamic_hdr_vivid_create_side_data(), av_film_grain_params_create_side_data(), av_film_grain_params_select(), av_frame_alloc(), av_frame_apply_cropping(), av_frame_free(), av_frame_get_buffer(), av_frame_get_plane_buffer(), av_frame_get_side_data(), av_frame_is_writable(), av_frame_make_writable(), av_frame_new_side_data(), av_frame_new_side_data_from_buf(), av_frame_remove_side_data(), av_frame_unref(), av_guess_sample_aspect_ratio(), av_hwframe_get_buffer(), av_interleaved_write_uncoded_frame(), av_mastering_display_metadata_create_side_data(), av_stereo3d_create_side_data(), av_video_enc_params_create_side_data(), av_video_hint_create_side_data(), av_write_uncoded_frame(), avcodec_default_get_buffer2(), avcodec_fill_audio_frame(), avcodec_receive_frame(), avcodec_send_frame(), average_slice16(), average_slice8(), avisynth_create_stream_video(), avisynth_read_packet_video(), bfi_decode_frame(), bink_decode_plane(), binkaudio_receive_frame(), binkb_decode_plane(), bitpacked_decode(), bitpacked_decode_uyvy422(), bitpacked_decode_yuv422p10(), bmv_aud_decode_frame(), bonk_decode(), buffer_needs_copy(), bypass_channel(), calc_cropping_offsets(), cbs_vp8_read_unit(), cbs_vp9_assemble_fragment(), cbs_vp9_read_unit(), cbs_vp9_write_unit(), cdg_decode_frame(), cdxl_decode_ham6(), cdxl_decode_ham8(), cdxl_decode_raw(), cdxl_decode_rgb(), cfhd_encode_frame(), channel_decorrelation(), choose_out_timebase(), cinaudio_decode_frame(), cinepak_encode_frame(), clear_frame_list(), clear_plane(), clear_slice16(), clear_slice8(), close_output(), cmv_decode_frame(), cmv_decode_inter(), cmv_decode_intra(), cng_decode_frame(), cng_encode_frame(), color_frame(), colorcontrast_slice16(), colorcontrast_slice16p(), colorcontrast_slice8(), colorcontrast_slice8p(), colorcorrect_slice16(), colorcorrect_slice8(), colorize_slice16(), colorize_slice8(), colorizey_slice16(), colorizey_slice8(), comp_block(), compand_delay(), compand_drain(), compand_nodelay(), compare_sl(), compute_frame_rms(), compute_frame_std_dev(), config_input(), configure_video_filters(), consume_from_fifos(), consume_update(), contain_valid_detection_bbox(), convert_coeffs(), cook_decode_frame(), copy_avframe_to_pixel_buffer(), copy_frame_to_buffer(), copy_input_samples(), copy_processed_frame(), copy_samples(), cpia_decode_frame(), create_clusters(), create_cv_pixel_buffer(), create_encoder_dict_h264(), create_frame(), create_subcc_packet(), cuda_get_buffer(), current_segment_finished(), cuvid_output_frame(), cyuv_decode_frame(), d3d11va_get_buffer(), d3d11va_transfer_data(), d3d12va_get_buffer(), d3d12va_pool_alloc(), d3d12va_transfer_data(), davs2_decode_frame(), davs2_dump_frames(), dcadec_decode_frame(), dct_get(), ddagrab_request_frame(), dds_decode(), dec_enc(), dec_send_to_dst(), decklink_write_video_packet(), decode(), decode_alcd(), decode_audio_frame(), decode_avcf(), decode_bdlt(), decode_blck(), decode_bmv_frame(), decode_copy(), decode_dcac(), decode_dds1(), decode_dsw1(), decode_element(), decode_entropy_coded_image(), decode_frame(), decode_frame_lscr(), decode_header(), decode_huff(), decode_index(), decode_index_palmap(), decode_index_tilemap(), decode_inter(), decode_inter_plane(), decode_intra(), decode_intra_plane(), decode_macroblock(), decode_mad1(), decode_mad1_24(), decode_mb(), decode_mvdv(), decode_nal_units(), decode_packet(), decode_plane(), decode_raw_intra(), decode_raw_intra_rgb(), decode_rle(), decode_runlen(), decode_runlen_rgb(), decode_slice(), decode_slices(), decode_speedhq_border(), decode_speedhq_field(), decode_tag(), decode_tdlt(), decode_tsw1(), decode_wdlt(), decode_write(), decoder_decode_frame(), decrypt_audio_frame(), decrypt_sync_frame(), default_filter_frame(), derive_sb_mv(), dfa_decode_frame(), dfpwm_dec_frame(), dfpwm_enc_frame(), dirac_decode_frame_internal(), display_frame(), dng_decode_jpeg(), dng_decode_tiles(), dnn_classify_post_proc(), dnn_detect_fill_side_data(), dnn_detect_parse_yolo_output(), dnn_detect_post_proc(), dnn_detect_post_proc_ov(), dnn_detect_post_proc_ssd(), dnn_detect_post_proc_tf(), dnn_detect_post_proc_yolo(), dnn_detect_post_proc_yolov3(), dnxhd_decode_header(), dnxhd_decode_macroblock(), dnxhd_encode_picture(), dnxhd_load_picture(), do_backgroundkey16_slice(), do_backgroundkey_slice(), do_chromahold16_slice(), do_chromahold_slice(), do_chromakey16_slice(), do_chromakey_slice(), do_decode(), do_despill_slice(), do_hsvhold16_slice(), do_hsvhold_slice(), do_hsvkey16_slice(), do_hsvkey_slice(), do_lumakey_slice16(), do_lumakey_slice8(), do_slice(), do_swap(), do_swizzle(), dolby_e_decode_frame(), downscale(), dpcm_decode_frame(), draw_carpet_slice(), draw_glyphs(), draw_gradients_slice(), draw_gradients_slice16(), draw_gradients_slice32_planar(), draw_mouse_pointer(), draw_qrcode(), draw_sierpinski(), draw_slice(), draw_text(), draw_trace16(), draw_trace8(), draw_triangle_slice(), drm_get_buffer(), dsd_channel(), dss_sp_decode_frame(), dts2pts_filter(), dts2pts_flush(), dump_color_property(), dump_spherical(), dv_assemble_frame(), dv_audio_frame_size(), dv_inject_metadata(), dv_write_packet(), dvvideo_decode_frame(), dvvideo_encode_frame(), dx2_decode_slice_410(), dx2_decode_slice_420(), dx2_decode_slice_444(), dx2_decode_slice_555(), dx2_decode_slice_565(), dx2_decode_slice_5x5(), dx2_decode_slice_rgb(), dxv_decode(), dxv_encode(), dxva2_get_buffer(), eb_receive_packet(), eb_send_frame(), eightsvx_decode_frame(), enc_open(), enc_stats_write(), encode(), encode_audio_frame(), encode_frame(), encode_residual_ch(), encode_scanline_rle(), encode_scanline_zip(), encode_simple_internal(), encode_superframe(), encode_write(), encode_yuv422p10(), escape124_decode_frame(), eval_pts(), evrc_decode_frame(), export_film_grain(), export_itut_t35(), export_metadata(), extract_field(), extract_lltask_from_task(), extract_plane(), fade_borders16(), fade_borders8(), fastaudio_decode(), fdk_aac_decode_frame(), ff_ac3_encode_frame_common_end(), ff_alloc_a53_sei(), ff_alloc_timecode_sei(), ff_amf_receive_packet(), ff_aom_attach_film_grain_sets(), ff_ccfifo_extract(), ff_ccfifo_inject(), ff_d3d12va_common_end_frame(), ff_d3d12va_get_surface_index(), ff_dca_core_filter_frame(), ff_dca_lbr_filter_frame(), ff_dca_xll_filter_frame(), ff_default_get_audio_buffer(), ff_default_get_video_buffer2(), ff_dovi_attach_side_data(), ff_dv_frame_profile(), ff_dxva2_common_end_frame(), ff_dxva2_get_surface_index(), ff_dxva2_hevc_fill_picture_parameters(), ff_encode_alloc_frame(), ff_encode_encode_cb(), ff_encode_get_frame(), ff_encode_receive_frame(), ff_encode_reordered_opaque(), ff_filter_frame(), ff_filter_frame_framed(), ff_filter_frame_to_filter(), ff_frame_pool_get(), ff_frame_to_dnn_classify(), ff_frame_to_dnn_detect(), ff_framequeue_add(), ff_framequeue_free(), ff_framequeue_skip_samples(), ff_framesync_get_frame(), ff_h2645_sei_to_frame(), ff_hevc_bump_frame(), ff_hevc_frame_rps(), ff_hevc_output_frame(), ff_hevc_set_new_ref(), ff_hevc_unref_frame(), ff_icc_profile_attach(), ff_inlink_consume_frame(), ff_inlink_consume_samples(), ff_inlink_evaluate_timeline_at_frame(), ff_inlink_make_frame_writable(), ff_inlink_process_commands(), ff_inlink_set_status(), ff_ivi_decode_frame(), ff_libwebp_get_frame(), ff_load_image(), ff_mediacodec_dec_receive(), ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar(), ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka(), ff_mediacodec_sw_buffer_copy_yuv420_planar(), ff_mediacodec_sw_buffer_copy_yuv420_semi_planar(), ff_mjpeg_add_icc_profile_size(), ff_mjpeg_decode_frame(), ff_mjpeg_decode_frame_from_buf(), ff_mjpeg_encode_picture_header(), ff_nvdec_get_ref_idx(), ff_nvdec_start_frame(), ff_nvdec_start_frame_sep_ref(), ff_nvenc_receive_packet(), ff_opencl_filter_work_size_from_image(), ff_proc_from_dnn_to_frame(), ff_proc_from_frame_to_dnn(), ff_qp_table_extract(), ff_qsv_encode(), ff_qsv_find_surface_idx(), ff_qsv_frame_add_ext_param(), ff_qsv_map_frame_to_surface(), ff_sbc_calculate_bits(), ff_side_data_update_matrix_encoding(), ff_thread_video_encode_frame(), ff_twinvq_decode_frame(), ff_v4l2_buffer_avframe_to_buf(), ff_v4l2_buffer_buf_to_avframe(), ff_v4l2_context_dequeue_frame(), ff_v4l2_context_enqueue_frame(), ff_vaapi_encode_receive_packet(), ff_vaapi_vpp_get_surface_id(), ff_vdpau_common_end_frame(), ff_videotoolbox_alloc_frame(), ff_vp8_decode_frame(), ff_vvc_add_progress_listener(), ff_vvc_bump_frame(), ff_vvc_frame_rpl(), ff_vvc_output_frame(), ff_vvc_report_frame_finished(), ff_vvc_report_progress(), ff_vvc_set_new_ref(), ff_vvc_unref_frame(), ff_yadif_filter_frame(), ffat_decode(), ffat_encode(), ffat_encode_callback(), ffmal_copy_frame(), ffmmal_read_frame(), ffmmal_receive_frame(), ffmmal_set_ref(), fg_free(), fg_output_frame(), fg_output_step(), fg_thread_uninit(), fill_frame_from_iplimage(), fill_iplimage_from_frame(), fill_tile4(), fill_tileX(), fill_vaapi_reference_frames(), filter_callback(), filter_encode_write_frame(), filter_frame(), filter_frame_fixed(), filter_frame_float(), filter_rgb(), filter_rgb_planar(), filter_slice_alpha(), filter_slice_alpha16(), filter_slice_chroma(), filter_slice_chroma16(), filter_slice_luma(), filter_slice_luma16(), filter_slice_rgb(), find_peak_magnitude(), fixed_borders16(), fixed_borders8(), flac_decode_frame(), flac_encode_frame(), flic_decode_frame(), flip(), flush_frame(), forced_kf_apply(), format_init(), forward_frame(), frame_add_buf(), frame_data(), frame_data_c(), frame_data_submit(), frame_encode(), frame_end(), frame_hash(), frame_is_aligned(), frame_needs_copy(), frame_null(), frame_offset(), frame_samples(), frame_side_data_wipe(), framesync_inject_frame(), free_frame(), free_texture(), ftr_decode_frame(), fuzz_get_buffer2(), fuzz_video_get_buffer(), g722_decode_frame(), g723_1_decode_frame(), g723_1_encode_frame(), gdv_decode_frame(), generate_missing_ref(), get_audio_buffer(), get_audio_frame(), get_buffer(), get_concatdec_select(), get_cv_pixel_info(), get_encode_buffer(), get_frame_defaults(), get_frame_internal(), get_frame_mb(), get_free_frame(), get_input(), get_max_local_gain(), get_next_ac3_eac3_sync_frame(), get_next_adts_frame(), get_next_sync_frame(), get_pixel16_uv(), get_pixel_uv(), get_pts(), get_ref_pic_index(), get_sample(), get_scene_score(), get_surface(), get_video_buffer(), get_video_frame(), gif_parse_next_image(), gif_read_image(), gsm_decode_frame(), h264_fill_mbaff_ref_list(), h264_queue_frame(), hap_decode(), hap_encode(), hcom_decode(), hdr_encode_frame(), hnm_decode_frame(), hqx_decode_frame(), iccdetect_filter_frame(), iccgen_filter_frame(), idcin_decode_frame(), idcin_decode_vlcs(), idct_put(), ifilter_parameters_from_frame(), ilbc_decode_frame(), ilbc_encode_frame(), imc_decode_frame(), imm5_decode_frame(), imx_decode_frame(), init_frame(), init_image(), init_input_frame(), init_output_frame(), init_slice_rpl(), inverse_prediction(), ipu_decode_frame(), ipvideo_decode_block_opcode_0x0(), ipvideo_decode_block_opcode_0x1(), ipvideo_decode_block_opcode_0x2(), ipvideo_decode_block_opcode_0x3(), ipvideo_decode_block_opcode_0x4(), ipvideo_decode_block_opcode_0x5(), ipvideo_decode_block_opcode_0x6_16(), ipvideo_decode_format_06_opcodes(), ipvideo_decode_format_10_opcodes(), ipvideo_decode_format_11_opcodes(), ipvideo_decode_frame(), ipvideo_format_06_firstpass(), ipvideo_format_06_secondpass(), is_frozen(), is_full_range(), is_same1(), is_same1_16(), is_same3(), is_same3_16(), is_same4(), is_same4_16(), jpeg_put_comments(), kmsgrab_free_frame(), kmsgrab_read_packet(), lavfi_free_frame(), lavfi_read_packet(), lead_decode_frame(), libcelt_dec_decode(), libcodec2_decode(), libcodec2_encode(), libdav1d_receive_frame(), libgsm_decode_frame(), libgsm_encode_frame(), libjxl_color_encoding_event(), libjxl_encode_frame(), libjxl_receive_frame(), libkvazaar_encode(), libopenjpeg_encode_frame(), libopus_decode(), libopus_encode(), librav1e_receive_packet(), librsvg_decode_frame(), libshine_encode_frame(), libspeex_decode_frame(), libvorbis_encode_frame(), libwebp_anim_encode_frame(), libwebp_encode_frame(), libx265_encode_set_roi(), libxevd_image_copy(), libxevd_receive_frame(), libxevd_return_frame(), libxeve_encode(), list_add_frame(), ljpeg_encode_bgr(), ljpeg_encode_yuv(), ljpeg_encode_yuv_mb(), LLVMFuzzerTestOneInput(), m101_decode_frame(), mace_decode_frame(), magy_encode_frame(), main(), map_frame(), map_frame_to_surface(), margins_borders16(), margins_borders8(), mark_ref(), mediacodec_receive_frame(), mediacodec_send(), mediacodec_wrap_hw_buffer(), mediacodec_wrap_sw_buffer(), median_16(), median_8(), mf_a_avframe_to_sample(), mf_avframe_to_sample(), mf_v_avframe_to_sample(), microdvd_read_header(), minmax_slice16(), minmax_slice8(), mirror_borders16(), mirror_borders8(), misc4_decode(), mlp_encode_frame(), mobiclip_decode(), monochrome_slice16(), monochrome_slice8(), mp3lame_encode_frame(), MPA_encode_frame(), mpc7_decode_frame(), mpc8_decode_frame(), mss2_decode_frame(), mv_read_packet(), mv_read_seek(), mvc_decode_frame(), mxf_write_system_item(), null_filter_frame(), nvdec_retrieve_data(), nvenc_copy_frame(), nvenc_register_frame(), nvenc_send_frame(), nvenc_store_frame_data(), nvenc_upload_frame(), oggvorbis_decode_frame(), omx_encode_frame(), on2avc_decode_frame(), opencl_get_buffer(), opengl_write_frame(), opengl_write_packet(), opus_decode_packet(), opus_encode_frame(), order_hint_info(), oscilloscope_filter_frame(), osq_decode_block(), osq_receive_frame(), output_audio_frame(), output_data(), output_frame(), output_frame_end(), output_video_frame(), overflow_heartbeat(), packet_decode(), pad_last_frame(), paf_audio_decode(), paf_video_decode(), parse_frame_header(), pcm_bluray_decode_frame(), pcm_bluray_encode_frame(), pcm_decode_frame(), pcm_dvd_decode_frame(), pcm_dvd_encode_frame(), pcm_encode_frame(), pcx_encode_frame(), perform_compression(), perform_dc_correction(), pick_pixel1(), pick_pixel1_16(), pick_pixel3(), pick_pixel3_16(), pick_pixel4(), pick_pixel4_16(), picmemset(), picmemset_8bpp(), pix_decode_frame(), pl_get_mapped_avframe(), populate_avctx_color_fields(), postprocess_chroma(), postprocess_luma(), pred_regular_chroma(), pred_regular_luma(), predict_intra(), predict_slice(), prepare_frame(), prepare_sei_data_array(), print_frame(), print_frame_side_data(), process_bayer(), process_block(), process_frame(), process_output(), process_subtitle(), push_single_pic(), qcelp_decode_frame(), qdm2_decode_frame(), qdmc_decode_frame(), qoa_decode_frame(), qsv_decode(), qsv_decode_frame(), qsv_enc_frame(), qsv_get_buffer(), qsv_get_continuous_buffer(), qsv_h264_set_encode_ctrl(), qsv_hevc_set_encode_ctrl(), qsv_process_data(), qsvenc_fill_padding_area(), qsvenc_get_continuous_buffer(), ra144_decode_frame(), ra144_encode_frame(), ra288_decode_frame(), raw_decode(), raw_encode(), rd_frame(), read_access_unit(), read_frame(), read_frames(), read_highpass(), read_in_data(), read_interval_packets(), read_packet_vs(), realign_frame(), receive_for_stream(), receive_internal(), reconfig_encoder(), reflect_borders16(), reflect_borders8(), request_frame(), rka_decode_frame(), rkmpp_retrieve_frame(), rl2_decode_frame(), roq_dpcm_encode_frame(), roq_encode_frame(), rscc_decode_frame(), run_postproc(), s302m_decode_frame(), s302m_encode2_frame(), safe_get_ref_idx(), sbc_analyze_audio(), sbc_decode_frame(), sbc_encode_frame(), sbc_encode_init(), sbc_pack_frame(), sbc_synthesize_audio(), sbc_synthesize_eight(), sbc_synthesize_four(), sbc_unpack_frame(), sch_dec_send(), sch_enc_receive(), sch_filter_command(), sch_filter_receive(), sch_filter_send(), decklink_output_callback::ScheduledFrameCompleted(), screenpresso_decode_frame(), select_frame(), send_delayed_frame(), send_frame(), send_to_enc(), send_to_enc_sq(), send_to_enc_thread(), send_to_filter(), set_frame_data(), set_meta(), set_output_frame(), set_pixel1(), set_pixel1_16(), set_pixel3(), set_pixel3_16(), set_pixel4(), set_pixel4_16(), set_roi_encode_ctrl(), set_sdl_yuv_conversion_mode(), set_skip_frame_encode_ctrl(), setup_frame(), setup_mb_info(), setup_roi(), sga_decode_frame(), sgirle_decode_frame(), shift_frame(), shorten_decode_frame(), show_frame(), shuffleplanes_filter_frame(), sierpinski_request_frame(), silk_decode_frame(), silk_decode_lpc(), silk_flush_frame(), sipr_decode_frame(), siren_decode(), smc_encode_frame(), smc_encode_stream(), smear_borders16(), smear_borders8(), smka_decode_frame(), source_request_frame(), sp5x_decode_frame(), spatial_activate(), speedhq_decode_frame(), speex_decode_frame(), sq_free(), sq_receive(), sq_send(), sub2video_frame(), sub2video_get_blank_frame(), sub2video_push_ref(), sub2video_update(), submit_frame(), subtitle_wrap_frame(), sunrast_encode_frame(), svc_encode_frame(), svq1_decode_frame_header(), swf_read_packet(), synth_superframe(), tak_decode_frame(), take_samples(), tb_update(), tdsc_decode_frame(), temperature_slice16(), temperature_slice16p(), temperature_slice32(), temperature_slice8(), temperature_slice8p(), testsrc_vulkan_activate(), tgq_decode_frame(), tgq_decode_mb(), tgq_idct_put_mb(), tgq_idct_put_mb_dconly(), tgv_decode_frame(), tgv_decode_inter(), tiff_decode_tag(), tmv_decode_frame(), tqi_decode_frame(), tqi_idct_put(), transcode_subtitles(), transfer_image_buf(), truespeech_decode_frame(), try_decode_frame(), try_push_frame(), tta_decode_frame(), tta_encode_frame(), twolame_encode_frame(), ulti_convert_yuv(), ulti_grad(), ulti_pattern(), uninit(), unmap_frame(), unpack_frame(), unref_missing_refs(), update_context(), update_frame_pool(), update_output_color_information(), update_parameters(), upload_texture(), v210_decode_slice(), v4l2_buffer_buf_to_swframe(), v4l2_buffer_swframe_to_buf(), v4l2_receive_frame(), v4l2_receive_packet(), v4l2_send_frame(), vaapi_encode_check_frame(), vaapi_encode_send_frame(), vaapi_get_buffer(), vaapi_vpp_frame_is_rgb(), vbn_decode_frame(), vbn_encode(), vc1_probe(), vc2_encode_frame(), vdpau_get_buffer(), vdpau_hevc_start_frame(), verify_md5(), vibrance_slice16(), vibrance_slice16p(), vibrance_slice8(), vibrance_slice8p(), video_duration_estimate(), video_frame_cksum(), video_frame_process(), video_sync_process(), video_thread(), videotoolbox_postproc_frame(), videotoolbox_vp9_end_frame(), viv_read_seek(), vk_hevc_start_frame(), vk_renderer_display(), vmd_decode(), vmd_read_packet(), vmdaudio_decode_frame(), vmdvideo_decode_frame(), vorbis_decode_frame(), vorbis_encode_frame(), vp8_find_free_buffer(), vp9_decode_frame(), vp9_export_enc_params(), vp9_metadata_update_fragment(), vp9_raw_reorder_filter(), vp9_raw_reorder_frame_free(), vp9_raw_reorder_frame_parse(), vp9_raw_reorder_make_output(), vpx_encode(), vqa_decode_frame_pal8(), vt_get_buffer(), vtenc_frame(), vtenc_send_frame(), vulkan_get_buffer(), wavarc_decode(), wavesynth_decode(), wavpack_encode_frame(), wbmp_encode_frame(), wma_decode_superframe(), wmapro_decode_packet(), wmavoice_decode_packet(), worker(), wrap(), wrap_borders16(), wrap_borders8(), wrapped_avframe_encode(), wrapped_avframe_release_buffer(), write_audio_frame(), write_frame(), write_frame_header(), write_packet(), write_uncoded_frame_internal(), ws_snd_decode_frame(), X264_frame(), x8_init_block_index(), xan_decode_frame(), xan_wc3_copy_pixel_run(), xan_wc3_decode_frame(), xan_wc3_output_pixel_run(), xavs2_copy_frame(), xavs2_copy_frame_with_shift(), xavs2_encode_frame(), XAVS_frame(), xface_decode_frame(), xface_encode_frame(), xma_decode_packet(), xv_write_packet(), yop_decode_frame(), and yuv4_write_packet().

◆ pkt

AVPacket* pkt = NULL
static

Definition at line 55 of file demux_decode.c.

Referenced by decode_packet(), and main().

◆ video_frame_count

int video_frame_count = 0
static
Examples
demux_decode.c.

Definition at line 56 of file demux_decode.c.

Referenced by output_video_frame().

◆ audio_frame_count

int audio_frame_count = 0
static
Examples
demux_decode.c.

Definition at line 57 of file demux_decode.c.

Referenced by fourxm_read_packet(), and output_audio_frame().