FFmpeg
Macros | Functions | Variables
parsers.c File Reference
#include <stdint.h>
#include "avcodec.h"
#include "parser_internal.h"
#include "libavutil/internal.h"
#include <assert.h>
#include <stddef.h>
#include "libavcodec/parser_list.c"

Go to the source code of this file.

Macros

#define CHECK_OFFSET(field, public_prefix)   static_assert(offsetof(FFCodecParser, field) == offsetof(FFCodecParser, p.public_prefix ## field), "Wrong offsets")
 

Functions

 CHECK_OFFSET (codec_ids,)
 
 CHECK_OFFSET (priv_data_size,)
 
 CHECK_OFFSET (init, parser_)
 
 CHECK_OFFSET (parse, parser_)
 
 CHECK_OFFSET (close, parser_)
 
 CHECK_OFFSET (split,)
 
const AVCodecParserav_parser_iterate (void **opaque)
 Iterate over all registered codec parsers. More...
 

Variables

const FF_ENABLE_DEPRECATION_WARNINGS FFCodecParser ff_aac_parser
 
const FFCodecParser ff_aac_latm_parser
 
const FFCodecParser ff_ac3_parser
 
const FFCodecParser ff_adx_parser
 
const FFCodecParser ff_ahx_parser
 
const FFCodecParser ff_amr_parser
 
const FFCodecParser ff_apv_parser
 
const FFCodecParser ff_av1_parser
 
const FFCodecParser ff_avs2_parser
 
const FFCodecParser ff_avs3_parser
 
const FFCodecParser ff_bmp_parser
 
const FFCodecParser ff_cavsvideo_parser
 
const FFCodecParser ff_cook_parser
 
const FFCodecParser ff_cri_parser
 
const FFCodecParser ff_dca_parser
 
const FFCodecParser ff_dirac_parser
 
const FFCodecParser ff_dnxhd_parser
 
const FFCodecParser ff_dnxuc_parser
 
const FFCodecParser ff_dolby_e_parser
 
const FFCodecParser ff_dpx_parser
 
const FFCodecParser ff_dvaudio_parser
 
const FFCodecParser ff_dvbsub_parser
 
const FFCodecParser ff_dvdsub_parser
 
const FFCodecParser ff_dvd_nav_parser
 
const FFCodecParser ff_evc_parser
 
const FFCodecParser ff_flac_parser
 
const FFCodecParser ff_ftr_parser
 
const FFCodecParser ff_ffv1_parser
 
const FFCodecParser ff_g723_1_parser
 
const FFCodecParser ff_g729_parser
 
const FFCodecParser ff_gif_parser
 
const FFCodecParser ff_gsm_parser
 
const FFCodecParser ff_h261_parser
 
const FFCodecParser ff_h263_parser
 
const FFCodecParser ff_h264_parser
 
const FFCodecParser ff_hevc_parser
 
const FFCodecParser ff_hdr_parser
 
const FFCodecParser ff_ipu_parser
 
const FFCodecParser ff_jpeg2000_parser
 
const FFCodecParser ff_jpegxl_parser
 
const FFCodecParser ff_misc4_parser
 
const FFCodecParser ff_mjpeg_parser
 
const FFCodecParser ff_mlp_parser
 
const FFCodecParser ff_mpeg4video_parser
 
const FFCodecParser ff_mpegaudio_parser
 
const FFCodecParser ff_mpegvideo_parser
 
const FFCodecParser ff_opus_parser
 
const FFCodecParser ff_prores_parser
 
const FFCodecParser ff_png_parser
 
const FFCodecParser ff_pnm_parser
 
const FFCodecParser ff_prores_raw_parser
 
const FFCodecParser ff_qoi_parser
 
const FFCodecParser ff_rv34_parser
 
const FFCodecParser ff_sbc_parser
 
const FFCodecParser ff_sipr_parser
 
const FFCodecParser ff_tak_parser
 
const FFCodecParser ff_vc1_parser
 
const FFCodecParser ff_vorbis_parser
 
const FFCodecParser ff_vp3_parser
 
const FFCodecParser ff_vp8_parser
 
const FFCodecParser ff_vp9_parser
 
const FFCodecParser ff_vvc_parser
 
const FFCodecParser ff_webp_parser
 
const FFCodecParser ff_xbm_parser
 
const FFCodecParser ff_xma_parser
 
const FFCodecParser ff_xwd_parser
 

Macro Definition Documentation

◆ CHECK_OFFSET

#define CHECK_OFFSET (   field,
  public_prefix 
)    static_assert(offsetof(FFCodecParser, field) == offsetof(FFCodecParser, p.public_prefix ## field), "Wrong offsets")

Definition at line 30 of file parsers.c.

Function Documentation

◆ CHECK_OFFSET() [1/6]

CHECK_OFFSET ( codec_ids  )

◆ CHECK_OFFSET() [2/6]

CHECK_OFFSET ( priv_data_size  )

◆ CHECK_OFFSET() [3/6]

CHECK_OFFSET ( init  ,
parser_   
)

◆ CHECK_OFFSET() [4/6]

CHECK_OFFSET ( parse  ,
parser_   
)

◆ CHECK_OFFSET() [5/6]

CHECK_OFFSET ( close  ,
parser_   
)

◆ CHECK_OFFSET() [6/6]

CHECK_OFFSET ( split  )

Variable Documentation

◆ ff_aac_parser

Definition at line 55 of file aac_parser.c.

◆ ff_aac_latm_parser

const FFCodecParser ff_aac_latm_parser

Definition at line 108 of file latm_parser.c.

◆ ff_ac3_parser

const FFCodecParser ff_ac3_parser

◆ ff_adx_parser

const FFCodecParser ff_adx_parser

Definition at line 101 of file adx_parser.c.

◆ ff_ahx_parser

const FFCodecParser ff_ahx_parser

Definition at line 74 of file ahx_parser.c.

◆ ff_amr_parser

const FFCodecParser ff_amr_parser

Definition at line 126 of file amr_parser.c.

◆ ff_apv_parser

const FFCodecParser ff_apv_parser

Definition at line 144 of file apv_parser.c.

◆ ff_av1_parser

const FFCodecParser ff_av1_parser

Definition at line 213 of file av1_parser.c.

◆ ff_avs2_parser

const FFCodecParser ff_avs2_parser

Definition at line 193 of file avs2_parser.c.

◆ ff_avs3_parser

const FFCodecParser ff_avs3_parser

Definition at line 176 of file avs3_parser.c.

◆ ff_bmp_parser

const FFCodecParser ff_bmp_parser

Definition at line 109 of file bmp_parser.c.

◆ ff_cavsvideo_parser

const FFCodecParser ff_cavsvideo_parser

Definition at line 100 of file cavs_parser.c.

◆ ff_cook_parser

const FFCodecParser ff_cook_parser

Definition at line 57 of file cook_parser.c.

◆ ff_cri_parser

const FFCodecParser ff_cri_parser

Definition at line 101 of file cri_parser.c.

◆ ff_dca_parser

const FFCodecParser ff_dca_parser

Definition at line 347 of file dca_parser.c.

◆ ff_dirac_parser

const FFCodecParser ff_dirac_parser

Definition at line 278 of file dirac_parser.c.

◆ ff_dnxhd_parser

const FFCodecParser ff_dnxhd_parser

Definition at line 142 of file dnxhd_parser.c.

◆ ff_dnxuc_parser

const FFCodecParser ff_dnxuc_parser

Definition at line 85 of file dnxuc_parser.c.

◆ ff_dolby_e_parser

const FFCodecParser ff_dolby_e_parser

Definition at line 69 of file dolby_e_parser.c.

◆ ff_dpx_parser

const FFCodecParser ff_dpx_parser

Definition at line 112 of file dpx_parser.c.

◆ ff_dvaudio_parser

const FFCodecParser ff_dvaudio_parser

Definition at line 44 of file dvaudio_parser.c.

◆ ff_dvbsub_parser

const FFCodecParser ff_dvbsub_parser

Definition at line 167 of file dvbsub_parser.c.

◆ ff_dvdsub_parser

const FFCodecParser ff_dvdsub_parser

Definition at line 88 of file dvdsub_parser.c.

◆ ff_dvd_nav_parser

const FFCodecParser ff_dvd_nav_parser

Definition at line 111 of file dvd_nav_parser.c.

◆ ff_evc_parser

const FFCodecParser ff_evc_parser

Definition at line 375 of file evc_parser.c.

◆ ff_flac_parser

const FFCodecParser ff_flac_parser

Definition at line 906 of file flac_parser.c.

◆ ff_ftr_parser

const FFCodecParser ff_ftr_parser

Definition at line 100 of file ftr_parser.c.

◆ ff_ffv1_parser

const FFCodecParser ff_ffv1_parser

Definition at line 84 of file ffv1_parser.c.

◆ ff_g723_1_parser

const FFCodecParser ff_g723_1_parser

Definition at line 56 of file g723_1_parser.c.

◆ ff_g729_parser

const FFCodecParser ff_g729_parser

Definition at line 88 of file g729_parser.c.

◆ ff_gif_parser

const FFCodecParser ff_gif_parser

Definition at line 204 of file gif_parser.c.

◆ ff_gsm_parser

const FFCodecParser ff_gsm_parser

Definition at line 87 of file gsm_parser.c.

◆ ff_h261_parser

const FFCodecParser ff_h261_parser

Definition at line 90 of file h261_parser.c.

◆ ff_h263_parser

const FFCodecParser ff_h263_parser

Definition at line 91 of file h263_parser.c.

◆ ff_h264_parser

const FFCodecParser ff_h264_parser

Definition at line 686 of file h264_parser.c.

◆ ff_hevc_parser

const FFCodecParser ff_hevc_parser

Definition at line 356 of file parser.c.

◆ ff_hdr_parser

const FFCodecParser ff_hdr_parser

Definition at line 75 of file hdr_parser.c.

◆ ff_ipu_parser

const FFCodecParser ff_ipu_parser

Definition at line 73 of file ipu_parser.c.

◆ ff_jpeg2000_parser

const FFCodecParser ff_jpeg2000_parser

Definition at line 215 of file jpeg2000_parser.c.

◆ ff_jpegxl_parser

const FFCodecParser ff_jpegxl_parser

Definition at line 1549 of file jpegxl_parser.c.

◆ ff_misc4_parser

const FFCodecParser ff_misc4_parser

Definition at line 77 of file misc4_parser.c.

◆ ff_mjpeg_parser

const FFCodecParser ff_mjpeg_parser

Definition at line 132 of file mjpeg_parser.c.

◆ ff_mlp_parser

const FFCodecParser ff_mlp_parser

Definition at line 208 of file mlp_parser.c.

◆ ff_mpeg4video_parser

const FFCodecParser ff_mpeg4video_parser

Definition at line 159 of file mpeg4video_parser.c.

◆ ff_mpegaudio_parser

const FFCodecParser ff_mpegaudio_parser

Definition at line 140 of file mpegaudio_parser.c.

◆ ff_mpegvideo_parser

const FFCodecParser ff_mpegvideo_parser

Definition at line 303 of file mpegvideo_parser.c.

◆ ff_opus_parser

const FFCodecParser ff_opus_parser

Definition at line 217 of file parser.c.

◆ ff_prores_parser

const FFCodecParser ff_prores_parser

Definition at line 126 of file prores_parser.c.

◆ ff_png_parser

const FFCodecParser ff_png_parser

Definition at line 114 of file png_parser.c.

◆ ff_pnm_parser

const FFCodecParser ff_pnm_parser

Definition at line 137 of file pnm_parser.c.

◆ ff_prores_raw_parser

const FFCodecParser ff_prores_raw_parser

Definition at line 100 of file prores_raw_parser.c.

◆ ff_qoi_parser

const FFCodecParser ff_qoi_parser

Definition at line 73 of file qoi_parser.c.

◆ ff_rv34_parser

const FFCodecParser ff_rv34_parser

Definition at line 79 of file rv34_parser.c.

◆ ff_sbc_parser

const FFCodecParser ff_sbc_parser

Definition at line 120 of file sbc_parser.c.

◆ ff_sipr_parser

const FFCodecParser ff_sipr_parser

Definition at line 70 of file sipr_parser.c.

◆ ff_tak_parser

const FFCodecParser ff_tak_parser

Definition at line 127 of file tak_parser.c.

◆ ff_vc1_parser

const FFCodecParser ff_vc1_parser

Definition at line 275 of file vc1_parser.c.

◆ ff_vorbis_parser

const FFCodecParser ff_vorbis_parser

◆ ff_vp3_parser

const FFCodecParser ff_vp3_parser

Definition at line 39 of file vp3_parser.c.

◆ ff_vp8_parser

const FFCodecParser ff_vp8_parser

Definition at line 77 of file vp8_parser.c.

◆ ff_vp9_parser

const FFCodecParser ff_vp9_parser

Definition at line 67 of file vp9_parser.c.

◆ ff_vvc_parser

const FFCodecParser ff_vvc_parser

Definition at line 509 of file vvc_parser.c.

◆ ff_webp_parser

const FFCodecParser ff_webp_parser

Definition at line 108 of file webp_parser.c.

◆ ff_xbm_parser

const FFCodecParser ff_xbm_parser

Definition at line 104 of file xbm_parser.c.

◆ ff_xma_parser

const FFCodecParser ff_xma_parser

Definition at line 59 of file xma_parser.c.

◆ ff_xwd_parser

const FFCodecParser ff_xwd_parser

Definition at line 99 of file xwd_parser.c.