World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
21 #ifndef AVCODEC_AVCODEC_H
22 #define AVCODEC_AVCODEC_H
355 #define AV_CODEC_ID_IFF_BYTERUN1 AV_CODEC_ID_IFF_ILBM
393 #define AV_CODEC_ID_H265 AV_CODEC_ID_HEVC
750 #define AV_CODEC_PROP_INTRA_ONLY (1 << 0)
756 #define AV_CODEC_PROP_LOSSY (1 << 1)
760 #define AV_CODEC_PROP_LOSSLESS (1 << 2)
770 #define AV_CODEC_PROP_REORDER (1 << 3)
775 #define AV_CODEC_PROP_BITMAP_SUB (1 << 16)
780 #define AV_CODEC_PROP_TEXT_SUB (1 << 17)
790 #define AV_INPUT_BUFFER_PADDING_SIZE 64
797 #define AV_INPUT_BUFFER_MIN_SIZE 16384
846 #define AV_CODEC_FLAG_UNALIGNED (1 << 0)
850 #define AV_CODEC_FLAG_QSCALE (1 << 1)
854 #define AV_CODEC_FLAG_4MV (1 << 2)
858 #define AV_CODEC_FLAG_OUTPUT_CORRUPT (1 << 3)
862 #define AV_CODEC_FLAG_QPEL (1 << 4)
867 #define AV_CODEC_FLAG_DROPCHANGED (1 << 5)
871 #define AV_CODEC_FLAG_PASS1 (1 << 9)
875 #define AV_CODEC_FLAG_PASS2 (1 << 10)
879 #define AV_CODEC_FLAG_LOOP_FILTER (1 << 11)
883 #define AV_CODEC_FLAG_GRAY (1 << 13)
887 #define AV_CODEC_FLAG_PSNR (1 << 15)
892 #define AV_CODEC_FLAG_TRUNCATED (1 << 16)
896 #define AV_CODEC_FLAG_INTERLACED_DCT (1 << 18)
900 #define AV_CODEC_FLAG_LOW_DELAY (1 << 19)
904 #define AV_CODEC_FLAG_GLOBAL_HEADER (1 << 22)
908 #define AV_CODEC_FLAG_BITEXACT (1 << 23)
913 #define AV_CODEC_FLAG_AC_PRED (1 << 24)
917 #define AV_CODEC_FLAG_INTERLACED_ME (1 << 29)
918 #define AV_CODEC_FLAG_CLOSED_GOP (1U << 31)
923 #define AV_CODEC_FLAG2_FAST (1 << 0)
927 #define AV_CODEC_FLAG2_NO_OUTPUT (1 << 2)
931 #define AV_CODEC_FLAG2_LOCAL_HEADER (1 << 3)
936 #define AV_CODEC_FLAG2_DROP_FRAME_TIMECODE (1 << 13)
942 #define AV_CODEC_FLAG2_CHUNKS (1 << 15)
946 #define AV_CODEC_FLAG2_IGNORE_CROP (1 << 16)
951 #define AV_CODEC_FLAG2_SHOW_ALL (1 << 22)
955 #define AV_CODEC_FLAG2_EXPORT_MVS (1 << 28)
959 #define AV_CODEC_FLAG2_SKIP_MANUAL (1 << 29)
963 #define AV_CODEC_FLAG2_RO_FLUSH_NOOP (1 << 30)
975 #define AV_CODEC_CAP_DRAW_HORIZ_BAND (1 << 0)
981 #define AV_CODEC_CAP_DR1 (1 << 1)
982 #define AV_CODEC_CAP_TRUNCATED (1 << 3)
1006 #define AV_CODEC_CAP_DELAY (1 << 5)
1011 #define AV_CODEC_CAP_SMALL_LAST_FRAME (1 << 6)
1024 #define AV_CODEC_CAP_SUBFRAMES (1 << 8)
1029 #define AV_CODEC_CAP_EXPERIMENTAL (1 << 9)
1033 #define AV_CODEC_CAP_CHANNEL_CONF (1 << 10)
1037 #define AV_CODEC_CAP_FRAME_THREADS (1 << 12)
1041 #define AV_CODEC_CAP_SLICE_THREADS (1 << 13)
1045 #define AV_CODEC_CAP_PARAM_CHANGE (1 << 14)
1049 #define AV_CODEC_CAP_AUTO_THREADS (1 << 15)
1053 #define AV_CODEC_CAP_VARIABLE_FRAME_SIZE (1 << 16)
1063 #define AV_CODEC_CAP_AVOID_PROBING (1 << 17)
1067 #define AV_CODEC_CAP_INTRA_ONLY 0x40000000
1071 #define AV_CODEC_CAP_LOSSLESS 0x80000000
1078 #define AV_CODEC_CAP_HARDWARE (1 << 18)
1085 #define AV_CODEC_CAP_HYBRID (1 << 19)
1092 #define AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE (1 << 20)
1133 #if FF_API_UNSANITIZED_BITRATES
1142 #if FF_API_UNSANITIZED_BITRATES
1151 #if FF_API_UNSANITIZED_BITRATES
1176 #define AV_GET_BUFFER_FLAG_REF (1 << 0)
1418 #define AV_PKT_DATA_QUALITY_FACTOR AV_PKT_DATA_QUALITY_STATS //DEPRECATED
1499 #if FF_API_CONVERGENCE_DURATION
1505 attribute_deprecated
1509 #define AV_PKT_FLAG_KEY 0x0001
1510 #define AV_PKT_FLAG_CORRUPT 0x0002
1516 #define AV_PKT_FLAG_DISCARD 0x0004
1523 #define AV_PKT_FLAG_TRUSTED 0x0008
1528 #define AV_PKT_FLAG_DISPOSABLE 0x0010
1541 struct AVCodecInternal;
1600 struct AVCodecInternal *
internal;
1638 #define FF_COMPRESSION_DEFAULT -1
1836 #if FF_API_PRIVATE_OPT
1838 attribute_deprecated
1857 #if FF_API_PRIVATE_OPT
1859 attribute_deprecated
1921 #if FF_API_PRIVATE_OPT
1923 attribute_deprecated
1925 #define FF_PRED_LEFT 0
1926 #define FF_PRED_PLANE 1
1927 #define FF_PRED_MEDIAN 2
1970 #define FF_CMP_SAD 0
1971 #define FF_CMP_SSE 1
1972 #define FF_CMP_SATD 2
1973 #define FF_CMP_DCT 3
1974 #define FF_CMP_PSNR 4
1975 #define FF_CMP_BIT 5
1977 #define FF_CMP_ZERO 7
1978 #define FF_CMP_VSAD 8
1979 #define FF_CMP_VSSE 9
1980 #define FF_CMP_NSSE 10
1981 #define FF_CMP_W53 11
1982 #define FF_CMP_W97 12
1983 #define FF_CMP_DCTMAX 13
1984 #define FF_CMP_DCT264 14
1985 #define FF_CMP_MEDIAN_SAD 15
1986 #define FF_CMP_CHROMA 256
2002 #if FF_API_PRIVATE_OPT
2004 attribute_deprecated
2044 #define SLICE_FLAG_CODED_ORDER 0x0001
2045 #define SLICE_FLAG_ALLOW_FIELD 0x0002
2046 #define SLICE_FLAG_ALLOW_PLANE 0x0004
2054 #define FF_MB_DECISION_SIMPLE 0
2055 #define FF_MB_DECISION_BITS 1
2056 #define FF_MB_DECISION_RD 2
2076 #if FF_API_PRIVATE_OPT
2078 attribute_deprecated
2082 attribute_deprecated
2121 #if FF_API_PRIVATE_OPT
2125 attribute_deprecated
2135 #if FF_API_PRIVATE_OPT
2137 attribute_deprecated
2155 #if FF_API_PRIVATE_OPT
2157 attribute_deprecated
2168 #if FF_API_PRIVATE_OPT
2170 attribute_deprecated
2395 attribute_deprecated
2473 #if FF_API_CODER_TYPE
2474 #define FF_CODER_TYPE_VLC 0
2475 #define FF_CODER_TYPE_AC 1
2476 #define FF_CODER_TYPE_RAW 2
2477 #define FF_CODER_TYPE_RLE 3
2481 attribute_deprecated
2485 #if FF_API_PRIVATE_OPT
2487 attribute_deprecated
2491 #if FF_API_PRIVATE_OPT
2493 attribute_deprecated
2497 attribute_deprecated
2501 attribute_deprecated
2505 attribute_deprecated
2516 #if FF_API_PRIVATE_OPT
2518 attribute_deprecated
2522 attribute_deprecated
2526 attribute_deprecated
2530 #if FF_API_RTP_CALLBACK
2540 attribute_deprecated
2544 #if FF_API_PRIVATE_OPT
2546 attribute_deprecated
2555 #if FF_API_STAT_BITS
2557 attribute_deprecated
2559 attribute_deprecated
2561 attribute_deprecated
2563 attribute_deprecated
2565 attribute_deprecated
2567 attribute_deprecated
2569 attribute_deprecated
2571 attribute_deprecated
2575 attribute_deprecated
2600 #define FF_BUG_AUTODETECT 1
2601 #define FF_BUG_XVID_ILACE 4
2602 #define FF_BUG_UMP4 8
2603 #define FF_BUG_NO_PADDING 16
2604 #define FF_BUG_AMV 32
2605 #define FF_BUG_QPEL_CHROMA 64
2606 #define FF_BUG_STD_QPEL 128
2607 #define FF_BUG_QPEL_CHROMA2 256
2608 #define FF_BUG_DIRECT_BLOCKSIZE 512
2609 #define FF_BUG_EDGE 1024
2610 #define FF_BUG_HPEL_CHROMA 2048
2611 #define FF_BUG_DC_CLIP 4096
2612 #define FF_BUG_MS 8192
2613 #define FF_BUG_TRUNCATED 16384
2614 #define FF_BUG_IEDGE 32768
2629 #define FF_COMPLIANCE_VERY_STRICT 2
2630 #define FF_COMPLIANCE_STRICT 1
2631 #define FF_COMPLIANCE_NORMAL 0
2632 #define FF_COMPLIANCE_UNOFFICIAL -1
2633 #define FF_COMPLIANCE_EXPERIMENTAL -2
2641 #define FF_EC_GUESS_MVS 1
2642 #define FF_EC_DEBLOCK 2
2643 #define FF_EC_FAVOR_INTER 256
2651 #define FF_DEBUG_PICT_INFO 1
2652 #define FF_DEBUG_RC 2
2653 #define FF_DEBUG_BITSTREAM 4
2654 #define FF_DEBUG_MB_TYPE 8
2655 #define FF_DEBUG_QP 16
2660 #define FF_DEBUG_MV 32
2662 #define FF_DEBUG_DCT_COEFF 0x00000040
2663 #define FF_DEBUG_SKIP 0x00000080
2664 #define FF_DEBUG_STARTCODE 0x00000100
2665 #define FF_DEBUG_ER 0x00000400
2666 #define FF_DEBUG_MMCO 0x00000800
2667 #define FF_DEBUG_BUGS 0x00001000
2669 #define FF_DEBUG_VIS_QP 0x00002000
2670 #define FF_DEBUG_VIS_MB_TYPE 0x00004000
2672 #define FF_DEBUG_BUFFERS 0x00008000
2673 #define FF_DEBUG_THREADS 0x00010000
2674 #define FF_DEBUG_GREEN_MD 0x00800000
2675 #define FF_DEBUG_NOMC 0x01000000
2684 #define FF_DEBUG_VIS_MV_P_FOR 0x00000001 // visualize forward predicted MVs of P-frames
2685 #define FF_DEBUG_VIS_MV_B_FOR 0x00000002 // visualize forward predicted MVs of B-frames
2686 #define FF_DEBUG_VIS_MV_B_BACK 0x00000004 // visualize backward predicted MVs of B-frames
2702 #define AV_EF_CRCCHECK (1<<0)
2703 #define AV_EF_BITSTREAM (1<<1)
2704 #define AV_EF_BUFFER (1<<2)
2705 #define AV_EF_EXPLODE (1<<3)
2707 #define AV_EF_IGNORE_ERR (1<<15)
2708 #define AV_EF_CAREFUL (1<<16)
2709 #define AV_EF_COMPLIANT (1<<17)
2710 #define AV_EF_AGGRESSIVE (1<<18)
2756 #define FF_DCT_AUTO 0
2757 #define FF_DCT_FASTINT 1
2758 #define FF_DCT_INT 2
2759 #define FF_DCT_MMX 3
2760 #define FF_DCT_ALTIVEC 5
2761 #define FF_DCT_FAAN 6
2769 #define FF_IDCT_AUTO 0
2770 #define FF_IDCT_INT 1
2771 #define FF_IDCT_SIMPLE 2
2772 #define FF_IDCT_SIMPLEMMX 3
2773 #define FF_IDCT_ARM 7
2774 #define FF_IDCT_ALTIVEC 8
2775 #define FF_IDCT_SIMPLEARM 10
2776 #define FF_IDCT_XVID 14
2777 #define FF_IDCT_SIMPLEARMV5TE 16
2778 #define FF_IDCT_SIMPLEARMV6 17
2779 #define FF_IDCT_FAAN 20
2780 #define FF_IDCT_SIMPLENEON 22
2781 #define FF_IDCT_NONE 24
2782 #define FF_IDCT_SIMPLEAUTO 128
2807 #if FF_API_CODED_FRAME
2835 #define FF_THREAD_FRAME 1
2836 #define FF_THREAD_SLICE 2
2899 #define FF_PROFILE_UNKNOWN -99
2900 #define FF_PROFILE_RESERVED -100
2902 #define FF_PROFILE_AAC_MAIN 0
2903 #define FF_PROFILE_AAC_LOW 1
2904 #define FF_PROFILE_AAC_SSR 2
2905 #define FF_PROFILE_AAC_LTP 3
2906 #define FF_PROFILE_AAC_HE 4
2907 #define FF_PROFILE_AAC_HE_V2 28
2908 #define FF_PROFILE_AAC_LD 22
2909 #define FF_PROFILE_AAC_ELD 38
2910 #define FF_PROFILE_MPEG2_AAC_LOW 128
2911 #define FF_PROFILE_MPEG2_AAC_HE 131
2913 #define FF_PROFILE_DNXHD 0
2914 #define FF_PROFILE_DNXHR_LB 1
2915 #define FF_PROFILE_DNXHR_SQ 2
2916 #define FF_PROFILE_DNXHR_HQ 3
2917 #define FF_PROFILE_DNXHR_HQX 4
2918 #define FF_PROFILE_DNXHR_444 5
2920 #define FF_PROFILE_DTS 20
2921 #define FF_PROFILE_DTS_ES 30
2922 #define FF_PROFILE_DTS_96_24 40
2923 #define FF_PROFILE_DTS_HD_HRA 50
2924 #define FF_PROFILE_DTS_HD_MA 60
2925 #define FF_PROFILE_DTS_EXPRESS 70
2927 #define FF_PROFILE_MPEG2_422 0
2928 #define FF_PROFILE_MPEG2_HIGH 1
2929 #define FF_PROFILE_MPEG2_SS 2
2930 #define FF_PROFILE_MPEG2_SNR_SCALABLE 3
2931 #define FF_PROFILE_MPEG2_MAIN 4
2932 #define FF_PROFILE_MPEG2_SIMPLE 5
2934 #define FF_PROFILE_H264_CONSTRAINED (1<<9) // 8+1; constraint_set1_flag
2935 #define FF_PROFILE_H264_INTRA (1<<11) // 8+3; constraint_set3_flag
2937 #define FF_PROFILE_H264_BASELINE 66
2938 #define FF_PROFILE_H264_CONSTRAINED_BASELINE (66|FF_PROFILE_H264_CONSTRAINED)
2939 #define FF_PROFILE_H264_MAIN 77
2940 #define FF_PROFILE_H264_EXTENDED 88
2941 #define FF_PROFILE_H264_HIGH 100
2942 #define FF_PROFILE_H264_HIGH_10 110
2943 #define FF_PROFILE_H264_HIGH_10_INTRA (110|FF_PROFILE_H264_INTRA)
2944 #define FF_PROFILE_H264_MULTIVIEW_HIGH 118
2945 #define FF_PROFILE_H264_HIGH_422 122
2946 #define FF_PROFILE_H264_HIGH_422_INTRA (122|FF_PROFILE_H264_INTRA)
2947 #define FF_PROFILE_H264_STEREO_HIGH 128
2948 #define FF_PROFILE_H264_HIGH_444 144
2949 #define FF_PROFILE_H264_HIGH_444_PREDICTIVE 244
2950 #define FF_PROFILE_H264_HIGH_444_INTRA (244|FF_PROFILE_H264_INTRA)
2951 #define FF_PROFILE_H264_CAVLC_444 44
2953 #define FF_PROFILE_VC1_SIMPLE 0
2954 #define FF_PROFILE_VC1_MAIN 1
2955 #define FF_PROFILE_VC1_COMPLEX 2
2956 #define FF_PROFILE_VC1_ADVANCED 3
2958 #define FF_PROFILE_MPEG4_SIMPLE 0
2959 #define FF_PROFILE_MPEG4_SIMPLE_SCALABLE 1
2960 #define FF_PROFILE_MPEG4_CORE 2
2961 #define FF_PROFILE_MPEG4_MAIN 3
2962 #define FF_PROFILE_MPEG4_N_BIT 4
2963 #define FF_PROFILE_MPEG4_SCALABLE_TEXTURE 5
2964 #define FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION 6
2965 #define FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE 7
2966 #define FF_PROFILE_MPEG4_HYBRID 8
2967 #define FF_PROFILE_MPEG4_ADVANCED_REAL_TIME 9
2968 #define FF_PROFILE_MPEG4_CORE_SCALABLE 10
2969 #define FF_PROFILE_MPEG4_ADVANCED_CODING 11
2970 #define FF_PROFILE_MPEG4_ADVANCED_CORE 12
2971 #define FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE 13
2972 #define FF_PROFILE_MPEG4_SIMPLE_STUDIO 14
2973 #define FF_PROFILE_MPEG4_ADVANCED_SIMPLE 15
2975 #define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0 1
2976 #define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1 2
2977 #define FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION 32768
2978 #define FF_PROFILE_JPEG2000_DCINEMA_2K 3
2979 #define FF_PROFILE_JPEG2000_DCINEMA_4K 4
2981 #define FF_PROFILE_VP9_0 0
2982 #define FF_PROFILE_VP9_1 1
2983 #define FF_PROFILE_VP9_2 2
2984 #define FF_PROFILE_VP9_3 3
2986 #define FF_PROFILE_HEVC_MAIN 1
2987 #define FF_PROFILE_HEVC_MAIN_10 2
2988 #define FF_PROFILE_HEVC_MAIN_STILL_PICTURE 3
2989 #define FF_PROFILE_HEVC_REXT 4
2991 #define FF_PROFILE_AV1_MAIN 0
2992 #define FF_PROFILE_AV1_HIGH 1
2993 #define FF_PROFILE_AV1_PROFESSIONAL 2
2995 #define FF_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT 0xc0
2996 #define FF_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT 0xc1
2997 #define FF_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT 0xc2
2998 #define FF_PROFILE_MJPEG_HUFFMAN_LOSSLESS 0xc3
2999 #define FF_PROFILE_MJPEG_JPEG_LS 0xf7
3001 #define FF_PROFILE_SBC_MSBC 1
3003 #define FF_PROFILE_PRORES_PROXY 0
3004 #define FF_PROFILE_PRORES_LT 1
3005 #define FF_PROFILE_PRORES_STANDARD 2
3006 #define FF_PROFILE_PRORES_HQ 3
3007 #define FF_PROFILE_PRORES_4444 4
3008 #define FF_PROFILE_PRORES_XQ 5
3010 #define FF_PROFILE_ARIB_PROFILE_A 0
3011 #define FF_PROFILE_ARIB_PROFILE_C 1
3019 #define FF_LEVEL_UNKNOWN -99
3053 #if FF_API_VBV_DELAY
3062 attribute_deprecated
3066 #if FF_API_SIDEDATA_ONLY_PKT
3077 attribute_deprecated
3161 #define FF_SUB_CHARENC_MODE_DO_NOTHING -1
3162 #define FF_SUB_CHARENC_MODE_AUTOMATIC 0
3163 #define FF_SUB_CHARENC_MODE_PRE_DECODER 1
3164 #define FF_SUB_CHARENC_MODE_IGNORE 2
3187 #if !FF_API_DEBUG_MV
3194 #define FF_DEBUG_VIS_MV_P_FOR 0x00000001 //visualize forward predicted MVs of P frames
3195 #define FF_DEBUG_VIS_MV_B_FOR 0x00000002 //visualize forward predicted MVs of B frames
3196 #define FF_DEBUG_VIS_MV_B_BACK 0x00000004 //visualize backward predicted MVs of B frames
3228 #define FF_CODEC_PROPERTY_LOSSLESS 0x00000001
3229 #define FF_CODEC_PROPERTY_CLOSED_CAPTIONS 0x00000002
3270 #define FF_SUB_TEXT_FMT_ASS 0
3271 #if FF_API_ASS_TIMING
3272 #define FF_SUB_TEXT_FMT_ASS_WITH_TIMINGS 1
3375 #if FF_API_CODEC_GET_SET
3380 attribute_deprecated
3382 attribute_deprecated
3385 attribute_deprecated
3387 attribute_deprecated
3390 attribute_deprecated
3394 attribute_deprecated
3396 attribute_deprecated
3400 attribute_deprecated
3402 attribute_deprecated
3405 attribute_deprecated
3407 attribute_deprecated
3578 int *got_packet_ptr);
3625 #if FF_API_CODEC_GET_SET
3626 attribute_deprecated
3630 struct MpegEncContext;
3815 #define AV_HWACCEL_CODEC_CAP_EXPERIMENTAL 0x0200
3825 #define AV_HWACCEL_FLAG_IGNORE_LEVEL (1 << 0)
3831 #define AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH (1 << 1)
3845 #define AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH (1 << 2)
3851 #if FF_API_AVPICTURE
3867 attribute_deprecated
3869 attribute_deprecated
3896 #define AV_SUBTITLE_FLAG_FORCED 0x00000001
3905 #if FF_API_AVPICTURE
3909 attribute_deprecated
4117 attribute_deprecated
4145 attribute_deprecated
4158 attribute_deprecated
4183 #if FF_API_GET_CONTEXT_DEFAULTS
4200 #if FF_API_COPY_CONTEXT
4234 attribute_deprecated
4436 #if FF_API_AVPACKET_OLD_API
4443 attribute_deprecated
4452 attribute_deprecated
4462 attribute_deprecated
4472 attribute_deprecated
4524 #if FF_API_MERGE_SD_API
4525 attribute_deprecated
4528 attribute_deprecated
4701 int linesize_align[AV_NUM_DATA_POINTERS]);
4778 attribute_deprecated
4780 int *got_frame_ptr,
const AVPacket *avpkt);
4827 attribute_deprecated
4829 int *got_picture_ptr,
5135 #define AV_PARSER_PTS_NB 4
5142 #define PARSER_FLAG_COMPLETE_FRAMES 0x0001
5143 #define PARSER_FLAG_ONCE 0x0002
5144 #define PARSER_FLAG_FETCHED_OFFSET 0x0004
5146 #define PARSER_FLAG_USE_CODEC_TS 0x1000
5159 #if FF_API_CONVERGENCE_DURATION
5163 attribute_deprecated
5283 const uint8_t **poutbuf,
int *poutbuf_size,
5301 attribute_deprecated
5304 attribute_deprecated
5341 uint8_t **poutbuf,
int *poutbuf_size,
5352 uint8_t **poutbuf,
int *poutbuf_size,
5353 const uint8_t *
buf,
int buf_size,
int keyframe);
5422 attribute_deprecated
5424 const AVFrame *frame,
int *got_packet_ptr);
5461 attribute_deprecated
5463 const AVFrame *frame,
int *got_packet_ptr);
5473 #if FF_API_AVPICTURE
5482 attribute_deprecated
5488 attribute_deprecated
5494 attribute_deprecated
5501 attribute_deprecated
5504 unsigned char *dest,
int dest_size);
5509 attribute_deprecated
5515 attribute_deprecated
5522 attribute_deprecated
5529 attribute_deprecated
5531 int padtop,
int padbottom,
int padleft,
int padright,
int *
color);
5554 #if FF_API_GETCHROMA
5559 attribute_deprecated
5595 int has_alpha,
int *loss_ptr);
5601 enum AVPixelFormat src_pix_fmt,
int has_alpha,
int *loss_ptr);
5603 attribute_deprecated
5605 enum AVPixelFormat src_pix_fmt,
int has_alpha,
int *loss_ptr);
5613 #if FF_API_TAG_STRING
5625 attribute_deprecated
5682 int buf_size,
int align);
5853 attribute_deprecated
5860 attribute_deprecated
5867 attribute_deprecated
5870 uint8_t **poutbuf,
int *poutbuf_size,
5871 const uint8_t *
buf,
int buf_size,
int keyframe);
5877 attribute_deprecated
5884 attribute_deprecated
5905 attribute_deprecated
6102 #if FF_API_USER_VISIBLE_AVHWACCEL
6108 attribute_deprecated
6119 attribute_deprecated
6162 attribute_deprecated
attribute_deprecated int64_t convergence_duration
enum AVMediaType avcodec_get_type(enum AVCodecID codec_id)
@ AV_CODEC_ID_TRUEMOTION2
unsigned __int16 uint16_t
int avcodec_close(AVCodecContext *avctx)
@ AV_CODEC_ID_TRUEMOTION2RT
int avcodec_encode_subtitle(AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVSubtitle *sub)
struct AVBSFInternal AVBSFInternal
void av_packet_unref(AVPacket *pkt)
enum AVSampleFormat request_sample_fmt
enum AVPictureStructure picture_structure
attribute_deprecated unsigned av_codec_get_codec_properties(const AVCodecContext *avctx)
@ AV_CODEC_ID_ADPCM_IMA_QT
AVRational sample_aspect_ratio
AVBufferRef * hw_frames_ctx
enum AVColorTransferCharacteristic color_trc
attribute_deprecated void av_codec_set_pkt_timebase(AVCodecContext *avctx, AVRational val)
@ AV_AUDIO_SERVICE_TYPE_VOICE_OVER
@ AV_CODEC_HW_CONFIG_METHOD_INTERNAL
const AVBitStreamFilter * av_bsf_iterate(void **opaque)
@ AV_AUDIO_SERVICE_TYPE_EMERGENCY
int avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)
unsigned int av_xiphlacing(unsigned char *s, unsigned int v)
int av_codec_is_decoder(const AVCodec *codec)
const AVClass * priv_class
attribute_deprecated int noise_reduction
const AVRational * supported_framerates
array of supported framerates, or NULL if any, array is terminated by {0,0}
AVColorTransferCharacteristic
struct AVProfile AVProfile
@ AV_PKT_DATA_MPEGTS_STREAM_ID
attribute_deprecated AVCodecParser * av_parser_next(const AVCodecParser *c)
attribute_deprecated int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
attribute_deprecated int min_prediction_order
int64_t pts_correction_num_faulty_pts
@ AV_CODEC_ID_INTERPLAY_ACM
@ AV_PKT_DATA_PARAM_CHANGE
enum AVDiscard skip_loop_filter
struct AVCodecHWConfig AVCodecHWConfig
attribute_deprecated int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, const AVPacket *avpkt)
const struct AVCodecHWConfigInternal ** hw_configs
int av_bsf_list_append(AVBSFList *lst, AVBSFContext *bsf)
int64_t cur_frame_offset[AV_PARSER_PTS_NB]
@ AV_PICTURE_STRUCTURE_UNKNOWN
int avcodec_parameters_from_context(AVCodecParameters *par, const AVCodecContext *codec)
attribute_deprecated int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
attribute_deprecated AVFrame * coded_frame
void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode)
int av_grow_packet(AVPacket *pkt, int grow_by)
int(* encode_sub)(AVCodecContext *, uint8_t *buf, int buf_size, const struct AVSubtitle *sub)
attribute_deprecated void av_free_packet(AVPacket *pkt)
const AVCodecParser * av_parser_iterate(void **opaque)
attribute_deprecated int p_count
attribute_deprecated int mpeg_quant
int av_bsf_send_packet(AVBSFContext *ctx, AVPacket *pkt)
AVCodec * avcodec_find_encoder(enum AVCodecID id)
@ AV_CODEC_ID_PCM_S32LE_PLANAR
attribute_deprecated int frame_skip_exp
const AVProfile * profiles
array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN}
@ AV_PKT_DATA_ENCRYPTION_INFO
attribute_deprecated int64_t timecode_frame_start
int discard_damaged_percentage
enum AVCodecID * codec_ids
const attribute_deprecated AVCodecDescriptor * av_codec_get_codec_descriptor(const AVCodecContext *avctx)
int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, AVPacket *avpkt)
@ AV_CODEC_ID_DVB_TELETEXT
@ AV_CODEC_ID_PCM_S16BE_PLANAR
attribute_deprecated int av_codec_get_max_lowres(const AVCodec *codec)
attribute_deprecated int av_lockmgr_register(int(*cb)(void **mutex, enum AVLockOp op))
attribute_deprecated void av_codec_set_chroma_intra_matrix(AVCodecContext *avctx, uint16_t *val)
@ AV_CODEC_ID_FFMETADATA
Dummy codec for streams containing only metadata information.
AVCodecParserContext * parser
@ AV_CODEC_ID_ADPCM_EA_R3
@ AV_LOCK_RELEASE
Unlock the mutex.
int(* init)(AVCodecContext *)
int(* update_thread_context)(AVCodecContext *dst, const AVCodecContext *src)
@ AV_PKT_DATA_ENCRYPTION_INIT_INFO
void avcodec_align_dimensions(AVCodecContext *s, int *width, int *height)
EGLSurface EGLint EGLint EGLint EGLint height
@ AV_CODEC_ID_ADPCM_IMA_OKI
struct AVBitStreamFilter AVBitStreamFilter
attribute_deprecated void avcodec_register_all(void)
@ AV_SIDE_DATA_PARAM_CHANGE_SAMPLE_RATE
int strict_std_compliance
@ AV_CODEC_ID_TRUEMOTION1
attribute_deprecated void av_codec_set_seek_preroll(AVCodecContext *avctx, int val)
const char * avcodec_profile_name(enum AVCodecID codec_id, int profile)
@ AV_CODEC_ID_SCREENPRESSO
attribute_deprecated int me_penalty_compensation
int64_t pts
Same as packet pts, in AV_TIME_BASE.
enum AVPixelFormat avcodec_default_get_format(struct AVCodecContext *s, const enum AVPixelFormat *fmt)
enum AVPixelFormat avcodec_find_best_pix_fmt_of_list(const enum AVPixelFormat *pix_fmt_list, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr)
@ AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_LAYOUT
int avcodec_is_open(AVCodecContext *s)
GLuint GLuint GLsizei count
int y
top left corner of pict, undefined when pict is not set
@ AV_CODEC_ID_HDMV_PGS_SUBTITLE
attribute_deprecated int rtp_payload_size
attribute_deprecated int frame_skip_factor
void av_packet_free_side_data(AVPacket *pkt)
void(* close)(AVBSFContext *ctx)
attribute_deprecated int header_bits
int output_picture_number
void av_packet_free(AVPacket **pkt)
@ AV_CODEC_HW_CONFIG_METHOD_AD_HOC
void(* flush)(AVBSFContext *ctx)
@ AV_CODEC_ID_PCM_S16LE_PLANAR
int(* receive_packet)(AVCodecContext *avctx, AVPacket *avpkt)
@ AV_CODEC_ID_ADPCM_THP_LE
@ AV_CODEC_ID_DSICINVIDEO
int av_bsf_get_null_filter(AVBSFContext **bsf)
unsigned int avcodec_pix_fmt_to_codec_tag(enum AVPixelFormat pix_fmt)
int64_t pts_correction_last_pts
Number of incorrect DTS values so far.
attribute_deprecated int misc_bits
int(* frame_params)(AVCodecContext *avctx, AVBufferRef *hw_frames_ctx)
@ AV_AUDIO_SERVICE_TYPE_NB
Not part of ABI.
@ AV_CODEC_ID_DSD_MSBF_PLANAR
int avcodec_enum_to_chroma_pos(int *xpos, int *ypos, enum AVChromaLocation pos)
attribute_deprecated int av_packet_split_side_data(AVPacket *pkt)
AVCodecParameters * par_out
int avcodec_get_pix_fmt_loss(enum AVPixelFormat dst_pix_fmt, enum AVPixelFormat src_pix_fmt, int has_alpha)
float spatial_cplx_masking
int(* get_buffer2)(struct AVCodecContext *s, AVFrame *frame, int flags)
attribute_deprecated int side_data_only_packets
enum AVDiscard skip_frame
struct AVCPBProperties AVCPBProperties
const struct AVBitStreamFilter * filter
float rc_max_available_vbv_use
int av_codec_is_encoder(const AVCodec *codec)
int av_bsf_alloc(const AVBitStreamFilter *filter, AVBSFContext **ctx)
attribute_deprecated int max_prediction_order
int av_packet_add_side_data(AVPacket *pkt, enum AVPacketSideDataType type, uint8_t *data, size_t size)
void(* decode_mb)(struct MpegEncContext *s)
enum AVChromaLocation chroma_sample_location
int(* alloc_frame)(AVCodecContext *avctx, AVFrame *frame)
const char * name
short name for the profile
uint8_t * av_packet_pack_dictionary(AVDictionary *dict, int *size)
int(* start_frame)(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size)
enum AVColorPrimaries color_primaries
void av_shrink_packet(AVPacket *pkt, int size)
int(* decode)(AVCodecContext *, void *outdata, int *outdata_size, AVPacket *avpkt)
float temporal_cplx_masking
attribute_deprecated int mv_bits
int64_t next_frame_offset
int(* close)(AVCodecContext *)
int av_packet_shrink_side_data(AVPacket *pkt, enum AVPacketSideDataType type, int size)
int avcodec_default_execute2(AVCodecContext *c, int(*func)(AVCodecContext *c2, void *arg2, int, int), void *arg, int *ret, int count)
@ AVDISCARD_NONE
discard nothing
void(* draw_horiz_band)(struct AVCodecContext *s, const AVFrame *src, int offset[AV_NUM_DATA_POINTERS], int y, int type, int height)
attribute_deprecated int refcounted_frames
const char *const * mime_types
struct AVHWAccel AVHWAccel
AVCodecParserContext * av_parser_init(int codec_id)
struct AVCodecParser * next
@ AV_PKT_DATA_DISPLAYMATRIX
attribute_deprecated int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src)
@ AV_CODEC_ID_MP3
preferred ID for decoding MPEG audio layer 1, 2 or 3
AVCodec * avcodec_find_encoder_by_name(const char *name)
@ AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX
attribute_deprecated int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height)
unsigned __int64 uint64_t
@ AV_CODEC_ID_FFWAVESYNTH
float qblur
amount of qscale smoothing over time (0.0-1.0)
attribute_deprecated void av_codec_set_codec_descriptor(AVCodecContext *avctx, const AVCodecDescriptor *desc)
const AVBitStreamFilter * av_bsf_get_by_name(const char *name)
void avsubtitle_free(AVSubtitle *sub)
int(* parser_init)(AVCodecParserContext *s)
@ AV_PKT_DATA_STRINGS_METADATA
@ AV_LOCK_OBTAIN
Lock the mutex.
@ AV_CODEC_ID_DVB_SUBTITLE
AVPacketSideData * coded_side_data
@ AV_CODEC_ID_ADPCM_SBPRO_2
const char * av_packet_side_data_name(enum AVPacketSideDataType type)
int w
width of pict, undefined when pict is not set
void(* init_static_data)(struct AVCodec *codec)
@ AV_PICTURE_STRUCTURE_FRAME
attribute_deprecated int chromaoffset
@ AV_PKT_DATA_WEBVTT_SETTINGS
attribute_deprecated int p_tex_bits
const AVClass * av_bsf_get_class(void)
const struct AVHWAccel * hwaccel
@ AV_PKT_DATA_AUDIO_SERVICE_TYPE
int(* send_frame)(AVCodecContext *avctx, const AVFrame *frame)
int64_t cur_frame_end[AV_PARSER_PTS_NB]
@ AV_SIDE_DATA_PARAM_CHANGE_DIMENSIONS
AVCodecContext * avcodec_alloc_context3(const AVCodec *codec)
@ AV_CODEC_ID_MPEG4SYSTEMS
@ AV_CODEC_ID_DSICINAUDIO
int x
top left corner of pict, undefined when pict is not set
int av_new_packet(AVPacket *pkt, int size)
struct AVCodecParserContext AVCodecParserContext
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
@ AV_PKT_DATA_MASTERING_DISPLAY_METADATA
attribute_deprecated int brd_scale
@ AV_CODEC_ID_ADPCM_IMA_EA_SEAD
attribute_deprecated int avpicture_alloc(AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height)
int(* init)(AVBSFContext *ctx)
enum AVAudioServiceType audio_service_type
@ AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED
int(* decode_params)(AVCodecContext *avctx, int type, const uint8_t *buf, uint32_t buf_size)
@ AV_CODEC_ID_ADPCM_IMA_DK3
EGLSurface EGLint EGLint y
int64_t cur_frame_pts[AV_PARSER_PTS_NB]
float rc_min_vbv_overflow_use
int avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame)
attribute_deprecated int av_dup_packet(AVPacket *pkt)
@ AV_CODEC_ID_ADPCM_IMA_APC
AVRational sample_aspect_ratio
float qcompress
amount of qscale change between easy & hard scenes (0.0-1.0)
@ AV_CODEC_ID_ADPCM_IMA_ISS
attribute_deprecated int pre_me
@ AV_CODEC_ID_BINKAUDIO_DCT
int avcodec_fill_audio_frame(AVFrame *frame, int nb_channels, enum AVSampleFormat sample_fmt, const uint8_t *buf, int buf_size, int align)
@ AV_CODEC_ID_TIERTEXSEQVIDEO
int(* execute2)(struct AVCodecContext *c, int(*func)(struct AVCodecContext *c2, void *arg, int jobnr, int threadnr), void *arg2, int *ret, int count)
void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, int linesize_align[AV_NUM_DATA_POINTERS])
GLenum GLuint GLenum GLsizei const GLchar * buf
int thread_safe_callbacks
attribute_deprecated void av_picture_copy(AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height)
const char * avcodec_get_name(enum AVCodecID id)
void av_bsf_free(AVBSFContext **ctx)
@ AV_CODEC_ID_ADPCM_IMA_SMJPEG
uint16_t * chroma_intra_matrix
enum AVChromaLocation chroma_location
@ AV_CODEC_ID_WRAPPED_AVFRAME
Passthrough codec, AVFrames wrapped in AVPacket.
AVSideDataParamChangeFlags
@ AVDISCARD_BIDIR
discard all bidirectional frames
uint8_t * av_packet_new_side_data(AVPacket *pkt, enum AVPacketSideDataType type, int size)
attribute_deprecated size_t av_get_codec_tag_string(char *buf, size_t buf_size, unsigned int codec_tag)
uint8_t * av_packet_get_side_data(const AVPacket *pkt, enum AVPacketSideDataType type, int *size)
const attribute_deprecated AVBitStreamFilter * av_bitstream_filter_next(const AVBitStreamFilter *f)
@ AV_CODEC_ID_ARIB_CAPTION
uint8_t * subtitle_header
enum AVColorRange color_range
@ AV_PICTURE_STRUCTURE_BOTTOM_FIELD
struct AVBitStreamFilterContext * next
@ AVDISCARD_ALL
discard all
void(* parser_close)(AVCodecParserContext *s)
const AVCodecDescriptor * avcodec_descriptor_next(const AVCodecDescriptor *prev)
@ AV_CODEC_ID_ADPCM_EA_XAS
enum AVPacketSideDataType type
const AVClass * avcodec_get_class(void)
@ AV_CODEC_ID_INTERPLAY_VIDEO
void avcodec_parameters_free(AVCodecParameters **par)
@ AV_CODEC_ID_ADPCM_YAMAHA
@ AV_CODEC_ID_ADPCM_IMA_WS
attribute_deprecated int b_frame_strategy
AVBSFList * av_bsf_list_alloc(void)
int(* uninit)(AVCodecContext *avctx)
struct AVCodecParser AVCodecParser
struct AVBSFContext AVBSFContext
void avcodec_free_context(AVCodecContext **avctx)
@ AV_CODEC_ID_INTERPLAY_DPCM
attribute_deprecated int linesize[AV_NUM_DATA_POINTERS]
number of bytes per line
@ AV_CODEC_ID_ADPCM_IMA_EA_EACS
@ AV_CODEC_ID_WMALOSSLESS
@ AV_PICTURE_STRUCTURE_TOP_FIELD
@ AV_CODEC_ID_ADPCM_IMA_DK4
const struct AVBitStreamFilter * filter
@ AV_CODEC_ID_DVD_SUBTITLE
@ AV_CODEC_ID_MOTIONPIXELS
attribute_deprecated AVRational av_codec_get_pkt_timebase(const AVCodecContext *avctx)
attribute_deprecated int frame_skip_threshold
int avcodec_get_context_defaults3(AVCodecContext *s, const AVCodec *codec)
const char * avcodec_license(void)
@ AV_CODEC_ID_ADPCM_IMA_AMV
int(* split)(AVCodecContext *avctx, const uint8_t *buf, int buf_size)
int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options)
unsigned avcodec_version(void)
const AVCodecDefault * defaults
@ AV_AUDIO_SERVICE_TYPE_MAIN
EGLSurface EGLint EGLint EGLint width
@ AV_PKT_DATA_SUBTITLE_POSITION
int av_packet_ref(AVPacket *dst, const AVPacket *src)
@ AV_CODEC_ID_FIRST_UNKNOWN
A dummy ID pointing at the start of various fake codecs.
void av_packet_move_ref(AVPacket *dst, AVPacket *src)
AVCPBProperties * av_cpb_properties_alloc(size_t *size)
uint32_t start_display_time
enum AVColorPrimaries color_primaries
int(* execute)(struct AVCodecContext *c, int(*func)(struct AVCodecContext *c2, void *arg), void *arg2, int *ret, int count, int size)
struct AVPacketSideData AVPacketSideData
@ AV_CODEC_ID_PCM_S24LE_PLANAR
const AVClass * avcodec_get_subtitle_rect_class(void)
attribute_deprecated int av_packet_merge_side_data(AVPacket *pkt)
@ AV_CODEC_ID_GSM
as in Berlin toast format
char * sub_charenc
DTS of the last frame.
struct AVPicture AVPicture
enum AVSampleFormat * sample_fmts
array of supported sample formats, or NULL if unknown, array is terminated by -1
attribute_deprecated void av_register_bitstream_filter(AVBitStreamFilter *bsf)
@ AV_AUDIO_SERVICE_TYPE_KARAOKE
const AVClass * avcodec_get_frame_class(void)
enum AVPixelFormat pix_fmt
attribute_deprecated int64_t convergence_duration
int av_get_bits_per_sample(enum AVCodecID codec_id)
@ AVDISCARD_NONKEY
discard all frames except keyframes
int av_packet_from_data(AVPacket *pkt, uint8_t *data, int size)
attribute_deprecated int prediction_method
int(* end_frame)(AVCodecContext *avctx)
const char * wrapper_name
attribute_deprecated void av_codec_set_lowres(AVCodecContext *avctx, int val)
void av_bsf_list_free(AVBSFList **lst)
void av_bsf_flush(AVBSFContext *ctx)
@ AVDISCARD_DEFAULT
discard useless packets like 0 size packets in avi
@ AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX
struct AVPanScan AVPanScan
int av_bsf_list_parse_str(const char *str, AVBSFContext **bsf)
@ AV_CODEC_ID_ADPCM_IMA_RAD
const int * supported_samplerates
array of supported audio samplerates, or NULL if unknown, array is terminated by 0
const attribute_deprecated AVBitStreamFilter * av_bsf_next(void **opaque)
const char * av_get_profile_name(const AVCodec *codec, int profile)
struct AVCodecParser * parser
attribute_deprecated enum AVPixelFormat avcodec_find_best_pix_fmt2(enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr)
struct RcOverride RcOverride
enum AVColorSpace color_space
AVBufferRef * hw_device_ctx
@ AV_PKT_DATA_H263_MB_INFO
attribute_deprecated int context_model
attribute_deprecated uint16_t * av_codec_get_chroma_intra_matrix(const AVCodecContext *avctx)
uint8_t max_lowres
maximum value for lowres supported by the decoder
AVCodec * avcodec_find_decoder(enum AVCodecID id)
@ AV_CODEC_ID_COMFORT_NOISE
attribute_deprecated void av_register_codec_parser(AVCodecParser *parser)
AVPacketSideData * side_data
int h
height of pict, undefined when pict is not set
int(* receive_frame)(AVCodecContext *avctx, AVFrame *frame)
enum AVPixelFormat avcodec_find_best_pix_fmt_of_2(enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr)
int avcodec_default_execute(AVCodecContext *c, int(*func)(AVCodecContext *c2, void *arg2), void *arg, int *ret, int count, int size)
enum AVColorTransferCharacteristic color_trc
int av_bsf_list_finalize(AVBSFList **lst, AVBSFContext **bsf)
attribute_deprecated int av_picture_pad(AVPicture *dst, const AVPicture *src, int height, int width, enum AVPixelFormat pix_fmt, int padtop, int padbottom, int padleft, int padright, int *color)
attribute_deprecated int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
@ AV_PKT_DATA_CONTENT_LIGHT_LEVEL
int av_packet_make_refcounted(AVPacket *pkt)
AVPacket * av_packet_alloc(void)
int av_packet_unpack_dictionary(const uint8_t *data, int size, AVDictionary **dict)
int64_t offset
byte offset from starting packet start
enum AVSampleFormat sample_fmt
sample format
void av_packet_rescale_ts(AVPacket *pkt, AVRational tb_src, AVRational tb_dst)
struct AVCodecDefault AVCodecDefault
attribute_deprecated AVHWAccel * av_hwaccel_next(const AVHWAccel *hwaccel)
@ AV_LOCK_CREATE
Create a mutex.
attribute_deprecated void avpicture_free(AVPicture *picture)
@ AV_PKT_DATA_METADATA_UPDATE
@ SUBTITLE_BITMAP
A bitmap, pict will be set.
int bits_per_coded_sample
attribute_deprecated int av_picture_crop(AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int top_band, int left_band)
attribute_deprecated int b_sensitivity
int64_t pos
byte position in stream, -1 if unknown
AVCodecParameters * avcodec_parameters_alloc(void)
@ AV_LOCK_DESTROY
Free mutex resources.
int avcodec_default_get_buffer2(AVCodecContext *s, AVFrame *frame, int flags)
int avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt)
attribute_deprecated int i_count
@ AV_PKT_DATA_JP_DUALMONO
int av_packet_copy_props(AVPacket *dst, const AVPacket *src)
@ AV_CODEC_ID_ADPCM_EA_MAXIS_XA
int cur_frame_start_index
uint32_t end_display_time
@ AV_CODEC_ID_FIRST_AUDIO
A dummy id pointing at the start of audio codecs.
@ AVDISCARD_NONINTRA
discard all non intra frames
attribute_deprecated void avcodec_register(AVCodec *codec)
attribute_deprecated AVCodec * av_codec_next(const AVCodec *c)
GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg2
const AVCodecDescriptor * avcodec_descriptor_get(enum AVCodecID id)
typedef void(SDLCALL *SDL_AudioFilter)(struct SDL_AudioCVT *cvt
struct AVCodecDescriptor AVCodecDescriptor
int avcodec_parameters_to_context(AVCodecContext *codec, const AVCodecParameters *par)
@ AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED
attribute_deprecated int av_codec_get_lowres(const AVCodecContext *avctx)
attribute_deprecated int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, int *got_picture_ptr, const AVPacket *avpkt)
void(* flush)(AVCodecContext *)
@ AV_AUDIO_SERVICE_TYPE_EFFECTS
@ AV_CODEC_ID_DSD_LSBF_PLANAR
@ AV_CODEC_ID_FIRST_SUBTITLE
A dummy ID pointing at the start of subtitle codecs.
enum AVFieldOrder field_order
void av_fast_padded_malloc(void *ptr, unsigned int *size, size_t min_size)
int av_get_audio_frame_duration(AVCodecContext *avctx, int frame_bytes)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
@ AV_PKT_DATA_CPB_PROPERTIES
@ AV_PKT_DATA_SKIP_SAMPLES
@ AV_CODEC_ID_ADPCM_IMA_DAT4
attribute_deprecated void av_register_hwaccel(AVHWAccel *hwaccel)
attribute_deprecated int frame_skip_cmp
@ AV_CODEC_ID_BETHSOFTVID
enum AVPixelFormat(* get_format)(struct AVCodecContext *s, const enum AVPixelFormat *fmt)
EGLImageKHR EGLint * name
int avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame)
attribute_deprecated void av_bitstream_filter_close(AVBitStreamFilterContext *bsf)
const AVCodec * av_codec_iterate(void **opaque)
int av_get_exact_bits_per_sample(enum AVCodecID codec_id)
uint64_t request_channel_layout
attribute_deprecated void avcodec_get_chroma_sub_sample(enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift)
int64_t cur_frame_dts[AV_PARSER_PTS_NB]
int avcodec_get_hw_frames_parameters(AVCodecContext *avctx, AVBufferRef *device_ref, enum AVPixelFormat hw_pix_fmt, AVBufferRef **out_frames_ref)
void avcodec_flush_buffers(AVCodecContext *avctx)
const uint64_t * channel_layouts
array of support channel layouts, or NULL if unknown. array is terminated by 0
attribute_deprecated int avpicture_layout(const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height, unsigned char *dest, int dest_size)
attribute_deprecated int skip_count
int(* encode2)(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
@ AV_CODEC_ID_WESTWOOD_SND1
@ AV_CODEC_ID_TEXT
raw UTF-8 text
struct AVBitStreamFilterContext AVBitStreamFilterContext
@ AV_AUDIO_SERVICE_TYPE_COMMENTARY
attribute_deprecated int av_codec_get_seek_preroll(const AVCodecContext *avctx)
int64_t cur_frame_pos[AV_PARSER_PTS_NB]
AVCodec * avcodec_find_decoder_by_name(const char *name)
enum AVFieldOrder field_order
const struct AVProfile * profiles
const AVClass * priv_class
AVClass for the private context.
@ AV_CODEC_ID_ADPCM_G726LE
int av_bsf_init(AVBSFContext *ctx)
@ AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_COUNT
attribute_deprecated int av_copy_packet(AVPacket *dst, const AVPacket *src)
int bits_per_coded_sample
attribute_deprecated int coder_type
@ AV_PKT_DATA_NEW_EXTRADATA
enum AVCodecID av_get_pcm_codec(enum AVSampleFormat fmt, int be)
enum AVMediaType codec_type
char * text
0 terminated plain UTF-8 text
void av_fast_padded_mallocz(void *ptr, unsigned int *size, size_t min_size)
int av_packet_make_writable(AVPacket *pkt)
struct AVDictionary AVDictionary
@ AV_CODEC_ID_ADPCM_EA_R1
int av_bsf_receive_packet(AVBSFContext *ctx, AVPacket *pkt)
@ AV_CODEC_ID_ADPCM_EA_R2
int av_get_audio_frame_duration2(AVCodecParameters *par, int frame_bytes)
@ AV_CODEC_ID_PROBE
codec_id is not known (like AV_CODEC_ID_NONE) but lavf should attempt to identify it
const AVCodecDescriptor * codec_descriptor
enum AVPixelFormat sw_pix_fmt
enum AVChromaLocation avcodec_chroma_pos_to_enum(int xpos, int ypos)
const AVCodecHWConfig * avcodec_get_hw_config(const AVCodec *codec, int index)
struct AVCodecContext AVCodecContext
int av_parser_parse2(AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int64_t pts, int64_t dts, int64_t pos)
attribute_deprecated AVPicture pict
@ AV_CODEC_ID_ADPCM_SBPRO_4
@ AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL
struct AVSubtitleRect AVSubtitleRect
@ AV_CODEC_ID_PCM_S24DAUD
struct AVSubtitle AVSubtitle
enum AVPixelFormat pix_fmt
@ AV_AUDIO_SERVICE_TYPE_DIALOGUE
enum AVMediaType codec_type
int av_parser_change(AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
enum AVFieldOrder field_order
@ AV_CODEC_ID_ADPCM_IMA_WAV
int nb_colors
number of colors in pict, undefined when pict is not set
attribute_deprecated int i_tex_bits
attribute_deprecated int avpicture_fill(AVPicture *picture, const uint8_t *ptr, enum AVPixelFormat pix_fmt, int width, int height)
attribute_deprecated int av_copy_packet_side_data(AVPacket *dst, const AVPacket *src)
@ AV_PKT_DATA_FALLBACK_TRACK
attribute_deprecated int scenechange_threshold
const char * avcodec_configuration(void)
@ AV_CODEC_ID_PCM_S8_PLANAR
@ AV_PKT_DATA_QUALITY_STATS
struct AVCodecParameters AVCodecParameters
attribute_deprecated uint64_t vbv_delay
@ AV_CODEC_ID_BRENDER_PIX
enum AVColorRange color_range
int av_bsf_list_append2(AVBSFList *lst, const char *bsf_name, AVDictionary **options)
int channels
number of audio channels
int(* init_thread_copy)(AVCodecContext *)
AVCodecParameters * par_in
@ AV_CODEC_ID_HDMV_TEXT_SUBTITLE
int(* parser_parse)(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
attribute_deprecated int frame_bits
unsigned __int32 uint32_t
enum AVPixelFormat pix_fmt
@ AV_PKT_DATA_WEBVTT_IDENTIFIER
int64_t pts_correction_num_faulty_dts
Number of incorrect PTS values so far.
attribute_deprecated void(* rtp_callback)(struct AVCodecContext *avctx, void *data, int size, int mb_nb)
const struct AVCodec * codec
@ AVDISCARD_NONREF
discard all non reference
@ AV_CODEC_ID_BINKAUDIO_RDFT
uint64_t error[AV_NUM_DATA_POINTERS]
@ AV_CODEC_ID_MPEG2VIDEO
preferred ID for MPEG-1/2 video decoding
int(* decode_slice)(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_size)
@ AV_CODEC_ID_GREMLIN_DPCM
int(* init)(AVCodecContext *avctx)
int64_t pts_correction_last_dts
PTS of the last frame.
int rc_initial_buffer_occupancy
const AVCodecDescriptor * avcodec_descriptor_get_by_name(const char *name)
enum AVColorSpace colorspace
enum AVPixelFormat * pix_fmts
array of supported pixel formats, or NULL if unknown, array is terminated by -1
int avcodec_parameters_copy(AVCodecParameters *dst, const AVCodecParameters *src)
int sample_rate
samples per second
struct AVBSFList AVBSFList
void av_parser_close(AVCodecParserContext *s)
AVPacket * av_packet_clone(const AVPacket *src)
attribute_deprecated AVBitStreamFilterContext * av_bitstream_filter_init(const char *name)
void av_init_packet(AVPacket *pkt)
@ AV_CODEC_ID_ADPCM_SBPRO_3
@ AV_CODEC_ID_SCTE_35
Contain timestamp estimated through PCR of program stream.
enum AVHWDeviceType device_type