public class avcodec extends avcodec
Modifier and Type | Field and Description |
---|---|
static int |
AV_AUDIO_SERVICE_TYPE_COMMENTARY
enum AVAudioServiceType
|
static int |
AV_AUDIO_SERVICE_TYPE_DIALOGUE
enum AVAudioServiceType
|
static int |
AV_AUDIO_SERVICE_TYPE_EFFECTS
enum AVAudioServiceType
|
static int |
AV_AUDIO_SERVICE_TYPE_EMERGENCY
enum AVAudioServiceType
|
static int |
AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED
enum AVAudioServiceType
|
static int |
AV_AUDIO_SERVICE_TYPE_KARAOKE
enum AVAudioServiceType
|
static int |
AV_AUDIO_SERVICE_TYPE_MAIN
enum AVAudioServiceType
|
static int |
AV_AUDIO_SERVICE_TYPE_NB
enum AVAudioServiceType
|
static int |
AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED
enum AVAudioServiceType
|
static int |
AV_AUDIO_SERVICE_TYPE_VOICE_OVER
enum AVAudioServiceType
|
static int |
AV_CODEC_CAP_AUTO_THREADS
Codec supports avctx->thread_count == 0 (auto).
|
static int |
AV_CODEC_CAP_AVOID_PROBING
Decoder is not a preferred choice for probing.
|
static int |
AV_CODEC_CAP_CHANNEL_CONF
Codec should fill in channel configuration and samplerate instead of container
|
static int |
AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to
give the complete and correct output.
|
static int |
AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
|
static int |
AV_CODEC_CAP_DRAW_HORIZ_BAND
Decoder can use draw_horiz_band callback.
|
static int |
AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE
This codec takes the reordered_opaque field from input AVFrames
and returns it in the corresponding field in AVCodecContext after
encoding.
|
static int |
AV_CODEC_CAP_EXPERIMENTAL
Codec is experimental and is thus avoided in favor of non experimental
encoders
|
static int |
AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
|
static int |
AV_CODEC_CAP_HARDWARE
Codec is backed by a hardware implementation.
|
static int |
AV_CODEC_CAP_HYBRID
Codec is potentially backed by a hardware implementation, but not
necessarily.
|
static int |
AV_CODEC_CAP_INTRA_ONLY
Codec is intra only.
|
static int |
AV_CODEC_CAP_LOSSLESS
Codec is lossless.
|
static int |
AV_CODEC_CAP_PARAM_CHANGE
Codec supports changed parameters at any point.
|
static int |
AV_CODEC_CAP_SLICE_THREADS
Codec supports slice-based (or partition-based) multithreading.
|
static int |
AV_CODEC_CAP_SMALL_LAST_FRAME
Codec can be fed a final frame with a smaller size.
|
static int |
AV_CODEC_CAP_SUBFRAMES
Codec can output multiple frames per AVPacket
Normally demuxers return one frame at a time, demuxers which do not do
are connected to a parser to split what they return into proper frames.
|
static int |
AV_CODEC_CAP_TRUNCATED |
static int |
AV_CODEC_CAP_VARIABLE_FRAME_SIZE
Audio encoder supports receiving a different number of samples in each call.
|
static int |
AV_CODEC_FLAG_4MV
4 MV per MB allowed / advanced prediction for H.263.
|
static int |
AV_CODEC_FLAG_AC_PRED
H.263 advanced intra coding / MPEG-4 AC prediction
|
static int |
AV_CODEC_FLAG_BITEXACT
Use only bitexact stuff (except (I)DCT).
|
static long |
AV_CODEC_FLAG_CLOSED_GOP |
static int |
AV_CODEC_FLAG_DROPCHANGED
Don't output frames whose parameters differ from first
decoded frame in stream.
|
static int |
AV_CODEC_FLAG_GLOBAL_HEADER
Place global headers in extradata instead of every keyframe.
|
static int |
AV_CODEC_FLAG_GRAY
Only decode/encode grayscale.
|
static int |
AV_CODEC_FLAG_INTERLACED_DCT
Use interlaced DCT.
|
static int |
AV_CODEC_FLAG_INTERLACED_ME
interlaced motion estimation
|
static int |
AV_CODEC_FLAG_LOOP_FILTER
loop filter.
|
static int |
AV_CODEC_FLAG_LOW_DELAY
Force low delay.
|
static int |
AV_CODEC_FLAG_OUTPUT_CORRUPT
Output even those frames that might be corrupted.
|
static int |
AV_CODEC_FLAG_PASS1
Use internal 2pass ratecontrol in first pass mode.
|
static int |
AV_CODEC_FLAG_PASS2
Use internal 2pass ratecontrol in second pass mode.
|
static int |
AV_CODEC_FLAG_PSNR
error[?] variables will be set during encoding.
|
static int |
AV_CODEC_FLAG_QPEL
Use qpel MC.
|
static int |
AV_CODEC_FLAG_QSCALE
Use fixed qscale.
|
static int |
AV_CODEC_FLAG_TRUNCATED
Input bitstream might be truncated at a random location
instead of only at frame boundaries.
|
static int |
AV_CODEC_FLAG_UNALIGNED
Allow decoders to produce frames with data planes that are not aligned
to CPU requirements (e.g.
|
static int |
AV_CODEC_FLAG2_CHUNKS
Input bitstream might be truncated at a packet boundaries
instead of only at frame boundaries.
|
static int |
AV_CODEC_FLAG2_DROP_FRAME_TIMECODE
timecode is in drop frame format.
|
static int |
AV_CODEC_FLAG2_EXPORT_MVS
Export motion vectors through frame side data
|
static int |
AV_CODEC_FLAG2_FAST
Allow non spec compliant speedup tricks.
|
static int |
AV_CODEC_FLAG2_IGNORE_CROP
Discard cropping information from SPS.
|
static int |
AV_CODEC_FLAG2_LOCAL_HEADER
Place global headers at every keyframe instead of in extradata.
|
static int |
AV_CODEC_FLAG2_NO_OUTPUT
Skip bitstream encoding.
|
static int |
AV_CODEC_FLAG2_RO_FLUSH_NOOP
Do not reset ASS ReadOrder field on flush (subtitles decoding)
|
static int |
AV_CODEC_FLAG2_SHOW_ALL
Show all frames before the first keyframe
|
static int |
AV_CODEC_FLAG2_SKIP_MANUAL
Do not skip samples and export skip information as frame side data
|
static int |
AV_CODEC_HW_CONFIG_METHOD_AD_HOC
enum
|
static int |
AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX
enum
|
static int |
AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX
enum
|
static int |
AV_CODEC_HW_CONFIG_METHOD_INTERNAL
enum
|
static int |
AV_CODEC_ID_012V |
static int |
AV_CODEC_ID_4GV |
static int |
AV_CODEC_ID_4XM
enum AVCodecID
|
static int |
AV_CODEC_ID_8BPS
enum AVCodecID
|
static int |
AV_CODEC_ID_8SVX_EXP |
static int |
AV_CODEC_ID_8SVX_FIB |
static int |
AV_CODEC_ID_A64_MULTI |
static int |
AV_CODEC_ID_A64_MULTI5 |
static int |
AV_CODEC_ID_AAC |
static int |
AV_CODEC_ID_AAC_LATM |
static int |
AV_CODEC_ID_AASC
enum AVCodecID
|
static int |
AV_CODEC_ID_AC3 |
static int |
AV_CODEC_ID_ADPCM_4XM |
static int |
AV_CODEC_ID_ADPCM_ADX |
static int |
AV_CODEC_ID_ADPCM_AFC |
static int |
AV_CODEC_ID_ADPCM_AGM |
static int |
AV_CODEC_ID_ADPCM_AICA |
static int |
AV_CODEC_ID_ADPCM_CT |
static int |
AV_CODEC_ID_ADPCM_DTK |
static int |
AV_CODEC_ID_ADPCM_EA |
static int |
AV_CODEC_ID_ADPCM_EA_MAXIS_XA |
static int |
AV_CODEC_ID_ADPCM_EA_R1 |
static int |
AV_CODEC_ID_ADPCM_EA_R2 |
static int |
AV_CODEC_ID_ADPCM_EA_R3 |
static int |
AV_CODEC_ID_ADPCM_EA_XAS |
static int |
AV_CODEC_ID_ADPCM_G722 |
static int |
AV_CODEC_ID_ADPCM_G726 |
static int |
AV_CODEC_ID_ADPCM_G726LE |
static int |
AV_CODEC_ID_ADPCM_IMA_AMV |
static int |
AV_CODEC_ID_ADPCM_IMA_APC |
static int |
AV_CODEC_ID_ADPCM_IMA_DAT4 |
static int |
AV_CODEC_ID_ADPCM_IMA_DK3 |
static int |
AV_CODEC_ID_ADPCM_IMA_DK4 |
static int |
AV_CODEC_ID_ADPCM_IMA_EA_EACS |
static int |
AV_CODEC_ID_ADPCM_IMA_EA_SEAD |
static int |
AV_CODEC_ID_ADPCM_IMA_ISS |
static int |
AV_CODEC_ID_ADPCM_IMA_OKI |
static int |
AV_CODEC_ID_ADPCM_IMA_QT |
static int |
AV_CODEC_ID_ADPCM_IMA_RAD |
static int |
AV_CODEC_ID_ADPCM_IMA_SMJPEG |
static int |
AV_CODEC_ID_ADPCM_IMA_WAV |
static int |
AV_CODEC_ID_ADPCM_IMA_WS |
static int |
AV_CODEC_ID_ADPCM_MS |
static int |
AV_CODEC_ID_ADPCM_MTAF |
static int |
AV_CODEC_ID_ADPCM_PSX |
static int |
AV_CODEC_ID_ADPCM_SBPRO_2 |
static int |
AV_CODEC_ID_ADPCM_SBPRO_3 |
static int |
AV_CODEC_ID_ADPCM_SBPRO_4 |
static int |
AV_CODEC_ID_ADPCM_SWF |
static int |
AV_CODEC_ID_ADPCM_THP |
static int |
AV_CODEC_ID_ADPCM_THP_LE |
static int |
AV_CODEC_ID_ADPCM_VIMA |
static int |
AV_CODEC_ID_ADPCM_XA |
static int |
AV_CODEC_ID_ADPCM_YAMAHA |
static int |
AV_CODEC_ID_AGM |
static int |
AV_CODEC_ID_AIC |
static int |
AV_CODEC_ID_ALAC |
static int |
AV_CODEC_ID_ALIAS_PIX |
static int |
AV_CODEC_ID_AMR_NB |
static int |
AV_CODEC_ID_AMR_WB |
static int |
AV_CODEC_ID_AMV
enum AVCodecID
|
static int |
AV_CODEC_ID_ANM
enum AVCodecID
|
static int |
AV_CODEC_ID_ANSI |
static int |
AV_CODEC_ID_APE |
static int |
AV_CODEC_ID_APNG |
static int |
AV_CODEC_ID_APTX |
static int |
AV_CODEC_ID_APTX_HD |
static int |
AV_CODEC_ID_ARBC |
static int |
AV_CODEC_ID_ARIB_CAPTION |
static int |
AV_CODEC_ID_ASS |
static int |
AV_CODEC_ID_ASV1
enum AVCodecID
|
static int |
AV_CODEC_ID_ASV2
enum AVCodecID
|
static int |
AV_CODEC_ID_ATRAC1 |
static int |
AV_CODEC_ID_ATRAC3 |
static int |
AV_CODEC_ID_ATRAC3AL |
static int |
AV_CODEC_ID_ATRAC3P |
static int |
AV_CODEC_ID_ATRAC3PAL |
static int |
AV_CODEC_ID_ATRAC9 |
static int |
AV_CODEC_ID_AURA
enum AVCodecID
|
static int |
AV_CODEC_ID_AURA2
enum AVCodecID
|
static int |
AV_CODEC_ID_AV1 |
static int |
AV_CODEC_ID_AVRN |
static int |
AV_CODEC_ID_AVRP |
static int |
AV_CODEC_ID_AVS
enum AVCodecID
|
static int |
AV_CODEC_ID_AVS2 |
static int |
AV_CODEC_ID_AVUI |
static int |
AV_CODEC_ID_AYUV |
static int |
AV_CODEC_ID_BETHSOFTVID
enum AVCodecID
|
static int |
AV_CODEC_ID_BFI
enum AVCodecID
|
static int |
AV_CODEC_ID_BIN_DATA |
static int |
AV_CODEC_ID_BINKAUDIO_DCT |
static int |
AV_CODEC_ID_BINKAUDIO_RDFT |
static int |
AV_CODEC_ID_BINKVIDEO
enum AVCodecID
|
static int |
AV_CODEC_ID_BINTEXT |
static int |
AV_CODEC_ID_BITPACKED |
static int |
AV_CODEC_ID_BMP
enum AVCodecID
|
static int |
AV_CODEC_ID_BMV_AUDIO |
static int |
AV_CODEC_ID_BMV_VIDEO |
static int |
AV_CODEC_ID_BRENDER_PIX |
static int |
AV_CODEC_ID_C93
enum AVCodecID
|
static int |
AV_CODEC_ID_CAVS
enum AVCodecID
|
static int |
AV_CODEC_ID_CDGRAPHICS
enum AVCodecID
|
static int |
AV_CODEC_ID_CDXL |
static int |
AV_CODEC_ID_CELT |
static int |
AV_CODEC_ID_CFHD |
static int |
AV_CODEC_ID_CINEPAK
enum AVCodecID
|
static int |
AV_CODEC_ID_CLEARVIDEO |
static int |
AV_CODEC_ID_CLJR
enum AVCodecID
|
static int |
AV_CODEC_ID_CLLC |
static int |
AV_CODEC_ID_CMV
enum AVCodecID
|
static int |
AV_CODEC_ID_CODEC2 |
static int |
AV_CODEC_ID_COMFORT_NOISE |
static int |
AV_CODEC_ID_COOK |
static int |
AV_CODEC_ID_CPIA |
static int |
AV_CODEC_ID_CSCD
enum AVCodecID
|
static int |
AV_CODEC_ID_CYUV
enum AVCodecID
|
static int |
AV_CODEC_ID_DAALA |
static int |
AV_CODEC_ID_DDS |
static int |
AV_CODEC_ID_DFA |
static int |
AV_CODEC_ID_DIRAC
enum AVCodecID
|
static int |
AV_CODEC_ID_DNXHD
enum AVCodecID
|
static int |
AV_CODEC_ID_DOLBY_E |
static int |
AV_CODEC_ID_DPX
enum AVCodecID
|
static int |
AV_CODEC_ID_DSD_LSBF |
static int |
AV_CODEC_ID_DSD_LSBF_PLANAR |
static int |
AV_CODEC_ID_DSD_MSBF |
static int |
AV_CODEC_ID_DSD_MSBF_PLANAR |
static int |
AV_CODEC_ID_DSICINAUDIO |
static int |
AV_CODEC_ID_DSICINVIDEO
enum AVCodecID
|
static int |
AV_CODEC_ID_DSS_SP |
static int |
AV_CODEC_ID_DST |
static int |
AV_CODEC_ID_DTS |
static int |
AV_CODEC_ID_DVAUDIO |
static int |
AV_CODEC_ID_DVB_SUBTITLE |
static int |
AV_CODEC_ID_DVB_TELETEXT |
static int |
AV_CODEC_ID_DVD_NAV |
static int |
AV_CODEC_ID_DVD_SUBTITLE |
static int |
AV_CODEC_ID_DVVIDEO
enum AVCodecID
|
static int |
AV_CODEC_ID_DXA
enum AVCodecID
|
static int |
AV_CODEC_ID_DXTORY |
static int |
AV_CODEC_ID_DXV |
static int |
AV_CODEC_ID_EAC3 |
static int |
AV_CODEC_ID_EIA_608 |
static int |
AV_CODEC_ID_ESCAPE124
enum AVCodecID
|
static int |
AV_CODEC_ID_ESCAPE130 |
static int |
AV_CODEC_ID_EVRC |
static int |
AV_CODEC_ID_EXR |
static int |
AV_CODEC_ID_FFMETADATA |
static int |
AV_CODEC_ID_FFV1
enum AVCodecID
|
static int |
AV_CODEC_ID_FFVHUFF
enum AVCodecID
|
static int |
AV_CODEC_ID_FFWAVESYNTH |
static int |
AV_CODEC_ID_FIC |
static int |
AV_CODEC_ID_FIRST_AUDIO |
static int |
AV_CODEC_ID_FIRST_SUBTITLE |
static int |
AV_CODEC_ID_FIRST_UNKNOWN |
static int |
AV_CODEC_ID_FITS |
static int |
AV_CODEC_ID_FLAC |
static int |
AV_CODEC_ID_FLASHSV
enum AVCodecID
|
static int |
AV_CODEC_ID_FLASHSV2
enum AVCodecID
|
static int |
AV_CODEC_ID_FLIC
enum AVCodecID
|
static int |
AV_CODEC_ID_FLV1
enum AVCodecID
|
static int |
AV_CODEC_ID_FMVC |
static int |
AV_CODEC_ID_FRAPS
enum AVCodecID
|
static int |
AV_CODEC_ID_FRWU
enum AVCodecID
|
static int |
AV_CODEC_ID_G2M |
static int |
AV_CODEC_ID_G723_1 |
static int |
AV_CODEC_ID_G729 |
static int |
AV_CODEC_ID_GDV |
static int |
AV_CODEC_ID_GIF
enum AVCodecID
|
static int |
AV_CODEC_ID_GREMLIN_DPCM |
static int |
AV_CODEC_ID_GSM |
static int |
AV_CODEC_ID_GSM_MS |
static int |
AV_CODEC_ID_H261
enum AVCodecID
|
static int |
AV_CODEC_ID_H263
enum AVCodecID
|
static int |
AV_CODEC_ID_H263I
enum AVCodecID
|
static int |
AV_CODEC_ID_H263P
enum AVCodecID
|
static int |
AV_CODEC_ID_H264
enum AVCodecID
|
static int |
AV_CODEC_ID_H265 |
static int |
AV_CODEC_ID_HAP |
static int |
AV_CODEC_ID_HCOM |
static int |
AV_CODEC_ID_HDMV_PGS_SUBTITLE |
static int |
AV_CODEC_ID_HDMV_TEXT_SUBTITLE |
static int |
AV_CODEC_ID_HEVC |
static int |
AV_CODEC_ID_HNM4_VIDEO |
static int |
AV_CODEC_ID_HQ_HQA |
static int |
AV_CODEC_ID_HQX |
static int |
AV_CODEC_ID_HUFFYUV
enum AVCodecID
|
static int |
AV_CODEC_ID_HYMT |
static int |
AV_CODEC_ID_IAC |
static int |
AV_CODEC_ID_IDCIN
enum AVCodecID
|
static int |
AV_CODEC_ID_IDF |
static int |
AV_CODEC_ID_IFF_BYTERUN1 |
static int |
AV_CODEC_ID_IFF_ILBM
enum AVCodecID
|
static int |
AV_CODEC_ID_ILBC |
static int |
AV_CODEC_ID_IMC |
static int |
AV_CODEC_ID_IMM4 |
static int |
AV_CODEC_ID_INDEO2
enum AVCodecID
|
static int |
AV_CODEC_ID_INDEO3
enum AVCodecID
|
static int |
AV_CODEC_ID_INDEO4
enum AVCodecID
|
static int |
AV_CODEC_ID_INDEO5
enum AVCodecID
|
static int |
AV_CODEC_ID_INTERPLAY_ACM |
static int |
AV_CODEC_ID_INTERPLAY_DPCM |
static int |
AV_CODEC_ID_INTERPLAY_VIDEO
enum AVCodecID
|
static int |
AV_CODEC_ID_JACOSUB |
static int |
AV_CODEC_ID_JPEG2000
enum AVCodecID
|
static int |
AV_CODEC_ID_JPEGLS
enum AVCodecID
|
static int |
AV_CODEC_ID_JV |
static int |
AV_CODEC_ID_KGV1 |
static int |
AV_CODEC_ID_KMVC
enum AVCodecID
|
static int |
AV_CODEC_ID_LAGARITH |
static int |
AV_CODEC_ID_LJPEG
enum AVCodecID
|
static int |
AV_CODEC_ID_LOCO
enum AVCodecID
|
static int |
AV_CODEC_ID_LSCR |
static int |
AV_CODEC_ID_M101 |
static int |
AV_CODEC_ID_MACE3 |
static int |
AV_CODEC_ID_MACE6 |
static int |
AV_CODEC_ID_MAD
enum AVCodecID
|
static int |
AV_CODEC_ID_MAGICYUV |
static int |
AV_CODEC_ID_MDEC
enum AVCodecID
|
static int |
AV_CODEC_ID_METASOUND |
static int |
AV_CODEC_ID_MICRODVD |
static int |
AV_CODEC_ID_MIMIC
enum AVCodecID
|
static int |
AV_CODEC_ID_MJPEG
enum AVCodecID
|
static int |
AV_CODEC_ID_MJPEGB
enum AVCodecID
|
static int |
AV_CODEC_ID_MLP |
static int |
AV_CODEC_ID_MMVIDEO
enum AVCodecID
|
static int |
AV_CODEC_ID_MOTIONPIXELS
enum AVCodecID
|
static int |
AV_CODEC_ID_MOV_TEXT |
static int |
AV_CODEC_ID_MP1 |
static int |
AV_CODEC_ID_MP2 |
static int |
AV_CODEC_ID_MP3 |
static int |
AV_CODEC_ID_MP3ADU |
static int |
AV_CODEC_ID_MP3ON4 |
static int |
AV_CODEC_ID_MP4ALS |
static int |
AV_CODEC_ID_MPEG1VIDEO
enum AVCodecID
|
static int |
AV_CODEC_ID_MPEG2TS |
static int |
AV_CODEC_ID_MPEG2VIDEO
enum AVCodecID
|
static int |
AV_CODEC_ID_MPEG4
enum AVCodecID
|
static int |
AV_CODEC_ID_MPEG4SYSTEMS |
static int |
AV_CODEC_ID_MPL2 |
static int |
AV_CODEC_ID_MSA1 |
static int |
AV_CODEC_ID_MSCC |
static int |
AV_CODEC_ID_MSMPEG4V1
enum AVCodecID
|
static int |
AV_CODEC_ID_MSMPEG4V2
enum AVCodecID
|
static int |
AV_CODEC_ID_MSMPEG4V3
enum AVCodecID
|
static int |
AV_CODEC_ID_MSRLE
enum AVCodecID
|
static int |
AV_CODEC_ID_MSS1 |
static int |
AV_CODEC_ID_MSS2 |
static int |
AV_CODEC_ID_MSVIDEO1
enum AVCodecID
|
static int |
AV_CODEC_ID_MSZH
enum AVCodecID
|
static int |
AV_CODEC_ID_MTS2 |
static int |
AV_CODEC_ID_MUSEPACK7 |
static int |
AV_CODEC_ID_MUSEPACK8 |
static int |
AV_CODEC_ID_MVC1 |
static int |
AV_CODEC_ID_MVC2 |
static int |
AV_CODEC_ID_MWSC |
static int |
AV_CODEC_ID_MXPEG |
static int |
AV_CODEC_ID_NELLYMOSER |
static int |
AV_CODEC_ID_NONE
enum AVCodecID
|
static int |
AV_CODEC_ID_NUV
enum AVCodecID
|
static int |
AV_CODEC_ID_ON2AVC |
static int |
AV_CODEC_ID_OPUS |
static int |
AV_CODEC_ID_OTF |
static int |
AV_CODEC_ID_PAF_AUDIO |
static int |
AV_CODEC_ID_PAF_VIDEO |
static int |
AV_CODEC_ID_PAM
enum AVCodecID
|
static int |
AV_CODEC_ID_PBM
enum AVCodecID
|
static int |
AV_CODEC_ID_PCM_ALAW |
static int |
AV_CODEC_ID_PCM_BLURAY |
static int |
AV_CODEC_ID_PCM_DVD |
static int |
AV_CODEC_ID_PCM_F16LE |
static int |
AV_CODEC_ID_PCM_F24LE |
static int |
AV_CODEC_ID_PCM_F32BE |
static int |
AV_CODEC_ID_PCM_F32LE |
static int |
AV_CODEC_ID_PCM_F64BE |
static int |
AV_CODEC_ID_PCM_F64LE |
static int |
AV_CODEC_ID_PCM_LXF |
static int |
AV_CODEC_ID_PCM_MULAW |
static int |
AV_CODEC_ID_PCM_S16BE |
static int |
AV_CODEC_ID_PCM_S16BE_PLANAR |
static int |
AV_CODEC_ID_PCM_S16LE |
static int |
AV_CODEC_ID_PCM_S16LE_PLANAR |
static int |
AV_CODEC_ID_PCM_S24BE |
static int |
AV_CODEC_ID_PCM_S24DAUD |
static int |
AV_CODEC_ID_PCM_S24LE |
static int |
AV_CODEC_ID_PCM_S24LE_PLANAR |
static int |
AV_CODEC_ID_PCM_S32BE |
static int |
AV_CODEC_ID_PCM_S32LE |
static int |
AV_CODEC_ID_PCM_S32LE_PLANAR |
static int |
AV_CODEC_ID_PCM_S64BE |
static int |
AV_CODEC_ID_PCM_S64LE |
static int |
AV_CODEC_ID_PCM_S8 |
static int |
AV_CODEC_ID_PCM_S8_PLANAR |
static int |
AV_CODEC_ID_PCM_U16BE |
static int |
AV_CODEC_ID_PCM_U16LE |
static int |
AV_CODEC_ID_PCM_U24BE |
static int |
AV_CODEC_ID_PCM_U24LE |
static int |
AV_CODEC_ID_PCM_U32BE |
static int |
AV_CODEC_ID_PCM_U32LE |
static int |
AV_CODEC_ID_PCM_U8 |
static int |
AV_CODEC_ID_PCM_VIDC |
static int |
AV_CODEC_ID_PCM_ZORK |
static int |
AV_CODEC_ID_PCX
enum AVCodecID
|
static int |
AV_CODEC_ID_PGM
enum AVCodecID
|
static int |
AV_CODEC_ID_PGMYUV
enum AVCodecID
|
static int |
AV_CODEC_ID_PICTOR |
static int |
AV_CODEC_ID_PIXLET |
static int |
AV_CODEC_ID_PJS |
static int |
AV_CODEC_ID_PNG
enum AVCodecID
|
static int |
AV_CODEC_ID_PPM
enum AVCodecID
|
static int |
AV_CODEC_ID_PROBE |
static int |
AV_CODEC_ID_PRORES |
static int |
AV_CODEC_ID_PROSUMER |
static int |
AV_CODEC_ID_PSD |
static int |
AV_CODEC_ID_PTX
enum AVCodecID
|
static int |
AV_CODEC_ID_QCELP |
static int |
AV_CODEC_ID_QDM2 |
static int |
AV_CODEC_ID_QDMC |
static int |
AV_CODEC_ID_QDRAW
enum AVCodecID
|
static int |
AV_CODEC_ID_QPEG
enum AVCodecID
|
static int |
AV_CODEC_ID_QTRLE
enum AVCodecID
|
static int |
AV_CODEC_ID_R10K |
static int |
AV_CODEC_ID_R210
enum AVCodecID
|
static int |
AV_CODEC_ID_RA_144 |
static int |
AV_CODEC_ID_RA_288 |
static int |
AV_CODEC_ID_RALF |
static int |
AV_CODEC_ID_RASC |
static int |
AV_CODEC_ID_RAWVIDEO
enum AVCodecID
|
static int |
AV_CODEC_ID_REALTEXT |
static int |
AV_CODEC_ID_RL2
enum AVCodecID
|
static int |
AV_CODEC_ID_ROQ
enum AVCodecID
|
static int |
AV_CODEC_ID_ROQ_DPCM |
static int |
AV_CODEC_ID_RPZA
enum AVCodecID
|
static int |
AV_CODEC_ID_RSCC |
static int |
AV_CODEC_ID_RV10
enum AVCodecID
|
static int |
AV_CODEC_ID_RV20
enum AVCodecID
|
static int |
AV_CODEC_ID_RV30
enum AVCodecID
|
static int |
AV_CODEC_ID_RV40
enum AVCodecID
|
static int |
AV_CODEC_ID_S302M |
static int |
AV_CODEC_ID_SAMI |
static int |
AV_CODEC_ID_SANM |
static int |
AV_CODEC_ID_SBC |
static int |
AV_CODEC_ID_SCPR |
static int |
AV_CODEC_ID_SCREENPRESSO |
static int |
AV_CODEC_ID_SCTE_35 |
static int |
AV_CODEC_ID_SDX2_DPCM |
static int |
AV_CODEC_ID_SGI
enum AVCodecID
|
static int |
AV_CODEC_ID_SGIRLE |
static int |
AV_CODEC_ID_SHEERVIDEO |
static int |
AV_CODEC_ID_SHORTEN |
static int |
AV_CODEC_ID_SIPR |
static int |
AV_CODEC_ID_SMACKAUDIO |
static int |
AV_CODEC_ID_SMACKVIDEO
enum AVCodecID
|
static int |
AV_CODEC_ID_SMC
enum AVCodecID
|
static int |
AV_CODEC_ID_SMPTE_KLV |
static int |
AV_CODEC_ID_SMV |
static int |
AV_CODEC_ID_SMVJPEG |
static int |
AV_CODEC_ID_SNOW |
static int |
AV_CODEC_ID_SOL_DPCM |
static int |
AV_CODEC_ID_SONIC |
static int |
AV_CODEC_ID_SONIC_LS |
static int |
AV_CODEC_ID_SP5X
enum AVCodecID
|
static int |
AV_CODEC_ID_SPEEDHQ |
static int |
AV_CODEC_ID_SPEEX |
static int |
AV_CODEC_ID_SRGC |
static int |
AV_CODEC_ID_SRT |
static int |
AV_CODEC_ID_SSA |
static int |
AV_CODEC_ID_STL |
static int |
AV_CODEC_ID_SUBRIP |
static int |
AV_CODEC_ID_SUBVIEWER |
static int |
AV_CODEC_ID_SUBVIEWER1 |
static int |
AV_CODEC_ID_SUNRAST
enum AVCodecID
|
static int |
AV_CODEC_ID_SVG |
static int |
AV_CODEC_ID_SVQ1
enum AVCodecID
|
static int |
AV_CODEC_ID_SVQ3
enum AVCodecID
|
static int |
AV_CODEC_ID_TAK |
static int |
AV_CODEC_ID_TARGA
enum AVCodecID
|
static int |
AV_CODEC_ID_TARGA_Y216 |
static int |
AV_CODEC_ID_TDSC |
static int |
AV_CODEC_ID_TEXT |
static int |
AV_CODEC_ID_TGQ
enum AVCodecID
|
static int |
AV_CODEC_ID_TGV
enum AVCodecID
|
static int |
AV_CODEC_ID_THEORA
enum AVCodecID
|
static int |
AV_CODEC_ID_THP
enum AVCodecID
|
static int |
AV_CODEC_ID_TIERTEXSEQVIDEO
enum AVCodecID
|
static int |
AV_CODEC_ID_TIFF
enum AVCodecID
|
static int |
AV_CODEC_ID_TIMED_ID3 |
static int |
AV_CODEC_ID_TMV
enum AVCodecID
|
static int |
AV_CODEC_ID_TQI
enum AVCodecID
|
static int |
AV_CODEC_ID_TRUEHD |
static int |
AV_CODEC_ID_TRUEMOTION1
enum AVCodecID
|
static int |
AV_CODEC_ID_TRUEMOTION2
enum AVCodecID
|
static int |
AV_CODEC_ID_TRUEMOTION2RT |
static int |
AV_CODEC_ID_TRUESPEECH |
static int |
AV_CODEC_ID_TSCC
enum AVCodecID
|
static int |
AV_CODEC_ID_TSCC2 |
static int |
AV_CODEC_ID_TTA |
static int |
AV_CODEC_ID_TTF |
static int |
AV_CODEC_ID_TTML |
static int |
AV_CODEC_ID_TWINVQ |
static int |
AV_CODEC_ID_TXD
enum AVCodecID
|
static int |
AV_CODEC_ID_ULTI
enum AVCodecID
|
static int |
AV_CODEC_ID_UTVIDEO |
static int |
AV_CODEC_ID_V210
enum AVCodecID
|
static int |
AV_CODEC_ID_V210X
enum AVCodecID
|
static int |
AV_CODEC_ID_V308 |
static int |
AV_CODEC_ID_V408 |
static int |
AV_CODEC_ID_V410 |
static int |
AV_CODEC_ID_VB
enum AVCodecID
|
static int |
AV_CODEC_ID_VBLE |
static int |
AV_CODEC_ID_VC1
enum AVCodecID
|
static int |
AV_CODEC_ID_VC1IMAGE |
static int |
AV_CODEC_ID_VCR1
enum AVCodecID
|
static int |
AV_CODEC_ID_VIXL
enum AVCodecID
|
static int |
AV_CODEC_ID_VMDAUDIO |
static int |
AV_CODEC_ID_VMDVIDEO
enum AVCodecID
|
static int |
AV_CODEC_ID_VMNC
enum AVCodecID
|
static int |
AV_CODEC_ID_VORBIS |
static int |
AV_CODEC_ID_VP3
enum AVCodecID
|
static int |
AV_CODEC_ID_VP4 |
static int |
AV_CODEC_ID_VP5
enum AVCodecID
|
static int |
AV_CODEC_ID_VP6
enum AVCodecID
|
static int |
AV_CODEC_ID_VP6A
enum AVCodecID
|
static int |
AV_CODEC_ID_VP6F
enum AVCodecID
|
static int |
AV_CODEC_ID_VP7 |
static int |
AV_CODEC_ID_VP8 |
static int |
AV_CODEC_ID_VP9 |
static int |
AV_CODEC_ID_VPLAYER |
static int |
AV_CODEC_ID_WAVPACK |
static int |
AV_CODEC_ID_WCMV |
static int |
AV_CODEC_ID_WEBP |
static int |
AV_CODEC_ID_WEBVTT |
static int |
AV_CODEC_ID_WESTWOOD_SND1 |
static int |
AV_CODEC_ID_WMALOSSLESS |
static int |
AV_CODEC_ID_WMAPRO |
static int |
AV_CODEC_ID_WMAV1 |
static int |
AV_CODEC_ID_WMAV2 |
static int |
AV_CODEC_ID_WMAVOICE |
static int |
AV_CODEC_ID_WMV1
enum AVCodecID
|
static int |
AV_CODEC_ID_WMV2
enum AVCodecID
|
static int |
AV_CODEC_ID_WMV3
enum AVCodecID
|
static int |
AV_CODEC_ID_WMV3IMAGE |
static int |
AV_CODEC_ID_WNV1
enum AVCodecID
|
static int |
AV_CODEC_ID_WRAPPED_AVFRAME |
static int |
AV_CODEC_ID_WS_VQA
enum AVCodecID
|
static int |
AV_CODEC_ID_XAN_DPCM |
static int |
AV_CODEC_ID_XAN_WC3
enum AVCodecID
|
static int |
AV_CODEC_ID_XAN_WC4
enum AVCodecID
|
static int |
AV_CODEC_ID_XBIN |
static int |
AV_CODEC_ID_XBM |
static int |
AV_CODEC_ID_XFACE |
static int |
AV_CODEC_ID_XMA1 |
static int |
AV_CODEC_ID_XMA2 |
static int |
AV_CODEC_ID_XPM |
static int |
AV_CODEC_ID_XSUB |
static int |
AV_CODEC_ID_XWD |
static int |
AV_CODEC_ID_Y41P |
static int |
AV_CODEC_ID_YLC |
static int |
AV_CODEC_ID_YOP |
static int |
AV_CODEC_ID_YUV4 |
static int |
AV_CODEC_ID_ZEROCODEC |
static int |
AV_CODEC_ID_ZLIB
enum AVCodecID
|
static int |
AV_CODEC_ID_ZMBV
enum AVCodecID
|
static int |
AV_CODEC_PROP_BITMAP_SUB
Subtitle codec is bitmap based
Decoded AVSubtitle data can be read from the AVSubtitleRect->pict field.
|
static int |
AV_CODEC_PROP_INTRA_ONLY
Codec uses only intra compression.
|
static int |
AV_CODEC_PROP_LOSSLESS
Codec supports lossless compression.
|
static int |
AV_CODEC_PROP_LOSSY
Codec supports lossy compression.
|
static int |
AV_CODEC_PROP_REORDER
Codec supports frame reordering.
|
static int |
AV_CODEC_PROP_TEXT_SUB
Subtitle codec is text based.
|
static int |
AV_FIELD_BB
enum AVFieldOrder
|
static int |
AV_FIELD_BT
enum AVFieldOrder
|
static int |
AV_FIELD_PROGRESSIVE
enum AVFieldOrder
|
static int |
AV_FIELD_TB
enum AVFieldOrder
|
static int |
AV_FIELD_TT
enum AVFieldOrder
|
static int |
AV_FIELD_UNKNOWN
enum AVFieldOrder
|
static int |
AV_GET_BUFFER_FLAG_REF
The decoder will keep a reference to the frame and may reuse it later.
|
static int |
AV_HWACCEL_CODEC_CAP_EXPERIMENTAL
HWAccel is experimental and is thus avoided in favor of non experimental
codecs
|
static int |
AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH
Hardware acceleration can output YUV pixel formats with a different chroma
sampling than 4:2:0 and/or other than 8 bits per component.
|
static int |
AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH
Hardware acceleration should still be attempted for decoding when the
codec profile does not match the reported capabilities of the hardware.
|
static int |
AV_HWACCEL_FLAG_IGNORE_LEVEL
Hardware acceleration should be used for decoding even if the codec level
used is unknown or higher than the maximum supported level reported by the
hardware driver.
|
static int |
AV_INPUT_BUFFER_MIN_SIZE
\ingroup lavc_encoding
minimum encoding buffer size
Used to avoid some checks during header writing.
|
static int |
AV_INPUT_BUFFER_PADDING_SIZE
\ingroup lavc_decoding
Required number of additionally allocated bytes at the end of the input bitstream for decoding.
|
static int |
AV_LOCK_CREATE
enum AVLockOp
|
static int |
AV_LOCK_DESTROY
enum AVLockOp
|
static int |
AV_LOCK_OBTAIN
enum AVLockOp
|
static int |
AV_LOCK_RELEASE
enum AVLockOp
|
static int |
AV_PICTURE_STRUCTURE_BOTTOM_FIELD
enum AVPictureStructure
|
static int |
AV_PICTURE_STRUCTURE_FRAME
enum AVPictureStructure
|
static int |
AV_PICTURE_STRUCTURE_TOP_FIELD
enum AVPictureStructure
|
static int |
AV_PICTURE_STRUCTURE_UNKNOWN
enum AVPictureStructure
|
static int |
AV_PKT_DATA_A53_CC
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_AFD
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_AUDIO_SERVICE_TYPE
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_CONTENT_LIGHT_LEVEL
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_CPB_PROPERTIES
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_DISPLAYMATRIX
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_ENCRYPTION_INFO
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_ENCRYPTION_INIT_INFO
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_FALLBACK_TRACK
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_H263_MB_INFO
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_JP_DUALMONO
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_MASTERING_DISPLAY_METADATA
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_METADATA_UPDATE
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_MPEGTS_STREAM_ID
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_NB
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_NEW_EXTRADATA
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_PALETTE
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_PARAM_CHANGE
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_QUALITY_FACTOR |
static int |
AV_PKT_DATA_QUALITY_STATS
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_REPLAYGAIN
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_SKIP_SAMPLES
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_SPHERICAL
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_STEREO3D
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_STRINGS_METADATA
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_SUBTITLE_POSITION
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_WEBVTT_IDENTIFIER
enum AVPacketSideDataType
|
static int |
AV_PKT_DATA_WEBVTT_SETTINGS
enum AVPacketSideDataType
|
static int |
AV_PKT_FLAG_CORRUPT
The packet content is corrupted
|
static int |
AV_PKT_FLAG_DISCARD
Flag is used to discard packets which are required to maintain valid
decoder state but are not required for output and should be dropped
after decoding.
|
static int |
AV_PKT_FLAG_DISPOSABLE
Flag is used to indicate packets that contain frames that can
be discarded by the decoder.
|
static int |
AV_PKT_FLAG_KEY
The packet contains a keyframe
|
static int |
AV_PKT_FLAG_TRUSTED
The packet comes from a trusted source.
|
static int |
AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_COUNT
enum AVSideDataParamChangeFlags
|
static int |
AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_LAYOUT
enum AVSideDataParamChangeFlags
|
static int |
AV_SIDE_DATA_PARAM_CHANGE_DIMENSIONS
enum AVSideDataParamChangeFlags
|
static int |
AV_SIDE_DATA_PARAM_CHANGE_SAMPLE_RATE
enum AVSideDataParamChangeFlags
|
static int |
AV_SUBTITLE_FLAG_FORCED |
static int |
AVDISCARD_ALL
enum AVDiscard
|
static int |
AVDISCARD_BIDIR
enum AVDiscard
|
static int |
AVDISCARD_DEFAULT
enum AVDiscard
|
static int |
AVDISCARD_NONE
enum AVDiscard
|
static int |
AVDISCARD_NONINTRA
enum AVDiscard
|
static int |
AVDISCARD_NONKEY
enum AVDiscard
|
static int |
AVDISCARD_NONREF
enum AVDiscard
|
static int |
SUBTITLE_ASS
enum AVSubtitleType
|
static int |
SUBTITLE_BITMAP
enum AVSubtitleType
|
static int |
SUBTITLE_NONE
enum AVSubtitleType
|
static int |
SUBTITLE_TEXT
enum AVSubtitleType
|
Constructor and Description |
---|
avcodec() |
Modifier and Type | Method and Description |
---|---|
static void |
av_bitstream_filter_close(AVBitStreamFilterContext bsf)
Deprecated.
the old bitstream filtering API (using AVBitStreamFilterContext)
is deprecated. Use av_bsf_free() from the new bitstream filtering API (using
AVBSFContext).
|
static int |
av_bitstream_filter_filter(AVBitStreamFilterContext bsfc,
AVCodecContext avctx,
BytePointer args,
byte[] poutbuf,
int[] poutbuf_size,
byte[] buf,
int buf_size,
int keyframe)
Deprecated.
|
static int |
av_bitstream_filter_filter(AVBitStreamFilterContext bsfc,
AVCodecContext avctx,
BytePointer args,
ByteBuffer poutbuf,
IntBuffer poutbuf_size,
ByteBuffer buf,
int buf_size,
int keyframe)
Deprecated.
|
static int |
av_bitstream_filter_filter(AVBitStreamFilterContext bsfc,
AVCodecContext avctx,
BytePointer args,
BytePointer poutbuf,
IntPointer poutbuf_size,
BytePointer buf,
int buf_size,
int keyframe)
Deprecated.
|
static int |
av_bitstream_filter_filter(AVBitStreamFilterContext bsfc,
AVCodecContext avctx,
BytePointer args,
PointerPointer poutbuf,
IntPointer poutbuf_size,
BytePointer buf,
int buf_size,
int keyframe)
Deprecated.
the old bitstream filtering API (using AVBitStreamFilterContext)
is deprecated. Use av_bsf_send_packet() and av_bsf_receive_packet() from the
new bitstream filtering API (using AVBSFContext).
|
static int |
av_bitstream_filter_filter(AVBitStreamFilterContext bsfc,
AVCodecContext avctx,
String args,
byte[] poutbuf,
int[] poutbuf_size,
byte[] buf,
int buf_size,
int keyframe)
Deprecated.
|
static int |
av_bitstream_filter_filter(AVBitStreamFilterContext bsfc,
AVCodecContext avctx,
String args,
ByteBuffer poutbuf,
IntBuffer poutbuf_size,
ByteBuffer buf,
int buf_size,
int keyframe)
Deprecated.
|
static int |
av_bitstream_filter_filter(AVBitStreamFilterContext bsfc,
AVCodecContext avctx,
String args,
BytePointer poutbuf,
IntPointer poutbuf_size,
BytePointer buf,
int buf_size,
int keyframe)
Deprecated.
|
static AVBitStreamFilterContext |
av_bitstream_filter_init(BytePointer name)
Deprecated.
the old bitstream filtering API (using AVBitStreamFilterContext)
is deprecated. Use av_bsf_get_by_name(), av_bsf_alloc(), and av_bsf_init()
from the new bitstream filtering API (using AVBSFContext).
|
static AVBitStreamFilterContext |
av_bitstream_filter_init(String name)
Deprecated.
|
static AVBitStreamFilter |
av_bitstream_filter_next(AVBitStreamFilter f)
Deprecated.
the old bitstream filtering API (using AVBitStreamFilterContext)
is deprecated. Use av_bsf_iterate() from the new bitstream filtering API (using
AVBSFContext).
|
static int |
av_bsf_alloc(AVBitStreamFilter filter,
AVBSFContext ctx) |
static int |
av_bsf_alloc(AVBitStreamFilter filter,
PointerPointer ctx)
Allocate a context for a given bitstream filter.
|
static void |
av_bsf_flush(AVBSFContext ctx)
Reset the internal bitstream filter state / flush internal buffers.
|
static void |
av_bsf_free(AVBSFContext ctx) |
static void |
av_bsf_free(PointerPointer ctx)
Free a bitstream filter context and everything associated with it; write NULL
into the supplied pointer.
|
static AVBitStreamFilter |
av_bsf_get_by_name(BytePointer name) |
static AVBitStreamFilter |
av_bsf_get_by_name(String name) |
static AVClass |
av_bsf_get_class()
Get the AVClass for AVBSFContext.
|
static int |
av_bsf_get_null_filter(AVBSFContext bsf) |
static int |
av_bsf_get_null_filter(PointerPointer bsf)
Get null/pass-through bitstream filter.
|
static int |
av_bsf_init(AVBSFContext ctx)
Prepare the filter for use, after all the parameters and options have been
set.
|
static AVBitStreamFilter |
av_bsf_iterate(Pointer opaque) |
static AVBitStreamFilter |
av_bsf_iterate(PointerPointer opaque)
Iterate over all registered bitstream filters.
|
static AVBSFList |
av_bsf_list_alloc()
Allocate empty list of bitstream filters.
|
static int |
av_bsf_list_append(AVBSFList lst,
AVBSFContext bsf)
Append bitstream filter to the list of bitstream filters.
|
static int |
av_bsf_list_append2(AVBSFList lst,
BytePointer bsf_name,
AVDictionary options) |
static int |
av_bsf_list_append2(AVBSFList lst,
BytePointer bsf_name,
PointerPointer options)
Construct new bitstream filter context given it's name and options
and append it to the list of bitstream filters.
|
static int |
av_bsf_list_append2(AVBSFList lst,
String bsf_name,
AVDictionary options) |
static int |
av_bsf_list_finalize(AVBSFList lst,
AVBSFContext bsf) |
static int |
av_bsf_list_finalize(PointerPointer lst,
PointerPointer bsf)
Finalize list of bitstream filters.
|
static void |
av_bsf_list_free(AVBSFList lst) |
static void |
av_bsf_list_free(PointerPointer lst)
Free list of bitstream filters.
|
static int |
av_bsf_list_parse_str(BytePointer str,
AVBSFContext bsf) |
static int |
av_bsf_list_parse_str(BytePointer str,
PointerPointer bsf)
Parse string describing list of bitstream filters and create single
\ref AVBSFContext describing the whole chain of bitstream filters.
|
static int |
av_bsf_list_parse_str(String str,
AVBSFContext bsf) |
static AVBitStreamFilter |
av_bsf_next(Pointer opaque)
Deprecated.
|
static AVBitStreamFilter |
av_bsf_next(PointerPointer opaque)
Deprecated.
|
static int |
av_bsf_receive_packet(AVBSFContext ctx,
AVPacket pkt)
Retrieve a filtered packet.
|
static int |
av_bsf_send_packet(AVBSFContext ctx,
AVPacket pkt)
Submit a packet for filtering.
|
static ShortPointer |
av_codec_get_chroma_intra_matrix(AVCodecContext avctx)
Deprecated.
|
static AVCodecDescriptor |
av_codec_get_codec_descriptor(AVCodecContext avctx)
Deprecated.
|
static int |
av_codec_get_codec_properties(AVCodecContext avctx)
Deprecated.
|
static int |
av_codec_get_lowres(AVCodecContext avctx)
Deprecated.
|
static int |
av_codec_get_max_lowres(AVCodec codec)
Deprecated.
|
static AVRational |
av_codec_get_pkt_timebase(AVCodecContext avctx)
Deprecated.
|
static int |
av_codec_get_seek_preroll(AVCodecContext avctx)
Deprecated.
|
static int |
av_codec_is_decoder(AVCodec codec) |
static int |
av_codec_is_encoder(AVCodec codec) |
static AVCodec |
av_codec_iterate(Pointer opaque) |
static AVCodec |
av_codec_iterate(PointerPointer opaque)
Iterate over all registered codecs.
|
static AVCodec |
av_codec_next(AVCodec c)
Deprecated.
|
static void |
av_codec_set_chroma_intra_matrix(AVCodecContext avctx,
short[] val)
Deprecated.
|
static void |
av_codec_set_chroma_intra_matrix(AVCodecContext avctx,
ShortBuffer val)
Deprecated.
|
static void |
av_codec_set_chroma_intra_matrix(AVCodecContext avctx,
ShortPointer val)
Deprecated.
|
static void |
av_codec_set_codec_descriptor(AVCodecContext avctx,
AVCodecDescriptor desc)
Deprecated.
|
static void |
av_codec_set_lowres(AVCodecContext avctx,
int val)
Deprecated.
|
static void |
av_codec_set_pkt_timebase(AVCodecContext avctx,
AVRational val)
Deprecated.
|
static void |
av_codec_set_seek_preroll(AVCodecContext avctx,
int val)
Deprecated.
|
static int |
av_copy_packet_side_data(AVPacket dst,
AVPacket src)
Deprecated.
Use av_packet_copy_props
|
static int |
av_copy_packet(AVPacket dst,
AVPacket src)
Deprecated.
Use av_packet_ref
|
static AVCPBProperties |
av_cpb_properties_alloc(SizeTPointer size)
Allocate a CPB properties structure and initialize its fields to default
values.
|
static int |
av_dup_packet(AVPacket pkt)
Deprecated.
Use av_packet_ref or av_packet_make_refcounted
|
static void |
av_fast_padded_malloc(Pointer ptr,
int[] size,
long min_size) |
static void |
av_fast_padded_malloc(Pointer ptr,
IntBuffer size,
long min_size) |
static void |
av_fast_padded_malloc(Pointer ptr,
IntPointer size,
long min_size)
Same behaviour av_fast_malloc but the buffer has additional
AV_INPUT_BUFFER_PADDING_SIZE at the end which will always be 0.
|
static void |
av_fast_padded_mallocz(Pointer ptr,
int[] size,
long min_size) |
static void |
av_fast_padded_mallocz(Pointer ptr,
IntBuffer size,
long min_size) |
static void |
av_fast_padded_mallocz(Pointer ptr,
IntPointer size,
long min_size)
Same behaviour av_fast_padded_malloc except that buffer will always
be 0-initialized after call.
|
static void |
av_free_packet(AVPacket pkt)
Deprecated.
Use av_packet_unref
|
static int |
av_get_audio_frame_duration(AVCodecContext avctx,
int frame_bytes)
Return audio frame duration.
|
static int |
av_get_audio_frame_duration2(AVCodecParameters par,
int frame_bytes)
This function is the same as av_get_audio_frame_duration(), except it works
with AVCodecParameters instead of an AVCodecContext.
|
static int |
av_get_bits_per_sample(int codec_id)
Return codec bits per sample.
|
static long |
av_get_codec_tag_string(byte[] buf,
long buf_size,
int codec_tag)
Deprecated.
|
static long |
av_get_codec_tag_string(ByteBuffer buf,
long buf_size,
int codec_tag)
Deprecated.
|
static long |
av_get_codec_tag_string(BytePointer buf,
long buf_size,
int codec_tag)
Deprecated.
see av_fourcc_make_string() and av_fourcc2str().
|
static int |
av_get_exact_bits_per_sample(int codec_id)
Return codec bits per sample.
|
static int |
av_get_pcm_codec(int fmt,
int be)
Return the PCM codec associated with a sample format.
|
static BytePointer |
av_get_profile_name(AVCodec codec,
int profile)
Return a name for the specified profile, if available.
|
static int |
av_grow_packet(AVPacket pkt,
int grow_by)
Increase packet size, correctly zeroing padding
|
static AVHWAccel |
av_hwaccel_next(AVHWAccel hwaccel)
Deprecated.
AVHWaccel structures contain no user-serviceable parts, so
this function should not be used.
|
static void |
av_init_packet(AVPacket pkt)
Initialize optional fields of a packet with default values.
|
static Pointer |
av_jni_get_java_vm(Pointer log_ctx) |
static int |
av_jni_set_java_vm(Pointer vm,
Pointer log_ctx)
\}
|
static int |
av_lockmgr_register(Cb_Pointer_int cb)
Deprecated.
|
static int |
av_lockmgr_register(Cb_PointerPointer_int cb)
Deprecated.
|
static int |
av_new_packet(AVPacket pkt,
int size)
Allocate the payload of a packet and initialize its fields with
default values.
|
static int |
av_packet_add_side_data(AVPacket pkt,
int type,
byte[] data,
long size) |
static int |
av_packet_add_side_data(AVPacket pkt,
int type,
ByteBuffer data,
long size) |
static int |
av_packet_add_side_data(AVPacket pkt,
int type,
BytePointer data,
long size)
Wrap an existing array as a packet side data.
|
static AVPacket |
av_packet_alloc()
Allocate an AVPacket and set its fields to default values.
|
static AVPacket |
av_packet_clone(AVPacket src)
Create a new packet that references the same data as src.
|
static int |
av_packet_copy_props(AVPacket dst,
AVPacket src)
Copy only "properties" fields from src to dst.
|
static void |
av_packet_free_side_data(AVPacket pkt)
Convenience function to free all the side data stored.
|
static void |
av_packet_free(AVPacket pkt) |
static void |
av_packet_free(PointerPointer pkt)
Free the packet, if the packet is reference counted, it will be
unreferenced first.
|
static int |
av_packet_from_data(AVPacket pkt,
byte[] data,
int size) |
static int |
av_packet_from_data(AVPacket pkt,
ByteBuffer data,
int size) |
static int |
av_packet_from_data(AVPacket pkt,
BytePointer data,
int size)
Initialize a reference-counted packet from av_malloc()ed data.
|
static byte[] |
av_packet_get_side_data(AVPacket pkt,
int type,
int[] size) |
static ByteBuffer |
av_packet_get_side_data(AVPacket pkt,
int type,
IntBuffer size) |
static BytePointer |
av_packet_get_side_data(AVPacket pkt,
int type,
IntPointer size)
Get side information from packet.
|
static int |
av_packet_make_refcounted(AVPacket pkt)
Ensure the data described by a given packet is reference counted.
|
static int |
av_packet_make_writable(AVPacket pkt)
Create a writable reference for the data described by a given packet,
avoiding data copy if possible.
|
static int |
av_packet_merge_side_data(AVPacket pkt)
Deprecated.
|
static void |
av_packet_move_ref(AVPacket dst,
AVPacket src)
Move every field in src to dst and reset src.
|
static BytePointer |
av_packet_new_side_data(AVPacket pkt,
int type,
int size)
Allocate new information of a packet.
|
static byte[] |
av_packet_pack_dictionary(AVDictionary dict,
int[] size) |
static ByteBuffer |
av_packet_pack_dictionary(AVDictionary dict,
IntBuffer size) |
static BytePointer |
av_packet_pack_dictionary(AVDictionary dict,
IntPointer size)
Pack a dictionary for use in side_data.
|
static int |
av_packet_ref(AVPacket dst,
AVPacket src)
Setup a new reference to the data described by a given packet
If src is reference-counted, setup dst as a new reference to the
buffer in src.
|
static void |
av_packet_rescale_ts(AVPacket pkt,
AVRational tb_src,
AVRational tb_dst)
Convert valid timing fields (timestamps / durations) in a packet from one
timebase to another.
|
static int |
av_packet_shrink_side_data(AVPacket pkt,
int type,
int size)
Shrink the already allocated side data buffer
|
static BytePointer |
av_packet_side_data_name(int type) |
static int |
av_packet_split_side_data(AVPacket pkt)
Deprecated.
|
static int |
av_packet_unpack_dictionary(byte[] data,
int size,
AVDictionary dict) |
static int |
av_packet_unpack_dictionary(ByteBuffer data,
int size,
AVDictionary dict) |
static int |
av_packet_unpack_dictionary(BytePointer data,
int size,
AVDictionary dict) |
static int |
av_packet_unpack_dictionary(BytePointer data,
int size,
PointerPointer dict)
Unpack a dictionary from side_data.
|
static void |
av_packet_unref(AVPacket pkt)
Wipe the packet.
|
static int |
av_parser_change(AVCodecParserContext s,
AVCodecContext avctx,
byte[] poutbuf,
int[] poutbuf_size,
byte[] buf,
int buf_size,
int keyframe) |
static int |
av_parser_change(AVCodecParserContext s,
AVCodecContext avctx,
ByteBuffer poutbuf,
IntBuffer poutbuf_size,
ByteBuffer buf,
int buf_size,
int keyframe) |
static int |
av_parser_change(AVCodecParserContext s,
AVCodecContext avctx,
BytePointer poutbuf,
IntPointer poutbuf_size,
BytePointer buf,
int buf_size,
int keyframe) |
static int |
av_parser_change(AVCodecParserContext s,
AVCodecContext avctx,
PointerPointer poutbuf,
IntPointer poutbuf_size,
BytePointer buf,
int buf_size,
int keyframe)
Deprecated.
use AVBitStreamFilter
|
static void |
av_parser_close(AVCodecParserContext s) |
static AVCodecParserContext |
av_parser_init(int codec_id) |
static AVCodecParser |
av_parser_iterate(Pointer opaque) |
static AVCodecParser |
av_parser_iterate(PointerPointer opaque)
Iterate over all registered codec parsers.
|
static AVCodecParser |
av_parser_next(AVCodecParser c)
Deprecated.
|
static int |
av_parser_parse2(AVCodecParserContext s,
AVCodecContext avctx,
byte[] poutbuf,
int[] poutbuf_size,
byte[] buf,
int buf_size,
long pts,
long dts,
long pos) |
static int |
av_parser_parse2(AVCodecParserContext s,
AVCodecContext avctx,
ByteBuffer poutbuf,
IntBuffer poutbuf_size,
ByteBuffer buf,
int buf_size,
long pts,
long dts,
long pos) |
static int |
av_parser_parse2(AVCodecParserContext s,
AVCodecContext avctx,
BytePointer poutbuf,
IntPointer poutbuf_size,
BytePointer buf,
int buf_size,
long pts,
long dts,
long pos) |
static int |
av_parser_parse2(AVCodecParserContext s,
AVCodecContext avctx,
PointerPointer poutbuf,
IntPointer poutbuf_size,
BytePointer buf,
int buf_size,
long pts,
long dts,
long pos)
Parse a packet.
|
static void |
av_picture_copy(AVPicture dst,
AVPicture src,
int pix_fmt,
int width,
int height)
Deprecated.
av_image_copy() instead.
|
static int |
av_picture_crop(AVPicture dst,
AVPicture src,
int pix_fmt,
int top_band,
int left_band)
Deprecated.
unused
|
static int |
av_picture_pad(AVPicture dst,
AVPicture src,
int height,
int width,
int pix_fmt,
int padtop,
int padbottom,
int padleft,
int padright,
int[] color)
Deprecated.
|
static int |
av_picture_pad(AVPicture dst,
AVPicture src,
int height,
int width,
int pix_fmt,
int padtop,
int padbottom,
int padleft,
int padright,
IntBuffer color)
Deprecated.
|
static int |
av_picture_pad(AVPicture dst,
AVPicture src,
int height,
int width,
int pix_fmt,
int padtop,
int padbottom,
int padleft,
int padright,
IntPointer color)
Deprecated.
unused
|
static void |
av_register_bitstream_filter(AVBitStreamFilter bsf)
Deprecated.
the old bitstream filtering API (using AVBitStreamFilterContext)
is deprecated. Use the new bitstream filtering API (using AVBSFContext).
|
static void |
av_register_codec_parser(AVCodecParser parser)
Deprecated.
|
static void |
av_register_hwaccel(AVHWAccel hwaccel)
Deprecated.
This function doesn't do anything.
|
static void |
av_shrink_packet(AVPacket pkt,
int size)
Reduce packet size, correctly zeroing padding
|
static int |
av_xiphlacing(byte[] s,
int v) |
static int |
av_xiphlacing(ByteBuffer s,
int v) |
static int |
av_xiphlacing(BytePointer s,
int v)
Encode extradata length to a buffer.
|
static void |
avcodec_align_dimensions(AVCodecContext s,
int[] width,
int[] height) |
static void |
avcodec_align_dimensions(AVCodecContext s,
IntBuffer width,
IntBuffer height) |
static void |
avcodec_align_dimensions(AVCodecContext s,
IntPointer width,
IntPointer height)
Modify width and height values so that they will result in a memory
buffer that is acceptable for the codec if you do not use any horizontal
padding.
|
static void |
avcodec_align_dimensions2(AVCodecContext s,
int[] width,
int[] height,
int[] linesize_align) |
static void |
avcodec_align_dimensions2(AVCodecContext s,
IntBuffer width,
IntBuffer height,
IntBuffer linesize_align) |
static void |
avcodec_align_dimensions2(AVCodecContext s,
IntPointer width,
IntPointer height,
IntPointer linesize_align)
Modify width and height values so that they will result in a memory
buffer that is acceptable for the codec if you also ensure that all
line sizes are a multiple of the respective linesize_align[i].
|
static AVCodecContext |
avcodec_alloc_context3(AVCodec codec)
Allocate an AVCodecContext and set its fields to default values.
|
static int |
avcodec_chroma_pos_to_enum(int xpos,
int ypos)
Converts swscale x/y chroma position to AVChromaLocation.
|
static int |
avcodec_close(AVCodecContext avctx)
Close a given AVCodecContext and free all the data associated with it
(but not the AVCodecContext itself).
|
static BytePointer |
avcodec_configuration()
Return the libavcodec build-time configuration.
|
static int |
avcodec_copy_context(AVCodecContext dest,
AVCodecContext src)
Deprecated.
The semantics of this function are ill-defined and it should not
be used. If you need to transfer the stream parameters from one codec context
to another, use an intermediate AVCodecParameters instance and the
avcodec_parameters_from_context() / avcodec_parameters_to_context()
functions.
|
static int |
avcodec_decode_audio4(AVCodecContext avctx,
AVFrame frame,
int[] got_frame_ptr,
AVPacket avpkt)
Deprecated.
|
static int |
avcodec_decode_audio4(AVCodecContext avctx,
AVFrame frame,
IntBuffer got_frame_ptr,
AVPacket avpkt)
Deprecated.
|
static int |
avcodec_decode_audio4(AVCodecContext avctx,
AVFrame frame,
IntPointer got_frame_ptr,
AVPacket avpkt)
Deprecated.
Use avcodec_send_packet() and avcodec_receive_frame().
|
static int |
avcodec_decode_subtitle2(AVCodecContext avctx,
AVSubtitle sub,
int[] got_sub_ptr,
AVPacket avpkt) |
static int |
avcodec_decode_subtitle2(AVCodecContext avctx,
AVSubtitle sub,
IntBuffer got_sub_ptr,
AVPacket avpkt) |
static int |
avcodec_decode_subtitle2(AVCodecContext avctx,
AVSubtitle sub,
IntPointer got_sub_ptr,
AVPacket avpkt)
Decode a subtitle message.
|
static int |
avcodec_decode_video2(AVCodecContext avctx,
AVFrame picture,
int[] got_picture_ptr,
AVPacket avpkt)
Deprecated.
|
static int |
avcodec_decode_video2(AVCodecContext avctx,
AVFrame picture,
IntBuffer got_picture_ptr,
AVPacket avpkt)
Deprecated.
|
static int |
avcodec_decode_video2(AVCodecContext avctx,
AVFrame picture,
IntPointer got_picture_ptr,
AVPacket avpkt)
Deprecated.
Use avcodec_send_packet() and avcodec_receive_frame().
|
static int |
avcodec_default_execute(AVCodecContext c,
Func_AVCodecContext_Pointer func,
Pointer arg,
int[] ret,
int count,
int size) |
static int |
avcodec_default_execute(AVCodecContext c,
Func_AVCodecContext_Pointer func,
Pointer arg,
IntBuffer ret,
int count,
int size) |
static int |
avcodec_default_execute(AVCodecContext c,
Func_AVCodecContext_Pointer func,
Pointer arg,
IntPointer ret,
int count,
int size) |
static int |
avcodec_default_execute2(AVCodecContext c,
Func_AVCodecContext_Pointer_int_int func,
Pointer arg,
int[] ret,
int count) |
static int |
avcodec_default_execute2(AVCodecContext c,
Func_AVCodecContext_Pointer_int_int func,
Pointer arg,
IntBuffer ret,
int count) |
static int |
avcodec_default_execute2(AVCodecContext c,
Func_AVCodecContext_Pointer_int_int func,
Pointer arg,
IntPointer ret,
int count) |
static int |
avcodec_default_get_buffer2(AVCodecContext s,
AVFrame frame,
int flags)
The default callback for AVCodecContext.get_buffer2().
|
static int |
avcodec_default_get_format(AVCodecContext s,
int[] fmt) |
static int |
avcodec_default_get_format(AVCodecContext s,
IntBuffer fmt) |
static int |
avcodec_default_get_format(AVCodecContext s,
IntPointer fmt) |
static AVCodecDescriptor |
avcodec_descriptor_get_by_name(BytePointer name) |
static AVCodecDescriptor |
avcodec_descriptor_get_by_name(String name) |
static AVCodecDescriptor |
avcodec_descriptor_get(int id) |
static AVCodecDescriptor |
avcodec_descriptor_next(AVCodecDescriptor prev)
Iterate over all codec descriptors known to libavcodec.
|
static int |
avcodec_encode_audio2(AVCodecContext avctx,
AVPacket avpkt,
AVFrame frame,
int[] got_packet_ptr)
Deprecated.
|
static int |
avcodec_encode_audio2(AVCodecContext avctx,
AVPacket avpkt,
AVFrame frame,
IntBuffer got_packet_ptr)
Deprecated.
|
static int |
avcodec_encode_audio2(AVCodecContext avctx,
AVPacket avpkt,
AVFrame frame,
IntPointer got_packet_ptr)
Deprecated.
use avcodec_send_frame()/avcodec_receive_packet() instead
|
static int |
avcodec_encode_subtitle(AVCodecContext avctx,
byte[] buf,
int buf_size,
AVSubtitle sub) |
static int |
avcodec_encode_subtitle(AVCodecContext avctx,
ByteBuffer buf,
int buf_size,
AVSubtitle sub) |
static int |
avcodec_encode_subtitle(AVCodecContext avctx,
BytePointer buf,
int buf_size,
AVSubtitle sub) |
static int |
avcodec_encode_video2(AVCodecContext avctx,
AVPacket avpkt,
AVFrame frame,
int[] got_packet_ptr)
Deprecated.
|
static int |
avcodec_encode_video2(AVCodecContext avctx,
AVPacket avpkt,
AVFrame frame,
IntBuffer got_packet_ptr)
Deprecated.
|
static int |
avcodec_encode_video2(AVCodecContext avctx,
AVPacket avpkt,
AVFrame frame,
IntPointer got_packet_ptr)
Deprecated.
use avcodec_send_frame()/avcodec_receive_packet() instead
|
static int |
avcodec_enum_to_chroma_pos(int[] xpos,
int[] ypos,
int pos) |
static int |
avcodec_enum_to_chroma_pos(IntBuffer xpos,
IntBuffer ypos,
int pos) |
static int |
avcodec_enum_to_chroma_pos(IntPointer xpos,
IntPointer ypos,
int pos)
Converts AVChromaLocation to swscale x/y chroma position.
|
static int |
avcodec_fill_audio_frame(AVFrame frame,
int nb_channels,
int sample_fmt,
byte[] buf,
int buf_size,
int align) |
static int |
avcodec_fill_audio_frame(AVFrame frame,
int nb_channels,
int sample_fmt,
ByteBuffer buf,
int buf_size,
int align) |
static int |
avcodec_fill_audio_frame(AVFrame frame,
int nb_channels,
int sample_fmt,
BytePointer buf,
int buf_size,
int align)
Fill AVFrame audio data and linesize pointers.
|
static int |
avcodec_find_best_pix_fmt_of_2(int dst_pix_fmt1,
int dst_pix_fmt2,
int src_pix_fmt,
int has_alpha,
int[] loss_ptr) |
static int |
avcodec_find_best_pix_fmt_of_2(int dst_pix_fmt1,
int dst_pix_fmt2,
int src_pix_fmt,
int has_alpha,
IntBuffer loss_ptr) |
static int |
avcodec_find_best_pix_fmt_of_2(int dst_pix_fmt1,
int dst_pix_fmt2,
int src_pix_fmt,
int has_alpha,
IntPointer loss_ptr)
Deprecated.
see av_find_best_pix_fmt_of_2()
|
static int |
avcodec_find_best_pix_fmt_of_list(int[] pix_fmt_list,
int src_pix_fmt,
int has_alpha,
int[] loss_ptr) |
static int |
avcodec_find_best_pix_fmt_of_list(IntBuffer pix_fmt_list,
int src_pix_fmt,
int has_alpha,
IntBuffer loss_ptr) |
static int |
avcodec_find_best_pix_fmt_of_list(IntPointer pix_fmt_list,
int src_pix_fmt,
int has_alpha,
IntPointer loss_ptr)
Find the best pixel format to convert to given a certain source pixel
format.
|
static int |
avcodec_find_best_pix_fmt2(int dst_pix_fmt1,
int dst_pix_fmt2,
int src_pix_fmt,
int has_alpha,
int[] loss_ptr)
Deprecated.
|
static int |
avcodec_find_best_pix_fmt2(int dst_pix_fmt1,
int dst_pix_fmt2,
int src_pix_fmt,
int has_alpha,
IntBuffer loss_ptr)
Deprecated.
|
static int |
avcodec_find_best_pix_fmt2(int dst_pix_fmt1,
int dst_pix_fmt2,
int src_pix_fmt,
int has_alpha,
IntPointer loss_ptr)
Deprecated.
|
static AVCodec |
avcodec_find_decoder_by_name(BytePointer name)
Find a registered decoder with the specified name.
|
static AVCodec |
avcodec_find_decoder_by_name(String name) |
static AVCodec |
avcodec_find_decoder(int id)
Find a registered decoder with a matching codec ID.
|
static AVCodec |
avcodec_find_encoder_by_name(BytePointer name)
Find a registered encoder with the specified name.
|
static AVCodec |
avcodec_find_encoder_by_name(String name) |
static AVCodec |
avcodec_find_encoder(int id)
Find a registered encoder with a matching codec ID.
|
static void |
avcodec_flush_buffers(AVCodecContext avctx)
Reset the internal decoder state / flush internal buffers.
|
static void |
avcodec_free_context(AVCodecContext avctx) |
static void |
avcodec_free_context(PointerPointer avctx)
Free the codec context and everything associated with it and write NULL to
the provided pointer.
|
static void |
avcodec_get_chroma_sub_sample(int pix_fmt,
int[] h_shift,
int[] v_shift)
Deprecated.
|
static void |
avcodec_get_chroma_sub_sample(int pix_fmt,
IntBuffer h_shift,
IntBuffer v_shift)
Deprecated.
|
static void |
avcodec_get_chroma_sub_sample(int pix_fmt,
IntPointer h_shift,
IntPointer v_shift)
Deprecated.
Use av_pix_fmt_get_chroma_sub_sample
|
static AVClass |
avcodec_get_class()
Get the AVClass for AVCodecContext.
|
static int |
avcodec_get_context_defaults3(AVCodecContext s,
AVCodec codec)
Deprecated.
This function should not be used, as closing and opening a codec
context multiple time is not supported. A new codec context should be
allocated for each new use.
|
static AVClass |
avcodec_get_frame_class()
Get the AVClass for AVFrame.
|
static AVCodecHWConfig |
avcodec_get_hw_config(AVCodec codec,
int index)
Retrieve supported hardware configurations for a codec.
|
static int |
avcodec_get_hw_frames_parameters(AVCodecContext avctx,
AVBufferRef device_ref,
int hw_pix_fmt,
AVBufferRef out_frames_ref) |
static int |
avcodec_get_hw_frames_parameters(AVCodecContext avctx,
AVBufferRef device_ref,
int hw_pix_fmt,
PointerPointer out_frames_ref)
Create and return a AVHWFramesContext with values adequate for hardware
decoding.
|
static BytePointer |
avcodec_get_name(int id)
Get the name of a codec.
|
static int |
avcodec_get_pix_fmt_loss(int dst_pix_fmt,
int src_pix_fmt,
int has_alpha)
Deprecated.
see av_get_pix_fmt_loss()
|
static AVClass |
avcodec_get_subtitle_rect_class()
Get the AVClass for AVSubtitleRect.
|
static int |
avcodec_get_type(int codec_id)
Get the type of the given codec.
|
static int |
avcodec_is_open(AVCodecContext s) |
static BytePointer |
avcodec_license()
Return the libavcodec license.
|
static int |
avcodec_open2(AVCodecContext avctx,
AVCodec codec,
AVDictionary options) |
static int |
avcodec_open2(AVCodecContext avctx,
AVCodec codec,
PointerPointer options)
Initialize the AVCodecContext to use the given AVCodec.
|
static AVCodecParameters |
avcodec_parameters_alloc()
Allocate a new AVCodecParameters and set its fields to default values
(unknown/invalid/0).
|
static int |
avcodec_parameters_copy(AVCodecParameters dst,
AVCodecParameters src)
Copy the contents of src to dst.
|
static void |
avcodec_parameters_free(AVCodecParameters par) |
static void |
avcodec_parameters_free(PointerPointer par)
Free an AVCodecParameters instance and everything associated with it and
write NULL to the supplied pointer.
|
static int |
avcodec_parameters_from_context(AVCodecParameters par,
AVCodecContext codec)
Fill the parameters struct based on the values from the supplied codec
context.
|
static int |
avcodec_parameters_to_context(AVCodecContext codec,
AVCodecParameters par)
Fill the codec context based on the values from the supplied codec
parameters.
|
static int |
avcodec_pix_fmt_to_codec_tag(int pix_fmt)
Return a value representing the fourCC code associated to the
pixel format pix_fmt, or 0 if no associated fourCC code can be
found.
|
static BytePointer |
avcodec_profile_name(int codec_id,
int profile)
Return a name for the specified profile, if available.
|
static int |
avcodec_receive_frame(AVCodecContext avctx,
AVFrame frame)
Return decoded output data from a decoder.
|
static int |
avcodec_receive_packet(AVCodecContext avctx,
AVPacket avpkt)
Read encoded data from the encoder.
|
static void |
avcodec_register_all()
Deprecated.
|
static void |
avcodec_register(AVCodec codec)
Deprecated.
|
static int |
avcodec_send_frame(AVCodecContext avctx,
AVFrame frame)
Supply a raw video or audio frame to the encoder.
|
static int |
avcodec_send_packet(AVCodecContext avctx,
AVPacket avpkt)
Supply raw packet data as input to a decoder.
|
static void |
avcodec_string(byte[] buf,
int buf_size,
AVCodecContext enc,
int encode) |
static void |
avcodec_string(ByteBuffer buf,
int buf_size,
AVCodecContext enc,
int encode) |
static void |
avcodec_string(BytePointer buf,
int buf_size,
AVCodecContext enc,
int encode) |
static int |
avcodec_version()
Return the LIBAVCODEC_VERSION_INT constant.
|
static int |
avpicture_alloc(AVPicture picture,
int pix_fmt,
int width,
int height)
Deprecated.
unused
|
static int |
avpicture_fill(AVPicture picture,
byte[] ptr,
int pix_fmt,
int width,
int height)
Deprecated.
|
static int |
avpicture_fill(AVPicture picture,
ByteBuffer ptr,
int pix_fmt,
int width,
int height)
Deprecated.
|
static int |
avpicture_fill(AVPicture picture,
BytePointer ptr,
int pix_fmt,
int width,
int height)
Deprecated.
use av_image_fill_arrays() instead.
|
static void |
avpicture_free(AVPicture picture)
Deprecated.
unused
|
static int |
avpicture_get_size(int pix_fmt,
int width,
int height)
Deprecated.
use av_image_get_buffer_size() instead.
|
static int |
avpicture_layout(AVPicture src,
int pix_fmt,
int width,
int height,
byte[] dest,
int dest_size)
Deprecated.
|
static int |
avpicture_layout(AVPicture src,
int pix_fmt,
int width,
int height,
ByteBuffer dest,
int dest_size)
Deprecated.
|
static int |
avpicture_layout(AVPicture src,
int pix_fmt,
int width,
int height,
BytePointer dest,
int dest_size)
Deprecated.
use av_image_copy_to_buffer() instead.
|
static void |
avsubtitle_free(AVSubtitle sub)
Free all allocated data in the given subtitle struct.
|
public static final int AV_CODEC_ID_NONE
public static final int AV_CODEC_ID_MPEG1VIDEO
public static final int AV_CODEC_ID_MPEG2VIDEO
public static final int AV_CODEC_ID_H261
public static final int AV_CODEC_ID_H263
public static final int AV_CODEC_ID_RV10
public static final int AV_CODEC_ID_RV20
public static final int AV_CODEC_ID_MJPEG
public static final int AV_CODEC_ID_MJPEGB
public static final int AV_CODEC_ID_LJPEG
public static final int AV_CODEC_ID_SP5X
public static final int AV_CODEC_ID_JPEGLS
public static final int AV_CODEC_ID_MPEG4
public static final int AV_CODEC_ID_RAWVIDEO
public static final int AV_CODEC_ID_MSMPEG4V1
public static final int AV_CODEC_ID_MSMPEG4V2
public static final int AV_CODEC_ID_MSMPEG4V3
public static final int AV_CODEC_ID_WMV1
public static final int AV_CODEC_ID_WMV2
public static final int AV_CODEC_ID_H263P
public static final int AV_CODEC_ID_H263I
public static final int AV_CODEC_ID_FLV1
public static final int AV_CODEC_ID_SVQ1
public static final int AV_CODEC_ID_SVQ3
public static final int AV_CODEC_ID_DVVIDEO
public static final int AV_CODEC_ID_HUFFYUV
public static final int AV_CODEC_ID_CYUV
public static final int AV_CODEC_ID_H264
public static final int AV_CODEC_ID_INDEO3
public static final int AV_CODEC_ID_VP3
public static final int AV_CODEC_ID_THEORA
public static final int AV_CODEC_ID_ASV1
public static final int AV_CODEC_ID_ASV2
public static final int AV_CODEC_ID_FFV1
public static final int AV_CODEC_ID_4XM
public static final int AV_CODEC_ID_VCR1
public static final int AV_CODEC_ID_CLJR
public static final int AV_CODEC_ID_MDEC
public static final int AV_CODEC_ID_ROQ
public static final int AV_CODEC_ID_INTERPLAY_VIDEO
public static final int AV_CODEC_ID_XAN_WC3
public static final int AV_CODEC_ID_XAN_WC4
public static final int AV_CODEC_ID_RPZA
public static final int AV_CODEC_ID_CINEPAK
public static final int AV_CODEC_ID_WS_VQA
public static final int AV_CODEC_ID_MSRLE
public static final int AV_CODEC_ID_MSVIDEO1
public static final int AV_CODEC_ID_IDCIN
public static final int AV_CODEC_ID_8BPS
public static final int AV_CODEC_ID_SMC
public static final int AV_CODEC_ID_FLIC
public static final int AV_CODEC_ID_TRUEMOTION1
public static final int AV_CODEC_ID_VMDVIDEO
public static final int AV_CODEC_ID_MSZH
public static final int AV_CODEC_ID_ZLIB
public static final int AV_CODEC_ID_QTRLE
public static final int AV_CODEC_ID_TSCC
public static final int AV_CODEC_ID_ULTI
public static final int AV_CODEC_ID_QDRAW
public static final int AV_CODEC_ID_VIXL
public static final int AV_CODEC_ID_QPEG
public static final int AV_CODEC_ID_PNG
public static final int AV_CODEC_ID_PPM
public static final int AV_CODEC_ID_PBM
public static final int AV_CODEC_ID_PGM
public static final int AV_CODEC_ID_PGMYUV
public static final int AV_CODEC_ID_PAM
public static final int AV_CODEC_ID_FFVHUFF
public static final int AV_CODEC_ID_RV30
public static final int AV_CODEC_ID_RV40
public static final int AV_CODEC_ID_VC1
public static final int AV_CODEC_ID_WMV3
public static final int AV_CODEC_ID_LOCO
public static final int AV_CODEC_ID_WNV1
public static final int AV_CODEC_ID_AASC
public static final int AV_CODEC_ID_INDEO2
public static final int AV_CODEC_ID_FRAPS
public static final int AV_CODEC_ID_TRUEMOTION2
public static final int AV_CODEC_ID_BMP
public static final int AV_CODEC_ID_CSCD
public static final int AV_CODEC_ID_MMVIDEO
public static final int AV_CODEC_ID_ZMBV
public static final int AV_CODEC_ID_AVS
public static final int AV_CODEC_ID_SMACKVIDEO
public static final int AV_CODEC_ID_NUV
public static final int AV_CODEC_ID_KMVC
public static final int AV_CODEC_ID_FLASHSV
public static final int AV_CODEC_ID_CAVS
public static final int AV_CODEC_ID_JPEG2000
public static final int AV_CODEC_ID_VMNC
public static final int AV_CODEC_ID_VP5
public static final int AV_CODEC_ID_VP6
public static final int AV_CODEC_ID_VP6F
public static final int AV_CODEC_ID_TARGA
public static final int AV_CODEC_ID_DSICINVIDEO
public static final int AV_CODEC_ID_TIERTEXSEQVIDEO
public static final int AV_CODEC_ID_TIFF
public static final int AV_CODEC_ID_GIF
public static final int AV_CODEC_ID_DXA
public static final int AV_CODEC_ID_DNXHD
public static final int AV_CODEC_ID_THP
public static final int AV_CODEC_ID_SGI
public static final int AV_CODEC_ID_C93
public static final int AV_CODEC_ID_BETHSOFTVID
public static final int AV_CODEC_ID_PTX
public static final int AV_CODEC_ID_TXD
public static final int AV_CODEC_ID_VP6A
public static final int AV_CODEC_ID_AMV
public static final int AV_CODEC_ID_VB
public static final int AV_CODEC_ID_PCX
public static final int AV_CODEC_ID_SUNRAST
public static final int AV_CODEC_ID_INDEO4
public static final int AV_CODEC_ID_INDEO5
public static final int AV_CODEC_ID_MIMIC
public static final int AV_CODEC_ID_RL2
public static final int AV_CODEC_ID_ESCAPE124
public static final int AV_CODEC_ID_DIRAC
public static final int AV_CODEC_ID_BFI
public static final int AV_CODEC_ID_CMV
public static final int AV_CODEC_ID_MOTIONPIXELS
public static final int AV_CODEC_ID_TGV
public static final int AV_CODEC_ID_TGQ
public static final int AV_CODEC_ID_TQI
public static final int AV_CODEC_ID_AURA
public static final int AV_CODEC_ID_AURA2
public static final int AV_CODEC_ID_V210X
public static final int AV_CODEC_ID_TMV
public static final int AV_CODEC_ID_V210
public static final int AV_CODEC_ID_DPX
public static final int AV_CODEC_ID_MAD
public static final int AV_CODEC_ID_FRWU
public static final int AV_CODEC_ID_FLASHSV2
public static final int AV_CODEC_ID_CDGRAPHICS
public static final int AV_CODEC_ID_R210
public static final int AV_CODEC_ID_ANM
public static final int AV_CODEC_ID_BINKVIDEO
public static final int AV_CODEC_ID_IFF_ILBM
public static final int AV_CODEC_ID_IFF_BYTERUN1
public static final int AV_CODEC_ID_KGV1
public static final int AV_CODEC_ID_YOP
public static final int AV_CODEC_ID_VP8
public static final int AV_CODEC_ID_PICTOR
public static final int AV_CODEC_ID_ANSI
public static final int AV_CODEC_ID_A64_MULTI
public static final int AV_CODEC_ID_A64_MULTI5
public static final int AV_CODEC_ID_R10K
public static final int AV_CODEC_ID_MXPEG
public static final int AV_CODEC_ID_LAGARITH
public static final int AV_CODEC_ID_PRORES
public static final int AV_CODEC_ID_JV
public static final int AV_CODEC_ID_DFA
public static final int AV_CODEC_ID_WMV3IMAGE
public static final int AV_CODEC_ID_VC1IMAGE
public static final int AV_CODEC_ID_UTVIDEO
public static final int AV_CODEC_ID_BMV_VIDEO
public static final int AV_CODEC_ID_VBLE
public static final int AV_CODEC_ID_DXTORY
public static final int AV_CODEC_ID_V410
public static final int AV_CODEC_ID_XWD
public static final int AV_CODEC_ID_CDXL
public static final int AV_CODEC_ID_XBM
public static final int AV_CODEC_ID_ZEROCODEC
public static final int AV_CODEC_ID_MSS1
public static final int AV_CODEC_ID_MSA1
public static final int AV_CODEC_ID_TSCC2
public static final int AV_CODEC_ID_MTS2
public static final int AV_CODEC_ID_CLLC
public static final int AV_CODEC_ID_MSS2
public static final int AV_CODEC_ID_VP9
public static final int AV_CODEC_ID_AIC
public static final int AV_CODEC_ID_ESCAPE130
public static final int AV_CODEC_ID_G2M
public static final int AV_CODEC_ID_WEBP
public static final int AV_CODEC_ID_HNM4_VIDEO
public static final int AV_CODEC_ID_HEVC
public static final int AV_CODEC_ID_H265
public static final int AV_CODEC_ID_FIC
public static final int AV_CODEC_ID_ALIAS_PIX
public static final int AV_CODEC_ID_BRENDER_PIX
public static final int AV_CODEC_ID_PAF_VIDEO
public static final int AV_CODEC_ID_EXR
public static final int AV_CODEC_ID_VP7
public static final int AV_CODEC_ID_SANM
public static final int AV_CODEC_ID_SGIRLE
public static final int AV_CODEC_ID_MVC1
public static final int AV_CODEC_ID_MVC2
public static final int AV_CODEC_ID_HQX
public static final int AV_CODEC_ID_TDSC
public static final int AV_CODEC_ID_HQ_HQA
public static final int AV_CODEC_ID_HAP
public static final int AV_CODEC_ID_DDS
public static final int AV_CODEC_ID_DXV
public static final int AV_CODEC_ID_SCREENPRESSO
public static final int AV_CODEC_ID_RSCC
public static final int AV_CODEC_ID_AVS2
public static final int AV_CODEC_ID_Y41P
public static final int AV_CODEC_ID_AVRP
public static final int AV_CODEC_ID_012V
public static final int AV_CODEC_ID_AVUI
public static final int AV_CODEC_ID_AYUV
public static final int AV_CODEC_ID_TARGA_Y216
public static final int AV_CODEC_ID_V308
public static final int AV_CODEC_ID_V408
public static final int AV_CODEC_ID_YUV4
public static final int AV_CODEC_ID_AVRN
public static final int AV_CODEC_ID_CPIA
public static final int AV_CODEC_ID_XFACE
public static final int AV_CODEC_ID_SNOW
public static final int AV_CODEC_ID_SMVJPEG
public static final int AV_CODEC_ID_APNG
public static final int AV_CODEC_ID_DAALA
public static final int AV_CODEC_ID_CFHD
public static final int AV_CODEC_ID_TRUEMOTION2RT
public static final int AV_CODEC_ID_M101
public static final int AV_CODEC_ID_MAGICYUV
public static final int AV_CODEC_ID_SHEERVIDEO
public static final int AV_CODEC_ID_YLC
public static final int AV_CODEC_ID_PSD
public static final int AV_CODEC_ID_PIXLET
public static final int AV_CODEC_ID_SPEEDHQ
public static final int AV_CODEC_ID_FMVC
public static final int AV_CODEC_ID_SCPR
public static final int AV_CODEC_ID_CLEARVIDEO
public static final int AV_CODEC_ID_XPM
public static final int AV_CODEC_ID_AV1
public static final int AV_CODEC_ID_BITPACKED
public static final int AV_CODEC_ID_MSCC
public static final int AV_CODEC_ID_SRGC
public static final int AV_CODEC_ID_SVG
public static final int AV_CODEC_ID_GDV
public static final int AV_CODEC_ID_FITS
public static final int AV_CODEC_ID_IMM4
public static final int AV_CODEC_ID_PROSUMER
public static final int AV_CODEC_ID_MWSC
public static final int AV_CODEC_ID_WCMV
public static final int AV_CODEC_ID_RASC
public static final int AV_CODEC_ID_HYMT
public static final int AV_CODEC_ID_ARBC
public static final int AV_CODEC_ID_AGM
public static final int AV_CODEC_ID_LSCR
public static final int AV_CODEC_ID_VP4
public static final int AV_CODEC_ID_FIRST_AUDIO
public static final int AV_CODEC_ID_PCM_S16LE
public static final int AV_CODEC_ID_PCM_S16BE
public static final int AV_CODEC_ID_PCM_U16LE
public static final int AV_CODEC_ID_PCM_U16BE
public static final int AV_CODEC_ID_PCM_S8
public static final int AV_CODEC_ID_PCM_U8
public static final int AV_CODEC_ID_PCM_MULAW
public static final int AV_CODEC_ID_PCM_ALAW
public static final int AV_CODEC_ID_PCM_S32LE
public static final int AV_CODEC_ID_PCM_S32BE
public static final int AV_CODEC_ID_PCM_U32LE
public static final int AV_CODEC_ID_PCM_U32BE
public static final int AV_CODEC_ID_PCM_S24LE
public static final int AV_CODEC_ID_PCM_S24BE
public static final int AV_CODEC_ID_PCM_U24LE
public static final int AV_CODEC_ID_PCM_U24BE
public static final int AV_CODEC_ID_PCM_S24DAUD
public static final int AV_CODEC_ID_PCM_ZORK
public static final int AV_CODEC_ID_PCM_S16LE_PLANAR
public static final int AV_CODEC_ID_PCM_DVD
public static final int AV_CODEC_ID_PCM_F32BE
public static final int AV_CODEC_ID_PCM_F32LE
public static final int AV_CODEC_ID_PCM_F64BE
public static final int AV_CODEC_ID_PCM_F64LE
public static final int AV_CODEC_ID_PCM_BLURAY
public static final int AV_CODEC_ID_PCM_LXF
public static final int AV_CODEC_ID_S302M
public static final int AV_CODEC_ID_PCM_S8_PLANAR
public static final int AV_CODEC_ID_PCM_S24LE_PLANAR
public static final int AV_CODEC_ID_PCM_S32LE_PLANAR
public static final int AV_CODEC_ID_PCM_S16BE_PLANAR
public static final int AV_CODEC_ID_PCM_S64LE
public static final int AV_CODEC_ID_PCM_S64BE
public static final int AV_CODEC_ID_PCM_F16LE
public static final int AV_CODEC_ID_PCM_F24LE
public static final int AV_CODEC_ID_PCM_VIDC
public static final int AV_CODEC_ID_ADPCM_IMA_QT
public static final int AV_CODEC_ID_ADPCM_IMA_WAV
public static final int AV_CODEC_ID_ADPCM_IMA_DK3
public static final int AV_CODEC_ID_ADPCM_IMA_DK4
public static final int AV_CODEC_ID_ADPCM_IMA_WS
public static final int AV_CODEC_ID_ADPCM_IMA_SMJPEG
public static final int AV_CODEC_ID_ADPCM_MS
public static final int AV_CODEC_ID_ADPCM_4XM
public static final int AV_CODEC_ID_ADPCM_XA
public static final int AV_CODEC_ID_ADPCM_ADX
public static final int AV_CODEC_ID_ADPCM_EA
public static final int AV_CODEC_ID_ADPCM_G726
public static final int AV_CODEC_ID_ADPCM_CT
public static final int AV_CODEC_ID_ADPCM_SWF
public static final int AV_CODEC_ID_ADPCM_YAMAHA
public static final int AV_CODEC_ID_ADPCM_SBPRO_4
public static final int AV_CODEC_ID_ADPCM_SBPRO_3
public static final int AV_CODEC_ID_ADPCM_SBPRO_2
public static final int AV_CODEC_ID_ADPCM_THP
public static final int AV_CODEC_ID_ADPCM_IMA_AMV
public static final int AV_CODEC_ID_ADPCM_EA_R1
public static final int AV_CODEC_ID_ADPCM_EA_R3
public static final int AV_CODEC_ID_ADPCM_EA_R2
public static final int AV_CODEC_ID_ADPCM_IMA_EA_SEAD
public static final int AV_CODEC_ID_ADPCM_IMA_EA_EACS
public static final int AV_CODEC_ID_ADPCM_EA_XAS
public static final int AV_CODEC_ID_ADPCM_EA_MAXIS_XA
public static final int AV_CODEC_ID_ADPCM_IMA_ISS
public static final int AV_CODEC_ID_ADPCM_G722
public static final int AV_CODEC_ID_ADPCM_IMA_APC
public static final int AV_CODEC_ID_ADPCM_VIMA
public static final int AV_CODEC_ID_ADPCM_AFC
public static final int AV_CODEC_ID_ADPCM_IMA_OKI
public static final int AV_CODEC_ID_ADPCM_DTK
public static final int AV_CODEC_ID_ADPCM_IMA_RAD
public static final int AV_CODEC_ID_ADPCM_G726LE
public static final int AV_CODEC_ID_ADPCM_THP_LE
public static final int AV_CODEC_ID_ADPCM_PSX
public static final int AV_CODEC_ID_ADPCM_AICA
public static final int AV_CODEC_ID_ADPCM_IMA_DAT4
public static final int AV_CODEC_ID_ADPCM_MTAF
public static final int AV_CODEC_ID_ADPCM_AGM
public static final int AV_CODEC_ID_AMR_NB
public static final int AV_CODEC_ID_AMR_WB
public static final int AV_CODEC_ID_RA_144
public static final int AV_CODEC_ID_RA_288
public static final int AV_CODEC_ID_ROQ_DPCM
public static final int AV_CODEC_ID_INTERPLAY_DPCM
public static final int AV_CODEC_ID_XAN_DPCM
public static final int AV_CODEC_ID_SOL_DPCM
public static final int AV_CODEC_ID_SDX2_DPCM
public static final int AV_CODEC_ID_GREMLIN_DPCM
public static final int AV_CODEC_ID_MP2
public static final int AV_CODEC_ID_MP3
public static final int AV_CODEC_ID_AAC
public static final int AV_CODEC_ID_AC3
public static final int AV_CODEC_ID_DTS
public static final int AV_CODEC_ID_VORBIS
public static final int AV_CODEC_ID_DVAUDIO
public static final int AV_CODEC_ID_WMAV1
public static final int AV_CODEC_ID_WMAV2
public static final int AV_CODEC_ID_MACE3
public static final int AV_CODEC_ID_MACE6
public static final int AV_CODEC_ID_VMDAUDIO
public static final int AV_CODEC_ID_FLAC
public static final int AV_CODEC_ID_MP3ADU
public static final int AV_CODEC_ID_MP3ON4
public static final int AV_CODEC_ID_SHORTEN
public static final int AV_CODEC_ID_ALAC
public static final int AV_CODEC_ID_WESTWOOD_SND1
public static final int AV_CODEC_ID_GSM
public static final int AV_CODEC_ID_QDM2
public static final int AV_CODEC_ID_COOK
public static final int AV_CODEC_ID_TRUESPEECH
public static final int AV_CODEC_ID_TTA
public static final int AV_CODEC_ID_SMACKAUDIO
public static final int AV_CODEC_ID_QCELP
public static final int AV_CODEC_ID_WAVPACK
public static final int AV_CODEC_ID_DSICINAUDIO
public static final int AV_CODEC_ID_IMC
public static final int AV_CODEC_ID_MUSEPACK7
public static final int AV_CODEC_ID_MLP
public static final int AV_CODEC_ID_GSM_MS
public static final int AV_CODEC_ID_ATRAC3
public static final int AV_CODEC_ID_APE
public static final int AV_CODEC_ID_NELLYMOSER
public static final int AV_CODEC_ID_MUSEPACK8
public static final int AV_CODEC_ID_SPEEX
public static final int AV_CODEC_ID_WMAVOICE
public static final int AV_CODEC_ID_WMAPRO
public static final int AV_CODEC_ID_WMALOSSLESS
public static final int AV_CODEC_ID_ATRAC3P
public static final int AV_CODEC_ID_EAC3
public static final int AV_CODEC_ID_SIPR
public static final int AV_CODEC_ID_MP1
public static final int AV_CODEC_ID_TWINVQ
public static final int AV_CODEC_ID_TRUEHD
public static final int AV_CODEC_ID_MP4ALS
public static final int AV_CODEC_ID_ATRAC1
public static final int AV_CODEC_ID_BINKAUDIO_RDFT
public static final int AV_CODEC_ID_BINKAUDIO_DCT
public static final int AV_CODEC_ID_AAC_LATM
public static final int AV_CODEC_ID_QDMC
public static final int AV_CODEC_ID_CELT
public static final int AV_CODEC_ID_G723_1
public static final int AV_CODEC_ID_G729
public static final int AV_CODEC_ID_8SVX_EXP
public static final int AV_CODEC_ID_8SVX_FIB
public static final int AV_CODEC_ID_BMV_AUDIO
public static final int AV_CODEC_ID_RALF
public static final int AV_CODEC_ID_IAC
public static final int AV_CODEC_ID_ILBC
public static final int AV_CODEC_ID_OPUS
public static final int AV_CODEC_ID_COMFORT_NOISE
public static final int AV_CODEC_ID_TAK
public static final int AV_CODEC_ID_METASOUND
public static final int AV_CODEC_ID_PAF_AUDIO
public static final int AV_CODEC_ID_ON2AVC
public static final int AV_CODEC_ID_DSS_SP
public static final int AV_CODEC_ID_CODEC2
public static final int AV_CODEC_ID_FFWAVESYNTH
public static final int AV_CODEC_ID_SONIC
public static final int AV_CODEC_ID_SONIC_LS
public static final int AV_CODEC_ID_EVRC
public static final int AV_CODEC_ID_SMV
public static final int AV_CODEC_ID_DSD_LSBF
public static final int AV_CODEC_ID_DSD_MSBF
public static final int AV_CODEC_ID_DSD_LSBF_PLANAR
public static final int AV_CODEC_ID_DSD_MSBF_PLANAR
public static final int AV_CODEC_ID_4GV
public static final int AV_CODEC_ID_INTERPLAY_ACM
public static final int AV_CODEC_ID_XMA1
public static final int AV_CODEC_ID_XMA2
public static final int AV_CODEC_ID_DST
public static final int AV_CODEC_ID_ATRAC3AL
public static final int AV_CODEC_ID_ATRAC3PAL
public static final int AV_CODEC_ID_DOLBY_E
public static final int AV_CODEC_ID_APTX
public static final int AV_CODEC_ID_APTX_HD
public static final int AV_CODEC_ID_SBC
public static final int AV_CODEC_ID_ATRAC9
public static final int AV_CODEC_ID_HCOM
public static final int AV_CODEC_ID_FIRST_SUBTITLE
public static final int AV_CODEC_ID_DVD_SUBTITLE
public static final int AV_CODEC_ID_DVB_SUBTITLE
public static final int AV_CODEC_ID_TEXT
public static final int AV_CODEC_ID_XSUB
public static final int AV_CODEC_ID_SSA
public static final int AV_CODEC_ID_MOV_TEXT
public static final int AV_CODEC_ID_HDMV_PGS_SUBTITLE
public static final int AV_CODEC_ID_DVB_TELETEXT
public static final int AV_CODEC_ID_SRT
public static final int AV_CODEC_ID_MICRODVD
public static final int AV_CODEC_ID_EIA_608
public static final int AV_CODEC_ID_JACOSUB
public static final int AV_CODEC_ID_SAMI
public static final int AV_CODEC_ID_REALTEXT
public static final int AV_CODEC_ID_STL
public static final int AV_CODEC_ID_SUBVIEWER1
public static final int AV_CODEC_ID_SUBVIEWER
public static final int AV_CODEC_ID_SUBRIP
public static final int AV_CODEC_ID_WEBVTT
public static final int AV_CODEC_ID_MPL2
public static final int AV_CODEC_ID_VPLAYER
public static final int AV_CODEC_ID_PJS
public static final int AV_CODEC_ID_ASS
public static final int AV_CODEC_ID_HDMV_TEXT_SUBTITLE
public static final int AV_CODEC_ID_TTML
public static final int AV_CODEC_ID_ARIB_CAPTION
public static final int AV_CODEC_ID_FIRST_UNKNOWN
public static final int AV_CODEC_ID_TTF
public static final int AV_CODEC_ID_SCTE_35
public static final int AV_CODEC_ID_BINTEXT
public static final int AV_CODEC_ID_XBIN
public static final int AV_CODEC_ID_IDF
public static final int AV_CODEC_ID_OTF
public static final int AV_CODEC_ID_SMPTE_KLV
public static final int AV_CODEC_ID_DVD_NAV
public static final int AV_CODEC_ID_TIMED_ID3
public static final int AV_CODEC_ID_BIN_DATA
public static final int AV_CODEC_ID_PROBE
public static final int AV_CODEC_ID_MPEG2TS
public static final int AV_CODEC_ID_MPEG4SYSTEMS
public static final int AV_CODEC_ID_FFMETADATA
public static final int AV_CODEC_ID_WRAPPED_AVFRAME
public static final int AV_CODEC_PROP_INTRA_ONLY
public static final int AV_CODEC_PROP_LOSSY
public static final int AV_CODEC_PROP_LOSSLESS
public static final int AV_CODEC_PROP_REORDER
public static final int AV_CODEC_PROP_BITMAP_SUB
public static final int AV_CODEC_PROP_TEXT_SUB
public static final int AV_INPUT_BUFFER_PADDING_SIZE
public static final int AV_INPUT_BUFFER_MIN_SIZE
public static final int AVDISCARD_NONE
public static final int AVDISCARD_DEFAULT
public static final int AVDISCARD_NONREF
public static final int AVDISCARD_BIDIR
public static final int AVDISCARD_NONINTRA
public static final int AVDISCARD_NONKEY
public static final int AVDISCARD_ALL
public static final int AV_AUDIO_SERVICE_TYPE_MAIN
public static final int AV_AUDIO_SERVICE_TYPE_EFFECTS
public static final int AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED
public static final int AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED
public static final int AV_AUDIO_SERVICE_TYPE_DIALOGUE
public static final int AV_AUDIO_SERVICE_TYPE_COMMENTARY
public static final int AV_AUDIO_SERVICE_TYPE_EMERGENCY
public static final int AV_AUDIO_SERVICE_TYPE_VOICE_OVER
public static final int AV_AUDIO_SERVICE_TYPE_KARAOKE
public static final int AV_AUDIO_SERVICE_TYPE_NB
public static final int AV_CODEC_FLAG_UNALIGNED
public static final int AV_CODEC_FLAG_QSCALE
public static final int AV_CODEC_FLAG_4MV
public static final int AV_CODEC_FLAG_OUTPUT_CORRUPT
public static final int AV_CODEC_FLAG_QPEL
public static final int AV_CODEC_FLAG_DROPCHANGED
public static final int AV_CODEC_FLAG_PASS1
public static final int AV_CODEC_FLAG_PASS2
public static final int AV_CODEC_FLAG_LOOP_FILTER
public static final int AV_CODEC_FLAG_GRAY
public static final int AV_CODEC_FLAG_PSNR
public static final int AV_CODEC_FLAG_TRUNCATED
public static final int AV_CODEC_FLAG_INTERLACED_DCT
public static final int AV_CODEC_FLAG_LOW_DELAY
public static final int AV_CODEC_FLAG_GLOBAL_HEADER
public static final int AV_CODEC_FLAG_BITEXACT
public static final int AV_CODEC_FLAG_AC_PRED
public static final int AV_CODEC_FLAG_INTERLACED_ME
public static final long AV_CODEC_FLAG_CLOSED_GOP
public static final int AV_CODEC_FLAG2_FAST
public static final int AV_CODEC_FLAG2_NO_OUTPUT
public static final int AV_CODEC_FLAG2_LOCAL_HEADER
public static final int AV_CODEC_FLAG2_DROP_FRAME_TIMECODE
public static final int AV_CODEC_FLAG2_CHUNKS
public static final int AV_CODEC_FLAG2_IGNORE_CROP
public static final int AV_CODEC_FLAG2_SHOW_ALL
public static final int AV_CODEC_FLAG2_EXPORT_MVS
public static final int AV_CODEC_FLAG2_SKIP_MANUAL
public static final int AV_CODEC_FLAG2_RO_FLUSH_NOOP
public static final int AV_CODEC_CAP_DRAW_HORIZ_BAND
public static final int AV_CODEC_CAP_DR1
public static final int AV_CODEC_CAP_TRUNCATED
public static final int AV_CODEC_CAP_DELAY
public static final int AV_CODEC_CAP_SMALL_LAST_FRAME
public static final int AV_CODEC_CAP_SUBFRAMES
public static final int AV_CODEC_CAP_EXPERIMENTAL
public static final int AV_CODEC_CAP_CHANNEL_CONF
public static final int AV_CODEC_CAP_FRAME_THREADS
public static final int AV_CODEC_CAP_SLICE_THREADS
public static final int AV_CODEC_CAP_PARAM_CHANGE
public static final int AV_CODEC_CAP_AUTO_THREADS
public static final int AV_CODEC_CAP_VARIABLE_FRAME_SIZE
public static final int AV_CODEC_CAP_AVOID_PROBING
public static final int AV_CODEC_CAP_INTRA_ONLY
public static final int AV_CODEC_CAP_LOSSLESS
public static final int AV_CODEC_CAP_HARDWARE
public static final int AV_CODEC_CAP_HYBRID
public static final int AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE
public static final int AV_GET_BUFFER_FLAG_REF
public static final int AV_PKT_DATA_PALETTE
public static final int AV_PKT_DATA_NEW_EXTRADATA
public static final int AV_PKT_DATA_PARAM_CHANGE
public static final int AV_PKT_DATA_H263_MB_INFO
public static final int AV_PKT_DATA_REPLAYGAIN
public static final int AV_PKT_DATA_DISPLAYMATRIX
public static final int AV_PKT_DATA_STEREO3D
public static final int AV_PKT_DATA_AUDIO_SERVICE_TYPE
public static final int AV_PKT_DATA_QUALITY_STATS
public static final int AV_PKT_DATA_FALLBACK_TRACK
public static final int AV_PKT_DATA_CPB_PROPERTIES
public static final int AV_PKT_DATA_SKIP_SAMPLES
public static final int AV_PKT_DATA_JP_DUALMONO
public static final int AV_PKT_DATA_STRINGS_METADATA
public static final int AV_PKT_DATA_SUBTITLE_POSITION
public static final int AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL
public static final int AV_PKT_DATA_WEBVTT_IDENTIFIER
public static final int AV_PKT_DATA_WEBVTT_SETTINGS
public static final int AV_PKT_DATA_METADATA_UPDATE
public static final int AV_PKT_DATA_MPEGTS_STREAM_ID
public static final int AV_PKT_DATA_MASTERING_DISPLAY_METADATA
public static final int AV_PKT_DATA_SPHERICAL
public static final int AV_PKT_DATA_CONTENT_LIGHT_LEVEL
public static final int AV_PKT_DATA_A53_CC
public static final int AV_PKT_DATA_ENCRYPTION_INIT_INFO
public static final int AV_PKT_DATA_ENCRYPTION_INFO
public static final int AV_PKT_DATA_AFD
public static final int AV_PKT_DATA_NB
public static final int AV_PKT_DATA_QUALITY_FACTOR
public static final int AV_PKT_FLAG_KEY
public static final int AV_PKT_FLAG_CORRUPT
public static final int AV_PKT_FLAG_DISCARD
public static final int AV_PKT_FLAG_TRUSTED
public static final int AV_PKT_FLAG_DISPOSABLE
public static final int AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_COUNT
public static final int AV_SIDE_DATA_PARAM_CHANGE_CHANNEL_LAYOUT
public static final int AV_SIDE_DATA_PARAM_CHANGE_SAMPLE_RATE
public static final int AV_SIDE_DATA_PARAM_CHANGE_DIMENSIONS
public static final int AV_FIELD_UNKNOWN
public static final int AV_FIELD_PROGRESSIVE
public static final int AV_FIELD_TT
public static final int AV_FIELD_BB
public static final int AV_FIELD_TB
public static final int AV_FIELD_BT
public static final int AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX
public static final int AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX
public static final int AV_CODEC_HW_CONFIG_METHOD_INTERNAL
public static final int AV_CODEC_HW_CONFIG_METHOD_AD_HOC
public static final int AV_HWACCEL_CODEC_CAP_EXPERIMENTAL
public static final int AV_HWACCEL_FLAG_IGNORE_LEVEL
public static final int AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH
public static final int AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH
public static final int SUBTITLE_NONE
public static final int SUBTITLE_BITMAP
public static final int SUBTITLE_TEXT
public static final int SUBTITLE_ASS
public static final int AV_SUBTITLE_FLAG_FORCED
public static final int AV_PICTURE_STRUCTURE_UNKNOWN
public static final int AV_PICTURE_STRUCTURE_TOP_FIELD
public static final int AV_PICTURE_STRUCTURE_BOTTOM_FIELD
public static final int AV_PICTURE_STRUCTURE_FRAME
public static final int AV_LOCK_CREATE
public static final int AV_LOCK_OBTAIN
public static final int AV_LOCK_RELEASE
public static final int AV_LOCK_DESTROY
@NoException @Deprecated @ByVal public static AVRational av_codec_get_pkt_timebase(@Const AVCodecContext avctx)
@NoException @Deprecated public static void av_codec_set_pkt_timebase(AVCodecContext avctx, @ByVal AVRational val)
@NoException @Const @Deprecated public static AVCodecDescriptor av_codec_get_codec_descriptor(@Const AVCodecContext avctx)
@NoException @Deprecated public static void av_codec_set_codec_descriptor(AVCodecContext avctx, @Const AVCodecDescriptor desc)
@NoException @Cast(value="unsigned") @Deprecated public static int av_codec_get_codec_properties(@Const AVCodecContext avctx)
@NoException @Deprecated public static int av_codec_get_lowres(@Const AVCodecContext avctx)
@NoException @Deprecated public static void av_codec_set_lowres(AVCodecContext avctx, int val)
@NoException @Deprecated public static int av_codec_get_seek_preroll(@Const AVCodecContext avctx)
@NoException @Deprecated public static void av_codec_set_seek_preroll(AVCodecContext avctx, int val)
@NoException @Cast(value="uint16_t*") @Deprecated public static ShortPointer av_codec_get_chroma_intra_matrix(@Const AVCodecContext avctx)
@NoException @Deprecated public static void av_codec_set_chroma_intra_matrix(AVCodecContext avctx, @Cast(value="uint16_t*") ShortPointer val)
@NoException @Deprecated public static void av_codec_set_chroma_intra_matrix(AVCodecContext avctx, @Cast(value="uint16_t*") ShortBuffer val)
@NoException @Deprecated public static void av_codec_set_chroma_intra_matrix(AVCodecContext avctx, @Cast(value="uint16_t*") short[] val)
@NoException @Deprecated public static int av_codec_get_max_lowres(@Const AVCodec codec)
@NoException @Const public static AVCodecHWConfig avcodec_get_hw_config(@Const AVCodec codec, int index)
@NoException @Const public static AVCodec av_codec_iterate(@Cast(value="void**") PointerPointer opaque)
opaque
- a pointer where libavcodec will store the iteration state. Must
point to NULL to start the iteration.@NoException @Const public static AVCodec av_codec_iterate(@Cast(value="void**") @ByPtrPtr Pointer opaque)
@NoException @Deprecated public static AVCodec av_codec_next(@Const AVCodec c)
@NoException @Cast(value="unsigned") public static int avcodec_version()
@NoException @Cast(value="const char*") public static BytePointer avcodec_configuration()
@NoException @Cast(value="const char*") public static BytePointer avcodec_license()
@NoException @Deprecated public static void avcodec_register(AVCodec codec)
avcodec_register_all()
@NoException @Deprecated public static void avcodec_register_all()
avcodec_register
,
av_register_codec_parser
,
av_register_bitstream_filter
@NoException public static AVCodecContext avcodec_alloc_context3(@Const AVCodec codec)
codec
- if non-NULL, allocate private data and initialize defaults
for the given codec. It is illegal to then call avcodec_open2()
with a different codec.
If NULL, then the codec-specific defaults won't be initialized,
which may result in suboptimal default settings (this is
important mainly for encoders, e.g. libx264).@NoException public static void avcodec_free_context(@Cast(value="AVCodecContext**") PointerPointer avctx)
@NoException public static void avcodec_free_context(@ByPtrPtr AVCodecContext avctx)
@NoException public static int avcodec_get_context_defaults3(AVCodecContext s, @Const AVCodec codec)
@NoException @Const public static AVClass avcodec_get_class()
av_opt_find().
@NoException @Const public static AVClass avcodec_get_frame_class()
av_opt_find().
@NoException @Const public static AVClass avcodec_get_subtitle_rect_class()
av_opt_find().
@NoException @Deprecated public static int avcodec_copy_context(AVCodecContext dest, @Const AVCodecContext src)
dest
- target codec context, should be initialized with
avcodec_alloc_context3(NULL), but otherwise uninitializedsrc
- source codec context@NoException public static AVCodecParameters avcodec_parameters_alloc()
@NoException public static void avcodec_parameters_free(@Cast(value="AVCodecParameters**") PointerPointer par)
@NoException public static void avcodec_parameters_free(@ByPtrPtr AVCodecParameters par)
@NoException public static int avcodec_parameters_copy(AVCodecParameters dst, @Const AVCodecParameters src)
@NoException public static int avcodec_parameters_from_context(AVCodecParameters par, @Const AVCodecContext codec)
@NoException public static int avcodec_parameters_to_context(AVCodecContext codec, @Const AVCodecParameters par)
@NoException public static int avcodec_open2(AVCodecContext avctx, @Const AVCodec codec, @Cast(value="AVDictionary**") PointerPointer options)
avcodec_register_all();
av_dict_set(&opts, "b", "2.5M", 0);
codec = avcodec_find_decoder(AV_CODEC_ID_H264);
if (!codec)
exit(1);
context = avcodec_alloc_context3(codec);
if (avcodec_open2(context, codec, opts) < 0)
exit(1);
avctx
- The context to initialize.codec
- The codec to open this context for. If a non-NULL codec has been
previously passed to avcodec_alloc_context3() or
for this context, then this parameter MUST be either NULL or
equal to the previously passed codec.options
- A dictionary filled with AVCodecContext and codec-private options.
On return this object will be filled with options that were not found.avcodec_alloc_context3(), avcodec_find_decoder(), avcodec_find_encoder(),
av_dict_set(), av_opt_find().
@NoException public static int avcodec_open2(AVCodecContext avctx, @Const AVCodec codec, @ByPtrPtr AVDictionary options)
@NoException public static int avcodec_close(AVCodecContext avctx)
@NoException public static void avsubtitle_free(AVSubtitle sub)
sub
- AVSubtitle to free.@NoException public static AVPacket av_packet_alloc()
av_new_packet
@NoException public static AVPacket av_packet_clone(@Const AVPacket src)
av_packet_alloc
,
av_packet_ref
@NoException public static void av_packet_free(@Cast(value="AVPacket**") PointerPointer pkt)
pkt
- packet to be freed. The pointer will be set to NULL.
\note passing NULL is a no-op.@NoException public static void av_packet_free(@ByPtrPtr AVPacket pkt)
@NoException public static void av_init_packet(AVPacket pkt)
pkt
- packet@NoException public static int av_new_packet(AVPacket pkt, int size)
pkt
- packetsize
- wanted payload size@NoException public static void av_shrink_packet(AVPacket pkt, int size)
pkt
- packetsize
- new size@NoException public static int av_grow_packet(AVPacket pkt, int grow_by)
pkt
- packetgrow_by
- number of bytes by which to increase the size of the packet@NoException public static int av_packet_from_data(AVPacket pkt, @Cast(value="uint8_t*") BytePointer data, int size)
pkt
- packet to be initialized. This function will set the data, size,
and buf fields, all others are left untouched.data
- Data allocated by av_malloc() to be used as packet data. If this
function returns successfully, the data is owned by the underlying AVBuffer.
The caller may not access the data through other means.size
- size of data in bytes, without the padding. I.e. the full buffer
size is assumed to be size + AV_INPUT_BUFFER_PADDING_SIZE.@NoException public static int av_packet_from_data(AVPacket pkt, @Cast(value="uint8_t*") ByteBuffer data, int size)
@NoException public static int av_packet_from_data(AVPacket pkt, @Cast(value="uint8_t*") byte[] data, int size)
@NoException @Deprecated public static int av_dup_packet(AVPacket pkt)
@NoException @Deprecated public static int av_copy_packet(AVPacket dst, @Const AVPacket src)
@NoException @Deprecated public static int av_copy_packet_side_data(AVPacket dst, @Const AVPacket src)
@NoException @Deprecated public static void av_free_packet(AVPacket pkt)
pkt
- packet to free@NoException @Cast(value="uint8_t*") public static BytePointer av_packet_new_side_data(AVPacket pkt, @Cast(value="AVPacketSideDataType") int type, int size)
pkt
- packettype
- side information typesize
- side information size@NoException public static int av_packet_add_side_data(AVPacket pkt, @Cast(value="AVPacketSideDataType") int type, @Cast(value="uint8_t*") BytePointer data, @Cast(value="size_t") long size)
pkt
- packettype
- side information typedata
- the side data array. It must be allocated with the av_malloc()
family of functions. The ownership of the data is transferred to
pkt.size
- side information size@NoException public static int av_packet_add_side_data(AVPacket pkt, @Cast(value="AVPacketSideDataType") int type, @Cast(value="uint8_t*") ByteBuffer data, @Cast(value="size_t") long size)
@NoException public static int av_packet_add_side_data(AVPacket pkt, @Cast(value="AVPacketSideDataType") int type, @Cast(value="uint8_t*") byte[] data, @Cast(value="size_t") long size)
@NoException public static int av_packet_shrink_side_data(AVPacket pkt, @Cast(value="AVPacketSideDataType") int type, int size)
pkt
- packettype
- side information typesize
- new side information size@NoException @Cast(value="uint8_t*") public static BytePointer av_packet_get_side_data(@Const AVPacket pkt, @Cast(value="AVPacketSideDataType") int type, IntPointer size)
pkt
- packettype
- desired side information typesize
- pointer for side information size to store (optional)@NoException @Cast(value="uint8_t*") public static ByteBuffer av_packet_get_side_data(@Const AVPacket pkt, @Cast(value="AVPacketSideDataType") int type, IntBuffer size)
@NoException @Cast(value="uint8_t*") public static byte[] av_packet_get_side_data(@Const AVPacket pkt, @Cast(value="AVPacketSideDataType") int type, int[] size)
@NoException @Deprecated public static int av_packet_merge_side_data(AVPacket pkt)
@NoException @Deprecated public static int av_packet_split_side_data(AVPacket pkt)
@NoException @Cast(value="const char*") public static BytePointer av_packet_side_data_name(@Cast(value="AVPacketSideDataType") int type)
@NoException @Cast(value="uint8_t*") public static BytePointer av_packet_pack_dictionary(AVDictionary dict, IntPointer size)
dict
- The dictionary to pack.size
- pointer to store the size of the returned data@NoException @Cast(value="uint8_t*") public static ByteBuffer av_packet_pack_dictionary(AVDictionary dict, IntBuffer size)
@NoException @Cast(value="uint8_t*") public static byte[] av_packet_pack_dictionary(AVDictionary dict, int[] size)
@NoException public static int av_packet_unpack_dictionary(@Cast(value="const uint8_t*") BytePointer data, int size, @Cast(value="AVDictionary**") PointerPointer dict)
data
- data from side_datasize
- size of the datadict
- the metadata storage dictionary@NoException public static int av_packet_unpack_dictionary(@Cast(value="const uint8_t*") BytePointer data, int size, @ByPtrPtr AVDictionary dict)
@NoException public static int av_packet_unpack_dictionary(@Cast(value="const uint8_t*") ByteBuffer data, int size, @ByPtrPtr AVDictionary dict)
@NoException public static int av_packet_unpack_dictionary(@Cast(value="const uint8_t*") byte[] data, int size, @ByPtrPtr AVDictionary dict)
@NoException public static void av_packet_free_side_data(AVPacket pkt)
pkt
- packet@NoException public static int av_packet_ref(AVPacket dst, @Const AVPacket src)
dst
- Destination packetsrc
- Source packetav_packet_unref
@NoException public static void av_packet_unref(AVPacket pkt)
pkt
- The packet to be unreferenced.@NoException public static void av_packet_move_ref(AVPacket dst, AVPacket src)
src
- Source packet, will be resetdst
- Destination packetav_packet_unref
@NoException public static int av_packet_copy_props(AVPacket dst, @Const AVPacket src)
dst
- Destination packetsrc
- Source packet@NoException public static int av_packet_make_refcounted(AVPacket pkt)
pkt
- packet whose data should be made reference counted.av_packet_ref
,
av_packet_make_writable
@NoException public static int av_packet_make_writable(AVPacket pkt)
pkt
- Packet whose data should be made writable.@NoException public static void av_packet_rescale_ts(AVPacket pkt, @ByVal AVRational tb_src, @ByVal AVRational tb_dst)
pkt
- packet on which the conversion will be performedtb_src
- source timebase, in which the timing fields in pkt are
expressedtb_dst
- destination timebase, to which the timing fields will be
converted@NoException public static AVCodec avcodec_find_decoder(@Cast(value="AVCodecID") int id)
id
- AVCodecID of the requested decoder@NoException public static AVCodec avcodec_find_decoder_by_name(@Cast(value="const char*") BytePointer name)
name
- name of the requested decoder@NoException public static AVCodec avcodec_find_decoder_by_name(String name)
@NoException public static int avcodec_default_get_buffer2(AVCodecContext s, AVFrame frame, int flags)
@NoException public static void avcodec_align_dimensions(AVCodecContext s, IntPointer width, IntPointer height)
@NoException public static void avcodec_align_dimensions(AVCodecContext s, IntBuffer width, IntBuffer height)
@NoException public static void avcodec_align_dimensions(AVCodecContext s, int[] width, int[] height)
@NoException public static void avcodec_align_dimensions2(AVCodecContext s, IntPointer width, IntPointer height, IntPointer linesize_align)
@NoException public static void avcodec_align_dimensions2(AVCodecContext s, IntBuffer width, IntBuffer height, IntBuffer linesize_align)
@NoException public static void avcodec_align_dimensions2(AVCodecContext s, int[] width, int[] height, int[] linesize_align)
@NoException public static int avcodec_enum_to_chroma_pos(IntPointer xpos, IntPointer ypos, @Cast(value="AVChromaLocation") int pos)
xpos
- horizontal chroma sample positionypos
- vertical chroma sample position@NoException public static int avcodec_enum_to_chroma_pos(IntBuffer xpos, IntBuffer ypos, @Cast(value="AVChromaLocation") int pos)
@NoException public static int avcodec_enum_to_chroma_pos(int[] xpos, int[] ypos, @Cast(value="AVChromaLocation") int pos)
@NoException @Cast(value="AVChromaLocation") public static int avcodec_chroma_pos_to_enum(int xpos, int ypos)
xpos
- horizontal chroma sample positionypos
- vertical chroma sample position@NoException @Deprecated public static int avcodec_decode_audio4(AVCodecContext avctx, AVFrame frame, IntPointer got_frame_ptr, @Const AVPacket avpkt)
avctx
- the codec contextframe
- [out] The AVFrame in which to store decoded audio samples.
The decoder will allocate a buffer for the decoded frame by
calling the AVCodecContext.get_buffer2() callback.
When AVCodecContext.refcounted_frames is set to 1, the frame is
reference counted and the returned reference belongs to the
caller. The caller must release the frame using av_frame_unref()
when the frame is no longer needed. The caller may safely write
to the frame if av_frame_is_writable() returns 1.
When AVCodecContext.refcounted_frames is set to 0, the returned
reference belongs to the decoder and is valid only until the
next call to this function or until closing or flushing the
decoder. The caller may not write to it.got_frame_ptr
- [out] Zero if no frame could be decoded, otherwise it is
non-zero. Note that this field being set to zero
does not mean that an error has occurred. For
decoders with AV_CODEC_CAP_DELAY set, no given decode
call is guaranteed to produce a frame.avpkt
- [in] The input AVPacket containing the input buffer.
At least avpkt->data and avpkt->size should be set. Some
decoders might also require additional fields to be set.@NoException @Deprecated public static int avcodec_decode_audio4(AVCodecContext avctx, AVFrame frame, IntBuffer got_frame_ptr, @Const AVPacket avpkt)
@NoException @Deprecated public static int avcodec_decode_audio4(AVCodecContext avctx, AVFrame frame, int[] got_frame_ptr, @Const AVPacket avpkt)
@NoException @Deprecated public static int avcodec_decode_video2(AVCodecContext avctx, AVFrame picture, IntPointer got_picture_ptr, @Const AVPacket avpkt)
avctx
- the codec contextpicture
- [out] The AVFrame in which the decoded video frame will be stored.
Use av_frame_alloc() to get an AVFrame. The codec will
allocate memory for the actual bitmap by calling the
AVCodecContext.get_buffer2() callback.
When AVCodecContext.refcounted_frames is set to 1, the frame is
reference counted and the returned reference belongs to the
caller. The caller must release the frame using av_frame_unref()
when the frame is no longer needed. The caller may safely write
to the frame if av_frame_is_writable() returns 1.
When AVCodecContext.refcounted_frames is set to 0, the returned
reference belongs to the decoder and is valid only until the
next call to this function or until closing or flushing the
decoder. The caller may not write to it.avpkt
- [in] The input AVPacket containing the input buffer.
You can create such packet with av_init_packet() and by then setting
data and size, some decoders might in addition need other fields like
flags&AV_PKT_FLAG_KEY. All decoders are designed to use the least
fields possible.got_picture_ptr
- [in,out] Zero if no frame could be decompressed, otherwise, it is nonzero.@NoException @Deprecated public static int avcodec_decode_video2(AVCodecContext avctx, AVFrame picture, IntBuffer got_picture_ptr, @Const AVPacket avpkt)
@NoException @Deprecated public static int avcodec_decode_video2(AVCodecContext avctx, AVFrame picture, int[] got_picture_ptr, @Const AVPacket avpkt)
@NoException public static int avcodec_decode_subtitle2(AVCodecContext avctx, AVSubtitle sub, IntPointer got_sub_ptr, AVPacket avpkt)
avctx
- the codec contextsub
- [out] The Preallocated AVSubtitle in which the decoded subtitle will be stored,
must be freed with avsubtitle_free if *got_sub_ptr is set.got_sub_ptr
- [in,out] Zero if no subtitle could be decompressed, otherwise, it is nonzero.avpkt
- [in] The input AVPacket containing the input buffer.@NoException public static int avcodec_decode_subtitle2(AVCodecContext avctx, AVSubtitle sub, IntBuffer got_sub_ptr, AVPacket avpkt)
@NoException public static int avcodec_decode_subtitle2(AVCodecContext avctx, AVSubtitle sub, int[] got_sub_ptr, AVPacket avpkt)
@NoException public static int avcodec_send_packet(AVCodecContext avctx, @Const AVPacket avpkt)
avctx
- codec contextavpkt
- [in] The input AVPacket. Usually, this will be a single video
frame, or several complete audio frames.
Ownership of the packet remains with the caller, and the
decoder will not write to the packet. The decoder may create
a reference to the packet data (or copy it if the packet is
not reference-counted).
Unlike with older APIs, the packet is always fully consumed,
and if it contains multiple frames (e.g. some audio codecs),
will require you to call avcodec_receive_frame() multiple
times afterwards before you can send a new packet.
It can be NULL (or an AVPacket with data set to NULL and
size set to 0); in this case, it is considered a flush
packet, which signals the end of the stream. Sending the
first flush packet will return success. Subsequent ones are
unnecessary and will return AVERROR_EOF. If the decoder
still has frames buffered, it will return them after sending
a flush packet.@NoException public static int avcodec_receive_frame(AVCodecContext avctx, AVFrame frame)
avctx
- codec contextframe
- This will be set to a reference-counted video or audio
frame (depending on the decoder type) allocated by the
decoder. Note that the function will always call
av_frame_unref(frame) before doing anything else.@NoException public static int avcodec_send_frame(AVCodecContext avctx, @Const AVFrame frame)
avctx
- codec contextframe
- [in] AVFrame containing the raw audio or video frame to be encoded.
Ownership of the frame remains with the caller, and the
encoder will not write to the frame. The encoder may create
a reference to the frame data (or copy it if the frame is
not reference-counted).
It can be NULL, in which case it is considered a flush
packet. This signals the end of the stream. If the encoder
still has packets buffered, it will return them after this
call. Once flushing mode has been entered, additional flush
packets are ignored, and sending frames will return
AVERROR_EOF.
For audio:
If AV_CODEC_CAP_VARIABLE_FRAME_SIZE is set, then each frame
can have any number of samples.
If it is not set, frame->nb_samples must be equal to
avctx->frame_size for all frames except the last.
The final frame may be smaller than avctx->frame_size.@NoException public static int avcodec_receive_packet(AVCodecContext avctx, AVPacket avpkt)
avctx
- codec contextavpkt
- This will be set to a reference-counted packet allocated by the
encoder. Note that the function will always call
av_frame_unref(frame) before doing anything else.@NoException public static int avcodec_get_hw_frames_parameters(AVCodecContext avctx, AVBufferRef device_ref, @Cast(value="AVPixelFormat") int hw_pix_fmt, @Cast(value="AVBufferRef**") PointerPointer out_frames_ref)
avctx
- The context which is currently calling get_format, and which
implicitly contains all state needed for filling the returned
AVHWFramesContext properly.device_ref
- A reference to the AVHWDeviceContext describing the device
which will be used by the hardware decoder.hw_pix_fmt
- The hwaccel format you are going to return from get_format.out_frames_ref
- On success, set to a reference to an _uninitialized_
AVHWFramesContext, created from the given device_ref.
Fields will be set to values required for decoding.
Not changed if an error is returned.@NoException public static int avcodec_get_hw_frames_parameters(AVCodecContext avctx, AVBufferRef device_ref, @Cast(value="AVPixelFormat") int hw_pix_fmt, @ByPtrPtr AVBufferRef out_frames_ref)
@NoException @Const public static AVCodecParser av_parser_iterate(@Cast(value="void**") PointerPointer opaque)
opaque
- a pointer where libavcodec will store the iteration state. Must
point to NULL to start the iteration.@NoException @Const public static AVCodecParser av_parser_iterate(@Cast(value="void**") @ByPtrPtr Pointer opaque)
@NoException @Deprecated public static AVCodecParser av_parser_next(@Const AVCodecParser c)
@NoException @Deprecated public static void av_register_codec_parser(AVCodecParser parser)
@NoException public static AVCodecParserContext av_parser_init(int codec_id)
@NoException public static int av_parser_parse2(AVCodecParserContext s, AVCodecContext avctx, @Cast(value="uint8_t**") PointerPointer poutbuf, IntPointer poutbuf_size, @Cast(value="const uint8_t*") BytePointer buf, int buf_size, @Cast(value="int64_t") long pts, @Cast(value="int64_t") long dts, @Cast(value="int64_t") long pos)
s
- parser context.avctx
- codec context.poutbuf
- set to pointer to parsed buffer or NULL if not yet finished.poutbuf_size
- set to size of parsed buffer or zero if not yet finished.buf
- input buffer.buf_size
- buffer size in bytes without the padding. I.e. the full buffer
size is assumed to be buf_size + AV_INPUT_BUFFER_PADDING_SIZE.
To signal EOF, this should be 0 (so that the last frame
can be output).pts
- input presentation timestamp.dts
- input decoding timestamp.pos
- input byte position in stream.
while(in_len){
len = av_parser_parse2(myparser, AVCodecContext, &data, &size,
in_data, in_len,
pts, dts, pos);
in_data += len;
in_len -= len;
if(size)
decode_frame(data, size);
}
@NoException public static int av_parser_parse2(AVCodecParserContext s, AVCodecContext avctx, @Cast(value="uint8_t**") @ByPtrPtr BytePointer poutbuf, IntPointer poutbuf_size, @Cast(value="const uint8_t*") BytePointer buf, int buf_size, @Cast(value="int64_t") long pts, @Cast(value="int64_t") long dts, @Cast(value="int64_t") long pos)
@NoException public static int av_parser_parse2(AVCodecParserContext s, AVCodecContext avctx, @Cast(value="uint8_t**") @ByPtrPtr ByteBuffer poutbuf, IntBuffer poutbuf_size, @Cast(value="const uint8_t*") ByteBuffer buf, int buf_size, @Cast(value="int64_t") long pts, @Cast(value="int64_t") long dts, @Cast(value="int64_t") long pos)
@NoException public static int av_parser_parse2(AVCodecParserContext s, AVCodecContext avctx, @Cast(value="uint8_t**") @ByPtrPtr byte[] poutbuf, int[] poutbuf_size, @Cast(value="const uint8_t*") byte[] buf, int buf_size, @Cast(value="int64_t") long pts, @Cast(value="int64_t") long dts, @Cast(value="int64_t") long pos)
@NoException public static int av_parser_change(AVCodecParserContext s, AVCodecContext avctx, @Cast(value="uint8_t**") PointerPointer poutbuf, IntPointer poutbuf_size, @Cast(value="const uint8_t*") BytePointer buf, int buf_size, int keyframe)
@NoException public static int av_parser_change(AVCodecParserContext s, AVCodecContext avctx, @Cast(value="uint8_t**") @ByPtrPtr BytePointer poutbuf, IntPointer poutbuf_size, @Cast(value="const uint8_t*") BytePointer buf, int buf_size, int keyframe)
@NoException public static int av_parser_change(AVCodecParserContext s, AVCodecContext avctx, @Cast(value="uint8_t**") @ByPtrPtr ByteBuffer poutbuf, IntBuffer poutbuf_size, @Cast(value="const uint8_t*") ByteBuffer buf, int buf_size, int keyframe)
@NoException public static int av_parser_change(AVCodecParserContext s, AVCodecContext avctx, @Cast(value="uint8_t**") @ByPtrPtr byte[] poutbuf, int[] poutbuf_size, @Cast(value="const uint8_t*") byte[] buf, int buf_size, int keyframe)
@NoException public static void av_parser_close(AVCodecParserContext s)
@NoException public static AVCodec avcodec_find_encoder(@Cast(value="AVCodecID") int id)
id
- AVCodecID of the requested encoder@NoException public static AVCodec avcodec_find_encoder_by_name(@Cast(value="const char*") BytePointer name)
name
- name of the requested encoder@NoException public static AVCodec avcodec_find_encoder_by_name(String name)
@NoException @Deprecated public static int avcodec_encode_audio2(AVCodecContext avctx, AVPacket avpkt, @Const AVFrame frame, IntPointer got_packet_ptr)
avctx
- codec contextavpkt
- output AVPacket.
The user can supply an output buffer by setting
avpkt->data and avpkt->size prior to calling the
function, but if the size of the user-provided data is not
large enough, encoding will fail. If avpkt->data and
avpkt->size are set, avpkt->destruct must also be set. All
other AVPacket fields will be reset by the encoder using
av_init_packet(). If avpkt->data is NULL, the encoder will
allocate it. The encoder will set avpkt->size to the size
of the output packet.
If this function fails or produces no output, avpkt will be
freed using av_packet_unref().frame
- [in] AVFrame containing the raw audio data to be encoded.
May be NULL when flushing an encoder that has the
AV_CODEC_CAP_DELAY capability set.
If AV_CODEC_CAP_VARIABLE_FRAME_SIZE is set, then each frame
can have any number of samples.
If it is not set, frame->nb_samples must be equal to
avctx->frame_size for all frames except the last.
The final frame may be smaller than avctx->frame_size.got_packet_ptr
- [out] This field is set to 1 by libavcodec if the
output packet is non-empty, and to 0 if it is
empty. If the function returns an error, the
packet can be assumed to be invalid, and the
value of got_packet_ptr is undefined and should
not be used.@NoException @Deprecated public static int avcodec_encode_audio2(AVCodecContext avctx, AVPacket avpkt, @Const AVFrame frame, IntBuffer got_packet_ptr)
@NoException @Deprecated public static int avcodec_encode_audio2(AVCodecContext avctx, AVPacket avpkt, @Const AVFrame frame, int[] got_packet_ptr)
@NoException @Deprecated public static int avcodec_encode_video2(AVCodecContext avctx, AVPacket avpkt, @Const AVFrame frame, IntPointer got_packet_ptr)
avctx
- codec contextavpkt
- output AVPacket.
The user can supply an output buffer by setting
avpkt->data and avpkt->size prior to calling the
function, but if the size of the user-provided data is not
large enough, encoding will fail. All other AVPacket fields
will be reset by the encoder using av_init_packet(). If
avpkt->data is NULL, the encoder will allocate it.
The encoder will set avpkt->size to the size of the
output packet. The returned data (if any) belongs to the
caller, he is responsible for freeing it.
If this function fails or produces no output, avpkt will be
freed using av_packet_unref().frame
- [in] AVFrame containing the raw video data to be encoded.
May be NULL when flushing an encoder that has the
AV_CODEC_CAP_DELAY capability set.got_packet_ptr
- [out] This field is set to 1 by libavcodec if the
output packet is non-empty, and to 0 if it is
empty. If the function returns an error, the
packet can be assumed to be invalid, and the
value of got_packet_ptr is undefined and should
not be used.@NoException @Deprecated public static int avcodec_encode_video2(AVCodecContext avctx, AVPacket avpkt, @Const AVFrame frame, IntBuffer got_packet_ptr)
@NoException @Deprecated public static int avcodec_encode_video2(AVCodecContext avctx, AVPacket avpkt, @Const AVFrame frame, int[] got_packet_ptr)
@NoException public static int avcodec_encode_subtitle(AVCodecContext avctx, @Cast(value="uint8_t*") BytePointer buf, int buf_size, @Const AVSubtitle sub)
@NoException public static int avcodec_encode_subtitle(AVCodecContext avctx, @Cast(value="uint8_t*") ByteBuffer buf, int buf_size, @Const AVSubtitle sub)
@NoException public static int avcodec_encode_subtitle(AVCodecContext avctx, @Cast(value="uint8_t*") byte[] buf, int buf_size, @Const AVSubtitle sub)
@NoException @Deprecated public static int avpicture_alloc(AVPicture picture, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height)
@NoException @Deprecated public static void avpicture_free(AVPicture picture)
@NoException @Deprecated public static int avpicture_fill(AVPicture picture, @Cast(value="const uint8_t*") BytePointer ptr, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height)
@NoException @Deprecated public static int avpicture_fill(AVPicture picture, @Cast(value="const uint8_t*") ByteBuffer ptr, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height)
@NoException @Deprecated public static int avpicture_fill(AVPicture picture, @Cast(value="const uint8_t*") byte[] ptr, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height)
@NoException @Deprecated public static int avpicture_layout(@Const AVPicture src, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height, @Cast(value="unsigned char*") BytePointer dest, int dest_size)
@NoException @Deprecated public static int avpicture_layout(@Const AVPicture src, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height, @Cast(value="unsigned char*") ByteBuffer dest, int dest_size)
@NoException @Deprecated public static int avpicture_layout(@Const AVPicture src, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height, @Cast(value="unsigned char*") byte[] dest, int dest_size)
@NoException @Deprecated public static int avpicture_get_size(@Cast(value="AVPixelFormat") int pix_fmt, int width, int height)
@NoException @Deprecated public static void av_picture_copy(AVPicture dst, @Const AVPicture src, @Cast(value="AVPixelFormat") int pix_fmt, int width, int height)
@NoException @Deprecated public static int av_picture_crop(AVPicture dst, @Const AVPicture src, @Cast(value="AVPixelFormat") int pix_fmt, int top_band, int left_band)
@NoException @Deprecated public static int av_picture_pad(AVPicture dst, @Const AVPicture src, int height, int width, @Cast(value="AVPixelFormat") int pix_fmt, int padtop, int padbottom, int padleft, int padright, IntPointer color)
@NoException @Deprecated public static int av_picture_pad(AVPicture dst, @Const AVPicture src, int height, int width, @Cast(value="AVPixelFormat") int pix_fmt, int padtop, int padbottom, int padleft, int padright, IntBuffer color)
@NoException @Deprecated public static int av_picture_pad(AVPicture dst, @Const AVPicture src, int height, int width, @Cast(value="AVPixelFormat") int pix_fmt, int padtop, int padbottom, int padleft, int padright, int[] color)
@NoException @Deprecated public static void avcodec_get_chroma_sub_sample(@Cast(value="AVPixelFormat") int pix_fmt, IntPointer h_shift, IntPointer v_shift)
@NoException @Deprecated public static void avcodec_get_chroma_sub_sample(@Cast(value="AVPixelFormat") int pix_fmt, IntBuffer h_shift, IntBuffer v_shift)
@NoException @Deprecated public static void avcodec_get_chroma_sub_sample(@Cast(value="AVPixelFormat") int pix_fmt, int[] h_shift, int[] v_shift)
@NoException @Cast(value="unsigned int") public static int avcodec_pix_fmt_to_codec_tag(@Cast(value="AVPixelFormat") int pix_fmt)
@NoException public static int avcodec_get_pix_fmt_loss(@Cast(value="AVPixelFormat") int dst_pix_fmt, @Cast(value="AVPixelFormat") int src_pix_fmt, int has_alpha)
@NoException @Cast(value="AVPixelFormat") public static int avcodec_find_best_pix_fmt_of_list(@Cast(value="const AVPixelFormat*") IntPointer pix_fmt_list, @Cast(value="AVPixelFormat") int src_pix_fmt, int has_alpha, IntPointer loss_ptr)
pix_fmt_list
- [in] AV_PIX_FMT_NONE terminated array of pixel formats to choose fromsrc_pix_fmt
- [in] source pixel formathas_alpha
- [in] Whether the source pixel format alpha channel is used.loss_ptr
- [out] Combination of flags informing you what kind of losses will occur.@NoException @Cast(value="AVPixelFormat") public static int avcodec_find_best_pix_fmt_of_list(@Cast(value="const AVPixelFormat*") IntBuffer pix_fmt_list, @Cast(value="AVPixelFormat") int src_pix_fmt, int has_alpha, IntBuffer loss_ptr)
@NoException @Cast(value="AVPixelFormat") public static int avcodec_find_best_pix_fmt_of_list(@Cast(value="const AVPixelFormat*") int[] pix_fmt_list, @Cast(value="AVPixelFormat") int src_pix_fmt, int has_alpha, int[] loss_ptr)
@NoException @Cast(value="AVPixelFormat") public static int avcodec_find_best_pix_fmt_of_2(@Cast(value="AVPixelFormat") int dst_pix_fmt1, @Cast(value="AVPixelFormat") int dst_pix_fmt2, @Cast(value="AVPixelFormat") int src_pix_fmt, int has_alpha, IntPointer loss_ptr)
@NoException @Cast(value="AVPixelFormat") public static int avcodec_find_best_pix_fmt_of_2(@Cast(value="AVPixelFormat") int dst_pix_fmt1, @Cast(value="AVPixelFormat") int dst_pix_fmt2, @Cast(value="AVPixelFormat") int src_pix_fmt, int has_alpha, IntBuffer loss_ptr)
@NoException @Cast(value="AVPixelFormat") public static int avcodec_find_best_pix_fmt_of_2(@Cast(value="AVPixelFormat") int dst_pix_fmt1, @Cast(value="AVPixelFormat") int dst_pix_fmt2, @Cast(value="AVPixelFormat") int src_pix_fmt, int has_alpha, int[] loss_ptr)
@NoException @Cast(value="AVPixelFormat") @Deprecated public static int avcodec_find_best_pix_fmt2(@Cast(value="AVPixelFormat") int dst_pix_fmt1, @Cast(value="AVPixelFormat") int dst_pix_fmt2, @Cast(value="AVPixelFormat") int src_pix_fmt, int has_alpha, IntPointer loss_ptr)
@NoException @Cast(value="AVPixelFormat") @Deprecated public static int avcodec_find_best_pix_fmt2(@Cast(value="AVPixelFormat") int dst_pix_fmt1, @Cast(value="AVPixelFormat") int dst_pix_fmt2, @Cast(value="AVPixelFormat") int src_pix_fmt, int has_alpha, IntBuffer loss_ptr)
@NoException @Cast(value="AVPixelFormat") @Deprecated public static int avcodec_find_best_pix_fmt2(@Cast(value="AVPixelFormat") int dst_pix_fmt1, @Cast(value="AVPixelFormat") int dst_pix_fmt2, @Cast(value="AVPixelFormat") int src_pix_fmt, int has_alpha, int[] loss_ptr)
@NoException @Cast(value="AVPixelFormat") public static int avcodec_default_get_format(AVCodecContext s, @Cast(value="const AVPixelFormat*") IntPointer fmt)
@NoException @Cast(value="AVPixelFormat") public static int avcodec_default_get_format(AVCodecContext s, @Cast(value="const AVPixelFormat*") IntBuffer fmt)
@NoException @Cast(value="AVPixelFormat") public static int avcodec_default_get_format(AVCodecContext s, @Cast(value="const AVPixelFormat*") int[] fmt)
@NoException @Cast(value="size_t") @Deprecated public static long av_get_codec_tag_string(@Cast(value="char*") BytePointer buf, @Cast(value="size_t") long buf_size, @Cast(value="unsigned int") int codec_tag)
buf
- buffer to place codec tag inbuf_size
- size in bytes of bufcodec_tag
- codec tag to assign@NoException @Cast(value="size_t") @Deprecated public static long av_get_codec_tag_string(@Cast(value="char*") ByteBuffer buf, @Cast(value="size_t") long buf_size, @Cast(value="unsigned int") int codec_tag)
@NoException @Cast(value="size_t") @Deprecated public static long av_get_codec_tag_string(@Cast(value="char*") byte[] buf, @Cast(value="size_t") long buf_size, @Cast(value="unsigned int") int codec_tag)
@NoException public static void avcodec_string(@Cast(value="char*") BytePointer buf, int buf_size, AVCodecContext enc, int encode)
@NoException public static void avcodec_string(@Cast(value="char*") ByteBuffer buf, int buf_size, AVCodecContext enc, int encode)
@NoException public static void avcodec_string(@Cast(value="char*") byte[] buf, int buf_size, AVCodecContext enc, int encode)
@NoException @Cast(value="const char*") public static BytePointer av_get_profile_name(@Const AVCodec codec, int profile)
codec
- the codec that is searched for the given profileprofile
- the profile value for which a name is requested@NoException @Cast(value="const char*") public static BytePointer avcodec_profile_name(@Cast(value="AVCodecID") int codec_id, int profile)
codec_id
- the ID of the codec to which the requested profile belongsprofile
- the profile value for which a name is requested@NoException public static int avcodec_default_execute(AVCodecContext c, Func_AVCodecContext_Pointer func, Pointer arg, IntPointer ret, int count, int size)
@NoException public static int avcodec_default_execute(AVCodecContext c, Func_AVCodecContext_Pointer func, Pointer arg, IntBuffer ret, int count, int size)
@NoException public static int avcodec_default_execute(AVCodecContext c, Func_AVCodecContext_Pointer func, Pointer arg, int[] ret, int count, int size)
@NoException public static int avcodec_default_execute2(AVCodecContext c, Func_AVCodecContext_Pointer_int_int func, Pointer arg, IntPointer ret, int count)
@NoException public static int avcodec_default_execute2(AVCodecContext c, Func_AVCodecContext_Pointer_int_int func, Pointer arg, IntBuffer ret, int count)
@NoException public static int avcodec_default_execute2(AVCodecContext c, Func_AVCodecContext_Pointer_int_int func, Pointer arg, int[] ret, int count)
@NoException public static int avcodec_fill_audio_frame(AVFrame frame, int nb_channels, @Cast(value="AVSampleFormat") int sample_fmt, @Cast(value="const uint8_t*") BytePointer buf, int buf_size, int align)
frame
- the AVFrame
frame->nb_samples must be set prior to calling the
function. This function fills in frame->data,
frame->extended_data, frame->linesize[0].nb_channels
- channel countsample_fmt
- sample formatbuf
- buffer to use for frame databuf_size
- size of bufferalign
- plane size sample alignment (0 = default)@NoException public static int avcodec_fill_audio_frame(AVFrame frame, int nb_channels, @Cast(value="AVSampleFormat") int sample_fmt, @Cast(value="const uint8_t*") ByteBuffer buf, int buf_size, int align)
@NoException public static int avcodec_fill_audio_frame(AVFrame frame, int nb_channels, @Cast(value="AVSampleFormat") int sample_fmt, @Cast(value="const uint8_t*") byte[] buf, int buf_size, int align)
@NoException public static void avcodec_flush_buffers(AVCodecContext avctx)
@NoException public static int av_get_bits_per_sample(@Cast(value="AVCodecID") int codec_id)
codec_id
- [in] the codec@NoException @Cast(value="AVCodecID") public static int av_get_pcm_codec(@Cast(value="AVSampleFormat") int fmt, int be)
be
- endianness, 0 for little, 1 for big,
-1 (or anything else) for native@NoException public static int av_get_exact_bits_per_sample(@Cast(value="AVCodecID") int codec_id)
codec_id
- [in] the codec@NoException public static int av_get_audio_frame_duration(AVCodecContext avctx, int frame_bytes)
avctx
- codec contextframe_bytes
- size of the frame, or 0 if unknown@NoException public static int av_get_audio_frame_duration2(AVCodecParameters par, int frame_bytes)
@NoException @Deprecated public static void av_register_bitstream_filter(AVBitStreamFilter bsf)
@NoException @Deprecated public static AVBitStreamFilterContext av_bitstream_filter_init(@Cast(value="const char*") BytePointer name)
@NoException @Deprecated public static AVBitStreamFilterContext av_bitstream_filter_init(String name)
@NoException @Deprecated public static int av_bitstream_filter_filter(AVBitStreamFilterContext bsfc, AVCodecContext avctx, @Cast(value="const char*") BytePointer args, @Cast(value="uint8_t**") PointerPointer poutbuf, IntPointer poutbuf_size, @Cast(value="const uint8_t*") BytePointer buf, int buf_size, int keyframe)
@NoException @Deprecated public static int av_bitstream_filter_filter(AVBitStreamFilterContext bsfc, AVCodecContext avctx, @Cast(value="const char*") BytePointer args, @Cast(value="uint8_t**") @ByPtrPtr BytePointer poutbuf, IntPointer poutbuf_size, @Cast(value="const uint8_t*") BytePointer buf, int buf_size, int keyframe)
@NoException @Deprecated public static int av_bitstream_filter_filter(AVBitStreamFilterContext bsfc, AVCodecContext avctx, String args, @Cast(value="uint8_t**") @ByPtrPtr ByteBuffer poutbuf, IntBuffer poutbuf_size, @Cast(value="const uint8_t*") ByteBuffer buf, int buf_size, int keyframe)
@NoException @Deprecated public static int av_bitstream_filter_filter(AVBitStreamFilterContext bsfc, AVCodecContext avctx, @Cast(value="const char*") BytePointer args, @Cast(value="uint8_t**") @ByPtrPtr byte[] poutbuf, int[] poutbuf_size, @Cast(value="const uint8_t*") byte[] buf, int buf_size, int keyframe)
@NoException @Deprecated public static int av_bitstream_filter_filter(AVBitStreamFilterContext bsfc, AVCodecContext avctx, String args, @Cast(value="uint8_t**") @ByPtrPtr BytePointer poutbuf, IntPointer poutbuf_size, @Cast(value="const uint8_t*") BytePointer buf, int buf_size, int keyframe)
@NoException @Deprecated public static int av_bitstream_filter_filter(AVBitStreamFilterContext bsfc, AVCodecContext avctx, @Cast(value="const char*") BytePointer args, @Cast(value="uint8_t**") @ByPtrPtr ByteBuffer poutbuf, IntBuffer poutbuf_size, @Cast(value="const uint8_t*") ByteBuffer buf, int buf_size, int keyframe)
@NoException @Deprecated public static int av_bitstream_filter_filter(AVBitStreamFilterContext bsfc, AVCodecContext avctx, String args, @Cast(value="uint8_t**") @ByPtrPtr byte[] poutbuf, int[] poutbuf_size, @Cast(value="const uint8_t*") byte[] buf, int buf_size, int keyframe)
@NoException @Deprecated public static void av_bitstream_filter_close(AVBitStreamFilterContext bsf)
@NoException @Const @Deprecated public static AVBitStreamFilter av_bitstream_filter_next(@Const AVBitStreamFilter f)
@NoException @Const public static AVBitStreamFilter av_bsf_get_by_name(@Cast(value="const char*") BytePointer name)
@NoException @Const public static AVBitStreamFilter av_bsf_get_by_name(String name)
@NoException @Const public static AVBitStreamFilter av_bsf_iterate(@Cast(value="void**") PointerPointer opaque)
opaque
- a pointer where libavcodec will store the iteration state. Must
point to NULL to start the iteration.@NoException @Const public static AVBitStreamFilter av_bsf_iterate(@Cast(value="void**") @ByPtrPtr Pointer opaque)
@NoException @Const @Deprecated public static AVBitStreamFilter av_bsf_next(@Cast(value="void**") PointerPointer opaque)
@NoException @Const @Deprecated public static AVBitStreamFilter av_bsf_next(@Cast(value="void**") @ByPtrPtr Pointer opaque)
@NoException public static int av_bsf_alloc(@Const AVBitStreamFilter filter, @Cast(value="AVBSFContext**") PointerPointer ctx)
filter
- the filter for which to allocate an instance.ctx
- a pointer into which the pointer to the newly-allocated context
will be written. It must be freed with av_bsf_free() after the
filtering is done.@NoException public static int av_bsf_alloc(@Const AVBitStreamFilter filter, @ByPtrPtr AVBSFContext ctx)
@NoException public static int av_bsf_init(AVBSFContext ctx)
@NoException public static int av_bsf_send_packet(AVBSFContext ctx, AVPacket pkt)
pkt
- the packet to filter. The bitstream filter will take ownership of
the packet and reset the contents of pkt. pkt is not touched if an error occurs.
This parameter may be NULL, which signals the end of the stream (i.e. no more
packets will be sent). That will cause the filter to output any packets it
may have buffered internally.@NoException public static int av_bsf_receive_packet(AVBSFContext ctx, AVPacket pkt)
pkt
- [out] this struct will be filled with the contents of the filtered
packet. It is owned by the caller and must be freed using
av_packet_unref() when it is no longer needed.
This parameter should be "clean" (i.e. freshly allocated
with av_packet_alloc() or unreffed with av_packet_unref())
when this function is called. If this function returns
successfully, the contents of pkt will be completely
overwritten by the returned data. On failure, pkt is not
touched.@NoException public static void av_bsf_flush(AVBSFContext ctx)
@NoException public static void av_bsf_free(@Cast(value="AVBSFContext**") PointerPointer ctx)
@NoException public static void av_bsf_free(@ByPtrPtr AVBSFContext ctx)
@NoException @Const public static AVClass av_bsf_get_class()
av_opt_find().
@NoException public static AVBSFList av_bsf_list_alloc()
@NoException public static void av_bsf_list_free(@Cast(value="AVBSFList**") PointerPointer lst)
lst
- Pointer to pointer returned by av_bsf_list_alloc()@NoException public static void av_bsf_list_free(@ByPtrPtr AVBSFList lst)
@NoException public static int av_bsf_list_append(AVBSFList lst, AVBSFContext bsf)
lst
- List to append tobsf
- Filter context to be appended@NoException public static int av_bsf_list_append2(AVBSFList lst, @Cast(value="const char*") BytePointer bsf_name, @Cast(value="AVDictionary**") PointerPointer options)
lst
- List to append tobsf_name
- Name of the bitstream filteroptions
- Options for the bitstream filter, can be set to NULL@NoException public static int av_bsf_list_append2(AVBSFList lst, @Cast(value="const char*") BytePointer bsf_name, @ByPtrPtr AVDictionary options)
@NoException public static int av_bsf_list_append2(AVBSFList lst, String bsf_name, @ByPtrPtr AVDictionary options)
@NoException public static int av_bsf_list_finalize(@Cast(value="AVBSFList**") PointerPointer lst, @Cast(value="AVBSFContext**") PointerPointer bsf)
lst
- Filter list structure to be transformedbsf
- [out] Pointer to be set to newly created \ref AVBSFContext structure
representing the chain of bitstream filters@NoException public static int av_bsf_list_finalize(@ByPtrPtr AVBSFList lst, @ByPtrPtr AVBSFContext bsf)
@NoException public static int av_bsf_list_parse_str(@Cast(value="const char*") BytePointer str, @Cast(value="AVBSFContext**") PointerPointer bsf)
str
- String describing chain of bitstream filters in format
bsf1[=opt1=val1:opt2=val2][,bsf2]
bsf
- [out] Pointer to be set to newly created \ref AVBSFContext structure
representing the chain of bitstream filters@NoException public static int av_bsf_list_parse_str(@Cast(value="const char*") BytePointer str, @ByPtrPtr AVBSFContext bsf)
@NoException public static int av_bsf_list_parse_str(String str, @ByPtrPtr AVBSFContext bsf)
@NoException public static int av_bsf_get_null_filter(@Cast(value="AVBSFContext**") PointerPointer bsf)
bsf
- [out] Pointer to be set to new instance of pass-through bitstream filter@NoException public static int av_bsf_get_null_filter(@ByPtrPtr AVBSFContext bsf)
@NoException public static void av_fast_padded_malloc(Pointer ptr, @Cast(value="unsigned int*") IntPointer size, @Cast(value="size_t") long min_size)
@NoException public static void av_fast_padded_malloc(Pointer ptr, @Cast(value="unsigned int*") IntBuffer size, @Cast(value="size_t") long min_size)
@NoException public static void av_fast_padded_malloc(Pointer ptr, @Cast(value="unsigned int*") int[] size, @Cast(value="size_t") long min_size)
@NoException public static void av_fast_padded_mallocz(Pointer ptr, @Cast(value="unsigned int*") IntPointer size, @Cast(value="size_t") long min_size)
@NoException public static void av_fast_padded_mallocz(Pointer ptr, @Cast(value="unsigned int*") IntBuffer size, @Cast(value="size_t") long min_size)
@NoException public static void av_fast_padded_mallocz(Pointer ptr, @Cast(value="unsigned int*") int[] size, @Cast(value="size_t") long min_size)
@NoException @Cast(value="unsigned int") public static int av_xiphlacing(@Cast(value="unsigned char*") BytePointer s, @Cast(value="unsigned int") int v)
s
- buffer to write to; must be at least (v/255+1) bytes longv
- size of extradata in bytes@NoException @Cast(value="unsigned int") public static int av_xiphlacing(@Cast(value="unsigned char*") ByteBuffer s, @Cast(value="unsigned int") int v)
@NoException @Cast(value="unsigned int") public static int av_xiphlacing(@Cast(value="unsigned char*") byte[] s, @Cast(value="unsigned int") int v)
@NoException @Deprecated public static void av_register_hwaccel(AVHWAccel hwaccel)
@NoException @Deprecated public static AVHWAccel av_hwaccel_next(@Const AVHWAccel hwaccel)
@NoException @Deprecated public static int av_lockmgr_register(Cb_PointerPointer_int cb)
@NoException @Deprecated public static int av_lockmgr_register(Cb_Pointer_int cb)
@NoException @Cast(value="AVMediaType") public static int avcodec_get_type(@Cast(value="AVCodecID") int codec_id)
@NoException @Cast(value="const char*") public static BytePointer avcodec_get_name(@Cast(value="AVCodecID") int id)
@NoException public static int avcodec_is_open(AVCodecContext s)
@NoException public static int av_codec_is_encoder(@Const AVCodec codec)
@NoException public static int av_codec_is_decoder(@Const AVCodec codec)
@NoException @Const public static AVCodecDescriptor avcodec_descriptor_get(@Cast(value="AVCodecID") int id)
@NoException @Const public static AVCodecDescriptor avcodec_descriptor_next(@Const AVCodecDescriptor prev)
prev
- previous descriptor. NULL to get the first descriptor.@NoException @Const public static AVCodecDescriptor avcodec_descriptor_get_by_name(@Cast(value="const char*") BytePointer name)
@NoException @Const public static AVCodecDescriptor avcodec_descriptor_get_by_name(String name)
@NoException public static AVCPBProperties av_cpb_properties_alloc(@Cast(value="size_t*") SizeTPointer size)
size
- if non-NULL, the size of the allocated struct will be written
here. This is useful for embedding it in side data.@NoException public static int av_jni_set_java_vm(Pointer vm, Pointer log_ctx)
@NoException public static Pointer av_jni_get_java_vm(Pointer log_ctx)
Copyright © 2020. All rights reserved.