ffmpeg

package module
v0.70.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 6 Imported by: 0

README

ffmpeg-dev-go

Go bindings for FFmpeg.

How to use

Step 1: Prepare
  • macOS

    brew install pkg-config ffmpeg
    
  • Debian

    sudo apt install build-essential pkg-config \
    	libavdevice-dev libavformat-dev libavfilter-dev libavcodec-dev \
    	libpostproc-dev libswscale-dev libswresample-dev libavutil-dev
    
  • Custom

    export PKG_CONFIG_PATH="<CUSTOM_FFMPEG_LIBRARY_PATH>/lib/pkgconfig"
    
Step 2: Detecte FFmpeg version
package main

/*
#cgo pkg-config: libavutil
#include <libavutil/ffversion.h>
*/
import "C"
import "fmt"

func main() {
	fmt.Println(string(C.FFMPEG_VERSION)[:3])
}
Step 3: Get ffmpeg-go-dev
go get github.com/qrtc/ffmpeg-dev-go@<FFMPEG_VERSION>
Step 4: Verify
package main

import (
	"fmt"

	"github.com/qrtc/ffmpeg-dev-go"
)

func main() {
	fmt.Println(ffmpeg.AvVersionInfo())
}

Documentation

Index

Constants

View Source
const (
	AV_CODEC_FLAG_UNALIGNED      = C.AV_CODEC_FLAG_UNALIGNED
	AV_CODEC_FLAG_QSCALE         = C.AV_CODEC_FLAG_QSCALE
	AV_CODEC_FLAG_4MV            = C.AV_CODEC_FLAG_4MV
	AV_CODEC_FLAG_OUTPUT_CORRUPT = C.AV_CODEC_FLAG_OUTPUT_CORRUPT
	AV_CODEC_FLAG_QPEL           = C.AV_CODEC_FLAG_QPEL

	// Deprecated: callers should implement this functionality in their own code.
	AV_CODEC_FLAG_DROPCHANGED = C.AV_CODEC_FLAG_DROPCHANGED

	AV_CODEC_FLAG_RECON_FRAME    = C.AV_CODEC_FLAG_RECON_FRAME
	AV_CODEC_FLAG_COPY_OPAQUE    = C.AV_CODEC_FLAG_COPY_OPAQUE
	AV_CODEC_FLAG_FRAME_DURATION = C.AV_CODEC_FLAG_FRAME_DURATION

	AV_CODEC_FLAG_PASS1       = C.AV_CODEC_FLAG_PASS1
	AV_CODEC_FLAG_PASS2       = C.AV_CODEC_FLAG_PASS2
	AV_CODEC_FLAG_LOOP_FILTER = C.AV_CODEC_FLAG_LOOP_FILTER
	AV_CODEC_FLAG_GRAY        = C.AV_CODEC_FLAG_GRAY
	AV_CODEC_FLAG_PSNR        = C.AV_CODEC_FLAG_PSNR

	AV_CODEC_FLAG_INTERLACED_DCT = C.AV_CODEC_FLAG_INTERLACED_DCT
	AV_CODEC_FLAG_LOW_DELAY      = C.AV_CODEC_FLAG_LOW_DELAY
	AV_CODEC_FLAG_GLOBAL_HEADER  = C.AV_CODEC_FLAG_GLOBAL_HEADER
	AV_CODEC_FLAG_BITEXACT       = C.AV_CODEC_FLAG_BITEXACT
	AV_CODEC_FLAG_AC_PRED        = C.AV_CODEC_FLAG_AC_PRED
	AV_CODEC_FLAG_INTERLACED_ME  = C.AV_CODEC_FLAG_INTERLACED_ME
	AV_CODEC_FLAG_CLOSED_GOP     = C.AV_CODEC_FLAG_CLOSED_GOP
	AV_CODEC_FLAG2_FAST          = C.AV_CODEC_FLAG2_FAST
	AV_CODEC_FLAG2_NO_OUTPUT     = C.AV_CODEC_FLAG2_NO_OUTPUT
	AV_CODEC_FLAG2_LOCAL_HEADER  = C.AV_CODEC_FLAG2_LOCAL_HEADER

	AV_CODEC_FLAG2_CHUNKS        = C.AV_CODEC_FLAG2_CHUNKS
	AV_CODEC_FLAG2_IGNORE_CROP   = C.AV_CODEC_FLAG2_IGNORE_CROP
	AV_CODEC_FLAG2_SHOW_ALL      = C.AV_CODEC_FLAG2_SHOW_ALL
	AV_CODEC_FLAG2_EXPORT_MVS    = C.AV_CODEC_FLAG2_EXPORT_MVS
	AV_CODEC_FLAG2_SKIP_MANUAL   = C.AV_CODEC_FLAG2_SKIP_MANUAL
	AV_CODEC_FLAG2_RO_FLUSH_NOOP = C.AV_CODEC_FLAG2_RO_FLUSH_NOOP
	AV_CODEC_FLAG2_ICC_PROFILES  = C.AV_CODEC_FLAG2_ICC_PROFILES
)

These flags can be passed in AVCodecContext.flags before initialization. Note: Not everything is supported yet.

View Source
const (
	AV_CODEC_EXPORT_DATA_MVS              = C.AV_CODEC_EXPORT_DATA_MVS
	AV_CODEC_EXPORT_DATA_PRFT             = C.AV_CODEC_EXPORT_DATA_PRFT
	AV_CODEC_EXPORT_DATA_VIDEO_ENC_PARAMS = C.AV_CODEC_EXPORT_DATA_VIDEO_ENC_PARAMS
	AV_CODEC_EXPORT_DATA_FILM_GRAIN       = C.AV_CODEC_EXPORT_DATA_FILM_GRAIN
)

Exported side data. These flags can be passed in AVCodecContext.export_side_data before initialization.

View Source
const (
	AV_GET_BUFFER_FLAG_REF        = C.AV_GET_BUFFER_FLAG_REF
	AV_GET_ENCODE_BUFFER_FLAG_REF = C.AV_GET_ENCODE_BUFFER_FLAG_REF
)
View Source
const (
	FF_CMP_SAD        = int32(C.FF_CMP_SAD)
	FF_CMP_SSE        = int32(C.FF_CMP_SSE)
	FF_CMP_SATD       = int32(C.FF_CMP_SATD)
	FF_CMP_DCT        = int32(C.FF_CMP_DCT)
	FF_CMP_PSNR       = int32(C.FF_CMP_PSNR)
	FF_CMP_BIT        = int32(C.FF_CMP_BIT)
	FF_CMP_RD         = int32(C.FF_CMP_RD)
	FF_CMP_ZERO       = int32(C.FF_CMP_ZERO)
	FF_CMP_VSAD       = int32(C.FF_CMP_VSAD)
	FF_CMP_VSSE       = int32(C.FF_CMP_VSSE)
	FF_CMP_NSSE       = int32(C.FF_CMP_NSSE)
	FF_CMP_W53        = int32(C.FF_CMP_W53)
	FF_CMP_W97        = int32(C.FF_CMP_W97)
	FF_CMP_DCTMAX     = int32(C.FF_CMP_DCTMAX)
	FF_CMP_DCT264     = int32(C.FF_CMP_DCT264)
	FF_CMP_MEDIAN_SAD = int32(C.FF_CMP_MEDIAN_SAD)
	FF_CMP_CHROMA     = int32(C.FF_CMP_CHROMA)
)
View Source
const (
	SLICE_FLAG_CODED_ORDER = int32(C.SLICE_FLAG_CODED_ORDER)
	SLICE_FLAG_ALLOW_FIELD = int32(C.SLICE_FLAG_ALLOW_FIELD)
	SLICE_FLAG_ALLOW_PLANE = int32(C.SLICE_FLAG_ALLOW_PLANE)
)
View Source
const (
	FF_MB_DECISION_SIMPLE = int32(C.FF_MB_DECISION_SIMPLE)
	FF_MB_DECISION_BITS   = int32(C.FF_MB_DECISION_BITS)
	FF_MB_DECISION_RD     = int32(C.FF_MB_DECISION_RD)
)
View Source
const (
	FF_BUG_AUTODETECT       = int32(C.FF_BUG_AUTODETECT)
	FF_BUG_XVID_ILACE       = int32(C.FF_BUG_XVID_ILACE)
	FF_BUG_UMP4             = int32(C.FF_BUG_UMP4)
	FF_BUG_NO_PADDING       = int32(C.FF_BUG_NO_PADDING)
	FF_BUG_AMV              = int32(C.FF_BUG_AMV)
	FF_BUG_QPEL_CHROMA      = int32(C.FF_BUG_QPEL_CHROMA)
	FF_BUG_STD_QPEL         = int32(C.FF_BUG_STD_QPEL)
	FF_BUG_QPEL_CHROMA2     = int32(C.FF_BUG_QPEL_CHROMA2)
	FF_BUG_DIRECT_BLOCKSIZE = int32(C.FF_BUG_DIRECT_BLOCKSIZE)
	FF_BUG_EDGE             = int32(C.FF_BUG_EDGE)
	FF_BUG_HPEL_CHROMA      = int32(C.FF_BUG_HPEL_CHROMA)
	FF_BUG_DC_CLIP          = int32(C.FF_BUG_DC_CLIP)
	FF_BUG_MS               = int32(C.FF_BUG_MS)
	FF_BUG_TRUNCATED        = int32(C.FF_BUG_TRUNCATED)
	FF_BUG_IEDGE            = int32(C.FF_BUG_IEDGE)
)
View Source
const (
	FF_EC_GUESS_MVS   = int32(C.FF_EC_GUESS_MVS)
	FF_EC_DEBLOCK     = int32(C.FF_EC_DEBLOCK)
	FF_EC_FAVOR_INTER = int32(C.FF_EC_FAVOR_INTER)
)
View Source
const (
	FF_DEBUG_PICT_INFO = int32(C.FF_DEBUG_PICT_INFO)
	FF_DEBUG_RC        = int32(C.FF_DEBUG_RC)
	FF_DEBUG_BITSTREAM = int32(C.FF_DEBUG_BITSTREAM)
	FF_DEBUG_MB_TYPE   = int32(C.FF_DEBUG_MB_TYPE)
	FF_DEBUG_QP        = int32(C.FF_DEBUG_QP)
	FF_DEBUG_DCT_COEFF = int32(C.FF_DEBUG_DCT_COEFF)
	FF_DEBUG_SKIP      = int32(C.FF_DEBUG_SKIP)
	FF_DEBUG_STARTCODE = int32(C.FF_DEBUG_STARTCODE)
	FF_DEBUG_ER        = int32(C.FF_DEBUG_ER)
	FF_DEBUG_MMCO      = int32(C.FF_DEBUG_MMCO)
	FF_DEBUG_BUGS      = int32(C.FF_DEBUG_BUGS)
	FF_DEBUG_BUFFERS   = int32(C.FF_DEBUG_BUFFERS)
	FF_DEBUG_THREADS   = int32(C.FF_DEBUG_THREADS)
	FF_DEBUG_GREEN_MD  = int32(C.FF_DEBUG_GREEN_MD)
	FF_DEBUG_NOMC      = int32(C.FF_DEBUG_NOMC)
)
View Source
const (
	FF_DCT_AUTO    = int32(C.FF_DCT_AUTO)
	FF_DCT_FASTINT = int32(C.FF_DCT_FASTINT)
	FF_DCT_INT     = int32(C.FF_DCT_INT)
	FF_DCT_MMX     = int32(C.FF_DCT_MMX)
	FF_DCT_ALTIVEC = int32(C.FF_DCT_ALTIVEC)
	FF_DCT_FAAN    = int32(C.FF_DCT_FAAN)
)
View Source
const (
	FF_IDCT_AUTO          = int32(C.FF_IDCT_AUTO)
	FF_IDCT_INT           = int32(C.FF_IDCT_INT)
	FF_IDCT_SIMPLE        = int32(C.FF_IDCT_SIMPLE)
	FF_IDCT_SIMPLEMMX     = int32(C.FF_IDCT_SIMPLEMMX)
	FF_IDCT_ARM           = int32(C.FF_IDCT_ARM)
	FF_IDCT_ALTIVEC       = int32(C.FF_IDCT_ALTIVEC)
	FF_IDCT_SIMPLEARM     = int32(C.FF_IDCT_SIMPLEARM)
	FF_IDCT_XVID          = int32(C.FF_IDCT_XVID)
	FF_IDCT_SIMPLEARMV5TE = int32(C.FF_IDCT_SIMPLEARMV5TE)
	FF_IDCT_SIMPLEARMV6   = int32(C.FF_IDCT_SIMPLEARMV6)
	FF_IDCT_FAAN          = int32(C.FF_IDCT_FAAN)
	FF_IDCT_SIMPLENEON    = int32(C.FF_IDCT_SIMPLENEON)
	FF_IDCT_SIMPLEAUTO    = int32(C.FF_IDCT_SIMPLEAUTO)
)
View Source
const (
	FF_THREAD_FRAME = int32(C.FF_THREAD_FRAME)
	FF_THREAD_SLICE = int32(C.FF_THREAD_SLICE)
)
View Source
const (
	FF_PROFILE_UNKNOWN  = int32(C.FF_PROFILE_UNKNOWN)
	FF_PROFILE_RESERVED = int32(C.FF_PROFILE_RESERVED)

	FF_PROFILE_AAC_MAIN      = int32(C.FF_PROFILE_AAC_MAIN)
	FF_PROFILE_AAC_LOW       = int32(C.FF_PROFILE_AAC_LOW)
	FF_PROFILE_AAC_SSR       = int32(C.FF_PROFILE_AAC_SSR)
	FF_PROFILE_AAC_LTP       = int32(C.FF_PROFILE_AAC_LTP)
	FF_PROFILE_AAC_HE        = int32(C.FF_PROFILE_AAC_HE)
	FF_PROFILE_AAC_HE_V2     = int32(C.FF_PROFILE_AAC_HE_V2)
	FF_PROFILE_AAC_LD        = int32(C.FF_PROFILE_AAC_LD)
	FF_PROFILE_AAC_ELD       = int32(C.FF_PROFILE_AAC_ELD)
	FF_PROFILE_MPEG2_AAC_LOW = int32(C.FF_PROFILE_MPEG2_AAC_LOW)
	FF_PROFILE_MPEG2_AAC_HE  = int32(C.FF_PROFILE_MPEG2_AAC_HE)

	FF_PROFILE_DNXHD     = int32(C.FF_PROFILE_DNXHD)
	FF_PROFILE_DNXHR_LB  = int32(C.FF_PROFILE_DNXHR_LB)
	FF_PROFILE_DNXHR_SQ  = int32(C.FF_PROFILE_DNXHR_SQ)
	FF_PROFILE_DNXHR_HQ  = int32(C.FF_PROFILE_DNXHR_HQ)
	FF_PROFILE_DNXHR_HQX = int32(C.FF_PROFILE_DNXHR_HQX)
	FF_PROFILE_DNXHR_444 = int32(C.FF_PROFILE_DNXHR_444)

	FF_PROFILE_DTS              = int32(C.FF_PROFILE_DTS)
	FF_PROFILE_DTS_ES           = int32(C.FF_PROFILE_DTS_ES)
	FF_PROFILE_DTS_96_24        = int32(C.FF_PROFILE_DTS_96_24)
	FF_PROFILE_DTS_HD_HRA       = int32(C.FF_PROFILE_DTS_HD_HRA)
	FF_PROFILE_DTS_HD_MA        = int32(C.FF_PROFILE_DTS_HD_MA)
	FF_PROFILE_DTS_EXPRESS      = int32(C.FF_PROFILE_DTS_EXPRESS)
	FF_PROFILE_DTS_HD_MA_X      = int32(C.FF_PROFILE_DTS_HD_MA_X)
	FF_PROFILE_DTS_HD_MA_X_IMAX = int32(C.FF_PROFILE_DTS_HD_MA_X_IMAX)

	FF_PROFILE_EAC3_DDP_ATMOS = int32(C.FF_PROFILE_EAC3_DDP_ATMOS)

	FF_PROFILE_TRUEHD_ATMOS = int32(C.FF_PROFILE_TRUEHD_ATMOS)

	FF_PROFILE_MPEG2_422          = int32(C.FF_PROFILE_MPEG2_422)
	FF_PROFILE_MPEG2_HIGH         = int32(C.FF_PROFILE_MPEG2_HIGH)
	FF_PROFILE_MPEG2_SS           = int32(C.FF_PROFILE_MPEG2_SS)
	FF_PROFILE_MPEG2_SNR_SCALABLE = int32(C.FF_PROFILE_MPEG2_SNR_SCALABLE)
	FF_PROFILE_MPEG2_MAIN         = int32(C.FF_PROFILE_MPEG2_MAIN)
	FF_PROFILE_MPEG2_SIMPLE       = int32(C.FF_PROFILE_MPEG2_SIMPLE)

	FF_PROFILE_H264_CONSTRAINED = int32(C.FF_PROFILE_H264_CONSTRAINED)
	FF_PROFILE_H264_INTRA       = int32(C.FF_PROFILE_H264_INTRA)

	FF_PROFILE_H264_BASELINE             = int32(C.FF_PROFILE_H264_BASELINE)
	FF_PROFILE_H264_CONSTRAINED_BASELINE = int32(C.FF_PROFILE_H264_CONSTRAINED_BASELINE)
	FF_PROFILE_H264_MAIN                 = int32(C.FF_PROFILE_H264_MAIN)
	FF_PROFILE_H264_EXTENDED             = int32(C.FF_PROFILE_H264_EXTENDED)
	FF_PROFILE_H264_HIGH                 = int32(C.FF_PROFILE_H264_HIGH)
	FF_PROFILE_H264_HIGH_10              = int32(C.FF_PROFILE_H264_HIGH_10)
	FF_PROFILE_H264_HIGH_10_INTRA        = int32(C.FF_PROFILE_H264_HIGH_10_INTRA)
	FF_PROFILE_H264_MULTIVIEW_HIGH       = int32(C.FF_PROFILE_H264_MULTIVIEW_HIGH)
	FF_PROFILE_H264_HIGH_422             = int32(C.FF_PROFILE_H264_HIGH_422)
	FF_PROFILE_H264_HIGH_422_INTRA       = int32(C.FF_PROFILE_H264_HIGH_422_INTRA)
	FF_PROFILE_H264_STEREO_HIGH          = int32(C.FF_PROFILE_H264_STEREO_HIGH)
	FF_PROFILE_H264_HIGH_444             = int32(C.FF_PROFILE_H264_HIGH_444)
	FF_PROFILE_H264_HIGH_444_PREDICTIVE  = int32(C.FF_PROFILE_H264_HIGH_444_PREDICTIVE)
	FF_PROFILE_H264_HIGH_444_INTRA       = int32(C.FF_PROFILE_H264_HIGH_444_INTRA)
	FF_PROFILE_H264_CAVLC_444            = int32(C.FF_PROFILE_H264_CAVLC_444)

	FF_PROFILE_VC1_SIMPLE   = int32(C.FF_PROFILE_VC1_SIMPLE)
	FF_PROFILE_VC1_MAIN     = int32(C.FF_PROFILE_VC1_MAIN)
	FF_PROFILE_VC1_COMPLEX  = int32(C.FF_PROFILE_VC1_COMPLEX)
	FF_PROFILE_VC1_ADVANCED = int32(C.FF_PROFILE_VC1_ADVANCED)

	FF_PROFILE_MPEG4_SIMPLE                    = int32(C.FF_PROFILE_MPEG4_SIMPLE)
	FF_PROFILE_MPEG4_SIMPLE_SCALABLE           = int32(C.FF_PROFILE_MPEG4_SIMPLE_SCALABLE)
	FF_PROFILE_MPEG4_CORE                      = int32(C.FF_PROFILE_MPEG4_CORE)
	FF_PROFILE_MPEG4_MAIN                      = int32(C.FF_PROFILE_MPEG4_MAIN)
	FF_PROFILE_MPEG4_N_BIT                     = int32(C.FF_PROFILE_MPEG4_N_BIT)
	FF_PROFILE_MPEG4_SCALABLE_TEXTURE          = int32(C.FF_PROFILE_MPEG4_SCALABLE_TEXTURE)
	FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION     = int32(C.FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION)
	FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE    = int32(C.FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE)
	FF_PROFILE_MPEG4_HYBRID                    = int32(C.FF_PROFILE_MPEG4_HYBRID)
	FF_PROFILE_MPEG4_ADVANCED_REAL_TIME        = int32(C.FF_PROFILE_MPEG4_ADVANCED_REAL_TIME)
	FF_PROFILE_MPEG4_CORE_SCALABLE             = int32(C.FF_PROFILE_MPEG4_CORE_SCALABLE)
	FF_PROFILE_MPEG4_ADVANCED_CODING           = int32(C.FF_PROFILE_MPEG4_ADVANCED_CODING)
	FF_PROFILE_MPEG4_ADVANCED_CORE             = int32(C.FF_PROFILE_MPEG4_ADVANCED_CORE)
	FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE = int32(C.FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE)
	FF_PROFILE_MPEG4_SIMPLE_STUDIO             = int32(C.FF_PROFILE_MPEG4_SIMPLE_STUDIO)
	FF_PROFILE_MPEG4_ADVANCED_SIMPLE           = int32(C.FF_PROFILE_MPEG4_ADVANCED_SIMPLE)

	FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0  = int32(C.FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0)
	FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1  = int32(C.FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1)
	FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION = int32(C.FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION)
	FF_PROFILE_JPEG2000_DCINEMA_2K             = int32(C.FF_PROFILE_JPEG2000_DCINEMA_2K)
	FF_PROFILE_JPEG2000_DCINEMA_4K             = int32(C.FF_PROFILE_JPEG2000_DCINEMA_4K)

	FF_PROFILE_VP9_0 = int32(C.FF_PROFILE_VP9_0)
	FF_PROFILE_VP9_1 = int32(C.FF_PROFILE_VP9_1)
	FF_PROFILE_VP9_2 = int32(C.FF_PROFILE_VP9_2)
	FF_PROFILE_VP9_3 = int32(C.FF_PROFILE_VP9_3)

	FF_PROFILE_HEVC_MAIN               = int32(C.FF_PROFILE_HEVC_MAIN)
	FF_PROFILE_HEVC_MAIN_10            = int32(C.FF_PROFILE_HEVC_MAIN_10)
	FF_PROFILE_HEVC_MAIN_STILL_PICTURE = int32(C.FF_PROFILE_HEVC_MAIN_STILL_PICTURE)
	FF_PROFILE_HEVC_REXT               = int32(C.FF_PROFILE_HEVC_REXT)
	FF_PROFILE_HEVC_SCC                = int32(C.FF_PROFILE_HEVC_SCC)

	FF_PROFILE_VVC_MAIN_10     = int32(C.FF_PROFILE_VVC_MAIN_10)
	FF_PROFILE_VVC_MAIN_10_444 = int32(C.FF_PROFILE_VVC_MAIN_10_444)

	FF_PROFILE_AV1_MAIN         = int32(C.FF_PROFILE_AV1_MAIN)
	FF_PROFILE_AV1_HIGH         = int32(C.FF_PROFILE_AV1_HIGH)
	FF_PROFILE_AV1_PROFESSIONAL = int32(C.FF_PROFILE_AV1_PROFESSIONAL)

	FF_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT            = int32(C.FF_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT)
	FF_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT = int32(C.FF_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT)
	FF_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT         = int32(C.FF_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT)
	FF_PROFILE_MJPEG_HUFFMAN_LOSSLESS                = int32(C.FF_PROFILE_MJPEG_HUFFMAN_LOSSLESS)
	FF_PROFILE_MJPEG_JPEG_LS                         = int32(C.FF_PROFILE_MJPEG_JPEG_LS)

	FF_PROFILE_SBC_MSBC = int32(C.FF_PROFILE_SBC_MSBC)

	FF_PROFILE_PRORES_PROXY    = int32(C.FF_PROFILE_PRORES_PROXY)
	FF_PROFILE_PRORES_LT       = int32(C.FF_PROFILE_PRORES_LT)
	FF_PROFILE_PRORES_STANDARD = int32(C.FF_PROFILE_PRORES_STANDARD)
	FF_PROFILE_PRORES_HQ       = int32(C.FF_PROFILE_PRORES_HQ)
	FF_PROFILE_PRORES_4444     = int32(C.FF_PROFILE_PRORES_4444)
	FF_PROFILE_PRORES_XQ       = int32(C.FF_PROFILE_PRORES_XQ)

	FF_PROFILE_ARIB_PROFILE_A = int32(C.FF_PROFILE_ARIB_PROFILE_A)
	FF_PROFILE_ARIB_PROFILE_C = int32(C.FF_PROFILE_ARIB_PROFILE_C)

	FF_PROFILE_KLVA_SYNC  = int32(C.FF_PROFILE_KLVA_SYNC)
	FF_PROFILE_KLVA_ASYNC = int32(C.FF_PROFILE_KLVA_ASYNC)

	FF_PROFILE_EVC_BASELINE = int32(C.FF_PROFILE_EVC_BASELINE)
	FF_PROFILE_EVC_MAIN     = int32(C.FF_PROFILE_EVC_MAIN)
)

Deprecated: Use AV_PROFILE_* instead.

View Source
const (
	FF_SUB_CHARENC_MODE_DO_NOTHING  = int32(C.FF_SUB_CHARENC_MODE_DO_NOTHING)
	FF_SUB_CHARENC_MODE_AUTOMATIC   = int32(C.FF_SUB_CHARENC_MODE_AUTOMATIC)
	FF_SUB_CHARENC_MODE_PRE_DECODER = int32(C.FF_SUB_CHARENC_MODE_PRE_DECODER)
	FF_SUB_CHARENC_MODE_IGNORE      = int32(C.FF_SUB_CHARENC_MODE_IGNORE)
)
View Source
const (
	FF_CODEC_PROPERTY_LOSSLESS        = uint32(C.FF_CODEC_PROPERTY_LOSSLESS)
	FF_CODEC_PROPERTY_CLOSED_CAPTIONS = uint32(C.FF_CODEC_PROPERTY_CLOSED_CAPTIONS)
	FF_CODEC_PROPERTY_FILM_GRAIN      = uint32(C.FF_CODEC_PROPERTY_FILM_GRAIN)
)
View Source
const (
	AV_HWACCEL_CODEC_CAP_EXPERIMENTAL      = int(C.AV_HWACCEL_CODEC_CAP_EXPERIMENTAL)
	AV_HWACCEL_FLAG_IGNORE_LEVEL           = int(C.AV_HWACCEL_FLAG_IGNORE_LEVEL)
	AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH       = int(C.AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH)
	AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH = int(C.AV_HWACCEL_FLAG_ALLOW_PROFILE_MISMATCH)
	AV_HWACCEL_FLAG_UNSAFE_OUTPUT          = int(C.AV_HWACCEL_FLAG_UNSAFE_OUTPUT)
)
View Source
const (
	SUBTITLE_NONE   = AVSubtitleType(C.SUBTITLE_NONE)
	SUBTITLE_BITMAP = AVSubtitleType(C.SUBTITLE_BITMAP)
	SUBTITLE_TEXT   = AVSubtitleType(C.SUBTITLE_TEXT)
	SUBTITLE_ASS    = AVSubtitleType(C.SUBTITLE_ASS)
)
View Source
const (
	AV_PICTURE_STRUCTURE_UNKNOWN      = AVPictureStructure(C.AV_PICTURE_STRUCTURE_UNKNOWN)
	AV_PICTURE_STRUCTURE_TOP_FIELD    = AVPictureStructure(C.AV_PICTURE_STRUCTURE_TOP_FIELD)
	AV_PICTURE_STRUCTURE_BOTTOM_FIELD = AVPictureStructure(C.AV_PICTURE_STRUCTURE_BOTTOM_FIELD)
	AV_PICTURE_STRUCTURE_FRAME        = AVPictureStructure(C.AV_PICTURE_STRUCTURE_FRAME)
)
View Source
const (
	AV_CODEC_CAP_DRAW_HORIZ_BAND = C.AV_CODEC_CAP_DRAW_HORIZ_BAND
	AV_CODEC_CAP_DR1             = C.AV_CODEC_CAP_DR1

	AV_CODEC_CAP_DELAY            = C.AV_CODEC_CAP_DELAY
	AV_CODEC_CAP_SMALL_LAST_FRAME = C.AV_CODEC_CAP_SMALL_LAST_FRAME

	// Deprecated: no use.
	AV_CODEC_CAP_SUBFRAMES = C.AV_CODEC_CAP_SUBFRAMES

	AV_CODEC_CAP_EXPERIMENTAL  = C.AV_CODEC_CAP_EXPERIMENTAL
	AV_CODEC_CAP_CHANNEL_CONF  = C.AV_CODEC_CAP_CHANNEL_CONF
	AV_CODEC_CAP_FRAME_THREADS = C.AV_CODEC_CAP_FRAME_THREADS
	AV_CODEC_CAP_SLICE_THREADS = C.AV_CODEC_CAP_SLICE_THREADS
	AV_CODEC_CAP_PARAM_CHANGE  = C.AV_CODEC_CAP_PARAM_CHANGE
	AV_CODEC_CAP_OTHER_THREADS = C.AV_CODEC_CAP_OTHER_THREADS

	AV_CODEC_CAP_VARIABLE_FRAME_SIZE = C.AV_CODEC_CAP_VARIABLE_FRAME_SIZE
	AV_CODEC_CAP_AVOID_PROBING       = C.AV_CODEC_CAP_AVOID_PROBING

	AV_CODEC_CAP_HARDWARE                 = C.AV_CODEC_CAP_HARDWARE
	AV_CODEC_CAP_HYBRID                   = C.AV_CODEC_CAP_HYBRID
	AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE = C.AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE
	AV_CODEC_CAP_ENCODER_FLUSH            = C.AV_CODEC_CAP_ENCODER_FLUSH

	AV_CODEC_CAP_ENCODER_RECON_FRAME = C.AV_CODEC_CAP_ENCODER_RECON_FRAME
)
View Source
const (
	AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX = int32(C.AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX)
	AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX = int32(C.AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX)
	AV_CODEC_HW_CONFIG_METHOD_INTERNAL      = int32(C.AV_CODEC_HW_CONFIG_METHOD_INTERNAL)
	AV_CODEC_HW_CONFIG_METHOD_AD_HOC        = int32(C.AV_CODEC_HW_CONFIG_METHOD_AD_HOC)
)
View Source
const (
	AV_CODEC_PROP_INTRA_ONLY = C.AV_CODEC_PROP_INTRA_ONLY
	AV_CODEC_PROP_LOSSY      = C.AV_CODEC_PROP_LOSSY
	AV_CODEC_PROP_LOSSLESS   = C.AV_CODEC_PROP_LOSSLESS
	AV_CODEC_PROP_REORDER    = C.AV_CODEC_PROP_REORDER
	AV_CODEC_PROP_FIELDS     = C.AV_CODEC_PROP_FIELDS
	AV_CODEC_PROP_BITMAP_SUB = C.AV_CODEC_PROP_BITMAP_SUB
	AV_CODEC_PROP_TEXT_SUB   = C.AV_CODEC_PROP_TEXT_SUB
)
View Source
const (
	AV_CODEC_ID_NONE = AVCodecID(C.AV_CODEC_ID_NONE)

	// video codecs
	AV_CODEC_ID_MPEG1VIDEO      = AVCodecID(C.AV_CODEC_ID_MPEG1VIDEO)
	AV_CODEC_ID_MPEG2VIDEO      = AVCodecID(C.AV_CODEC_ID_MPEG2VIDEO)
	AV_CODEC_ID_H261            = AVCodecID(C.AV_CODEC_ID_H261)
	AV_CODEC_ID_H263            = AVCodecID(C.AV_CODEC_ID_H263)
	AV_CODEC_ID_RV10            = AVCodecID(C.AV_CODEC_ID_RV10)
	AV_CODEC_ID_RV20            = AVCodecID(C.AV_CODEC_ID_RV20)
	AV_CODEC_ID_MJPEG           = AVCodecID(C.AV_CODEC_ID_MJPEG)
	AV_CODEC_ID_MJPEGB          = AVCodecID(C.AV_CODEC_ID_MJPEGB)
	AV_CODEC_ID_LJPEG           = AVCodecID(C.AV_CODEC_ID_LJPEG)
	AV_CODEC_ID_SP5X            = AVCodecID(C.AV_CODEC_ID_SP5X)
	AV_CODEC_ID_JPEGLS          = AVCodecID(C.AV_CODEC_ID_JPEGLS)
	AV_CODEC_ID_MPEG4           = AVCodecID(C.AV_CODEC_ID_MPEG4)
	AV_CODEC_ID_RAWVIDEO        = AVCodecID(C.AV_CODEC_ID_RAWVIDEO)
	AV_CODEC_ID_MSMPEG4V1       = AVCodecID(C.AV_CODEC_ID_MSMPEG4V1)
	AV_CODEC_ID_MSMPEG4V2       = AVCodecID(C.AV_CODEC_ID_MSMPEG4V2)
	AV_CODEC_ID_MSMPEG4V3       = AVCodecID(C.AV_CODEC_ID_MSMPEG4V3)
	AV_CODEC_ID_WMV1            = AVCodecID(C.AV_CODEC_ID_WMV1)
	AV_CODEC_ID_WMV2            = AVCodecID(C.AV_CODEC_ID_WMV2)
	AV_CODEC_ID_H263P           = AVCodecID(C.AV_CODEC_ID_H263P)
	AV_CODEC_ID_H263I           = AVCodecID(C.AV_CODEC_ID_H263I)
	AV_CODEC_ID_FLV1            = AVCodecID(C.AV_CODEC_ID_FLV1)
	AV_CODEC_ID_SVQ1            = AVCodecID(C.AV_CODEC_ID_SVQ1)
	AV_CODEC_ID_SVQ3            = AVCodecID(C.AV_CODEC_ID_SVQ3)
	AV_CODEC_ID_DVVIDEO         = AVCodecID(C.AV_CODEC_ID_DVVIDEO)
	AV_CODEC_ID_HUFFYUV         = AVCodecID(C.AV_CODEC_ID_HUFFYUV)
	AV_CODEC_ID_CYUV            = AVCodecID(C.AV_CODEC_ID_CYUV)
	AV_CODEC_ID_H264            = AVCodecID(C.AV_CODEC_ID_H264)
	AV_CODEC_ID_INDEO3          = AVCodecID(C.AV_CODEC_ID_INDEO3)
	AV_CODEC_ID_VP3             = AVCodecID(C.AV_CODEC_ID_VP3)
	AV_CODEC_ID_THEORA          = AVCodecID(C.AV_CODEC_ID_THEORA)
	AV_CODEC_ID_ASV1            = AVCodecID(C.AV_CODEC_ID_ASV1)
	AV_CODEC_ID_ASV2            = AVCodecID(C.AV_CODEC_ID_ASV2)
	AV_CODEC_ID_FFV1            = AVCodecID(C.AV_CODEC_ID_FFV1)
	AV_CODEC_ID_4XM             = AVCodecID(C.AV_CODEC_ID_4XM)
	AV_CODEC_ID_VCR1            = AVCodecID(C.AV_CODEC_ID_VCR1)
	AV_CODEC_ID_CLJR            = AVCodecID(C.AV_CODEC_ID_CLJR)
	AV_CODEC_ID_MDEC            = AVCodecID(C.AV_CODEC_ID_MDEC)
	AV_CODEC_ID_ROQ             = AVCodecID(C.AV_CODEC_ID_ROQ)
	AV_CODEC_ID_INTERPLAY_VIDEO = AVCodecID(C.AV_CODEC_ID_INTERPLAY_VIDEO)
	AV_CODEC_ID_XAN_WC3         = AVCodecID(C.AV_CODEC_ID_XAN_WC3)
	AV_CODEC_ID_XAN_WC4         = AVCodecID(C.AV_CODEC_ID_XAN_WC4)
	AV_CODEC_ID_RPZA            = AVCodecID(C.AV_CODEC_ID_RPZA)
	AV_CODEC_ID_CINEPAK         = AVCodecID(C.AV_CODEC_ID_CINEPAK)
	AV_CODEC_ID_WS_VQA          = AVCodecID(C.AV_CODEC_ID_WS_VQA)
	AV_CODEC_ID_MSRLE           = AVCodecID(C.AV_CODEC_ID_MSRLE)
	AV_CODEC_ID_MSVIDEO1        = AVCodecID(C.AV_CODEC_ID_MSVIDEO1)
	AV_CODEC_ID_IDCIN           = AVCodecID(C.AV_CODEC_ID_IDCIN)
	AV_CODEC_ID_8BPS            = AVCodecID(C.AV_CODEC_ID_8BPS)
	AV_CODEC_ID_SMC             = AVCodecID(C.AV_CODEC_ID_SMC)
	AV_CODEC_ID_FLIC            = AVCodecID(C.AV_CODEC_ID_FLIC)
	AV_CODEC_ID_TRUEMOTION1     = AVCodecID(C.AV_CODEC_ID_TRUEMOTION1)
	AV_CODEC_ID_VMDVIDEO        = AVCodecID(C.AV_CODEC_ID_VMDVIDEO)
	AV_CODEC_ID_MSZH            = AVCodecID(C.AV_CODEC_ID_MSZH)
	AV_CODEC_ID_ZLIB            = AVCodecID(C.AV_CODEC_ID_ZLIB)
	AV_CODEC_ID_QTRLE           = AVCodecID(C.AV_CODEC_ID_QTRLE)
	AV_CODEC_ID_TSCC            = AVCodecID(C.AV_CODEC_ID_TSCC)
	AV_CODEC_ID_ULTI            = AVCodecID(C.AV_CODEC_ID_ULTI)
	AV_CODEC_ID_QDRAW           = AVCodecID(C.AV_CODEC_ID_QDRAW)
	AV_CODEC_ID_VIXL            = AVCodecID(C.AV_CODEC_ID_VIXL)
	AV_CODEC_ID_QPEG            = AVCodecID(C.AV_CODEC_ID_QPEG)
	AV_CODEC_ID_PNG             = AVCodecID(C.AV_CODEC_ID_PNG)
	AV_CODEC_ID_PPM             = AVCodecID(C.AV_CODEC_ID_PPM)
	AV_CODEC_ID_PBM             = AVCodecID(C.AV_CODEC_ID_PBM)
	AV_CODEC_ID_PGM             = AVCodecID(C.AV_CODEC_ID_PGM)
	AV_CODEC_ID_PGMYUV          = AVCodecID(C.AV_CODEC_ID_PGMYUV)
	AV_CODEC_ID_PAM             = AVCodecID(C.AV_CODEC_ID_PAM)
	AV_CODEC_ID_FFVHUFF         = AVCodecID(C.AV_CODEC_ID_FFVHUFF)
	AV_CODEC_ID_RV30            = AVCodecID(C.AV_CODEC_ID_RV30)
	AV_CODEC_ID_RV40            = AVCodecID(C.AV_CODEC_ID_RV40)
	AV_CODEC_ID_VC1             = AVCodecID(C.AV_CODEC_ID_VC1)
	AV_CODEC_ID_WMV3            = AVCodecID(C.AV_CODEC_ID_WMV3)
	AV_CODEC_ID_LOCO            = AVCodecID(C.AV_CODEC_ID_LOCO)
	AV_CODEC_ID_WNV1            = AVCodecID(C.AV_CODEC_ID_WNV1)
	AV_CODEC_ID_AASC            = AVCodecID(C.AV_CODEC_ID_AASC)
	AV_CODEC_ID_INDEO2          = AVCodecID(C.AV_CODEC_ID_INDEO2)
	AV_CODEC_ID_FRAPS           = AVCodecID(C.AV_CODEC_ID_FRAPS)
	AV_CODEC_ID_TRUEMOTION2     = AVCodecID(C.AV_CODEC_ID_TRUEMOTION2)
	AV_CODEC_ID_BMP             = AVCodecID(C.AV_CODEC_ID_BMP)
	AV_CODEC_ID_CSCD            = AVCodecID(C.AV_CODEC_ID_CSCD)
	AV_CODEC_ID_MMVIDEO         = AVCodecID(C.AV_CODEC_ID_MMVIDEO)
	AV_CODEC_ID_ZMBV            = AVCodecID(C.AV_CODEC_ID_ZMBV)
	AV_CODEC_ID_AVS             = AVCodecID(C.AV_CODEC_ID_AVS)
	AV_CODEC_ID_SMACKVIDEO      = AVCodecID(C.AV_CODEC_ID_SMACKVIDEO)
	AV_CODEC_ID_NUV             = AVCodecID(C.AV_CODEC_ID_NUV)
	AV_CODEC_ID_KMVC            = AVCodecID(C.AV_CODEC_ID_KMVC)
	AV_CODEC_ID_FLASHSV         = AVCodecID(C.AV_CODEC_ID_FLASHSV)
	AV_CODEC_ID_CAVS            = AVCodecID(C.AV_CODEC_ID_CAVS)
	AV_CODEC_ID_JPEG2000        = AVCodecID(C.AV_CODEC_ID_JPEG2000)
	AV_CODEC_ID_VMNC            = AVCodecID(C.AV_CODEC_ID_VMNC)
	AV_CODEC_ID_VP5             = AVCodecID(C.AV_CODEC_ID_VP5)
	AV_CODEC_ID_VP6             = AVCodecID(C.AV_CODEC_ID_VP6)
	AV_CODEC_ID_VP6F            = AVCodecID(C.AV_CODEC_ID_VP6F)
	AV_CODEC_ID_TARGA           = AVCodecID(C.AV_CODEC_ID_TARGA)
	AV_CODEC_ID_DSICINVIDEO     = AVCodecID(C.AV_CODEC_ID_DSICINVIDEO)
	AV_CODEC_ID_TIERTEXSEQVIDEO = AVCodecID(C.AV_CODEC_ID_TIERTEXSEQVIDEO)
	AV_CODEC_ID_TIFF            = AVCodecID(C.AV_CODEC_ID_TIFF)
	AV_CODEC_ID_GIF             = AVCodecID(C.AV_CODEC_ID_GIF)
	AV_CODEC_ID_DXA             = AVCodecID(C.AV_CODEC_ID_DXA)
	AV_CODEC_ID_DNXHD           = AVCodecID(C.AV_CODEC_ID_DNXHD)
	AV_CODEC_ID_THP             = AVCodecID(C.AV_CODEC_ID_THP)
	AV_CODEC_ID_SGI             = AVCodecID(C.AV_CODEC_ID_SGI)
	AV_CODEC_ID_C93             = AVCodecID(C.AV_CODEC_ID_C93)
	AV_CODEC_ID_BETHSOFTVID     = AVCodecID(C.AV_CODEC_ID_BETHSOFTVID)
	AV_CODEC_ID_PTX             = AVCodecID(C.AV_CODEC_ID_PTX)
	AV_CODEC_ID_TXD             = AVCodecID(C.AV_CODEC_ID_TXD)
	AV_CODEC_ID_VP6A            = AVCodecID(C.AV_CODEC_ID_VP6A)
	AV_CODEC_ID_AMV             = AVCodecID(C.AV_CODEC_ID_AMV)
	AV_CODEC_ID_VB              = AVCodecID(C.AV_CODEC_ID_VB)
	AV_CODEC_ID_PCX             = AVCodecID(C.AV_CODEC_ID_PCX)
	AV_CODEC_ID_SUNRAST         = AVCodecID(C.AV_CODEC_ID_SUNRAST)
	AV_CODEC_ID_INDEO4          = AVCodecID(C.AV_CODEC_ID_INDEO4)
	AV_CODEC_ID_INDEO5          = AVCodecID(C.AV_CODEC_ID_INDEO5)
	AV_CODEC_ID_MIMIC           = AVCodecID(C.AV_CODEC_ID_MIMIC)
	AV_CODEC_ID_RL2             = AVCodecID(C.AV_CODEC_ID_RL2)
	AV_CODEC_ID_ESCAPE124       = AVCodecID(C.AV_CODEC_ID_ESCAPE124)
	AV_CODEC_ID_DIRAC           = AVCodecID(C.AV_CODEC_ID_DIRAC)
	AV_CODEC_ID_BFI             = AVCodecID(C.AV_CODEC_ID_BFI)
	AV_CODEC_ID_CMV             = AVCodecID(C.AV_CODEC_ID_CMV)
	AV_CODEC_ID_MOTIONPIXELS    = AVCodecID(C.AV_CODEC_ID_MOTIONPIXELS)
	AV_CODEC_ID_TGV             = AVCodecID(C.AV_CODEC_ID_TGV)
	AV_CODEC_ID_TGQ             = AVCodecID(C.AV_CODEC_ID_TGQ)
	AV_CODEC_ID_TQI             = AVCodecID(C.AV_CODEC_ID_TQI)
	AV_CODEC_ID_AURA            = AVCodecID(C.AV_CODEC_ID_AURA)
	AV_CODEC_ID_AURA2           = AVCodecID(C.AV_CODEC_ID_AURA2)
	AV_CODEC_ID_V210X           = AVCodecID(C.AV_CODEC_ID_V210X)
	AV_CODEC_ID_TMV             = AVCodecID(C.AV_CODEC_ID_TMV)
	AV_CODEC_ID_V210            = AVCodecID(C.AV_CODEC_ID_V210)
	AV_CODEC_ID_DPX             = AVCodecID(C.AV_CODEC_ID_DPX)
	AV_CODEC_ID_MAD             = AVCodecID(C.AV_CODEC_ID_MAD)
	AV_CODEC_ID_FRWU            = AVCodecID(C.AV_CODEC_ID_FRWU)
	AV_CODEC_ID_FLASHSV2        = AVCodecID(C.AV_CODEC_ID_FLASHSV2)
	AV_CODEC_ID_CDGRAPHICS      = AVCodecID(C.AV_CODEC_ID_CDGRAPHICS)
	AV_CODEC_ID_R210            = AVCodecID(C.AV_CODEC_ID_R210)
	AV_CODEC_ID_ANM             = AVCodecID(C.AV_CODEC_ID_ANM)
	AV_CODEC_ID_BINKVIDEO       = AVCodecID(C.AV_CODEC_ID_BINKVIDEO)
	AV_CODEC_ID_IFF_ILBM        = AVCodecID(C.AV_CODEC_ID_IFF_ILBM)
	AV_CODEC_ID_IFF_BYTERUN1    = AVCodecID(C.AV_CODEC_ID_IFF_BYTERUN1)
	AV_CODEC_ID_KGV1            = AVCodecID(C.AV_CODEC_ID_KGV1)
	AV_CODEC_ID_YOP             = AVCodecID(C.AV_CODEC_ID_YOP)
	AV_CODEC_ID_VP8             = AVCodecID(C.AV_CODEC_ID_VP8)
	AV_CODEC_ID_PICTOR          = AVCodecID(C.AV_CODEC_ID_PICTOR)
	AV_CODEC_ID_ANSI            = AVCodecID(C.AV_CODEC_ID_ANSI)
	AV_CODEC_ID_A64_MULTI       = AVCodecID(C.AV_CODEC_ID_A64_MULTI)
	AV_CODEC_ID_A64_MULTI5      = AVCodecID(C.AV_CODEC_ID_A64_MULTI5)
	AV_CODEC_ID_R10K            = AVCodecID(C.AV_CODEC_ID_R10K)
	AV_CODEC_ID_MXPEG           = AVCodecID(C.AV_CODEC_ID_MXPEG)
	AV_CODEC_ID_LAGARITH        = AVCodecID(C.AV_CODEC_ID_LAGARITH)
	AV_CODEC_ID_PRORES          = AVCodecID(C.AV_CODEC_ID_PRORES)
	AV_CODEC_ID_JV              = AVCodecID(C.AV_CODEC_ID_JV)
	AV_CODEC_ID_DFA             = AVCodecID(C.AV_CODEC_ID_DFA)
	AV_CODEC_ID_WMV3IMAGE       = AVCodecID(C.AV_CODEC_ID_WMV3IMAGE)
	AV_CODEC_ID_VC1IMAGE        = AVCodecID(C.AV_CODEC_ID_VC1IMAGE)
	AV_CODEC_ID_UTVIDEO         = AVCodecID(C.AV_CODEC_ID_UTVIDEO)
	AV_CODEC_ID_BMV_VIDEO       = AVCodecID(C.AV_CODEC_ID_BMV_VIDEO)
	AV_CODEC_ID_VBLE            = AVCodecID(C.AV_CODEC_ID_VBLE)
	AV_CODEC_ID_DXTORY          = AVCodecID(C.AV_CODEC_ID_DXTORY)
	AV_CODEC_ID_V410            = AVCodecID(C.AV_CODEC_ID_V410)
	AV_CODEC_ID_XWD             = AVCodecID(C.AV_CODEC_ID_XWD)
	AV_CODEC_ID_CDXL            = AVCodecID(C.AV_CODEC_ID_CDXL)
	AV_CODEC_ID_XBM             = AVCodecID(C.AV_CODEC_ID_XBM)
	AV_CODEC_ID_ZEROCODEC       = AVCodecID(C.AV_CODEC_ID_ZEROCODEC)
	AV_CODEC_ID_MSS1            = AVCodecID(C.AV_CODEC_ID_MSS1)
	AV_CODEC_ID_MSA1            = AVCodecID(C.AV_CODEC_ID_MSA1)
	AV_CODEC_ID_TSCC2           = AVCodecID(C.AV_CODEC_ID_TSCC2)
	AV_CODEC_ID_MTS2            = AVCodecID(C.AV_CODEC_ID_MTS2)
	AV_CODEC_ID_CLLC            = AVCodecID(C.AV_CODEC_ID_CLLC)
	AV_CODEC_ID_MSS2            = AVCodecID(C.AV_CODEC_ID_MSS2)
	AV_CODEC_ID_VP9             = AVCodecID(C.AV_CODEC_ID_VP9)
	AV_CODEC_ID_AIC             = AVCodecID(C.AV_CODEC_ID_AIC)
	AV_CODEC_ID_ESCAPE130       = AVCodecID(C.AV_CODEC_ID_ESCAPE130)
	AV_CODEC_ID_G2M             = AVCodecID(C.AV_CODEC_ID_G2M)
	AV_CODEC_ID_WEBP            = AVCodecID(C.AV_CODEC_ID_WEBP)
	AV_CODEC_ID_HNM4_VIDEO      = AVCodecID(C.AV_CODEC_ID_HNM4_VIDEO)
	AV_CODEC_ID_HEVC            = AVCodecID(C.AV_CODEC_ID_HEVC)
	AV_CODEC_ID_H265            = AVCodecID(C.AV_CODEC_ID_H265)
	AV_CODEC_ID_FIC             = AVCodecID(C.AV_CODEC_ID_FIC)
	AV_CODEC_ID_ALIAS_PIX       = AVCodecID(C.AV_CODEC_ID_ALIAS_PIX)
	AV_CODEC_ID_BRENDER_PIX     = AVCodecID(C.AV_CODEC_ID_BRENDER_PIX)
	AV_CODEC_ID_PAF_VIDEO       = AVCodecID(C.AV_CODEC_ID_PAF_VIDEO)
	AV_CODEC_ID_EXR             = AVCodecID(C.AV_CODEC_ID_EXR)
	AV_CODEC_ID_VP7             = AVCodecID(C.AV_CODEC_ID_VP7)
	AV_CODEC_ID_SANM            = AVCodecID(C.AV_CODEC_ID_SANM)
	AV_CODEC_ID_SGIRLE          = AVCodecID(C.AV_CODEC_ID_SGIRLE)
	AV_CODEC_ID_MVC1            = AVCodecID(C.AV_CODEC_ID_MVC1)
	AV_CODEC_ID_MVC2            = AVCodecID(C.AV_CODEC_ID_MVC2)
	AV_CODEC_ID_HQX             = AVCodecID(C.AV_CODEC_ID_HQX)
	AV_CODEC_ID_TDSC            = AVCodecID(C.AV_CODEC_ID_TDSC)
	AV_CODEC_ID_HQ_HQA          = AVCodecID(C.AV_CODEC_ID_HQ_HQA)
	AV_CODEC_ID_HAP             = AVCodecID(C.AV_CODEC_ID_HAP)
	AV_CODEC_ID_DDS             = AVCodecID(C.AV_CODEC_ID_DDS)
	AV_CODEC_ID_DXV             = AVCodecID(C.AV_CODEC_ID_DXV)
	AV_CODEC_ID_SCREENPRESSO    = AVCodecID(C.AV_CODEC_ID_SCREENPRESSO)
	AV_CODEC_ID_RSCC            = AVCodecID(C.AV_CODEC_ID_RSCC)
	AV_CODEC_ID_AVS2            = AVCodecID(C.AV_CODEC_ID_AVS2)
	AV_CODEC_ID_PGX             = AVCodecID(C.AV_CODEC_ID_PGX)
	AV_CODEC_ID_AVS3            = AVCodecID(C.AV_CODEC_ID_AVS3)
	AV_CODEC_ID_MSP2            = AVCodecID(C.AV_CODEC_ID_MSP2)
	AV_CODEC_ID_VVC             = AVCodecID(C.AV_CODEC_ID_VVC)
	AV_CODEC_ID_H266            = AVCodecID(C.AV_CODEC_ID_H266)
	AV_CODEC_ID_Y41P            = AVCodecID(C.AV_CODEC_ID_Y41P)
	AV_CODEC_ID_AVRP            = AVCodecID(C.AV_CODEC_ID_AVRP)
	AV_CODEC_ID_012V            = AVCodecID(C.AV_CODEC_ID_012V)
	AV_CODEC_ID_AVUI            = AVCodecID(C.AV_CODEC_ID_AVUI)
	AV_CODEC_ID_TARGA_Y216      = AVCodecID(C.AV_CODEC_ID_TARGA_Y216)
	AV_CODEC_ID_V308            = AVCodecID(C.AV_CODEC_ID_V308)
	AV_CODEC_ID_V408            = AVCodecID(C.AV_CODEC_ID_V408)
	AV_CODEC_ID_YUV4            = AVCodecID(C.AV_CODEC_ID_YUV4)
	AV_CODEC_ID_AVRN            = AVCodecID(C.AV_CODEC_ID_AVRN)
	AV_CODEC_ID_CPIA            = AVCodecID(C.AV_CODEC_ID_CPIA)
	AV_CODEC_ID_XFACE           = AVCodecID(C.AV_CODEC_ID_XFACE)
	AV_CODEC_ID_SNOW            = AVCodecID(C.AV_CODEC_ID_SNOW)
	AV_CODEC_ID_SMVJPEG         = AVCodecID(C.AV_CODEC_ID_SMVJPEG)
	AV_CODEC_ID_APNG            = AVCodecID(C.AV_CODEC_ID_APNG)
	AV_CODEC_ID_DAALA           = AVCodecID(C.AV_CODEC_ID_DAALA)
	AV_CODEC_ID_CFHD            = AVCodecID(C.AV_CODEC_ID_CFHD)
	AV_CODEC_ID_TRUEMOTION2RT   = AVCodecID(C.AV_CODEC_ID_TRUEMOTION2RT)
	AV_CODEC_ID_M101            = AVCodecID(C.AV_CODEC_ID_M101)
	AV_CODEC_ID_MAGICYUV        = AVCodecID(C.AV_CODEC_ID_MAGICYUV)
	AV_CODEC_ID_SHEERVIDEO      = AVCodecID(C.AV_CODEC_ID_SHEERVIDEO)
	AV_CODEC_ID_YLC             = AVCodecID(C.AV_CODEC_ID_YLC)
	AV_CODEC_ID_PSD             = AVCodecID(C.AV_CODEC_ID_PSD)
	AV_CODEC_ID_PIXLET          = AVCodecID(C.AV_CODEC_ID_PIXLET)
	AV_CODEC_ID_SPEEDHQ         = AVCodecID(C.AV_CODEC_ID_SPEEDHQ)
	AV_CODEC_ID_FMVC            = AVCodecID(C.AV_CODEC_ID_FMVC)
	AV_CODEC_ID_SCPR            = AVCodecID(C.AV_CODEC_ID_SCPR)
	AV_CODEC_ID_CLEARVIDEO      = AVCodecID(C.AV_CODEC_ID_CLEARVIDEO)
	AV_CODEC_ID_XPM             = AVCodecID(C.AV_CODEC_ID_XPM)
	AV_CODEC_ID_AV1             = AVCodecID(C.AV_CODEC_ID_AV1)
	AV_CODEC_ID_BITPACKED       = AVCodecID(C.AV_CODEC_ID_BITPACKED)
	AV_CODEC_ID_MSCC            = AVCodecID(C.AV_CODEC_ID_MSCC)
	AV_CODEC_ID_SRGC            = AVCodecID(C.AV_CODEC_ID_SRGC)
	AV_CODEC_ID_SVG             = AVCodecID(C.AV_CODEC_ID_SVG)
	AV_CODEC_ID_GDV             = AVCodecID(C.AV_CODEC_ID_GDV)
	AV_CODEC_ID_FITS            = AVCodecID(C.AV_CODEC_ID_FITS)
	AV_CODEC_ID_IMM4            = AVCodecID(C.AV_CODEC_ID_IMM4)
	AV_CODEC_ID_PROSUMER        = AVCodecID(C.AV_CODEC_ID_PROSUMER)
	AV_CODEC_ID_MWSC            = AVCodecID(C.AV_CODEC_ID_MWSC)
	AV_CODEC_ID_WCMV            = AVCodecID(C.AV_CODEC_ID_WCMV)
	AV_CODEC_ID_RASC            = AVCodecID(C.AV_CODEC_ID_RASC)
	AV_CODEC_ID_HYMT            = AVCodecID(C.AV_CODEC_ID_HYMT)
	AV_CODEC_ID_ARBC            = AVCodecID(C.AV_CODEC_ID_ARBC)
	AV_CODEC_ID_AGM             = AVCodecID(C.AV_CODEC_ID_AGM)
	AV_CODEC_ID_LSCR            = AVCodecID(C.AV_CODEC_ID_LSCR)
	AV_CODEC_ID_VP4             = AVCodecID(C.AV_CODEC_ID_VP4)
	AV_CODEC_ID_IMM5            = AVCodecID(C.AV_CODEC_ID_IMM5)
	AV_CODEC_ID_MVDV            = AVCodecID(C.AV_CODEC_ID_MVDV)
	AV_CODEC_ID_MVHA            = AVCodecID(C.AV_CODEC_ID_MVHA)
	AV_CODEC_ID_CDTOONS         = AVCodecID(C.AV_CODEC_ID_CDTOONS)
	AV_CODEC_ID_MV30            = AVCodecID(C.AV_CODEC_ID_MV30)
	AV_CODEC_ID_NOTCHLC         = AVCodecID(C.AV_CODEC_ID_NOTCHLC)
	AV_CODEC_ID_PFM             = AVCodecID(C.AV_CODEC_ID_PFM)
	AV_CODEC_ID_MOBICLIP        = AVCodecID(C.AV_CODEC_ID_MOBICLIP)
	AV_CODEC_ID_PHOTOCD         = AVCodecID(C.AV_CODEC_ID_PHOTOCD)
	AV_CODEC_ID_IPU             = AVCodecID(C.AV_CODEC_ID_IPU)
	AV_CODEC_ID_ARGO            = AVCodecID(C.AV_CODEC_ID_ARGO)
	AV_CODEC_ID_CRI             = AVCodecID(C.AV_CODEC_ID_CRI)
	AV_CODEC_ID_SIMBIOSIS_IMX   = AVCodecID(C.AV_CODEC_ID_SIMBIOSIS_IMX)
	AV_CODEC_ID_SGA_VIDEO       = AVCodecID(C.AV_CODEC_ID_SGA_VIDEO)
	AV_CODEC_ID_GEM             = AVCodecID(C.AV_CODEC_ID_GEM)
	AV_CODEC_ID_VBN             = AVCodecID(C.AV_CODEC_ID_VBN)
	AV_CODEC_ID_JPEGXL          = AVCodecID(C.AV_CODEC_ID_JPEGXL)
	AV_CODEC_ID_QOI             = AVCodecID(C.AV_CODEC_ID_QOI)
	AV_CODEC_ID_PHM             = AVCodecID(C.AV_CODEC_ID_PHM)
	AV_CODEC_ID_RADIANCE_HDR    = AVCodecID(C.AV_CODEC_ID_RADIANCE_HDR)
	AV_CODEC_ID_WBMP            = AVCodecID(C.AV_CODEC_ID_WBMP)
	AV_CODEC_ID_MEDIA100        = AVCodecID(C.AV_CODEC_ID_MEDIA100)
	AV_CODEC_ID_VQC             = AVCodecID(C.AV_CODEC_ID_VQC)
	AV_CODEC_ID_PDV             = AVCodecID(C.AV_CODEC_ID_PDV)
	AV_CODEC_ID_EVC             = AVCodecID(C.AV_CODEC_ID_EVC)
	AV_CODEC_ID_RTV1            = AVCodecID(C.AV_CODEC_ID_RTV1)
	AV_CODEC_ID_VMIX            = AVCodecID(C.AV_CODEC_ID_VMIX)

	// various PCM "codecs"
	AV_CODEC_ID_FIRST_AUDIO      = AVCodecID(C.AV_CODEC_ID_FIRST_AUDIO)
	AV_CODEC_ID_PCM_S16LE        = AVCodecID(C.AV_CODEC_ID_PCM_S16LE)
	AV_CODEC_ID_PCM_S16BE        = AVCodecID(C.AV_CODEC_ID_PCM_S16BE)
	AV_CODEC_ID_PCM_U16LE        = AVCodecID(C.AV_CODEC_ID_PCM_U16LE)
	AV_CODEC_ID_PCM_U16BE        = AVCodecID(C.AV_CODEC_ID_PCM_U16BE)
	AV_CODEC_ID_PCM_S8           = AVCodecID(C.AV_CODEC_ID_PCM_S8)
	AV_CODEC_ID_PCM_U8           = AVCodecID(C.AV_CODEC_ID_PCM_U8)
	AV_CODEC_ID_PCM_MULAW        = AVCodecID(C.AV_CODEC_ID_PCM_MULAW)
	AV_CODEC_ID_PCM_ALAW         = AVCodecID(C.AV_CODEC_ID_PCM_ALAW)
	AV_CODEC_ID_PCM_S32LE        = AVCodecID(C.AV_CODEC_ID_PCM_S32LE)
	AV_CODEC_ID_PCM_S32BE        = AVCodecID(C.AV_CODEC_ID_PCM_S32BE)
	AV_CODEC_ID_PCM_U32LE        = AVCodecID(C.AV_CODEC_ID_PCM_U32LE)
	AV_CODEC_ID_PCM_U32BE        = AVCodecID(C.AV_CODEC_ID_PCM_U32BE)
	AV_CODEC_ID_PCM_S24LE        = AVCodecID(C.AV_CODEC_ID_PCM_S24LE)
	AV_CODEC_ID_PCM_S24BE        = AVCodecID(C.AV_CODEC_ID_PCM_S24BE)
	AV_CODEC_ID_PCM_U24LE        = AVCodecID(C.AV_CODEC_ID_PCM_U24LE)
	AV_CODEC_ID_PCM_U24BE        = AVCodecID(C.AV_CODEC_ID_PCM_U24BE)
	AV_CODEC_ID_PCM_S24DAUD      = AVCodecID(C.AV_CODEC_ID_PCM_S24DAUD)
	AV_CODEC_ID_PCM_ZORK         = AVCodecID(C.AV_CODEC_ID_PCM_ZORK)
	AV_CODEC_ID_PCM_S16LE_PLANAR = AVCodecID(C.AV_CODEC_ID_PCM_S16LE_PLANAR)
	AV_CODEC_ID_PCM_DVD          = AVCodecID(C.AV_CODEC_ID_PCM_DVD)
	AV_CODEC_ID_PCM_F32BE        = AVCodecID(C.AV_CODEC_ID_PCM_F32BE)
	AV_CODEC_ID_PCM_F32LE        = AVCodecID(C.AV_CODEC_ID_PCM_F32LE)
	AV_CODEC_ID_PCM_F64BE        = AVCodecID(C.AV_CODEC_ID_PCM_F64BE)
	AV_CODEC_ID_PCM_F64LE        = AVCodecID(C.AV_CODEC_ID_PCM_F64LE)
	AV_CODEC_ID_PCM_BLURAY       = AVCodecID(C.AV_CODEC_ID_PCM_BLURAY)
	AV_CODEC_ID_PCM_LXF          = AVCodecID(C.AV_CODEC_ID_PCM_LXF)
	AV_CODEC_ID_S302M            = AVCodecID(C.AV_CODEC_ID_S302M)
	AV_CODEC_ID_PCM_S8_PLANAR    = AVCodecID(C.AV_CODEC_ID_PCM_S8_PLANAR)
	AV_CODEC_ID_PCM_S24LE_PLANAR = AVCodecID(C.AV_CODEC_ID_PCM_S24LE_PLANAR)
	AV_CODEC_ID_PCM_S32LE_PLANAR = AVCodecID(C.AV_CODEC_ID_PCM_S32LE_PLANAR)
	AV_CODEC_ID_PCM_S16BE_PLANAR = AVCodecID(C.AV_CODEC_ID_PCM_S16BE_PLANAR)
	AV_CODEC_ID_PCM_S64LE        = AVCodecID(C.AV_CODEC_ID_PCM_S64LE)
	AV_CODEC_ID_PCM_S64BE        = AVCodecID(C.AV_CODEC_ID_PCM_S64BE)
	AV_CODEC_ID_PCM_F16LE        = AVCodecID(C.AV_CODEC_ID_PCM_F16LE)
	AV_CODEC_ID_PCM_F24LE        = AVCodecID(C.AV_CODEC_ID_PCM_F24LE)
	AV_CODEC_ID_PCM_VIDC         = AVCodecID(C.AV_CODEC_ID_PCM_VIDC)
	AV_CODEC_ID_PCM_SGA          = AVCodecID(C.AV_CODEC_ID_PCM_SGA)

	// various ADPCM codecs
	AV_CODEC_ID_ADPCM_IMA_QT      = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_QT)
	AV_CODEC_ID_ADPCM_IMA_WAV     = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_WAV)
	AV_CODEC_ID_ADPCM_IMA_DK3     = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_DK3)
	AV_CODEC_ID_ADPCM_IMA_DK4     = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_DK4)
	AV_CODEC_ID_ADPCM_IMA_WS      = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_WS)
	AV_CODEC_ID_ADPCM_IMA_SMJPEG  = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_SMJPEG)
	AV_CODEC_ID_ADPCM_MS          = AVCodecID(C.AV_CODEC_ID_ADPCM_MS)
	AV_CODEC_ID_ADPCM_4XM         = AVCodecID(C.AV_CODEC_ID_ADPCM_4XM)
	AV_CODEC_ID_ADPCM_XA          = AVCodecID(C.AV_CODEC_ID_ADPCM_XA)
	AV_CODEC_ID_ADPCM_ADX         = AVCodecID(C.AV_CODEC_ID_ADPCM_ADX)
	AV_CODEC_ID_ADPCM_EA          = AVCodecID(C.AV_CODEC_ID_ADPCM_EA)
	AV_CODEC_ID_ADPCM_G726        = AVCodecID(C.AV_CODEC_ID_ADPCM_G726)
	AV_CODEC_ID_ADPCM_CT          = AVCodecID(C.AV_CODEC_ID_ADPCM_CT)
	AV_CODEC_ID_ADPCM_SWF         = AVCodecID(C.AV_CODEC_ID_ADPCM_SWF)
	AV_CODEC_ID_ADPCM_YAMAHA      = AVCodecID(C.AV_CODEC_ID_ADPCM_YAMAHA)
	AV_CODEC_ID_ADPCM_SBPRO_4     = AVCodecID(C.AV_CODEC_ID_ADPCM_SBPRO_4)
	AV_CODEC_ID_ADPCM_SBPRO_3     = AVCodecID(C.AV_CODEC_ID_ADPCM_SBPRO_3)
	AV_CODEC_ID_ADPCM_SBPRO_2     = AVCodecID(C.AV_CODEC_ID_ADPCM_SBPRO_2)
	AV_CODEC_ID_ADPCM_THP         = AVCodecID(C.AV_CODEC_ID_ADPCM_THP)
	AV_CODEC_ID_ADPCM_IMA_AMV     = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_AMV)
	AV_CODEC_ID_ADPCM_EA_R1       = AVCodecID(C.AV_CODEC_ID_ADPCM_EA_R1)
	AV_CODEC_ID_ADPCM_EA_R3       = AVCodecID(C.AV_CODEC_ID_ADPCM_EA_R3)
	AV_CODEC_ID_ADPCM_EA_R2       = AVCodecID(C.AV_CODEC_ID_ADPCM_EA_R2)
	AV_CODEC_ID_ADPCM_IMA_EA_SEAD = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_EA_SEAD)
	AV_CODEC_ID_ADPCM_IMA_EA_EACS = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_EA_EACS)
	AV_CODEC_ID_ADPCM_EA_XAS      = AVCodecID(C.AV_CODEC_ID_ADPCM_EA_XAS)
	AV_CODEC_ID_ADPCM_EA_MAXIS_XA = AVCodecID(C.AV_CODEC_ID_ADPCM_EA_MAXIS_XA)
	AV_CODEC_ID_ADPCM_IMA_ISS     = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_ISS)
	AV_CODEC_ID_ADPCM_G722        = AVCodecID(C.AV_CODEC_ID_ADPCM_G722)
	AV_CODEC_ID_ADPCM_IMA_APC     = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_APC)
	AV_CODEC_ID_ADPCM_VIMA        = AVCodecID(C.AV_CODEC_ID_ADPCM_VIMA)
	AV_CODEC_ID_ADPCM_AFC         = AVCodecID(C.AV_CODEC_ID_ADPCM_AFC)
	AV_CODEC_ID_ADPCM_IMA_OKI     = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_OKI)
	AV_CODEC_ID_ADPCM_DTK         = AVCodecID(C.AV_CODEC_ID_ADPCM_DTK)
	AV_CODEC_ID_ADPCM_IMA_RAD     = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_RAD)
	AV_CODEC_ID_ADPCM_G726LE      = AVCodecID(C.AV_CODEC_ID_ADPCM_G726LE)
	AV_CODEC_ID_ADPCM_THP_LE      = AVCodecID(C.AV_CODEC_ID_ADPCM_THP_LE)
	AV_CODEC_ID_ADPCM_PSX         = AVCodecID(C.AV_CODEC_ID_ADPCM_PSX)
	AV_CODEC_ID_ADPCM_AICA        = AVCodecID(C.AV_CODEC_ID_ADPCM_AICA)
	AV_CODEC_ID_ADPCM_IMA_DAT4    = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_DAT4)
	AV_CODEC_ID_ADPCM_MTAF        = AVCodecID(C.AV_CODEC_ID_ADPCM_MTAF)
	AV_CODEC_ID_ADPCM_AGM         = AVCodecID(C.AV_CODEC_ID_ADPCM_AGM)
	AV_CODEC_ID_ADPCM_ARGO        = AVCodecID(C.AV_CODEC_ID_ADPCM_ARGO)
	AV_CODEC_ID_ADPCM_IMA_SSI     = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_SSI)
	AV_CODEC_ID_ADPCM_ZORK        = AVCodecID(C.AV_CODEC_ID_ADPCM_ZORK)
	AV_CODEC_ID_ADPCM_IMA_APM     = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_APM)
	AV_CODEC_ID_ADPCM_IMA_ALP     = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_ALP)
	AV_CODEC_ID_ADPCM_IMA_MTF     = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_MTF)
	AV_CODEC_ID_ADPCM_IMA_CUNNING = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_CUNNING)
	AV_CODEC_ID_ADPCM_IMA_MOFLEX  = AVCodecID(C.AV_CODEC_ID_ADPCM_IMA_MOFLEX)

	// AMR
	AV_CODEC_ID_AMR_NB = AVCodecID(C.AV_CODEC_ID_AMR_NB)
	AV_CODEC_ID_AMR_WB = AVCodecID(C.AV_CODEC_ID_AMR_WB)

	// RealAudio codecs
	AV_CODEC_ID_RA_144 = AVCodecID(C.AV_CODEC_ID_RA_144)
	AV_CODEC_ID_RA_288 = AVCodecID(C.AV_CODEC_ID_RA_288)

	// various DPCM codecs
	AV_CODEC_ID_ROQ_DPCM       = AVCodecID(C.AV_CODEC_ID_ROQ_DPCM)
	AV_CODEC_ID_INTERPLAY_DPCM = AVCodecID(C.AV_CODEC_ID_INTERPLAY_DPCM)
	AV_CODEC_ID_XAN_DPCM       = AVCodecID(C.AV_CODEC_ID_XAN_DPCM)
	AV_CODEC_ID_SOL_DPCM       = AVCodecID(C.AV_CODEC_ID_SOL_DPCM)

	AV_CODEC_ID_SDX2_DPCM    = AVCodecID(C.AV_CODEC_ID_SDX2_DPCM)
	AV_CODEC_ID_GREMLIN_DPCM = AVCodecID(C.AV_CODEC_ID_GREMLIN_DPCM)
	AV_CODEC_ID_DERF_DPCM    = AVCodecID(C.AV_CODEC_ID_DERF_DPCM)

	// audio codecs
	AV_CODEC_ID_MP2            = AVCodecID(C.AV_CODEC_ID_MP2)
	AV_CODEC_ID_MP3            = AVCodecID(C.AV_CODEC_ID_MP3)
	AV_CODEC_ID_AAC            = AVCodecID(C.AV_CODEC_ID_AAC)
	AV_CODEC_ID_AC3            = AVCodecID(C.AV_CODEC_ID_AC3)
	AV_CODEC_ID_DTS            = AVCodecID(C.AV_CODEC_ID_DTS)
	AV_CODEC_ID_VORBIS         = AVCodecID(C.AV_CODEC_ID_VORBIS)
	AV_CODEC_ID_DVAUDIO        = AVCodecID(C.AV_CODEC_ID_DVAUDIO)
	AV_CODEC_ID_WMAV1          = AVCodecID(C.AV_CODEC_ID_WMAV1)
	AV_CODEC_ID_WMAV2          = AVCodecID(C.AV_CODEC_ID_WMAV2)
	AV_CODEC_ID_MACE3          = AVCodecID(C.AV_CODEC_ID_MACE3)
	AV_CODEC_ID_MACE6          = AVCodecID(C.AV_CODEC_ID_MACE6)
	AV_CODEC_ID_VMDAUDIO       = AVCodecID(C.AV_CODEC_ID_VMDAUDIO)
	AV_CODEC_ID_FLAC           = AVCodecID(C.AV_CODEC_ID_FLAC)
	AV_CODEC_ID_MP3ADU         = AVCodecID(C.AV_CODEC_ID_MP3ADU)
	AV_CODEC_ID_MP3ON4         = AVCodecID(C.AV_CODEC_ID_MP3ON4)
	AV_CODEC_ID_SHORTEN        = AVCodecID(C.AV_CODEC_ID_SHORTEN)
	AV_CODEC_ID_ALAC           = AVCodecID(C.AV_CODEC_ID_ALAC)
	AV_CODEC_ID_WESTWOOD_SND1  = AVCodecID(C.AV_CODEC_ID_WESTWOOD_SND1)
	AV_CODEC_ID_GSM            = AVCodecID(C.AV_CODEC_ID_GSM)
	AV_CODEC_ID_QDM2           = AVCodecID(C.AV_CODEC_ID_QDM2)
	AV_CODEC_ID_COOK           = AVCodecID(C.AV_CODEC_ID_COOK)
	AV_CODEC_ID_TRUESPEECH     = AVCodecID(C.AV_CODEC_ID_TRUESPEECH)
	AV_CODEC_ID_TTA            = AVCodecID(C.AV_CODEC_ID_TTA)
	AV_CODEC_ID_SMACKAUDIO     = AVCodecID(C.AV_CODEC_ID_SMACKAUDIO)
	AV_CODEC_ID_QCELP          = AVCodecID(C.AV_CODEC_ID_QCELP)
	AV_CODEC_ID_WAVPACK        = AVCodecID(C.AV_CODEC_ID_WAVPACK)
	AV_CODEC_ID_DSICINAUDIO    = AVCodecID(C.AV_CODEC_ID_DSICINAUDIO)
	AV_CODEC_ID_IMC            = AVCodecID(C.AV_CODEC_ID_IMC)
	AV_CODEC_ID_MUSEPACK7      = AVCodecID(C.AV_CODEC_ID_MUSEPACK7)
	AV_CODEC_ID_MLP            = AVCodecID(C.AV_CODEC_ID_MLP)
	AV_CODEC_ID_GSM_MS         = AVCodecID(C.AV_CODEC_ID_GSM_MS)
	AV_CODEC_ID_ATRAC3         = AVCodecID(C.AV_CODEC_ID_ATRAC3)
	AV_CODEC_ID_APE            = AVCodecID(C.AV_CODEC_ID_APE)
	AV_CODEC_ID_NELLYMOSER     = AVCodecID(C.AV_CODEC_ID_NELLYMOSER)
	AV_CODEC_ID_MUSEPACK8      = AVCodecID(C.AV_CODEC_ID_MUSEPACK8)
	AV_CODEC_ID_SPEEX          = AVCodecID(C.AV_CODEC_ID_SPEEX)
	AV_CODEC_ID_WMAVOICE       = AVCodecID(C.AV_CODEC_ID_WMAVOICE)
	AV_CODEC_ID_WMAPRO         = AVCodecID(C.AV_CODEC_ID_WMAPRO)
	AV_CODEC_ID_WMALOSSLESS    = AVCodecID(C.AV_CODEC_ID_WMALOSSLESS)
	AV_CODEC_ID_ATRAC3P        = AVCodecID(C.AV_CODEC_ID_ATRAC3P)
	AV_CODEC_ID_EAC3           = AVCodecID(C.AV_CODEC_ID_EAC3)
	AV_CODEC_ID_SIPR           = AVCodecID(C.AV_CODEC_ID_SIPR)
	AV_CODEC_ID_MP1            = AVCodecID(C.AV_CODEC_ID_MP1)
	AV_CODEC_ID_TWINVQ         = AVCodecID(C.AV_CODEC_ID_TWINVQ)
	AV_CODEC_ID_TRUEHD         = AVCodecID(C.AV_CODEC_ID_TRUEHD)
	AV_CODEC_ID_MP4ALS         = AVCodecID(C.AV_CODEC_ID_MP4ALS)
	AV_CODEC_ID_ATRAC1         = AVCodecID(C.AV_CODEC_ID_ATRAC1)
	AV_CODEC_ID_BINKAUDIO_RDFT = AVCodecID(C.AV_CODEC_ID_BINKAUDIO_RDFT)
	AV_CODEC_ID_BINKAUDIO_DCT  = AVCodecID(C.AV_CODEC_ID_BINKAUDIO_DCT)
	AV_CODEC_ID_AAC_LATM       = AVCodecID(C.AV_CODEC_ID_AAC_LATM)
	AV_CODEC_ID_QDMC           = AVCodecID(C.AV_CODEC_ID_QDMC)
	AV_CODEC_ID_CELT           = AVCodecID(C.AV_CODEC_ID_CELT)
	AV_CODEC_ID_G723_1         = AVCodecID(C.AV_CODEC_ID_G723_1)
	AV_CODEC_ID_G729           = AVCodecID(C.AV_CODEC_ID_G729)
	AV_CODEC_ID_8SVX_EXP       = AVCodecID(C.AV_CODEC_ID_8SVX_EXP)
	AV_CODEC_ID_8SVX_FIB       = AVCodecID(C.AV_CODEC_ID_8SVX_FIB)
	AV_CODEC_ID_BMV_AUDIO      = AVCodecID(C.AV_CODEC_ID_BMV_AUDIO)
	AV_CODEC_ID_RALF           = AVCodecID(C.AV_CODEC_ID_RALF)
	AV_CODEC_ID_IAC            = AVCodecID(C.AV_CODEC_ID_IAC)
	AV_CODEC_ID_ILBC           = AVCodecID(C.AV_CODEC_ID_ILBC)
	AV_CODEC_ID_OPUS           = AVCodecID(C.AV_CODEC_ID_OPUS)
	AV_CODEC_ID_COMFORT_NOISE  = AVCodecID(C.AV_CODEC_ID_COMFORT_NOISE)
	AV_CODEC_ID_TAK            = AVCodecID(C.AV_CODEC_ID_TAK)
	AV_CODEC_ID_METASOUND      = AVCodecID(C.AV_CODEC_ID_METASOUND)
	AV_CODEC_ID_PAF_AUDIO      = AVCodecID(C.AV_CODEC_ID_PAF_AUDIO)
	AV_CODEC_ID_ON2AVC         = AVCodecID(C.AV_CODEC_ID_ON2AVC)
	AV_CODEC_ID_DSS_SP         = AVCodecID(C.AV_CODEC_ID_DSS_SP)
	AV_CODEC_ID_CODEC2         = AVCodecID(C.AV_CODEC_ID_CODEC2)

	AV_CODEC_ID_FFWAVESYNTH     = AVCodecID(C.AV_CODEC_ID_FFWAVESYNTH)
	AV_CODEC_ID_SONIC           = AVCodecID(C.AV_CODEC_ID_SONIC)
	AV_CODEC_ID_SONIC_LS        = AVCodecID(C.AV_CODEC_ID_SONIC_LS)
	AV_CODEC_ID_EVRC            = AVCodecID(C.AV_CODEC_ID_EVRC)
	AV_CODEC_ID_SMV             = AVCodecID(C.AV_CODEC_ID_SMV)
	AV_CODEC_ID_DSD_LSBF        = AVCodecID(C.AV_CODEC_ID_DSD_LSBF)
	AV_CODEC_ID_DSD_MSBF        = AVCodecID(C.AV_CODEC_ID_DSD_MSBF)
	AV_CODEC_ID_DSD_LSBF_PLANAR = AVCodecID(C.AV_CODEC_ID_DSD_LSBF_PLANAR)
	AV_CODEC_ID_DSD_MSBF_PLANAR = AVCodecID(C.AV_CODEC_ID_DSD_MSBF_PLANAR)
	AV_CODEC_ID_4GV             = AVCodecID(C.AV_CODEC_ID_4GV)
	AV_CODEC_ID_INTERPLAY_ACM   = AVCodecID(C.AV_CODEC_ID_INTERPLAY_ACM)
	AV_CODEC_ID_XMA1            = AVCodecID(C.AV_CODEC_ID_XMA1)
	AV_CODEC_ID_XMA2            = AVCodecID(C.AV_CODEC_ID_XMA2)
	AV_CODEC_ID_DST             = AVCodecID(C.AV_CODEC_ID_DST)
	AV_CODEC_ID_ATRAC3AL        = AVCodecID(C.AV_CODEC_ID_ATRAC3AL)
	AV_CODEC_ID_ATRAC3PAL       = AVCodecID(C.AV_CODEC_ID_ATRAC3PAL)
	AV_CODEC_ID_DOLBY_E         = AVCodecID(C.AV_CODEC_ID_DOLBY_E)
	AV_CODEC_ID_APTX            = AVCodecID(C.AV_CODEC_ID_APTX)
	AV_CODEC_ID_APTX_HD         = AVCodecID(C.AV_CODEC_ID_APTX_HD)
	AV_CODEC_ID_SBC             = AVCodecID(C.AV_CODEC_ID_SBC)
	AV_CODEC_ID_ATRAC9          = AVCodecID(C.AV_CODEC_ID_ATRAC9)
	AV_CODEC_ID_HCOM            = AVCodecID(C.AV_CODEC_ID_HCOM)
	AV_CODEC_ID_ACELP_KELVIN    = AVCodecID(C.AV_CODEC_ID_ACELP_KELVIN)
	AV_CODEC_ID_MPEGH_3D_AUDIO  = AVCodecID(C.AV_CODEC_ID_MPEGH_3D_AUDIO)
	AV_CODEC_ID_SIREN           = AVCodecID(C.AV_CODEC_ID_SIREN)
	AV_CODEC_ID_HCA             = AVCodecID(C.AV_CODEC_ID_HCA)
	AV_CODEC_ID_FASTAUDIO       = AVCodecID(C.AV_CODEC_ID_FASTAUDIO)
	AV_CODEC_ID_MSNSIREN        = AVCodecID(C.AV_CODEC_ID_MSNSIREN)
	AV_CODEC_ID_DFPWM           = AVCodecID(C.AV_CODEC_ID_DFPWM)
	AV_CODEC_ID_BONK            = AVCodecID(C.AV_CODEC_ID_BONK)
	AV_CODEC_ID_MISC4           = AVCodecID(C.AV_CODEC_ID_MISC4)
	AV_CODEC_ID_APAC            = AVCodecID(C.AV_CODEC_ID_APAC)
	AV_CODEC_ID_FTR             = AVCodecID(C.AV_CODEC_ID_FTR)
	AV_CODEC_ID_WAVARC          = AVCodecID(C.AV_CODEC_ID_WAVARC)
	AV_CODEC_ID_RKA             = AVCodecID(C.AV_CODEC_ID_RKA)
	AV_CODEC_ID_AC4             = AVCodecID(C.AV_CODEC_ID_AC4)
	AV_CODEC_ID_OSQ             = AVCodecID(C.AV_CODEC_ID_OSQ)

	// subtitle codecs
	AV_CODEC_ID_FIRST_SUBTITLE    = AVCodecID(C.AV_CODEC_ID_FIRST_SUBTITLE)
	AV_CODEC_ID_DVD_SUBTITLE      = AVCodecID(C.AV_CODEC_ID_DVD_SUBTITLE)
	AV_CODEC_ID_DVB_SUBTITLE      = AVCodecID(C.AV_CODEC_ID_DVB_SUBTITLE)
	AV_CODEC_ID_TEXT              = AVCodecID(C.AV_CODEC_ID_TEXT)
	AV_CODEC_ID_XSUB              = AVCodecID(C.AV_CODEC_ID_XSUB)
	AV_CODEC_ID_SSA               = AVCodecID(C.AV_CODEC_ID_SSA)
	AV_CODEC_ID_MOV_TEXT          = AVCodecID(C.AV_CODEC_ID_MOV_TEXT)
	AV_CODEC_ID_HDMV_PGS_SUBTITLE = AVCodecID(C.AV_CODEC_ID_HDMV_PGS_SUBTITLE)
	AV_CODEC_ID_DVB_TELETEXT      = AVCodecID(C.AV_CODEC_ID_DVB_TELETEXT)
	AV_CODEC_ID_SRT               = AVCodecID(C.AV_CODEC_ID_SRT)

	AV_CODEC_ID_MICRODVD           = AVCodecID(C.AV_CODEC_ID_MICRODVD)
	AV_CODEC_ID_EIA_608            = AVCodecID(C.AV_CODEC_ID_EIA_608)
	AV_CODEC_ID_JACOSUB            = AVCodecID(C.AV_CODEC_ID_JACOSUB)
	AV_CODEC_ID_SAMI               = AVCodecID(C.AV_CODEC_ID_SAMI)
	AV_CODEC_ID_REALTEXT           = AVCodecID(C.AV_CODEC_ID_REALTEXT)
	AV_CODEC_ID_STL                = AVCodecID(C.AV_CODEC_ID_STL)
	AV_CODEC_ID_SUBVIEWER1         = AVCodecID(C.AV_CODEC_ID_SUBVIEWER1)
	AV_CODEC_ID_SUBVIEWER          = AVCodecID(C.AV_CODEC_ID_SUBVIEWER)
	AV_CODEC_ID_SUBRIP             = AVCodecID(C.AV_CODEC_ID_SUBRIP)
	AV_CODEC_ID_WEBVTT             = AVCodecID(C.AV_CODEC_ID_WEBVTT)
	AV_CODEC_ID_MPL2               = AVCodecID(C.AV_CODEC_ID_MPL2)
	AV_CODEC_ID_VPLAYER            = AVCodecID(C.AV_CODEC_ID_VPLAYER)
	AV_CODEC_ID_PJS                = AVCodecID(C.AV_CODEC_ID_PJS)
	AV_CODEC_ID_ASS                = AVCodecID(C.AV_CODEC_ID_ASS)
	AV_CODEC_ID_HDMV_TEXT_SUBTITLE = AVCodecID(C.AV_CODEC_ID_HDMV_TEXT_SUBTITLE)
	AV_CODEC_ID_TTML               = AVCodecID(C.AV_CODEC_ID_TTML)
	AV_CODEC_ID_ARIB_CAPTION       = AVCodecID(C.AV_CODEC_ID_ARIB_CAPTION)

	// other specific kind of codecs (generally used for attachments)
	AV_CODEC_ID_FIRST_UNKNOWN = AVCodecID(C.AV_CODEC_ID_FIRST_UNKNOWN)
	AV_CODEC_ID_TTF           = AVCodecID(C.AV_CODEC_ID_TTF)

	AV_CODEC_ID_SCTE_35   = AVCodecID(C.AV_CODEC_ID_SCTE_35)
	AV_CODEC_ID_EPG       = AVCodecID(C.AV_CODEC_ID_EPG)
	AV_CODEC_ID_BINTEXT   = AVCodecID(C.AV_CODEC_ID_BINTEXT)
	AV_CODEC_ID_XBIN      = AVCodecID(C.AV_CODEC_ID_XBIN)
	AV_CODEC_ID_IDF       = AVCodecID(C.AV_CODEC_ID_IDF)
	AV_CODEC_ID_OTF       = AVCodecID(C.AV_CODEC_ID_OTF)
	AV_CODEC_ID_SMPTE_KLV = AVCodecID(C.AV_CODEC_ID_SMPTE_KLV)
	AV_CODEC_ID_DVD_NAV   = AVCodecID(C.AV_CODEC_ID_DVD_NAV)
	AV_CODEC_ID_TIMED_ID3 = AVCodecID(C.AV_CODEC_ID_TIMED_ID3)
	AV_CODEC_ID_BIN_DATA  = AVCodecID(C.AV_CODEC_ID_BIN_DATA)

	// codec_id is not known (like AV_CODEC_ID_NONE) but lavf should attempt to identify it
	AV_CODEC_ID_PROBE = AVCodecID(C.AV_CODEC_ID_PROBE)

	// Fake codec to indicate a raw MPEG-2 TS stream (only used by libavformat)
	AV_CODEC_ID_MPEG2TS = AVCodecID(C.AV_CODEC_ID_MPEG2TS)

	// Fake codec to indicate a MPEG-4 Systems stream (only used by libavformat)
	AV_CODEC_ID_MPEG4SYSTEMS = AVCodecID(C.AV_CODEC_ID_MPEG4SYSTEMS)

	// Dummy codec for streams containing only metadata information.
	AV_CODEC_ID_FFMETADATA = AVCodecID(C.AV_CODEC_ID_FFMETADATA)
	// Passthrough codec, AVFrames wrapped in AVPacket.
	AV_CODEC_ID_WRAPPED_AVFRAME = AVCodecID(C.AV_CODEC_ID_WRAPPED_AVFRAME)
)
View Source
const (
	AV_EF_CRCCHECK   = int32(C.AV_EF_CRCCHECK)
	AV_EF_BITSTREAM  = int32(C.AV_EF_BITSTREAM)
	AV_EF_BUFFER     = int32(C.AV_EF_BUFFER)
	AV_EF_EXPLODE    = int32(C.AV_EF_EXPLODE)
	AV_EF_IGNORE_ERR = int32(C.AV_EF_IGNORE_ERR)
	AV_EF_CAREFUL    = int32(C.AV_EF_CAREFUL)
	AV_EF_COMPLIANT  = int32(C.AV_EF_COMPLIANT)
	AV_EF_AGGRESSIVE = int32(C.AV_EF_AGGRESSIVE)
)
View Source
const (
	FF_COMPLIANCE_VERY_STRICT  = int32(C.FF_COMPLIANCE_VERY_STRICT)
	FF_COMPLIANCE_STRICT       = int32(C.FF_COMPLIANCE_STRICT)
	FF_COMPLIANCE_NORMAL       = int32(C.FF_COMPLIANCE_NORMAL)
	FF_COMPLIANCE_UNOFFICIAL   = int32(C.FF_COMPLIANCE_UNOFFICIAL)
	FF_COMPLIANCE_EXPERIMENTAL = int32(C.FF_COMPLIANCE_EXPERIMENTAL)
)
View Source
const (
	AV_PROFILE_UNKNOWN                               = int32(C.AV_PROFILE_UNKNOWN)
	AV_PROFILE_RESERVED                              = int32(C.AV_PROFILE_RESERVED)
	AV_PROFILE_AAC_MAIN                              = int32(C.AV_PROFILE_AAC_MAIN)
	AV_PROFILE_AAC_LOW                               = int32(C.AV_PROFILE_AAC_LOW)
	AV_PROFILE_AAC_SSR                               = int32(C.AV_PROFILE_AAC_SSR)
	AV_PROFILE_AAC_LTP                               = int32(C.AV_PROFILE_AAC_LTP)
	AV_PROFILE_AAC_HE                                = int32(C.AV_PROFILE_AAC_HE)
	AV_PROFILE_AAC_HE_V2                             = int32(C.AV_PROFILE_AAC_HE_V2)
	AV_PROFILE_AAC_LD                                = int32(C.AV_PROFILE_AAC_LD)
	AV_PROFILE_AAC_ELD                               = int32(C.AV_PROFILE_AAC_ELD)
	AV_PROFILE_MPEG2_AAC_LOW                         = int32(C.AV_PROFILE_MPEG2_AAC_LOW)
	AV_PROFILE_MPEG2_AAC_HE                          = int32(C.AV_PROFILE_MPEG2_AAC_HE)
	AV_PROFILE_DNXHD                                 = int32(C.AV_PROFILE_DNXHD)
	AV_PROFILE_DNXHR_LB                              = int32(C.AV_PROFILE_DNXHR_LB)
	AV_PROFILE_DNXHR_SQ                              = int32(C.AV_PROFILE_DNXHR_SQ)
	AV_PROFILE_DNXHR_HQ                              = int32(C.AV_PROFILE_DNXHR_HQ)
	AV_PROFILE_DNXHR_HQX                             = int32(C.AV_PROFILE_DNXHR_HQX)
	AV_PROFILE_DNXHR_444                             = int32(C.AV_PROFILE_DNXHR_444)
	AV_PROFILE_DTS                                   = int32(C.AV_PROFILE_DTS)
	AV_PROFILE_DTS_ES                                = int32(C.AV_PROFILE_DTS_ES)
	AV_PROFILE_DTS_96_24                             = int32(C.AV_PROFILE_DTS_96_24)
	AV_PROFILE_DTS_HD_HRA                            = int32(C.AV_PROFILE_DTS_HD_HRA)
	AV_PROFILE_DTS_HD_MA                             = int32(C.AV_PROFILE_DTS_HD_MA)
	AV_PROFILE_DTS_EXPRESS                           = int32(C.AV_PROFILE_DTS_EXPRESS)
	AV_PROFILE_DTS_HD_MA_X                           = int32(C.AV_PROFILE_DTS_HD_MA_X)
	AV_PROFILE_DTS_HD_MA_X_IMAX                      = int32(C.AV_PROFILE_DTS_HD_MA_X_IMAX)
	AV_PROFILE_EAC3_DDP_ATMOS                        = int32(C.AV_PROFILE_EAC3_DDP_ATMOS)
	AV_PROFILE_TRUEHD_ATMOS                          = int32(C.AV_PROFILE_TRUEHD_ATMOS)
	AV_PROFILE_MPEG2_422                             = int32(C.AV_PROFILE_MPEG2_422)
	AV_PROFILE_MPEG2_HIGH                            = int32(C.AV_PROFILE_MPEG2_HIGH)
	AV_PROFILE_MPEG2_SS                              = int32(C.AV_PROFILE_MPEG2_SS)
	AV_PROFILE_MPEG2_SNR_SCALABLE                    = int32(C.AV_PROFILE_MPEG2_SNR_SCALABLE)
	AV_PROFILE_MPEG2_MAIN                            = int32(C.AV_PROFILE_MPEG2_MAIN)
	AV_PROFILE_MPEG2_SIMPLE                          = int32(C.AV_PROFILE_MPEG2_SIMPLE)
	AV_PROFILE_H264_CONSTRAINED                      = int32(C.AV_PROFILE_H264_CONSTRAINED)
	AV_PROFILE_H264_INTRA                            = int32(C.AV_PROFILE_H264_INTRA)
	AV_PROFILE_H264_BASELINE                         = int32(C.AV_PROFILE_H264_BASELINE)
	AV_PROFILE_H264_CONSTRAINED_BASELINE             = int32(C.AV_PROFILE_H264_CONSTRAINED_BASELINE)
	AV_PROFILE_H264_MAIN                             = int32(C.AV_PROFILE_H264_MAIN)
	AV_PROFILE_H264_EXTENDED                         = int32(C.AV_PROFILE_H264_EXTENDED)
	AV_PROFILE_H264_HIGH                             = int32(C.AV_PROFILE_H264_HIGH)
	AV_PROFILE_H264_HIGH_10                          = int32(C.AV_PROFILE_H264_HIGH_10)
	AV_PROFILE_H264_HIGH_10_INTRA                    = int32(C.AV_PROFILE_H264_HIGH_10_INTRA)
	AV_PROFILE_H264_MULTIVIEW_HIGH                   = int32(C.AV_PROFILE_H264_MULTIVIEW_HIGH)
	AV_PROFILE_H264_HIGH_422                         = int32(C.AV_PROFILE_H264_HIGH_422)
	AV_PROFILE_H264_HIGH_422_INTRA                   = int32(C.AV_PROFILE_H264_HIGH_422_INTRA)
	AV_PROFILE_H264_STEREO_HIGH                      = int32(C.AV_PROFILE_H264_STEREO_HIGH)
	AV_PROFILE_H264_HIGH_444                         = int32(C.AV_PROFILE_H264_HIGH_444)
	AV_PROFILE_H264_HIGH_444_PREDICTIVE              = int32(C.AV_PROFILE_H264_HIGH_444_PREDICTIVE)
	AV_PROFILE_H264_HIGH_444_INTRA                   = int32(C.AV_PROFILE_H264_HIGH_444_INTRA)
	AV_PROFILE_H264_CAVLC_444                        = int32(C.AV_PROFILE_H264_CAVLC_444)
	AV_PROFILE_VC1_SIMPLE                            = int32(C.AV_PROFILE_VC1_SIMPLE)
	AV_PROFILE_VC1_MAIN                              = int32(C.AV_PROFILE_VC1_MAIN)
	AV_PROFILE_VC1_COMPLEX                           = int32(C.AV_PROFILE_VC1_COMPLEX)
	AV_PROFILE_VC1_ADVANCED                          = int32(C.AV_PROFILE_VC1_ADVANCED)
	AV_PROFILE_MPEG4_SIMPLE                          = int32(C.AV_PROFILE_MPEG4_SIMPLE)
	AV_PROFILE_MPEG4_SIMPLE_SCALABLE                 = int32(C.AV_PROFILE_MPEG4_SIMPLE_SCALABLE)
	AV_PROFILE_MPEG4_CORE                            = int32(C.AV_PROFILE_MPEG4_CORE)
	AV_PROFILE_MPEG4_MAIN                            = int32(C.AV_PROFILE_MPEG4_MAIN)
	AV_PROFILE_MPEG4_N_BIT                           = int32(C.AV_PROFILE_MPEG4_N_BIT)
	AV_PROFILE_MPEG4_SCALABLE_TEXTURE                = int32(C.AV_PROFILE_MPEG4_SCALABLE_TEXTURE)
	AV_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION           = int32(C.AV_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION)
	AV_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE          = int32(C.AV_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE)
	AV_PROFILE_MPEG4_HYBRID                          = int32(C.AV_PROFILE_MPEG4_HYBRID)
	AV_PROFILE_MPEG4_ADVANCED_REAL_TIME              = int32(C.AV_PROFILE_MPEG4_ADVANCED_REAL_TIME)
	AV_PROFILE_MPEG4_CORE_SCALABLE                   = int32(C.AV_PROFILE_MPEG4_CORE_SCALABLE)
	AV_PROFILE_MPEG4_ADVANCED_CODING                 = int32(C.AV_PROFILE_MPEG4_ADVANCED_CODING)
	AV_PROFILE_MPEG4_ADVANCED_CORE                   = int32(C.AV_PROFILE_MPEG4_ADVANCED_CORE)
	AV_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE       = int32(C.AV_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE)
	AV_PROFILE_MPEG4_SIMPLE_STUDIO                   = int32(C.AV_PROFILE_MPEG4_SIMPLE_STUDIO)
	AV_PROFILE_MPEG4_ADVANCED_SIMPLE                 = int32(C.AV_PROFILE_MPEG4_ADVANCED_SIMPLE)
	AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0        = int32(C.AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0)
	AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1        = int32(C.AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1)
	AV_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION       = int32(C.AV_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION)
	AV_PROFILE_JPEG2000_DCINEMA_2K                   = int32(C.AV_PROFILE_JPEG2000_DCINEMA_2K)
	AV_PROFILE_JPEG2000_DCINEMA_4K                   = int32(C.AV_PROFILE_JPEG2000_DCINEMA_4K)
	AV_PROFILE_VP9_0                                 = int32(C.AV_PROFILE_VP9_0)
	AV_PROFILE_VP9_1                                 = int32(C.AV_PROFILE_VP9_1)
	AV_PROFILE_VP9_2                                 = int32(C.AV_PROFILE_VP9_2)
	AV_PROFILE_VP9_3                                 = int32(C.AV_PROFILE_VP9_3)
	AV_PROFILE_HEVC_MAIN                             = int32(C.AV_PROFILE_HEVC_MAIN)
	AV_PROFILE_HEVC_MAIN_10                          = int32(C.AV_PROFILE_HEVC_MAIN_10)
	AV_PROFILE_HEVC_MAIN_STILL_PICTURE               = int32(C.AV_PROFILE_HEVC_MAIN_STILL_PICTURE)
	AV_PROFILE_HEVC_REXT                             = int32(C.AV_PROFILE_HEVC_REXT)
	AV_PROFILE_HEVC_SCC                              = int32(C.AV_PROFILE_HEVC_SCC)
	AV_PROFILE_VVC_MAIN_10                           = int32(C.AV_PROFILE_VVC_MAIN_10)
	AV_PROFILE_VVC_MAIN_10_444                       = int32(C.AV_PROFILE_VVC_MAIN_10_444)
	AV_PROFILE_AV1_MAIN                              = int32(C.AV_PROFILE_AV1_MAIN)
	AV_PROFILE_AV1_HIGH                              = int32(C.AV_PROFILE_AV1_HIGH)
	AV_PROFILE_AV1_PROFESSIONAL                      = int32(C.AV_PROFILE_AV1_PROFESSIONAL)
	AV_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT            = int32(C.AV_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT)
	AV_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT = int32(C.AV_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT)
	AV_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT         = int32(C.AV_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT)
	AV_PROFILE_MJPEG_HUFFMAN_LOSSLESS                = int32(C.AV_PROFILE_MJPEG_HUFFMAN_LOSSLESS)
	AV_PROFILE_MJPEG_JPEG_LS                         = int32(C.AV_PROFILE_MJPEG_JPEG_LS)
	AV_PROFILE_SBC_MSBC                              = int32(C.AV_PROFILE_SBC_MSBC)
	AV_PROFILE_PRORES_PROXY                          = int32(C.AV_PROFILE_PRORES_PROXY)
	AV_PROFILE_PRORES_LT                             = int32(C.AV_PROFILE_PRORES_LT)
	AV_PROFILE_PRORES_STANDARD                       = int32(C.AV_PROFILE_PRORES_STANDARD)
	AV_PROFILE_PRORES_HQ                             = int32(C.AV_PROFILE_PRORES_HQ)
	AV_PROFILE_PRORES_4444                           = int32(C.AV_PROFILE_PRORES_4444)
	AV_PROFILE_PRORES_XQ                             = int32(C.AV_PROFILE_PRORES_XQ)
	AV_PROFILE_ARIB_PROFILE_A                        = int32(C.AV_PROFILE_ARIB_PROFILE_A)
	AV_PROFILE_ARIB_PROFILE_C                        = int32(C.AV_PROFILE_ARIB_PROFILE_C)
	AV_PROFILE_KLVA_SYNC                             = int32(C.AV_PROFILE_KLVA_SYNC)
	AV_PROFILE_KLVA_ASYNC                            = int32(C.AV_PROFILE_KLVA_ASYNC)
	AV_PROFILE_EVC_BASELINE                          = int32(C.AV_PROFILE_EVC_BASELINE)
	AV_PROFILE_EVC_MAIN                              = int32(C.AV_PROFILE_EVC_MAIN)
)
View Source
const (
	AV_FIELD_UNKNOWN     = AVFieldOrder(C.AV_FIELD_UNKNOWN)
	AV_FIELD_PROGRESSIVE = AVFieldOrder(C.AV_FIELD_PROGRESSIVE)
	AV_FIELD_TT          = AVFieldOrder(C.AV_FIELD_TT)
	AV_FIELD_BB          = AVFieldOrder(C.AV_FIELD_BB)
	AV_FIELD_TB          = AVFieldOrder(C.AV_FIELD_TB)
	AV_FIELD_BT          = AVFieldOrder(C.AV_FIELD_BT)
)
View Source
const (
	AVDISCARD_NONE     = AVDiscard(C.AVDISCARD_NONE)
	AVDISCARD_DEFAULT  = AVDiscard(C.AVDISCARD_DEFAULT)
	AVDISCARD_NONREF   = AVDiscard(C.AVDISCARD_NONREF)
	AVDISCARD_BIDIR    = AVDiscard(C.AVDISCARD_BIDIR)
	AVDISCARD_NONINTRA = AVDiscard(C.AVDISCARD_NONINTRA)
	AVDISCARD_NONKEY   = AVDiscard(C.AVDISCARD_NONKEY)
	AVDISCARD_ALL      = AVDiscard(C.AVDISCARD_ALL)
)
View Source
const (
	AV_AUDIO_SERVICE_TYPE_MAIN              = AVAudioServiceType(C.AV_AUDIO_SERVICE_TYPE_MAIN)
	AV_AUDIO_SERVICE_TYPE_EFFECTS           = AVAudioServiceType(C.AV_AUDIO_SERVICE_TYPE_EFFECTS)
	AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED = AVAudioServiceType(C.AV_AUDIO_SERVICE_TYPE_VISUALLY_IMPAIRED)
	AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED  = AVAudioServiceType(C.AV_AUDIO_SERVICE_TYPE_HEARING_IMPAIRED)
	AV_AUDIO_SERVICE_TYPE_DIALOGUE          = AVAudioServiceType(C.AV_AUDIO_SERVICE_TYPE_DIALOGUE)
	AV_AUDIO_SERVICE_TYPE_COMMENTARY        = AVAudioServiceType(C.AV_AUDIO_SERVICE_TYPE_COMMENTARY)
	AV_AUDIO_SERVICE_TYPE_EMERGENCY         = AVAudioServiceType(C.AV_AUDIO_SERVICE_TYPE_EMERGENCY)
	AV_AUDIO_SERVICE_TYPE_VOICE_OVER        = AVAudioServiceType(C.AV_AUDIO_SERVICE_TYPE_VOICE_OVER)
	AV_AUDIO_SERVICE_TYPE_KARAOKE           = AVAudioServiceType(C.AV_AUDIO_SERVICE_TYPE_KARAOKE)
	AV_AUDIO_SERVICE_TYPE_NB                = AVAudioServiceType(C.AV_AUDIO_SERVICE_TYPE_NB)
)
View Source
const (
	DIRAC_PCODE_SEQ_HEADER      = DiracParseCodes(C.DIRAC_PCODE_SEQ_HEADER)
	DIRAC_PCODE_END_SEQ         = DiracParseCodes(C.DIRAC_PCODE_END_SEQ)
	DIRAC_PCODE_AUX             = DiracParseCodes(C.DIRAC_PCODE_AUX)
	DIRAC_PCODE_PAD             = DiracParseCodes(C.DIRAC_PCODE_PAD)
	DIRAC_PCODE_PICTURE_CODED   = DiracParseCodes(C.DIRAC_PCODE_PICTURE_CODED)
	DIRAC_PCODE_PICTURE_RAW     = DiracParseCodes(C.DIRAC_PCODE_PICTURE_RAW)
	DIRAC_PCODE_PICTURE_LOW_DEL = DiracParseCodes(C.DIRAC_PCODE_PICTURE_LOW_DEL)
	DIRAC_PCODE_PICTURE_HQ      = DiracParseCodes(C.DIRAC_PCODE_PICTURE_HQ)
	DIRAC_PCODE_INTER_NOREF_CO1 = DiracParseCodes(C.DIRAC_PCODE_INTER_NOREF_CO1)
	DIRAC_PCODE_INTER_NOREF_CO2 = DiracParseCodes(C.DIRAC_PCODE_INTER_NOREF_CO2)
	DIRAC_PCODE_INTER_REF_CO1   = DiracParseCodes(C.DIRAC_PCODE_INTER_REF_CO1)
	DIRAC_PCODE_INTER_REF_CO2   = DiracParseCodes(C.DIRAC_PCODE_INTER_REF_CO2)
	DIRAC_PCODE_INTRA_REF_CO    = DiracParseCodes(C.DIRAC_PCODE_INTRA_REF_CO)
	DIRAC_PCODE_INTRA_REF_RAW   = DiracParseCodes(C.DIRAC_PCODE_INTRA_REF_RAW)
	DIRAC_PCODE_INTRA_REF_PICT  = DiracParseCodes(C.DIRAC_PCODE_INTRA_REF_PICT)
	DIRAC_PCODE_MAGIC           = DiracParseCodes(C.DIRAC_PCODE_MAGIC)
)
View Source
const (
	AV_PKT_DATA_PALETTE                     = AVPacketSideDataType(C.AV_PKT_DATA_PALETTE)
	AV_PKT_DATA_NEW_EXTRADATA               = AVPacketSideDataType(C.AV_PKT_DATA_NEW_EXTRADATA)
	AV_PKT_DATA_PARAM_CHANGE                = AVPacketSideDataType(C.AV_PKT_DATA_PARAM_CHANGE)
	AV_PKT_DATA_H263_MB_INFO                = AVPacketSideDataType(C.AV_PKT_DATA_H263_MB_INFO)
	AV_PKT_DATA_REPLAYGAIN                  = AVPacketSideDataType(C.AV_PKT_DATA_REPLAYGAIN)
	AV_PKT_DATA_DISPLAYMATRIX               = AVPacketSideDataType(C.AV_PKT_DATA_DISPLAYMATRIX)
	AV_PKT_DATA_STEREO3D                    = AVPacketSideDataType(C.AV_PKT_DATA_STEREO3D)
	AV_PKT_DATA_AUDIO_SERVICE_TYPE          = AVPacketSideDataType(C.AV_PKT_DATA_AUDIO_SERVICE_TYPE)
	AV_PKT_DATA_QUALITY_STATS               = AVPacketSideDataType(C.AV_PKT_DATA_QUALITY_STATS)
	AV_PKT_DATA_FALLBACK_TRACK              = AVPacketSideDataType(C.AV_PKT_DATA_FALLBACK_TRACK)
	AV_PKT_DATA_CPB_PROPERTIES              = AVPacketSideDataType(C.AV_PKT_DATA_CPB_PROPERTIES)
	AV_PKT_DATA_SKIP_SAMPLES                = AVPacketSideDataType(C.AV_PKT_DATA_SKIP_SAMPLES)
	AV_PKT_DATA_JP_DUALMONO                 = AVPacketSideDataType(C.AV_PKT_DATA_JP_DUALMONO)
	AV_PKT_DATA_STRINGS_METADATA            = AVPacketSideDataType(C.AV_PKT_DATA_STRINGS_METADATA)
	AV_PKT_DATA_SUBTITLE_POSITION           = AVPacketSideDataType(C.AV_PKT_DATA_SUBTITLE_POSITION)
	AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL    = AVPacketSideDataType(C.AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL)
	AV_PKT_DATA_WEBVTT_IDENTIFIER           = AVPacketSideDataType(C.AV_PKT_DATA_WEBVTT_IDENTIFIER)
	AV_PKT_DATA_WEBVTT_SETTINGS             = AVPacketSideDataType(C.AV_PKT_DATA_WEBVTT_SETTINGS)
	AV_PKT_DATA_METADATA_UPDATE             = AVPacketSideDataType(C.AV_PKT_DATA_METADATA_UPDATE)
	AV_PKT_DATA_MPEGTS_STREAM_ID            = AVPacketSideDataType(C.AV_PKT_DATA_MPEGTS_STREAM_ID)
	AV_PKT_DATA_MASTERING_DISPLAY_METADATA  = AVPacketSideDataType(C.AV_PKT_DATA_MASTERING_DISPLAY_METADATA)
	AV_PKT_DATA_SPHERICAL                   = AVPacketSideDataType(C.AV_PKT_DATA_SPHERICAL)
	AV_PKT_DATA_CONTENT_LIGHT_LEVEL         = AVPacketSideDataType(C.AV_PKT_DATA_CONTENT_LIGHT_LEVEL)
	AV_PKT_DATA_A53_CC                      = AVPacketSideDataType(C.AV_PKT_DATA_A53_CC)
	AV_PKT_DATA_ENCRYPTION_INIT_INFO        = AVPacketSideDataType(C.AV_PKT_DATA_ENCRYPTION_INIT_INFO)
	AV_PKT_DATA_ENCRYPTION_INFO             = AVPacketSideDataType(C.AV_PKT_DATA_ENCRYPTION_INFO)
	AV_PKT_DATA_AFD                         = AVPacketSideDataType(C.AV_PKT_DATA_AFD)
	AV_PKT_DATA_PRFT                        = AVPacketSideDataType(C.AV_PKT_DATA_PRFT)
	AV_PKT_DATA_ICC_PROFILE                 = AVPacketSideDataType(C.AV_PKT_DATA_ICC_PROFILE)
	AV_PKT_DATA_DOVI_CONF                   = AVPacketSideDataType(C.AV_PKT_DATA_DOVI_CONF)
	AV_PKT_DATA_S12M_TIMECODE               = AVPacketSideDataType(C.AV_PKT_DATA_S12M_TIMECODE)
	AV_PKT_DATA_DYNAMIC_HDR10_PLUS          = AVPacketSideDataType(C.AV_PKT_DATA_DYNAMIC_HDR10_PLUS)
	AV_PKT_DATA_IAMF_MIX_GAIN_PARAM         = AVPacketSideDataType(C.AV_PKT_DATA_IAMF_MIX_GAIN_PARAM)
	AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM    = AVPacketSideDataType(C.AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM)
	AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM  = AVPacketSideDataType(C.AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM)
	AV_PKT_DATA_AMBIENT_VIEWING_ENVIRONMENT = AVPacketSideDataType(C.AV_PKT_DATA_AMBIENT_VIEWING_ENVIRONMENT)

	AV_PKT_DATA_NB = AVPacketSideDataType(C.AV_PKT_DATA_NB)
)
View Source
const (
	AV_PKT_FLAG_KEY        = C.AV_PKT_FLAG_KEY
	AV_PKT_FLAG_CORRUPT    = C.AV_PKT_FLAG_CORRUPT
	AV_PKT_FLAG_DISCARD    = C.AV_PKT_FLAG_DISCARD
	AV_PKT_FLAG_TRUSTED    = C.AV_PKT_FLAG_TRUSTED
	AV_PKT_FLAG_DISPOSABLE = C.AV_PKT_FLAG_DISPOSABLE
)
View Source
const (
	AV_SIDE_DATA_PARAM_CHANGE_SAMPLE_RATE = AVSideDataParamChangeFlags(C.AV_SIDE_DATA_PARAM_CHANGE_SAMPLE_RATE)
	AV_SIDE_DATA_PARAM_CHANGE_DIMENSIONS  = AVSideDataParamChangeFlags(C.AV_SIDE_DATA_PARAM_CHANGE_DIMENSIONS)
)
View Source
const (
	LIBAVCODEC_VERSION_MINOR = C.LIBAVCODEC_VERSION_MINOR
	LIBAVCODEC_VERSION_MICRO = C.LIBAVCODEC_VERSION_MICRO
)
View Source
const (
	VORBIS_FLAG_HEADER  = C.VORBIS_FLAG_HEADER
	VORBIS_FLAG_COMMENT = C.VORBIS_FLAG_COMMENT
	VORBIS_FLAG_SETUP   = C.VORBIS_FLAG_SETUP
)
View Source
const (
	AV_APP_TO_DEV_NONE           = AVAppToDevMessageType(C.AV_APP_TO_DEV_NONE)
	AV_APP_TO_DEV_WINDOW_SIZE    = AVAppToDevMessageType(C.AV_APP_TO_DEV_WINDOW_SIZE)
	AV_APP_TO_DEV_WINDOW_REPAINT = AVAppToDevMessageType(C.AV_APP_TO_DEV_WINDOW_REPAINT)
	AV_APP_TO_DEV_PAUSE          = AVAppToDevMessageType(C.AV_APP_TO_DEV_PAUSE)
	AV_APP_TO_DEV_PLAY           = AVAppToDevMessageType(C.AV_APP_TO_DEV_PLAY)
	AV_APP_TO_DEV_TOGGLE_PAUSE   = AVAppToDevMessageType(C.AV_APP_TO_DEV_TOGGLE_PAUSE)
	AV_APP_TO_DEV_SET_VOLUME     = AVAppToDevMessageType(C.AV_APP_TO_DEV_SET_VOLUME)
	AV_APP_TO_DEV_MUTE           = AVAppToDevMessageType(C.AV_APP_TO_DEV_MUTE)
	AV_APP_TO_DEV_UNMUTE         = AVAppToDevMessageType(C.AV_APP_TO_DEV_UNMUTE)
	AV_APP_TO_DEV_TOGGLE_MUTE    = AVAppToDevMessageType(C.AV_APP_TO_DEV_TOGGLE_MUTE)
	AV_APP_TO_DEV_GET_VOLUME     = AVAppToDevMessageType(C.AV_APP_TO_DEV_GET_VOLUME)
	AV_APP_TO_DEV_GET_MUTE       = AVAppToDevMessageType(C.AV_APP_TO_DEV_GET_MUTE)
)
View Source
const (
	AV_DEV_TO_APP_NONE                  = AVDevToAppMessageType(C.AV_DEV_TO_APP_NONE)
	AV_DEV_TO_APP_CREATE_WINDOW_BUFFER  = AVDevToAppMessageType(C.AV_DEV_TO_APP_CREATE_WINDOW_BUFFER)
	AV_DEV_TO_APP_PREPARE_WINDOW_BUFFER = AVDevToAppMessageType(C.AV_DEV_TO_APP_PREPARE_WINDOW_BUFFER)
	AV_DEV_TO_APP_DISPLAY_WINDOW_BUFFER = AVDevToAppMessageType(C.AV_DEV_TO_APP_DISPLAY_WINDOW_BUFFER)
	AV_DEV_TO_APP_DESTROY_WINDOW_BUFFER = AVDevToAppMessageType(C.AV_DEV_TO_APP_DESTROY_WINDOW_BUFFER)
	AV_DEV_TO_APP_BUFFER_OVERFLOW       = AVDevToAppMessageType(C.AV_DEV_TO_APP_BUFFER_OVERFLOW)
	AV_DEV_TO_APP_BUFFER_UNDERFLOW      = AVDevToAppMessageType(C.AV_DEV_TO_APP_BUFFER_UNDERFLOW)
	AV_DEV_TO_APP_BUFFER_READABLE       = AVDevToAppMessageType(C.AV_DEV_TO_APP_BUFFER_READABLE)
	AV_DEV_TO_APP_BUFFER_WRITABLE       = AVDevToAppMessageType(C.AV_DEV_TO_APP_BUFFER_WRITABLE)
	AV_DEV_TO_APP_MUTE_STATE_CHANGED    = AVDevToAppMessageType(C.AV_DEV_TO_APP_MUTE_STATE_CHANGED)
	AV_DEV_TO_APP_VOLUME_LEVEL_CHANGED  = AVDevToAppMessageType(C.AV_DEV_TO_APP_VOLUME_LEVEL_CHANGED)
)
View Source
const (
	LIBAVDEVICE_VERSION_MINOR = C.LIBAVDEVICE_VERSION_MINOR
	LIBAVDEVICE_VERSION_MICRO = C.LIBAVDEVICE_VERSION_MICRO
)
View Source
const (
	AVFILTER_FLAG_DYNAMIC_INPUTS            = C.AVFILTER_FLAG_DYNAMIC_INPUTS
	AVFILTER_FLAG_DYNAMIC_OUTPUTS           = C.AVFILTER_FLAG_DYNAMIC_OUTPUTS
	AVFILTER_FLAG_SLICE_THREADS             = C.AVFILTER_FLAG_SLICE_THREADS
	AVFILTER_FLAG_METADATA_ONLY             = C.AVFILTER_FLAG_METADATA_ONLY
	AVFILTER_FLAG_HWDEVICE                  = C.AVFILTER_FLAG_HWDEVICE
	AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC  = C.AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
	AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL = C.AVFILTER_FLAG_SUPPORT_TIMELINE_INTERNAL
	AVFILTER_FLAG_SUPPORT_TIMELINE          = C.AVFILTER_FLAG_SUPPORT_TIMELINE
)
View Source
const (
	AVFILTER_CMD_FLAG_ONE  = C.AVFILTER_CMD_FLAG_ONE
	AVFILTER_CMD_FLAG_FAST = C.AVFILTER_CMD_FLAG_FAST
)
View Source
const (
	AVFILTER_AUTO_CONVERT_ALL  = int32(C.AVFILTER_AUTO_CONVERT_ALL)
	AVFILTER_AUTO_CONVERT_NONE = int32(C.AVFILTER_AUTO_CONVERT_NONE)
)
View Source
const (
	AV_BUFFERSINK_FLAG_PEEK       = C.AV_BUFFERSINK_FLAG_PEEK
	AV_BUFFERSINK_FLAG_NO_REQUEST = C.AV_BUFFERSINK_FLAG_NO_REQUEST
)
View Source
const (
	AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT = int32(C.AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT)
	AV_BUFFERSRC_FLAG_PUSH            = int32(C.AV_BUFFERSRC_FLAG_PUSH)
	AV_BUFFERSRC_FLAG_KEEP_REF        = int32(C.AV_BUFFERSRC_FLAG_KEEP_REF)
)
View Source
const (
	LIBAVFILTER_VERSION_MINOR = C.LIBAVFILTER_VERSION_MINOR
	LIBAVFILTER_VERSION_MICRO = C.LIBAVFILTER_VERSION_MICRO
)
View Source
const (
	AVPROBE_SCORE_RETRY        = C.AVPROBE_SCORE_RETRY
	AVPROBE_SCORE_STREAM_RETRY = C.AVPROBE_SCORE_STREAM_RETRY
	AVPROBE_SCORE_EXTENSION    = C.AVPROBE_SCORE_EXTENSION
	AVPROBE_SCORE_MIME         = C.AVPROBE_SCORE_MIME
	AVPROBE_SCORE_MAX          = C.AVPROBE_SCORE_MAX
)
View Source
const (
	AVFMT_NOFILE     = C.AVFMT_NOFILE
	AVFMT_NEEDNUMBER = C.AVFMT_NEEDNUMBER

	AVFMT_EXPERIMENTAL  = C.AVFMT_EXPERIMENTAL
	AVFMT_SHOW_IDS      = C.AVFMT_SHOW_IDS
	AVFMT_GLOBALHEADER  = C.AVFMT_GLOBALHEADER
	AVFMT_NOTIMESTAMPS  = C.AVFMT_NOTIMESTAMPS
	AVFMT_GENERIC_INDEX = C.AVFMT_GENERIC_INDEX
	AVFMT_TS_DISCONT    = C.AVFMT_TS_DISCONT
	AVFMT_VARIABLE_FPS  = C.AVFMT_VARIABLE_FPS
	AVFMT_NODIMENSIONS  = C.AVFMT_NODIMENSIONS
	AVFMT_NOSTREAMS     = C.AVFMT_NOSTREAMS
	AVFMT_NOBINSEARCH   = C.AVFMT_NOBINSEARCH
	AVFMT_NOGENSEARCH   = C.AVFMT_NOGENSEARCH
	AVFMT_NO_BYTE_SEEK  = C.AVFMT_NO_BYTE_SEEK
	AVFMT_ALLOW_FLUSH   = C.AVFMT_ALLOW_FLUSH
	AVFMT_TS_NONSTRICT  = C.AVFMT_TS_NONSTRICT
	AVFMT_TS_NEGATIVE   = C.AVFMT_TS_NEGATIVE
	AVFMT_SEEK_TO_PTS   = C.AVFMT_SEEK_TO_PTS
)
View Source
const (
	AVSTREAM_PARSE_NONE       = AVStreamParseType(C.AVSTREAM_PARSE_NONE)
	AVSTREAM_PARSE_FULL       = AVStreamParseType(C.AVSTREAM_PARSE_FULL)
	AVSTREAM_PARSE_HEADERS    = AVStreamParseType(C.AVSTREAM_PARSE_HEADERS)
	AVSTREAM_PARSE_TIMESTAMPS = AVStreamParseType(C.AVSTREAM_PARSE_TIMESTAMPS)
	AVSTREAM_PARSE_FULL_ONCE  = AVStreamParseType(C.AVSTREAM_PARSE_FULL_ONCE)
	AVSTREAM_PARSE_FULL_RAW   = AVStreamParseType(C.AVSTREAM_PARSE_FULL_RAW)
)
View Source
const (
	AVINDEX_KEYFRAME      = C.AVINDEX_KEYFRAME
	AVINDEX_DISCARD_FRAME = C.AVINDEX_DISCARD_FRAME
)
View Source
const (
	AV_DISPOSITION_DEFAULT          = C.AV_DISPOSITION_DEFAULT
	AV_DISPOSITION_DUB              = C.AV_DISPOSITION_DUB
	AV_DISPOSITION_ORIGINAL         = C.AV_DISPOSITION_ORIGINAL
	AV_DISPOSITION_COMMENT          = C.AV_DISPOSITION_COMMENT
	AV_DISPOSITION_LYRICS           = C.AV_DISPOSITION_LYRICS
	AV_DISPOSITION_KARAOKE          = C.AV_DISPOSITION_KARAOKE
	AV_DISPOSITION_FORCED           = C.AV_DISPOSITION_FORCED
	AV_DISPOSITION_HEARING_IMPAIRED = C.AV_DISPOSITION_HEARING_IMPAIRED
	AV_DISPOSITION_VISUAL_IMPAIRED  = C.AV_DISPOSITION_VISUAL_IMPAIRED
	AV_DISPOSITION_CLEAN_EFFECTS    = C.AV_DISPOSITION_CLEAN_EFFECTS
	AV_DISPOSITION_ATTACHED_PIC     = C.AV_DISPOSITION_ATTACHED_PIC
	AV_DISPOSITION_TIMED_THUMBNAILS = C.AV_DISPOSITION_TIMED_THUMBNAILS

	AV_DISPOSITION_NON_DIEGETIC = C.AV_DISPOSITION_NON_DIEGETIC

	AV_DISPOSITION_CAPTIONS     = C.AV_DISPOSITION_CAPTIONS
	AV_DISPOSITION_DESCRIPTIONS = C.AV_DISPOSITION_DESCRIPTIONS
	AV_DISPOSITION_METADATA     = C.AV_DISPOSITION_METADATA
	AV_DISPOSITION_DEPENDENT    = C.AV_DISPOSITION_DEPENDENT
	AV_DISPOSITION_STILL_IMAGE  = C.AV_DISPOSITION_STILL_IMAGE
)
View Source
const (
	AV_PTS_WRAP_IGNORE     = C.AV_PTS_WRAP_IGNORE
	AV_PTS_WRAP_ADD_OFFSET = C.AV_PTS_WRAP_ADD_OFFSET
	AV_PTS_WRAP_SUB_OFFSET = C.AV_PTS_WRAP_SUB_OFFSET
)
View Source
const (
	AVSTREAM_EVENT_FLAG_METADATA_UPDATED = int32(C.AVSTREAM_EVENT_FLAG_METADATA_UPDATED)
	AVSTREAM_EVENT_FLAG_NEW_PACKETS      = int32(C.AVSTREAM_EVENT_FLAG_NEW_PACKETS)
)
View Source
const (
	AV_STREAM_GROUP_PARAMS_NONE                  = AVStreamGroupParamsType(C.AV_STREAM_GROUP_PARAMS_NONE)
	AV_STREAM_GROUP_PARAMS_IAMF_AUDIO_ELEMENT    = AVStreamGroupParamsType(C.AV_STREAM_GROUP_PARAMS_IAMF_AUDIO_ELEMENT)
	AV_STREAM_GROUP_PARAMS_IAMF_MIX_PRESENTATION = AVStreamGroupParamsType(C.AV_STREAM_GROUP_PARAMS_IAMF_MIX_PRESENTATION)
	AV_STREAM_GROUP_PARAMS_TILE_GRID             = AVStreamGroupParamsType(C.AV_STREAM_GROUP_PARAMS_TILE_GRID)
)
View Source
const (
	AVFMTCTX_NOHEADER   = C.AVFMTCTX_NOHEADER
	AVFMTCTX_UNSEEKABLE = C.AVFMTCTX_UNSEEKABLE
)
View Source
const (
	AVFMT_FLAG_GENPTS          = C.AVFMT_FLAG_GENPTS
	AVFMT_FLAG_IGNIDX          = C.AVFMT_FLAG_IGNIDX
	AVFMT_FLAG_NONBLOCK        = C.AVFMT_FLAG_NONBLOCK
	AVFMT_FLAG_IGNDTS          = C.AVFMT_FLAG_IGNDTS
	AVFMT_FLAG_NOFILLIN        = C.AVFMT_FLAG_NOFILLIN
	AVFMT_FLAG_NOPARSE         = C.AVFMT_FLAG_NOPARSE
	AVFMT_FLAG_NOBUFFER        = C.AVFMT_FLAG_NOBUFFER
	AVFMT_FLAG_CUSTOM_IO       = C.AVFMT_FLAG_CUSTOM_IO
	AVFMT_FLAG_DISCARD_CORRUPT = C.AVFMT_FLAG_DISCARD_CORRUPT
	AVFMT_FLAG_FLUSH_PACKETS   = C.AVFMT_FLAG_FLUSH_PACKETS
	AVFMT_FLAG_BITEXACT        = C.AVFMT_FLAG_BITEXACT

	AVFMT_FLAG_SORT_DTS = C.AVFMT_FLAG_SORT_DTS

	AVFMT_FLAG_FAST_SEEK = C.AVFMT_FLAG_FAST_SEEK

	AVFMT_FLAG_SHORTEST = C.AVFMT_FLAG_SHORTEST
	AVFMT_FLAG_AUTO_BSF = C.AVFMT_FLAG_AUTO_BSF
)
View Source
const (
	AVSEEK_FLAG_BACKWARD = C.AVSEEK_FLAG_BACKWARD
	AVSEEK_FLAG_BYTE     = C.AVSEEK_FLAG_BYTE
	AVSEEK_FLAG_ANY      = C.AVSEEK_FLAG_ANY
	AVSEEK_FLAG_FRAME    = C.AVSEEK_FLAG_FRAME
)
View Source
const (
	AVSTREAM_INIT_IN_WRITE_HEADER = C.AVSTREAM_INIT_IN_WRITE_HEADER
	AVSTREAM_INIT_IN_INIT_OUTPUT  = C.AVSTREAM_INIT_IN_INIT_OUTPUT
)
View Source
const (
	AVFMT_TBCF_AUTO        = AVTimebaseSource(C.AVFMT_TBCF_AUTO)
	AVFMT_TBCF_DECODER     = AVTimebaseSource(C.AVFMT_TBCF_DECODER)
	AVFMT_TBCF_DEMUXER     = AVTimebaseSource(C.AVFMT_TBCF_DEMUXER)
	AVFMT_TBCF_R_FRAMERATE = AVTimebaseSource(C.AVFMT_TBCF_R_FRAMERATE)
)
View Source
const (
	AVIO_SEEKABLE_NORMAL = C.AVIO_SEEKABLE_NORMAL
	AVIO_SEEKABLE_TIME   = C.AVIO_SEEKABLE_TIME
)
View Source
const (
	AVIO_ENTRY_UNKNOWN          = AVIODirEntryType(C.AVIO_ENTRY_UNKNOWN)
	AVIO_ENTRY_BLOCK_DEVICE     = AVIODirEntryType(C.AVIO_ENTRY_BLOCK_DEVICE)
	AVIO_ENTRY_CHARACTER_DEVICE = AVIODirEntryType(C.AVIO_ENTRY_CHARACTER_DEVICE)
	AVIO_ENTRY_DIRECTORY        = AVIODirEntryType(C.AVIO_ENTRY_DIRECTORY)
	AVIO_ENTRY_NAMED_PIPE       = AVIODirEntryType(C.AVIO_ENTRY_NAMED_PIPE)
	AVIO_ENTRY_SYMBOLIC_LINK    = AVIODirEntryType(C.AVIO_ENTRY_SYMBOLIC_LINK)
	AVIO_ENTRY_SOCKET           = AVIODirEntryType(C.AVIO_ENTRY_SOCKET)
	AVIO_ENTRY_FILE             = AVIODirEntryType(C.AVIO_ENTRY_FILE)
	AVIO_ENTRY_SERVER           = AVIODirEntryType(C.AVIO_ENTRY_SERVER)
	AVIO_ENTRY_SHARE            = AVIODirEntryType(C.AVIO_ENTRY_SHARE)
	AVIO_ENTRY_WORKGROUP        = AVIODirEntryType(C.AVIO_ENTRY_WORKGROUP)
)
View Source
const (
	AVIO_DATA_MARKER_HEADER         = AVIODataMarkerType(C.AVIO_DATA_MARKER_HEADER)
	AVIO_DATA_MARKER_SYNC_POINT     = AVIODataMarkerType(C.AVIO_DATA_MARKER_SYNC_POINT)
	AVIO_DATA_MARKER_BOUNDARY_POINT = AVIODataMarkerType(C.AVIO_DATA_MARKER_BOUNDARY_POINT)
	AVIO_DATA_MARKER_UNKNOWN        = AVIODataMarkerType(C.AVIO_DATA_MARKER_UNKNOWN)
	AVIO_DATA_MARKER_TRAILER        = AVIODataMarkerType(C.AVIO_DATA_MARKER_TRAILER)
	AVIO_DATA_MARKER_FLUSH_POINT    = AVIODataMarkerType(C.AVIO_DATA_MARKER_FLUSH_POINT)
)
View Source
const (
	AVSEEK_SIZE  = C.AVSEEK_SIZE
	AVSEEK_FORCE = C.AVSEEK_FORCE
)
View Source
const (
	AVIO_FLAG_READ       = C.AVIO_FLAG_READ
	AVIO_FLAG_WRITE      = C.AVIO_FLAG_WRITE
	AVIO_FLAG_READ_WRITE = C.AVIO_FLAG_READ_WRITE
	AVIO_FLAG_NONBLOCK   = C.AVIO_FLAG_NONBLOCK
	AVIO_FLAG_DIRECT     = C.AVIO_FLAG_DIRECT
)
View Source
const (
	LIBAVFORMAT_VERSION_MINOR = C.LIBAVFORMAT_VERSION_MINOR
	LIBAVFORMAT_VERSION_MICRO = C.LIBAVFORMAT_VERSION_MICRO
)
View Source
const (
	AVMEDIA_TYPE_UNKNOWN    = AVMediaType(C.AVMEDIA_TYPE_UNKNOWN)
	AVMEDIA_TYPE_VIDEO      = AVMediaType(C.AVMEDIA_TYPE_VIDEO)
	AVMEDIA_TYPE_AUDIO      = AVMediaType(C.AVMEDIA_TYPE_AUDIO)
	AVMEDIA_TYPE_DATA       = AVMediaType(C.AVMEDIA_TYPE_DATA)
	AVMEDIA_TYPE_SUBTITLE   = AVMediaType(C.AVMEDIA_TYPE_SUBTITLE)
	AVMEDIA_TYPE_ATTACHMENT = AVMediaType(C.AVMEDIA_TYPE_ATTACHMENT)
	AVMEDIA_TYPE_NB         = AVMediaType(C.AVMEDIA_TYPE_NB)
)
View Source
const (
	FF_LAMBDA_SHIFT = C.FF_LAMBDA_SHIFT
	FF_LAMBDA_SCALE = C.FF_LAMBDA_SCALE
	FF_QP2LAMBDA    = C.FF_QP2LAMBDA
	FF_LAMBDA_MAX   = C.FF_LAMBDA_MAX

	FF_QUALITY_SCALE = C.FF_QUALITY_SCALE
)
View Source
const (
	AV_NOPTS_VALUE = C.AV_NOPTS_VALUE
	AV_TIME_BASE   = C.AV_TIME_BASE
)
View Source
const (
	AV_PICTURE_TYPE_NONE = AVPictureType(C.AV_PICTURE_TYPE_NONE)
	AV_PICTURE_TYPE_I    = AVPictureType(C.AV_PICTURE_TYPE_I)
	AV_PICTURE_TYPE_P    = AVPictureType(C.AV_PICTURE_TYPE_P)
	AV_PICTURE_TYPE_B    = AVPictureType(C.AV_PICTURE_TYPE_B)
	AV_PICTURE_TYPE_S    = AVPictureType(C.AV_PICTURE_TYPE_S)
	AV_PICTURE_TYPE_SI   = AVPictureType(C.AV_PICTURE_TYPE_SI)
	AV_PICTURE_TYPE_SP   = AVPictureType(C.AV_PICTURE_TYPE_SP)
	AV_PICTURE_TYPE_BI   = AVPictureType(C.AV_PICTURE_TYPE_BI)
)
View Source
const (
	AES_CTR_KEY_SIZE = C.AES_CTR_KEY_SIZE
	AES_CTR_IV_SIZE  = C.AES_CTR_IV_SIZE
)
View Source
const (
	AV_HAVE_BIGENDIAN      = C.AV_HAVE_BIGENDIAN
	AV_HAVE_FAST_UNALIGNED = C.AV_HAVE_FAST_UNALIGNED
)
View Source
const (
	AV_ESCAPE_MODE_AUTO      = C.AV_ESCAPE_MODE_AUTO
	AV_ESCAPE_MODE_BACKSLASH = C.AV_ESCAPE_MODE_BACKSLASH
	AV_ESCAPE_MODE_QUOTE     = C.AV_ESCAPE_MODE_QUOTE
	AV_ESCAPE_MODE_XML       = C.AV_ESCAPE_MODE_XML
)
View Source
const (
	AV_ESCAPE_FLAG_WHITESPACE        = C.AV_ESCAPE_FLAG_WHITESPACE
	AV_ESCAPE_FLAG_STRICT            = C.AV_ESCAPE_FLAG_STRICT
	AV_ESCAPE_FLAG_XML_SINGLE_QUOTES = C.AV_ESCAPE_FLAG_XML_SINGLE_QUOTES
	AV_ESCAPE_FLAG_XML_DOUBLE_QUOTES = C.AV_ESCAPE_FLAG_XML_DOUBLE_QUOTES
)
View Source
const (
	AV_UTF8_FLAG_ACCEPT_INVALID_BIG_CODES          = C.AV_UTF8_FLAG_ACCEPT_INVALID_BIG_CODES
	AV_UTF8_FLAG_ACCEPT_NON_CHARACTERS             = C.AV_UTF8_FLAG_ACCEPT_NON_CHARACTERS
	AV_UTF8_FLAG_ACCEPT_SURROGATES                 = C.AV_UTF8_FLAG_ACCEPT_SURROGATES
	AV_UTF8_FLAG_EXCLUDE_XML_INVALID_CONTROL_CODES = C.AV_UTF8_FLAG_EXCLUDE_XML_INVALID_CONTROL_CODES
	AV_UTF8_FLAG_ACCEPT_ALL                        = C.AV_UTF8_FLAG_ACCEPT_ALL
)
View Source
const (
	AV_BPRINT_SIZE_UNLIMITED  = C.AV_BPRINT_SIZE_UNLIMITED
	AV_BPRINT_SIZE_AUTOMATIC  = C.AV_BPRINT_SIZE_AUTOMATIC
	AV_BPRINT_SIZE_COUNT_ONLY = C.AV_BPRINT_SIZE_COUNT_ONLY
)
View Source
const (
	AV_CHAN_NONE                  = AVChannel(C.AV_CHAN_NONE)
	AV_CHAN_FRONT_LEFT            = AVChannel(C.AV_CHAN_FRONT_LEFT)
	AV_CHAN_FRONT_RIGHT           = AVChannel(C.AV_CHAN_FRONT_RIGHT)
	AV_CHAN_FRONT_CENTER          = AVChannel(C.AV_CHAN_FRONT_CENTER)
	AV_CHAN_LOW_FREQUENCY         = AVChannel(C.AV_CHAN_LOW_FREQUENCY)
	AV_CHAN_BACK_LEFT             = AVChannel(C.AV_CHAN_BACK_LEFT)
	AV_CHAN_BACK_RIGHT            = AVChannel(C.AV_CHAN_BACK_RIGHT)
	AV_CHAN_FRONT_LEFT_OF_CENTER  = AVChannel(C.AV_CHAN_FRONT_LEFT_OF_CENTER)
	AV_CHAN_FRONT_RIGHT_OF_CENTER = AVChannel(C.AV_CHAN_FRONT_RIGHT_OF_CENTER)
	AV_CHAN_BACK_CENTER           = AVChannel(C.AV_CHAN_BACK_CENTER)
	AV_CHAN_SIDE_LEFT             = AVChannel(C.AV_CHAN_SIDE_LEFT)
	AV_CHAN_SIDE_RIGHT            = AVChannel(C.AV_CHAN_SIDE_RIGHT)
	AV_CHAN_TOP_CENTER            = AVChannel(C.AV_CHAN_TOP_CENTER)
	AV_CHAN_TOP_FRONT_LEFT        = AVChannel(C.AV_CHAN_TOP_FRONT_LEFT)
	AV_CHAN_TOP_FRONT_CENTER      = AVChannel(C.AV_CHAN_TOP_FRONT_CENTER)
	AV_CHAN_TOP_FRONT_RIGHT       = AVChannel(C.AV_CHAN_TOP_FRONT_RIGHT)
	AV_CHAN_TOP_BACK_LEFT         = AVChannel(C.AV_CHAN_TOP_BACK_LEFT)
	AV_CHAN_TOP_BACK_CENTER       = AVChannel(C.AV_CHAN_TOP_BACK_CENTER)
	AV_CHAN_TOP_BACK_RIGHT        = AVChannel(C.AV_CHAN_TOP_BACK_RIGHT)
	AV_CHAN_STEREO_LEFT           = AVChannel(C.AV_CHAN_STEREO_LEFT)
	AV_CHAN_STEREO_RIGHT          = AVChannel(C.AV_CHAN_STEREO_RIGHT)
	AV_CHAN_WIDE_LEFT             = AVChannel(C.AV_CHAN_WIDE_LEFT)
	AV_CHAN_WIDE_RIGHT            = AVChannel(C.AV_CHAN_WIDE_RIGHT)
	AV_CHAN_SURROUND_DIRECT_LEFT  = AVChannel(C.AV_CHAN_SURROUND_DIRECT_LEFT)
	AV_CHAN_SURROUND_DIRECT_RIGHT = AVChannel(C.AV_CHAN_SURROUND_DIRECT_RIGHT)
	AV_CHAN_LOW_FREQUENCY_2       = AVChannel(C.AV_CHAN_LOW_FREQUENCY_2)
	AV_CHAN_TOP_SIDE_LEFT         = AVChannel(C.AV_CHAN_TOP_SIDE_LEFT)
	AV_CHAN_TOP_SIDE_RIGHT        = AVChannel(C.AV_CHAN_TOP_SIDE_RIGHT)
	AV_CHAN_BOTTOM_FRONT_CENTER   = AVChannel(C.AV_CHAN_BOTTOM_FRONT_CENTER)
	AV_CHAN_BOTTOM_FRONT_LEFT     = AVChannel(C.AV_CHAN_BOTTOM_FRONT_LEFT)
	AV_CHAN_BOTTOM_FRONT_RIGHT    = AVChannel(C.AV_CHAN_BOTTOM_FRONT_RIGHT)
	AV_CHAN_UNUSED                = AVChannel(C.AV_CHAN_UNUSED)
	AV_CHAN_UNKNOWN               = AVChannel(C.AV_CHAN_UNKNOWN)
	AV_CHAN_AMBISONIC_BASE        = AVChannel(C.AV_CHAN_AMBISONIC_BASE)
	AV_CHAN_AMBISONIC_END         = AVChannel(C.AV_CHAN_AMBISONIC_END)
)
View Source
const (
	AV_CHANNEL_ORDER_UNSPEC    = AVChannelOrder(C.AV_CHANNEL_ORDER_UNSPEC)
	AV_CHANNEL_ORDER_NATIVE    = AVChannelOrder(C.AV_CHANNEL_ORDER_NATIVE)
	AV_CHANNEL_ORDER_CUSTOM    = AVChannelOrder(C.AV_CHANNEL_ORDER_CUSTOM)
	AV_CHANNEL_ORDER_AMBISONIC = AVChannelOrder(C.AV_CHANNEL_ORDER_AMBISONIC)
)
View Source
const (
	AV_CH_FRONT_LEFT            = uint64(C.AV_CH_FRONT_LEFT)
	AV_CH_FRONT_RIGHT           = uint64(C.AV_CH_FRONT_RIGHT)
	AV_CH_FRONT_CENTER          = uint64(C.AV_CH_FRONT_CENTER)
	AV_CH_LOW_FREQUENCY         = uint64(C.AV_CH_LOW_FREQUENCY)
	AV_CH_BACK_LEFT             = uint64(C.AV_CH_BACK_LEFT)
	AV_CH_BACK_RIGHT            = uint64(C.AV_CH_BACK_RIGHT)
	AV_CH_FRONT_LEFT_OF_CENTER  = uint64(C.AV_CH_FRONT_LEFT_OF_CENTER)
	AV_CH_FRONT_RIGHT_OF_CENTER = uint64(C.AV_CH_FRONT_RIGHT_OF_CENTER)
	AV_CH_BACK_CENTER           = uint64(C.AV_CH_BACK_CENTER)
	AV_CH_SIDE_LEFT             = uint64(C.AV_CH_SIDE_LEFT)
	AV_CH_SIDE_RIGHT            = uint64(C.AV_CH_SIDE_RIGHT)
	AV_CH_TOP_CENTER            = uint64(C.AV_CH_TOP_CENTER)
	AV_CH_TOP_FRONT_LEFT        = uint64(C.AV_CH_TOP_FRONT_LEFT)
	AV_CH_TOP_FRONT_CENTER      = uint64(C.AV_CH_TOP_FRONT_CENTER)
	AV_CH_TOP_FRONT_RIGHT       = uint64(C.AV_CH_TOP_FRONT_RIGHT)
	AV_CH_TOP_BACK_LEFT         = uint64(C.AV_CH_TOP_BACK_LEFT)
	AV_CH_TOP_BACK_CENTER       = uint64(C.AV_CH_TOP_BACK_CENTER)
	AV_CH_TOP_BACK_RIGHT        = uint64(C.AV_CH_TOP_BACK_RIGHT)
	AV_CH_STEREO_LEFT           = uint64(C.AV_CH_STEREO_LEFT)
	AV_CH_STEREO_RIGHT          = uint64(C.AV_CH_STEREO_RIGHT)
	AV_CH_WIDE_LEFT             = uint64(C.AV_CH_WIDE_LEFT)
	AV_CH_WIDE_RIGHT            = uint64(C.AV_CH_WIDE_RIGHT)
	AV_CH_SURROUND_DIRECT_LEFT  = uint64(C.AV_CH_SURROUND_DIRECT_LEFT)
	AV_CH_SURROUND_DIRECT_RIGHT = uint64(C.AV_CH_SURROUND_DIRECT_RIGHT)
	AV_CH_LOW_FREQUENCY_2       = uint64(C.AV_CH_LOW_FREQUENCY_2)
	AV_CH_TOP_SIDE_LEFT         = uint64(C.AV_CH_TOP_SIDE_LEFT)
	AV_CH_TOP_SIDE_RIGHT        = uint64(C.AV_CH_TOP_SIDE_RIGHT)
	AV_CH_BOTTOM_FRONT_CENTER   = uint64(C.AV_CH_BOTTOM_FRONT_CENTER)
	AV_CH_BOTTOM_FRONT_LEFT     = uint64(C.AV_CH_BOTTOM_FRONT_LEFT)
	AV_CH_BOTTOM_FRONT_RIGHT    = uint64(C.AV_CH_BOTTOM_FRONT_RIGHT)
)
View Source
const (
	AV_CH_LAYOUT_MONO               = uint64(C.AV_CH_LAYOUT_MONO)
	AV_CH_LAYOUT_STEREO             = uint64(C.AV_CH_LAYOUT_STEREO)
	AV_CH_LAYOUT_2POINT1            = uint64(C.AV_CH_LAYOUT_2POINT1)
	AV_CH_LAYOUT_2_1                = uint64(C.AV_CH_LAYOUT_2_1)
	AV_CH_LAYOUT_SURROUND           = uint64(C.AV_CH_LAYOUT_SURROUND)
	AV_CH_LAYOUT_3POINT1            = uint64(C.AV_CH_LAYOUT_3POINT1)
	AV_CH_LAYOUT_4POINT0            = uint64(C.AV_CH_LAYOUT_4POINT0)
	AV_CH_LAYOUT_4POINT1            = uint64(C.AV_CH_LAYOUT_4POINT1)
	AV_CH_LAYOUT_2_2                = uint64(C.AV_CH_LAYOUT_2_2)
	AV_CH_LAYOUT_QUAD               = uint64(C.AV_CH_LAYOUT_QUAD)
	AV_CH_LAYOUT_5POINT0            = uint64(C.AV_CH_LAYOUT_5POINT0)
	AV_CH_LAYOUT_5POINT1            = uint64(C.AV_CH_LAYOUT_5POINT1)
	AV_CH_LAYOUT_5POINT0_BACK       = uint64(C.AV_CH_LAYOUT_5POINT0_BACK)
	AV_CH_LAYOUT_5POINT1_BACK       = uint64(C.AV_CH_LAYOUT_5POINT1_BACK)
	AV_CH_LAYOUT_6POINT0            = uint64(C.AV_CH_LAYOUT_6POINT0)
	AV_CH_LAYOUT_6POINT0_FRONT      = uint64(C.AV_CH_LAYOUT_6POINT0_FRONT)
	AV_CH_LAYOUT_HEXAGONAL          = uint64(C.AV_CH_LAYOUT_HEXAGONAL)
	AV_CH_LAYOUT_3POINT1POINT2      = uint64(C.AV_CH_LAYOUT_3POINT1POINT2)
	AV_CH_LAYOUT_6POINT1            = uint64(C.AV_CH_LAYOUT_6POINT1)
	AV_CH_LAYOUT_6POINT1_BACK       = uint64(C.AV_CH_LAYOUT_6POINT1_BACK)
	AV_CH_LAYOUT_6POINT1_FRONT      = uint64(C.AV_CH_LAYOUT_6POINT1_FRONT)
	AV_CH_LAYOUT_7POINT0            = uint64(C.AV_CH_LAYOUT_7POINT0)
	AV_CH_LAYOUT_7POINT0_FRONT      = uint64(C.AV_CH_LAYOUT_7POINT0_FRONT)
	AV_CH_LAYOUT_7POINT1            = uint64(C.AV_CH_LAYOUT_7POINT1)
	AV_CH_LAYOUT_7POINT1_WIDE       = uint64(C.AV_CH_LAYOUT_7POINT1_WIDE)
	AV_CH_LAYOUT_7POINT1_WIDE_BACK  = uint64(C.AV_CH_LAYOUT_7POINT1_WIDE_BACK)
	AV_CH_LAYOUT_5POINT1POINT2_BACK = uint64(C.AV_CH_LAYOUT_5POINT1POINT2_BACK)
	AV_CH_LAYOUT_OCTAGONAL          = uint64(C.AV_CH_LAYOUT_OCTAGONAL)
	AV_CH_LAYOUT_CUBE               = uint64(C.AV_CH_LAYOUT_CUBE)
	AV_CH_LAYOUT_5POINT1POINT4_BACK = uint64(C.AV_CH_LAYOUT_5POINT1POINT4_BACK)
	AV_CH_LAYOUT_7POINT1POINT2      = uint64(C.AV_CH_LAYOUT_7POINT1POINT2)
	AV_CH_LAYOUT_7POINT1POINT4_BACK = uint64(C.AV_CH_LAYOUT_7POINT1POINT4_BACK)
	AV_CH_LAYOUT_7POINT2POINT3      = uint64(C.AV_CH_LAYOUT_7POINT2POINT3)
	AV_CH_LAYOUT_9POINT1POINT4_BACK = uint64(C.AV_CH_LAYOUT_9POINT1POINT4_BACK)
	AV_CH_LAYOUT_HEXADECAGONAL      = uint64(C.AV_CH_LAYOUT_HEXADECAGONAL)
	AV_CH_LAYOUT_STEREO_DOWNMIX     = uint64(C.AV_CH_LAYOUT_STEREO_DOWNMIX)
	AV_CH_LAYOUT_22POINT2           = uint64(C.AV_CH_LAYOUT_22POINT2)

	AV_CH_LAYOUT_7POINT1_TOP_BACK = uint64(C.AV_CH_LAYOUT_7POINT1_TOP_BACK)
)
View Source
const (
	AV_MATRIX_ENCODING_NONE           = AVMatrixEncoding(C.AV_MATRIX_ENCODING_NONE)
	AV_MATRIX_ENCODING_DOLBY          = AVMatrixEncoding(C.AV_MATRIX_ENCODING_DOLBY)
	AV_MATRIX_ENCODING_DPLII          = AVMatrixEncoding(C.AV_MATRIX_ENCODING_DPLII)
	AV_MATRIX_ENCODING_DPLIIX         = AVMatrixEncoding(C.AV_MATRIX_ENCODING_DPLIIX)
	AV_MATRIX_ENCODING_DPLIIZ         = AVMatrixEncoding(C.AV_MATRIX_ENCODING_DPLIIZ)
	AV_MATRIX_ENCODING_DOLBYEX        = AVMatrixEncoding(C.AV_MATRIX_ENCODING_DOLBYEX)
	AV_MATRIX_ENCODING_DOLBYHEADPHONE = AVMatrixEncoding(C.AV_MATRIX_ENCODING_DOLBYHEADPHONE)
	AV_MATRIX_ENCODING_NB             = AVMatrixEncoding(C.AV_MATRIX_ENCODING_NB)
)
View Source
const (
	AV_CHANNEL_LAYOUT_RETYPE_FLAG_LOSSLESS  = int32(C.AV_CHANNEL_LAYOUT_RETYPE_FLAG_LOSSLESS)
	AV_CHANNEL_LAYOUT_RETYPE_FLAG_CANONICAL = int32(C.AV_CHANNEL_LAYOUT_RETYPE_FLAG_CANONICAL)
)
View Source
const (
	AV_CPU_FLAG_FORCE    = C.AV_CPU_FLAG_FORCE
	AV_CPU_FLAG_MMX      = C.AV_CPU_FLAG_MMX
	AV_CPU_FLAG_MMXEXT   = C.AV_CPU_FLAG_MMXEXT
	AV_CPU_FLAG_MMX2     = C.AV_CPU_FLAG_MMX2
	AV_CPU_FLAG_3DNOW    = C.AV_CPU_FLAG_3DNOW
	AV_CPU_FLAG_SSE      = C.AV_CPU_FLAG_SSE
	AV_CPU_FLAG_SSE2     = C.AV_CPU_FLAG_SSE2
	AV_CPU_FLAG_SSE2SLOW = C.AV_CPU_FLAG_SSE2SLOW

	AV_CPU_FLAG_3DNOWEXT = C.AV_CPU_FLAG_3DNOWEXT
	AV_CPU_FLAG_SSE3     = C.AV_CPU_FLAG_SSE3
	AV_CPU_FLAG_SSE3SLOW = C.AV_CPU_FLAG_SSE3SLOW

	AV_CPU_FLAG_SSSE3       = C.AV_CPU_FLAG_SSSE3
	AV_CPU_FLAG_SSSE3SLOW   = C.AV_CPU_FLAG_SSSE3SLOW
	AV_CPU_FLAG_ATOM        = C.AV_CPU_FLAG_ATOM
	AV_CPU_FLAG_SSE4        = C.AV_CPU_FLAG_SSE4
	AV_CPU_FLAG_SSE42       = C.AV_CPU_FLAG_SSE42
	AV_CPU_FLAG_AESNI       = C.AV_CPU_FLAG_AESNI
	AV_CPU_FLAG_AVX         = C.AV_CPU_FLAG_AVX
	AV_CPU_FLAG_AVXSLOW     = C.AV_CPU_FLAG_AVXSLOW
	AV_CPU_FLAG_XOP         = C.AV_CPU_FLAG_XOP
	AV_CPU_FLAG_FMA4        = C.AV_CPU_FLAG_FMA4
	AV_CPU_FLAG_CMOV        = C.AV_CPU_FLAG_CMOV
	AV_CPU_FLAG_AVX2        = C.AV_CPU_FLAG_AVX2
	AV_CPU_FLAG_FMA3        = C.AV_CPU_FLAG_FMA3
	AV_CPU_FLAG_BMI1        = C.AV_CPU_FLAG_BMI1
	AV_CPU_FLAG_BMI2        = C.AV_CPU_FLAG_BMI2
	AV_CPU_FLAG_AVX512      = C.AV_CPU_FLAG_AVX512
	AV_CPU_FLAG_AVX512ICL   = C.AV_CPU_FLAG_AVX512ICL
	AV_CPU_FLAG_SLOW_GATHER = C.AV_CPU_FLAG_SLOW_GATHER

	AV_CPU_FLAG_ALTIVEC = C.AV_CPU_FLAG_ALTIVEC
	AV_CPU_FLAG_VSX     = C.AV_CPU_FLAG_VSX
	AV_CPU_FLAG_POWER8  = C.AV_CPU_FLAG_POWER8

	AV_CPU_FLAG_ARMV5TE = C.AV_CPU_FLAG_ARMV5TE
	AV_CPU_FLAG_ARMV6   = C.AV_CPU_FLAG_ARMV6
	AV_CPU_FLAG_ARMV6T2 = C.AV_CPU_FLAG_ARMV6T2
	AV_CPU_FLAG_VFP     = C.AV_CPU_FLAG_VFP
	AV_CPU_FLAG_VFPV3   = C.AV_CPU_FLAG_VFPV3
	AV_CPU_FLAG_NEON    = C.AV_CPU_FLAG_NEON
	AV_CPU_FLAG_ARMV8   = C.AV_CPU_FLAG_ARMV8
	AV_CPU_FLAG_VFP_VM  = C.AV_CPU_FLAG_VFP_VM
	AV_CPU_FLAG_SETEND  = C.AV_CPU_FLAG_SETEND

	AV_CPU_FLAG_MMI = C.AV_CPU_FLAG_MMI
	AV_CPU_FLAG_MSA = C.AV_CPU_FLAG_MSA

	AV_CPU_FLAG_LSX       = C.AV_CPU_FLAG_LSX
	AV_CPU_FLAG_LASX      = C.AV_CPU_FLAG_LASX
	AV_CPU_FLAG_RVI       = C.AV_CPU_FLAG_RVI
	AV_CPU_FLAG_RVF       = C.AV_CPU_FLAG_RVF
	AV_CPU_FLAG_RVD       = C.AV_CPU_FLAG_RVD
	AV_CPU_FLAG_RVV_I32   = C.AV_CPU_FLAG_RVV_I32
	AV_CPU_FLAG_RVV_F32   = C.AV_CPU_FLAG_RVV_F32
	AV_CPU_FLAG_RVV_I64   = C.AV_CPU_FLAG_RVV_I64
	AV_CPU_FLAG_RVV_F64   = C.AV_CPU_FLAG_RVV_F64
	AV_CPU_FLAG_RVB_BASIC = C.AV_CPU_FLAG_RVB_BASIC
)
View Source
const (
	AV_CRC_8_ATM      = AVCRCId(C.AV_CRC_8_ATM)
	AV_CRC_16_ANSI    = AVCRCId(C.AV_CRC_16_ANSI)
	AV_CRC_16_CCITT   = AVCRCId(C.AV_CRC_16_CCITT)
	AV_CRC_32_IEEE    = AVCRCId(C.AV_CRC_32_IEEE)
	AV_CRC_32_IEEE_LE = AVCRCId(C.AV_CRC_32_IEEE_LE)
	AV_CRC_16_ANSI_LE = AVCRCId(C.AV_CRC_16_ANSI_LE)
	AV_CRC_24_IEEE    = AVCRCId(C.AV_CRC_24_IEEE)
	AV_CRC_8_EBU      = AVCRCId(C.AV_CRC_8_EBU)
	AV_CRC_MAX        = AVCRCId(C.AV_CRC_MAX)
)
View Source
const (
	AV_DICT_MATCH_CASE      = C.AV_DICT_MATCH_CASE
	AV_DICT_IGNORE_SUFFIX   = C.AV_DICT_IGNORE_SUFFIX
	AV_DICT_DONT_STRDUP_KEY = C.AV_DICT_DONT_STRDUP_KEY
	AV_DICT_DONT_STRDUP_VAL = C.AV_DICT_DONT_STRDUP_VAL
	AV_DICT_DONT_OVERWRITE  = C.AV_DICT_DONT_OVERWRITE
	AV_DICT_APPEND          = C.AV_DICT_APPEND
	AV_DICT_MULTIKEY        = C.AV_DICT_MULTIKEY
)
View Source
const (
	AV_DOWNMIX_TYPE_UNKNOWN = AVDownmixType(C.AV_DOWNMIX_TYPE_UNKNOWN)
	AV_DOWNMIX_TYPE_LORO    = AVDownmixType(C.AV_DOWNMIX_TYPE_LORO)
	AV_DOWNMIX_TYPE_LTRT    = AVDownmixType(C.AV_DOWNMIX_TYPE_LTRT)
	AV_DOWNMIX_TYPE_DPLII   = AVDownmixType(C.AV_DOWNMIX_TYPE_DPLII)
	AV_DOWNMIX_TYPE_NB      = AVDownmixType(C.AV_DOWNMIX_TYPE_NB)
)
View Source
const (
	AVERROR_BSF_NOT_FOUND      = int32(C.AVERROR_BSF_NOT_FOUND)
	AVERROR_BUG                = int32(C.AVERROR_BUG)
	AVERROR_BUFFER_TOO_SMALL   = int32(C.AVERROR_BUFFER_TOO_SMALL)
	AVERROR_DECODER_NOT_FOUND  = int32(C.AVERROR_DECODER_NOT_FOUND)
	AVERROR_DEMUXER_NOT_FOUND  = int32(C.AVERROR_DEMUXER_NOT_FOUND)
	AVERROR_ENCODER_NOT_FOUND  = int32(C.AVERROR_ENCODER_NOT_FOUND)
	AVERROR_EOF                = int32(C.AVERROR_EOF)
	AVERROR_EXIT               = int32(C.AVERROR_EXIT)
	AVERROR_EXTERNAL           = int32(C.AVERROR_EXTERNAL)
	AVERROR_FILTER_NOT_FOUND   = int32(C.AVERROR_FILTER_NOT_FOUND)
	AVERROR_INVALIDDATA        = int32(C.AVERROR_INVALIDDATA)
	AVERROR_MUXER_NOT_FOUND    = int32(C.AVERROR_MUXER_NOT_FOUND)
	AVERROR_OPTION_NOT_FOUND   = int32(C.AVERROR_OPTION_NOT_FOUND)
	AVERROR_PATCHWELCOME       = int32(C.AVERROR_PATCHWELCOME)
	AVERROR_PROTOCOL_NOT_FOUND = int32(C.AVERROR_PROTOCOL_NOT_FOUND)

	AVERROR_STREAM_NOT_FOUND = int32(C.AVERROR_STREAM_NOT_FOUND)

	AVERROR_BUG2              = int32(C.AVERROR_BUG2)
	AVERROR_UNKNOWN           = int32(C.AVERROR_UNKNOWN)
	AVERROR_EXPERIMENTAL      = int32(C.AVERROR_EXPERIMENTAL)
	AVERROR_INPUT_CHANGED     = int32(C.AVERROR_INPUT_CHANGED)
	AVERROR_OUTPUT_CHANGED    = int32(C.AVERROR_OUTPUT_CHANGED)
	AVERROR_HTTP_BAD_REQUEST  = int32(C.AVERROR_HTTP_BAD_REQUEST)
	AVERROR_HTTP_UNAUTHORIZED = int32(C.AVERROR_HTTP_UNAUTHORIZED)
	AVERROR_HTTP_FORBIDDEN    = int32(C.AVERROR_HTTP_FORBIDDEN)
	AVERROR_HTTP_NOT_FOUND    = int32(C.AVERROR_HTTP_NOT_FOUND)
	AVERROR_HTTP_OTHER_4XX    = int32(C.AVERROR_HTTP_OTHER_4XX)
	AVERROR_HTTP_SERVER_ERROR = int32(C.AVERROR_HTTP_SERVER_ERROR)
)

Error handling.

View Source
const (
	AV_FILM_GRAIN_PARAMS_NONE = AVFilmGrainParamsType(C.AV_FILM_GRAIN_PARAMS_NONE)
	AV_FILM_GRAIN_PARAMS_AV1  = AVFilmGrainParamsType(C.AV_FILM_GRAIN_PARAMS_AV1)
	AV_FILM_GRAIN_PARAMS_H274 = AVFilmGrainParamsType(C.AV_FILM_GRAIN_PARAMS_H274)
)
View Source
const (
	AV_FRAME_DATA_PANSCAN                    = AVFrameSideDataType(C.AV_FRAME_DATA_PANSCAN)
	AV_FRAME_DATA_A53_CC                     = AVFrameSideDataType(C.AV_FRAME_DATA_A53_CC)
	AV_FRAME_DATA_STEREO3D                   = AVFrameSideDataType(C.AV_FRAME_DATA_STEREO3D)
	AV_FRAME_DATA_MATRIXENCODING             = AVFrameSideDataType(C.AV_FRAME_DATA_MATRIXENCODING)
	AV_FRAME_DATA_DOWNMIX_INFO               = AVFrameSideDataType(C.AV_FRAME_DATA_DOWNMIX_INFO)
	AV_FRAME_DATA_REPLAYGAIN                 = AVFrameSideDataType(C.AV_FRAME_DATA_REPLAYGAIN)
	AV_FRAME_DATA_DISPLAYMATRIX              = AVFrameSideDataType(C.AV_FRAME_DATA_DISPLAYMATRIX)
	AV_FRAME_DATA_AFD                        = AVFrameSideDataType(C.AV_FRAME_DATA_AFD)
	AV_FRAME_DATA_MOTION_VECTORS             = AVFrameSideDataType(C.AV_FRAME_DATA_MOTION_VECTORS)
	AV_FRAME_DATA_SKIP_SAMPLES               = AVFrameSideDataType(C.AV_FRAME_DATA_SKIP_SAMPLES)
	AV_FRAME_DATA_AUDIO_SERVICE_TYPE         = AVFrameSideDataType(C.AV_FRAME_DATA_AUDIO_SERVICE_TYPE)
	AV_FRAME_DATA_MASTERING_DISPLAY_METADATA = AVFrameSideDataType(C.AV_FRAME_DATA_MASTERING_DISPLAY_METADATA)
	AV_FRAME_DATA_GOP_TIMECODE               = AVFrameSideDataType(C.AV_FRAME_DATA_GOP_TIMECODE)
	AV_FRAME_DATA_SPHERICAL                  = AVFrameSideDataType(C.AV_FRAME_DATA_SPHERICAL)
	AV_FRAME_DATA_CONTENT_LIGHT_LEVEL        = AVFrameSideDataType(C.AV_FRAME_DATA_CONTENT_LIGHT_LEVEL)
	AV_FRAME_DATA_ICC_PROFILE                = AVFrameSideDataType(C.AV_FRAME_DATA_ICC_PROFILE)

	AV_FRAME_DATA_S12M_TIMECODE       = AVFrameSideDataType(C.AV_FRAME_DATA_S12M_TIMECODE)
	AV_FRAME_DATA_DYNAMIC_HDR_PLUS    = AVFrameSideDataType(C.AV_FRAME_DATA_DYNAMIC_HDR_PLUS)
	AV_FRAME_DATA_REGIONS_OF_INTEREST = AVFrameSideDataType(C.AV_FRAME_DATA_REGIONS_OF_INTEREST)
	AV_FRAME_DATA_VIDEO_ENC_PARAMS    = AVFrameSideDataType(C.AV_FRAME_DATA_VIDEO_ENC_PARAMS)
	AV_FRAME_DATA_SEI_UNREGISTERED    = AVFrameSideDataType(C.AV_FRAME_DATA_SEI_UNREGISTERED)
	AV_FRAME_DATA_FILM_GRAIN_PARAMS   = AVFrameSideDataType(C.AV_FRAME_DATA_FILM_GRAIN_PARAMS)
	AV_FRAME_DATA_DETECTION_BBOXES    = AVFrameSideDataType(C.AV_FRAME_DATA_DETECTION_BBOXES)
	AV_FRAME_DATA_DOVI_RPU_BUFFER     = AVFrameSideDataType(C.AV_FRAME_DATA_DOVI_RPU_BUFFER)
	AV_FRAME_DATA_DOVI_METADATA       = AVFrameSideDataType(C.AV_FRAME_DATA_DOVI_METADATA)

	AV_FRAME_DATA_DYNAMIC_HDR_VIVID           = AVFrameSideDataType(C.AV_FRAME_DATA_DYNAMIC_HDR_VIVID)
	AV_FRAME_DATA_AMBIENT_VIEWING_ENVIRONMENT = AVFrameSideDataType(C.AV_FRAME_DATA_AMBIENT_VIEWING_ENVIRONMENT)
)
View Source
const (
	AV_FRAME_FLAG_CORRUPT         = int32(C.AV_FRAME_FLAG_CORRUPT)
	AV_FRAME_FLAG_KEY             = int32(C.AV_FRAME_FLAG_KEY)
	AV_FRAME_FLAG_DISCARD         = int32(C.AV_FRAME_FLAG_DISCARD)
	AV_FRAME_FLAG_INTERLACED      = int32(C.AV_FRAME_FLAG_INTERLACED)
	AV_FRAME_FLAG_TOP_FIELD_FIRST = int32(C.AV_FRAME_FLAG_TOP_FIELD_FIRST)
)
View Source
const (
	FF_DECODE_ERROR_INVALID_BITSTREAM  = int32(C.FF_DECODE_ERROR_INVALID_BITSTREAM)
	FF_DECODE_ERROR_MISSING_REFERENCE  = int32(C.FF_DECODE_ERROR_MISSING_REFERENCE)
	FF_DECODE_ERROR_CONCEALMENT_ACTIVE = int32(C.FF_DECODE_ERROR_CONCEALMENT_ACTIVE)
	FF_DECODE_ERROR_DECODE_SLICES      = int32(C.FF_DECODE_ERROR_DECODE_SLICES)
)
View Source
const (
	AV_HDR_PLUS_OVERLAP_PROCESS_WEIGHTED_AVERAGING = AVHDRPlusOverlapProcessOption(
		C.AV_HDR_PLUS_OVERLAP_PROCESS_WEIGHTED_AVERAGING)
	AV_HDR_PLUS_OVERLAP_PROCESS_LAYERING = AVHDRPlusOverlapProcessOption(
		C.AV_HDR_PLUS_OVERLAP_PROCESS_LAYERING)
)
View Source
const (
	AV_HMAC_MD5    = AVHMACType(C.AV_HMAC_MD5)
	AV_HMAC_SHA1   = AVHMACType(C.AV_HMAC_SHA1)
	AV_HMAC_SHA224 = AVHMACType(C.AV_HMAC_SHA224)
	AV_HMAC_SHA256 = AVHMACType(C.AV_HMAC_SHA256)
	AV_HMAC_SHA384 = AVHMACType(C.AV_HMAC_SHA384)
	AV_HMAC_SHA512 = AVHMACType(C.AV_HMAC_SHA512)
)
View Source
const (
	AV_HWDEVICE_TYPE_NONE         = AVHWDeviceType(C.AV_HWDEVICE_TYPE_NONE)
	AV_HWDEVICE_TYPE_VDPAU        = AVHWDeviceType(C.AV_HWDEVICE_TYPE_VDPAU)
	AV_HWDEVICE_TYPE_CUDA         = AVHWDeviceType(C.AV_HWDEVICE_TYPE_CUDA)
	AV_HWDEVICE_TYPE_VAAPI        = AVHWDeviceType(C.AV_HWDEVICE_TYPE_VAAPI)
	AV_HWDEVICE_TYPE_DXVA2        = AVHWDeviceType(C.AV_HWDEVICE_TYPE_DXVA2)
	AV_HWDEVICE_TYPE_QSV          = AVHWDeviceType(C.AV_HWDEVICE_TYPE_QSV)
	AV_HWDEVICE_TYPE_VIDEOTOOLBOX = AVHWDeviceType(C.AV_HWDEVICE_TYPE_VIDEOTOOLBOX)
	AV_HWDEVICE_TYPE_D3D11VA      = AVHWDeviceType(C.AV_HWDEVICE_TYPE_D3D11VA)
	AV_HWDEVICE_TYPE_DRM          = AVHWDeviceType(C.AV_HWDEVICE_TYPE_DRM)
	AV_HWDEVICE_TYPE_OPENCL       = AVHWDeviceType(C.AV_HWDEVICE_TYPE_OPENCL)
	AV_HWDEVICE_TYPE_MEDIACODEC   = AVHWDeviceType(C.AV_HWDEVICE_TYPE_MEDIACODEC)
	AV_HWDEVICE_TYPE_VULKAN       = AVHWDeviceType(C.AV_HWDEVICE_TYPE_VULKAN)
	AV_HWDEVICE_TYPE_D3D12VA      = AVHWDeviceType(C.AV_HWDEVICE_TYPE_D3D12VA)
)
View Source
const (
	AV_HWFRAME_TRANSFER_DIRECTION_FROM = AVHWFrameTransferDirection(C.AV_HWFRAME_TRANSFER_DIRECTION_FROM)
	AV_HWFRAME_TRANSFER_DIRECTION_TO   = AVHWFrameTransferDirection(C.AV_HWFRAME_TRANSFER_DIRECTION_TO)
)
View Source
const (
	AV_HWFRAME_MAP_READ      = int32(C.AV_HWFRAME_MAP_READ)
	AV_HWFRAME_MAP_WRITE     = int32(C.AV_HWFRAME_MAP_WRITE)
	AV_HWFRAME_MAP_OVERWRITE = int32(C.AV_HWFRAME_MAP_OVERWRITE)
	AV_HWFRAME_MAP_DIRECT    = int32(C.AV_HWFRAME_MAP_DIRECT)
)
View Source
const (
	AV_IAMF_ANIMATION_TYPE_STEP   = AVIAMFAnimationType(C.AV_IAMF_ANIMATION_TYPE_STEP)
	AV_IAMF_ANIMATION_TYPE_LINEAR = AVIAMFAnimationType(C.AV_IAMF_ANIMATION_TYPE_LINEAR)
	AV_IAMF_ANIMATION_TYPE_BEZIER = AVIAMFAnimationType(C.AV_IAMF_ANIMATION_TYPE_BEZIER)
)
View Source
const (
	AV_IAMF_PARAMETER_DEFINITION_MIX_GAIN   = AVIAMFParamDefinitionType(C.AV_IAMF_PARAMETER_DEFINITION_MIX_GAIN)
	AV_IAMF_PARAMETER_DEFINITION_DEMIXING   = AVIAMFParamDefinitionType(C.AV_IAMF_PARAMETER_DEFINITION_DEMIXING)
	AV_IAMF_PARAMETER_DEFINITION_RECON_GAIN = AVIAMFParamDefinitionType(C.AV_IAMF_PARAMETER_DEFINITION_RECON_GAIN)
)
View Source
const (
	AV_IAMF_AMBISONICS_MODE_MONO       = AVIAMFAmbisonicsMode(C.AV_IAMF_AMBISONICS_MODE_MONO)
	AV_IAMF_AMBISONICS_MODE_PROJECTION = AVIAMFAmbisonicsMode(C.AV_IAMF_AMBISONICS_MODE_PROJECTION)
)
View Source
const (
	AV_IAMF_AUDIO_ELEMENT_TYPE_CHANNEL = AVIAMFAudioElementType(C.AV_IAMF_AUDIO_ELEMENT_TYPE_CHANNEL)
	AV_IAMF_AUDIO_ELEMENT_TYPE_SCENE   = AVIAMFAudioElementType(C.AV_IAMF_AUDIO_ELEMENT_TYPE_SCENE)
)
View Source
const (
	AV_IAMF_HEADPHONES_MODE_STEREO   = AVIAMFHeadphonesMode(C.AV_IAMF_HEADPHONES_MODE_STEREO)
	AV_IAMF_HEADPHONES_MODE_BINAURAL = AVIAMFHeadphonesMode(C.AV_IAMF_HEADPHONES_MODE_BINAURAL)
)
View Source
const (
	AV_IAMF_SUBMIX_LAYOUT_TYPE_LOUDSPEAKERS = AVIAMFSubmixLayoutType(C.AV_IAMF_SUBMIX_LAYOUT_TYPE_LOUDSPEAKERS)
	AV_IAMF_SUBMIX_LAYOUT_TYPE_BINAURAL     = AVIAMFSubmixLayoutType(C.AV_IAMF_SUBMIX_LAYOUT_TYPE_BINAURAL)
)
View Source
const (
	AV_CLASS_CATEGORY_NA                  = AVClassCategory(C.AV_CLASS_CATEGORY_NA)
	AV_CLASS_CATEGORY_INPUT               = AVClassCategory(C.AV_CLASS_CATEGORY_INPUT)
	AV_CLASS_CATEGORY_OUTPUT              = AVClassCategory(C.AV_CLASS_CATEGORY_OUTPUT)
	AV_CLASS_CATEGORY_MUXER               = AVClassCategory(C.AV_CLASS_CATEGORY_MUXER)
	AV_CLASS_CATEGORY_DEMUXER             = AVClassCategory(C.AV_CLASS_CATEGORY_DEMUXER)
	AV_CLASS_CATEGORY_ENCODER             = AVClassCategory(C.AV_CLASS_CATEGORY_ENCODER)
	AV_CLASS_CATEGORY_DECODER             = AVClassCategory(C.AV_CLASS_CATEGORY_DECODER)
	AV_CLASS_CATEGORY_FILTER              = AVClassCategory(C.AV_CLASS_CATEGORY_FILTER)
	AV_CLASS_CATEGORY_BITSTREAM_FILTER    = AVClassCategory(C.AV_CLASS_CATEGORY_BITSTREAM_FILTER)
	AV_CLASS_CATEGORY_SWSCALER            = AVClassCategory(C.AV_CLASS_CATEGORY_SWSCALER)
	AV_CLASS_CATEGORY_SWRESAMPLER         = AVClassCategory(C.AV_CLASS_CATEGORY_SWRESAMPLER)
	AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT = AVClassCategory(C.AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT)
	AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT  = AVClassCategory(C.AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT)
	AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT = AVClassCategory(C.AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT)
	AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT  = AVClassCategory(C.AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT)
	AV_CLASS_CATEGORY_DEVICE_OUTPUT       = AVClassCategory(C.AV_CLASS_CATEGORY_DEVICE_OUTPUT)
	AV_CLASS_CATEGORY_DEVICE_INPUT        = AVClassCategory(C.AV_CLASS_CATEGORY_DEVICE_INPUT)
	AV_CLASS_CATEGORY_NB                  = AVClassCategory(C.AV_CLASS_CATEGORY_NB)
)
View Source
const (
	AV_LOG_QUIET   = int32(C.AV_LOG_QUIET)
	AV_LOG_PANIC   = int32(C.AV_LOG_PANIC)
	AV_LOG_FATAL   = int32(C.AV_LOG_FATAL)
	AV_LOG_ERROR   = int32(C.AV_LOG_ERROR)
	AV_LOG_WARNING = int32(C.AV_LOG_WARNING)
	AV_LOG_INFO    = int32(C.AV_LOG_INFO)
	AV_LOG_VERBOSE = int32(C.AV_LOG_VERBOSE)
	AV_LOG_DEBUG   = int32(C.AV_LOG_DEBUG)
	AV_LOG_TRACE   = int32(C.AV_LOG_TRACE)
)
View Source
const (
	AV_LOG_SKIP_REPEATED = C.AV_LOG_SKIP_REPEATED
	AV_LOG_PRINT_LEVEL   = C.AV_LOG_PRINT_LEVEL
)
View Source
const (
	AV_LZO_INPUT_DEPLETED  = C.AV_LZO_INPUT_DEPLETED
	AV_LZO_OUTPUT_FULL     = C.AV_LZO_OUTPUT_FULL
	AV_LZO_INVALID_BACKPTR = C.AV_LZO_INVALID_BACKPTR
	AV_LZO_ERROR           = C.AV_LZO_ERROR
	AV_LZO_INPUT_PADDING   = C.AV_LZO_INPUT_PADDING
	AV_LZO_OUTPUT_PADDING  = C.AV_LZO_OUTPUT_PADDING
)
View Source
const (
	AV_ROUND_ZERO        = AVRounding(C.AV_ROUND_ZERO)
	AV_ROUND_INF         = AVRounding(C.AV_ROUND_INF)
	AV_ROUND_DOWN        = AVRounding(C.AV_ROUND_DOWN)
	AV_ROUND_UP          = AVRounding(C.AV_ROUND_UP)
	AV_ROUND_NEAR_INF    = AVRounding(C.AV_ROUND_NEAR_INF)
	AV_ROUND_PASS_MINMAX = AVRounding(C.AV_ROUND_PASS_MINMAX)
)
View Source
const (
	AV_OPT_TYPE_FLAGS      = AVOptionType(C.AV_OPT_TYPE_FLAGS)
	AV_OPT_TYPE_INT        = AVOptionType(C.AV_OPT_TYPE_INT)
	AV_OPT_TYPE_INT64      = AVOptionType(C.AV_OPT_TYPE_INT64)
	AV_OPT_TYPE_DOUBLE     = AVOptionType(C.AV_OPT_TYPE_DOUBLE)
	AV_OPT_TYPE_FLOAT      = AVOptionType(C.AV_OPT_TYPE_FLOAT)
	AV_OPT_TYPE_STRING     = AVOptionType(C.AV_OPT_TYPE_STRING)
	AV_OPT_TYPE_RATIONAL   = AVOptionType(C.AV_OPT_TYPE_RATIONAL)
	AV_OPT_TYPE_BINARY     = AVOptionType(C.AV_OPT_TYPE_BINARY)
	AV_OPT_TYPE_DICT       = AVOptionType(C.AV_OPT_TYPE_DICT)
	AV_OPT_TYPE_UINT64     = AVOptionType(C.AV_OPT_TYPE_UINT64)
	AV_OPT_TYPE_CONST      = AVOptionType(C.AV_OPT_TYPE_CONST)
	AV_OPT_TYPE_IMAGE_SIZE = AVOptionType(C.AV_OPT_TYPE_IMAGE_SIZE)
	AV_OPT_TYPE_PIXEL_FMT  = AVOptionType(C.AV_OPT_TYPE_PIXEL_FMT)
	AV_OPT_TYPE_SAMPLE_FMT = AVOptionType(C.AV_OPT_TYPE_SAMPLE_FMT)
	AV_OPT_TYPE_VIDEO_RATE = AVOptionType(C.AV_OPT_TYPE_VIDEO_RATE)
	AV_OPT_TYPE_DURATION   = AVOptionType(C.AV_OPT_TYPE_DURATION)
	AV_OPT_TYPE_COLOR      = AVOptionType(C.AV_OPT_TYPE_COLOR)
	AV_OPT_TYPE_BOOL       = AVOptionType(C.AV_OPT_TYPE_BOOL)
	AV_OPT_TYPE_CHLAYOUT   = AVOptionType(C.AV_OPT_TYPE_CHLAYOUT)

	AV_OPT_TYPE_FLAG_ARRAY = AVOptionType(C.AV_OPT_TYPE_FLAG_ARRAY)
)
View Source
const (
	AV_OPT_FLAG_ENCODING_PARAM = int32(C.AV_OPT_FLAG_ENCODING_PARAM)
	AV_OPT_FLAG_DECODING_PARAM = int32(C.AV_OPT_FLAG_DECODING_PARAM)
	AV_OPT_FLAG_AUDIO_PARAM    = int32(C.AV_OPT_FLAG_AUDIO_PARAM)
	AV_OPT_FLAG_VIDEO_PARAM    = int32(C.AV_OPT_FLAG_VIDEO_PARAM)
	AV_OPT_FLAG_SUBTITLE_PARAM = int32(C.AV_OPT_FLAG_SUBTITLE_PARAM)

	AV_OPT_FLAG_EXPORT = int32(C.AV_OPT_FLAG_EXPORT)

	AV_OPT_FLAG_READONLY        = int32(C.AV_OPT_FLAG_READONLY)
	AV_OPT_FLAG_BSF_PARAM       = int32(C.AV_OPT_FLAG_BSF_PARAM)
	AV_OPT_FLAG_RUNTIME_PARAM   = int32(C.AV_OPT_FLAG_RUNTIME_PARAM)
	AV_OPT_FLAG_FILTERING_PARAM = int32(C.AV_OPT_FLAG_FILTERING_PARAM)
	AV_OPT_FLAG_DEPRECATED      = int32(C.AV_OPT_FLAG_DEPRECATED)
	AV_OPT_FLAG_CHILD_CONSTS    = int32(C.AV_OPT_FLAG_CHILD_CONSTS)
)
View Source
const (
	AV_OPT_SEARCH_CHILDREN       = C.AV_OPT_SEARCH_CHILDREN
	AV_OPT_SEARCH_FAKE_OBJ       = C.AV_OPT_SEARCH_FAKE_OBJ
	AV_OPT_ALLOW_NULL            = C.AV_OPT_ALLOW_NULL
	AV_OPT_MULTI_COMPONENT_RANGE = C.AV_OPT_MULTI_COMPONENT_RANGE
)
View Source
const (
	AV_OPT_SERIALIZE_SKIP_DEFAULTS   = int32(C.AV_OPT_SERIALIZE_SKIP_DEFAULTS)
	AV_OPT_SERIALIZE_OPT_FLAGS_EXACT = int32(C.AV_OPT_SERIALIZE_OPT_FLAGS_EXACT)
)
View Source
const (
	AV_PIX_FMT_FLAG_BE        = C.AV_PIX_FMT_FLAG_BE
	AV_PIX_FMT_FLAG_PAL       = C.AV_PIX_FMT_FLAG_PAL
	AV_PIX_FMT_FLAG_BITSTREAM = C.AV_PIX_FMT_FLAG_BITSTREAM
	AV_PIX_FMT_FLAG_HWACCEL   = C.AV_PIX_FMT_FLAG_HWACCEL
	AV_PIX_FMT_FLAG_PLANAR    = C.AV_PIX_FMT_FLAG_PLANAR
	AV_PIX_FMT_FLAG_RGB       = C.AV_PIX_FMT_FLAG_RGB

	AV_PIX_FMT_FLAG_ALPHA = C.AV_PIX_FMT_FLAG_ALPHA
	AV_PIX_FMT_FLAG_BAYER = C.AV_PIX_FMT_FLAG_BAYER
	AV_PIX_FMT_FLAG_FLOAT = C.AV_PIX_FMT_FLAG_FLOAT
	AV_PIX_FMT_FLAG_XYZ   = C.AV_PIX_FMT_FLAG_XYZ
)
View Source
const (
	FF_LOSS_RESOLUTION = C.FF_LOSS_RESOLUTION
	FF_LOSS_DEPTH      = C.FF_LOSS_DEPTH
	FF_LOSS_COLORSPACE = C.FF_LOSS_COLORSPACE
	FF_LOSS_ALPHA      = C.FF_LOSS_ALPHA
	FF_LOSS_COLORQUANT = C.FF_LOSS_COLORQUANT
	FF_LOSS_CHROMA     = C.FF_LOSS_CHROMA
)
View Source
const (
	AVPALETTE_SIZE  = int32(C.AVPALETTE_SIZE)
	AVPALETTE_COUNT = int32(C.AVPALETTE_COUNT)
)
View Source
const (
	AV_PIX_FMT_NONE      = AVPixelFormat(C.AV_PIX_FMT_NONE)
	AV_PIX_FMT_YUV420P   = AVPixelFormat(C.AV_PIX_FMT_YUV420P)
	AV_PIX_FMT_YUYV422   = AVPixelFormat(C.AV_PIX_FMT_YUYV422)
	AV_PIX_FMT_RGB24     = AVPixelFormat(C.AV_PIX_FMT_RGB24)
	AV_PIX_FMT_BGR24     = AVPixelFormat(C.AV_PIX_FMT_BGR24)
	AV_PIX_FMT_YUV422P   = AVPixelFormat(C.AV_PIX_FMT_YUV422P)
	AV_PIX_FMT_YUV444P   = AVPixelFormat(C.AV_PIX_FMT_YUV444P)
	AV_PIX_FMT_YUV410P   = AVPixelFormat(C.AV_PIX_FMT_YUV410P)
	AV_PIX_FMT_YUV411P   = AVPixelFormat(C.AV_PIX_FMT_YUV411P)
	AV_PIX_FMT_GRAY8     = AVPixelFormat(C.AV_PIX_FMT_GRAY8)
	AV_PIX_FMT_MONOWHITE = AVPixelFormat(C.AV_PIX_FMT_MONOWHITE)
	AV_PIX_FMT_MONOBLACK = AVPixelFormat(C.AV_PIX_FMT_MONOBLACK)
	AV_PIX_FMT_PAL8      = AVPixelFormat(C.AV_PIX_FMT_PAL8)
	AV_PIX_FMT_YUVJ420P  = AVPixelFormat(C.AV_PIX_FMT_YUVJ420P)
	AV_PIX_FMT_YUVJ422P  = AVPixelFormat(C.AV_PIX_FMT_YUVJ422P)
	AV_PIX_FMT_YUVJ444P  = AVPixelFormat(C.AV_PIX_FMT_YUVJ444P)
	AV_PIX_FMT_UYVY422   = AVPixelFormat(C.AV_PIX_FMT_UYVY422)
	AV_PIX_FMT_UYYVYY411 = AVPixelFormat(C.AV_PIX_FMT_UYYVYY411)
	AV_PIX_FMT_BGR8      = AVPixelFormat(C.AV_PIX_FMT_BGR8)
	AV_PIX_FMT_BGR4      = AVPixelFormat(C.AV_PIX_FMT_BGR4)
	AV_PIX_FMT_BGR4_BYTE = AVPixelFormat(C.AV_PIX_FMT_BGR4_BYTE)
	AV_PIX_FMT_RGB8      = AVPixelFormat(C.AV_PIX_FMT_RGB8)
	AV_PIX_FMT_RGB4      = AVPixelFormat(C.AV_PIX_FMT_RGB4)
	AV_PIX_FMT_RGB4_BYTE = AVPixelFormat(C.AV_PIX_FMT_RGB4_BYTE)
	AV_PIX_FMT_NV12      = AVPixelFormat(C.AV_PIX_FMT_NV12)
	AV_PIX_FMT_NV21      = AVPixelFormat(C.AV_PIX_FMT_NV21)

	AV_PIX_FMT_ARGB = AVPixelFormat(C.AV_PIX_FMT_ARGB)
	AV_PIX_FMT_RGBA = AVPixelFormat(C.AV_PIX_FMT_RGBA)
	AV_PIX_FMT_ABGR = AVPixelFormat(C.AV_PIX_FMT_ABGR)
	AV_PIX_FMT_BGRA = AVPixelFormat(C.AV_PIX_FMT_BGRA)

	AV_PIX_FMT_GRAY16BE = AVPixelFormat(C.AV_PIX_FMT_GRAY16BE)
	AV_PIX_FMT_GRAY16LE = AVPixelFormat(C.AV_PIX_FMT_GRAY16LE)
	AV_PIX_FMT_YUV440P  = AVPixelFormat(C.AV_PIX_FMT_YUV440P)
	AV_PIX_FMT_YUVJ440P = AVPixelFormat(C.AV_PIX_FMT_YUVJ440P)
	AV_PIX_FMT_YUVA420P = AVPixelFormat(C.AV_PIX_FMT_YUVA420P)
	AV_PIX_FMT_RGB48BE  = AVPixelFormat(C.AV_PIX_FMT_RGB48BE)
	AV_PIX_FMT_RGB48LE  = AVPixelFormat(C.AV_PIX_FMT_RGB48LE)

	AV_PIX_FMT_RGB565BE = AVPixelFormat(C.AV_PIX_FMT_RGB565BE)
	AV_PIX_FMT_RGB565LE = AVPixelFormat(C.AV_PIX_FMT_RGB565LE)
	AV_PIX_FMT_RGB555BE = AVPixelFormat(C.AV_PIX_FMT_RGB555BE)
	AV_PIX_FMT_RGB555LE = AVPixelFormat(C.AV_PIX_FMT_RGB555LE)

	AV_PIX_FMT_BGR565BE = AVPixelFormat(C.AV_PIX_FMT_BGR565BE)
	AV_PIX_FMT_BGR565LE = AVPixelFormat(C.AV_PIX_FMT_BGR565LE)
	AV_PIX_FMT_BGR555BE = AVPixelFormat(C.AV_PIX_FMT_BGR555BE)
	AV_PIX_FMT_BGR555LE = AVPixelFormat(C.AV_PIX_FMT_BGR555LE)

	AV_PIX_FMT_VAAPI = AVPixelFormat(C.AV_PIX_FMT_VAAPI)

	AV_PIX_FMT_YUV420P16LE = AVPixelFormat(C.AV_PIX_FMT_YUV420P16LE)
	AV_PIX_FMT_YUV420P16BE = AVPixelFormat(C.AV_PIX_FMT_YUV420P16BE)
	AV_PIX_FMT_YUV422P16LE = AVPixelFormat(C.AV_PIX_FMT_YUV422P16LE)
	AV_PIX_FMT_YUV422P16BE = AVPixelFormat(C.AV_PIX_FMT_YUV422P16BE)
	AV_PIX_FMT_YUV444P16LE = AVPixelFormat(C.AV_PIX_FMT_YUV444P16LE)
	AV_PIX_FMT_YUV444P16BE = AVPixelFormat(C.AV_PIX_FMT_YUV444P16BE)
	AV_PIX_FMT_DXVA2_VLD   = AVPixelFormat(C.AV_PIX_FMT_DXVA2_VLD)

	AV_PIX_FMT_RGB444LE = AVPixelFormat(C.AV_PIX_FMT_RGB444LE)
	AV_PIX_FMT_RGB444BE = AVPixelFormat(C.AV_PIX_FMT_RGB444BE)
	AV_PIX_FMT_BGR444LE = AVPixelFormat(C.AV_PIX_FMT_BGR444LE)
	AV_PIX_FMT_BGR444BE = AVPixelFormat(C.AV_PIX_FMT_BGR444BE)
	AV_PIX_FMT_YA8      = AVPixelFormat(C.AV_PIX_FMT_YA8)

	AV_PIX_FMT_Y400A  = AVPixelFormat(C.AV_PIX_FMT_Y400A)
	AV_PIX_FMT_GRAY8A = AVPixelFormat(C.AV_PIX_FMT_GRAY8A)

	AV_PIX_FMT_BGR48BE = AVPixelFormat(C.AV_PIX_FMT_BGR48BE)
	AV_PIX_FMT_BGR48LE = AVPixelFormat(C.AV_PIX_FMT_BGR48LE)

	AV_PIX_FMT_YUV420P9BE   = AVPixelFormat(C.AV_PIX_FMT_YUV420P9BE)
	AV_PIX_FMT_YUV420P9LE   = AVPixelFormat(C.AV_PIX_FMT_YUV420P9LE)
	AV_PIX_FMT_YUV420P10BE  = AVPixelFormat(C.AV_PIX_FMT_YUV420P10BE)
	AV_PIX_FMT_YUV420P10LE  = AVPixelFormat(C.AV_PIX_FMT_YUV420P10LE)
	AV_PIX_FMT_YUV422P10BE  = AVPixelFormat(C.AV_PIX_FMT_YUV422P10BE)
	AV_PIX_FMT_YUV422P10LE  = AVPixelFormat(C.AV_PIX_FMT_YUV422P10LE)
	AV_PIX_FMT_YUV444P9BE   = AVPixelFormat(C.AV_PIX_FMT_YUV444P9BE)
	AV_PIX_FMT_YUV444P9LE   = AVPixelFormat(C.AV_PIX_FMT_YUV444P9LE)
	AV_PIX_FMT_YUV444P10BE  = AVPixelFormat(C.AV_PIX_FMT_YUV444P10BE)
	AV_PIX_FMT_YUV444P10LE  = AVPixelFormat(C.AV_PIX_FMT_YUV444P10LE)
	AV_PIX_FMT_YUV422P9BE   = AVPixelFormat(C.AV_PIX_FMT_YUV422P9BE)
	AV_PIX_FMT_YUV422P9LE   = AVPixelFormat(C.AV_PIX_FMT_YUV422P9LE)
	AV_PIX_FMT_GBRP         = AVPixelFormat(C.AV_PIX_FMT_GBRP)
	AV_PIX_FMT_GBR24P       = AVPixelFormat(C.AV_PIX_FMT_GBR24P)
	AV_PIX_FMT_GBRP9BE      = AVPixelFormat(C.AV_PIX_FMT_GBRP9BE)
	AV_PIX_FMT_GBRP9LE      = AVPixelFormat(C.AV_PIX_FMT_GBRP9LE)
	AV_PIX_FMT_GBRP10BE     = AVPixelFormat(C.AV_PIX_FMT_GBRP10BE)
	AV_PIX_FMT_GBRP10LE     = AVPixelFormat(C.AV_PIX_FMT_GBRP10LE)
	AV_PIX_FMT_GBRP16BE     = AVPixelFormat(C.AV_PIX_FMT_GBRP16BE)
	AV_PIX_FMT_GBRP16LE     = AVPixelFormat(C.AV_PIX_FMT_GBRP16LE)
	AV_PIX_FMT_YUVA422P     = AVPixelFormat(C.AV_PIX_FMT_YUVA422P)
	AV_PIX_FMT_YUVA444P     = AVPixelFormat(C.AV_PIX_FMT_YUVA444P)
	AV_PIX_FMT_YUVA420P9BE  = AVPixelFormat(C.AV_PIX_FMT_YUVA420P9BE)
	AV_PIX_FMT_YUVA420P9LE  = AVPixelFormat(C.AV_PIX_FMT_YUVA420P9LE)
	AV_PIX_FMT_YUVA422P9BE  = AVPixelFormat(C.AV_PIX_FMT_YUVA422P9BE)
	AV_PIX_FMT_YUVA422P9LE  = AVPixelFormat(C.AV_PIX_FMT_YUVA422P9LE)
	AV_PIX_FMT_YUVA444P9BE  = AVPixelFormat(C.AV_PIX_FMT_YUVA444P9BE)
	AV_PIX_FMT_YUVA444P9LE  = AVPixelFormat(C.AV_PIX_FMT_YUVA444P9LE)
	AV_PIX_FMT_YUVA420P10BE = AVPixelFormat(C.AV_PIX_FMT_YUVA420P10BE)
	AV_PIX_FMT_YUVA420P10LE = AVPixelFormat(C.AV_PIX_FMT_YUVA420P10LE)
	AV_PIX_FMT_YUVA422P10BE = AVPixelFormat(C.AV_PIX_FMT_YUVA422P10BE)
	AV_PIX_FMT_YUVA422P10LE = AVPixelFormat(C.AV_PIX_FMT_YUVA422P10LE)
	AV_PIX_FMT_YUVA444P10BE = AVPixelFormat(C.AV_PIX_FMT_YUVA444P10BE)
	AV_PIX_FMT_YUVA444P10LE = AVPixelFormat(C.AV_PIX_FMT_YUVA444P10LE)
	AV_PIX_FMT_YUVA420P16BE = AVPixelFormat(C.AV_PIX_FMT_YUVA420P16BE)
	AV_PIX_FMT_YUVA420P16LE = AVPixelFormat(C.AV_PIX_FMT_YUVA420P16LE)
	AV_PIX_FMT_YUVA422P16BE = AVPixelFormat(C.AV_PIX_FMT_YUVA422P16BE)
	AV_PIX_FMT_YUVA422P16LE = AVPixelFormat(C.AV_PIX_FMT_YUVA422P16LE)
	AV_PIX_FMT_YUVA444P16BE = AVPixelFormat(C.AV_PIX_FMT_YUVA444P16BE)
	AV_PIX_FMT_YUVA444P16LE = AVPixelFormat(C.AV_PIX_FMT_YUVA444P16LE)

	AV_PIX_FMT_VDPAU = AVPixelFormat(C.AV_PIX_FMT_VDPAU)

	AV_PIX_FMT_XYZ12LE  = AVPixelFormat(C.AV_PIX_FMT_XYZ12LE)
	AV_PIX_FMT_XYZ12BE  = AVPixelFormat(C.AV_PIX_FMT_XYZ12BE)
	AV_PIX_FMT_NV16     = AVPixelFormat(C.AV_PIX_FMT_NV16)
	AV_PIX_FMT_NV20LE   = AVPixelFormat(C.AV_PIX_FMT_NV20LE)
	AV_PIX_FMT_NV20BE   = AVPixelFormat(C.AV_PIX_FMT_NV20BE)
	AV_PIX_FMT_RGBA64BE = AVPixelFormat(C.AV_PIX_FMT_RGBA64BE)
	AV_PIX_FMT_RGBA64LE = AVPixelFormat(C.AV_PIX_FMT_RGBA64LE)
	AV_PIX_FMT_BGRA64BE = AVPixelFormat(C.AV_PIX_FMT_BGRA64BE)
	AV_PIX_FMT_BGRA64LE = AVPixelFormat(C.AV_PIX_FMT_BGRA64LE)

	AV_PIX_FMT_YVYU422 = AVPixelFormat(C.AV_PIX_FMT_YVYU422)

	AV_PIX_FMT_YA16BE = AVPixelFormat(C.AV_PIX_FMT_YA16BE)
	AV_PIX_FMT_YA16LE = AVPixelFormat(C.AV_PIX_FMT_YA16LE)

	AV_PIX_FMT_GBRAP     = AVPixelFormat(C.AV_PIX_FMT_GBRAP)
	AV_PIX_FMT_GBRAP16BE = AVPixelFormat(C.AV_PIX_FMT_GBRAP16BE)
	AV_PIX_FMT_GBRAP16LE = AVPixelFormat(C.AV_PIX_FMT_GBRAP16LE)

	AV_PIX_FMT_QSV = AVPixelFormat(C.AV_PIX_FMT_QSV)

	AV_PIX_FMT_MMAL = AVPixelFormat(C.AV_PIX_FMT_MMAL)

	AV_PIX_FMT_D3D11VA_VLD = AVPixelFormat(C.AV_PIX_FMT_D3D11VA_VLD)

	AV_PIX_FMT_CUDA = AVPixelFormat(C.AV_PIX_FMT_CUDA)

	AV_PIX_FMT_0RGB = AVPixelFormat(C.AV_PIX_FMT_0RGB)
	AV_PIX_FMT_RGB0 = AVPixelFormat(C.AV_PIX_FMT_RGB0)
	AV_PIX_FMT_0BGR = AVPixelFormat(C.AV_PIX_FMT_0BGR)
	AV_PIX_FMT_BGR0 = AVPixelFormat(C.AV_PIX_FMT_BGR0)

	AV_PIX_FMT_YUV420P12BE = AVPixelFormat(C.AV_PIX_FMT_YUV420P12BE)
	AV_PIX_FMT_YUV420P12LE = AVPixelFormat(C.AV_PIX_FMT_YUV420P12LE)
	AV_PIX_FMT_YUV420P14BE = AVPixelFormat(C.AV_PIX_FMT_YUV420P14BE)
	AV_PIX_FMT_YUV420P14LE = AVPixelFormat(C.AV_PIX_FMT_YUV420P14LE)
	AV_PIX_FMT_YUV422P12BE = AVPixelFormat(C.AV_PIX_FMT_YUV422P12BE)
	AV_PIX_FMT_YUV422P12LE = AVPixelFormat(C.AV_PIX_FMT_YUV422P12LE)
	AV_PIX_FMT_YUV422P14BE = AVPixelFormat(C.AV_PIX_FMT_YUV422P14BE)
	AV_PIX_FMT_YUV422P14LE = AVPixelFormat(C.AV_PIX_FMT_YUV422P14LE)
	AV_PIX_FMT_YUV444P12BE = AVPixelFormat(C.AV_PIX_FMT_YUV444P12BE)
	AV_PIX_FMT_YUV444P12LE = AVPixelFormat(C.AV_PIX_FMT_YUV444P12LE)
	AV_PIX_FMT_YUV444P14BE = AVPixelFormat(C.AV_PIX_FMT_YUV444P14BE)
	AV_PIX_FMT_YUV444P14LE = AVPixelFormat(C.AV_PIX_FMT_YUV444P14LE)
	AV_PIX_FMT_GBRP12BE    = AVPixelFormat(C.AV_PIX_FMT_GBRP12BE)
	AV_PIX_FMT_GBRP12LE    = AVPixelFormat(C.AV_PIX_FMT_GBRP12LE)
	AV_PIX_FMT_GBRP14BE    = AVPixelFormat(C.AV_PIX_FMT_GBRP14BE)
	AV_PIX_FMT_GBRP14LE    = AVPixelFormat(C.AV_PIX_FMT_GBRP14LE)
	AV_PIX_FMT_YUVJ411P    = AVPixelFormat(C.AV_PIX_FMT_YUVJ411P)

	AV_PIX_FMT_BAYER_BGGR8    = AVPixelFormat(C.AV_PIX_FMT_BAYER_BGGR8)
	AV_PIX_FMT_BAYER_RGGB8    = AVPixelFormat(C.AV_PIX_FMT_BAYER_RGGB8)
	AV_PIX_FMT_BAYER_GBRG8    = AVPixelFormat(C.AV_PIX_FMT_BAYER_GBRG8)
	AV_PIX_FMT_BAYER_GRBG8    = AVPixelFormat(C.AV_PIX_FMT_BAYER_GRBG8)
	AV_PIX_FMT_BAYER_BGGR16LE = AVPixelFormat(C.AV_PIX_FMT_BAYER_BGGR16LE)
	AV_PIX_FMT_BAYER_BGGR16BE = AVPixelFormat(C.AV_PIX_FMT_BAYER_BGGR16BE)
	AV_PIX_FMT_BAYER_RGGB16LE = AVPixelFormat(C.AV_PIX_FMT_BAYER_RGGB16LE)
	AV_PIX_FMT_BAYER_RGGB16BE = AVPixelFormat(C.AV_PIX_FMT_BAYER_RGGB16BE)
	AV_PIX_FMT_BAYER_GBRG16LE = AVPixelFormat(C.AV_PIX_FMT_BAYER_GBRG16LE)
	AV_PIX_FMT_BAYER_GBRG16BE = AVPixelFormat(C.AV_PIX_FMT_BAYER_GBRG16BE)
	AV_PIX_FMT_BAYER_GRBG16LE = AVPixelFormat(C.AV_PIX_FMT_BAYER_GRBG16LE)
	AV_PIX_FMT_BAYER_GRBG16BE = AVPixelFormat(C.AV_PIX_FMT_BAYER_GRBG16BE)

	AV_PIX_FMT_YUV440P10LE = AVPixelFormat(C.AV_PIX_FMT_YUV440P10LE)
	AV_PIX_FMT_YUV440P10BE = AVPixelFormat(C.AV_PIX_FMT_YUV440P10BE)
	AV_PIX_FMT_YUV440P12LE = AVPixelFormat(C.AV_PIX_FMT_YUV440P12LE)
	AV_PIX_FMT_YUV440P12BE = AVPixelFormat(C.AV_PIX_FMT_YUV440P12BE)
	AV_PIX_FMT_AYUV64LE    = AVPixelFormat(C.AV_PIX_FMT_AYUV64LE)
	AV_PIX_FMT_AYUV64BE    = AVPixelFormat(C.AV_PIX_FMT_AYUV64BE)

	AV_PIX_FMT_VIDEOTOOLBOX = AVPixelFormat(C.AV_PIX_FMT_VIDEOTOOLBOX)

	AV_PIX_FMT_P010LE = AVPixelFormat(C.AV_PIX_FMT_P010LE)
	AV_PIX_FMT_P010BE = AVPixelFormat(C.AV_PIX_FMT_P010BE)

	AV_PIX_FMT_GBRAP12BE = AVPixelFormat(C.AV_PIX_FMT_GBRAP12BE)
	AV_PIX_FMT_GBRAP12LE = AVPixelFormat(C.AV_PIX_FMT_GBRAP12LE)

	AV_PIX_FMT_GBRAP10BE = AVPixelFormat(C.AV_PIX_FMT_GBRAP10BE)
	AV_PIX_FMT_GBRAP10LE = AVPixelFormat(C.AV_PIX_FMT_GBRAP10LE)

	AV_PIX_FMT_MEDIACODEC = AVPixelFormat(C.AV_PIX_FMT_MEDIACODEC)

	AV_PIX_FMT_GRAY12BE = AVPixelFormat(C.AV_PIX_FMT_GRAY12BE)
	AV_PIX_FMT_GRAY12LE = AVPixelFormat(C.AV_PIX_FMT_GRAY12LE)
	AV_PIX_FMT_GRAY10BE = AVPixelFormat(C.AV_PIX_FMT_GRAY10BE)
	AV_PIX_FMT_GRAY10LE = AVPixelFormat(C.AV_PIX_FMT_GRAY10LE)

	AV_PIX_FMT_P016LE = AVPixelFormat(C.AV_PIX_FMT_P016LE)
	AV_PIX_FMT_P016BE = AVPixelFormat(C.AV_PIX_FMT_P016BE)

	AV_PIX_FMT_D3D11 = AVPixelFormat(C.AV_PIX_FMT_D3D11)

	AV_PIX_FMT_GRAY9BE = AVPixelFormat(C.AV_PIX_FMT_GRAY9BE)
	AV_PIX_FMT_GRAY9LE = AVPixelFormat(C.AV_PIX_FMT_GRAY9LE)

	AV_PIX_FMT_GBRPF32BE  = AVPixelFormat(C.AV_PIX_FMT_GBRPF32BE)
	AV_PIX_FMT_GBRPF32LE  = AVPixelFormat(C.AV_PIX_FMT_GBRPF32LE)
	AV_PIX_FMT_GBRAPF32BE = AVPixelFormat(C.AV_PIX_FMT_GBRAPF32BE)
	AV_PIX_FMT_GBRAPF32LE = AVPixelFormat(C.AV_PIX_FMT_GBRAPF32LE)

	AV_PIX_FMT_DRM_PRIME = AVPixelFormat(C.AV_PIX_FMT_DRM_PRIME)

	AV_PIX_FMT_OPENCL = AVPixelFormat(C.AV_PIX_FMT_OPENCL)

	AV_PIX_FMT_GRAY14BE = AVPixelFormat(C.AV_PIX_FMT_GRAY14BE)
	AV_PIX_FMT_GRAY14LE = AVPixelFormat(C.AV_PIX_FMT_GRAY14LE)

	AV_PIX_FMT_GRAYF32BE = AVPixelFormat(C.AV_PIX_FMT_GRAYF32BE)
	AV_PIX_FMT_GRAYF32LE = AVPixelFormat(C.AV_PIX_FMT_GRAYF32LE)

	AV_PIX_FMT_YUVA422P12BE = AVPixelFormat(C.AV_PIX_FMT_YUVA422P12BE)
	AV_PIX_FMT_YUVA422P12LE = AVPixelFormat(C.AV_PIX_FMT_YUVA422P12LE)
	AV_PIX_FMT_YUVA444P12BE = AVPixelFormat(C.AV_PIX_FMT_YUVA444P12BE)
	AV_PIX_FMT_YUVA444P12LE = AVPixelFormat(C.AV_PIX_FMT_YUVA444P12LE)

	AV_PIX_FMT_NV24 = AVPixelFormat(C.AV_PIX_FMT_NV24)
	AV_PIX_FMT_NV42 = AVPixelFormat(C.AV_PIX_FMT_NV42)

	AV_PIX_FMT_VULKAN = AVPixelFormat(C.AV_PIX_FMT_VULKAN)

	AV_PIX_FMT_Y210BE = AVPixelFormat(C.AV_PIX_FMT_Y210BE)
	AV_PIX_FMT_Y210LE = AVPixelFormat(C.AV_PIX_FMT_Y210LE)

	AV_PIX_FMT_X2RGB10LE = AVPixelFormat(C.AV_PIX_FMT_X2RGB10LE)
	AV_PIX_FMT_X2RGB10BE = AVPixelFormat(C.AV_PIX_FMT_X2RGB10BE)
	AV_PIX_FMT_X2BGR10LE = AVPixelFormat(C.AV_PIX_FMT_X2BGR10LE)
	AV_PIX_FMT_X2BGR10BE = AVPixelFormat(C.AV_PIX_FMT_X2BGR10BE)

	AV_PIX_FMT_P210BE = AVPixelFormat(C.AV_PIX_FMT_P210BE)
	AV_PIX_FMT_P210LE = AVPixelFormat(C.AV_PIX_FMT_P210LE)

	AV_PIX_FMT_P410BE = AVPixelFormat(C.AV_PIX_FMT_P410BE)
	AV_PIX_FMT_P410LE = AVPixelFormat(C.AV_PIX_FMT_P410LE)

	AV_PIX_FMT_P216BE = AVPixelFormat(C.AV_PIX_FMT_P216BE)
	AV_PIX_FMT_P216LE = AVPixelFormat(C.AV_PIX_FMT_P216LE)

	AV_PIX_FMT_P416BE = AVPixelFormat(C.AV_PIX_FMT_P416BE)
	AV_PIX_FMT_P416LE = AVPixelFormat(C.AV_PIX_FMT_P416LE)

	AV_PIX_FMT_VUYA = AVPixelFormat(C.AV_PIX_FMT_VUYA)

	AV_PIX_FMT_RGBAF16BE = AVPixelFormat(C.AV_PIX_FMT_RGBAF16BE)
	AV_PIX_FMT_RGBAF16LE = AVPixelFormat(C.AV_PIX_FMT_RGBAF16LE)

	AV_PIX_FMT_VUYX = AVPixelFormat(C.AV_PIX_FMT_VUYX)

	AV_PIX_FMT_P012LE = AVPixelFormat(C.AV_PIX_FMT_P012LE)
	AV_PIX_FMT_P012BE = AVPixelFormat(C.AV_PIX_FMT_P012BE)

	AV_PIX_FMT_Y212BE = AVPixelFormat(C.AV_PIX_FMT_Y212BE)
	AV_PIX_FMT_Y212LE = AVPixelFormat(C.AV_PIX_FMT_Y212LE)

	AV_PIX_FMT_XV30BE = AVPixelFormat(C.AV_PIX_FMT_XV30BE)
	AV_PIX_FMT_XV30LE = AVPixelFormat(C.AV_PIX_FMT_XV30LE)

	AV_PIX_FMT_XV36BE = AVPixelFormat(C.AV_PIX_FMT_XV36BE)
	AV_PIX_FMT_XV36LE = AVPixelFormat(C.AV_PIX_FMT_XV36LE)

	AV_PIX_FMT_RGBF32BE = AVPixelFormat(C.AV_PIX_FMT_RGBF32BE)
	AV_PIX_FMT_RGBF32LE = AVPixelFormat(C.AV_PIX_FMT_RGBF32LE)

	AV_PIX_FMT_RGBAF32BE = AVPixelFormat(C.AV_PIX_FMT_RGBAF32BE)
	AV_PIX_FMT_RGBAF32LE = AVPixelFormat(C.AV_PIX_FMT_RGBAF32LE)

	AV_PIX_FMT_P212BE = AVPixelFormat(C.AV_PIX_FMT_P212BE)
	AV_PIX_FMT_P212LE = AVPixelFormat(C.AV_PIX_FMT_P212LE)

	AV_PIX_FMT_P412BE = AVPixelFormat(C.AV_PIX_FMT_P412BE)
	AV_PIX_FMT_P412LE = AVPixelFormat(C.AV_PIX_FMT_P412LE)

	AV_PIX_FMT_GBRAP14BE = AVPixelFormat(C.AV_PIX_FMT_GBRAP14BE)
	AV_PIX_FMT_GBRAP14LE = AVPixelFormat(C.AV_PIX_FMT_GBRAP14LE)

	AV_PIX_FMT_D3D12 = AVPixelFormat(C.AV_PIX_FMT_D3D12)

	AV_PIX_FMT_NB = AVPixelFormat(C.AV_PIX_FMT_NB)
)
View Source
const (
	AV_PIX_FMT_RGB32   = AVPixelFormat(C.AV_PIX_FMT_RGB32)
	AV_PIX_FMT_RGB32_1 = AVPixelFormat(C.AV_PIX_FMT_RGB32_1)
	AV_PIX_FMT_BGR32   = AVPixelFormat(C.AV_PIX_FMT_BGR32)
	AV_PIX_FMT_BGR32_1 = AVPixelFormat(C.AV_PIX_FMT_BGR32_1)
	AV_PIX_FMT_0RGB32  = AVPixelFormat(C.AV_PIX_FMT_0RGB32)
	AV_PIX_FMT_0BGR32  = AVPixelFormat(C.AV_PIX_FMT_0BGR32)

	AV_PIX_FMT_GRAY9  = AVPixelFormat(C.AV_PIX_FMT_GRAY9)
	AV_PIX_FMT_GRAY10 = AVPixelFormat(C.AV_PIX_FMT_GRAY10)
	AV_PIX_FMT_GRAY12 = AVPixelFormat(C.AV_PIX_FMT_GRAY12)
	AV_PIX_FMT_GRAY14 = AVPixelFormat(C.AV_PIX_FMT_GRAY14)
	AV_PIX_FMT_GRAY16 = AVPixelFormat(C.AV_PIX_FMT_GRAY16)
	AV_PIX_FMT_YA16   = AVPixelFormat(C.AV_PIX_FMT_YA16)
	AV_PIX_FMT_RGB48  = AVPixelFormat(C.AV_PIX_FMT_RGB48)
	AV_PIX_FMT_RGB565 = AVPixelFormat(C.AV_PIX_FMT_RGB565)
	AV_PIX_FMT_RGB555 = AVPixelFormat(C.AV_PIX_FMT_RGB555)
	AV_PIX_FMT_RGB444 = AVPixelFormat(C.AV_PIX_FMT_RGB444)
	AV_PIX_FMT_RGBA64 = AVPixelFormat(C.AV_PIX_FMT_RGBA64)
	AV_PIX_FMT_BGR48  = AVPixelFormat(C.AV_PIX_FMT_BGR48)
	AV_PIX_FMT_BGR565 = AVPixelFormat(C.AV_PIX_FMT_BGR565)
	AV_PIX_FMT_BGR555 = AVPixelFormat(C.AV_PIX_FMT_BGR555)
	AV_PIX_FMT_BGR444 = AVPixelFormat(C.AV_PIX_FMT_BGR444)
	AV_PIX_FMT_BGRA64 = AVPixelFormat(C.AV_PIX_FMT_BGRA64)

	AV_PIX_FMT_YUV420P9  = AVPixelFormat(C.AV_PIX_FMT_YUV420P9)
	AV_PIX_FMT_YUV422P9  = AVPixelFormat(C.AV_PIX_FMT_YUV422P9)
	AV_PIX_FMT_YUV444P9  = AVPixelFormat(C.AV_PIX_FMT_YUV444P9)
	AV_PIX_FMT_YUV420P10 = AVPixelFormat(C.AV_PIX_FMT_YUV420P10)
	AV_PIX_FMT_YUV422P10 = AVPixelFormat(C.AV_PIX_FMT_YUV422P10)
	AV_PIX_FMT_YUV440P10 = AVPixelFormat(C.AV_PIX_FMT_YUV440P10)
	AV_PIX_FMT_YUV444P10 = AVPixelFormat(C.AV_PIX_FMT_YUV444P10)
	AV_PIX_FMT_YUV420P12 = AVPixelFormat(C.AV_PIX_FMT_YUV420P12)
	AV_PIX_FMT_YUV422P12 = AVPixelFormat(C.AV_PIX_FMT_YUV422P12)
	AV_PIX_FMT_YUV440P12 = AVPixelFormat(C.AV_PIX_FMT_YUV440P12)
	AV_PIX_FMT_YUV444P12 = AVPixelFormat(C.AV_PIX_FMT_YUV444P12)
	AV_PIX_FMT_YUV420P14 = AVPixelFormat(C.AV_PIX_FMT_YUV420P14)
	AV_PIX_FMT_YUV422P14 = AVPixelFormat(C.AV_PIX_FMT_YUV422P14)
	AV_PIX_FMT_YUV444P14 = AVPixelFormat(C.AV_PIX_FMT_YUV444P14)
	AV_PIX_FMT_YUV420P16 = AVPixelFormat(C.AV_PIX_FMT_YUV420P16)
	AV_PIX_FMT_YUV422P16 = AVPixelFormat(C.AV_PIX_FMT_YUV422P16)
	AV_PIX_FMT_YUV444P16 = AVPixelFormat(C.AV_PIX_FMT_YUV444P16)

	AV_PIX_FMT_GBRP9   = AVPixelFormat(C.AV_PIX_FMT_GBRP9)
	AV_PIX_FMT_GBRP10  = AVPixelFormat(C.AV_PIX_FMT_GBRP10)
	AV_PIX_FMT_GBRP12  = AVPixelFormat(C.AV_PIX_FMT_GBRP12)
	AV_PIX_FMT_GBRP14  = AVPixelFormat(C.AV_PIX_FMT_GBRP14)
	AV_PIX_FMT_GBRP16  = AVPixelFormat(C.AV_PIX_FMT_GBRP16)
	AV_PIX_FMT_GBRAP10 = AVPixelFormat(C.AV_PIX_FMT_GBRAP10)
	AV_PIX_FMT_GBRAP12 = AVPixelFormat(C.AV_PIX_FMT_GBRAP12)
	AV_PIX_FMT_GBRAP16 = AVPixelFormat(C.AV_PIX_FMT_GBRAP16)

	AV_PIX_FMT_BAYER_BGGR16 = AVPixelFormat(C.AV_PIX_FMT_BAYER_BGGR16)
	AV_PIX_FMT_BAYER_RGGB16 = AVPixelFormat(C.AV_PIX_FMT_BAYER_RGGB16)
	AV_PIX_FMT_BAYER_GBRG16 = AVPixelFormat(C.AV_PIX_FMT_BAYER_GBRG16)
	AV_PIX_FMT_BAYER_GRBG16 = AVPixelFormat(C.AV_PIX_FMT_BAYER_GRBG16)

	AV_PIX_FMT_GBRPF32  = AVPixelFormat(C.AV_PIX_FMT_GBRPF32)
	AV_PIX_FMT_GBRAPF32 = AVPixelFormat(C.AV_PIX_FMT_GBRAPF32)

	AV_PIX_FMT_GRAYF32 = AVPixelFormat(C.AV_PIX_FMT_GRAYF32)

	AV_PIX_FMT_YUVA420P9  = AVPixelFormat(C.AV_PIX_FMT_YUVA420P9)
	AV_PIX_FMT_YUVA422P9  = AVPixelFormat(C.AV_PIX_FMT_YUVA422P9)
	AV_PIX_FMT_YUVA444P9  = AVPixelFormat(C.AV_PIX_FMT_YUVA444P9)
	AV_PIX_FMT_YUVA420P10 = AVPixelFormat(C.AV_PIX_FMT_YUVA420P10)
	AV_PIX_FMT_YUVA422P10 = AVPixelFormat(C.AV_PIX_FMT_YUVA422P10)
	AV_PIX_FMT_YUVA444P10 = AVPixelFormat(C.AV_PIX_FMT_YUVA444P10)
	AV_PIX_FMT_YUVA422P12 = AVPixelFormat(C.AV_PIX_FMT_YUVA422P12)
	AV_PIX_FMT_YUVA444P12 = AVPixelFormat(C.AV_PIX_FMT_YUVA444P12)
	AV_PIX_FMT_YUVA420P16 = AVPixelFormat(C.AV_PIX_FMT_YUVA420P16)
	AV_PIX_FMT_YUVA422P16 = AVPixelFormat(C.AV_PIX_FMT_YUVA422P16)
	AV_PIX_FMT_YUVA444P16 = AVPixelFormat(C.AV_PIX_FMT_YUVA444P16)

	AV_PIX_FMT_XYZ12  = AVPixelFormat(C.AV_PIX_FMT_XYZ12)
	AV_PIX_FMT_NV20   = AVPixelFormat(C.AV_PIX_FMT_NV20)
	AV_PIX_FMT_AYUV64 = AVPixelFormat(C.AV_PIX_FMT_AYUV64)
	AV_PIX_FMT_P010   = AVPixelFormat(C.AV_PIX_FMT_P010)
	AV_PIX_FMT_P016   = AVPixelFormat(C.AV_PIX_FMT_P016)

	AV_PIX_FMT_Y210    = AVPixelFormat(C.AV_PIX_FMT_Y210)
	AV_PIX_FMT_X2RGB10 = AVPixelFormat(C.AV_PIX_FMT_X2RGB10)
	AV_PIX_FMT_X2BGR10 = AVPixelFormat(C.AV_PIX_FMT_X2BGR10)

	AV_PIX_FMT_P210 = AVPixelFormat(C.AV_PIX_FMT_P210)
	AV_PIX_FMT_P410 = AVPixelFormat(C.AV_PIX_FMT_P410)
	AV_PIX_FMT_P216 = AVPixelFormat(C.AV_PIX_FMT_P216)
	AV_PIX_FMT_P416 = AVPixelFormat(C.AV_PIX_FMT_P416)
)
View Source
const (
	AVCOL_PRI_RESERVED0   = AVColorPrimaries(C.AVCOL_PRI_RESERVED0)
	AVCOL_PRI_BT709       = AVColorPrimaries(C.AVCOL_PRI_BT709)
	AVCOL_PRI_UNSPECIFIED = AVColorPrimaries(C.AVCOL_PRI_UNSPECIFIED)
	AVCOL_PRI_RESERVED    = AVColorPrimaries(C.AVCOL_PRI_RESERVED)
	AVCOL_PRI_BT470M      = AVColorPrimaries(C.AVCOL_PRI_BT470M)

	AVCOL_PRI_BT470BG      = AVColorPrimaries(C.AVCOL_PRI_BT470BG)
	AVCOL_PRI_SMPTE170M    = AVColorPrimaries(C.AVCOL_PRI_SMPTE170M)
	AVCOL_PRI_SMPTE240M    = AVColorPrimaries(C.AVCOL_PRI_SMPTE240M)
	AVCOL_PRI_FILM         = AVColorPrimaries(C.AVCOL_PRI_FILM)
	AVCOL_PRI_BT2020       = AVColorPrimaries(C.AVCOL_PRI_BT2020)
	AVCOL_PRI_SMPTE428     = AVColorPrimaries(C.AVCOL_PRI_SMPTE428)
	AVCOL_PRI_SMPTEST428_1 = AVColorPrimaries(C.AVCOL_PRI_SMPTEST428_1)
	AVCOL_PRI_SMPTE431     = AVColorPrimaries(C.AVCOL_PRI_SMPTE431)
	AVCOL_PRI_SMPTE432     = AVColorPrimaries(C.AVCOL_PRI_SMPTE432)
	AVCOL_PRI_EBU3213      = AVColorPrimaries(C.AVCOL_PRI_EBU3213)
	AVCOL_PRI_JEDEC_P22    = AVColorPrimaries(C.AVCOL_PRI_JEDEC_P22)
	AVCOL_PRI_NB           = AVColorPrimaries(C.AVCOL_PRI_NB)
)
View Source
const (
	AVCOL_TRC_RESERVED0    = AVColorTransferCharacteristic(C.AVCOL_TRC_RESERVED0)
	AVCOL_TRC_BT709        = AVColorTransferCharacteristic(C.AVCOL_TRC_BT709)
	AVCOL_TRC_UNSPECIFIED  = AVColorTransferCharacteristic(C.AVCOL_TRC_UNSPECIFIED)
	AVCOL_TRC_RESERVED     = AVColorTransferCharacteristic(C.AVCOL_TRC_RESERVED)
	AVCOL_TRC_GAMMA22      = AVColorTransferCharacteristic(C.AVCOL_TRC_GAMMA22)
	AVCOL_TRC_GAMMA28      = AVColorTransferCharacteristic(C.AVCOL_TRC_GAMMA28)
	AVCOL_TRC_SMPTE170M    = AVColorTransferCharacteristic(C.AVCOL_TRC_SMPTE170M)
	AVCOL_TRC_SMPTE240M    = AVColorTransferCharacteristic(C.AVCOL_TRC_SMPTE240M)
	AVCOL_TRC_LINEAR       = AVColorTransferCharacteristic(C.AVCOL_TRC_LINEAR)
	AVCOL_TRC_LOG          = AVColorTransferCharacteristic(C.AVCOL_TRC_LOG)
	AVCOL_TRC_LOG_SQRT     = AVColorTransferCharacteristic(C.AVCOL_TRC_LOG_SQRT)
	AVCOL_TRC_IEC61966_2_4 = AVColorTransferCharacteristic(C.AVCOL_TRC_IEC61966_2_4)
	AVCOL_TRC_BT1361_ECG   = AVColorTransferCharacteristic(C.AVCOL_TRC_BT1361_ECG)
	AVCOL_TRC_IEC61966_2_1 = AVColorTransferCharacteristic(C.AVCOL_TRC_IEC61966_2_1)
	AVCOL_TRC_BT2020_10    = AVColorTransferCharacteristic(C.AVCOL_TRC_BT2020_10)
	AVCOL_TRC_BT2020_12    = AVColorTransferCharacteristic(C.AVCOL_TRC_BT2020_12)
	AVCOL_TRC_SMPTE2084    = AVColorTransferCharacteristic(C.AVCOL_TRC_SMPTE2084)
	AVCOL_TRC_SMPTEST2084  = AVColorTransferCharacteristic(C.AVCOL_TRC_SMPTEST2084)
	AVCOL_TRC_SMPTE428     = AVColorTransferCharacteristic(C.AVCOL_TRC_SMPTE428)
	AVCOL_TRC_SMPTEST428_1 = AVColorTransferCharacteristic(C.AVCOL_TRC_SMPTEST428_1)
	AVCOL_TRC_ARIB_STD_B67 = AVColorTransferCharacteristic(C.AVCOL_TRC_ARIB_STD_B67)
	AVCOL_TRC_NB           = AVColorTransferCharacteristic(C.AVCOL_TRC_NB)
)
View Source
const (
	AVCOL_SPC_RGB                = AVColorSpace(C.AVCOL_SPC_RGB)
	AVCOL_SPC_BT709              = AVColorSpace(C.AVCOL_SPC_BT709)
	AVCOL_SPC_UNSPECIFIED        = AVColorSpace(C.AVCOL_SPC_UNSPECIFIED)
	AVCOL_SPC_RESERVED           = AVColorSpace(C.AVCOL_SPC_RESERVED)
	AVCOL_SPC_FCC                = AVColorSpace(C.AVCOL_SPC_FCC)
	AVCOL_SPC_BT470BG            = AVColorSpace(C.AVCOL_SPC_BT470BG)
	AVCOL_SPC_SMPTE170M          = AVColorSpace(C.AVCOL_SPC_SMPTE170M)
	AVCOL_SPC_SMPTE240M          = AVColorSpace(C.AVCOL_SPC_SMPTE240M)
	AVCOL_SPC_YCGCO              = AVColorSpace(C.AVCOL_SPC_YCGCO)
	AVCOL_SPC_YCOCG              = AVColorSpace(C.AVCOL_SPC_YCOCG)
	AVCOL_SPC_BT2020_NCL         = AVColorSpace(C.AVCOL_SPC_BT2020_NCL)
	AVCOL_SPC_BT2020_CL          = AVColorSpace(C.AVCOL_SPC_BT2020_CL)
	AVCOL_SPC_SMPTE2085          = AVColorSpace(C.AVCOL_SPC_SMPTE2085)
	AVCOL_SPC_CHROMA_DERIVED_NCL = AVColorSpace(C.AVCOL_SPC_CHROMA_DERIVED_NCL)
	AVCOL_SPC_CHROMA_DERIVED_CL  = AVColorSpace(C.AVCOL_SPC_CHROMA_DERIVED_CL)
	AVCOL_SPC_ICTCP              = AVColorSpace(C.AVCOL_SPC_ICTCP)
	AVCOL_SPC_NB                 = AVColorSpace(C.AVCOL_SPC_NB)
)
View Source
const (
	AVCOL_RANGE_UNSPECIFIED = AVColorRange(C.AVCOL_RANGE_UNSPECIFIED)
	AVCOL_RANGE_MPEG        = AVColorRange(C.AVCOL_RANGE_MPEG)
	AVCOL_RANGE_JPEG        = AVColorRange(C.AVCOL_RANGE_JPEG)
	AVCOL_RANGE_NB          = AVColorRange(C.AVCOL_RANGE_NB)
)
View Source
const (
	AVCHROMA_LOC_UNSPECIFIED = AVChromaLocation(C.AVCHROMA_LOC_UNSPECIFIED)
	AVCHROMA_LOC_LEFT        = AVChromaLocation(C.AVCHROMA_LOC_LEFT)
	AVCHROMA_LOC_CENTER      = AVChromaLocation(C.AVCHROMA_LOC_CENTER)
	AVCHROMA_LOC_TOPLEFT     = AVChromaLocation(C.AVCHROMA_LOC_TOPLEFT)
	AVCHROMA_LOC_TOP         = AVChromaLocation(C.AVCHROMA_LOC_TOP)
	AVCHROMA_LOC_BOTTOMLEFT  = AVChromaLocation(C.AVCHROMA_LOC_BOTTOMLEFT)
	AVCHROMA_LOC_BOTTOM      = AVChromaLocation(C.AVCHROMA_LOC_BOTTOM)
	AVCHROMA_LOC_NB          = AVChromaLocation(C.AVCHROMA_LOC_NB)
)
View Source
const (
	AV_SAMPLE_FMT_NONE = AVSampleFormat(C.AV_SAMPLE_FMT_NONE)
	AV_SAMPLE_FMT_U8   = AVSampleFormat(C.AV_SAMPLE_FMT_U8)
	AV_SAMPLE_FMT_S16  = AVSampleFormat(C.AV_SAMPLE_FMT_S16)
	AV_SAMPLE_FMT_S32  = AVSampleFormat(C.AV_SAMPLE_FMT_S32)
	AV_SAMPLE_FMT_FLT  = AVSampleFormat(C.AV_SAMPLE_FMT_FLT)
	AV_SAMPLE_FMT_DBL  = AVSampleFormat(C.AV_SAMPLE_FMT_DBL)
	AV_SAMPLE_FMT_U8P  = AVSampleFormat(C.AV_SAMPLE_FMT_U8P)
	AV_SAMPLE_FMT_S16P = AVSampleFormat(C.AV_SAMPLE_FMT_S16P)
	AV_SAMPLE_FMT_S32P = AVSampleFormat(C.AV_SAMPLE_FMT_S32P)
	AV_SAMPLE_FMT_FLTP = AVSampleFormat(C.AV_SAMPLE_FMT_FLTP)
	AV_SAMPLE_FMT_DBLP = AVSampleFormat(C.AV_SAMPLE_FMT_DBLP)
	AV_SAMPLE_FMT_S64  = AVSampleFormat(C.AV_SAMPLE_FMT_S64)
	AV_SAMPLE_FMT_S64P = AVSampleFormat(C.AV_SAMPLE_FMT_S64P)
	AV_SAMPLE_FMT_NB   = AVSampleFormat(C.AV_SAMPLE_FMT_NB)
)
View Source
const (
	AV_SPHERICAL_EQUIRECTANGULAR      = AVSphericalProjection(C.AV_SPHERICAL_EQUIRECTANGULAR)
	AV_SPHERICAL_CUBEMAP              = AVSphericalProjection(C.AV_SPHERICAL_CUBEMAP)
	AV_SPHERICAL_EQUIRECTANGULAR_TILE = AVSphericalProjection(C.AV_SPHERICAL_EQUIRECTANGULAR_TILE)
)
View Source
const (
	AV_STEREO3D_2D                  = AVStereo3DType(C.AV_STEREO3D_2D)
	AV_STEREO3D_SIDEBYSIDE          = AVStereo3DType(C.AV_STEREO3D_SIDEBYSIDE)
	AV_STEREO3D_TOPBOTTOM           = AVStereo3DType(C.AV_STEREO3D_TOPBOTTOM)
	AV_STEREO3D_FRAMESEQUENCE       = AVStereo3DType(C.AV_STEREO3D_FRAMESEQUENCE)
	AV_STEREO3D_CHECKERBOARD        = AVStereo3DType(C.AV_STEREO3D_CHECKERBOARD)
	AV_STEREO3D_SIDEBYSIDE_QUINCUNX = AVStereo3DType(C.AV_STEREO3D_SIDEBYSIDE_QUINCUNX)
	AV_STEREO3D_LINES               = AVStereo3DType(C.AV_STEREO3D_LINES)
	AV_STEREO3D_COLUMNS             = AVStereo3DType(C.AV_STEREO3D_COLUMNS)
)
View Source
const (
	AV_STEREO3D_VIEW_PACKED = AVStereo3DView(C.AV_STEREO3D_VIEW_PACKED)
	AV_STEREO3D_VIEW_LEFT   = AVStereo3DView(C.AV_STEREO3D_VIEW_LEFT)
	AV_STEREO3D_VIEW_RIGHT  = AVStereo3DView(C.AV_STEREO3D_VIEW_RIGHT)
)
View Source
const (
	AV_TIMECODE_FLAG_DROPFRAME     = AVTimecodeFlag(C.AV_TIMECODE_FLAG_DROPFRAME)
	AV_TIMECODE_FLAG_24HOURSMAX    = AVTimecodeFlag(C.AV_TIMECODE_FLAG_24HOURSMAX)
	AV_TIMECODE_FLAG_ALLOWNEGATIVE = AVTimecodeFlag(C.AV_TIMECODE_FLAG_ALLOWNEGATIVE)
)
View Source
const (
	AV_TX_FLOAT_FFT   = AVTXType(C.AV_TX_FLOAT_FFT)
	AV_TX_FLOAT_MDCT  = AVTXType(C.AV_TX_FLOAT_MDCT)
	AV_TX_DOUBLE_FFT  = AVTXType(C.AV_TX_DOUBLE_FFT)
	AV_TX_DOUBLE_MDCT = AVTXType(C.AV_TX_DOUBLE_MDCT)
	AV_TX_INT32_FFT   = AVTXType(C.AV_TX_INT32_FFT)
	AV_TX_INT32_MDCT  = AVTXType(C.AV_TX_INT32_MDCT)

	AV_TX_FLOAT_RDFT  = AVTXType(C.AV_TX_FLOAT_RDFT)
	AV_TX_DOUBLE_RDFT = AVTXType(C.AV_TX_DOUBLE_RDFT)
	AV_TX_INT32_RDFT  = AVTXType(C.AV_TX_INT32_RDFT)

	AV_TX_FLOAT_DCT  = AVTXType(C.AV_TX_FLOAT_DCT)
	AV_TX_DOUBLE_DCT = AVTXType(C.AV_TX_DOUBLE_DCT)
	AV_TX_INT32_DCT  = AVTXType(C.AV_TX_INT32_DCT)

	AV_TX_NB = AVTXType(C.AV_TX_NB)
)
View Source
const (
	AV_TX_INPLACE           = AVTXFlags(C.AV_TX_INPLACE)
	AV_TX_UNALIGNED         = AVTXFlags(C.AV_TX_UNALIGNED)
	AV_TX_FULL_IMDCT        = AVTXFlags(C.AV_TX_FULL_IMDCT)
	AV_TX_REAL_TO_REAL      = AVTXFlags(C.AV_TX_REAL_TO_REAL)
	AV_TX_REAL_TO_IMAGINARY = AVTXFlags(C.AV_TX_REAL_TO_IMAGINARY)
)
View Source
const (
	AV_UUID_LEN      = C.AV_UUID_LEN
	AV_UUID_STR_SIZE = 37
)
View Source
const (
	LIBAVUTIL_VERSION_MAJOR = C.LIBAVUTIL_VERSION_MAJOR
	LIBAVUTIL_VERSION_MINOR = C.LIBAVUTIL_VERSION_MINOR
	LIBAVUTIL_VERSION_MICRO = C.LIBAVUTIL_VERSION_MICRO
)
View Source
const (
	AV_VIDEO_ENC_PARAMS_NONE  = AVVideoEncParamsType(C.AV_VIDEO_ENC_PARAMS_NONE)
	AV_VIDEO_ENC_PARAMS_VP9   = AVVideoEncParamsType(C.AV_VIDEO_ENC_PARAMS_VP9)
	AV_VIDEO_ENC_PARAMS_H264  = AVVideoEncParamsType(C.AV_VIDEO_ENC_PARAMS_H264)
	AV_VIDEO_ENC_PARAMS_MPEG2 = AVVideoEncParamsType(C.AV_VIDEO_ENC_PARAMS_MPEG2)
)
View Source
const (
	AV_VIDEO_HINT_TYPE_CONSTANT = AVVideoHintType(C.AV_VIDEO_HINT_TYPE_CONSTANT)
	AV_VIDEO_HINT_TYPE_CHANGED  = AVVideoHintType(C.AV_VIDEO_HINT_TYPE_CHANGED)
)
View Source
const (
	PP_CPU_CAPS_MMX     = C.PP_CPU_CAPS_MMX
	PP_CPU_CAPS_MMX2    = C.PP_CPU_CAPS_MMX2
	PP_CPU_CAPS_3DNOW   = C.PP_CPU_CAPS_3DNOW
	PP_CPU_CAPS_ALTIVEC = C.PP_CPU_CAPS_ALTIVEC
	PP_CPU_CAPS_AUTO    = C.PP_CPU_CAPS_AUTO
)
View Source
const (
	PP_FORMAT     = C.PP_FORMAT
	PP_FORMAT_420 = C.PP_FORMAT_420
	PP_FORMAT_422 = C.PP_FORMAT_422
	PP_FORMAT_411 = C.PP_FORMAT_411
	PP_FORMAT_444 = C.PP_FORMAT_444
	PP_FORMAT_440 = C.PP_FORMAT_440
)
View Source
const (
	LIBPOSTPROC_VERSION_MINOR = C.LIBPOSTPROC_VERSION_MINOR
	LIBPOSTPROC_VERSION_MICRO = C.LIBPOSTPROC_VERSION_MICRO
)
View Source
const (
	SWR_DITHER_NONE                   = SwrDitherType(C.SWR_DITHER_NONE)
	SWR_DITHER_RECTANGULAR            = SwrDitherType(C.SWR_DITHER_RECTANGULAR)
	SWR_DITHER_TRIANGULAR             = SwrDitherType(C.SWR_DITHER_TRIANGULAR)
	SWR_DITHER_TRIANGULAR_HIGHPASS    = SwrDitherType(C.SWR_DITHER_TRIANGULAR_HIGHPASS)
	SWR_DITHER_NS                     = SwrDitherType(C.SWR_DITHER_NS)
	SWR_DITHER_NS_LIPSHITZ            = SwrDitherType(C.SWR_DITHER_NS_LIPSHITZ)
	SWR_DITHER_NS_F_WEIGHTED          = SwrDitherType(C.SWR_DITHER_NS_F_WEIGHTED)
	SWR_DITHER_NS_MODIFIED_E_WEIGHTED = SwrDitherType(C.SWR_DITHER_NS_MODIFIED_E_WEIGHTED)
	SWR_DITHER_NS_IMPROVED_E_WEIGHTED = SwrDitherType(C.SWR_DITHER_NS_IMPROVED_E_WEIGHTED)
	SWR_DITHER_NS_SHIBATA             = SwrDitherType(C.SWR_DITHER_NS_SHIBATA)
	SWR_DITHER_NS_LOW_SHIBATA         = SwrDitherType(C.SWR_DITHER_NS_LOW_SHIBATA)
	SWR_DITHER_NS_HIGH_SHIBATA        = SwrDitherType(C.SWR_DITHER_NS_HIGH_SHIBATA)
	SWR_DITHER_NB                     = SwrDitherType(C.SWR_DITHER_NB)
)
View Source
const (
	SWR_ENGINE_SWR  = SwrEngine(C.SWR_ENGINE_SWR)
	SWR_ENGINE_SOXR = SwrEngine(C.SWR_ENGINE_SOXR)
	SWR_ENGINE_NB   = SwrEngine(C.SWR_ENGINE_NB)
)
View Source
const (
	SWR_FILTER_TYPE_CUBIC            = SwrFilterType(C.SWR_FILTER_TYPE_CUBIC)
	SWR_FILTER_TYPE_BLACKMAN_NUTTALL = SwrFilterType(C.SWR_FILTER_TYPE_BLACKMAN_NUTTALL)
	SWR_FILTER_TYPE_KAISER           = SwrFilterType(C.SWR_FILTER_TYPE_KAISER)
)
View Source
const (
	LIBSWRESAMPLE_VERSION_MINOR = C.LIBSWRESAMPLE_VERSION_MINOR
	LIBSWRESAMPLE_VERSION_MICRO = C.LIBSWRESAMPLE_VERSION_MICRO
)
View Source
const (
	SWS_FAST_BILINEAR = C.SWS_FAST_BILINEAR
	SWS_BILINEAR      = C.SWS_BILINEAR
	SWS_BICUBIC       = C.SWS_BICUBIC
	SWS_X             = C.SWS_X
	SWS_POINT         = C.SWS_POINT
	SWS_AREA          = C.SWS_AREA
	SWS_BICUBLIN      = C.SWS_BICUBLIN
	SWS_GAUSS         = C.SWS_GAUSS
	SWS_SINC          = C.SWS_SINC
	SWS_LANCZOS       = C.SWS_LANCZOS
	SWS_SPLINE        = C.SWS_SPLINE
)
View Source
const (
	SWS_SRC_V_CHR_DROP_MASK  = C.SWS_SRC_V_CHR_DROP_MASK
	SWS_SRC_V_CHR_DROP_SHIFT = C.SWS_SRC_V_CHR_DROP_SHIFT
)
View Source
const (
	SWS_FULL_CHR_H_INT  = C.SWS_FULL_CHR_H_INT
	SWS_FULL_CHR_H_INP  = C.SWS_FULL_CHR_H_INP
	SWS_DIRECT_BGR      = C.SWS_DIRECT_BGR
	SWS_ACCURATE_RND    = C.SWS_ACCURATE_RND
	SWS_BITEXACT        = C.SWS_BITEXACT
	SWS_ERROR_DIFFUSION = C.SWS_ERROR_DIFFUSION
)
View Source
const (
	SWS_CS_ITU709    = C.SWS_CS_ITU709
	SWS_CS_FCC       = C.SWS_CS_FCC
	SWS_CS_ITU601    = C.SWS_CS_ITU601
	SWS_CS_ITU624    = C.SWS_CS_ITU624
	SWS_CS_SMPTE170M = C.SWS_CS_SMPTE170M
	SWS_CS_SMPTE240M = C.SWS_CS_SMPTE240M
	SWS_CS_DEFAULT   = C.SWS_CS_DEFAULT
	SWS_CS_BT2020    = C.SWS_CS_BT2020
)
View Source
const (
	LIBSWSCALE_VERSION_MINOR = C.LIBSWSCALE_VERSION_MINOR
	LIBSWSCALE_VERSION_MICRO = C.LIBSWSCALE_VERSION_MICRO
)
View Source
const (
	AVFILTER_THREAD_SLICE = C.AVFILTER_THREAD_SLICE
)
View Source
const (
	AVFMT_EVENT_FLAG_METADATA_UPDATED = C.AVFMT_EVENT_FLAG_METADATA_UPDATED
)
View Source
const (
	AV_AAC_ADTS_HEADER_SIZE = C.AV_AAC_ADTS_HEADER_SIZE
)
View Source
const (
	AV_BF_ROUNDS = C.AV_BF_ROUNDS
)
View Source
const (
	AV_BUFFER_FLAG_READONLY = C.AV_BUFFER_FLAG_READONLY
)
View Source
const (
	AV_CH_LAYOUT_MAX_STRING_SIZE = 256
)
View Source
const (
	AV_ERROR_MAX_STRING_SIZE = int32(C.AV_ERROR_MAX_STRING_SIZE)
)
View Source
const (
	AV_FIFO_FLAG_AUTO_GROW = C.AV_FIFO_FLAG_AUTO_GROW
)
View Source
const (
	AV_FOURCC_MAX_STRING_SIZE = C.AV_FOURCC_MAX_STRING_SIZE
)
View Source
const (
	AV_FRAME_CROP_UNALIGNED = int32(C.AV_FRAME_CROP_UNALIGNED)
)

Flags for frame cropping.

View Source
const (
	AV_FRAME_SIDE_DATA_FLAG_UNIQUE = uint32(C.AV_FRAME_SIDE_DATA_FLAG_UNIQUE)
)
View Source
const (
	AV_HASH_MAX_SIZE = C.AV_HASH_MAX_SIZE
)
View Source
const (
	AV_HDR_PLUS_MAX_PAYLOAD_SIZE = C.AV_HDR_PLUS_MAX_PAYLOAD_SIZE
)
View Source
const (
	AV_IAMF_LAYER_FLAG_RECON_GAIN = C.AV_IAMF_LAYER_FLAG_RECON_GAIN
)
View Source
const (
	// Deprecated: No use.
	//
	// Minimum encoding buffer size.
	AV_INPUT_BUFFER_MIN_SIZE = C.AV_INPUT_BUFFER_MIN_SIZE
)
View Source
const (
	// Required number of additionally allocated bytes at the end of the input bitstream for decoding.
	AV_INPUT_BUFFER_PADDING_SIZE = C.AV_INPUT_BUFFER_PADDING_SIZE
)
View Source
const (
	AV_LEVEL_UNKNOWN = int32(C.AV_LEVEL_UNKNOWN)
)
View Source
const (
	AV_LOG_MAX_OFFSET = int32(C.AV_LOG_MAX_OFFSET)
)
View Source
const (
	AV_NUM_DATA_POINTERS = C.AV_NUM_DATA_POINTERS
)
View Source
const (
	AV_OPT_FLAG_IMPLICIT_KEY = int32(C.AV_OPT_FLAG_IMPLICIT_KEY)
)
View Source
const (
	AV_PARSER_PTS_NB = C.AV_PARSER_PTS_NB
)
View Source
const (
	// Deprecated: No use.
	AV_PKT_DATA_QUALITY_FACTOR = AVPacketSideDataType(C.AV_PKT_DATA_QUALITY_FACTOR)
)
View Source
const (
	AV_PROGRAM_RUNNING = C.AV_PROGRAM_RUNNING
)
View Source
const (
	AV_STEREO3D_FLAG_INVERT = C.AV_STEREO3D_FLAG_INVERT
)
View Source
const (
	AV_SUBTITLE_FLAG_FORCED = C.AV_SUBTITLE_FLAG_FORCED
)
View Source
const (
	AV_THREAD_MESSAGE_NONBLOCK = AVThreadMessageFlags(C.AV_THREAD_MESSAGE_NONBLOCK)
)
View Source
const (
	AV_TIMECODE_STR_SIZE = C.AV_TIMECODE_STR_SIZE
)
View Source
const (
	AV_TS_MAX_STRING_SIZE = C.AV_TS_MAX_STRING_SIZE
)
View Source
const (
	AV_VIDEO_MAX_PLANES = int32(C.AV_VIDEO_MAX_PLANES)
)
View Source
const (
	DV_PROFILE_BYTES = C.DV_PROFILE_BYTES
)
View Source
const (
	FFMPEG_VERSION = C.FFMPEG_VERSION
)
View Source
const (
	// Deprecated: use AV_LEVEL_UNKOWN instead.
	FF_LEVEL_UNKNOWN = int32(C.FF_LEVEL_UNKNOWN)
)
View Source
const (
	INT_MIN = int32(C.INT_MIN)
)
View Source
const (
	LIBAVCODEC_VERSION_MAJOR = C.LIBAVCODEC_VERSION_MAJOR
)
View Source
const (
	LIBAVDEVICE_VERSION_MAJOR = C.LIBAVDEVICE_VERSION_MAJOR
)
View Source
const (
	LIBAVFILTER_VERSION_MAJOR = C.LIBAVFILTER_VERSION_MAJOR
)
View Source
const (
	LIBAVFORMAT_VERSION_MAJOR = C.LIBAVFORMAT_VERSION_MAJOR
)
View Source
const (
	LIBPOSTPROC_VERSION_MAJOR = C.LIBPOSTPROC_VERSION_MAJOR
)
View Source
const (
	LIBSWRESAMPLE_VERSION_MAJOR = C.LIBSWRESAMPLE_VERSION_MAJOR
)
View Source
const (
	LIBSWSCALE_VERSION_MAJOR = C.LIBSWSCALE_VERSION_MAJOR
)
View Source
const (
	MAX_DWT_LEVELS = C.MAX_DWT_LEVELS
)
View Source
const NIL = "\\'<nil>'\\"
View Source
const (
	PP_PICT_TYPE_QP2 = C.PP_PICT_TYPE_QP2
)
View Source
const (
	PP_QUALITY_MAX = C.PP_QUALITY_MAX
)
View Source
const (
	SWR_FLAG_RESAMPLE = C.SWR_FLAG_RESAMPLE
)
View Source
const SWS_MAX_REDUCE_CUTOFF = C.SWS_MAX_REDUCE_CUTOFF
View Source
const SWS_PARAM_DEFAULT = C.SWS_PARAM_DEFAULT
View Source
const SWS_PRINT_INFO = C.SWS_PRINT_INFO

Variables

View Source
var (
	AV_TIME_BASE_Q = AVRational(C.AV_TIME_BASE_Q)
)
View Source
var (
	AvMd5Size = C.av_md5_size
)

Functions

func AVERROR

func AVERROR[T Integer](ie T) (oe int32)

AVERROR returns a negative error code from a POSIX error code, to return from library functions.

func AVUNERROR

func AVUNERROR(e int32) int32

AVUNERROR returns a POSIX error code from a library function error return value.

func AV_BASE64_DECODE_SIZE

func AV_BASE64_DECODE_SIZE[T Integer](x T) T

AV_BASE64_DECODE_SIZE

func AV_BASE64_SIZE

func AV_BASE64_SIZE[T Integer](x T) T

AV_BASE64_SIZE

func AV_CEIL_RSHIFT

func AV_CEIL_RSHIFT[U, V Integer](a U, b V) U

AV_CEIL_RSHIFT

func AV_NE

func AV_NE[T any](be, le T) T

AV_NE

func AvAc3ParseHeader

func AvAc3ParseHeader(buf *uint8, size uintptr, bitstreamID *uint8, frameSize *uint16) int32

AvAc3ParseHeader extracts the bitstream ID and the frame size from AC-3 data.

func AvAddIndexEntry

func AvAddIndexEntry(st *AVStream, pos, timestamp int64, size, distance, flags int32) int32

AvAddIndexEntry add an index entry into a sorted list. Update the entry if the list already contains it.

func AvAddStable

func AvAddStable(tsTb AVRational, ts int64, incTb AVRational, inc int64) int32

AvAddStable adds a value to a timestamp.

func AvAdtsHeaderParse

func AvAdtsHeaderParse(buf *uint8, sample *uint32, frame *uint8) int32

AvAdtsHeaderParse extracts the number of samples and frames from AAC data.

func AvAesCrypt

func AvAesCrypt(a *AVAES, dst, src *uint8, count int32, iv *uint8, decrypt int32)

AvAesCrypt encrypts or decrypts a buffer using a previously initialized context.

func AvAesCtrCrypt

func AvAesCtrCrypt(a *AVAESCTR, dst, src *uint8, size int32)

AvAesCtrCrypt processes a buffer using a previously initialized context.

func AvAesCtrFree

func AvAesCtrFree(a *AVAESCTR)

AvAesCtrFree releases an AVAESCTR context.

func AvAesCtrGetIv

func AvAesCtrGetIv(a *AVAESCTR) *uint8

AvAesCtrGetIv gets the current iv.

func AvAesCtrIncrementIv

func AvAesCtrIncrementIv(a *AVAESCTR)

AvAesCtrIncrementIv increments the top 64 bit of the iv.

func AvAesCtrInit

func AvAesCtrInit(a *AVAESCTR, key *uint8) int32

AvAesCtrInit initializes an AVAESCTR context.

func AvAesCtrSetFullIv

func AvAesCtrSetFullIv(a *AVAESCTR, iv *uint8)

AvAesCtrSetFullIv changes the "full" 16-byte iv, including the counter.

func AvAesCtrSetIv

func AvAesCtrSetIv(a *AVAESCTR, iv *uint8)

AvAesCtrSetIv changes the 8-byte iv.

func AvAesCtrSetRandomIv

func AvAesCtrSetRandomIv(a *AVAESCTR)

AvAesCtrSetRandomIv generates a random iv.

func AvAesInit

func AvAesInit(a *AVAES, key *uint8, keyBits, decrypt int32) int32

AvAesInit initializes an AVAES context.

func AvAppendPacket

func AvAppendPacket(s *AVIOContext, pkt *AVPacket, size int32) int32

Read data and append it to the current content of the AVPacket. If pkt->size is 0 this is identical to av_get_packet.

func AvAssert0

func AvAssert0(cond bool)

AvAssert0

func AvAssert0Fpu

func AvAssert0Fpu()

AvAssert0Fpu asserts that floating point operations can be executed.

func AvAudioFifoDrain

func AvAudioFifoDrain(af *AVAudioFifo, nbSamples int32) int32

AvAudioFifoDrain drains data from an AVAudioFifo.

func AvAudioFifoFree

func AvAudioFifoFree(af *AVAudioFifo)

AvAudioFifoFree frees an AVAudioFifo.

func AvAudioFifoPeek

func AvAudioFifoPeek(af *AVAudioFifo, data CVoidPointerPointer, nbSamples int32) int32

AvAudioFifoPeek peeks data from an AVAudioFifo.

func AvAudioFifoPeekAt

func AvAudioFifoPeekAt(af *AVAudioFifo, data CVoidPointerPointer, nbSamples, offset int32) int32

AvAudioFifoPeekAt peeks data from an AVAudioFifo.

func AvAudioFifoRead

func AvAudioFifoRead(af *AVAudioFifo, data CVoidPointerPointer, nbSamples int32) int32

AvAudioFifoRead reads data from an AVAudioFifo.

func AvAudioFifoRealloc

func AvAudioFifoRealloc(af *AVAudioFifo, nbSamples int32) int32

AvAudioFifoRealloc reallocate an AVAudioFifo.

func AvAudioFifoReset

func AvAudioFifoReset(af *AVAudioFifo)

AvAudioFifoReset resets the AVAudioFifo buffer.

func AvAudioFifoSize

func AvAudioFifoSize(af *AVAudioFifo) int32

AvAudioFifoSize gets the current number of samples in the AVAudioFifo available for reading.

func AvAudioFifoSpace

func AvAudioFifoSpace(af *AVAudioFifo) int32

AvAudioFifoSpace gets the current number of samples in the AVAudioFifo available for writing.

func AvAudioFifoWrite

func AvAudioFifoWrite(af *AVAudioFifo, data CVoidPointerPointer, nbSamples int32) int32

AvAudioFifoWrite writes data to an AVAudioFifo.

func AvBase64Decode

func AvBase64Decode(out *uint8, in *int8, outSize int32) int32

AvBase64Decode decodes a base64-encoded string.

func AvBase64Encode

func AvBase64Encode(out *int8, outSize int32, in *uint8, inSize int32) *int8

AvBase64Encode encodes data to base64 and null-terminate.

func AvBesselI0 added in v0.61.0

func AvBesselI0(x float64) float64

AvBesselI0 is 0th order modified bessel function of the first kind.

func AvBlowfishCrypt

func AvBlowfishCrypt(ctx *AVBlowfish, dst, src *uint8,
	count int32, iv *uint8, decrypt int32)

AvBlowfishCrypt encrypts or decrypts a buffer using a previously initialized context.

func AvBlowfishCryptEcb

func AvBlowfishCryptEcb(ctx *AVBlowfish, xl, xr *uint32, decrypt int32)

AvBlowfishCryptEcb encrypts or decrypts a buffer using a previously initialized context.

func AvBlowfishInit

func AvBlowfishInit(ctx *AVBlowfish, key *uint8, keyLen int32)

AvBlowfishInit initializes an AVBlowfish context.

func AvBmgGet

func AvBmgGet(lfg *AVLFG, out []float64)

AvBmgGet gets the next two numbers generated by a Box-Muller Gaussian generator using the random numbers issued by lfg.

func AvBprintAppendData

func AvBprintAppendData(buf *AVBPrint, data *int8, size uint32)

AvBprintAppendData appends data to a print buffer.

func AvBprintChars

func AvBprintChars(buf *AVBPrint, c int8, n uint32)

AvBprintChars appends char c n times to a print buffer.

func AvBprintClear

func AvBprintClear(buf *AVBPrint)

AvBprintClear resets the string to "" but keep internal allocated data.

func AvBprintEscape

func AvBprintEscape(dstbuf *AVBPrint, src, specialChars *int8, mode AVEscapeMode, flags int32)

AvBprintEscape escapes the content in src and append it to dstbuf.

func AvBprintFinalize

func AvBprintFinalize(buf *AVBPrint, retStr **int8) int32

AvBprintFinalize finalizes a print buffer.

func AvBprintGetBuffer

func AvBprintGetBuffer(buf *AVBPrint, size uint32, mem **uint8, actualSize *uint32)

AvBprintGetBuffer allocates bytes in the buffer for external use.

func AvBprintInit

func AvBprintInit(buf *AVBPrint, sizeInit, sizeMax uint32)

AvBprintInit initializes a print buffer.

func AvBprintInitForBuffer

func AvBprintInitForBuffer(buf *AVBPrint, buffer *int8, size uint32)

AvBprintInitForBuffer initializes a print buffer using a pre-existing buffer.

func AvBprintIsComplete

func AvBprintIsComplete(buf *AVBPrint) int32

AvBprintIsComplete tests if the print buffer is complete (not truncated).

func AvBprintf

func AvBprintf(buf *AVBPrint, _fmt string, va ...any)

AvBprintf appends a formatted string to a print buffer.

func AvBsfAlloc

func AvBsfAlloc(filter *AVBitStreamFilter, ctx **AVBSFContext) int32

AvBsfAlloc allocates a context for a given bitstream filter.

func AvBsfFlush added in v0.41.1

func AvBsfFlush(ctx *AVBSFContext)

AvBsfFlush resets the internal bitstream filter state. Should be called e.g. when seeking.

func AvBsfFree

func AvBsfFree(ctx **AVBSFContext)

AvBsfFree frees a bitstream filter context.

func AvBsfGetNullFilter

func AvBsfGetNullFilter(bsf **AVBSFContext) int32

AvBsfGetNullFilter gets null/pass-through bitstream filter.

func AvBsfInit

func AvBsfInit(ctx *AVBSFContext) int32

AvBsfInit prepares the filter for use, after all the parameters and options have been set.

func AvBsfListAppend

func AvBsfListAppend(lst *AVBSFList, bsf *AVBSFContext)

AvBsfListAppend appends bitstream filter to the list of bitstream filters.

func AvBsfListAppend2

func AvBsfListAppend2(lst *AVBSFList, bsfName string, options **AVDictionary)

AvBsfListAppend2

func AvBsfListFinalize

func AvBsfListFinalize(lst **AVBSFList, bsf **AVBSFContext) int32

AvBsfListFinalize finalizes list of bitstream filters.

func AvBsfListFree

func AvBsfListFree(lst **AVBSFList)

AvBsfListFree frees list of bitstream filters.

func AvBsfListParseStr

func AvBsfListParseStr(str string, bsf **AVBSFContext)

AvBsfListParseStr parses string describing list of bitstream filters and creates single AvBSFContext describing the whole chain of bitstream filters.

func AvBsfReceivePacket

func AvBsfReceivePacket(ctx *AVBSFContext, pkt *AVPacket) int32

AvBsfReceivePacket retrieves a filtered packet.

func AvBsfSendPacket

func AvBsfSendPacket(ctx *AVBSFContext, pkt *AVPacket) int32

AvBsfSendPacket submits a packet for filtering.

func AvBswap16

func AvBswap16(x uint16) uint16

AvBswap16

func AvBswap32

func AvBswap32(x uint32) uint32

AvBswap32

func AvBswap64

func AvBswap64(x uint64) uint64

AvBswap64

func AvBufferDefaultFree

func AvBufferDefaultFree(opaque CVoidPointer, data *uint8)

AvBufferDefaultFree frees buffer data.

func AvBufferGetOpaque

func AvBufferGetOpaque(buf *AVBufferRef) unsafe.Pointer

AvBufferGetOpaque returns the opaque parameter set by AVBufferCreate.

func AvBufferGetRefCount

func AvBufferGetRefCount(buf *AVBufferRef) int32

AvBufferGetRefCount

func AvBufferIsWritable

func AvBufferIsWritable(buf *AVBufferRef) int32

AvBufferIsWritable returns 1 if the caller may write to the data referred to by buf (which is true if and only if buf is the only reference to the underlying AVBuffer). Return 0 otherwise.

func AvBufferMakeWritable

func AvBufferMakeWritable(buf **AVBufferRef) int32

AvBufferMakeWritable creates a writable reference from a given buffer reference, avoiding data copy if possible.

func AvBufferPoolBufferGetOpaque added in v0.43.1

func AvBufferPoolBufferGetOpaque(buf *AVBufferRef) unsafe.Pointer

AvBufferPoolBufferGetOpaque queries the original opaque parameter of an allocated buffer in the pool.

func AvBufferPoolUninit

func AvBufferPoolUninit(pool **AVBufferPool)

AvBufferPoolUninit marks the pool as being available for freeing.

func AvBufferRealloc

func AvBufferRealloc(buf **AVBufferRef, size uintptr) int32

AvBufferRealloc reallocates a given buffer.

func AvBufferReplace added in v0.44.1

func AvBufferReplace(dst **AVBufferRef, src *AVBufferRef) int32

AvBufferReplace ensures dst refers to the same data as src.

func AvBufferUnref

func AvBufferUnref(buf **AVBufferRef)

AvBufferUnref frees a given reference and automatically free the buffer if there are no more references to it.

func AvBuffersinkGetChLayout added in v0.51.1

func AvBuffersinkGetChLayout(ctx *AVFilterContext, chLayout *AVChannelLayout) int32

AvBuffersinkGetChLayout

func AvBuffersinkGetChannels

func AvBuffersinkGetChannels(ctx *AVFilterContext) int32

AvBuffersinkGetChannels

func AvBuffersinkGetFormat

func AvBuffersinkGetFormat(ctx *AVFilterContext) int32

AvBuffersinkGetFormat

func AvBuffersinkGetFrame

func AvBuffersinkGetFrame(ctx *AVFilterContext, frame *AVFrame) int32

AvBuffersinkGetFrame gets a frame with filtered data from sink and put it in frame.

func AvBuffersinkGetFrameFlags

func AvBuffersinkGetFrameFlags(ctx *AVFilterContext, frame *AVFrame, flags int32) int32

AvBuffersinkGetFrameFlags gets a frame with filtered data from sink and put it in frame.

func AvBuffersinkGetH

func AvBuffersinkGetH(ctx *AVFilterContext) int32

AvBuffersinkGetH

func AvBuffersinkGetSampleRate

func AvBuffersinkGetSampleRate(ctx *AVFilterContext) int32

AvBuffersinkGetSampleRate

func AvBuffersinkGetSamples

func AvBuffersinkGetSamples(ctx *AVFilterContext, frame *AVFrame, nbSamples int32) int32

AvBuffersinkGetSamples same as AVBuffersinkGetFrame(), but with the ability to specify the number of samples read. This function is less efficient than AVBuffersinkGetFrame(), because it copies the data around.

func AvBuffersinkGetW

func AvBuffersinkGetW(ctx *AVFilterContext) int32

AvBuffersinkGetW

func AvBuffersinkSetFrameSize

func AvBuffersinkSetFrameSize(ctx *AVFilterContext, frameSize uint32)

AvBuffersinkSetFrameSize sets the frame size for an audio buffer sink.

func AvBuffersrcAddFrame

func AvBuffersrcAddFrame(ctx *AVFilterContext, frame *AVFrame) int32

AvBuffersrcAddFrame adds a frame to the buffer source.

func AvBuffersrcAddFrameFlags

func AvBuffersrcAddFrameFlags(ctx *AVFilterContext, frame *AVFrame, flags int32) int32

AvBuffersrcAddFrameFlags adds a frame to the buffer source.

func AvBuffersrcClose

func AvBuffersrcClose(ctx *AVFilterContext, pts int64, flags uint32) int32

AvBuffersrcClose closes the buffer source after EOF.

func AvBuffersrcGetNbFailedRequests

func AvBuffersrcGetNbFailedRequests(bufferSrc *AVFilterContext) uint32

AvBuffersrcGetNbFailedRequests gets the number of failed requests.

func AvBuffersrcParametersSet

func AvBuffersrcParametersSet(ctx *AVFilterContext, param *AVBufferSrcParameters) int32

AvBuffersrcParametersSet initializes the buffersrc or abuffersrc filter with the provided parameters.

func AvBuffersrcWriteFrame

func AvBuffersrcWriteFrame(ctx *AVFilterContext, frame *AVFrame) int32

AvBuffersrcWriteFrame adds a frame to the buffer source.

func AvCalloc

func AvCalloc[U, V Integer](nmemb U, size V) unsafe.Pointer

AvCalloc is non-inlined equivalent of AvMalloczArray().

func AvCamelliaCrypt

func AvCamelliaCrypt(ctx *AVCAMELLIA, dst, src *uint8, count int32, iv *uint8, decrypt int32)

AvCamelliaCrypt encrypts or decrypts a buffer using a previously initialized context.

func AvCamelliaInit

func AvCamelliaInit(ctx *AVCAMELLIA, key *uint8, keyBits int32) int32

AvCamelliaInit initializes an AVCAMELLIA context.

func AvCast5Crypt

func AvCast5Crypt(ctx *AVCAST5, dst, src *uint8, count, decrypt int32)

AvCast5Crypt encrypts or decrypts a buffer using a previously initialized context.

func AvCast5Crypt2

func AvCast5Crypt2(ctx *AVCAST5, dst, src *uint8, count int32, iv *uint8, decrypt int32)

AvCast5Crypt2 encrypts or decrypts a buffer using a previously initialized context.

func AvCast5Init

func AvCast5Init(ctx *AVCAST5, key *uint8, keyBits int32) int32

AvCast5Init initializes an AVCAST5 context.

func AvCeilLog2C

func AvCeilLog2C(x int32) int32

AvCeilLog2C computes ceil(log2(x)).

func AvChannelDescription added in v0.51.1

func AvChannelDescription(channel AVChannel) string

AvChannelDescription gets a human readable string describing a given channel.

func AvChannelDescriptionBprint added in v0.51.1

func AvChannelDescriptionBprint(bp *AVBPrint, channelId AVChannel)

AvChannelDescriptionBprint is bprint variant of AvChannelDescription().

func AvChannelLayoutCheck added in v0.51.1

func AvChannelLayoutCheck(channelLayout *AVChannelLayout) int32

AvChannelLayoutCheck checks whether a channel layout is valid, i.e. can possibly describe audio data.

func AvChannelLayoutCompare added in v0.51.1

func AvChannelLayoutCompare(chl, chl1 *AVChannelLayout) int32

AvChannelLayoutCompare check whether two channel layouts are semantically the same, i.e. the same channels are present on the same positions in both.

func AvChannelLayoutCopy added in v0.51.1

func AvChannelLayoutCopy(dst, src *AVChannelLayout) int32

AvChannelLayoutCopy makes a copy of a channel layout.

func AvChannelLayoutCustomInit added in v0.70.1

func AvChannelLayoutCustomInit(channelLayout *AVChannelLayout, nbChannels int32) int32

AvChannelLayoutCustomInit

func AvChannelLayoutDefault added in v0.51.1

func AvChannelLayoutDefault(chLayout *AVChannelLayout, nbChannels int32)

AvChannelLayoutDefault gets the default channel layout for a given number of channels.

func AvChannelLayoutDescribe added in v0.51.1

func AvChannelLayoutDescribe(channelLayout *AVChannelLayout) string

AvChannelLayoutDescribe gets a human-readable string describing the channel layout properties.

func AvChannelLayoutDescribeBprint added in v0.51.1

func AvChannelLayoutDescribeBprint(channelLayout *AVChannelLayout, bp *AVBPrint) int32

AvChannelLayoutDescribeBprint is bprint variant of AvChannelLayoutDescribe().

func AvChannelLayoutFromMask added in v0.51.1

func AvChannelLayoutFromMask(channelLayout *AVChannelLayout, mask uint64) int32

AvChannelLayoutFromMask initializes a native channel layout from a bitmask indicating which channels are present.

func AvChannelLayoutFromString added in v0.51.1

func AvChannelLayoutFromString(channelLayout *AVChannelLayout, str string) int32

AvChannelLayoutFromString initializes a channel layout from a given string description.

func AvChannelLayoutIndexFromChannel added in v0.51.1

func AvChannelLayoutIndexFromChannel(channelLayout *AVChannelLayout, channel AVChannel) int32

AvChannelLayoutIndexFromChannel gets the index of a given channel in a channel layout.

func AvChannelLayoutIndexFromString added in v0.51.1

func AvChannelLayoutIndexFromString(channelLayout *AVChannelLayout, name string) int32

AvChannelLayoutIndexFromString gets the index in a channel layout of a channel described by the given string.

func AvChannelLayoutRetype added in v0.70.1

func AvChannelLayoutRetype(channelLayout *AVChannelLayout, order AVChannelOrder, flags int32) int32

AvChannelLayoutRetype changes the AVChannelOrder of a channel layout.

func AvChannelLayoutSubset added in v0.51.1

func AvChannelLayoutSubset(channelLayout *AVChannelLayout, mask uint64) uint64

AvChannelLayoutSubset finds out what channels from a given set are present in a channel layout, without regard for their positions.

func AvChannelLayoutUninit added in v0.51.1

func AvChannelLayoutUninit(channelLayout *AVChannelLayout)

AvChannelLayoutUninit frees any allocated data in the channel layout and reset the channel count to 0.

func AvChannelName added in v0.51.1

func AvChannelName(channel AVChannel) string

AvChannelName gets a human readable string in an abbreviated form describing a given channel.

func AvChannelNameBprint added in v0.51.1

func AvChannelNameBprint(bp *AVBPrint, channelId AVChannel)

AvChannelNameBprint is bprint variant of AvChannelName().

func AvChromaLocationEnumToPos added in v0.60.1

func AvChromaLocationEnumToPos(xpos, ypos *int32, pos AVChromaLocation) int32

AvChromaLocationEnumToPos converts AVChromaLocation to swscale x/y chroma position.

func AvChromaLocationFromName

func AvChromaLocationFromName(name string) int32

AvChromaLocationFromName returns the AVChromaLocation value for name or an AVError if not found.

func AvChromaLocationName

func AvChromaLocationName(location AVChromaLocation) string

AvChromaLocationName returns the name for provided chroma location or NULL if unknown.

func AvClip64C

func AvClip64C(a, amin, amax int64) int64

AvClip64C clips a signed 64bit integer value into the amin-amax range.

func AvClipC

func AvClipC(a, amin, amax int32) int32

AvClipC clips a signed integer value into the amin-amax range.

func AvClipInt16C

func AvClipInt16C(a int32) int16

AvClipInt16C clips a signed integer value into the -32768,32767 range.

func AvClipInt8C

func AvClipInt8C(a int32) int8

AvClipInt8C clips a signed integer value into the -128,127 range.

func AvClipIntp2C

func AvClipIntp2C(a, p int32) int32

AvClipIntp2C clips a signed integer into the -(2^p),(2^p-1) range.

func AvClipUint16C

func AvClipUint16C(a int32) uint16

AvClipUint16C clips a signed integer value into the 0-65535 range.

func AvClipUint8C

func AvClipUint8C(a int32) uint8

AvClipUint8C clips a signed integer value into the 0-255 range.

func AvClipUintp2C

func AvClipUintp2C(a, p int32) uint32

AvClipUintp2C clips a signed integer to an unsigned power of two range.

func AvClipdC

func AvClipdC(a, amin, amax float64) float64

AvClipdC clips a double value into the amin-amax range.

func AvClipfC

func AvClipfC(a, amin, amax float32) float32

AvClipfC clip a float value into the amin-amax range.

func AvCliplInt32C

func AvCliplInt32C(a int64) int32

AvCliplInt32C clips a signed 64-bit integer value into the -2147483648,2147483647 range.

func AvCmpQ

func AvCmpQ(a, b AVRational) int32

AvCmpQ compares two rationals. returns One of the following values: 0 if `a == b` 1 if `a > b` -1 if `a < b` `INT_MIN` if one of the values is of the form `0 / 0`

func AvCodecAlignDimensions

func AvCodecAlignDimensions(avctx *AVCodecContext, width, height *int32)

AvCodecAlignDimensions modifies 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.

func AvCodecAlignDimensions2

func AvCodecAlignDimensions2(avctx *AVCodecContext, width, height *int32,
	linesizeAlign [AV_NUM_DATA_POINTERS]int32)

AvCodecAlignDimensions2 modifies 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].

func AvCodecClose

func AvCodecClose(avctx *AVCodecContext) int32

AvCodecClose closes a given context and free all the data associated with it (but not the context itself).

func AvCodecConfiguration

func AvCodecConfiguration() string

AvCodecConfiguration returns the libavcodec build-time configuration.

func AvCodecDctInit

func AvCodecDctInit(dct *AVDCT) int32

AvCodecDctInit

func AvCodecDecodeSubtitle2

func AvCodecDecodeSubtitle2(avctx *AVCodecContext, sub *AVSubtitle, gotSubPtr *int32, avpkt *AVPacket) int32

AvCodecDecodeSubtitle2 decodes a subtitle message.

func AvCodecDefaultExecute

func AvCodecDefaultExecute(avctx *AVCodecContext, f AVCodecContextExecuteFunc, arg CVoidPointer,
	ret *int32, count, size int32) int32

AvCodecDefaultExecute

func AvCodecDefaultExecute2

func AvCodecDefaultExecute2(avctx *AVCodecContext, f AVCodecContextExecute2Func, arg CVoidPointer,
	ret *int32, count int32) int32

AvCodecDefaultExecute2

func AvCodecDefaultGetBuffer2

func AvCodecDefaultGetBuffer2(avctx *AVCodecContext, frame *AVFrame, flags int32) int32

The default callback for AVCodecContext.get_buffer2().

func AvCodecDefaultGetEncodeBuffer added in v0.44.1

func AvCodecDefaultGetEncodeBuffer(avctx *AVCodecContext, pkt *AVPacket, flags int32) int32

The default callback for AVCodecContext.get_encode_buffer().

func AvCodecEncodeSubtitle

func AvCodecEncodeSubtitle(avctx *AVCodecContext,
	buf *uint8, bufSize int32, sub *AVSubtitle) int32

AvCodecEncodeSubtitle

func AvCodecFillAudioFrame

func AvCodecFillAudioFrame(frame *AVFrame, nbChannels int32,
	sampleFmt AVSampleFormat, buf *uint8,
	bufSize int32, align int32) int32

AvCodecFillAudioFrame fills AVFrame audio data and linesize pointers.

func AvCodecFlushBuffers

func AvCodecFlushBuffers(avctx *AVCodecContext)

AvCodecFlushBuffers resets the internal codec state / flush internal buffers. Should be called e.g. when seeking or when switching to a different stream.

func AvCodecFreeContext

func AvCodecFreeContext(avctx **AVCodecContext)

AvCodecFreeContext frees the codec context and everything associated with it and write NULL to the provided pointer.

func AvCodecGetHwFramesParameters

func AvCodecGetHwFramesParameters(avctx *AVCodecContext, deviceRef *AVBufferRef,
	hwPixFmt AVPixelFormat,
	outFramesRef **AVBufferRef) int32

AvCodecGetHwFramesParameters create and return a AVHWFramesContext with values adequate for hardware decoding.

func AvCodecGetName

func AvCodecGetName(codecID AVCodecID) string

AvCodecGetName gets the name of a codec.

func AvCodecGetTag

func AvCodecGetTag(tags **AVCodecTag, id AVCodecID) uint32

AvCodecGetTag gets the codec tag for the given codec id.

func AvCodecGetTag2

func AvCodecGetTag2(tags **AVCodecTag, id AVCodecID, tag *uint32) int32

AvCodecGetTag2 gets the codec tag for the given codec id.

func AvCodecIsDecoder

func AvCodecIsDecoder(codec *AVCodec) int32

AvCodecIsDecoder returns a non-zero number if codec is an decoder, zero otherwise.

func AvCodecIsEncoder

func AvCodecIsEncoder(codec *AVCodec) int32

AvCodecIsEncoder returns a non-zero number if codec is an encoder, zero otherwise.

func AvCodecIsOpen

func AvCodecIsOpen(avctx *AVCodecContext) int32

A positive value if s is open, 0 otherwise.

func AvCodecOpen2

func AvCodecOpen2(avctx *AVCodecContext, c *AVCodec, d **AVDictionary) int32

AvCodecContext initializes the context to use the given codec.

func AvCodecParametersCopy

func AvCodecParametersCopy(dst, src *AVCodecParameters) int32

AvCodecParametersCopy copies the contents of src to dst.

func AvCodecParametersFree

func AvCodecParametersFree(par **AVCodecParameters)

AvCodecParametersFree frees an AVCodecParameters instance and everything associated with it and write NULL to the supplied pointer.

func AvCodecParametersFromContext

func AvCodecParametersFromContext(par *AVCodecParameters, avctx *AVCodecContext) int32

AvCodecParametersFromContext fills the parameters struct based on the values from the supplied codec context. Any allocated fields in par are freed and replaced with duplicates of the corresponding fields in codec.

func AvCodecParametersToContext

func AvCodecParametersToContext(avctx *AVCodecContext, par *AVCodecParameters) int32

AvCodecParametersToContext fills the codec context based on the values from the supplied codec parameters. Any allocated fields in codec that have a corresponding field in par are freed and replaced with duplicates of the corresponding field in par. Fields in codec that do not have a counterpart in par are not touched.

func AvCodecPixFmtToCodecTag

func AvCodecPixFmtToCodecTag(pixFmt AVPixelFormat) uint

AvCodecPixFmtToCodecTag returns a value representing the fourCC code associated to the pixel format pix_fmt, or 0 if no associated fourCC code can be found.

func AvCodecProfileName

func AvCodecProfileName(codecID AVCodecID, profile int32) string

AvCodecProfileName returns a name for the specified profile, if available.

func AvCodecReceiveFrame

func AvCodecReceiveFrame(avctx *AVCodecContext, frame *AVFrame) int32

AvCodecReceiveFrame returns decoded output data from a decoder.

func AvCodecReceivePacket

func AvCodecReceivePacket(avctx *AVCodecContext, avpkt *AVPacket) int32

AvCodecReceivePacket reads encoded data from the encoder.

func AvCodecSendFrame

func AvCodecSendFrame(avctx *AVCodecContext, frame *AVFrame) int32

AvCodecSendFrame supplies a raw video or audio frame to the encoder. Use AVCodecReceivePacket() to retrieve buffered output packets.

func AvCodecSendPacket

func AvCodecSendPacket(avctx *AVCodecContext, avpkt *AVPacket) int32

AvCodecSendPacket supplies raw packet data as input to a decoder.

func AvCodecString

func AvCodecString(buf *int8, bufSize int32, enc *AVCodecContext, encode int32)

AvCodecString

func AvCodecVersion

func AvCodecVersion() uint32

AvCodecVersion returns the LIBAVCODEC_VERSION_INT constant.

func AvColorPrimariesFromName

func AvColorPrimariesFromName(name string) int32

AvColorPrimariesFromName returns the AVColorPrimaries value for name or an AVError if not found.

func AvColorPrimariesName

func AvColorPrimariesName(primaries AVColorPrimaries) string

AvColorPrimariesName returns the name for provided color primaries or NULL if unknown.

func AvColorRangeFromName

func AvColorRangeFromName(name string) int32

AvColorRangeFromName returns the AVColorRange value for name or an AvError if not found.

func AvColorRangeName

func AvColorRangeName(_range AVColorRange) string

AvColorRangeName returns the name for provided color range or NULL if unknown.

func AvColorSpaceFromName

func AvColorSpaceFromName(name string) int32

AvColorSpaceFromName returns the AVColorSpace value for name or an AvError if not found.

func AvColorSpaceName

func AvColorSpaceName(space AVColorSpace) string

AvColorSpaceName returns the name for provided color space or NULL if unknown.

func AvColorTransferFromName

func AvColorTransferFromName(name string) int32

AvColorTransferFromName returns the AVColorTransferCharacteristic value for name or an AvError if not found.

func AvColorTransferName

func AvColorTransferName(transfer AVColorTransferCharacteristic) string

AvColorTransferName returns the name for provided color transfer or NULL if unknown.

func AvCompareMod

func AvCompareMod(a, b, mod uint64) int64

AvCompareMod compares the remainders of two integer operands divided by a common divisor.

func AvCompareTs

func AvCompareTs(tsA int64, tbA AVRational, tsB int64, tbB AVRational) int32

AvCompareTs compares two timestamps each in its own time base.

func AvCpuCount

func AvCpuCount() int32

AvCpuCount returns the number of logical CPU cores present.

func AvCpuForceCount added in v0.50.1

func AvCpuForceCount(count int32)

AvCpuForceCount overrides cpu count detection and forces the specified count.

func AvCpuMaxAlign

func AvCpuMaxAlign() int32

AvCpuMaxAlign gets the maximum data alignment that may be required by FFmpeg.

func AvCrc

func AvCrc(ctx *AVCRC, crc uint32, buffer *uint8, length uintptr) int32

AvCrc calculates the CRC of a block.

func AvCrcInit

func AvCrcInit(ctx *AVCRC, le, bits int32, poly uint32, ctxSize int32) int32

AvCrcInit initializes a CRC table.

func AvCspApproximateTrcGamma added in v0.60.1

func AvCspApproximateTrcGamma(trc AVColorTransferCharacteristic) float64

AvCspApproximateTrcGamma determines a suitable 'gamma' value to match the supplied AVColorTransferCharacteristic.

func AvDctCalc deprecated

func AvDctCalc(d *DCTContext, data *FFTSample)

Deprecated: No use.

AvDctCalc

func AvDctEnd deprecated

func AvDctEnd(d *DCTContext)

Deprecated: No use.

AvDctEnd

func AvDefaultItemName

func AvDefaultItemName(ctx CVoidPointer) string

AvDefaultItemName returns the context name.

func AvDesCrypt

func AvDesCrypt(d *AVDES, dst, src *uint8, count int32, iv *uint8, decrypt int32)

AvDesCrypt encrypts / decrypts using the DES algorithm.

func AvDesInit

func AvDesInit(d *AVDES, key *uint8, keyBits, decrypt int32) int32

AvDesInit initializes an AVDES context.

func AvDesMac

func AvDesMac(d *AVDES, dst, src *uint8, count int32)

AvDesMac calculates CBC-MAC using the DES algorithm.

func AvDeviceAppToDevControlMessage

func AvDeviceAppToDevControlMessage(s *AVFormatContext,
	_type AVAppToDevMessageType, data CVoidPointer, dataSize uintptr) int32

AvDeviceAppToDevControlMessage sends control message from application to device.

func AvDeviceConfiguration

func AvDeviceConfiguration() string

AvDeviceConfiguration returns the libavdevice build-time configuration.

func AvDeviceDevToAppControlMessage

func AvDeviceDevToAppControlMessage(s *AVFormatContext,
	_type AVDevToAppMessageType, data CVoidPointer, dataSize uintptr) int32

AvDeviceDevToAppControlMessage sends control message from device to application.

func AvDeviceFreeListDevices

func AvDeviceFreeListDevices(deviceList **AVDeviceInfoList)

AvDeviceFreeListDevices frees result of AvDeviceListDevices().

func AvDeviceLicense

func AvDeviceLicense() string

AvDeviceLicense returns the libavdevice license.

func AvDeviceListDevices

func AvDeviceListDevices(s *AVFormatContext, deviceList **AVDeviceInfoList) int32

AvDeviceListDevices returns available device names and their parameters.

func AvDeviceListInputSources

func AvDeviceListInputSources(device *AVInputFormat, deviceName string,
	deviceOptions *AVDictionary, deviceList **AVDeviceInfoList) int32

AvDeviceListInputSources lists input devices.

func AvDeviceListOutputSinks

func AvDeviceListOutputSinks(device *AVOutputFormat, deviceName string,
	deviceOptions *AVDictionary, deviceList **AVDeviceInfoList) int32

AvDeviceListOutputSinks lists output devices.

func AvDeviceRegisterAll

func AvDeviceRegisterAll()

AvDeviceRegisterAll initializes libavdevice and register all the input and output devices.

func AvDeviceVersion

func AvDeviceVersion() uint32

AvDeviceVersion returns the LIBAVDEVICE_VERSION_INT constant.

func AvDictCopy

func AvDictCopy(dst **AVDictionary, src *AVDictionary, flags int32) int32

AvDictCopy copies entries from one AVDictionary struct into another.

func AvDictCount

func AvDictCount(m *AVDictionary) int32

AvDictCount gets number of entries in dictionary.

func AvDictFree

func AvDictFree(m **AVDictionary)

AvDictFree frees all the memory allocated for an AVDictionary struct and all keys and values.

func AvDictGetString

func AvDictGetString(m *AVDictionary, buffer **int8, keyValSep, pairsSep string) int32

AvDictGetString get dictionary entries as a string.

func AvDictParseString

func AvDictParseString(pm **AVDictionary, str, keyValSep, pairsSep string, flags int32) int32

AvDictParseString parses the key/value pairs list and add the parsed entries to a dictionary.

func AvDictSet

func AvDictSet(pm **AVDictionary, key, value string, flags int32) int32

AvDictSet sets the given entry in *pm, overwriting an existing entry.

func AvDictSetInt

func AvDictSetInt(pm **AVDictionary, key string, value int64, flags int32) int32

AvDictSetInt sets the given entry in *pm, overwriting an existing entry.

func AvDiracParseSequenceHeader

func AvDiracParseSequenceHeader(dsh **AVDiracSeqHeader, buf *uint8, bufSize uintptr, logCtx CVoidPointer) int32

AvDiracParseSequenceHeader parses a Dirac sequence header.

func AvDisplayMatrixFlip

func AvDisplayMatrixFlip(matrix []int32, hflip, vflip int32)

AvDisplayMatrixFlip flips the input matrix horizontally and/or vertically.

func AvDisplayRotationGet

func AvDisplayRotationGet(matrix []int32) float64

AvDisplayRotationGet extracts the rotation component of the transformation matrix.

func AvDisplayRotationSet

func AvDisplayRotationSet(matrix []int32, angle float64)

AvDisplayRotationSet initializes a transformation matrix describing a pure counterclockwise rotation by the specified angle (in degrees).

func AvDispositionFromString added in v0.50.1

func AvDispositionFromString(disp string) int32

AvDispositionFromString returns disposition flag.

func AvDispositionToString added in v0.50.1

func AvDispositionToString(disposition int32) string

AvDispositionToString returns description corresponding to the lowest set bit in disposition.

func AvDouble2int

func AvDouble2int(f float64) uint64

AvDouble2int reinterprets a double as a 64-bit integer.

func AvDumpFormat

func AvDumpFormat(ic *AVFormatContext, index int32, url string, isOutput int32)

AvDumpFormat prints detailed information about the input or output format, such as duration, bitrate, streams, container, programs, metadata, side data, codec and time base.

func AvDynamicHdrPlusFromT35 added in v0.61.0

func AvDynamicHdrPlusFromT35(s *AVDynamicHDRPlus, data *uint8, size uintptr) int32

AvDynamicHdrPlusFromT35 parses the user data registered ITU-T T.35 to AVbuffer (AVDynamicHDRPlus).

func AvDynamicHdrPlusToT35 added in v0.61.0

func AvDynamicHdrPlusToT35(s *AVDynamicHDRPlus, data **uint8, size *uintptr) int32

AvDynamicHdrPlusToT35 serializes dynamic HDR10+ metadata to a user data registered ITU-T T.35 buffer.

func AvDynarray2Add

func AvDynarray2Add[T Integer](tabPtr CVoidPointerPointer, nbPtr *int32,
	elemSize T, elemData *uint8) unsafe.Pointer

AvDynarray2Add adds an element of size `elem_size` to a dynamic array.

func AvDynarrayAdd

func AvDynarrayAdd(tabPtr CVoidPointer, nbPtr *int32, elem CVoidPointer)

AvDynarrayAdd adds the pointer to an element to a dynamic array.

func AvDynarrayAddNofree

func AvDynarrayAddNofree(tabPtr CVoidPointer, nbPtr *int32, elem CVoidPointer) int32

AvDynarrayAddNofree adds an element to a dynamic array.

func AvEncryptionInfoAddSideData

func AvEncryptionInfoAddSideData(info *AVEncryptionInfo, sideDataSize *uintptr) *uint8

AvEncryptionInfoAddSideData allocates and initializes side data that holds a copy of the given encryption info.

func AvEncryptionInfoFree

func AvEncryptionInfoFree(info *AVEncryptionInfo)

AvEncryptionInfoFree frees the given encryption info object.

func AvEncryptionInitInfoAddSideData

func AvEncryptionInitInfoAddSideData(info *AVEncryptionInitInfo, sideDataSize *uintptr) *uint8

AvEncryptionInitInfoAddSideData allocates and initializes side data that holds a copy of the given encryption init info.

func AvEncryptionInitInfoFree

func AvEncryptionInitInfoFree(info *AVEncryptionInitInfo)

AvEncryptionInitInfoFree frees the given encryption init info object.

func AvErr2str

func AvErr2str(errnum int32) string

AvErr2str

func AvExecutorExecute added in v0.61.0

func AvExecutorExecute(e *AVExecutor, t *AVTask)

AvExecutorExecute adds task to executor.

func AvExecutorFree added in v0.61.0

func AvExecutorFree(e **AVExecutor)

AvExecutorFree frees executor.

func AvFastMalloc

func AvFastMalloc[T Integer](ptr CVoidPointer, size *uint32, minSize T)

AvFastMalloc allocates a buffer, reusing the given one if large enough.

func AvFastMallocz

func AvFastMallocz[T Integer](ptr CVoidPointer, size *uint32, minSize T)

AvFastMallocz allocates and clear a buffer, reusing the given one if large enough.

func AvFastPaddedMalloc

func AvFastPaddedMalloc(ptr CVoidPointer, size *uint32, minSize uintptr)

AvFastPaddedMalloc

func AvFastPaddedMallocz

func AvFastPaddedMallocz(ptr CVoidPointer, size *uint32, minSize uintptr)

AvFastPaddedMallocz

func AvFastRealloc

func AvFastRealloc[T Integer](ptr CVoidPointer, size *uint32, minSize T) unsafe.Pointer

AvFastRealloc reallocates the given buffer if it is not large enough, otherwise do nothing.

func AvFftEnd deprecated

func AvFftEnd(s *FFTContext)

Deprecated: No use.

AvFftEnd

func AvFftPermute deprecated

func AvFftPermute(s *FFTContext, z *FFTComplex)

Deprecated: No use.

AvFftPermute does the permutation needed BEFORE calling FfFftCalc().

func AvFifoAutoGrowLimit added in v0.51.1

func AvFifoAutoGrowLimit[T Integer](f *AVFifo, maxElems T)

AvFifoAutoGrowLimit sets the maximum size (in elements) to which the FIFO can be resized automatically.

func AvFifoCanRead added in v0.51.1

func AvFifoCanRead(f *AVFifo) uintptr

AvFifoCanRead returns number of elements available for reading from the given FIFO.

func AvFifoCanWrite added in v0.51.1

func AvFifoCanWrite(f *AVFifo) uintptr

AvFifoCanWrite returns number of elements that can be written into the given FIFO.

func AvFifoDrain2 added in v0.51.1

func AvFifoDrain2[T Integer](f *AVFifo, size T)

AvFifoDrain2 discards the specified amount of data from an AVFifo.

func AvFifoElemSize added in v0.51.1

func AvFifoElemSize(f *AVFifo) uintptr

AvFifoElemSize returns Element size for FIFO operations.

func AvFifoFreep2 added in v0.51.1

func AvFifoFreep2(f **AVFifo)

AvFifoFreep2 frees an AVFifo and reset pointer to NULL.

func AvFifoGrow2 added in v0.51.1

func AvFifoGrow2[T Integer](f *AVFifo, inc T) int32

AvFifoGrow2 enlarges an AVFifo.

func AvFifoPeek added in v0.51.1

func AvFifoPeek[U, V Integer](f *AVFifo, buf CVoidPointer, nbElems U, offset V) int32

AvFifoPeek reads data from a FIFO without modifying FIFO state.

func AvFifoPeekToCb added in v0.51.1

func AvFifoPeekToCb[T Integer](f *AVFifo, writeCb *AVFifoCB, opaque CVoidPointer,
	nbElems *uintptr, offset T) int32

AvFifoPeekToCb feeds data from a FIFO into a user-provided callback.

func AvFifoRead added in v0.51.1

func AvFifoRead[T Integer](f *AVFifo, buf CVoidPointer, nbElems T) int32

AvFifoRead reads data from a FIFO.

func AvFifoReadToCb added in v0.51.1

func AvFifoReadToCb(f *AVFifo, writeCb *AVFifoCB, opaque CVoidPointer, nbElems *uintptr) int32

AvFifoReadToCb feeds data from a FIFO into a user-provided callback.

func AvFifoReset2 added in v0.51.1

func AvFifoReset2(f *AVFifo)

AvFifoReset2 empties the AVFifo.

func AvFifoWrite added in v0.51.1

func AvFifoWrite[T Integer](f *AVFifo, buf CVoidPointer, nbElems T) int32

AvFifoWrite writes data into a FIFO.

func AvFifoWriteFromCb added in v0.51.1

func AvFifoWriteFromCb(f *AVFifo, readCb *AVFifoCB, opaque CVoidPointer, nbElems *uintptr) int32

AvFifoWriteFromCb writes data from a user-provided callback into a FIFO.

func AvFileMap

func AvFileMap(filename string, bufptr **uint8, size *uintptr, logOffset int32, logCtx CVoidPointer) int32

AvFileMap reads the file with name filename, and put its content in a newly allocated buffer or map it with mmap() when available.

func AvFileUnmap

func AvFileUnmap(bufptr *uint8, size uintptr)

AvFileUnmap unmaps or frees the buffer bufptr created by AvFileMap().

func AvFilenameNumberTest

func AvFilenameNumberTest(filename string) int32

AvFilenameNumberTest

func AvFilterConfigLinks(filter *AVFilterContext) int32

AvFilterConfigLinks negotiates the media format, dimensions, etc of all inputs to a filter.

func AvFilterConfiguration

func AvFilterConfiguration() string

AvFilterConfiguration returns the libavfilter build-time configuration.

func AvFilterFree

func AvFilterFree(ctx *AVFilterContext)

AvFilterFree frees a filter context. This will also remove the filter from its filtergraph's list of filters.

func AvFilterGraphConfig

func AvFilterGraphConfig(graph *AVFilterGraph, logCtx CVoidPointer) int32

AvFilterGraphConfig checks validity and configure all the links and formats in the graph.

func AvFilterGraphCreateFilter

func AvFilterGraphCreateFilter(filtCtx **AVFilterContext, filter *AVFilter,
	name, args string, opaque CVoidPointer, graph *AVFilterGraph) int32

AvFilterGraphCreateFilter creates and adds a filter instance into an existing graph.

func AvFilterGraphDump

func AvFilterGraphDump(graph *AVFilterGraph, options string) string

AvFilterGraphDump dumps a graph into a human-readable string representation.

func AvFilterGraphFree

func AvFilterGraphFree(graph **AVFilterGraph)

AvFilterGraphFree frees a graph, destroy its links, and set *graph to NULL.

func AvFilterGraphParse

func AvFilterGraphParse(graph *AVFilterGraph, filters string, inputs, outputs *AVFilterInOut,
	logCtx CVoidPointer) int32

AvFilterGraphParse adds a graph described by a string to a graph.

func AvFilterGraphParse2

func AvFilterGraphParse2(graph *AVFilterGraph, filters string,
	inputs, outputs **AVFilterInOut) int32

AvFilterGraphParse2 adds a graph described by a string to a graph.

func AvFilterGraphParsePtr

func AvFilterGraphParsePtr(graph *AVFilterGraph, filters string, inputs, outputs **AVFilterInOut,
	logCtx CVoidPointer) int32

AvFilterGraphParsePtr adds a graph described by a string to a graph.

func AvFilterGraphQueueCommand

func AvFilterGraphQueueCommand(graph *AVFilterGraph, target, cmd, arg string,
	flags int32, ts float64) int32

AvFilterGraphQueueCommand queues a command for one or more filter instances.

func AvFilterGraphRequestOldest

func AvFilterGraphRequestOldest(graph *AVFilterGraph) int32

AvFilterGraphRequestOldest requests a frame on the oldest sink link.

func AvFilterGraphSendCommand

func AvFilterGraphSendCommand(graph *AVFilterGraph, target, cmd, arg string,
	resLen, flags int32) (res string, ret int32)

AvFilterGraphSendCommand sends a command to one or more filter instances.

func AvFilterGraphSetAutoConvert

func AvFilterGraphSetAutoConvert(graph *AVFilterGraph, flags uint32)

AvFilterGraphSetAutoConvert enables or disables automatic format conversion inside the graph.

func AvFilterInitDict

func AvFilterInitDict(ctx *AVFilterContext, options **AVDictionary) int32

AvFilterInitDict initialize a filter with the supplied dictionary of options.

func AvFilterInitStr

func AvFilterInitStr(ctx *AVFilterContext, args string) int32

AvFilterInitStr initializes a filter with the supplied parameters.

func AvFilterInoutFree

func AvFilterInoutFree(inout **AVFilterInOut)

AvFilterInoutFree frees the supplied list of AVFilterInOut and set *inout to NULL.

func AvFilterInsertFilter

func AvFilterInsertFilter(ctx *AVFilterContext, link *AVFilterLink,
	filtSrcpadIdx, filtDstpadIdx uint32) int32

AvFilterInsertFilter inserts a filter in the middle of an existing link.

func AvFilterLicense

func AvFilterLicense() string

AvFilterLicense returns the libavfilter license.

func AvFilterLink(src *AVFilterContext, srcpad uint32,
	dst *AVFilterContext, dstpad uint32) int32

AvFilterLink links two filters together.

func AvFilterLinkFree

func AvFilterLinkFree(link **AVFilterLink)

AvFilterLinkFree frees the link in *link, and set its pointer to NULL.

func AvFilterPadGetName

func AvFilterPadGetName(pads *AVFilterPad, padIdx int32) string

AvFilterPadGetName gets the name of an AVFilterPad.

func AvFilterProcessCommand

func AvFilterProcessCommand(filter *AVFilterContext, cmd, arg string, resLen, flags int32) (res string, ret int32)

AvFilterProcessCommand makes the filter instance process a command. It is recommended to use AVFilterGraphSendCommand().

func AvFilterVersion

func AvFilterVersion() uint32

AvFilterVersion returns the LIBAVFILTER_VERSION_INT constant.

func AvFindBestStream

func AvFindBestStream(ic *AVFormatContext, _type AVMediaType,
	wantedStreamNb, relatedStream int32,
	decoderRet **AVCodec, flags int32) int32

AvFindBestStream finds the "best" stream in the file.

func AvFindDefaultStreamIndex

func AvFindDefaultStreamIndex(ic *AVFormatContext) int32

AvFindDefaultStreamIndex

func AvFindInfoTag

func AvFindInfoTag(tag1, info string) (val string, ret int32)

AvFindInfoTag attempts to find a specific tag in a URL.

func AvFindNearestQIdx

func AvFindNearestQIdx(q AVRational, qList *AVRational) int32

AvFindNearestQIdx finds the value in a list of rationals nearest a given reference rational.

func AvFloat2int

func AvFloat2int(f float32) uint32

AvFloat2int reinterprets a float as a 32-bit integer.

func AvForceCpuFlags

func AvForceCpuFlags(flags int32)

AvForceCpuFlags disables cpu detection and forces the specified flags.

func AvFormatAllocOutputContext2

func AvFormatAllocOutputContext2(ctx **AVFormatContext,
	oformat *AVOutputFormat, formatName, filename string) int32

AvFormatAllocOutputContext2 allocates an AVFormatContext for an output format.

func AvFormatCloseInput

func AvFormatCloseInput(ic **AVFormatContext)

AvFormatCloseInput closes an opened input AVFormatContext. Free it and all its contents and set *s to NULL.

func AvFormatConfiguration

func AvFormatConfiguration() string

AvFormatConfiguration returns the libavformat build-time configuration.

func AvFormatFindStreamInfo

func AvFormatFindStreamInfo(ic *AVFormatContext, options **AVDictionary) int32

AvFormatFindStreamInfo reads packets of a media file to get stream information.

func AvFormatFlush

func AvFormatFlush(ic *AVFormatContext) int32

AvFormatFlush siscards all internally buffered data. This can be useful when dealing with discontinuities in the byte stream. Generally works only with formats that can resync. This includes headerless formats like MPEG-TS/TS but should also work with NUT, Ogg and in a limited way AVI for example.

func AvFormatFreeContext

func AvFormatFreeContext(s *AVFormatContext)

AvFormatFreeContext frees an AVFormatContext and all its streams.

func AvFormatIndexGetEntriesCount added in v0.50.1

func AvFormatIndexGetEntriesCount(st *AVStream) int32

AvFormatIndexGetEntriesCount gets the index entry count for the given AVStream.

func AvFormatInitOutput

func AvFormatInitOutput(ic *AVFormatContext, options **AVDictionary) int32

AvFormatInitOutput allocates the stream private data and initialize the codec, but do not write the header.

func AvFormatInjectGlobalSideData

func AvFormatInjectGlobalSideData(s *AVFormatContext)

AvFormatInjectGlobalSideData will cause global side data to be injected in the next packet of each stream as well as after any subsequent seek.

func AvFormatLicense

func AvFormatLicense() string

AvFormatLicense returns the libavformat license.

func AvFormatMatchStreamSpecifier

func AvFormatMatchStreamSpecifier(ic *AVFormatContext, st *AVStream, spec string) int32

AvFormatMatchStreamSpecifier checks if the stream st contained in s is matched by the stream specifier spec.

func AvFormatNetworkDeinit

func AvFormatNetworkDeinit() int32

AvFormatNetworkDeinit undoes the initialization done by avformat_network_init. Call it only once for each time you called avformat_network_init.

func AvFormatNetworkInit

func AvFormatNetworkInit() int32

AvFormatNetworkInit does global initialization of network libraries. This is optional, and not recommended anymore.

func AvFormatOpenInput

func AvFormatOpenInput(ps **AVFormatContext, url string, fmt *AVInputFormat, options **AVDictionary) int32

AvFormatOpenInput open an input stream and read the header. The codecs are not opened. The stream must be closed with AvFormatCloseInput().

func AvFormatQueryCodec

func AvFormatQueryCodec(ofmt *AVOutputFormat, codeID AVCodecID, stdCompliance int32) int32

AvFormatQueryCodec tests if the given container can store a codec.

func AvFormatQueueAttachedPictures

func AvFormatQueueAttachedPictures(ic *AVFormatContext) int32

AvFormatQueueAttachedPictures

func AvFormatSeekFile

func AvFormatSeekFile(ic *AVFormatContext, streamIndex int32, minTs, ts, maxTs int64, flags int32) int32

AvFormatSeekFile seeks to timestamp ts.

func AvFormatTransferInternalStreamTimingInfo

func AvFormatTransferInternalStreamTimingInfo(ofmt *AVOutputFormat,
	ost, ist *AVStream,
	copyTb AVTimebaseSource) int32

AvFormatTransferInternalStreamTimingInfo transfers internal timing information from one stream to another.

func AvFormatVersion

func AvFormatVersion() uint32

AvFormatVersion returns the LIBAVFORMAT_VERSION_INT constant.

func AvFormatWriteHeader

func AvFormatWriteHeader(ic *AVFormatContext, options **AVDictionary) int32

AvFormatWriteHeader allocates the stream private data and write the stream header to an output media file.

func AvFourcc2str

func AvFourcc2str(fourcc uint32) string

AvFourcc2str

func AvFourccMakeString

func AvFourccMakeString(buf *int8, fourcc uint32) *int8

AvFourccMakeString fill the provided buffer with a string containing a FourCC (four-character code) representation.

func AvFrameApplyCropping

func AvFrameApplyCropping(frame *AVFrame, flags int32) int32

AvFrameApplyCropping crops the given video AVFrame according to its crop_left/crop_top/crop_right/ crop_bottom fields.

func AvFrameCopy

func AvFrameCopy(dst, src *AVFrame) int32

AvFrameCopy copies the frame data from src to dst.

func AvFrameCopyProps

func AvFrameCopyProps(dst, src *AVFrame) int32

AvFrameCopyProps copies only "metadata" fields from src to dst.

func AvFrameFree

func AvFrameFree(frame **AVFrame)

AvFrameFree frees the frame and any dynamically allocated objects in it, e.g. extended_data. If the frame is reference counted, it will be unreferenced first.

func AvFrameGetBuffer

func AvFrameGetBuffer(frame *AVFrame, align int32) int32

AvFrameGetBuffer allocates new buffer(s) for audio or video data.

func AvFrameIsWritable

func AvFrameIsWritable(frame *AVFrame) int32

AvFrameIsWritable checks if the frame data is writable.

func AvFrameMakeWritable

func AvFrameMakeWritable(frame *AVFrame) int32

AvFrameMakeWritable ensures that the frame data is writable, avoiding data copy if possible.

func AvFrameMoveRef

func AvFrameMoveRef(dst, src *AVFrame)

AvFrameMoveRef moves everything contained in src to dst and reset src.

func AvFrameRef

func AvFrameRef(dst, src *AVFrame) int32

AvFrameRef sets up a new reference to the data described by the source frame.

func AvFrameRemoveSideData

func AvFrameRemoveSideData(frame *AVFrame, _type AVFrameSideDataType)

AvFrameRemoveSideData remove and free all side data instances of the given type.

func AvFrameReplace added in v0.61.0

func AvFrameReplace(dst, src *AVFrame) int32

AvFrameReplace ensures the destination frame refers to the same data described by the source frame.

func AvFrameSideDataClone added in v0.70.1

func AvFrameSideDataClone(sd ***AVFrameSideData, nbSd *int32, src *AVFrameSideData, flags uint32) int32

AvFrameSideDataClone

func AvFrameSideDataFree added in v0.70.1

func AvFrameSideDataFree(sd ***AVFrameSideData, nbSd *int32)

AvFrameSideDataFree frees all side data entries and their contents.

func AvFrameSideDataName

func AvFrameSideDataName(_type AVFrameSideDataType) string

AvFrameSideDataName returns a string identifying the side data type.

func AvFrameUnref

func AvFrameUnref(frame *AVFrame)

AvFrameUnref unreferences all the buffers referenced by frame and reset the frame fields.

func AvFree

func AvFree(ptr CVoidPointer)

AvFree free a memory block which has been allocated with a function of AvMalloc() or AvRealloc() family.

func AvFreep

func AvFreep(ptr CVoidPointer)

AvFreep frees a memory block which has been allocated with a function of AvMalloc() or AvRealloc() family, and set the pointer pointing to it to `NULL`.

func AvGcd

func AvGcd[T Integer](a, b T) T

AvGcd computes the greatest common divisor of two integer operands.

func AvGetAudioFrameDuration

func AvGetAudioFrameDuration(avctx *AVCodecContext, frameBytes int32) int32

AvGetAudioFrameDuration returns audio frame duration.

func AvGetAudioFrameDuration2

func AvGetAudioFrameDuration2(par *AVCodecParameters, frameBytes int32) int32

AvGetAudioFrameDuration2 returns audio frame duration.

func AvGetBitsPerPixel

func AvGetBitsPerPixel(pixdesc *AVPixFmtDescriptor) int32

AvGetBitsPerPixel returns the number of bits per pixel used by the pixel format described by pixdesc.

func AvGetBitsPerSample

func AvGetBitsPerSample(codecID AVCodecID) int32

AvGetBitsPerSample returns codec bits per sample.

func AvGetBytesPerSample

func AvGetBytesPerSample(sampleFmt AVSampleFormat) int32

AvGetBytesPerSample returns number of bytes per sample.

func AvGetCpuFlags

func AvGetCpuFlags() int32

AvGetCpuFlags returns the flags which specify extensions supported by the CPU.

func AvGetExactBitsPerSample

func AvGetExactBitsPerSample(codecID AVCodecID) int32

AvGetExactBitsPerSample returns codec bits per sample.

func AvGetFrameFilename

func AvGetFrameFilename(bufSize int32, path string, number int32) (output string, ret int32)

AvGetFrameFilename

func AvGetFrameFilename2

func AvGetFrameFilename2(bufSize int32, path string, number, flags int32) (output string, ret int32)

AvGetFrameFilename2 returns in 'buf' the path with '%d' replaced by a number.

func AvGetKnownColorName

func AvGetKnownColorName(colorIdx int32, rgb **uint8) string

AvGetKnownColorName gets the name of a color from the internal table of hard-coded named colors.

func AvGetMediaTypeString

func AvGetMediaTypeString(mt AVMediaType) string

AvGetMediaTypeString returns a string describing the MediaType, Empty string if media_type is unknown.

func AvGetOutputTimestamp

func AvGetOutputTimestamp(ic *AVFormatContext, stream int32, dts, wall *int64) int32

AvGetOutputTimestamp gets timing information for the data currently output.

func AvGetPacket

func AvGetPacket(s *AVIOContext, pkt *AVPacket, size int32) int32

AvGetPacket allocates and reads the payload of a packet and initialize its fields with default values.

func AvGetPaddedBitsPerPixel

func AvGetPaddedBitsPerPixel(pixdesc *AVPixFmtDescriptor) int32

AvGetPaddedBitsPerPixel returns the number of bits per pixel for the pixel format described by pixdesc, including any padding or unused bits.

func AvGetPictureTypeChar

func AvGetPictureTypeChar(pictType AVPictureType) string

AvGetPictureTypeChar returns a single letter to describe the given picture type.

func AvGetPixFmtLoss

func AvGetPixFmtLoss(dstPixFmt, srcPixFmt AVPixelFormat, hasAlpha int32) int32

AvGetPixFmtLoss computes what kind of losses will occur when converting from one specific pixel format to another.

func AvGetPixFmtName

func AvGetPixFmtName(pixFmt AVPixelFormat) string

AvGetPixFmtName returns the short name for a pixel format, NULL in case pix_fmt is unknown.

func AvGetPixFmtString

func AvGetPixFmtString(buf *int8, bufSize int32, pixFmt AVPixelFormat) string

AvGetPixFmtString prints in buf the string corresponding to the pixel format with number pix_fmt, or a header if pix_fmt is negative.

func AvGetProfileName

func AvGetProfileName(c *AVCodec, profile int32) string

AvGetProfileName returns a name for the specified profile, if available.

func AvGetRandomSeed

func AvGetRandomSeed() uint32

AvGetRandomSeed gets a seed to use in conjunction with random functions.

func AvGetSampleFmtName

func AvGetSampleFmtName(sampleFmt AVSampleFormat) string

AvGetSampleFmtName returns the name of sample_fmt, or NULL if sample_fmt is not recognized.

func AvGetSampleFmtString

func AvGetSampleFmtString(buf *int8, bufSize int32, sampleFmt AVSampleFormat) string

AvGetSampleFmtString generates a string corresponding to the sample format with sample_fmt, or a header if sample_fmt is negative.

func AvGettime

func AvGettime() int64

AvGettime gets the current time in microseconds.

func AvGettimeRelative

func AvGettimeRelative() int64

AvGettimeRelative gets the current time in microseconds since some unspecified starting point.

func AvGettimeRelativeIsMonotonic

func AvGettimeRelativeIsMonotonic() int32

AvGettimeRelativeIsMonotonic indicates with a boolean result if the AvGettimeRelative() time source is monotonic.

func AvGrowPacket

func AvGrowPacket(pkt *AVPacket, growBy int32) int32

AvGrowPacket increases packet size, correctly zeroing padding.

func AvHWDeviceCtxCreate

func AvHWDeviceCtxCreate(deviceCtx **AVBufferRef, _type AVHWDeviceType,
	device string, opts *AVDictionary, flags int32) int32

AvHWDeviceCtxCreate opens a device of the specified type and create an AVHWDeviceContext for it.

func AvHWDeviceCtxCreateDerived

func AvHWDeviceCtxCreateDerived(dstCtx **AVBufferRef, _type AVHWDeviceType,
	srcCtx *AVBufferRef, flags int32) int32

AvHWDeviceCtxCreateDerived creates a new device of the specified type from an existing device.

func AvHWDeviceCtxCreateDerivedOpts added in v0.43.1

func AvHWDeviceCtxCreateDerivedOpts(dstCtx **AVBufferRef, _type AVHWDeviceType,
	srcCtx *AVBufferRef, options *AVDictionary, flags int32) int32

AvHWDeviceCtxCreateDerivedOpts creates a new device of the specified type from an existing device.

func AvHWDeviceCtxInit

func AvHWDeviceCtxInit(ref *AVBufferRef) int32

AvHWDeviceCtxInit finalizes the device context before use.

func AvHWDeviceGetTypeName

func AvHWDeviceGetTypeName(_type AVHWDeviceType) string

AvHWDeviceGetTypeName gets the string name of an AVHWDeviceType.

func AvHWDeviceHwconfigAlloc

func AvHWDeviceHwconfigAlloc(deviceCtx *AVBufferRef) unsafe.Pointer

AvHWDeviceHwconfigAlloc allocates a HW-specific configuration structure for a given HW device.

func AvHWFrameConstraintsFree

func AvHWFrameConstraintsFree(constraints **AVHWFramesConstraints)

AvHWFrameConstraintsFree frees an AVHWFrameConstraints structure.

func AvHWFrameCtxCreateDerived

func AvHWFrameCtxCreateDerived(derivedFrameCtx **AVBufferRef, format AVPixelFormat,
	derivedDeviceCtx, sourceFrameCtx *AVBufferRef, flags int32) int32

AvHWFrameCtxCreateDerived creates and initialises an AVHWFramesContext as a mapping of another existing AvHWFramesContext on a different device.

func AvHWFrameCtxInit

func AvHWFrameCtxInit(ref *AVBufferRef) int32

AvHWFrameCtxInit finalizes the context before use.

func AvHWFrameGetBuffer

func AvHWFrameGetBuffer(hwframeCtx *AVBufferRef, frame *AVFrame, flags int32) int32

AvHWFrameGetBuffer allocates a new frame attached to the given AVHWFramesContext.

func AvHWFrameMap

func AvHWFrameMap(dst, src *AVFrame, flags int32) int32

AvHWFrameMap maps a hardware frame.

func AvHWFrameTransferData

func AvHWFrameTransferData(dst, src *AVFrame, flags int32) int32

AvHWFrameTransferData copies data to or from a hw surface.

func AvHWFrameTransferGetFormats

func AvHWFrameTransferGetFormats(hwframeCtx *AVBufferRef, dir AVHWFrameTransferDirection,
	formats **AVPixelFormat, flags int32) int32

AvHWFrameTransferGetFormats gets a list of possible source or target formats usable in AvHWFrameTransferData().

func AvHashAlloc

func AvHashAlloc(ctx **AVHashContext, name string) int32

AvHashAlloc allocates a hash context for the algorithm specified by name.

func AvHashFinal

func AvHashFinal(ctx *AVHashContext, dst *uint8)

AvHashFinal finalizes a hash context and compute the actual hash value.

func AvHashFinalB64

func AvHashFinalB64(ctx *AVHashContext, dst *uint8, size int32)

AvHashFinalB64 finalizes a hash context and store the Base64 representation of the actual hash value as a string.

func AvHashFinalBin

func AvHashFinalBin(ctx *AVHashContext, dst *uint8, size int32)

AvHashFinalBin finalizes a hash context and store the actual hash value in a buffer.

func AvHashFinalHex

func AvHashFinalHex(ctx *AVHashContext, dst *uint8, size int32)

AvHashFinalHex finalizes a hash context and store the hexadecimal representation of the actual hash value as a string.

func AvHashFreep

func AvHashFreep(ctx **AVHashContext)

AvHashFreep frees hash context and set hash context pointer to `NULL`.

func AvHashGetName

func AvHashGetName(ctx *AVHashContext) string

AvHashGetName gets the name of the algorithm corresponding to the given hash context.

func AvHashGetSize

func AvHashGetSize(ctx *AVHashContext) int32

AvHashGetSize gets the size of the resulting hash value in bytes.

func AvHashInit

func AvHashInit(ctx *AVHashContext)

AvHashInit initializes or reset a hash context.

func AvHashNames

func AvHashNames(i int32) string

AvHashNames gets the names of available hash algorithms.

func AvHashUpdate

func AvHashUpdate(ctx *AVHashContext, src *uint8, len uintptr)

AvHashUpdate updates a hash context with additional data.

func AvHexDump

func AvHexDump(f *FILE, buf *uint8, size int32)

AvHexDump sends a nice hexadecimal dump of a buffer to the specified file stream.

func AvHexDumpLog

func AvHexDumpLog(avcl CVoidPointer, level int32, buf *uint8, size int32)

AvHexDumpLog sends a nice hexadecimal dump of a buffer to the log.

func AvHmacCalc

func AvHmacCalc(ctx *AVHMAC, data *uint8, len uint32,
	key *uint8, keylen uint32,
	out *uint8, outlen uint32) int32

AvHmacCalc hashes an array of data with a key.

func AvHmacFinal

func AvHmacFinal(ctx *AVHMAC, out *uint8, outlen uint32) int32

AvHmacFinal finishes hashing and output the HMAC digest.

func AvHmacFree

func AvHmacFree(ctx *AVHMAC)

AvHmacFree frees an AVHMAC context.

func AvHmacInit

func AvHmacInit(ctx *AVHMAC, key *uint8, keylen uint32)

AvHmacInit initializes an AVHMAC context with an authentication key.

func AvHmacUpdate

func AvHmacUpdate(ctx *AVHMAC, data *uint8, len uint32)

AvHmacUpdate hashes data with the HMAC.

func AvIOAccept

func AvIOAccept(s *AVIOContext, c **AVIOContext) int32

AvIOAccept accepts and allocates a client context on a server context.

func AvIOCheck

func AvIOCheck(url string, flags int32) int32

AvIOCheck returns AVIO_FLAG_* access flags corresponding to the access permissions of the resource in url, or a negative value corresponding to an AvERROR code in case of failure. The returned access flags are masked by the value in flags.

func AvIOClose

func AvIOClose(s *AVIOContext) int32

AvIOClose

func AvIOCloseDir

func AvIOCloseDir(s **AVIODirContext) int32

AvIOCloseDir closes directory.

func AvIOCloseDynBuf

func AvIOCloseDynBuf(s *AVIOContext, pbuffer **uint8) int32

AvIOCloseDynBuf returns the written size and a pointer to the buffer. The buffer must be freed with AvFree().

func AvIOClosep

func AvIOClosep(s **AVIOContext) int32

AvIOClosep closes the resource accessed by the AVIOContext *s, free it and set the pointer pointing to it to NULL.

func AvIOContextFree

func AvIOContextFree(s **AVIOContext)

AvIOContextFree frees the supplied IO context and everything associated with it.

func AvIOEnumProtocols

func AvIOEnumProtocols(opaque CVoidPointerPointer, output int32) string

AvIOEnumProtocols iterates through names of available protocols.

func AvIOFeof

func AvIOFeof(s *AVIOContext) int32

AvIOFeof similar to feof() but also returns nonzero on read errors.

func AvIOFindProtocolName

func AvIOFindProtocolName(url string) string

AvIOFindProtocolName returns the name of the protocol that will handle the passed URL.

func AvIOFlush

func AvIOFlush(s *AVIOContext)

AvIOFlush forces flushing of buffered data.

func AvIOFreeDirectoryEntry

func AvIOFreeDirectoryEntry(entry **AVIODirEntry)

AvIOFreeDirectoryEntry frees entry allocated by AvIOReadDir().

func AvIOGetDynBuf

func AvIOGetDynBuf(s *AVIOContext, pbuffer **uint8) int32

AvIOGetDynBuf returns the written size and a pointer to the buffer.

func AvIOGetStr

func AvIOGetStr(s *AVIOContext, maxLen int32, buf *int8, buflen int32) int32

AvIOGetStr reads a string from pb into buf. The reading will terminate when either a NULL character was encountered, maxlen bytes have been read, or nothing more can be read from pb. The result is guaranteed to be NULL-terminated, it will be truncated if buf is too small. Note that the string is not interpreted or validated in any way, it might get truncated in the middle of a sequence for multi-byte encodings.

func AvIOGetStr16be

func AvIOGetStr16be(s *AVIOContext, maxLen int32, buf *int8, buflen int32) int32

AvIOGetStr16be reads a UTF-16BE string from pb and convert it to UTF-8.

func AvIOGetStr16le

func AvIOGetStr16le(s *AVIOContext, maxLen int32, buf *int8, buflen int32) int32

AvIOGetStr16le reads a UTF-16LE string from pb and convert it to UTF-8.

func AvIOHandshake

func AvIOHandshake(s *AVIOContext) int32

AvIOHandshake performs one step of the protocol handshake to accept a new client.

func AvIOOpen

func AvIOOpen(s **AVIOContext, url string, flags int32) int32

AvIOOpen creates and initializes a AVIOContext for accessing the resource indicated by url.

func AvIOOpen2

func AvIOOpen2(s **AVIOContext, url string, flags int32,
	intCb *AVIOInterruptCB, options **AVDictionary) int32

AvIOOpen2 creates and initializes a AVIOContext for accessing the resource indicated by url.

func AvIOOpenDir

func AvIOOpenDir(s **AVIODirContext, url string, options **AVDictionary) int32

AvIOOpenDir opens directory for reading.

func AvIOOpenDynBuf

func AvIOOpenDynBuf(s **AVIOContext) int32

AvIOOpenDynBuf opens a write only memory stream.

func AvIOPause

func AvIOPause(s *AVIOContext, pause int32) int32

AvIOPause pauses and resumes playing - only meaningful if using a network streaming protocol (e.g. MMS).

func AvIOPrint added in v0.43.1

func AvIOPrint(s *AVIOContext, va ...any)

AvIOPrint

func AvIOPrintf

func AvIOPrintf(s *AVIOContext, _fmt string, va ...any) int32

AvIOPrintf Writes a formatted string to the context.

func AvIOPutStr

func AvIOPutStr(s *AVIOContext, str string) int32

AvIOPutStr Write a string.

func AvIOPutStr16be

func AvIOPutStr16be(s *AVIOContext, str string) int32

AvIOPutStr16be converts an UTF-8 string to UTF-16BE and write it.

func AvIOPutStr16le

func AvIOPutStr16le(s *AVIOContext, str string) int32

AvIOPutStr16le converts an UTF-8 string to UTF-16LE and write it.

func AvIOR8

func AvIOR8(s *AVIOContext) int32

AvIOR8

func AvIORb16

func AvIORb16(s *AVIOContext) uint32

AvIORb16

func AvIORb24

func AvIORb24(s *AVIOContext) uint32

AvIORb24

func AvIORb32

func AvIORb32(s *AVIOContext) uint32

AvIORb32

func AvIORb64

func AvIORb64(s *AVIOContext) uint64

AvIORb64

func AvIORead

func AvIORead(s *AVIOContext, buf *uint8, size int32) int32

AvIORead reads size bytes from AVIOContext into buf.

func AvIOReadDir

func AvIOReadDir(s *AVIODirContext, next **AVIODirEntry) int32

AvIOReadDir gets next directory entry.

func AvIOReadPartial

func AvIOReadPartial(s *AVIOContext, buf *uint8, size int32) int32

AvIOReadPartial sead size bytes from AVIOContext into buf. Unlike avio_read(), this is allowed to read fewer bytes than requested. The missing bytes can be read in the next call. This always tries to read at least 1 byte. Useful to reduce latency in certain cases.

func AvIOReadToBprint

func AvIOReadToBprint(s *AVIOContext, pb *AVBPrint, maxSize uintptr) int32

AvIOReadToBprint reads contents of h into print buffer, up to max_size bytes, or up to EOF.

func AvIORl16

func AvIORl16(s *AVIOContext) uint32

AvIORl16

func AvIORl24

func AvIORl24(s *AVIOContext) uint32

AvIORl24

func AvIORl32

func AvIORl32(s *AVIOContext) uint32

AvIORl32

func AvIORl64

func AvIORl64(s *AVIOContext) uint64

AvIORl64

func AvIOSeek

func AvIOSeek(s *AVIOContext, offset int64, whence int32) int64

AvIOSeek equivalents fseek().

func AvIOSeekTime

func AvIOSeekTime(s *AVIOContext, streamIndex int32, timestamp int64, flags int32) int64

AvIOSeekTime seeks to a given timestamp relative to some component stream. Only meaningful if using a network streaming protocol (e.g. MMS.).

func AvIOSize

func AvIOSize(s *AVIOContext) int64

AvIOSize gets the filesize.

func AvIOSkip

func AvIOSkip(s *AVIOContext, offset int64) int64

AvIOSkip skips given number of bytes forward.

func AvIOTell

func AvIOTell(s *AVIOContext) int64

AvIOTell equivalents ftell().

func AvIOW8

func AvIOW8(s *AVIOContext, b int32)

AvIOW8

func AvIOWb16

func AvIOWb16(s *AVIOContext, val uint32)

AvIOWb16

func AvIOWb24

func AvIOWb24(s *AVIOContext, val uint32)

AvIOWb24

func AvIOWb32

func AvIOWb32(s *AVIOContext, val uint32)

AvIOWb32

func AvIOWb64

func AvIOWb64(s *AVIOContext, val uint64)

AvIOWb64

func AvIOWl16

func AvIOWl16(s *AVIOContext, val uint32)

AvIOWl16

func AvIOWl24

func AvIOWl24(s *AVIOContext, val uint32)

AvIOWl24

func AvIOWl32

func AvIOWl32(s *AVIOContext, val uint32)

AvIOWl32

func AvIOWl64

func AvIOWl64(s *AVIOContext, val uint64)

AvIOWl64

func AvIOWrite

func AvIOWrite(s *AVIOContext, buf *uint8, size int32)

AvIOWrite

func AvIOWriteMarker

func AvIOWriteMarker(s *AVIOContext, time int64, _type AVIODataMarkerType)

AvIOWriteMarker

func AvIamfAudioElementFree added in v0.70.1

func AvIamfAudioElementFree(audioElement **AVIAMFAudioElement)

AvIamfAudioElementFree

func AvIamfMixPresentationFree added in v0.70.1

func AvIamfMixPresentationFree(mixPresentation **AVIAMFMixPresentation)

AvIamfMixPresentationFree frees an AVIAMFMixPresentation and all its contents.

func AvIamfParamDefinitionGetSubblock added in v0.70.1

func AvIamfParamDefinitionGetSubblock(par *AVIAMFParamDefinition, idx uint32) unsafe.Pointer

AvIamfParamDefinitionGetSubblock gets the subblock at the specified idx.

func AvImageAlloc

func AvImageAlloc(pointers []*uint8, linesizes []int32, w, h int32,
	pixFmt AVPixelFormat, align int32) int32

AvImageAlloc allocates an image with size w and h and pixel format pix_fmt, and fill pointers and linesizes accordingly.

func AvImageCheckSar

func AvImageCheckSar(w, h uint32, sar AVRational) int32

AvImageCheckSar checks if the given sample aspect ratio of an image is valid.

func AvImageCheckSize

func AvImageCheckSize(w, h uint32, logOffset int32, logCtx CVoidPointer) int32

AvImageCheckSize checks if the given dimension of an image is valid, meaning that all bytes of the image can be addressed with a signed int.

func AvImageCheckSize2

func AvImageCheckSize2(w, h uint32, maxPixels int64, pixFmt AVPixelFormat,
	logOffset int32, logCtx CVoidPointer) int32

AvImageCheckSize2 checks if the given dimension of an image is valid, meaning that all bytes of a plane of an image with the specified pix_fmt can be addressed with a signed int.

func AvImageCopy

func AvImageCopy(dstData []*uint8, dstLinesizes []int32, srcData []*uint8, srcLinesizes []int32,
	pixFmt AVPixelFormat, width, height int32)

AvImageCopy copies image in src_data to dst_data.

func AvImageCopy2 added in v0.61.0

func AvImageCopy2(dstData []*uint8, dstLinesizes []int32, srcData []*uint8, srcLinesizes []int32,
	pixFmt AVPixelFormat, width, height int32)

AvImageCopy2 is wrapper around AvImageCopy()

func AvImageCopyPlane

func AvImageCopyPlane(dst *uint8, dstLinesize int32, src *uint8,
	srcLinesize int32, bytewidth, height int32)

AvImageCopyPlane copies image plane from src to dst.

func AvImageCopyPlaneUcFrom added in v0.50.1

func AvImageCopyPlaneUcFrom(dst *uint8, dstLinesize int,
	src *uint8, srcLinesize int,
	bytewidth int, height int32)

AvImageCopyPlaneUcFrom copies image data located in uncacheable (e.g. GPU mapped) memory.

func AvImageCopyToBuffer

func AvImageCopyToBuffer(dst *uint8, dstSize int32, srcData []*uint8, srcLinesize []int32,
	pixFmt AVPixelFormat, width, height, align int32) int32

AvImageCopyToBuffer copies image data from an image into a buffer.

func AvImageCopyUcFrom

func AvImageCopyUcFrom(dstData []*uint8, dstLinesizes []int, srcData []*uint8, srcLinesizes []int,
	pixFmt AVPixelFormat, width, height int32)

AvImageCopyUcFrom copies image data located in uncacheable (e.g. GPU mapped) memory.

func AvImageFillArrays

func AvImageFillArrays(dstData []*uint8, dstLinesize []int32, src *uint8,
	pixFmt AVPixelFormat, width, height, align int32)

AvImageFillArrays setups the data pointers and linesizes based on the specified image parameters and the provided array.

func AvImageFillBlack

func AvImageFillBlack(dstData []*uint8, dstLinesize []int,
	pixFmt AVPixelFormat, _range AVColorRange, width, height int32) int32

AvImageFillBlack overwrites the image data with black.

func AvImageFillColor added in v0.70.1

func AvImageFillColor(dstData []*uint8, dstLinesize []int,
	pixFmt AVPixelFormat, color []uint32, width, height, flags int32) int32

AvImageFillColor

func AvImageFillLinesizes

func AvImageFillLinesizes(linesizes []int32, pixFmt AVPixelFormat, width int32) int32

AvImageFillLinesizes fills plane linesizes for an image with pixel format pix_fmt and width width.

func AvImageFillMaxPixsteps

func AvImageFillMaxPixsteps(maxPixsteps, maxPixstepComps []int32, pixdesc *AVPixFmtDescriptor)

AvImageFillMaxPixsteps computes the max pixel step for each plane of an image with a format described by pixdesc.

func AvImageFillPlaneSizes added in v0.44.1

func AvImageFillPlaneSizes(size []uintptr, pixFmt AVPixelFormat, height int32, linesizes []int) int32

AvImageFillPlaneSizes fills plane sizes for an image with pixel format pix_fmt and height height.

func AvImageFillPointers

func AvImageFillPointers(data []*uint8, pixFmt AVPixelFormat,
	height int32, ptr *uint8, linesizes []int32) int32

AvImageFillPointers fills plane data pointers for an image with pixel format pix_fmt and height height.

func AvImageGetBufferSize

func AvImageGetBufferSize(pixFmt AVPixelFormat, width, height, align int32) int32

AvImageGetBufferSize Return the size in bytes of the amount of data required to store an image with the given parameters.

func AvImageGetLinesize

func AvImageGetLinesize(pixFmt AVPixelFormat, width, plane int32) int32

AvImageGetLinesize computes the size of an image line with format pix_fmt and width width for the plane plane.

func AvIndexSearchTimestamp

func AvIndexSearchTimestamp(st *AVStream, timestamp int64, flags int32) int32

AvIndexSearchTimestamp gets the index for a specific timestamp.

func AvInitPacket deprecated

func AvInitPacket(pkt *AVPacket)

Deprecated: No use.

AvInitPacket initializes optional fields of a packet with default values.

func AvInt2double

func AvInt2double(i uint64) float64

AvInt2double reinterprets a 64-bit integer as a double.

func AvInt2float

func AvInt2float(i uint32) float32

AvInt2float reinterprets a 32-bit integer as a float.

func AvIntListLength

func AvIntListLength[U, V Integer](list *U, term V) uint32

AvIntListLength

func AvIntListLengthForSize

func AvIntListLengthForSize[T Integer](elsize uint32, list CVoidPointer, term T) uint32

AvIntListLengthForSize computes the length of an integer list.

func AvInterleavedWriteFrame

func AvInterleavedWriteFrame(ic *AVFormatContext, pkt *AVPacket) int32

AvInterleavedWriteFrame writes a packet to an output media file ensuring correct interleaving.

func AvInterleavedWriteUncodedFrame

func AvInterleavedWriteUncodedFrame(ic *AVFormatContext, streamIndex int32, frame *AVFrame) int32

AvInterleavedWriteUncodedFrame Write an uncoded frame to an output media file.

func AvLfgGet

func AvLfgGet(c *AVLFG) uint32

AvLfgGet gets the next random unsigned 32-bit number using an ALFG.

func AvLfgInit

func AvLfgInit(c *AVLFG, seed uint32)

AvLfgInit

func AvLfgInitFromData

func AvLfgInitFromData(c *AVLFG, data *uint8, length uint) int32

AvLfgInitFromData seeds the state of the ALFG using binary data.

func AvLog

func AvLog(avcl CVoidPointer, level int32, _fmt string, va ...any)

AvLog sends the specified message to the log if the level is less than or equal to the current av_log_level. By default, all logging messages are sent to stderr. This behavior can be altered by setting a different logging callback function.

func AvLog2

func AvLog2(v uint32) int32

AvLog2

func AvLog2With16bit

func AvLog2With16bit(v uint32) int32

AvLog2With16bit

func AvLogGetFlags

func AvLogGetFlags() int32

AvLogGetFlags

func AvLogGetLevel

func AvLogGetLevel() int32

AvLogGetLevel gets the current log level.

func AvLogOnce added in v0.43.1

func AvLogOnce(avcl CVoidPointer, initialLevel, subsequentLevel int32, state *int32, _fmt string, va ...any)

AvLogOnce sends the specified message to the log once with the initial_level and then with the subsequent_level. By default, all logging messages are sent to stderr. This behavior can be altered by setting a different logging callback function.

func AvLogSetCallback

func AvLogSetCallback(f AVLogCallbackFunc)

AvLogSetCallback sets the logging callback.

func AvLogSetFlags

func AvLogSetFlags(arg int32)

AvLogSetFlags

func AvLogSetLevel

func AvLogSetLevel(level int32)

AvLogSetLevel sets the log level.

func AvLzo1xDecode

func AvLzo1xDecode(out CVoidPointer, outlen *int32, in CVoidPointer, inlen *int32) int32

AvLzo1xDecode decodes LZO 1x compressed data.

func AvMakeErrorString

func AvMakeErrorString(errbuf *int8, errbufSize uintptr, errnum int32) *int8

AvMakeErrorString fills the provided buffer with a string containing an error string corresponding to the AVERROR code errnum.

func AvMalloc

func AvMalloc[T Integer](size T) unsafe.Pointer

AvMalloc allocates a memory block with alignment suitable for all memory accesses (including vectors if available on the CPU).

func AvMallocArray

func AvMallocArray[U, V Integer](nmemb U, size V) unsafe.Pointer

AvMallocArray allocates a memory block for an array with AvMalloc().

func AvMallocz

func AvMallocz[T Integer](size T) unsafe.Pointer

AvMallocz allocates a memory block with alignment suitable for all memory accesses (including vectors if available on the CPU) and zero all the bytes of the block.

func AvMatchExt

func AvMatchExt(filename, extensions string) int32

AvMatchExt returns a positive value if the given filename has one of the given extensions, 0 otherwise.

func AvMaxAlloc

func AvMaxAlloc[T Integer](max T)

AvMaxAlloc sets the maximum size that may be allocated in one block.

func AvMd5Final

func AvMd5Final(ctx *AVMD5, dst *uint8)

AvMd5Final finishs hashing and output digest value.

func AvMd5Init

func AvMd5Init(ctx *AVMD5)

AvMd5Init initializes MD5 hashing.

func AvMd5Sum

func AvMd5Sum(dst, src *uint8, len uintptr)

AvMd5Sum hashes an array of data.

func AvMd5Update

func AvMd5Update(ctx *AVMD5, src *uint8, len uintptr)

AvMd5Update updates hash value.

func AvMemcpyBackptr

func AvMemcpyBackptr(dst *uint8, back, cnt int32)

AvMemcpyBackptr overlaps memcpy() implementation.

func AvMemdup

func AvMemdup[T Integer](p CVoidPointer, size T) unsafe.Pointer

AvMemdup duplicates a buffer with av_malloc().

func AvMlfgGet

func AvMlfgGet(c *AVLFG) uint32

AvMlfgGet gets the next random unsigned 32-bit number using a MLFG.

func AvModUintp2C

func AvModUintp2C(a, p uint32) uint32

AvModUintp2C clears high bits from an unsigned integer starting with specific bit position.

func AvMurmur3Final

func AvMurmur3Final(c *AVMurMur3, dst []uint8)

AvMurmur3Final finishes hashing and output digest value.

func AvMurmur3Init

func AvMurmur3Init(c *AVMurMur3)

AvMurmur3Init initializes or reinitializes an AVMurMur3 hash context.

func AvMurmur3InitSeeded

func AvMurmur3InitSeeded(c *AVMurMur3, seed uint64)

AvMurmur3InitSeeded initializes or reinitializes an AVMurMur3 hash context with a seed.

func AvMurmur3Update

func AvMurmur3Update(c *AVMurMur3, src *uint8, len uintptr)

AvMurmur3Update updates hash context with new data.

func AvNearerQ

func AvNearerQ(q, q1, q2 AVRational) int32

AvNearerQ finds which of the two rationals is closer to another rational. return One of the following values: 1 if `q1` is nearer to `q` than `q2` -1 if `q2` is nearer to `q` than `q1` 0 if they have the same distance.

func AvNewPacket

func AvNewPacket(pkt *AVPacket, size int32) int32

AvNewPacket allocates the payload of a packet and initialize its fields with default values.

func AvOptChildNext

func AvOptChildNext(obj, prev CVoidPointer) unsafe.Pointer

AvOptChildNext iterates over AVOptions-enabled children of obj.

func AvOptCopy

func AvOptCopy(dest, src CVoidPointer) int32

AvOptCopy copies options from src object into dest object.

func AvOptEvalDouble

func AvOptEvalDouble(obj CVoidPointer, o *AVOption, val string, double_out *float64) int32

AvOptEvalDouble

func AvOptEvalFlags

func AvOptEvalFlags(obj CVoidPointer, o *AVOption, val string, flags_out *int32) int32

AvOptEvalFlags

func AvOptEvalFloat

func AvOptEvalFloat(obj CVoidPointer, o *AVOption, val string, float_out *float32) int32

AvOptEvalFloat

func AvOptEvalInt

func AvOptEvalInt(obj CVoidPointer, o *AVOption, val string, int_out *int32) int32

AvOptEvalInt

func AvOptEvalInt64

func AvOptEvalInt64(obj CVoidPointer, o *AVOption, val string, int64_out *int64) int32

AvOptEvalInt64

func AvOptEvalQ

func AvOptEvalQ(obj CVoidPointer, o *AVOption, val string, q_out *AVRational) int32

AvOptEvalQ

func AvOptFlagIsSet

func AvOptFlagIsSet(obj CVoidPointer, fieldName, flagName string) int32

AvOptFlagIsSet checks whether a particular flag is set in a flags field.

func AvOptFree

func AvOptFree(obj CVoidPointer)

AvOptFree frees all allocated objects in obj.

func AvOptFreepRanges

func AvOptFreepRanges(ranges **AVOptionRanges)

AvOptFreepRanges frees an AVOptionRanges struct and set it to NULL.

func AvOptGet

func AvOptGet(obj CVoidPointer, name string, searchFlags int32, outVal **uint8) int32

AvOptGet

func AvOptGetChlayout added in v0.51.1

func AvOptGetChlayout(obj CVoidPointer, name string, searchFlags int32, layout *AVChannelLayout) int32

AvOptGetChlayout

func AvOptGetDictVal

func AvOptGetDictVal(obj CVoidPointer, name string, searchFlags int32, outVal **AVDictionary) int32

AvOptGetDictVal

func AvOptGetDouble

func AvOptGetDouble(obj CVoidPointer, name string, searchFlags int32, outVal *float64) int32

AvOptGetDouble

func AvOptGetImageSize

func AvOptGetImageSize(obj CVoidPointer, name string, searchFlags int32, wOut, hOut *int32) int32

AvOptGetImageSize

func AvOptGetInt

func AvOptGetInt(obj CVoidPointer, name string, searchFlags int32, outVal *int64) int32

AvOptGetInt

func AvOptGetPixelFmt

func AvOptGetPixelFmt(obj CVoidPointer, name string, searchFlags int32, outFmt *AVPixelFormat) int32

AvOptGetPixelFmt

func AvOptGetQ

func AvOptGetQ(obj CVoidPointer, name string, searchFlags int32, outVal *AVRational) int32

AvOptGetQ

func AvOptGetSampleFmt

func AvOptGetSampleFmt(obj CVoidPointer, name string, searchFlags int32, outFmt *AVSampleFormat) int32

AvOptGetSampleFmt

func AvOptGetVideoRate

func AvOptGetVideoRate(obj CVoidPointer, name string, searchFlags int32, outVal *AVRational) int32

AvOptGetVideoRate

func AvOptIsSetToDefault

func AvOptIsSetToDefault(obj CVoidPointer, o *AVOption) int32

AvOptIsSetToDefault checks if given option is set to its default value.

func AvOptIsSetToDefaultByName

func AvOptIsSetToDefaultByName(obj CVoidPointer, name string, searchFlags int32) int32

AvOptIsSetToDefaultByName checks if given option is set to its default value.

func AvOptPtr

func AvOptPtr(avclass *AVClass, obj CVoidPointer, name string)

AvOptPtr gets a pointer to the requested field in a struct.

func AvOptQueryRanges

func AvOptQueryRanges(ranges **AVOptionRanges, obj CVoidPointer, key string, flags int32) int32

AvOptQueryRanges gets a list of allowed ranges for the given option.

func AvOptQueryRangesDefault

func AvOptQueryRangesDefault(ranges **AVOptionRanges, obj CVoidPointer, key string, flags int32) int32

AvOptQueryRangesDefault gets a default list of allowed ranges for the given option.

func AvOptSerialize

func AvOptSerialize(obj CVoidPointer, optFlags, flags int32, keyValSep, pairsSep string) (output string, ret int32)

AvOptSerialize serializes object's options.

func AvOptSet

func AvOptSet(obj CVoidPointer, name string, val string, searchFlags int32) int32

AvOptSet

func AvOptSetBin

func AvOptSetBin[U any, V Integer](obj CVoidPointer, name string, val *U, size V, searchFlags int32) int32

AvOptSetBin

func AvOptSetChlayout added in v0.51.1

func AvOptSetChlayout(obj CVoidPointer, name string, layout *AVChannelLayout, searchFlags int32) int32

AvOptSetChlayout

func AvOptSetDefaults

func AvOptSetDefaults(s CVoidPointer)

AvOptSetDefaults sets the values of all AVOption fields to their default values.

func AvOptSetDefaults2

func AvOptSetDefaults2(s CVoidPointer, mask, flags int32)

AvOptSetDefaults2 sets the values of all AVOption fields to their default values.

func AvOptSetDict

func AvOptSetDict(obj CVoidPointer, options **AVDictionary) int32

AvOptSetDict sets all the options from a given dictionary on an object.

func AvOptSetDict2

func AvOptSetDict2(obj CVoidPointer, options **AVDictionary, searchFlags int32) int32

AvOptSetDict2 sets all the options from a given dictionary on an object.

func AvOptSetDictVal

func AvOptSetDictVal(obj CVoidPointer, name string, val *AVDictionary, searchFlags int32) int32

AvOptSetDictVal

func AvOptSetDouble

func AvOptSetDouble(obj CVoidPointer, name string, val float64, searchFlags int32) int32

AvOptSetDouble

func AvOptSetImageSize

func AvOptSetImageSize(obj CVoidPointer, name string, w, h int32, searchFlags int32) int32

AvOptSetImageSize

func AvOptSetInt

func AvOptSetInt[T Integer](obj CVoidPointer, name string, val T, searchFlags int32) int32

AvOptSetInt

func AvOptSetIntList

func AvOptSetIntList[U, V Integer](obj CVoidPointer, name string,
	val *U, term V, flags int32) int32

AvOptSetIntList sets a binary option to an integer list.

func AvOptSetPixelFmt

func AvOptSetPixelFmt(obj CVoidPointer, name string, fmt AVPixelFormat, searchFlags int32) int32

AvOptSetPixelFmt

func AvOptSetQ

func AvOptSetQ(obj CVoidPointer, name string, val AVRational, searchFlags int32) int32

AvOptSetQ

func AvOptSetSampleFmt

func AvOptSetSampleFmt(obj CVoidPointer, name string, fmt AVSampleFormat, searchFlags int32) int32

AvOptSetSampleFmt

func AvOptSetVideoRate

func AvOptSetVideoRate(obj CVoidPointer, name string, val AVRational, searchFlags int32) int32

AvOptSetVideoRate

func AvOptShow2

func AvOptShow2(obj, avLogObj CVoidPointer, reqFlags, rejFlags int32) int32

AvOptShow2 shows the obj options.

func AvPacketAddSideData

func AvPacketAddSideData(pkt *AVPacket, _type AVPacketSideDataType, data *uint8, size uintptr) int32

AvPacketAddSideData wraps an existing array as a packet side data.

func AvPacketCopyProps

func AvPacketCopyProps(dst, src *AVPacket) int32

AvPacketCopyProps copies only "properties" fields from src to dst.

func AvPacketFree

func AvPacketFree(pkt **AVPacket)

AvPacketFree frees the packet, if the packet is reference counted, it will be unreferenced first.

func AvPacketFreeSideData

func AvPacketFreeSideData(pkt *AVPacket)

AvPacketFreeSideData is a convenience function to free all the side data stored.

func AvPacketFromData

func AvPacketFromData(pkt *AVPacket, data *uint8, size int32) int32

AvPacketFromData initializes a reference-counted packet from AvMalloc()ed data.

func AvPacketGetSideData

func AvPacketGetSideData(pkt *AVPacket, _type AVPacketSideDataType, size *uintptr) *uint8

AvPacketGetSideData gets side information from packet.

func AvPacketMakeRefcounted

func AvPacketMakeRefcounted(pkt *AVPacket)

AvPacketMakeRefcounted ensures the data described by a given packet is reference counted.

func AvPacketMakeWritable

func AvPacketMakeWritable(pkt *AVPacket)

AvPacketMakeWritable creates a writable reference for the data described by a given packet, avoiding data copy if possible.

func AvPacketMoveRef

func AvPacketMoveRef(dst, src *AVPacket)

AvPacketMoveRef moves every field in src to dst and reset src.

func AvPacketNewSideData

func AvPacketNewSideData(pkt *AVPacket, _type AVPacketSideDataType, size uintptr) *uint8

AvPacketNewSideData allocates new information of a packet.

func AvPacketPackDictionary

func AvPacketPackDictionary(dict *AVDictionary, size *uintptr) *uint8

AvPacketPackDictionary packs a dictionary for use in side_data.

func AvPacketRef

func AvPacketRef(dst, src *AVPacket) int32

AvPacketRef setups a new reference to the data described by a given packet.

func AvPacketRescaleTs

func AvPacketRescaleTs(pkt *AVPacket, tbSrc, tbDst AVRational)

AvPacketRescaleTs converts valid timing fields (timestamps / durations) in a packet from one timebase to another. Timestamps with unknown values (AV_NOPTS_VALUE) will be ignored.

func AvPacketShrinkSideData

func AvPacketShrinkSideData(pkt *AVPacket, _type AVPacketSideDataType, size uintptr) int32

AvPacketShrinkSideData shrinks the already allocated side data buffer.

func AvPacketSideDataFree added in v0.61.0

func AvPacketSideDataFree(sd **AVPacketSideData, nbSd *int32)

AvPacketSideDataFree convenience function to free all the side data stored in an array, and the array itself.

func AvPacketSideDataName added in v0.61.0

func AvPacketSideDataName(_type AVPacketSideDataType) string

AvPacketSideDataName

func AvPacketSideDataRemove added in v0.61.0

func AvPacketSideDataRemove(sd *AVPacketSideData, nbSd *int32, _type AVPacketSideDataType)

AvPacketSideDataRemove removes side data of the given type from a side data array.

func AvPacketUnpackDictionary

func AvPacketUnpackDictionary(data *uint8, size uintptr, dict **AVDictionary) int32

AvPacketUnpackDictionary unpacks a dictionary from side_data.

func AvPacketUnref

func AvPacketUnref(pkt *AVPacket)

AvPacketUnref unreferences the buffer referenced by the packet and reset the remaining packet fields to their default values.

func AvParityC

func AvParityC(x uint32) int32

AvParityC

func AvParseColor

func AvParseColor(rgbaColor *uint8, colorString string, slen int32, logCtx CVoidPointer) int32

AvParseColor puts the RGBA values that correspond to color_string in rgba_color.

func AvParseCpuCaps

func AvParseCpuCaps(flags *uint32, str string) int32

AvParseCpuCaps parses CPU caps from a string and update the given AV_CPU_* flags based on that.

func AvParseRatio

func AvParseRatio(q *AVRational, str string, max, logOffset int32, logCtx CVoidPointer) int32

AvParseRatio parses str and store the parsed ratio in q.

func AvParseRatioQuiet

func AvParseRatioQuiet(q *AVRational, str string, max int32) int32

AvParseRatioQuiet

func AvParseTime

func AvParseTime(timeval *int64, timestr string, duration int32) int32

AvParseTime parse timestr and return in *time a corresponding number of microseconds.

func AvParseVideoRate

func AvParseVideoRate(rate *AVRational, str string) int32

AvParseVideoRate parses str and store the detected values in *rate.

func AvParseVideoSize

func AvParseVideoSize(widthPtr, heightPtr *int32, str string) int32

AvParseVideoSize parses str and put in width_ptr and height_ptr the detected values.

func AvParserClose

func AvParserClose(s *AVCodecParserContext)

AvParserClose

func AvParserParse2

func AvParserParse2(s *AVCodecParserContext, avctx *AVCodecContext,
	outbuf **uint8, poutbufSize *int32,
	buf *uint8, bufSize int32,
	pts, dts, pos int64) int32

Parse a packet.

func AvPixFmtCountPlanes

func AvPixFmtCountPlanes(pixFmt AVPixelFormat) int32

AvPixFmtCountPlanes returns number of planes in pix_fmt, a negative AvERROR if pix_fmt is not a valid pixel format.

func AvPixFmtGetChromaSubSample

func AvPixFmtGetChromaSubSample(pixFmt AVPixelFormat, hShift, vShift *int32) int32

AvPixFmtGetChromaSubSample accesses log2_chroma_w log2_chroma_h from the pixel format AVPixFmtDescriptor.

func AvPktDump2

func AvPktDump2(f *FILE, pkt *AVPacket, dumpPayload int32, st *AVStream)

AvPktDump2 sends a nice dump of a packet to the specified file stream.

func AvPktDumpLog2

func AvPktDumpLog2(avcl CVoidPointer, level int32, pkt *AVPacket, dumpPayload int32, st *AVStream)

AvPktDumpLog2 sends a nice dump of a packet to the log.

func AvPopcount64C

func AvPopcount64C(x uint64) int32

AvPopcount64C counts number of bits set to one in x.

func AvPopcountC

func AvPopcountC(x uint32) int32

AvPopcountC counts number of bits set to one in x.

func AvProbeInputBuffer

func AvProbeInputBuffer(pb *AVIOContext, fmt **AVInputFormat,
	url string, logctx CVoidPointer, offset, maxProbeSize uint32) int32

AvProbeInputBuffer likes AvProbeInputBuffer2() but returns 0 on success.

func AvProbeInputBuffer2

func AvProbeInputBuffer2(pb *AVIOContext, fmt **AVInputFormat,
	url string, logctx CVoidPointer, offset, maxProbeSize uint32) int32

AvProbeInputBuffer2 probes a bytestream to determine the input format. Each time a probe returns with a score that is too low, the probe buffer size is increased and another attempt is made. When the maximum probe size is reached, the input format with the highest score is returned.

func AvProgramAddStreamIndex

func AvProgramAddStreamIndex(ic *AVFormatContext, progid int32, idx uint32)

AvProgramAddStreamIndex

func AvQ2d

func AvQ2d(a AVRational) float64

AvQ2d converts an AVRational to a `float64`.

func AvQ2intfloat

func AvQ2intfloat(q AVRational) uint32

AvQ2intfloat Convert an AVRational to a IEEE 32-bit `float` expressed in fixed-point format.

func AvRandomBytes added in v0.61.0

func AvRandomBytes[T Integer](buf *uint8, len T) int32

AvRandomBytes gets a seed to use in conjunction with random functions.

func AvRc4Crypt

func AvRc4Crypt(d *AVRC4, dst, src *uint8, count int32, iv *uint8, decrypt int32)

AvRc4Crypt encrypts / decrypts using the RC4 algorithm.

func AvRc4Init

func AvRc4Init(d *AVRC4, key *uint8, keyBits int32, decrypt int32) int32

AvRc4Init initializes an AVRC4 context.

func AvRdftCalc deprecated

func AvRdftCalc(r *RDFTContext, data *FFTSample)

Deprecated: No use.

AvRdftCalc

func AvRdftEnd deprecated

func AvRdftEnd(r *RDFTContext)

Deprecated: No use.

AvRdftEnd

func AvReadFrame

func AvReadFrame(ic *AVFormatContext, pkt *AVPacket) int32

AvReadFrame returns the next frame of a stream.

func AvReadImageLine

func AvReadImageLine(dst *uint16, data []*uint8, linesize []int,
	desc *AVPixFmtDescriptor, x, y, c, w, readPalComponent int32)

AvReadImageLine reads a line from an image, and write the values of the pixel format component c to dst.

func AvReadImageLine2 added in v0.41.1

func AvReadImageLine2(dst CVoidPointer, data []*uint8, linesize []int,
	desc *AVPixFmtDescriptor, x, y, c, w, readPalComponent, dstElementSize int32)

AvReadImageLine2 reads a line from an image, and write the values of the pixel format component c to dst.

func AvReadPause

func AvReadPause(ic *AVFormatContext) int32

AvReadPause pauses a network-based stream (e.g. RTSP stream).

func AvReadPlay

func AvReadPlay(ic *AVFormatContext) int32

AvReadPlay starts playing a network-based stream (e.g. RTSP stream) at the current position.

func AvRealloc

func AvRealloc[T Integer](ptr CVoidPointer, size T) unsafe.Pointer

AvRealloc allocates, reallocates, or frees a block of memory.

func AvReallocF

func AvReallocF[U, V Integer](ptr CVoidPointer, nelem U, elsize V) unsafe.Pointer

AvReallocF allocates, reallocates, or frees a block of memory.

func AvReallocp

func AvReallocp[T Integer](ptr CVoidPointer, size T) int32

AvReallocp allocates, reallocates, or frees a block of memory through a pointer to a pointer.

func AvReallocpArray

func AvReallocpArray[U, V Integer](ptr CVoidPointer, nmemb U, size V) int32

AvReallocpArray allocates, reallocates, or frees an array through a pointer to a pointer.

func AvReduce

func AvReduce(dstNum, dstDen *int32, num, den, max int64) int32

AvReduce reduces a fraction.

func AvRescale

func AvRescale[T Integer](a, b, c T) T

AvRescale rescale a 64-bit integer with rounding to nearest.

func AvRescaleDelta

func AvRescaleDelta(inTb AVRational, inTs int64, fsTb AVRational,
	duration int32, last *int64, outTb AVRational) int64

AvRescaleDelta rescales a timestamp while preserving known durations.

func AvRescaleQ

func AvRescaleQ[T Integer](a T, bq, cq AVRational) T

AvRescaleQ rescales a 64-bit integer by 2 rational numbers.

func AvRescaleQRnd

func AvRescaleQRnd[T Integer](a T, bq, cq AVRational, rnd AVRounding) T

AvRescaleQRnd rescales a 64-bit integer by 2 rational numbers with specified rounding.

func AvRescaleRnd

func AvRescaleRnd[T Integer](a, b, c T, rnd AVRounding) T

AvRescaleRnd rescales a 64-bit integer with specified rounding.

func AvRipemdFinal

func AvRipemdFinal(context *AVRIPEMD, digest *uint8)

AvRipemdFinal finishes hashing and output digest value.

func AvRipemdInit

func AvRipemdInit(context *AVRIPEMD, bits int32) int32

AvRipemdInit initializes RIPEMD hashing.

func AvRipemdUpdate

func AvRipemdUpdate(context *AVRIPEMD, data *uint8, len uintptr)

AvRipemdUpdate updates hash value.

func AvSampleFmtIsPlanar

func AvSampleFmtIsPlanar(sampleFmt AVSampleFormat) int32

AvSampleFmtIsPlanar checks if the sample format is planar.

func AvSamplesAlloc

func AvSamplesAlloc(audioData **uint8, linesize *int32,
	nbChannels, nbSamples int32,
	sampleFmt AVSampleFormat, align int32) int32

AvSamplesAlloc allocates a samples buffer for nb_samples samples, and fill data pointers and linesize accordingly.

func AvSamplesAllocArrayAndSamples

func AvSamplesAllocArrayAndSamples(audioData ***uint8, linesize *int32, nbChannels, nbSamples int32,
	sampleFmt AVSampleFormat, align int32) int32

AvSamplesAllocArrayAndSamples allocates a data pointers array, samples buffer for nb_samples samples, and fill data pointers and linesize accordingly.

func AvSamplesCopy

func AvSamplesCopy(dst, src **uint8, dstOffset, srcOffset int32,
	nbSamples, nbChannels int32, sampleFmt AVSampleFormat) int32

AvSamplesCopy copies samples from src to dst.

func AvSamplesFillArrays

func AvSamplesFillArrays(audioData **uint8, linesize *int32,
	buf *uint8, nbChannels, nbSamples int32,
	sampleFmt AVSampleFormat, align int32) int32

AvSamplesFillArrays fills plane data pointers and linesize for samples with sample format sample_fmt.

func AvSamplesGetBufferSize

func AvSamplesGetBufferSize(linesize *int32, nbChannels, nbSamples int32,
	sampleFmt AVSampleFormat, align int32) int32

AvSamplesGetBufferSize gets the required buffer size for the given audio parameters.

func AvSamplesSetSilence

func AvSamplesSetSilence(audioData **uint8, offset int32,
	nbSamples, nbChannels int32, sampleFmt AVSampleFormat) int32

AvSamplesSetSilence fills an audio buffer with silence.

func AvSatAdd32C

func AvSatAdd32C(a, b int32) int32

AvSatAdd32C adds two signed 32-bit values with saturation.

func AvSatAdd64C added in v0.43.1

func AvSatAdd64C(a, b int64) int64

AvSatAdd64C adds two signed 64-bit values with saturation.

func AvSatDadd32C

func AvSatDadd32C(a, b int32) int32

AvSatDadd32C adds a doubled value to another value with saturation at both stages.

func AvSatDsub32C

func AvSatDsub32C(a, b int32) int32

AvSatDsub32C subtracts a doubled value from another value with saturation at both stages.

func AvSatSub32C

func AvSatSub32C(a, b int32) int32

AvSatSub32C subtracts two signed 32-bit values with saturation.

func AvSatSub64C added in v0.43.1

func AvSatSub64C(a, b int64) int64

AvSatSub64C subtracts two signed 64-bit values with saturation.

func AvSdpCreate

func AvSdpCreate(ac []*AVFormatContext, nFiles, sdpSize int32) (sdp string, ret int32)

AvSdpCreate generates an SDP for an RTP session.

func AvSeekFrame

func AvSeekFrame(ic *AVFormatContext, streamIndex int32, timestamp int64, flags int32) int32

AvSeekFrame seeks to the keyframe at timestamp.

func AvSetOptionsString

func AvSetOptionsString(ctx CVoidPointer, opts, keyValSep, pairsSep string) int32

AvSetOptionsString parses the key/value pairs list in opts. For each key/value pair found, stores the value in the field in ctx that is named like the key. ctx must be an AVClass context, storing is done using AVOptions.

func AvSha512Final

func AvSha512Final(ctx *AVSHA512, digest *uint8)

AvSha512Final finishes hashing and output digest value.

func AvSha512Init

func AvSha512Init(context *AVSHA512, bits int32) int32

AvSha512Init initializes SHA-2 512 hashing.

func AvSha512Update

func AvSha512Update(ctx *AVSHA512, data *uint8, len uintptr)

AvSha512Update updates hash value.

func AvShaFinal

func AvShaFinal(ctx *AVSHA, digest *uint8)

AvShaFinal finishes hashing and output digest value.

func AvShaInit

func AvShaInit(context *AVSHA, bits int32) int32

AvShaInit initializes SHA-1 or SHA-2 hashing.

func AvShaUpdate

func AvShaUpdate(ctx *AVSHA, data *uint8, len uintptr)

AvShaUpdate updates hash value.

func AvShrinkPacket

func AvShrinkPacket(pkt *AVPacket, size int32)

AvShrinkPacket reduces packet size, correctly zeroing padding.

func AvSizeMult

func AvSizeMult[T Integer](a, b T, r *uintptr) int32

AvSizeMult multiplies two `size_t` values checking for overflow.

func AvSphericalFromName

func AvSphericalFromName(name string) int32

AvSphericalFromName gets the AVSphericalProjection form a human-readable name.

func AvSphericalProjectionName

func AvSphericalProjectionName(projection AVSphericalProjection) string

AvSphericalProjectionName provides a human-readable name of a given AVSphericalProjection.

func AvSphericalTileBounds

func AvSphericalTileBounds(_map *AVSphericalMapping,
	width, height uintptr,
	left, top, right, bottom *uintptr)

AvSphericalTileBounds converts the bounding fields from an AVSphericalVideo from 0.32 fixed point to pixels.

func AvStereo3dFromName

func AvStereo3dFromName(name string) int32

AvStereo3dFromName gets the AVStereo3DType form a human-readable name.

func AvStereo3dTypeName

func AvStereo3dTypeName(_type uint32) string

AvStereo3dTypeName provides a human-readable name of a given stereo3d type.

func AvStrdup

func AvStrdup(s *int8) *int8

AvStrdup

func AvStreamAddSideData deprecated

func AvStreamAddSideData(st *AVStream, _type AVPacketSideDataType, data *uint8, size uintptr) int32

Deprecated: No use.

AvStreamAddSideData wraps an existing array as stream side data.

func AvStreamGetSideData deprecated

func AvStreamGetSideData(st *AVStream, _type AVPacketSideDataType, size *uintptr) *uint8

Deprecated: No use.

AvStreamGetSideData gets side information from stream.

func AvStreamNewSideData deprecated

func AvStreamNewSideData(st *AVStream, _type AVPacketSideDataType, size uintptr) *uint8

Deprecated: No use.

AvStreamNewSideData allocates new information from stream.

func AvStrerror

func AvStrerror(errnum int32, errbuf *int8, errbufSize uintptr) int32

AvStrerror puts a description of the AVERROR code errnum in errbuf. In case of failure the global variable errno is set to indicate the error. Even in case of failure AvStrerror() will print a generic error message indicating the errnum provided to errbuf.

func AvStringIfNull

func AvStringIfNull(p, x string) string

AvStringIfNull

func AvStrndup

func AvStrndup[T Integer](s *int8, len T) *int8

AvStrndup

func AvSubtitleFree

func AvSubtitleFree(s *AVSubtitle)

AvSubtitleFree frees all allocated data in the given subtitle struct.

func AvTeaCrypt

func AvTeaCrypt(ctx *AVTEA, dst, src *uint8, count int32, iv *uint8, decrypt int32)

AvTeaCrypt encrypts or decrypts a buffer using a previously initialized context.

func AvTeaInit

func AvTeaInit(ctx *AVTEA, key []uint8, rounds int32)

AvTeaInit initializes an AVTEA context.

func AvThreadMessageFlush

func AvThreadMessageFlush(mq *AVThreadMessageQueue)

AvThreadMessageFlush flushes the message queue.

func AvThreadMessageQueueAlloc

func AvThreadMessageQueueAlloc[T Integer](mq **AVThreadMessageQueue, nelem, elsize T) int32

AvThreadMessageQueueAlloc allocates a new message queue.

func AvThreadMessageQueueFree

func AvThreadMessageQueueFree(mq **AVThreadMessageQueue)

AvThreadMessageQueueFree frees a message queue.

func AvThreadMessageQueueNbElems added in v0.41.1

func AvThreadMessageQueueNbElems(mq *AVThreadMessageQueue) int32

AvThreadMessageQueueNbElems returns the current number of messages in the queue.

func AvThreadMessageQueueRecv

func AvThreadMessageQueueRecv(mq *AVThreadMessageQueue, msg CVoidPointer, flags uint32) int32

AvThreadMessageQueueRecv receives a message from the queue.

func AvThreadMessageQueueSend

func AvThreadMessageQueueSend(mq *AVThreadMessageQueue, msg CVoidPointer, flags uint32) int32

AvThreadMessageQueueSend sends a message on the queue.

func AvThreadMessageQueueSetErrRecv

func AvThreadMessageQueueSetErrRecv(mq *AVThreadMessageQueue, err int32)

AvThreadMessageQueueSetErrRecv set the receiving error code.

func AvThreadMessageQueueSetErrSend

func AvThreadMessageQueueSetErrSend(mq *AVThreadMessageQueue, err int32)

AvThreadMessageQueueSetErrSend sets the sending error code.

func AvThreadMessageQueueSetFreeFunc

func AvThreadMessageQueueSetFreeFunc(mq *AVThreadMessageQueue, freeFunc AvThreadMessageFreeFunc)

AvThreadMessageQueueSetFreeFunc sets the optional free message callback function which will be called if an operation is removing messages from the queue.

func AvTimecodeAdjustNtscFramenum2

func AvTimecodeAdjustNtscFramenum2(framenum, fps int32) int32

AvTimecodeAdjustNtscFramenum2 adjusts frame number for NTSC drop frame time code.

func AvTimecodeCheckFrameRate

func AvTimecodeCheckFrameRate(rate AVRational) int32

AvTimecodeCheckFrameRate checks if the timecode feature is available for the given frame rate.

func AvTimecodeGetSmpte added in v0.44.1

func AvTimecodeGetSmpte(rate AVRational, drop, hh, mm, ss, ff int32) int32

AvTimecodeGetSmpte converts sei info to SMPTE 12M binary representation.

func AvTimecodeGetSmpteFromFramenum

func AvTimecodeGetSmpteFromFramenum(tc *AVTimecode, framenum int32) uint32

AvTimecodeGetSmpteFromFramenum converts frame number to SMPTE 12M binary representation.

func AvTimecodeInit

func AvTimecodeInit(tc *AVTimecode, rate AVRational, flags, frameStart int32, logCtx CVoidPointer) int32

AvTimecodeInit initializes a timecode struct with the passed parameters.

func AvTimecodeInitFromComponents added in v0.44.1

func AvTimecodeInitFromComponents(tc *AVTimecode, rate AVRational,
	flags, hh, mm, ss, ff int32, logCtx CVoidPointer) int32

AvTimecodeInitFromComponents initializes a timecode struct from the passed timecode components.

func AvTimecodeInitFromString

func AvTimecodeInitFromString(tc *AVTimecode, rate AVRational, str string, logCtx CVoidPointer) int32

AvTimecodeInitFromString parses timecode representation (hh:mm:ss[:;.]ff).

func AvTimecodeMakeMpegTcString

func AvTimecodeMakeMpegTcString(tc25bit uint32) (buf, bufPar string)

AvTimecodeMakeMpegTcString gets the timecode string from the 25-bit timecode format (MPEG GOP format).

func AvTimecodeMakeSmpteTcString

func AvTimecodeMakeSmpteTcString(tcsmpte uint32, preventDf int32) (buf, bufPar string)

AvTimecodeMakeSmpteTcString gets the timecode string from the SMPTE timecode format.

func AvTimecodeMakeSmpteTcString2 added in v0.44.1

func AvTimecodeMakeSmpteTcString2(rate AVRational, tcsmpte uint32, preventDf, skipField int32) (buf, bufPar string)

AvTimecodeMakeSmpteTcString2 gets the timecode string from the SMPTE timecode format.

func AvTimecodeMakeString

func AvTimecodeMakeString(tc *AVTimecode, framenum int32) (buf, bufPar string)

AvTimecodeMakeString loads timecode string in buf.

func AvTreeDestroy

func AvTreeDestroy(t *AVTreeNode)

AvTreeDestroy

func AvTreeEnumerate

func AvTreeEnumerate(t *AVTreeNode, opaque CVoidPointer,
	cmp AvTreeCmpFunc, enu AvTreeEnuFunc)

AvTreeEnumerate applies enu(opaque, &elem) to all the elements in the tree in a given range.

func AvTreeFind

func AvTreeFind(root *AVTreeNode, key CVoidPointer,
	cmp AvTreeCmpFunc, next []unsafe.Pointer) unsafe.Pointer

AvTreeFind finds an element.

func AvTreeInsert

func AvTreeInsert(rootp **AVTreeNode, key CVoidPointer,
	cmp AvTreeCmpFunc, next **AVTreeNode) unsafe.Pointer

AvTreeInsert inserts or removes an element.

func AvTs2str

func AvTs2str[T Integer](ts T) string

AvTs2str

func AvTs2timestr

func AvTs2timestr[T Integer](ts T, tb *AVRational) string

AvTs2timestr

func AvTsMakeString

func AvTsMakeString(ts int64) string

AvTsMakeString makes a timestamp string.

func AvTsMakeTimeString

func AvTsMakeTimeString(ts int64, tb *AVRational) string

AvTsMakeTimeString makes a timestamp string.

func AvTsMakeTimeString2 added in v0.70.1

func AvTsMakeTimeString2(ts int64, tb AVRational) string

AvTsMakeTimeString2 makes a timestamp string.

func AvTwofishCrypt

func AvTwofishCrypt(d *AVTWOFISH, dst, src *uint8, count int32, iv *uint8, decrypt int32)

AvTwofishCrypt encrypts or decrypts a buffer using a previously initialized context.

func AvTwofishInit

func AvTwofishInit(d *AVTWOFISH, key *uint8, keyBits int32) int32

AvTwofishInit initializes an AVTWOFISH context.

func AvTxInit added in v0.42.1

func AvTxInit(ctx **AVTXContext, tx *AvTxFn, _type AVTXType,
	inv, len int32, scale CVoidPointer, flags uint64) int32

AvTxInit initializes a transform context with the given configuration (i)MDCTs with an odd length are currently not supported.

func AvTxUninit added in v0.42.1

func AvTxUninit(ctx **AVTXContext)

AvTxUninit frees a context and sets ctx to NULL, does nothing when ctx == NULL.

func AvUrlSplit

func AvUrlSplit(url string) (proto, authorization, hostname string, port int32, path string)

AvUrlSplit splits a URL string into components.

func AvUsleep

func AvUsleep(usec uint32) int32

AvUsleep sleeps for a period of time.

func AvUuidCopy added in v0.51.1

func AvUuidCopy(dest, src AVUUID)

AvUuidCopy copies the bytes of src into dest.

func AvUuidEqual added in v0.51.1

func AvUuidEqual(uu1, uu2 AVUUID) int32

AvUuidEqual compares two UUIDs for equality.

func AvUuidNil added in v0.51.1

func AvUuidNil(uu AVUUID)

AvUuidNil sets a UUID to the nil UUID.

func AvUuidParse added in v0.51.1

func AvUuidParse(in string, uu AVUUID) int32

AvUuidParse parses a string representation of a UUID formatted according to IETF RFC 4122 into an AVUUID.

func AvUuidUnparse added in v0.51.1

func AvUuidUnparse(uu AVUUID) string

AvUuidUnparse serializes a AVUUID into a string representation according to IETF RFC 4122.

func AvUuidUrnParse added in v0.51.1

func AvUuidUrnParse(in string, uu AVUUID) int32

AvUuidUrnParse parses a URN representation of a UUID, as specified at IETF RFC 4122, into an AVUUID.

func AvVersionInfo

func AvVersionInfo() string

AvVersionInfo returns an informative version string.

func AvVorbisParseFrame

func AvVorbisParseFrame(s *AVVorbisParseContext, buf *uint8, bufSize int32) int32

AvVorbisParseFrame gets the duration for a Vorbis packet.

func AvVorbisParseFrameFlags

func AvVorbisParseFrameFlags(s *AVVorbisParseContext, buf *uint8, bufSize int32, flags *int32) int32

AvVorbisParseFrameFlags gets the duration for a Vorbis packet.

func AvVorbisParseFree

func AvVorbisParseFree(s **AVVorbisParseContext)

AvVorbisParseFree frees the parser and everything associated with it.

func AvVorbisParseReset

func AvVorbisParseReset(s *AVVorbisParseContext)

AVVorbisParseReset

func AvWriteFrame

func AvWriteFrame(ic *AVFormatContext, pkt *AVPacket) int32

AvWriteFrame writes a packet to an output media file.

func AvWriteImageLine

func AvWriteImageLine(src *uint16, data []*uint8, linesize []int,
	desc *AVPixFmtDescriptor, x, y, c, w int32)

AvWriteImageLine writes the values from src to the pixel format component c of an image line.

func AvWriteImageLine2 added in v0.41.1

func AvWriteImageLine2(src CVoidPointer, data []*uint8, linesize []int,
	desc *AVPixFmtDescriptor, x, y, c, w, srcElementSize int32)

AvWriteImageLine2 writes the values from src to the pixel format component c of an image line.

func AvWriteTrailer

func AvWriteTrailer(ic *AVFormatContext) int32

AvWriteTrailer writes the stream trailer to an output media file and free the file private data.

func AvWriteUncodedFrame

func AvWriteUncodedFrame(ic *AVFormatContext, streamIndex int32, frame *AVFrame) int32

AvWriteUncodedFrame writes an uncoded frame to an output media file.

func AvWriteUncodedFrameQuery

func AvWriteUncodedFrameQuery(ic *AVFormatContext, streamIndex int32) int32

AvWriteUncodedFrameQuery tests whether a muxer supports uncoded frame.

func AvXIfNull

func AvXIfNull[T any](p, x *T) *T

AvXIfNull returns x default pointer in case p is NULL.

func AvXiphlacing

func AvXiphlacing(s *uint8, v int32) int32

AvXiphlacing encodes extradata length to a buffer. Used by xiph codecs.

func AvXteaCrypt

func AvXteaCrypt(ctx *AVXTEA, dst, src *uint8, count int32, iv *uint8, decrypt int32)

AvXteaCrypt encrypts or decrypts a buffer using a previously initialized context, in big endian format.

func AvXteaInit

func AvXteaInit(ctx *AVXTEA, key []uint8)

AvXteaInit initializes an AVXTEA context.

func AvXteaLeCrypt

func AvXteaLeCrypt(ctx *AVXTEA, dst, src *uint8, count int32, iv *uint8, decrypt int32)

AvXteaLeCrypt encrypts or decrypts a buffer using a previously initialized context, in little endian format.

func AvXteaLeInit

func AvXteaLeInit(ctx *AVXTEA, key []uint8)

AvXteaLeInit initializes an AVXTEA context.

func Av_IS_INPUT_DEVICE

func Av_IS_INPUT_DEVICE(c AVClassCategory) bool

func Av_IS_OUTPUT_DEVICE

func Av_IS_OUTPUT_DEVICE(c AVClassCategory) bool

func Av_LOG_C

func Av_LOG_C(x int32) int32

Av_LOG_C sets additional colors for extended debugging sessions.

func AvfilterFilterPadCount added in v0.50.2

func AvfilterFilterPadCount(filter *AVFilter, isOutput int32) uint32

AvfilterFilterPadCount

func AvfilterGraphSegmentApply added in v0.60.1

func AvfilterGraphSegmentApply(seg *AVFilterGraphSegment, flags int32,
	intputs, outputs **AVFilterInOut) int32

AvfilterGraphSegmentApply applies all filter/link descriptions from a graph segment to the associated filtergraph.

func AvfilterGraphSegmentApplyOpts added in v0.60.1

func AvfilterGraphSegmentApplyOpts(seg *AVFilterGraphSegment, flags int32) int32

AvfilterGraphSegmentApplyOpts applies parsed options to filter instances in a graph segment.

func AvfilterGraphSegmentCreateFilters added in v0.60.1

func AvfilterGraphSegmentCreateFilters(seg *AVFilterGraphSegment, flags int32) int32

AvfilterGraphSegmentCreateFilters creates filters specified in a graph segment.

func AvfilterGraphSegmentFree added in v0.60.1

func AvfilterGraphSegmentFree(seg **AVFilterGraphSegment)

AvfilterGraphSegmentFree frees the provided AVFilterGraphSegment and everything associated with it.

func AvfilterGraphSegmentInit added in v0.60.1

func AvfilterGraphSegmentInit(seg *AVFilterGraphSegment, flags int32) int32

AvfilterGraphSegmentInit initializes all filter instances in a graph segment.

func AvfilterGraphSegmentLink(seg *AVFilterGraphSegment, flags int32,
	intputs, outputs **AVFilterInOut) int32

AvfilterGraphSegmentLink links filters in a graph segment.

func AvfilterGraphSegmentParse added in v0.60.1

func AvfilterGraphSegmentParse(graph *AVFilterGraph, graphStr string,
	flags int32, seg **AVFilterGraphSegment) int32

AvfilterGraphSegmentParse parses a textual filtergraph description into an intermediate form.

func AvformatStreamGroupAddStream added in v0.70.1

func AvformatStreamGroupAddStream(stg *AVStreamGroup, st *AVStream) int32

AvformatStreamGroupAddStream

func AvformatStreamGroupName added in v0.70.1

func AvformatStreamGroupName(_type AVStreamGroupParamsType) string

AvformatStreamGroupName

func AvutilConfiguration

func AvutilConfiguration() string

AvutilConfiguration returns the libavutil build-time configuration.

func AvutilLicense

func AvutilLicense() string

AvutilLicense returns the libavutil license.

func AvutilVersion

func AvutilVersion() uint32

AvutilVersion returns the LIBAVUTIL_VERSION_INT constant.

func CondExpr

func CondExpr[T any](cond bool, x, y T) T

CondExpr is Conditional Operator like Ternary Operator in the C world.

func FFABS

func FFABS[T SingedInteger](a T) T

FFABS

func FFABS64U

func FFABS64U[T SingedInteger](a T) uint64

FFABS64U

func FFABSU

func FFABSU[T SingedInteger](a T) uint32

FFABSU

func FFALIGN

func FFALIGN[T Integer](x, a T) T

FFALIGN

func FFDIFFSIGN

func FFDIFFSIGN[T Integer](x, y T) int

FFDIFFSIGN

func FFMAX

func FFMAX[T Integer](a, b T) T

FFMAX

func FFMAX3

func FFMAX3[T Integer](a, b, c T) T

FFMAX3

func FFMIN

func FFMIN[T Integer](a, b T) T

FFMIN

func FFMIN3

func FFMIN3[T Integer](a, b, c T) T

FFMIN3

func FFNABS

func FFNABS[T SingedInteger](a T) T

FFNABS

func FFSIGNT

func FFSIGNT[T SingedInteger](a T) T

FFSIGNT

func FFSWAP

func FFSWAP[T any](a, b *T)

FFSWAP

func FFUDIV

func FFUDIV[T Integer](a, b T) T

FFUDIV

func FFUMOD

func FFUMOD[T Integer](a, b T) T

FFUMOD

func FF_CEIL_RSHIFT

func FF_CEIL_RSHIFT[U, V Integer](a U, b V) U

FF_CEIL_RSHIFT

func FfFftCalc deprecated

func FfFftCalc(s *FFTContext, z *FFTComplex)

Deprecated: No use.

FfFftCalc does a complex FFT with the parameters defined in AvFftInit().

func FreePointer

func FreePointer(ptr CVoidPointer)

FreePointer frees memory allocated in the C world.

func MKBETAG

func MKBETAG(a, b, c, d uint32) uint32

MKBETAG

func MKTAG

func MKTAG(a, b, c, d uint32) uint32

MKTAG

func PlusPlus

func PlusPlus[T Integer](x *T) T

PlusPlus is ++ like operator.

func PointerOffset

func PointerOffset[U any, V Integer](ptr *U, offset V) *U

PointerOffset offset the pointer point.

func PostprocConfiguration

func PostprocConfiguration() string

PostprocConfiguration returns the libpostproc build-time configuration.

func PostprocLicense

func PostprocLicense() string

PostprocLicense returns the libpostproc license.

func PostprocVersion

func PostprocVersion() uint32

PostprocVersion returns the LIBPOSTPROC_VERSION_INT constant.

func PpFreeContext

func PpFreeContext(mode *PpContext)

PpFreeContext

func PpFreeMode

func PpFreeMode(mode *PpMode)

PpFreeMode

func PpPostprocess

func PpPostprocess(src []*uint8, srcStride []int32,
	dst []*uint8, dstStride []int32,
	horizontalSize, verticalSize int32,
	QPStore *int8, QPStride int32,
	ppMode *PpMode, ppContext *PpContext, pictType int32)

PpPostprocess

func ROUNDED_DIV

func ROUNDED_DIV[T Integer](a, b T) T

ROUNDED_DIV

func RSHIFT

func RSHIFT[U, V Integer](a U, b V) U

RSHIFT

func SliceSlice

func SliceSlice[T any, X, Y Integer](data **T, x X, y Y) (v [][]T)

SliceSlice returns a slice of slice from a pointer to pointer.

func SliceTrunc

func SliceTrunc[T any](ptr *T, truncFunc func(T) bool) []T

SliceTrunc return a slice from a sign-terminated array.

func SliceTruncString

func SliceTruncString(ptr **C.char) (v []string)

SliceTruncString returns a string slice from a NULL-terminated *C.char array.

func StringCasting

func StringCasting(s string) (allocPtr *C.char, freeFunc func())

StringCasting casts go string to c world char* with free function. Note: if input is a NIL string will return a nil pointer.

func StringSliceCasting

func StringSliceCasting(ss []string) (allocPtrs []*C.char, freeFunc func())

StringSliceCasting casts go string slice to c world char* slice with free function.

func SwResampleConfiguration

func SwResampleConfiguration() string

SwResampleConfiguration returns the swr build-time configuration.

func SwResampleLicense

func SwResampleLicense() string

SwResampleLicense returns the swr license.

func SwResampleVersion

func SwResampleVersion() uint32

SwResampleVersion returns the LIBSWRESAMPLE_VERSION_INT constant.

func SwScaleConfiguration

func SwScaleConfiguration() string

SwScaleConfiguration returns the libswscale build-time configuration.

func SwScaleLicense

func SwScaleLicense() string

SwScaleLicense returns the libswscale license.

func SwScaleVersion

func SwScaleVersion() uint32

SwScaleVersion returns the LIBSWSCALE_VERSION_INT constant.

func SwrAllocSetOpts2 added in v0.51.1

func SwrAllocSetOpts2(s **SwrContext,
	outChLayout *AVChannelLayout, outSampleFmt AVSampleFormat, outSampleRate int32,
	inChLayout *AVChannelLayout, inSampleFmt AVSampleFormat, inSampleRate int32,
	logOffset int32, logCtx CVoidPointer) int32

SwrAllocSetOpts2 allocates SwrContext if needed and set/reset common parameters.

func SwrBuildMatrix2 added in v0.51.1

func SwrBuildMatrix2(inLayout, outLayout *AVChannelLayout,
	centerMixLevel, surroundMixLevel, lfeMixLevel float64,
	rematrixMaxval, rematrixVolume float64,
	matrix *float64, stride int, matrixEncoding AVMatrixEncoding, logCtx CVoidPointer) int32

SwrBuildMatrix2 generates a channel mixing matrix.

func SwrClose

func SwrClose(s *SwrContext)

SwrClose closes the context so that SwrIsInitialized() returns 0.

func SwrConfigFrame

func SwrConfigFrame(s *SwrContext, out, in *AVFrame) int32

SwrConfigFrame configures or reconfigure the SwrContext using the information provided by the AVFrames.

func SwrConvert

func SwrConvert(s *SwrContext, out **uint8, outCount int32, in **uint8, inCount int32) int32

SwrConvert converts audio.

func SwrConvertFrame

func SwrConvertFrame(s *SwrContext, output, input *AVFrame) int32

SwrConvertFrame converts the samples in the input AVFrame and write them to the output AVFrame.

func SwrDropOutput

func SwrDropOutput(s *SwrContext, count int32) int32

SwrDropOutput drops the specified number of output samples.

func SwrFree

func SwrFree(s **SwrContext)

SwrFree frees the given SwrContext and set the pointer to NULL.

func SwrGetDelay

func SwrGetDelay[T Integer](s *SwrContext, base T) T

SwrGetDelay gets the delay the next input sample will experience relative to the next output sample.

func SwrGetOutSamples

func SwrGetOutSamples(s *SwrContext, inSamples int32) int32

SwrGetOutSamples Find an upper bound on the number of samples that the next swr_convert call will output, if called with in_samples of input samples.

func SwrInit

func SwrInit(s *SwrContext) int32

SwrInit initializes context after user parameters have been set.

func SwrInjectSilence

func SwrInjectSilence(s *SwrContext, count int32) int32

SwrInjectSilence injects the specified number of silence samples.

func SwrIsInitialized

func SwrIsInitialized(s *SwrContext) int32

SwrIsInitialized checks whether an swr context has been initialized or not.

func SwrNextPts

func SwrNextPts(s *SwrContext, pts int64) int64

SwrNextPts converts the next timestamp from input to output timestamps are in 1/(in_sample_rate * out_sample_rate) units.

func SwrSetChannelMapping

func SwrSetChannelMapping(s *SwrContext, channelMap *int32) int32

SwrSetChannelMapping sets a customized input channel mapping.

func SwrSetCompensation

func SwrSetCompensation(s *SwrContext, sampleDelta, compensationDistance int32) int32

SwrSetCompensation activates resampling compensation ("soft" compensation). This function is internally called when needed in SwrNextPts().

func SwrSetMatrix

func SwrSetMatrix(s *SwrContext, matrix *float64, stride int32) int32

SwrSetMatrix sets a customized remix matrix.

func SwsConvertPalette8ToPacked24

func SwsConvertPalette8ToPacked24(src, dst *uint8, numPixels int32, palette *uint8)

SwsConvertPalette8ToPacked24 converts an 8-bit paletted frame into a frame with a color depth of 24 bits.

func SwsConvertPalette8ToPacked32

func SwsConvertPalette8ToPacked32(src, dst *uint8, numPixels int32, palette *uint8)

SwsConvertPalette8ToPacked32 converts an 8-bit paletted frame into a frame with a color depth of 32 bits.

func SwsFrameEnd added in v0.50.1

func SwsFrameEnd(sctx *SwsContext)

SwsFrameEnd finishes the scaling process for a pair of source/destination frames.

func SwsFrameStart added in v0.50.1

func SwsFrameStart(sctx *SwsContext, dst, src *AVFrame) int32

SwsFrameStart initializes the scaling process for a given pair of source/destination frames.

func SwsFreeContext

func SwsFreeContext(sctx *SwsContext)

SwsFreecontext frees the swscaler context swsContext.

func SwsFreeFilter

func SwsFreeFilter(filter *SwsFilter)

SwsFreeFilter

func SwsFreeVec

func SwsFreeVec(a *SwsVector)

SwsFreeVec

func SwsGetCoefficients

func SwsGetCoefficients(colorspace int32) *int32

SwsGetCoefficients returns a pointer to yuv<->rgb coefficients for the given colorspace suitable for SwsSetcolorspacedetails().

func SwsGetColorSpaceDetails

func SwsGetColorSpaceDetails(sctx *SwsContext, invTable []int32, srcRange *int32,
	table []int32, dstRange *int32, brightness, contrast, saturation *int32) int32

SwsGetColorSpaceDetails

func SwsInitContext

func SwsInitContext(sctx *SwsContext, srcFilter, dstFilter *SwsFilter) int32

SwsInitContext initializes the swscaler context sws_context.

func SwsIsSupportedEndiannessConversion

func SwsIsSupportedEndiannessConversion(pixFmt AVPixelFormat) int32

SwsIsSupportedEndiannessConversion returns a positive value if pix_fmt is a supported endianness conversion format.

func SwsIsSupportedInput

func SwsIsSupportedInput(pixFmt AVPixelFormat) int32

SwsIsSupportedInput returns a positive value if pix_fmt is a supported input format.

func SwsIsSupportedOutput

func SwsIsSupportedOutput(pixFmt AVPixelFormat) int32

SwsIsSupportedOutput returns a positive value if pix_fmt is a supported output format.

func SwsNormalizeVec

func SwsNormalizeVec(a *SwsVector, height float64)

SwsNormalizeVec scales all the coefficients of a so that their sum equals height.

func SwsReceiveSlice added in v0.50.1

func SwsReceiveSlice(sctx *SwsContext, sliceStart, sliceHeight uint32) int32

SwsReceiveSlice requests a horizontal slice of the output data to be written into the frame previously provided to SwsFrameStart().

func SwsReceiveSliceAlignment added in v0.50.1

func SwsReceiveSliceAlignment(sctx *SwsContext) int32

SwsReceiveSliceAlignment alignments required for output slices requested with SwsReceiveSlice().

func SwsScale

func SwsScale(sctx *SwsContext, srcSlice []*uint8, srcStride []int32,
	srcSliceY, srcSliceH int32,
	dst []*uint8, dstStride []int32) int32

SwsScale scales the image slice in srcSlice and put the resulting scaled slice in the image in dst. A slice is a sequence of consecutive rows in an image.

func SwsScaleFrame added in v0.50.1

func SwsScaleFrame(sctx *SwsContext, dst, src *AVFrame) int32

SwsScaleFrame scales source data from src and write the output to dst.

func SwsScaleVec

func SwsScaleVec(a *SwsVector, scalar float64)

SwsScaleVec scales all the coefficients of a by the scalar value.

func SwsSendSlice added in v0.50.1

func SwsSendSlice(sctx *SwsContext, sliceStart, sliceHeight uint32) int32

SwsSendSlice indicates that a horizontal slice of input data is available in the source frame previously provided to SwsFrameStart().

func SwsSetColorSpaceDetails

func SwsSetColorSpaceDetails(sctx *SwsContext, invTable []int32, srcRange int32,
	table []int32, dstRange int32, brightness, contrast, saturation int32) int32

SwsSetColorspaceDetails

func VoidPointer

func VoidPointer(a CVoidPointer) unsafe.Pointer

VoidPointer returns a unsafe.Pointer from CVoidPointer.

func VoidPointerPointer

func VoidPointerPointer(a CVoidPointerPointer) *unsafe.Pointer

VoidPointerPointer returns a *unsafe.Pointer from CVoidPointerPointer.

Types

type AVABufferSinkParams

type AVABufferSinkParams C.struct_AVABufferSinkParams

AVABufferSinkParams

type AVAES

type AVAES C.struct_AVAES

AVAES

func AvAesAlloc

func AvAesAlloc() *AVAES

AvAesAlloc allocates an AVAES context.

type AVAESCTR

type AVAESCTR C.struct_AVAESCTR

AVAESCTR

func AvAesCtrAlloc

func AvAesCtrAlloc() *AVAESCTR

AvAesCtrAlloc allocates an AVAESCTR context.

type AVActiveFormatDescription

type AVActiveFormatDescription = C.enum_AVActiveFormatDescription

AVActiveFormatDescription

type AVAdler added in v0.44.1

type AVAdler = C.AVAdler

AVAdler

func AvAdler32Update

func AvAdler32Update(adler AVAdler, buf *uint8, len uintptr) AVAdler

AvAdler32Update calculates the Adler32 checksum of a buffer.

type AVAmbientViewingEnvironment added in v0.60.1

type AVAmbientViewingEnvironment C.struct_AVAmbientViewingEnvironment

func AvAmbientViewingEnvironmentAlloc added in v0.60.1

func AvAmbientViewingEnvironmentAlloc(size *uintptr) *AVAmbientViewingEnvironment

AvAmbientViewingEnvironmentAlloc allocates an AVAmbientViewingEnvironment structure.

func AvAmbientViewingEnvironmentCreateSideData added in v0.60.1

func AvAmbientViewingEnvironmentCreateSideData(frame *AVFrame) *AVAmbientViewingEnvironment

AvAmbientViewingEnvironmentCreateSideData

func (*AVAmbientViewingEnvironment) GetAmbientIlluminance added in v0.60.1

func (ave *AVAmbientViewingEnvironment) GetAmbientIlluminance() AVRational

GetAmbientIlluminance gets `AVAmbientViewingEnvironment.ambient_illuminance` value.

func (*AVAmbientViewingEnvironment) GetAmbientIlluminanceAddr added in v0.60.1

func (ave *AVAmbientViewingEnvironment) GetAmbientIlluminanceAddr() *AVRational

GetAmbientIlluminanceAddr gets `AVAmbientViewingEnvironment.ambient_illuminance` address.

func (*AVAmbientViewingEnvironment) GetAmbientLightX added in v0.60.1

func (ave *AVAmbientViewingEnvironment) GetAmbientLightX() AVRational

GetAmbientLightX gets `AVAmbientViewingEnvironment.ambient_light_x` value.

func (*AVAmbientViewingEnvironment) GetAmbientLightXAddr added in v0.60.1

func (ave *AVAmbientViewingEnvironment) GetAmbientLightXAddr() *AVRational

GetAmbientLightXAddr gets `AVAmbientViewingEnvironment.ambient_light_x` address.

func (*AVAmbientViewingEnvironment) GetAmbientLightY added in v0.60.1

func (ave *AVAmbientViewingEnvironment) GetAmbientLightY() AVRational

GetAmbientLightY gets `AVAmbientViewingEnvironment.ambient_light_y` value.

func (*AVAmbientViewingEnvironment) GetAmbientLightYAddr added in v0.60.1

func (ave *AVAmbientViewingEnvironment) GetAmbientLightYAddr() *AVRational

GetAmbientLightYAddr gets `AVAmbientViewingEnvironment.ambient_light_y` address.

func (*AVAmbientViewingEnvironment) SetAmbientIlluminance added in v0.60.1

func (ave *AVAmbientViewingEnvironment) SetAmbientIlluminance(v AVRational)

SetAmbientIlluminance sets `AVAmbientViewingEnvironment.ambient_illuminance` value.

func (*AVAmbientViewingEnvironment) SetAmbientLightX added in v0.60.1

func (ave *AVAmbientViewingEnvironment) SetAmbientLightX(v AVRational)

SetAmbientLightX sets `AVAmbientViewingEnvironment.ambient_light_x` value.

func (*AVAmbientViewingEnvironment) SetAmbientLightY added in v0.60.1

func (ave *AVAmbientViewingEnvironment) SetAmbientLightY(v AVRational)

SetAmbientLightY sets `AVAmbientViewingEnvironment.ambient_light_y` value.

type AVAppToDevMessageType

type AVAppToDevMessageType = C.enum_AVAppToDevMessageType

AVAppToDevMessageType

type AVAudioFifo

type AVAudioFifo C.struct_AVAudioFifo

AVAudioFifo

func AvAudioFifoAlloc

func AvAudioFifoAlloc(sampleFmt AVSampleFormat, channels, nbSamples int32) *AVAudioFifo

AvAudioFifoAlloc allocates an AVAudioFifo.

type AVAudioServiceType

type AVAudioServiceType = C.enum_AVAudioServiceType

AVAudioServiceType

type AVBPrint

type AVBPrint C.struct_AVBPrint

AVBPrint

type AVBSFContext

type AVBSFContext C.struct_AVBSFContext

AVBSFContext

func (*AVBSFContext) GetAvClass

func (bsfc *AVBSFContext) GetAvClass() *AVClass

GetAvClass gets `AVBSFContext.av_class` value.

func (*AVBSFContext) GetAvClassAddr

func (bsfc *AVBSFContext) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVBSFContext.av_class` address.

func (*AVBSFContext) GetFilter

func (bsfc *AVBSFContext) GetFilter() *AVBitStreamFilter

GetFilter gets `AVBSFContext.filter` value.

func (*AVBSFContext) GetFilterAddr

func (bsfc *AVBSFContext) GetFilterAddr() **AVBitStreamFilter

GetFilterAddr gets `AVBSFContext.filter` address.

func (*AVBSFContext) GetParIn

func (bsfc *AVBSFContext) GetParIn() *AVCodecParameters

GetParIn gets `AVBSFContext.par_in` value.

func (*AVBSFContext) GetParInAddr

func (bsfc *AVBSFContext) GetParInAddr() **AVCodecParameters

GetParInAddr gets `AVBSFContext.par_in` address.

func (*AVBSFContext) GetParOut

func (bsfc *AVBSFContext) GetParOut() *AVCodecParameters

GetParOut gets `AVBSFContext.par_out` value.

func (*AVBSFContext) GetParOutAddr

func (bsfc *AVBSFContext) GetParOutAddr() **AVCodecParameters

GetParOutAddr gets `AVBSFContext.par_out` address.

func (*AVBSFContext) GetPrivData

func (bsfc *AVBSFContext) GetPrivData() unsafe.Pointer

GetPrivData gets `AVBSFContext.priv_data` value.

func (*AVBSFContext) GetPrivDataAddr

func (bsfc *AVBSFContext) GetPrivDataAddr() unsafe.Pointer

GetPrivDataAddr gets `AVBSFContext.priv_data` address.

func (*AVBSFContext) GetTimeBaseIn

func (bsfc *AVBSFContext) GetTimeBaseIn() AVRational

GetTimeBaseIn gets `AVBSFContext.time_base_in` value.

func (*AVBSFContext) GetTimeBaseInAddr

func (bsfc *AVBSFContext) GetTimeBaseInAddr() *AVRational

GetTimeBaseInAddr gets `AVBSFContext.time_base_in` address.

func (*AVBSFContext) GetTimeBaseOut

func (bsfc *AVBSFContext) GetTimeBaseOut() AVRational

GetTimeBaseOut gets `AVBSFContext.time_base_out` value.

func (*AVBSFContext) GetTimeBaseOutAddr

func (bsfc *AVBSFContext) GetTimeBaseOutAddr() *AVRational

GetTimeBaseOutAddr gets `AVBSFContext.time_base_out` address.

func (*AVBSFContext) SetAvClass

func (bsfc *AVBSFContext) SetAvClass(v *AVClass)

SetAvClass sets `AVBSFContext.av_class` value.

func (*AVBSFContext) SetFilter

func (bsfc *AVBSFContext) SetFilter(v *AVBitStreamFilter)

SetFilter sets `AVBSFContext.filter` value.

func (*AVBSFContext) SetParIn

func (bsfc *AVBSFContext) SetParIn(v *AVCodecParameters)

SetParIn sets `AVBSFContext.par_in` value.

func (*AVBSFContext) SetParOut

func (bsfc *AVBSFContext) SetParOut(v *AVCodecParameters)

SetParOut sets `AVBSFContext.par_out` value.

func (*AVBSFContext) SetPrivData

func (bsfc *AVBSFContext) SetPrivData(v CVoidPointer)

SetPrivData sets `AVBSFContext.priv_data` value.

func (*AVBSFContext) SetTimeBaseIn

func (bsfc *AVBSFContext) SetTimeBaseIn(v AVRational)

SetTimeBaseIn sets `AVBSFContext.time_base_in` value.

func (*AVBSFContext) SetTimeBaseOut

func (bsfc *AVBSFContext) SetTimeBaseOut(v AVRational)

SetTimeBaseOut sets `AVBSFContext.time_base_out` value.

type AVBSFInternal

type AVBSFInternal C.struct_AVBSFInternal

AVBSFInternal

type AVBSFList

type AVBSFList C.struct_AVBSFList

AVBSFList

func AvBsfListAlloc

func AvBsfListAlloc() *AVBSFList

AvBsfListAlloc allocates empty list of bitstream filters.

type AVBitStreamFilter

type AVBitStreamFilter C.struct_AVBitStreamFilter

AVBitStreamFilter

func AvBsfGetByName

func AvBsfGetByName(name string) *AVBitStreamFilter

AvBsfGetByName returns a bitstream filter with the specified name or NULL if no such bitstream filter exists.

func AvBsfIterate

func AvBsfIterate(opaque CVoidPointerPointer) *AVBitStreamFilter

AvBsfIterate iterates over all registered bitstream filters.

func (*AVBitStreamFilter) GetCodecIds

func (bsf *AVBitStreamFilter) GetCodecIds() []AVCodecID

GetCodecIds gets `AVBitStreamFilter.codec_ids` value.

func (*AVBitStreamFilter) GetName

func (bsf *AVBitStreamFilter) GetName() string

GetName gets `AVBitStreamFilter.name` value.

func (*AVBitStreamFilter) GetPrivClass

func (bsf *AVBitStreamFilter) GetPrivClass() *AVClass

GetPrivClass gets `AVBitStreamFilter.priv_class` value.

func (*AVBitStreamFilter) GetPrivClassAddr

func (bsf *AVBitStreamFilter) GetPrivClassAddr() **AVClass

GetPrivClassAddr gets `AVBitStreamFilter.priv_class` address.

func (*AVBitStreamFilter) SetPrivClass

func (bsf *AVBitStreamFilter) SetPrivClass(v *AVClass)

SetPrivClass sets `AVBitStreamFilter.priv_class` value.

type AVBitStreamFilterContext

type AVBitStreamFilterContext C.struct_AVBitStreamFilterContext

AVBitStreamFilterContext

type AVBlowfish

type AVBlowfish C.struct_AVBlowfish

AVBlowfish

func AvBlowfishAlloc

func AvBlowfishAlloc() *AVBlowfish

AvBlowfishAlloc allocates an AVBlowfish context.

func (*AVBlowfish) GetP

func (bf *AVBlowfish) GetP() []uint32

GetP gets `AVBlowfish.p` value.

func (*AVBlowfish) GetPAddr

func (bf *AVBlowfish) GetPAddr() **uint32

GetPAddr gets `AVBlowfish.p` address.

func (*AVBlowfish) GetS

func (bf *AVBlowfish) GetS() (v [][]uint32)

GetS gets `AVBlowfish.s` value.

func (*AVBlowfish) GetSAddr

func (bf *AVBlowfish) GetSAddr() **uint32

GetSAddr gets `AVBlowfish.s` address.

func (*AVBlowfish) SetP

func (bf *AVBlowfish) SetP(v []uint32)

SetP sets `AVBlowfish.p` value.

func (*AVBlowfish) SetS

func (bf *AVBlowfish) SetS(v [][]uint32)

SetS sets `AVBlowfish.s` value.

type AVBuffer

type AVBuffer C.struct_AVBuffer

AVBufferRef

type AVBufferFreeFunc

type AVBufferFreeFunc = C.av_buffer_free_func

typedef void (*av_buffer_free_func)(void *opaque, uint8_t *data);

type AVBufferPool

type AVBufferPool C.struct_AVBufferPool

AVBufferPool

func AvBufferPoolInit

func AvBufferPoolInit(size uintptr, alloc AVBufferPoolAllocFunc) *AVBufferPool

AvBufferPoolInit allocates and initializes a buffer pool.

func AvBufferPoolInit2

func AvBufferPoolInit2(size uintptr, opaque CVoidPointer,
	alloc AVBufferPoolAllocFunc, free AVBufferPoolFreeFunc) *AVBufferPool

AvBufferPoolInit2 allocates and initialize a buffer pool with a more complex allocator.

type AVBufferPoolAlloc2Func

type AVBufferPoolAlloc2Func = C.av_buffer_pool_alloc2_func

typedef AVBufferRef* (*av_buffer_pool_alloc2_func)(void* opaque, int size);

type AVBufferPoolAllocFunc

type AVBufferPoolAllocFunc = C.av_buffer_pool_alloc_func

typedef AVBufferRef* (*av_buffer_pool_alloc_func)(int size);

type AVBufferPoolFreeFunc

type AVBufferPoolFreeFunc = C.av_buffer_pool_free_func

typedef void (*av_buffer_pool_free_func)(void* opaque);

type AVBufferRef

type AVBufferRef C.struct_AVBufferRef

AVBufferRef

func AvBufferAlloc

func AvBufferAlloc(size uintptr) *AVBufferRef

AvBufferAlloc allocates an AVBuffer of the given size using AvMalloc().

func AvBufferAllocz

func AvBufferAllocz(size uintptr) *AVBufferRef

AvBufferAllocz same as AVBufferAlloc(), except the returned buffer will be initialized to zero.

func AvBufferCreate

func AvBufferCreate(data *uint8, size uintptr, free AVBufferFreeFunc, opaque CVoidPointer, flags int32) *AVBufferRef

AvBufferCreate Create an AVBuffer from an existing array.

func AvBufferPoolGet

func AvBufferPoolGet(pool *AVBufferPool) *AVBufferRef

AvBufferPoolGet allocates a new AVBuffer, reusing an old buffer from the pool when available.

func AvBufferRef

func AvBufferRef(buf *AVBufferRef) *AVBufferRef

AvBufferRef creates a new reference to an AVBuffer.

func AvBuffersinkGetHwFramesCtx

func AvBuffersinkGetHwFramesCtx(ctx *AVFilterContext) *AVBufferRef

AvBuffersinkGetHwFramesCtx

func AvFrameGetPlaneBuffer

func AvFrameGetPlaneBuffer(frame *AVFrame, plane int32) *AVBufferRef

AvFrameGetPlaneBuffer gets the buffer reference a given data plane is stored in.

func AvHWDeviceCtxAlloc

func AvHWDeviceCtxAlloc(prev AVHWDeviceType) *AVBufferRef

AvHWDeviceCtxAlloc allocates an AVHWDeviceContext for a given hardware type.

func AvHWFrameCtxAlloc

func AvHWFrameCtxAlloc(deviceCtx *AVBufferRef) *AVBufferRef

AvHWFrameCtxAlloc allocates an AVHWFramesContext tied to a given device context.

func (*AVBufferRef) GetBuffer

func (bf *AVBufferRef) GetBuffer() *AVBuffer

GetBuffer gets `AVBufferRef.buffer` value.

func (*AVBufferRef) GetData

func (bf *AVBufferRef) GetData() *uint8

GetData gets `AVBufferRef.data` value.

func (*AVBufferRef) GetSize

func (bf *AVBufferRef) GetSize() int32

GetSize gets `AVBufferRef.size` value.

type AVBufferSinkParams

type AVBufferSinkParams C.struct_AVBufferSinkParams

AVBufferSinkParams

type AVBufferSrcParameters

type AVBufferSrcParameters C.struct_AVBufferSrcParameters

AVBufferSrcParameters

func AvBuffersrcParametersAlloc

func AvBuffersrcParametersAlloc() *AVBufferSrcParameters

AvBuffersrcParametersAlloc allocates a new AVBufferSrcParameters instance. It should be freed by the caller with AvFree().

func (*AVBufferSrcParameters) GetChLayout added in v0.51.1

func (bsrc *AVBufferSrcParameters) GetChLayout() AVChannelLayout

GetChLayout gets `AVBufferSrcParameters.ch_layout` value.

func (*AVBufferSrcParameters) GetChLayoutAddr added in v0.51.1

func (bsrc *AVBufferSrcParameters) GetChLayoutAddr() *AVChannelLayout

GetChLayoutAddr gets `AVBufferSrcParameters.ch_layout` address.

func (*AVBufferSrcParameters) GetColorRange added in v0.70.1

func (bsrc *AVBufferSrcParameters) GetColorRange() AVColorRange

GetColorRange gets `AVBufferSrcParameters.color_range` value.

func (*AVBufferSrcParameters) GetColorRangeAddr added in v0.70.1

func (bsrc *AVBufferSrcParameters) GetColorRangeAddr() *AVColorRange

GetColorRangeAddr gets `AVBufferSrcParameters.color_range` address.

func (*AVBufferSrcParameters) GetColorSpace added in v0.70.1

func (bsrc *AVBufferSrcParameters) GetColorSpace() AVColorSpace

GetColorSpace gets `AVBufferSrcParameters.color_space` value.

func (*AVBufferSrcParameters) GetColorSpaceAddr added in v0.70.1

func (bsrc *AVBufferSrcParameters) GetColorSpaceAddr() *AVColorSpace

GetColorSpaceAddr gets `AVBufferSrcParameters.color_space` address.

func (*AVBufferSrcParameters) GetFormat

func (bsrc *AVBufferSrcParameters) GetFormat() int32

GetFormat gets `AVBufferSrcParameters.format` value.

func (*AVBufferSrcParameters) GetFormatAddr

func (bsrc *AVBufferSrcParameters) GetFormatAddr() *int32

GetFormatAddr gets `AVBufferSrcParameters.format` address.

func (*AVBufferSrcParameters) GetFrameRate

func (bsrc *AVBufferSrcParameters) GetFrameRate() AVRational

GetFrameRate gets `AVBufferSrcParameters.frame_rate` value.

func (*AVBufferSrcParameters) GetFrameRateAddr

func (bsrc *AVBufferSrcParameters) GetFrameRateAddr() *AVRational

GetFrameRateAddr gets `AVBufferSrcParameters.frame_rate` address.

func (*AVBufferSrcParameters) GetHeight

func (bsrc *AVBufferSrcParameters) GetHeight() int32

GetHeight gets `AVBufferSrcParameters.height` value.

func (*AVBufferSrcParameters) GetHeightAddr

func (bsrc *AVBufferSrcParameters) GetHeightAddr() *int32

GetHeightAddr gets `AVBufferSrcParameters.height` address.

func (*AVBufferSrcParameters) GetHwFramesCtx

func (bsrc *AVBufferSrcParameters) GetHwFramesCtx() *AVBufferRef

GetHwFramesCtx gets `AVBufferSrcParameters.hw_frames_ctx` value.

func (*AVBufferSrcParameters) GetHwFramesCtxAddr

func (bsrc *AVBufferSrcParameters) GetHwFramesCtxAddr() **AVBufferRef

GetHwFramesCtxAddr gets `AVBufferSrcParameters.hw_frames_ctx` address.

func (*AVBufferSrcParameters) GetSampleAspectRatio

func (bsrc *AVBufferSrcParameters) GetSampleAspectRatio() AVRational

GetSampleAspectRatio gets `AVBufferSrcParameters.sample_aspect_ratio` value.

func (*AVBufferSrcParameters) GetSampleAspectRatioAddr

func (bsrc *AVBufferSrcParameters) GetSampleAspectRatioAddr() *AVRational

GetSampleAspectRatioAddr gets `AVBufferSrcParameters.sample_aspect_ratio` address.

func (*AVBufferSrcParameters) GetSampleRate

func (bsrc *AVBufferSrcParameters) GetSampleRate() int32

GetSampleRate gets `AVBufferSrcParameters.sample_rate` value.

func (*AVBufferSrcParameters) GetSampleRateAddr

func (bsrc *AVBufferSrcParameters) GetSampleRateAddr() *int32

GetSampleRateAddr gets `AVBufferSrcParameters.sample_rate` address.

func (*AVBufferSrcParameters) GetTimeBase

func (bsrc *AVBufferSrcParameters) GetTimeBase() AVRational

GetTimeBase gets `AVBufferSrcParameters.time_base` value.

func (*AVBufferSrcParameters) GetTimeBaseAddr

func (bsrc *AVBufferSrcParameters) GetTimeBaseAddr() *AVRational

GetTimeBaseAddr gets `AVBufferSrcParameters.time_base` address.

func (*AVBufferSrcParameters) GetWidth

func (bsrc *AVBufferSrcParameters) GetWidth() int32

GetWidth gets `AVBufferSrcParameters.width` value.

func (*AVBufferSrcParameters) GetWidthAddr

func (bsrc *AVBufferSrcParameters) GetWidthAddr() *int32

GetWidthAddr gets `AVBufferSrcParameters.width` address.

func (*AVBufferSrcParameters) SetChLayout added in v0.51.1

func (bsrc *AVBufferSrcParameters) SetChLayout(v AVChannelLayout)

SetChLayout sets `AVBufferSrcParameters.ch_layout` value.

func (*AVBufferSrcParameters) SetColorRange added in v0.70.1

func (bsrc *AVBufferSrcParameters) SetColorRange(v AVColorRange)

SetColorRange sets `AVBufferSrcParameters.color_range` value.

func (*AVBufferSrcParameters) SetColorSpace added in v0.70.1

func (bsrc *AVBufferSrcParameters) SetColorSpace(v AVColorSpace)

SetColorSpace sets `AVBufferSrcParameters.color_space` value.

func (*AVBufferSrcParameters) SetFormat

func (bsrc *AVBufferSrcParameters) SetFormat(v int32)

SetFormat sets `AVBufferSrcParameters.format` value.

func (*AVBufferSrcParameters) SetFrameRate

func (bsrc *AVBufferSrcParameters) SetFrameRate(v AVRational)

SetFrameRate sets `AVBufferSrcParameters.frame_rate` value.

func (*AVBufferSrcParameters) SetHeight

func (bsrc *AVBufferSrcParameters) SetHeight(v int32)

SetHeight sets `AVBufferSrcParameters.height` value.

func (*AVBufferSrcParameters) SetHwFramesCtx

func (bsrc *AVBufferSrcParameters) SetHwFramesCtx(v *AVBufferRef)

SetHwFramesCtx sets `AVBufferSrcParameters.hw_frames_ctx` value.

func (*AVBufferSrcParameters) SetSampleAspectRatio

func (bsrc *AVBufferSrcParameters) SetSampleAspectRatio(v AVRational)

SetSampleAspectRatio sets `AVBufferSrcParameters.sample_aspect_ratio` value.

func (*AVBufferSrcParameters) SetSampleRate

func (bsrc *AVBufferSrcParameters) SetSampleRate(v int32)

SetSampleRate sets `AVBufferSrcParameters.sample_rate` value.

func (*AVBufferSrcParameters) SetTimeBase

func (bsrc *AVBufferSrcParameters) SetTimeBase(v AVRational)

SetTimeBase sets `AVBufferSrcParameters.time_base` value.

func (*AVBufferSrcParameters) SetWidth

func (bsrc *AVBufferSrcParameters) SetWidth(v int32)

SetWidth sets `AVBufferSrcParameters.width` value.

type AVCAMELLIA

type AVCAMELLIA C.struct_AVCAMELLIA

AVCAMELLIA

func AvCamelliaAlloc

func AvCamelliaAlloc() *AVCAMELLIA

AvCamelliaAlloc allocates an AVCAMELLIA context.

type AVCAST5

type AVCAST5 C.struct_AVCAST5

AVCAST5

func AvCast5Alloc

func AvCast5Alloc() *AVCAST5

AvCast5Alloc allocates an AVCAST5 context.

type AVCIExy added in v0.51.1

type AVCIExy C.struct_AVCIExy

AVCIExy

func (*AVCIExy) GetX added in v0.51.1

func (cxy *AVCIExy) GetX() AVRational

GetX gets `AVCIExy.x` value.

func (*AVCIExy) GetXAddr added in v0.51.1

func (cxy *AVCIExy) GetXAddr() *AVRational

GetXAddr gets `AVCIExy.x` address.

func (*AVCIExy) GetY added in v0.51.1

func (cxy *AVCIExy) GetY() AVRational

GetY gets `AVCIExy.y` value.

func (*AVCIExy) GetYAddr added in v0.51.1

func (cxy *AVCIExy) GetYAddr() *AVRational

GetYAddr gets `AVCIExy.y` address.

func (*AVCIExy) SetX added in v0.51.1

func (cxy *AVCIExy) SetX(v AVRational)

SetX sets `AVCIExy.x` value.

func (*AVCIExy) SetY added in v0.51.1

func (cxy *AVCIExy) SetY(v AVRational)

SetY sets `AVCIExy.y` value.

type AVCPBProperties

type AVCPBProperties C.struct_AVCPBProperties

This structure describes the bitrate properties of an encoded bitstream. It roughly corresponds to a subset the VBV parameters for MPEG-2 or HRD parameters for H.264/HEVC.

func AvCpbPropertiesAlloc

func AvCpbPropertiesAlloc(size *uintptr) *AVCPBProperties

AvCpbPropertiesAlloc allocates a CPB properties structure and initialize its fields to default values.

func (*AVCPBProperties) GetAvgBitrate

func (cpbp *AVCPBProperties) GetAvgBitrate() int64

GetAvgBitrate gets `AVCPBProperties.avg_bitrate` value.

func (*AVCPBProperties) GetAvgBitrateAddr

func (cpbp *AVCPBProperties) GetAvgBitrateAddr() *int64

GetAvgBitrateAddr gets `AVCPBProperties.avg_bitrate` address.

func (*AVCPBProperties) GetBufferSize

func (cpbp *AVCPBProperties) GetBufferSize() int64

GetBufferSize gets `AVCPBProperties.buffer_size` value.

func (*AVCPBProperties) GetBufferSizeAddr

func (cpbp *AVCPBProperties) GetBufferSizeAddr() *int64

GetBufferSizeAddr gets `AVCPBProperties.buffer_size` address.

func (*AVCPBProperties) GetMaxBitrate

func (cpbp *AVCPBProperties) GetMaxBitrate() int64

GetMaxBitrate gets `AVCPBProperties.max_bitrate` value.

func (*AVCPBProperties) GetMaxBitrateAddr

func (cpbp *AVCPBProperties) GetMaxBitrateAddr() *int64

GetMaxBitrateAddr gets `AVCPBProperties.max_bitrate` address.

func (*AVCPBProperties) GetMinBitrate

func (cpbp *AVCPBProperties) GetMinBitrate() int64

GetMinBitrate gets `AVCPBProperties.min_bitrate` value.

func (*AVCPBProperties) GetMinBitrateAddr

func (cpbp *AVCPBProperties) GetMinBitrateAddr() *int64

GetMinBitrateAddr gets `AVCPBProperties.min_bitrate` address.

func (*AVCPBProperties) GetVbvDelay

func (cpbp *AVCPBProperties) GetVbvDelay() uint64

GetVbvDelay gets `AVCPBProperties.vbv_delay` value.

func (*AVCPBProperties) GetVbvDelayAddr

func (cpbp *AVCPBProperties) GetVbvDelayAddr() *uint64

GetVbvDelayAddr gets `AVCPBProperties.vbv_delay` address.

func (*AVCPBProperties) SetAvgBitrate

func (cpbp *AVCPBProperties) SetAvgBitrate(v int64)

SetAvgBitrate sets `AVCPBProperties.avg_bitrate` value.

func (*AVCPBProperties) SetBufferSize

func (cpbp *AVCPBProperties) SetBufferSize(v int64)

SetBufferSize sets `AVCPBProperties.buffer_size` value.

func (*AVCPBProperties) SetMaxBitrate

func (cpbp *AVCPBProperties) SetMaxBitrate(v int64)

SetMaxBitrate sets `AVCPBProperties.max_bitrate` value.

func (*AVCPBProperties) SetMinBitrate

func (cpbp *AVCPBProperties) SetMinBitrate(v int64)

SetMinBitrate sets `AVCPBProperties.min_bitrate` value.

func (*AVCPBProperties) SetVbvDelay

func (cpbp *AVCPBProperties) SetVbvDelay(v uint64)

SetVbvDelay sets `AVCPBProperties.vbv_delay` value.

type AVCRC

type AVCRC C.AVCRC

AVCRC

func AvCrcGetTable

func AvCrcGetTable(crcId AVCRCId) *AVCRC

AvCrcGetTable gets an initialized standard CRC table.

type AVCRCId

type AVCRCId = C.AVCRCId

AVCRCId

type AVChannel added in v0.51.1

type AVChannel = C.enum_AVChannel

AVChannel

func AvChannelFromString added in v0.51.1

func AvChannelFromString(name string) AVChannel

AvChannelFromString is the inverse function of AvChannelName().

func AvChannelLayoutChannelFromIndex added in v0.51.1

func AvChannelLayoutChannelFromIndex(channelLayout *AVChannelLayout, idx uint32) AVChannel

AvChannelLayoutChannelFromIndex gets the channel with the given index in a channel layout.

func AvChannelLayoutChannelFromString added in v0.51.1

func AvChannelLayoutChannelFromString(channelLayout *AVChannelLayout, name string) AVChannel

AvChannelLayoutChannelFromString gets a channel described by the given string.

type AVChannelCustom added in v0.51.1

type AVChannelCustom C.struct_AVChannelCustom

AVChannelCustom

func (*AVChannelCustom) GetId added in v0.51.1

func (cc *AVChannelCustom) GetId() AVChannel

GetId gets `AVChannelCustom.id` value.

func (*AVChannelCustom) GetIdAddr added in v0.51.1

func (cc *AVChannelCustom) GetIdAddr() *AVChannel

GetIdAddr gets `AVChannelCustom.id` address.

func (*AVChannelCustom) GetName added in v0.51.1

func (cc *AVChannelCustom) GetName() string

GetName gets `AVChannelCustom.name` value.

func (*AVChannelCustom) GetOpaque added in v0.51.1

func (cc *AVChannelCustom) GetOpaque() unsafe.Pointer

GetOpaque gets `AVChannelCustom.opaque` value.

func (*AVChannelCustom) GetOpaqueAddr added in v0.51.1

func (cc *AVChannelCustom) GetOpaqueAddr() *unsafe.Pointer

GetOpaqueAddr gets `AVChannelCustom.opaque` address.

func (*AVChannelCustom) SetId added in v0.51.1

func (cc *AVChannelCustom) SetId(v AVChannel)

SetId sets `AVChannelCustom.id` value.

func (*AVChannelCustom) SetOpaque added in v0.51.1

func (cc *AVChannelCustom) SetOpaque(v CVoidPointer)

SetOpaque sets `AVChannelCustom.opaque` value.

type AVChannelLayout added in v0.51.1

type AVChannelLayout C.struct_AVChannelLayout

AVChannelLayout

func AV_CHANNEL_LAYOUT_22POINT2 added in v0.51.1

func AV_CHANNEL_LAYOUT_22POINT2() *AVChannelLayout

func AV_CHANNEL_LAYOUT_2POINT1 added in v0.51.1

func AV_CHANNEL_LAYOUT_2POINT1() *AVChannelLayout

func AV_CHANNEL_LAYOUT_2_1 added in v0.51.1

func AV_CHANNEL_LAYOUT_2_1() *AVChannelLayout

func AV_CHANNEL_LAYOUT_2_2 added in v0.51.1

func AV_CHANNEL_LAYOUT_2_2() *AVChannelLayout

func AV_CHANNEL_LAYOUT_3POINT1 added in v0.51.1

func AV_CHANNEL_LAYOUT_3POINT1() *AVChannelLayout

func AV_CHANNEL_LAYOUT_3POINT1POINT2 added in v0.61.0

func AV_CHANNEL_LAYOUT_3POINT1POINT2() *AVChannelLayout

func AV_CHANNEL_LAYOUT_4POINT0 added in v0.51.1

func AV_CHANNEL_LAYOUT_4POINT0() *AVChannelLayout

func AV_CHANNEL_LAYOUT_4POINT1 added in v0.51.1

func AV_CHANNEL_LAYOUT_4POINT1() *AVChannelLayout

func AV_CHANNEL_LAYOUT_5POINT0 added in v0.51.1

func AV_CHANNEL_LAYOUT_5POINT0() *AVChannelLayout

func AV_CHANNEL_LAYOUT_5POINT0_BACK added in v0.51.1

func AV_CHANNEL_LAYOUT_5POINT0_BACK() *AVChannelLayout

func AV_CHANNEL_LAYOUT_5POINT1 added in v0.51.1

func AV_CHANNEL_LAYOUT_5POINT1() *AVChannelLayout

func AV_CHANNEL_LAYOUT_5POINT1POINT2_BACK added in v0.61.0

func AV_CHANNEL_LAYOUT_5POINT1POINT2_BACK() *AVChannelLayout

func AV_CHANNEL_LAYOUT_5POINT1POINT4_BACK added in v0.61.0

func AV_CHANNEL_LAYOUT_5POINT1POINT4_BACK() *AVChannelLayout

func AV_CHANNEL_LAYOUT_5POINT1_BACK added in v0.51.1

func AV_CHANNEL_LAYOUT_5POINT1_BACK() *AVChannelLayout

func AV_CHANNEL_LAYOUT_6POINT0 added in v0.51.1

func AV_CHANNEL_LAYOUT_6POINT0() *AVChannelLayout

func AV_CHANNEL_LAYOUT_6POINT0_FRONT added in v0.51.1

func AV_CHANNEL_LAYOUT_6POINT0_FRONT() *AVChannelLayout

func AV_CHANNEL_LAYOUT_6POINT1 added in v0.51.1

func AV_CHANNEL_LAYOUT_6POINT1() *AVChannelLayout

func AV_CHANNEL_LAYOUT_6POINT1_BACK added in v0.51.1

func AV_CHANNEL_LAYOUT_6POINT1_BACK() *AVChannelLayout

func AV_CHANNEL_LAYOUT_6POINT1_FRONT added in v0.51.1

func AV_CHANNEL_LAYOUT_6POINT1_FRONT() *AVChannelLayout

func AV_CHANNEL_LAYOUT_7POINT0 added in v0.51.1

func AV_CHANNEL_LAYOUT_7POINT0() *AVChannelLayout

func AV_CHANNEL_LAYOUT_7POINT0_FRONT added in v0.51.1

func AV_CHANNEL_LAYOUT_7POINT0_FRONT() *AVChannelLayout

func AV_CHANNEL_LAYOUT_7POINT1 added in v0.51.1

func AV_CHANNEL_LAYOUT_7POINT1() *AVChannelLayout

func AV_CHANNEL_LAYOUT_7POINT1POINT2 added in v0.61.0

func AV_CHANNEL_LAYOUT_7POINT1POINT2() *AVChannelLayout

func AV_CHANNEL_LAYOUT_7POINT1POINT4_BACK added in v0.61.0

func AV_CHANNEL_LAYOUT_7POINT1POINT4_BACK() *AVChannelLayout

func AV_CHANNEL_LAYOUT_7POINT1_TOP_BACK added in v0.60.1

func AV_CHANNEL_LAYOUT_7POINT1_TOP_BACK() *AVChannelLayout

func AV_CHANNEL_LAYOUT_7POINT1_WIDE added in v0.51.1

func AV_CHANNEL_LAYOUT_7POINT1_WIDE() *AVChannelLayout

func AV_CHANNEL_LAYOUT_7POINT1_WIDE_BACK added in v0.51.1

func AV_CHANNEL_LAYOUT_7POINT1_WIDE_BACK() *AVChannelLayout

func AV_CHANNEL_LAYOUT_7POINT2POINT3 added in v0.70.1

func AV_CHANNEL_LAYOUT_7POINT2POINT3() *AVChannelLayout

func AV_CHANNEL_LAYOUT_9POINT1POINT4_BACK added in v0.70.1

func AV_CHANNEL_LAYOUT_9POINT1POINT4_BACK() *AVChannelLayout

func AV_CHANNEL_LAYOUT_AMBISONIC_FIRST_ORDER added in v0.51.1

func AV_CHANNEL_LAYOUT_AMBISONIC_FIRST_ORDER() *AVChannelLayout

func AV_CHANNEL_LAYOUT_CUBE added in v0.60.1

func AV_CHANNEL_LAYOUT_CUBE() *AVChannelLayout

func AV_CHANNEL_LAYOUT_HEXADECAGONAL added in v0.51.1

func AV_CHANNEL_LAYOUT_HEXADECAGONAL() *AVChannelLayout

func AV_CHANNEL_LAYOUT_HEXAGONAL added in v0.51.1

func AV_CHANNEL_LAYOUT_HEXAGONAL() *AVChannelLayout

func AV_CHANNEL_LAYOUT_MONO added in v0.51.1

func AV_CHANNEL_LAYOUT_MONO() *AVChannelLayout

func AV_CHANNEL_LAYOUT_OCTAGONAL added in v0.51.1

func AV_CHANNEL_LAYOUT_OCTAGONAL() *AVChannelLayout

func AV_CHANNEL_LAYOUT_QUAD added in v0.51.1

func AV_CHANNEL_LAYOUT_QUAD() *AVChannelLayout

func AV_CHANNEL_LAYOUT_STEREO added in v0.51.1

func AV_CHANNEL_LAYOUT_STEREO() *AVChannelLayout

func AV_CHANNEL_LAYOUT_STEREO_DOWNMIX added in v0.51.1

func AV_CHANNEL_LAYOUT_STEREO_DOWNMIX() *AVChannelLayout

func AV_CHANNEL_LAYOUT_SURROUND added in v0.51.1

func AV_CHANNEL_LAYOUT_SURROUND() *AVChannelLayout

func AvChannelLayoutStandard added in v0.51.1

func AvChannelLayoutStandard(opaque CVoidPointerPointer) *AVChannelLayout

AvChannelLayoutStandard iterates over all standard channel layouts.

func (*AVChannelLayout) GetNbChannels added in v0.51.1

func (cl *AVChannelLayout) GetNbChannels() int32

GetNbChannels gets `AVChannelLayout.nb_channels` value.

func (*AVChannelLayout) GetNbChannelsAddr added in v0.51.1

func (cl *AVChannelLayout) GetNbChannelsAddr() *int32

GetNbChannelsAddr gets `AVChannelLayout.nb_channels` address.

func (*AVChannelLayout) GetOpaque added in v0.51.1

func (cl *AVChannelLayout) GetOpaque() CVoidPointer

GetOpaque gets `AVChannelLayout.opaque` value.

func (*AVChannelLayout) GetOpaqueAddr added in v0.51.1

func (cl *AVChannelLayout) GetOpaqueAddr() *unsafe.Pointer

GetOpaqueAddr gets `AVChannelLayout.opaque` address.

func (*AVChannelLayout) GetOrder added in v0.51.1

func (cl *AVChannelLayout) GetOrder() AVChannelOrder

GetOrder gets `AVChannelLayout.order` value.

func (*AVChannelLayout) GetOrderAddr added in v0.51.1

func (cl *AVChannelLayout) GetOrderAddr() *AVChannelOrder

GetOrderAddr gets `AVChannelLayout.order` address.

func (*AVChannelLayout) GetUMap added in v0.51.1

func (cl *AVChannelLayout) GetUMap() *AVChannelCustom

GetUMap gets `AVChannelLayout.u.map` value.

func (*AVChannelLayout) GetUMapAddr added in v0.51.1

func (cl *AVChannelLayout) GetUMapAddr() **AVChannelCustom

GetUMapAddr gets `AVChannelLayout.u.map` address.

func (*AVChannelLayout) GetUMask added in v0.51.1

func (cl *AVChannelLayout) GetUMask() uint64

GetUMask gets `AVChannelLayout.u.mask` value.

func (*AVChannelLayout) GetUMaskAddr added in v0.51.1

func (cl *AVChannelLayout) GetUMaskAddr() *uint64

GetUMaskAddr gets `AVChannelLayout.u.mask` address.

func (*AVChannelLayout) SetNbChannels added in v0.51.1

func (cl *AVChannelLayout) SetNbChannels(v int32)

SetNbChannels sets `AVChannelLayout.nb_channels` value.

func (*AVChannelLayout) SetOpaque added in v0.51.1

func (cl *AVChannelLayout) SetOpaque(v unsafe.Pointer)

SetOpaque sets `AVChannelLayout.opaque` value.

func (*AVChannelLayout) SetOrder added in v0.51.1

func (cl *AVChannelLayout) SetOrder(v AVChannelOrder)

SetOrder sets `AVChannelLayout.order` value.

func (*AVChannelLayout) SetUMap added in v0.51.1

func (cl *AVChannelLayout) SetUMap(v *AVChannelCustom)

SetUMap sets `AVChannelLayout.u.map` value.

func (*AVChannelLayout) SetUMask added in v0.51.1

func (cl *AVChannelLayout) SetUMask(v uint64)

SetUMask sets `AVChannelLayout.u.mask` value.

type AVChannelOrder added in v0.51.1

type AVChannelOrder = C.enum_AVChannelOrder

AVChannelOrder

type AVChapter

type AVChapter = C.struct_AVChapter

AVChapter

func (*AVChapter) GetEnd

func (cpt *AVChapter) GetEnd() int64

GetEnd gets `AVChapter.end` value.

func (*AVChapter) GetEndAddr

func (cpt *AVChapter) GetEndAddr() *int64

GetEndAddr gets `AVChapter.end` address.

func (*AVChapter) GetId

func (cpt *AVChapter) GetId() int64

GetId gets `AVChapter.id` value.

func (*AVChapter) GetIdAddr

func (cpt *AVChapter) GetIdAddr() *int64

GetIdAddr gets `AVChapter.id` address.

func (*AVChapter) GetMetadata

func (cpt *AVChapter) GetMetadata() *AVDictionary

GetMetadata gets `AVChapter.metadata` value.

func (*AVChapter) GetMetadataAddr

func (cpt *AVChapter) GetMetadataAddr() **AVDictionary

GetMetadataAddr gets `AVChapter.metadata` address.

func (*AVChapter) GetStart

func (cpt *AVChapter) GetStart() int64

GetStart gets `AVChapter.start` value.

func (*AVChapter) GetStartAddr

func (cpt *AVChapter) GetStartAddr() *int64

GetStartAddr gets `AVChapter.start` address.

func (*AVChapter) GetTimeBase

func (cpt *AVChapter) GetTimeBase() AVRational

GetTimeBase gets `AVChapter.time_base` value.

func (*AVChapter) GetTimeBaseAddr

func (cpt *AVChapter) GetTimeBaseAddr() *AVRational

GetTimeBaseAddr gets `AVChapter.time_base` address.

func (*AVChapter) SetEnd

func (cpt *AVChapter) SetEnd(v int64)

SetEnd sets `AVChapter.end` value.

func (*AVChapter) SetId

func (cpt *AVChapter) SetId(v int64)

SetId sets `AVChapter.id` value.

func (*AVChapter) SetMetadata

func (cpt *AVChapter) SetMetadata(v *AVDictionary)

SetMetadata sets `AVChapter.metadata` value.

func (*AVChapter) SetStart

func (cpt *AVChapter) SetStart(v int64)

SetStart sets `AVChapter.start` value.

func (*AVChapter) SetTimeBase

func (cpt *AVChapter) SetTimeBase(v AVRational)

SetTimeBase sets `AVChapter.time_base` value.

type AVChromaLocation

type AVChromaLocation = C.enum_AVChromaLocation

AVChromaLocation

func AvChromaLocationPosToEnum added in v0.60.1

func AvChromaLocationPosToEnum(xpos, ypos int32) AVChromaLocation

AvChromaLocationPosToEnum converts swscale x/y chroma position to AVChromaLocation.

type AVClass

type AVClass C.struct_AVClass

AVClass

func AvBsfGetClass

func AvBsfGetClass() *AVClass

AvBsfGetClass gets the AVClass for AVBSFContext.

func AvCodecDctGetClass

func AvCodecDctGetClass() *AVClass

AvCodecDctGetClass

func AvCodecGetClass

func AvCodecGetClass() *AVClass

AvCodecGetClass gets the AVClass for AVCodecContext.

func AvCodecGetSubtitleRectClass

func AvCodecGetSubtitleRectClass() *AVClass

AvCodecGetSubtitleRectClass gets the AVClass for AVSubtitleRect.

func AvFilterGetClass

func AvFilterGetClass() *AVClass

AvFilterGetClass returns AVClass for AVFilterContext.

func AvFormatGetClass

func AvFormatGetClass() *AVClass

AvFormatGetClass gets the AVClass for AVFormatContext. It can be used in combination with Av_OPT_SEARCH_FAKE_OBJ for examining options.

func AvIOProtocolGetClass added in v0.43.1

func AvIOProtocolGetClass(name string) *AVClass

AvIOProtocolGetClass gets AVClass by names of available protocols.

func AvIamfAudioElementGetClass added in v0.70.1

func AvIamfAudioElementGetClass() *AVClass

AvIamfAudioElementGetClass

func AvIamfMixPresentationGetClass added in v0.70.1

func AvIamfMixPresentationGetClass() *AVClass

AvIamfMixPresentationGetClass

func AvIamfParamDefinitionGetClass added in v0.70.1

func AvIamfParamDefinitionGetClass() *AVClass

AvIamfParamDefinitionGetClass

func AvOptChildClassIterate added in v0.44.1

func AvOptChildClassIterate(parent *AVClass, iter CVoidPointerPointer) *AVClass

AvOptChildClassIterate iterates over potential AVOptions-enabled children of parent.

func AvStreamGetClass added in v0.50.1

func AvStreamGetClass() *AVClass

AvStreamGetClass gets the AVClass for AVStream.

func AvStreamGroupGetClass added in v0.70.1

func AvStreamGroupGetClass() *AVClass

AvStreamGroupGetClass

func SwrGetClass

func SwrGetClass() *AVClass

SwrGetClass gets the AVClass for SwrContext. It can be used in combination with Av_OPT_SEARCH_FAKE_OBJ for examining options.

func SwsGetClass

func SwsGetClass() *AVClass

SwsGetClass gets the AVClass for swsContext.

func (*AVClass) GetCategory

func (cls *AVClass) GetCategory() AVClassCategory

GetCategory gets `AVClass.category` value.

func (*AVClass) GetChildNext

func (cls *AVClass) GetChildNext() AvClassChildNextFunc

GetChildNext gets `AVClass.child_next` value.

func (*AVClass) GetChildNextAddr

func (cls *AVClass) GetChildNextAddr() *AvClassChildNextFunc

GetChildNextAddr gets `AVClass.child_next` address.

func (*AVClass) GetClassName

func (cls *AVClass) GetClassName() string

GetClassName gets `AVClass.class_name` value.

func (*AVClass) GetItemName

func (cls *AVClass) GetItemName() AvClassItemNameFunc

GetItemName gets `AVClass.item_name` value.

func (*AVClass) GetItemNameAddr

func (cls *AVClass) GetItemNameAddr() *AvClassItemNameFunc

GetItemNameAddr gets `AVClass.item_name` address.

func (*AVClass) GetLogLevelOffsetOffset

func (cls *AVClass) GetLogLevelOffsetOffset() int32

GetLogLevelOffsetOffset gets `AVClass.log_level_offset_offset` value.

func (*AVClass) GetOption

func (cls *AVClass) GetOption() *AVOption

GetOption gets `AVClass.option` value.

func (*AVClass) GetParentLogContextOffset

func (cls *AVClass) GetParentLogContextOffset() int32

GetParentLogContextOffset gets `AVClass.parent_log_context_offset` value.

func (*AVClass) GetVersion

func (cls *AVClass) GetVersion() int32

GetVersion gets `AVClass.version` value.

func (*AVClass) SetChildNext

func (cls *AVClass) SetChildNext(v AvClassChildNextFunc)

SetChildNext sets `AVClass.child_next` value.

func (*AVClass) SetItemName

func (cls *AVClass) SetItemName(v AvClassItemNameFunc)

SetItemName sets `AVClass.item_name` value.

type AVClassCategory

type AVClassCategory = int32

AVClassCategory

func AvDefaultGetCategory

func AvDefaultGetCategory(ptr CVoidPointer) AVClassCategory

AvDefaultGetCategory

type AVCodec

type AVCodec C.struct_AVCodec

AVCodec

func AvCodecFindDecoder

func AvCodecFindDecoder(id AVCodecID) *AVCodec

AvCodecFindDecoder finds a registered decoder with a matching codec ID.

func AvCodecFindDecoderByName

func AvCodecFindDecoderByName(name string) *AVCodec

AvCodecFindDecoderByName finds a registered decoder with the specified name.

func AvCodecFindEncoder

func AvCodecFindEncoder(id AVCodecID) *AVCodec

AvCodecFindEncoder finds a registered encoder with a matching codec ID.

func AvCodecFindEncoderByName

func AvCodecFindEncoderByName(name string) *AVCodec

AvCodecFindEncoderByName finds a registered encoder with the specified name.

func AvCodecIterate

func AvCodecIterate(opaque CVoidPointerPointer) *AVCodec

AvCodecIterate iterates over all registered codecs.

func (*AVCodec) GetCapabilities

func (codec *AVCodec) GetCapabilities() int32

GetCapabilities gets `AVCodec.capabilities` value.

func (*AVCodec) GetChLayouts added in v0.51.1

func (codec *AVCodec) GetChLayouts() []AVChannelLayout

GetChLayouts gets `AVCodec.ch_layouts` value.

func (*AVCodec) GetID

func (codec *AVCodec) GetID() AVCodecID

GetType gets `AVCodec.id` value.

func (*AVCodec) GetLongName

func (codec *AVCodec) GetLongName() string

GetLongName gets `AVCodec.long_name` value.

func (*AVCodec) GetMaxLowres

func (codec *AVCodec) GetMaxLowres() uint8

GetMaxLowres gets `AVCodec.max_lowres` value.

func (*AVCodec) GetName

func (codec *AVCodec) GetName() string

GetName gets `AVCodec.name` value.

func (*AVCodec) GetPixFmts

func (codec *AVCodec) GetPixFmts() []AVPixelFormat

GetPixFmts gets `AVCodec.pix_fmts` value.

func (*AVCodec) GetProfiles

func (codec *AVCodec) GetProfiles() []AVProfile

GetProfiles gets `AVCodec.profiles` value.

func (*AVCodec) GetSampleFmts

func (codec *AVCodec) GetSampleFmts() []AVSampleFormat

GetSampleFmts gets `AVCodec.sample_fmts` value.

func (*AVCodec) GetSupportedFramerates

func (codec *AVCodec) GetSupportedFramerates() []AVRational

GetSupportedFramerates gets `AVCodec.supportedFramerates` value.

func (*AVCodec) GetSupportedSamplerates

func (codec *AVCodec) GetSupportedSamplerates() []int32

GetSupportedSamplerates gets `AVCodec.supported_samplerates` value.

func (*AVCodec) GetType

func (codec *AVCodec) GetType() AVMediaType

GetType gets `AVCodec.type` value.

func (*AVCodec) GetWrapperName

func (codec *AVCodec) GetWrapperName() string

GetWrapperName gets `AVCodec.wrapper_name` value.

type AVCodecContext

type AVCodecContext C.struct_AVCodecContext

AvCodecContext is main external API structure.

func AvCodecAllocContext3

func AvCodecAllocContext3(c *AVCodec) *AVCodecContext

AvCodecAllocContext3 allocates an AVCodecContext and set its fields to default values. The resulting struct should be freed with AVCodecFreeContext().

func (*AVCodecContext) GetActiveThreadType

func (avctx *AVCodecContext) GetActiveThreadType() int32

GetActiveThreadType gets `AVCodecContext.active_threadtype` value.

func (*AVCodecContext) GetActiveThreadTypeAddr

func (avctx *AVCodecContext) GetActiveThreadTypeAddr() *int32

GetActiveThreadTypeAddr gets `AVCodecContext.active_threadtype` address.

func (*AVCodecContext) GetApplyCropping

func (avctx *AVCodecContext) GetApplyCropping() int32

GetApplyCropping gets `AVCodecContext.apply_cropping` value.

func (*AVCodecContext) GetApplyCroppingAddr

func (avctx *AVCodecContext) GetApplyCroppingAddr() *int32

GetApplyCroppingAddr gets `AVCodecContext.apply_cropping` address.

func (*AVCodecContext) GetAudioServiceType

func (avctx *AVCodecContext) GetAudioServiceType() AVAudioServiceType

GetAudioServiceType gets `AVCodecContext.audio_servicetype` value.

func (*AVCodecContext) GetAudioServiceTypeAddr

func (avctx *AVCodecContext) GetAudioServiceTypeAddr() *AVAudioServiceType

GetAudioServiceTypeAddr gets `AVCodecContext.audio_servicetype` address.

func (*AVCodecContext) GetAvClass

func (avctx *AVCodecContext) GetAvClass() *AVClass

GetAVClass gets `AVCodecContext.av_class` value.

func (*AVCodecContext) GetAvClassAddr

func (avctx *AVCodecContext) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVCodecContext.av_class` address.

func (*AVCodecContext) GetBQuantFactor

func (avctx *AVCodecContext) GetBQuantFactor() float32

GetBQuantFactor gets `AVCodecContext.b_quant_factor` value.

func (*AVCodecContext) GetBQuantFactorAddr

func (avctx *AVCodecContext) GetBQuantFactorAddr() *float32

GetBQuantFactorAddr gets `AVCodecContext.b_quant_factor` address.

func (*AVCodecContext) GetBQuantOffset

func (avctx *AVCodecContext) GetBQuantOffset() float32

GetBQuantOffset gets `AVCodecContext.b_quant_offset` value.

func (*AVCodecContext) GetBQuantOffsetAddr

func (avctx *AVCodecContext) GetBQuantOffsetAddr() *float32

GetBQuantOffsetAddr gets `AVCodecContext.b_quant_offset` address.

func (*AVCodecContext) GetBidirRefine

func (avctx *AVCodecContext) GetBidirRefine() int32

GetBidirRefine gets `AVCodecContext.bidir_refine` value.

func (*AVCodecContext) GetBidirRefineAddr

func (avctx *AVCodecContext) GetBidirRefineAddr() *int32

GetBidirRefineAddr gets `AVCodecContext.bidir_refine` address.

func (*AVCodecContext) GetBitRate

func (avctx *AVCodecContext) GetBitRate() int64

GetBitRate gets `AVCodecContext.bit_rate` value.

func (*AVCodecContext) GetBitRateAddr

func (avctx *AVCodecContext) GetBitRateAddr() *int64

GetBitRateAddr gets `AVCodecContext.bit_rate` address.

func (*AVCodecContext) GetBitRateTolerance

func (avctx *AVCodecContext) GetBitRateTolerance() int32

GetBitRateTolerance gets `AVCodecContext.bit_rate_tolerance` value.

func (*AVCodecContext) GetBitRateToleranceAddr

func (avctx *AVCodecContext) GetBitRateToleranceAddr() *int32

GetBitRateToleranceAddr gets `AVCodecContext.bit_rate_tolerance` address.

func (*AVCodecContext) GetBitsPerCodedSample

func (avctx *AVCodecContext) GetBitsPerCodedSample() int32

GetBitsPerCodedSample gets `AVCodecContext.bits_per_coded_sample` value.

func (*AVCodecContext) GetBitsPerCodedSampleAddr

func (avctx *AVCodecContext) GetBitsPerCodedSampleAddr() *int32

GetBitsPerCodedSampleAddr gets `AVCodecContext.bits_per_coded_sample` address.

func (*AVCodecContext) GetBitsPerRawSample

func (avctx *AVCodecContext) GetBitsPerRawSample() int32

GetBitsPerRawSample gets `AVCodecContext.bits_per_raw_sample` value.

func (*AVCodecContext) GetBitsPerRawSampleAddr

func (avctx *AVCodecContext) GetBitsPerRawSampleAddr() *int32

GetBitsPerRawSampleAddr gets `AVCodecContext.bits_per_raw_sample` address.

func (*AVCodecContext) GetBlockAlign

func (avctx *AVCodecContext) GetBlockAlign() int32

GetBlockAlign gets `AVCodecContext.block_align` value.

func (*AVCodecContext) GetBlockAlignAddr

func (avctx *AVCodecContext) GetBlockAlignAddr() *int32

GetBlockAlignAddr gets `AVCodecContext.block_align` address.

func (*AVCodecContext) GetChLayout added in v0.51.2

func (avctx *AVCodecContext) GetChLayout() AVChannelLayout

GetChLayout gets `AVCodecContext.ch_layout` value.

func (*AVCodecContext) GetChLayoutAddr added in v0.51.2

func (avctx *AVCodecContext) GetChLayoutAddr() *AVChannelLayout

GetChLayoutAddr gets `AVCodecContext.ch_layout` address.

func (*AVCodecContext) GetChromaIntraMatrix

func (avctx *AVCodecContext) GetChromaIntraMatrix() *uint16

GetChromaIntraMatrix gets `AVCodecContext.chroma_intra_matrix` value.

func (*AVCodecContext) GetChromaIntraMatrixAddr

func (avctx *AVCodecContext) GetChromaIntraMatrixAddr() **uint16

GetChromaIntraMatrixAddr gets `AVCodecContext.chroma_intra_matrix` address.

func (*AVCodecContext) GetChromaSampleLocation

func (avctx *AVCodecContext) GetChromaSampleLocation() AVChromaLocation

GetChromaSampleLocation gets `AVCodecContext.chroma_sample_location` value.

func (*AVCodecContext) GetChromaSampleLocationAddr

func (avctx *AVCodecContext) GetChromaSampleLocationAddr() *AVChromaLocation

GetChromaSampleLocationAddr gets `AVCodecContext.chroma_sample_location` address.

func (*AVCodecContext) GetCodec

func (avctx *AVCodecContext) GetCodec() *AVCodec

GetCodec gets `AVCodecContext.codec` value.

func (*AVCodecContext) GetCodecAddr

func (avctx *AVCodecContext) GetCodecAddr() **AVCodec

GetCodecAddr gets `AVCodecContext.codec` address.

func (*AVCodecContext) GetCodecDescriptor

func (avctx *AVCodecContext) GetCodecDescriptor() *AVCodecDescriptor

GetCodecDescriptor gets `AVCodecContext.codec_descriptor` value.

func (*AVCodecContext) GetCodecDescriptorAddr

func (avctx *AVCodecContext) GetCodecDescriptorAddr() **AVCodecDescriptor

GetCodecDescriptorAddr gets `AVCodecContext.codec_descriptor` address.

func (*AVCodecContext) GetCodecId

func (avctx *AVCodecContext) GetCodecId() AVCodecID

GetCodecId gets `AVCodecContext.codec_id` value.

func (*AVCodecContext) GetCodecIdAddr

func (avctx *AVCodecContext) GetCodecIdAddr() *AVCodecID

GetCodecIdAddr gets `AVCodecContext.codec_id` address.

func (*AVCodecContext) GetCodecTag

func (avctx *AVCodecContext) GetCodecTag() uint32

GetCodecTag gets `AVCodecContext.codec_tag` value.

func (*AVCodecContext) GetCodecTagAddr

func (avctx *AVCodecContext) GetCodecTagAddr() *uint32

GetCodecTagAddr gets `AVCodecContext.codec_tag` address.

func (*AVCodecContext) GetCodecType

func (avctx *AVCodecContext) GetCodecType() AVMediaType

GetCodecType gets `AVCodecContext.codectype` value.

func (*AVCodecContext) GetCodecTypeAddr

func (avctx *AVCodecContext) GetCodecTypeAddr() *AVMediaType

GetCodecTypeAddr gets `AVCodecContext.codectype` address.

func (*AVCodecContext) GetCodecWhitelist

func (avctx *AVCodecContext) GetCodecWhitelist() string

GetCodecWhitelist gets `AVCodecContext.codec_whitelist` value.

func (*AVCodecContext) GetCodedHeight

func (avctx *AVCodecContext) GetCodedHeight() int32

GetCodedHeight gets `AVCodecContext.coded_height` value.

func (*AVCodecContext) GetCodedHeightAddr

func (avctx *AVCodecContext) GetCodedHeightAddr() *int32

GetCodedHeightAddr gets `AVCodecContext.coded_height` address.

func (*AVCodecContext) GetCodedSideData

func (avctx *AVCodecContext) GetCodedSideData() []AVPacketSideData

GetCodedSideData gets `AVCodecContext.coded_side_data` value.

func (*AVCodecContext) GetCodedSideDataAddr

func (avctx *AVCodecContext) GetCodedSideDataAddr() **AVPacketSideData

GetCodedSideDataAddr gets `AVCodecContext.coded_side_data` address.

func (*AVCodecContext) GetCodedWidth

func (avctx *AVCodecContext) GetCodedWidth() int32

GetCodedWidth gets `AVCodecContext.coded_width` value.

func (*AVCodecContext) GetCodedWidthAddr

func (avctx *AVCodecContext) GetCodedWidthAddr() *int32

GetCodedWidthAddr gets `AVCodecContext.coded_width` address.

func (*AVCodecContext) GetColorPrimaries

func (avctx *AVCodecContext) GetColorPrimaries() AVColorPrimaries

GetColorPrimaries gets `AVCodecContext.color_primaries` value.

func (*AVCodecContext) GetColorPrimariesAddr

func (avctx *AVCodecContext) GetColorPrimariesAddr() *AVColorPrimaries

GetColorPrimariesAddr gets `AVCodecContext.color_primaries` address.

func (*AVCodecContext) GetColorRange

func (avctx *AVCodecContext) GetColorRange() AVColorRange

GetColorRange gets `AVCodecContext.colorrange` value.

func (*AVCodecContext) GetColorRangeAddr

func (avctx *AVCodecContext) GetColorRangeAddr() *AVColorRange

GetColorRangeAddr gets `AVCodecContext.colorrange` address.

func (*AVCodecContext) GetColorTrc

func (avctx *AVCodecContext) GetColorTrc() AVColorTransferCharacteristic

GetColorTrc gets `AVCodecContext.color_trc` value.

func (*AVCodecContext) GetColorTrcAddr

func (avctx *AVCodecContext) GetColorTrcAddr() *AVColorTransferCharacteristic

GetColorTrcAddr gets `AVCodecContext.color_trc` address.

func (*AVCodecContext) GetColorspace

func (avctx *AVCodecContext) GetColorspace() AVColorSpace

GetColorspace gets `AVCodecContext.colorspace` value.

func (*AVCodecContext) GetColorspaceAddr

func (avctx *AVCodecContext) GetColorspaceAddr() *AVColorSpace

GetColorspaceAddr gets `AVCodecContext.colorspace` address.

func (*AVCodecContext) GetCompressionLevel

func (avctx *AVCodecContext) GetCompressionLevel() int32

GetCompressionLevel gets `AVCodecContext.compression_level` value.

func (*AVCodecContext) GetCompressionLevelAddr

func (avctx *AVCodecContext) GetCompressionLevelAddr() *int32

GetCompressionLevelAddr gets `AVCodecContext.compression_level` address.

func (*AVCodecContext) GetCutoff

func (avctx *AVCodecContext) GetCutoff() int32

GetCutoff gets `AVCodecContext.cutoff` value.

func (*AVCodecContext) GetCutoffAddr

func (avctx *AVCodecContext) GetCutoffAddr() *int32

GetCutoffAddr gets `AVCodecContext.cutoff` address.

func (*AVCodecContext) GetDarkMasking

func (avctx *AVCodecContext) GetDarkMasking() float32

GetDarkMasking gets `AVCodecContext.dark_masking` value.

func (*AVCodecContext) GetDarkMaskingAddr

func (avctx *AVCodecContext) GetDarkMaskingAddr() *float32

GetDarkMaskingAddr gets `AVCodecContext.dark_masking` address.

func (*AVCodecContext) GetDctAlgo

func (avctx *AVCodecContext) GetDctAlgo() int32

GetDctAlgo gets `AVCodecContext.dct_algo` value.

func (*AVCodecContext) GetDctAlgoAddr

func (avctx *AVCodecContext) GetDctAlgoAddr() *int32

GetDctAlgoAddr gets `AVCodecContext.dct_algo` address.

func (*AVCodecContext) GetDebug

func (avctx *AVCodecContext) GetDebug() int32

GetDebug gets `AVCodecContext.debug` value.

func (*AVCodecContext) GetDebugAddr

func (avctx *AVCodecContext) GetDebugAddr() *int32

GetDebugAddr gets `AVCodecContext.debug` address.

func (*AVCodecContext) GetDecodedSideData added in v0.70.1

func (avctx *AVCodecContext) GetDecodedSideData() []*AVFrameSideData

GetDecodedSideData gets `AVCodecContext.decoded_side_data` value.

func (*AVCodecContext) GetDecodedSideDataAddr added in v0.70.1

func (avctx *AVCodecContext) GetDecodedSideDataAddr() ***AVFrameSideData

GetDecodedSideDataAddr gets `AVCodecContext.decoded_side_data` address.

func (*AVCodecContext) GetDelay

func (avctx *AVCodecContext) GetDelay() int32

GetDelay gets `AVCodecContext.delay` value.

func (*AVCodecContext) GetDelayAddr

func (avctx *AVCodecContext) GetDelayAddr() *int32

GetDelayAddr gets `AVCodecContext.delay` address.

func (*AVCodecContext) GetDiaSize

func (avctx *AVCodecContext) GetDiaSize() int32

GetDiaSize gets `AVCodecContext.dia_size` value.

func (*AVCodecContext) GetDiaSizeAddr

func (avctx *AVCodecContext) GetDiaSizeAddr() *int32

GetDiaSizeAddr gets `AVCodecContext.dia_size` address.

func (*AVCodecContext) GetDiscardDamagedPercentage added in v0.42.1

func (avctx *AVCodecContext) GetDiscardDamagedPercentage() int32

GetDiscardDamagedPercentage gets `AVCodecContext.discard_damaged_percentage` value.

func (*AVCodecContext) GetDiscardDamagedPercentageAddr added in v0.42.1

func (avctx *AVCodecContext) GetDiscardDamagedPercentageAddr() *int32

GetDiscardDamagedPercentageAddr gets `AVCodecContext.discard_damaged_percentage` address.

func (*AVCodecContext) GetDrawHorizBand

func (avctx *AVCodecContext) GetDrawHorizBand() AVCodecContextDrawHorizBandFunc

GetDrawHorizBand gets `AVCodecContext.draw_horiz_band` value.

func (*AVCodecContext) GetDrawHorizBandAddr

func (avctx *AVCodecContext) GetDrawHorizBandAddr() *AVCodecContextDrawHorizBandFunc

GetDrawHorizBandAddr gets `AVCodecContext.draw_horiz_band` value.

func (*AVCodecContext) GetDumpSeparator

func (avctx *AVCodecContext) GetDumpSeparator() *uint8

GetDumpSeparator gets `AVCodecContext.dump_separator` value.

func (*AVCodecContext) GetDumpSeparatorAddr

func (avctx *AVCodecContext) GetDumpSeparatorAddr() **uint8

GetDumpSeparatorAddr gets `AVCodecContext.dump_separator` address.

func (*AVCodecContext) GetErrRecognition

func (avctx *AVCodecContext) GetErrRecognition() int32

GetErrRecognition gets `AVCodecContext.err_recognition` value.

func (*AVCodecContext) GetErrRecognitionAddr

func (avctx *AVCodecContext) GetErrRecognitionAddr() *int32

GetErrRecognitionAddr gets `AVCodecContext.err_recognition` address.

func (*AVCodecContext) GetError

func (avctx *AVCodecContext) GetError() []uint64

GetError gets `AVCodecContext.error` value.

func (*AVCodecContext) GetErrorAddr

func (avctx *AVCodecContext) GetErrorAddr() **uint64

GetErrorAddr gets `AVCodecContext.error` address.

func (*AVCodecContext) GetErrorConcealment

func (avctx *AVCodecContext) GetErrorConcealment() int32

GetErrorConcealment gets `AVCodecContext.error_concealment` value.

func (*AVCodecContext) GetErrorConcealmentAddr

func (avctx *AVCodecContext) GetErrorConcealmentAddr() *int32

GetErrorConcealmentAddr gets `AVCodecContext.error_concealment` address.

func (*AVCodecContext) GetExecute

GetExecute gets `AVCodecContext.execute` value.

func (*AVCodecContext) GetExecute2

GetExecute2 gets `AVCodecContext.execute2` value.

func (*AVCodecContext) GetExecute2Addr

func (avctx *AVCodecContext) GetExecute2Addr() *AvCodecContextInternalExecute2Func

GetExecute2Addr gets `AVCodecContext.execute2` address.

func (*AVCodecContext) GetExecuteAddr

func (avctx *AVCodecContext) GetExecuteAddr() *AvCodecContextInternalExecuteFunc

GetExecuteAddr gets `AVCodecContext.execute` address.

func (*AVCodecContext) GetExportSideData added in v0.43.1

func (avctx *AVCodecContext) GetExportSideData() int32

GetExportSideData gets `AVCodecContext.export_side_data` value.

func (*AVCodecContext) GetExportSideDataAddr added in v0.43.1

func (avctx *AVCodecContext) GetExportSideDataAddr() *int32

GetExportSideDataAddr gets `AVCodecContext.export_side_data` address.

func (*AVCodecContext) GetExtraHwFrames

func (avctx *AVCodecContext) GetExtraHwFrames() int32

GetExtraHwFrames gets `AVCodecContext.extra_hw_frames` value.

func (*AVCodecContext) GetExtraHwFramesAddr

func (avctx *AVCodecContext) GetExtraHwFramesAddr() *int32

GetExtraHwFramesAddr gets `AVCodecContext.extra_hw_frames` address.

func (*AVCodecContext) GetExtradata

func (avctx *AVCodecContext) GetExtradata() *uint8

GetExtradata gets `AVCodecContext.extradata` value.

func (*AVCodecContext) GetExtradataAddr

func (avctx *AVCodecContext) GetExtradataAddr() **uint8

GetExtradataAddr gets `AVCodecContext.extradata` address.

func (*AVCodecContext) GetExtradataSize

func (avctx *AVCodecContext) GetExtradataSize() int32

GetExtradataSize gets `AVCodecContext.extradata_size` value.

func (*AVCodecContext) GetExtradataSizeAddr

func (avctx *AVCodecContext) GetExtradataSizeAddr() *int32

GetExtradataSizeAddr gets `AVCodecContext.extradata_size` address.

func (*AVCodecContext) GetFieldOrder

func (avctx *AVCodecContext) GetFieldOrder() AVFieldOrder

GetFieldOrder gets `AVCodecContext.field_order` value.

func (*AVCodecContext) GetFieldOrderAddr

func (avctx *AVCodecContext) GetFieldOrderAddr() *AVFieldOrder

GetFieldOrderAddr gets `AVCodecContext.field_order` address.

func (*AVCodecContext) GetFlags

func (avctx *AVCodecContext) GetFlags() int32

GetFlags gets `AVCodecContext.flags` value.

func (*AVCodecContext) GetFlags2

func (avctx *AVCodecContext) GetFlags2() int32

GetFlags2 gets `AVCodecContext.flags2` value.

func (*AVCodecContext) GetFlags2Addr

func (avctx *AVCodecContext) GetFlags2Addr() *int32

GetFlags2Addr gets `AVCodecContext.flags2` address.

func (*AVCodecContext) GetFlagsAddr

func (avctx *AVCodecContext) GetFlagsAddr() *int32

GetFlagsAddr gets `AVCodecContext.flags` address.

func (*AVCodecContext) GetFrameNum added in v0.60.1

func (avctx *AVCodecContext) GetFrameNum() int64

GetFrameNum gets `AVCodecContext.frame_num` value.

func (*AVCodecContext) GetFrameNumAddr added in v0.60.1

func (avctx *AVCodecContext) GetFrameNumAddr() *int64

GetFrameNumAddr gets `AVCodecContext.frame_num` address.

func (*AVCodecContext) GetFrameSize

func (avctx *AVCodecContext) GetFrameSize() int32

GetFrameSize gets `AVCodecContext.frame_size` value.

func (*AVCodecContext) GetFrameSizeAddr

func (avctx *AVCodecContext) GetFrameSizeAddr() *int32

GetFrameSizeAddr gets `AVCodecContext.frame_size` address.

func (*AVCodecContext) GetFramerate

func (avctx *AVCodecContext) GetFramerate() AVRational

GetFramerate gets `AVCodecContext.framerate` value.

func (*AVCodecContext) GetFramerateAddr

func (avctx *AVCodecContext) GetFramerateAddr() *AVRational

GetFramerateAddr gets `AVCodecContext.framerate` address.

func (*AVCodecContext) GetGetBuffer2

func (avctx *AVCodecContext) GetGetBuffer2() AVCodecContextGetBuffer2Func

GetGetBuffer2 gets `AVCodecContext.get_buffer2` value.

func (*AVCodecContext) GetGetBuffer2Addr

func (avctx *AVCodecContext) GetGetBuffer2Addr() *AVCodecContextGetBuffer2Func

GetGetBuffer2Addr gets `AVCodecContext.get_buffer2` address.

func (*AVCodecContext) GetGetEncodeBuffer added in v0.44.1

func (avctx *AVCodecContext) GetGetEncodeBuffer() AVCodecContextGetEncodeBufferFunc

GetGetEncodeBuffer gets `AVCodecContext.get_encode_buffer` value.

func (*AVCodecContext) GetGetEncodeBufferAddr added in v0.44.1

func (avctx *AVCodecContext) GetGetEncodeBufferAddr() *AVCodecContextGetEncodeBufferFunc

GetGetEncodeBufferAddr gets `AVCodecContext.get_encode_buffer` address.

func (*AVCodecContext) GetGetFormat

func (avctx *AVCodecContext) GetGetFormat() AVCodecContextGetFormatFunc

GetGetFormat gets `AVCodecContext.get_format` value.

func (*AVCodecContext) GetGetFormatAddr

func (avctx *AVCodecContext) GetGetFormatAddr() *AVCodecContextGetFormatFunc

GetGetFormatAddr gets `AVCodecContext.get_format` address.

func (*AVCodecContext) GetGlobalQuality

func (avctx *AVCodecContext) GetGlobalQuality() int32

GetGlobalQuality gets `AVCodecContext.global_quality` value.

func (*AVCodecContext) GetGlobalQualityAddr

func (avctx *AVCodecContext) GetGlobalQualityAddr() *int32

GetGlobalQualityAddr gets `AVCodecContext.global_quality` address.

func (*AVCodecContext) GetGopSize

func (avctx *AVCodecContext) GetGopSize() int32

GetGopSize gets `AVCodecContext.gop_size` value.

func (*AVCodecContext) GetGopSizeAddr

func (avctx *AVCodecContext) GetGopSizeAddr() *int32

GetGopSizeAddr gets `AVCodecContext.gop_size` address.

func (*AVCodecContext) GetHasBFrames

func (avctx *AVCodecContext) GetHasBFrames() int32

GetHasBFrames gets `AVCodecContext.has_b_frames` value.

func (*AVCodecContext) GetHasBFramesAddr

func (avctx *AVCodecContext) GetHasBFramesAddr() *int32

GetHasBFramesAddr gets `AVCodecContext.has_b_frames` address.

func (*AVCodecContext) GetHeight

func (avctx *AVCodecContext) GetHeight() int32

GetHeight gets `AVCodecContext.height` value.

func (*AVCodecContext) GetHeightAddr

func (avctx *AVCodecContext) GetHeightAddr() *int32

GetHeightAddr gets `AVCodecContext.height` address.

func (*AVCodecContext) GetHwDeviceCtx

func (avctx *AVCodecContext) GetHwDeviceCtx() *AVBufferRef

GetHwDeviceCtx gets `AVCodecContext.hw_device_ctx` value.

func (*AVCodecContext) GetHwDeviceCtxAddr

func (avctx *AVCodecContext) GetHwDeviceCtxAddr() **AVBufferRef

GetHwDeviceCtxAddr gets `AVCodecContext.hw_device_ctx` address.

func (*AVCodecContext) GetHwFramesCtx

func (avctx *AVCodecContext) GetHwFramesCtx() *AVBufferRef

GetHwFramesCtx gets `AVCodecContext.hw_frames_ctx` value.

func (*AVCodecContext) GetHwFramesCtxAddr

func (avctx *AVCodecContext) GetHwFramesCtxAddr() **AVBufferRef

GetHwFramesCtxAddr gets `AVCodecContext.hw_frames_ctx` address.

func (*AVCodecContext) GetHwaccel

func (avctx *AVCodecContext) GetHwaccel() *AVHWAccel

GetHwaccel gets `AVCodecContext.hwaccel` value.

func (*AVCodecContext) GetHwaccelAddr

func (avctx *AVCodecContext) GetHwaccelAddr() **AVHWAccel

GetHwaccelAddr gets `AVCodecContext.hwaccel` address.

func (*AVCodecContext) GetHwaccelContext

func (avctx *AVCodecContext) GetHwaccelContext() unsafe.Pointer

GetHwaccelContext gets `AVCodecContext.hwaccel_context` value.

func (*AVCodecContext) GetHwaccelContextAddr

func (avctx *AVCodecContext) GetHwaccelContextAddr() unsafe.Pointer

GetHwaccelContextAddr gets `AVCodecContext.hwaccel_context` address.

func (*AVCodecContext) GetHwaccelFlags

func (avctx *AVCodecContext) GetHwaccelFlags() int32

GetHwaccelFlags gets `AVCodecContext.hwaccel_flags` value.

func (*AVCodecContext) GetHwaccelFlagsAddr

func (avctx *AVCodecContext) GetHwaccelFlagsAddr() *int32

GetHwaccelFlagsAddr gets `AVCodecContext.hwaccel_flags` address.

func (*AVCodecContext) GetIQuantFactor

func (avctx *AVCodecContext) GetIQuantFactor() float32

GetIQuantFactor gets `AVCodecContext.i_quant_factor` value.

func (*AVCodecContext) GetIQuantFactorAddr

func (avctx *AVCodecContext) GetIQuantFactorAddr() *float32

GetIQuantFactorAddr gets `AVCodecContext.i_quant_factor` address.

func (*AVCodecContext) GetIQuantOffset

func (avctx *AVCodecContext) GetIQuantOffset() float32

GetIQuantOffset gets `AVCodecContext.i_quant_offset` value.

func (*AVCodecContext) GetIQuantOffsetAddr

func (avctx *AVCodecContext) GetIQuantOffsetAddr() *float32

GetIQuantOffsetAddr gets `AVCodecContext.i_quant_offset` address.

func (*AVCodecContext) GetIdctAlgo

func (avctx *AVCodecContext) GetIdctAlgo() int32

GetIdctAlgo gets `AVCodecContext.idct_algo` value.

func (*AVCodecContext) GetIdctAlgoAddr

func (avctx *AVCodecContext) GetIdctAlgoAddr() *int32

GetIdctAlgoAddr gets `AVCodecContext.idct_algo` address.

func (*AVCodecContext) GetIldctCmp

func (avctx *AVCodecContext) GetIldctCmp() int32

GetIldctCmp gets `AVCodecContext.ildct_cmp` value.

func (*AVCodecContext) GetIldctCmpAddr

func (avctx *AVCodecContext) GetIldctCmpAddr() *int32

GetIldctCmpAddr gets `AVCodecContext.ildct_cmp` address.

func (*AVCodecContext) GetInitialPadding

func (avctx *AVCodecContext) GetInitialPadding() int32

GetInitialPadding gets `AVCodecContext.initial_padding` value.

func (*AVCodecContext) GetInitialPaddingAddr

func (avctx *AVCodecContext) GetInitialPaddingAddr() *int32

GetInitialPaddingAddr gets `AVCodecContext.initial_padding` address.

func (*AVCodecContext) GetInterMatrix

func (avctx *AVCodecContext) GetInterMatrix() *uint16

GetInterMatrix gets `AVCodecContext.inter_matrix` value.

func (*AVCodecContext) GetInterMatrixAddr

func (avctx *AVCodecContext) GetInterMatrixAddr() **uint16

GetInterMatrixAddr gets `AVCodecContext.inter_matrix` address.

func (*AVCodecContext) GetIntraDcPrecision

func (avctx *AVCodecContext) GetIntraDcPrecision() int32

GetIntraDcPrecision gets `AVCodecContext.intra_dc_precision` value.

func (*AVCodecContext) GetIntraDcPrecisionAddr

func (avctx *AVCodecContext) GetIntraDcPrecisionAddr() *int32

GetIntraDcPrecisionAddr gets `AVCodecContext.intra_dc_precision` address.

func (*AVCodecContext) GetIntraMatrix

func (avctx *AVCodecContext) GetIntraMatrix() *uint16

GetIntraMatrix gets `AVCodecContext.intra_matrix` value.

func (*AVCodecContext) GetIntraMatrixAddr

func (avctx *AVCodecContext) GetIntraMatrixAddr() **uint16

GetIntraMatrixAddr gets `AVCodecContext.intra_matrix` address.

func (*AVCodecContext) GetKeyintMin

func (avctx *AVCodecContext) GetKeyintMin() int32

GetKeyintMin gets `AVCodecContext.keyint_min` value.

func (*AVCodecContext) GetKeyintMinAddr

func (avctx *AVCodecContext) GetKeyintMinAddr() *int32

GetKeyintMinAddr gets `AVCodecContext.keyint_min` address.

func (*AVCodecContext) GetLastPredictorCount

func (avctx *AVCodecContext) GetLastPredictorCount() int32

GetLastPredictorCount gets `AVCodecContext.last_predictor_count` value.

func (*AVCodecContext) GetLastPredictorCountAddr

func (avctx *AVCodecContext) GetLastPredictorCountAddr() *int32

GetLastPredictorCountAddr gets `AVCodecContext.last_predictor_count` address.

func (*AVCodecContext) GetLevel

func (avctx *AVCodecContext) GetLevel() int32

GetLevel gets `AVCodecContext.level` value.

func (*AVCodecContext) GetLevelAddr

func (avctx *AVCodecContext) GetLevelAddr() *int32

GetLevelAddr gets `AVCodecContext.level` address.

func (*AVCodecContext) GetLogLevelOffset

func (avctx *AVCodecContext) GetLogLevelOffset() int32

GetLogLevelOffset gets `AVCodecContext.log_level_offset` value.

func (*AVCodecContext) GetLogLevelOffsetAddr

func (avctx *AVCodecContext) GetLogLevelOffsetAddr() *int32

GetLogLevelOffsetAddr gets `AVCodecContext.log_level_offset` address.

func (*AVCodecContext) GetLowres

func (avctx *AVCodecContext) GetLowres() int32

GetLowres gets `AVCodecContext.lowres` value.

func (*AVCodecContext) GetLowresAddr

func (avctx *AVCodecContext) GetLowresAddr() *int32

GetLowresAddr gets `AVCodecContext.lowres` address.

func (*AVCodecContext) GetLumiMasking

func (avctx *AVCodecContext) GetLumiMasking() float32

GetLumiMasking gets `AVCodecContext.lumi_masking` value.

func (*AVCodecContext) GetLumiMaskingAddr

func (avctx *AVCodecContext) GetLumiMaskingAddr() *float32

GetLumiMaskingAddr gets `AVCodecContext.lumi_masking` address.

func (*AVCodecContext) GetMaxBFrames

func (avctx *AVCodecContext) GetMaxBFrames() int32

GetMaxBFrames gets `AVCodecContext.max_b_frames` value.

func (*AVCodecContext) GetMaxBFramesAddr

func (avctx *AVCodecContext) GetMaxBFramesAddr() *int32

GetMaxBFramesAddr gets `AVCodecContext.max_b_frames` address.

func (*AVCodecContext) GetMaxPixels

func (avctx *AVCodecContext) GetMaxPixels() int64

GetMaxPixels gets `AVCodecContext.max_pixels` value.

func (*AVCodecContext) GetMaxPixelsAddr

func (avctx *AVCodecContext) GetMaxPixelsAddr() *int64

GetMaxPixelsAddr gets `AVCodecContext.max_pixels` address.

func (*AVCodecContext) GetMaxQdiff

func (avctx *AVCodecContext) GetMaxQdiff() int32

GetMaxQdiff gets `AVCodecContext.max_qdiff` value.

func (*AVCodecContext) GetMaxQdiffAddr

func (avctx *AVCodecContext) GetMaxQdiffAddr() *int32

GetMaxQdiffAddr gets `AVCodecContext.max_qdiff` address.

func (*AVCodecContext) GetMaxSamples added in v0.43.1

func (avctx *AVCodecContext) GetMaxSamples() int64

GetMaxSamples gets `AVCodecContext.max_samples` value.

func (*AVCodecContext) GetMaxSamplesAddr added in v0.43.1

func (avctx *AVCodecContext) GetMaxSamplesAddr() *int64

GetMaxSamplesAddr gets `AVCodecContext.max_samples` address.

func (*AVCodecContext) GetMbCmp

func (avctx *AVCodecContext) GetMbCmp() int32

GetMbCmp gets `AVCodecContext.mb_cmp` value.

func (*AVCodecContext) GetMbCmpAddr

func (avctx *AVCodecContext) GetMbCmpAddr() *int32

GetMbCmpAddr gets `AVCodecContext.mb_cmp` address.

func (*AVCodecContext) GetMbDecision

func (avctx *AVCodecContext) GetMbDecision() int32

GetMbDecision gets `AVCodecContext.mb_decision` value.

func (*AVCodecContext) GetMbDecisionAddr

func (avctx *AVCodecContext) GetMbDecisionAddr() *int32

GetMbDecisionAddr gets `AVCodecContext.mb_decision` address.

func (*AVCodecContext) GetMbLmax

func (avctx *AVCodecContext) GetMbLmax() int32

GetMbLmax gets `AVCodecContext.mb_lmax` value.

func (*AVCodecContext) GetMbLmaxAddr

func (avctx *AVCodecContext) GetMbLmaxAddr() *int32

GetMbLmaxAddr gets `AVCodecContext.mb_lmax` address.

func (*AVCodecContext) GetMbLmin

func (avctx *AVCodecContext) GetMbLmin() int32

GetMbLmin gets `AVCodecContext.mb_lmin` value.

func (*AVCodecContext) GetMbLminAddr

func (avctx *AVCodecContext) GetMbLminAddr() *int32

GetMbLminAddr gets `AVCodecContext.mb_lmin` address.

func (*AVCodecContext) GetMeCmp

func (avctx *AVCodecContext) GetMeCmp() int32

GetMeCmp gets `AVCodecContext.me_cmp` value.

func (*AVCodecContext) GetMeCmpAddr

func (avctx *AVCodecContext) GetMeCmpAddr() *int32

GetMeCmpAddr gets `AVCodecContext.me_cmp` address.

func (*AVCodecContext) GetMePreCmp

func (avctx *AVCodecContext) GetMePreCmp() int32

GetMePreCmp gets `AVCodecContext.me_pre_cmp` value.

func (*AVCodecContext) GetMePreCmpAddr

func (avctx *AVCodecContext) GetMePreCmpAddr() *int32

GetMePreCmpAddr gets `AVCodecContext.me_pre_cmp` address.

func (*AVCodecContext) GetMeSubCmp

func (avctx *AVCodecContext) GetMeSubCmp() int32

GetMeSubCmp gets `AVCodecContext.me_sub_cmp` value.

func (*AVCodecContext) GetMeSubCmpAddr

func (avctx *AVCodecContext) GetMeSubCmpAddr() *int32

GetMeSubCmpAddr gets `AVCodecContext.me_sub_cmp` address.

func (*AVCodecContext) GetMeSubpelQuality

func (avctx *AVCodecContext) GetMeSubpelQuality() int32

GetMeSubpelQuality gets `AVCodecContext.me_subpel_quality` value.

func (*AVCodecContext) GetMeSubpelQualityAddr

func (avctx *AVCodecContext) GetMeSubpelQualityAddr() *int32

GetMeSubpelQualityAddr gets `AVCodecContext.me_subpel_quality` address.

func (*AVCodecContext) GetMv0Threshold

func (avctx *AVCodecContext) GetMv0Threshold() int32

GetMv0Threshold gets `AVCodecContext.mv0_threshold` value.

func (*AVCodecContext) GetMv0ThresholdAddr

func (avctx *AVCodecContext) GetMv0ThresholdAddr() *int32

GetMv0ThresholdAddr gets `AVCodecContext.mv0_threshold` address.

func (*AVCodecContext) GetNbCodedSideData

func (avctx *AVCodecContext) GetNbCodedSideData() int32

GetNbCodedSideData gets `AVCodecContext.nb_coded_side_data` value.

func (*AVCodecContext) GetNbCodedSideDataAddr

func (avctx *AVCodecContext) GetNbCodedSideDataAddr() *int32

GetNbCodedSideDataAddr gets `AVCodecContext.nb_coded_side_data` address.

func (*AVCodecContext) GetNbDecodedSideData added in v0.70.1

func (avctx *AVCodecContext) GetNbDecodedSideData() int32

GetNbDecodedSideData gets `AVCodecContext.nb_decoded_side_data` value.

func (*AVCodecContext) GetNbDecodedSideDataAddr added in v0.70.1

func (avctx *AVCodecContext) GetNbDecodedSideDataAddr() *int32

GetNbDecodedSideDataAddr gets `AVCodecContext.nb_decoded_side_data` address.

func (*AVCodecContext) GetNbSideDataPreferPacket added in v0.70.1

func (avctx *AVCodecContext) GetNbSideDataPreferPacket() uint32

GetNbSideDataPreferPacket gets `AVCodecContext.nb_side_data_prefer_packet` value.

func (*AVCodecContext) GetNbSideDataPreferPacketAddr added in v0.70.1

func (avctx *AVCodecContext) GetNbSideDataPreferPacketAddr() *uint32

GetNbSideDataPreferPacketAddr gets `AVCodecContext.nb_side_data_prefer_packet` address.

func (*AVCodecContext) GetNsseWeight

func (avctx *AVCodecContext) GetNsseWeight() int32

GetNsseWeight gets `AVCodecContext.nsse_weight` value.

func (*AVCodecContext) GetNsseWeightAddr

func (avctx *AVCodecContext) GetNsseWeightAddr() *int32

GetNsseWeightAddr gets `AVCodecContext.nsse_weight` address.

func (*AVCodecContext) GetOpaque

func (avctx *AVCodecContext) GetOpaque() unsafe.Pointer

GetOpaque gets `AVCodecContext.opaque` value.

func (*AVCodecContext) GetOpaqueAddr

func (avctx *AVCodecContext) GetOpaqueAddr() unsafe.Pointer

GetOpaqueAddr gets `AVCodecContext.opaque` address.

func (*AVCodecContext) GetPMasking

func (avctx *AVCodecContext) GetPMasking() float32

GetPMasking gets `AVCodecContext.p_masking` value.

func (*AVCodecContext) GetPMaskingAddr

func (avctx *AVCodecContext) GetPMaskingAddr() *float32

GetPMaskingAddr gets `AVCodecContext.p_masking` address.

func (*AVCodecContext) GetPixFmt

func (avctx *AVCodecContext) GetPixFmt() AVPixelFormat

GetPixFmt gets `AVCodecContext.pix_fmt` value.

func (*AVCodecContext) GetPixFmtAddr

func (avctx *AVCodecContext) GetPixFmtAddr() *AVPixelFormat

GetPixFmtAddr gets `AVCodecContext.pix_fmt` address.

func (*AVCodecContext) GetPktTimebase

func (avctx *AVCodecContext) GetPktTimebase() AVRational

GetPktTimebase gets `AVCodecContext.pkt_timebase` value.

func (*AVCodecContext) GetPktTimebaseAddr

func (avctx *AVCodecContext) GetPktTimebaseAddr() *AVRational

GetPktTimebaseAddr gets `AVCodecContext.pkt_timebase` address.

func (*AVCodecContext) GetPreDiaSize

func (avctx *AVCodecContext) GetPreDiaSize() int32

GetPreDiaSize gets `AVCodecContext.pre_dia_size` value.

func (*AVCodecContext) GetPreDiaSizeAddr

func (avctx *AVCodecContext) GetPreDiaSizeAddr() *int32

GetPreDiaSizeAddr gets `AVCodecContext.pre_dia_size` address.

func (*AVCodecContext) GetPrivData

func (avctx *AVCodecContext) GetPrivData() unsafe.Pointer

GetPrivData gets `AVCodecContext.priv_data` value.

func (*AVCodecContext) GetPrivDataAddr

func (avctx *AVCodecContext) GetPrivDataAddr() unsafe.Pointer

GetPrivDataAddr gets `AVCodecContext.priv_data` address.

func (*AVCodecContext) GetProfile

func (avctx *AVCodecContext) GetProfile() int32

GetProfile gets `AVCodecContext.profile` value.

func (*AVCodecContext) GetProfileAddr

func (avctx *AVCodecContext) GetProfileAddr() *int32

GetProfileAddr gets `AVCodecContext.profile` address.

func (*AVCodecContext) GetProperties

func (avctx *AVCodecContext) GetProperties() uint32

GetProperties gets `AVCodecContext.properties` value.

func (*AVCodecContext) GetPropertiesAddr

func (avctx *AVCodecContext) GetPropertiesAddr() *uint32

GetPropertiesAddr gets `AVCodecContext.properties` address.

func (*AVCodecContext) GetQblur

func (avctx *AVCodecContext) GetQblur() float32

GetQblur gets `AVCodecContext.qblur` value.

func (*AVCodecContext) GetQblurAddr

func (avctx *AVCodecContext) GetQblurAddr() *float32

GetQblurAddr gets `AVCodecContext.qblur` address.

func (*AVCodecContext) GetQcompress

func (avctx *AVCodecContext) GetQcompress() float32

GetQcompress gets `AVCodecContext.qcompress` value.

func (*AVCodecContext) GetQcompressAddr

func (avctx *AVCodecContext) GetQcompressAddr() *float32

GetQcompressAddr gets `AVCodecContext.qcompress` address.

func (*AVCodecContext) GetQmax

func (avctx *AVCodecContext) GetQmax() int32

GetQmax gets `AVCodecContext.qmax` value.

func (*AVCodecContext) GetQmaxAddr

func (avctx *AVCodecContext) GetQmaxAddr() *int32

GetQmaxAddr gets `AVCodecContext.qmax` address.

func (*AVCodecContext) GetQmin

func (avctx *AVCodecContext) GetQmin() int32

GetQmin gets `AVCodecContext.qmin` value.

func (*AVCodecContext) GetQminAddr

func (avctx *AVCodecContext) GetQminAddr() *int32

GetQminAddr gets `AVCodecContext.qmin` address.

func (*AVCodecContext) GetRcBufferSize

func (avctx *AVCodecContext) GetRcBufferSize() int32

GetRcBufferSize gets `AVCodecContext.rc_buffer_size` value.

func (*AVCodecContext) GetRcBufferSizeAddr

func (avctx *AVCodecContext) GetRcBufferSizeAddr() *int32

GetRcBufferSizeAddr gets `AVCodecContext.rc_buffer_size` address.

func (*AVCodecContext) GetRcInitialBufferOccupancy

func (avctx *AVCodecContext) GetRcInitialBufferOccupancy() int32

GetRcInitialBufferOccupancy gets `AVCodecContext.rc_initial_buffer_occupancy` value.

func (*AVCodecContext) GetRcInitialBufferOccupancyAddr

func (avctx *AVCodecContext) GetRcInitialBufferOccupancyAddr() *int32

GetRcInitialBufferOccupancyAddr gets `AVCodecContext.rc_initial_buffer_occupancy` address.

func (*AVCodecContext) GetRcMaxAvailableVbvUse

func (avctx *AVCodecContext) GetRcMaxAvailableVbvUse() float32

GetRcMaxAvailableVbvUse gets `AVCodecContext.rc_max_available_vbv_use` value.

func (*AVCodecContext) GetRcMaxAvailableVbvUseAddr

func (avctx *AVCodecContext) GetRcMaxAvailableVbvUseAddr() *float32

GetRcMaxAvailableVbvUseAddr gets `AVCodecContext.rc_max_available_vbv_use` address.

func (*AVCodecContext) GetRcMaxRate

func (avctx *AVCodecContext) GetRcMaxRate() int64

GetRcMaxRate gets `AVCodecContext.rc_max_rate` value.

func (*AVCodecContext) GetRcMaxRateAddr

func (avctx *AVCodecContext) GetRcMaxRateAddr() *int64

GetRcMaxRateAddr gets `AVCodecContext.rc_max_rate` address.

func (*AVCodecContext) GetRcMinRate

func (avctx *AVCodecContext) GetRcMinRate() int64

GetRcMinRate gets `AVCodecContext.rc_min_rate` value.

func (*AVCodecContext) GetRcMinRateAddr

func (avctx *AVCodecContext) GetRcMinRateAddr() *int64

GetRcMinRateAddr gets `AVCodecContext.rc_min_rate` address.

func (*AVCodecContext) GetRcMinVbvOverflowUse

func (avctx *AVCodecContext) GetRcMinVbvOverflowUse() float32

GetRcMinVbvOverflowUse gets `AVCodecContext.rc_min_vbv_overflow_use` value.

func (*AVCodecContext) GetRcMinVbvOverflowUseAddr

func (avctx *AVCodecContext) GetRcMinVbvOverflowUseAddr() *float32

GetRcMinVbvOverflowUseAddr gets `AVCodecContext.rc_min_vbv_overflow_use` address.

func (*AVCodecContext) GetRcOverride

func (avctx *AVCodecContext) GetRcOverride() *RcOverride

GetRcOverride gets `AVCodecContext.rc_override` value.

func (*AVCodecContext) GetRcOverrideAddr

func (avctx *AVCodecContext) GetRcOverrideAddr() **RcOverride

GetRcOverrideAddr gets `AVCodecContext.rc_override` address.

func (*AVCodecContext) GetRcOverrideCount

func (avctx *AVCodecContext) GetRcOverrideCount() int32

GetRcOverrideCount gets `AVCodecContext.rc_override_count` value.

func (*AVCodecContext) GetRcOverrideCountAddr

func (avctx *AVCodecContext) GetRcOverrideCountAddr() *int32

GetRcOverrideCountAddr gets `AVCodecContext.rc_override_count` address.

func (*AVCodecContext) GetRefs

func (avctx *AVCodecContext) GetRefs() int32

GetRefs gets `AVCodecContext.refs` value.

func (*AVCodecContext) GetRefsAddr

func (avctx *AVCodecContext) GetRefsAddr() *int32

GetRefsAddr gets `AVCodecContext.refs` address.

func (*AVCodecContext) GetRequestSampleFmt

func (avctx *AVCodecContext) GetRequestSampleFmt() AVSampleFormat

GetRequestSampleFmt gets `AVCodecContext.request_sample_fmt` value.

func (*AVCodecContext) GetRequestSampleFmtAddr

func (avctx *AVCodecContext) GetRequestSampleFmtAddr() *AVSampleFormat

GetRequestSampleFmtAddr gets `AVCodecContext.request_sample_fmt` address.

func (*AVCodecContext) GetSampleAspectRatio

func (avctx *AVCodecContext) GetSampleAspectRatio() AVRational

GetSampleAspectRatio gets `AVCodecContext.sample_aspect_ratio` value.

func (*AVCodecContext) GetSampleAspectRatioAddr

func (avctx *AVCodecContext) GetSampleAspectRatioAddr() *AVRational

GetSampleAspectRatioAddr gets `AVCodecContext.sample_aspect_ratio` address.

func (*AVCodecContext) GetSampleFmt

func (avctx *AVCodecContext) GetSampleFmt() AVSampleFormat

GetSampleFmt gets `AVCodecContext.sample_fmt` value.

func (*AVCodecContext) GetSampleFmtAddr

func (avctx *AVCodecContext) GetSampleFmtAddr() *AVSampleFormat

GetSampleFmtAddr gets `AVCodecContext.sample_fmt` address.

func (*AVCodecContext) GetSampleRate

func (avctx *AVCodecContext) GetSampleRate() int32

GetSampleRate gets `AVCodecContext.sample_rate` value.

func (*AVCodecContext) GetSampleRateAddr

func (avctx *AVCodecContext) GetSampleRateAddr() *int32

GetSampleRateAddr gets `AVCodecContext.sample_rate` address.

func (*AVCodecContext) GetSeekPreroll

func (avctx *AVCodecContext) GetSeekPreroll() int32

GetSeekPreroll gets `AVCodecContext.seek_preroll` value.

func (*AVCodecContext) GetSeekPrerollAddr

func (avctx *AVCodecContext) GetSeekPrerollAddr() *int32

GetSeekPrerollAddr gets `AVCodecContext.seek_preroll` address.

func (*AVCodecContext) GetSideDataPreferPacket added in v0.70.1

func (avctx *AVCodecContext) GetSideDataPreferPacket() []int32

GetSideDataPreferPacket gets `AVCodecContext.side_data_prefer_packet` value.

func (*AVCodecContext) GetSideDataPreferPacketAddr added in v0.70.1

func (avctx *AVCodecContext) GetSideDataPreferPacketAddr() **int32

GetSideDataPreferPacketAddr gets `AVCodecContext.side_data_prefer_packet` address.

func (*AVCodecContext) GetSkipAlpha

func (avctx *AVCodecContext) GetSkipAlpha() int32

GetSkipAlpha gets `AVCodecContext.skip_alpha` value.

func (*AVCodecContext) GetSkipAlphaAddr

func (avctx *AVCodecContext) GetSkipAlphaAddr() *int32

GetSkipAlphaAddr gets `AVCodecContext.skip_alpha` address.

func (*AVCodecContext) GetSkipBottom

func (avctx *AVCodecContext) GetSkipBottom() int32

GetSkipBottom gets `AVCodecContext.skip_bottom` value.

func (*AVCodecContext) GetSkipBottomAddr

func (avctx *AVCodecContext) GetSkipBottomAddr() *int32

GetSkipBottomAddr gets `AVCodecContext.skip_bottom` address.

func (*AVCodecContext) GetSkipFrame

func (avctx *AVCodecContext) GetSkipFrame() AVDiscard

GetSkipFrame gets `AVCodecContext.skip_frame` value.

func (*AVCodecContext) GetSkipFrameAddr

func (avctx *AVCodecContext) GetSkipFrameAddr() *AVDiscard

GetSkipFrameAddr gets `AVCodecContext.skip_frame` address.

func (*AVCodecContext) GetSkipIdct

func (avctx *AVCodecContext) GetSkipIdct() AVDiscard

GetSkipIdct gets `AVCodecContext.skip_idct` value.

func (*AVCodecContext) GetSkipIdctAddr

func (avctx *AVCodecContext) GetSkipIdctAddr() *AVDiscard

GetSkipIdctAddr gets `AVCodecContext.skip_idct` address.

func (*AVCodecContext) GetSkipLoopFilter

func (avctx *AVCodecContext) GetSkipLoopFilter() AVDiscard

GetSkipLoopFilter gets `AVCodecContext.skip_loop_filter` value.

func (*AVCodecContext) GetSkipLoopFilterAddr

func (avctx *AVCodecContext) GetSkipLoopFilterAddr() *AVDiscard

GetSkipLoopFilterAddr gets `AVCodecContext.skip_loop_filter` address.

func (*AVCodecContext) GetSkipTop

func (avctx *AVCodecContext) GetSkipTop() int32

GetSkipTop gets `AVCodecContext.skip_top` value.

func (*AVCodecContext) GetSkipTopAddr

func (avctx *AVCodecContext) GetSkipTopAddr() *int32

GetSkipTopAddr gets `AVCodecContext.skip_top` address.

func (*AVCodecContext) GetSliceFlags

func (avctx *AVCodecContext) GetSliceFlags() int32

GetSliceFlags gets `AVCodecContext.slice_flags` value.

func (*AVCodecContext) GetSliceFlagsAddr

func (avctx *AVCodecContext) GetSliceFlagsAddr() *int32

GetSliceFlagsAddr gets `AVCodecContext.slice_flags` address.

func (*AVCodecContext) GetSlices

func (avctx *AVCodecContext) GetSlices() int32

GetSlices gets `AVCodecContext.slices` value.

func (*AVCodecContext) GetSlicesAddr

func (avctx *AVCodecContext) GetSlicesAddr() *int32

GetSlicesAddr gets `AVCodecContext.slices` address.

func (*AVCodecContext) GetSpatialCplxMasking

func (avctx *AVCodecContext) GetSpatialCplxMasking() float32

GetSpatialCplxMasking gets `AVCodecContext.spatial_cplx_masking` value.

func (*AVCodecContext) GetSpatialCplxMaskingAddr

func (avctx *AVCodecContext) GetSpatialCplxMaskingAddr() *float32

GetSpatialCplxMaskingAddr gets `AVCodecContext.spatial_cplx_masking` address.

func (*AVCodecContext) GetStatsIn

func (avctx *AVCodecContext) GetStatsIn() string

GetStatsIn gets `AVCodecContext.stats_in` value.

func (*AVCodecContext) GetStatsOut

func (avctx *AVCodecContext) GetStatsOut() string

GetStatsOut gets `AVCodecContext.stats_out` value.

func (*AVCodecContext) GetStrictStdCompliance

func (avctx *AVCodecContext) GetStrictStdCompliance() int32

GetStrictStdCompliance gets `AVCodecContext.strict_std_compliance` value.

func (*AVCodecContext) GetStrictStdComplianceAddr

func (avctx *AVCodecContext) GetStrictStdComplianceAddr() *int32

GetStrictStdComplianceAddr gets `AVCodecContext.strict_std_compliance` address.

func (*AVCodecContext) GetSubCharenc

func (avctx *AVCodecContext) GetSubCharenc() string

GetSubCharenc gets `AVCodecContext.sub_charenc` value.

func (*AVCodecContext) GetSubCharencMode

func (avctx *AVCodecContext) GetSubCharencMode() int32

GetSubCharencMode gets `AVCodecContext.sub_charenc_mode` value.

func (*AVCodecContext) GetSubCharencModeAddr

func (avctx *AVCodecContext) GetSubCharencModeAddr() *int32

GetSubCharencModeAddr gets `AVCodecContext.sub_charenc_mode` address.

func (*AVCodecContext) GetSubtitleHeader

func (avctx *AVCodecContext) GetSubtitleHeader() *uint8

GetSubtitleHeader gets `AVCodecContext.subtitle_header` value.

func (*AVCodecContext) GetSubtitleHeaderAddr

func (avctx *AVCodecContext) GetSubtitleHeaderAddr() **uint8

GetSubtitleHeaderAddr gets `AVCodecContext.subtitle_header` address.

func (*AVCodecContext) GetSubtitleHeaderSize

func (avctx *AVCodecContext) GetSubtitleHeaderSize() int32

GetSubtitleHeaderSize gets `AVCodecContext.subtitle_header_size` value.

func (*AVCodecContext) GetSubtitleHeaderSizeAddr

func (avctx *AVCodecContext) GetSubtitleHeaderSizeAddr() *int32

GetSubtitleHeaderSizeAddr gets `AVCodecContext.subtitle_header_size` address.

func (*AVCodecContext) GetSwPixFmt

func (avctx *AVCodecContext) GetSwPixFmt() AVPixelFormat

GetSwPixFmt gets `AVCodecContext.sw_pix_fmt` value.

func (*AVCodecContext) GetSwPixFmtAddr

func (avctx *AVCodecContext) GetSwPixFmtAddr() *AVPixelFormat

GetSwPixFmtAddr gets `AVCodecContext.sw_pix_fmt` address.

func (*AVCodecContext) GetTemporalCplxMasking

func (avctx *AVCodecContext) GetTemporalCplxMasking() float32

GetTemporalCplxMasking gets `AVCodecContext.temporal_cplx_masking` value.

func (*AVCodecContext) GetTemporalCplxMaskingAddr

func (avctx *AVCodecContext) GetTemporalCplxMaskingAddr() *float32

GetTemporalCplxMaskingAddr gets `AVCodecContext.temporal_cplx_masking` address.

func (*AVCodecContext) GetThreadCount

func (avctx *AVCodecContext) GetThreadCount() int32

GetThreadCount gets `AVCodecContext.thread_count` value.

func (*AVCodecContext) GetThreadCountAddr

func (avctx *AVCodecContext) GetThreadCountAddr() *int32

GetThreadCountAddr gets `AVCodecContext.thread_count` address.

func (*AVCodecContext) GetThreadType

func (avctx *AVCodecContext) GetThreadType() int32

GetThreadType gets `AVCodecContext.threadtype` value.

func (*AVCodecContext) GetThreadTypeAddr

func (avctx *AVCodecContext) GetThreadTypeAddr() *int32

GetThreadTypeAddr gets `AVCodecContext.threadtype` address.

func (*AVCodecContext) GetTicksPerFrame deprecated

func (avctx *AVCodecContext) GetTicksPerFrame() int32

Deprecated: - decoding: Use AVCodecDescriptor.props & AV_CODEC_PROP_FIELDS instead. - encoding: Set AVCodecContext.framerate instead.

GetTicksPerFrame gets `AVCodecContext.ticks_per_frame` value.

func (*AVCodecContext) GetTicksPerFrameAddr deprecated

func (avctx *AVCodecContext) GetTicksPerFrameAddr() *int32

Deprecated: - decoding: Use AVCodecDescriptor.props & AV_CODEC_PROP_FIELDS instead. - encoding: Set AVCodecContext.framerate instead.

GetTicksPerFrameAddr gets `AVCodecContext.ticks_per_frame` address.

func (*AVCodecContext) GetTimeBase

func (avctx *AVCodecContext) GetTimeBase() AVRational

GetTimeBase gets `AVCodecContext.time_base` value.

func (*AVCodecContext) GetTimeBaseAddr

func (avctx *AVCodecContext) GetTimeBaseAddr() *AVRational

GetTimeBaseAddr gets `AVCodecContext.time_base` address.

func (*AVCodecContext) GetTrailingPadding

func (avctx *AVCodecContext) GetTrailingPadding() int32

GetTrailingPadding gets `AVCodecContext.trailing_padding` value.

func (*AVCodecContext) GetTrailingPaddingAddr

func (avctx *AVCodecContext) GetTrailingPaddingAddr() *int32

GetTrailingPaddingAddr gets `AVCodecContext.trailing_padding` address.

func (*AVCodecContext) GetTrellis

func (avctx *AVCodecContext) GetTrellis() int32

GetTrellis gets `AVCodecContext.trellis` value.

func (*AVCodecContext) GetTrellisAddr

func (avctx *AVCodecContext) GetTrellisAddr() *int32

GetTrellisAddr gets `AVCodecContext.trellis` address.

func (*AVCodecContext) GetWidth

func (avctx *AVCodecContext) GetWidth() int32

GetWidth gets `AVCodecContext.width` value.

func (*AVCodecContext) GetWidthAddr

func (avctx *AVCodecContext) GetWidthAddr() *int32

GetWidthAddr gets `AVCodecContext.width` address.

func (*AVCodecContext) GetWorkaroundBugs

func (avctx *AVCodecContext) GetWorkaroundBugs() int32

GetWorkaroundBugs gets `AVCodecContext.workaround_bugs` value.

func (*AVCodecContext) GetWorkaroundBugsAddr

func (avctx *AVCodecContext) GetWorkaroundBugsAddr() *int32

GetWorkaroundBugsAddr gets `AVCodecContext.workaround_bugs` address.

func (*AVCodecContext) SetActiveThreadType

func (avctx *AVCodecContext) SetActiveThreadType(v int32)

SetActiveThreadType sets `AVCodecContext.active_threadtype` value.

func (*AVCodecContext) SetApplyCropping

func (avctx *AVCodecContext) SetApplyCropping(v int32)

SetApplyCropping sets `AVCodecContext.apply_cropping` value.

func (*AVCodecContext) SetAudioServiceType

func (avctx *AVCodecContext) SetAudioServiceType(v AVAudioServiceType)

SetAudioServiceType sets `AVCodecContext.audio_servicetype` value.

func (*AVCodecContext) SetAvClass

func (avctx *AVCodecContext) SetAvClass(v *AVClass)

SetAvClass sets `AVCodecContext.av_class` value.

func (*AVCodecContext) SetBQuantFactor

func (avctx *AVCodecContext) SetBQuantFactor(v float32)

SetBQuantFactor sets `AVCodecContext.b_quant_factor` value.

func (*AVCodecContext) SetBQuantOffset

func (avctx *AVCodecContext) SetBQuantOffset(v float32)

SetBQuantOffset sets `AVCodecContext.b_quant_offset` value.

func (*AVCodecContext) SetBidirRefine

func (avctx *AVCodecContext) SetBidirRefine(v int32)

SetBidirRefine sets `AVCodecContext.bidir_refine` value.

func (*AVCodecContext) SetBitRate

func (avctx *AVCodecContext) SetBitRate(v int64)

SetBitRate sets `AVCodecContext.bit_rate` value.

func (*AVCodecContext) SetBitRateTolerance

func (avctx *AVCodecContext) SetBitRateTolerance(v int32)

SetBitRateTolerance sets `AVCodecContext.bit_rate_tolerance` value.

func (*AVCodecContext) SetBitsPerCodedSample

func (avctx *AVCodecContext) SetBitsPerCodedSample(v int32)

SetBitsPerCodedSample sets `AVCodecContext.bits_per_coded_sample` value.

func (*AVCodecContext) SetBitsPerRawSample

func (avctx *AVCodecContext) SetBitsPerRawSample(v int32)

SetBitsPerRawSample sets `AVCodecContext.bits_per_raw_sample` value.

func (*AVCodecContext) SetBlockAlign

func (avctx *AVCodecContext) SetBlockAlign(v int32)

SetBlockAlign sets `AVCodecContext.block_align` value.

func (*AVCodecContext) SetChLayout added in v0.51.2

func (avctx *AVCodecContext) SetChLayout(v AVChannelLayout)

SetChLayout sets `AVCodecContext.ch_layout` value.

func (*AVCodecContext) SetChromaIntraMatrix

func (avctx *AVCodecContext) SetChromaIntraMatrix(v *uint16)

SetChromaIntraMatrix sets `AVCodecContext.chroma_intra_matrix` value.

func (*AVCodecContext) SetChromaSampleLocation

func (avctx *AVCodecContext) SetChromaSampleLocation(v AVChromaLocation)

SetChromaSampleLocation sets `AVCodecContext.chroma_sample_location` value.

func (*AVCodecContext) SetCodec

func (avctx *AVCodecContext) SetCodec(v *AVCodec)

SetCodec sets `AVCodecContext.codec` value.

func (*AVCodecContext) SetCodecDescriptor

func (avctx *AVCodecContext) SetCodecDescriptor(v *AVCodecDescriptor)

SetCodecDescriptor sets `AVCodecContext.codec_descriptor` value.

func (*AVCodecContext) SetCodecId

func (avctx *AVCodecContext) SetCodecId(v AVCodecID)

SetCodecId sets `AVCodecContext.codec_id` value.

func (*AVCodecContext) SetCodecTag

func (avctx *AVCodecContext) SetCodecTag(v uint32)

SetCodecTag sets `AVCodecContext.codec_tag` value.

func (*AVCodecContext) SetCodecType

func (avctx *AVCodecContext) SetCodecType(v AVMediaType)

SetCodecType sets `AVCodecContext.codectype` value.

func (*AVCodecContext) SetCodedHeight

func (avctx *AVCodecContext) SetCodedHeight(v int32)

SetCodedHeight sets `AVCodecContext.coded_height` value.

func (*AVCodecContext) SetCodedSideData

func (avctx *AVCodecContext) SetCodedSideData(v *AVPacketSideData)

SetCodedSideData sets `AVCodecContext.coded_side_data` value.

func (*AVCodecContext) SetCodedWidth

func (avctx *AVCodecContext) SetCodedWidth(v int32)

SetCodedWidth sets `AVCodecContext.coded_width` value.

func (*AVCodecContext) SetColorPrimaries

func (avctx *AVCodecContext) SetColorPrimaries(v AVColorPrimaries)

SetColorPrimaries sets `AVCodecContext.color_primaries` value.

func (*AVCodecContext) SetColorRange

func (avctx *AVCodecContext) SetColorRange(v AVColorRange)

SetColorRange sets `AVCodecContext.colorrange` value.

func (*AVCodecContext) SetColorTrc

func (avctx *AVCodecContext) SetColorTrc(v AVColorTransferCharacteristic)

SetColorTrc sets `AVCodecContext.color_trc` value.

func (*AVCodecContext) SetColorspace

func (avctx *AVCodecContext) SetColorspace(v AVColorSpace)

SetColorspace sets `AVCodecContext.colorspace` value.

func (*AVCodecContext) SetCompressionLevel

func (avctx *AVCodecContext) SetCompressionLevel(v int32)

SetCompressionLevel sets `AVCodecContext.compression_level` value.

func (*AVCodecContext) SetCutoff

func (avctx *AVCodecContext) SetCutoff(v int32)

SetCutoff sets `AVCodecContext.cutoff` value.

func (*AVCodecContext) SetDarkMasking

func (avctx *AVCodecContext) SetDarkMasking(v float32)

SetDarkMasking sets `AVCodecContext.dark_masking` value.

func (*AVCodecContext) SetDctAlgo

func (avctx *AVCodecContext) SetDctAlgo(v int32)

SetDctAlgo sets `AVCodecContext.dct_algo` value.

func (*AVCodecContext) SetDebug

func (avctx *AVCodecContext) SetDebug(v int32)

SetDebug sets `AVCodecContext.debug` value.

func (*AVCodecContext) SetDecodedSideData added in v0.70.1

func (avctx *AVCodecContext) SetDecodedSideData(v **AVFrameSideData)

SetDecodedSideData sets `AVCodecContext.decoded_side_data` value.

func (*AVCodecContext) SetDelay

func (avctx *AVCodecContext) SetDelay(v int32)

SetDelay sets `AVCodecContext.delay` value.

func (*AVCodecContext) SetDiaSize

func (avctx *AVCodecContext) SetDiaSize(v int32)

SetDiaSize sets `AVCodecContext.dia_size` value.

func (*AVCodecContext) SetDiscardDamagedPercentage added in v0.42.1

func (avctx *AVCodecContext) SetDiscardDamagedPercentage(v int32)

SetDiscardDamagedPercentage sets `AVCodecContext.discard_damaged_percentage` value.

func (*AVCodecContext) SetDrawHorizBand

func (avctx *AVCodecContext) SetDrawHorizBand(v AVCodecContextDrawHorizBandFunc)

SetDrawHorizBand sets `AVCodecContext.draw_horiz_band` value.

func (*AVCodecContext) SetDumpSeparator

func (avctx *AVCodecContext) SetDumpSeparator(v *uint8)

SetDumpSeparator sets `AVCodecContext.dump_separator` value.

func (*AVCodecContext) SetErrRecognition

func (avctx *AVCodecContext) SetErrRecognition(v int32)

SetErrRecognition sets `AVCodecContext.err_recognition` value.

func (*AVCodecContext) SetError

func (avctx *AVCodecContext) SetError(v []uint64)

SetError sets `AVCodecContext.error` value.

func (*AVCodecContext) SetErrorConcealment

func (avctx *AVCodecContext) SetErrorConcealment(v int32)

SetErrorConcealment sets `AVCodecContext.error_concealment` value.

func (*AVCodecContext) SetExecute

SetExecute sets `AVCodecContext.execute` value.

func (*AVCodecContext) SetExecute2

func (avctx *AVCodecContext) SetExecute2(v AvCodecContextInternalExecute2Func)

SetExecute2 sets `AVCodecContext.execute2` value.

func (*AVCodecContext) SetExportSideData added in v0.43.1

func (avctx *AVCodecContext) SetExportSideData(v int32)

SetExportSideData sets `AVCodecContext.export_side_data` value.

func (*AVCodecContext) SetExtraHwFrames

func (avctx *AVCodecContext) SetExtraHwFrames(v int32)

SetExtraHwFrames sets `AVCodecContext.extra_hw_frames` value.

func (*AVCodecContext) SetExtradata

func (avctx *AVCodecContext) SetExtradata(v *uint8)

SetExtradata sets `AVCodecContext.extradata` value.

func (*AVCodecContext) SetExtradataSize

func (avctx *AVCodecContext) SetExtradataSize(v int32)

SetExtradataSize sets `AVCodecContext.extradata_size` value.

func (*AVCodecContext) SetFieldOrder

func (avctx *AVCodecContext) SetFieldOrder(v AVFieldOrder)

SetFieldOrder sets `AVCodecContext.field_order` value.

func (*AVCodecContext) SetFlags

func (avctx *AVCodecContext) SetFlags(v int32)

SetFlags sets `AVCodecContext.flags` value.

func (*AVCodecContext) SetFlags2

func (avctx *AVCodecContext) SetFlags2(v int32)

SetFlags2 sets `AVCodecContext.flags2` value.

func (*AVCodecContext) SetFrameNum added in v0.60.1

func (avctx *AVCodecContext) SetFrameNum(v int64)

SetFrameNum sets `AVCodecContext.frame_num` value.

func (*AVCodecContext) SetFrameSize

func (avctx *AVCodecContext) SetFrameSize(v int32)

SetFrameSize sets `AVCodecContext.frame_size` value.

func (*AVCodecContext) SetFramerate

func (avctx *AVCodecContext) SetFramerate(v AVRational)

SetFramerate sets `AVCodecContext.framerate` value.

func (*AVCodecContext) SetGetBuffer2

func (avctx *AVCodecContext) SetGetBuffer2(v AVCodecContextGetBuffer2Func)

SetGetBuffer2 sets `AVCodecContext.get_buffer2` value.

func (*AVCodecContext) SetGetEncodeBuffer added in v0.44.1

func (avctx *AVCodecContext) SetGetEncodeBuffer(v AVCodecContextGetEncodeBufferFunc)

SetGetEncodeBuffer sets `AVCodecContext.get_encode_buffer` value.

func (*AVCodecContext) SetGetFormat

func (avctx *AVCodecContext) SetGetFormat(v AVCodecContextGetFormatFunc)

SetGetFormat sets `AVCodecContext.get_format` value.

func (*AVCodecContext) SetGlobalQuality

func (avctx *AVCodecContext) SetGlobalQuality(v int32)

SetGlobalQuality sets `AVCodecContext.global_quality` value.

func (*AVCodecContext) SetGopSize

func (avctx *AVCodecContext) SetGopSize(v int32)

SetGopSize sets `AVCodecContext.gop_size` value.

func (*AVCodecContext) SetHasBFrames

func (avctx *AVCodecContext) SetHasBFrames(v int32)

SetHasBFrames sets `AVCodecContext.has_b_frames` value.

func (*AVCodecContext) SetHeight

func (avctx *AVCodecContext) SetHeight(v int32)

SetHeight sets `AVCodecContext.height` value.

func (*AVCodecContext) SetHwDeviceCtx

func (avctx *AVCodecContext) SetHwDeviceCtx(v *AVBufferRef)

SetHwDeviceCtx sets `AVCodecContext.hw_device_ctx` value.

func (*AVCodecContext) SetHwFramesCtx

func (avctx *AVCodecContext) SetHwFramesCtx(v *AVBufferRef)

SetHwFramesCtx sets `AVCodecContext.hw_frames_ctx` value.

func (*AVCodecContext) SetHwaccel

func (avctx *AVCodecContext) SetHwaccel(v *AVHWAccel)

SetHwaccel sets `AVCodecContext.hwaccel` value.

func (*AVCodecContext) SetHwaccelContext

func (avctx *AVCodecContext) SetHwaccelContext(v CVoidPointer)

SetHwaccelContext sets `AVCodecContext.hwaccel_context` value.

func (*AVCodecContext) SetHwaccelFlags

func (avctx *AVCodecContext) SetHwaccelFlags(v int32)

SetHwaccelFlags sets `AVCodecContext.hwaccel_flags` value.

func (*AVCodecContext) SetIQuantFactor

func (avctx *AVCodecContext) SetIQuantFactor(v float32)

SetIQuantFactor sets `AVCodecContext.i_quant_factor` value.

func (*AVCodecContext) SetIQuantOffset

func (avctx *AVCodecContext) SetIQuantOffset(v float32)

SetIQuantOffset sets `AVCodecContext.i_quant_offset` value.

func (*AVCodecContext) SetIdctAlgo

func (avctx *AVCodecContext) SetIdctAlgo(v int32)

SetIdctAlgo sets `AVCodecContext.idct_algo` value.

func (*AVCodecContext) SetIldctCmp

func (avctx *AVCodecContext) SetIldctCmp(v int32)

SetIldctCmp sets `AVCodecContext.ildct_cmp` value.

func (*AVCodecContext) SetInitialPadding

func (avctx *AVCodecContext) SetInitialPadding(v int32)

SetInitialPadding sets `AVCodecContext.initial_padding` value.

func (*AVCodecContext) SetInterMatrix

func (avctx *AVCodecContext) SetInterMatrix(v *uint16)

SetInterMatrix sets `AVCodecContext.inter_matrix` value.

func (*AVCodecContext) SetIntraDcPrecision

func (avctx *AVCodecContext) SetIntraDcPrecision(v int32)

SetIntraDcPrecision sets `AVCodecContext.intra_dc_precision` value.

func (*AVCodecContext) SetIntraMatrix

func (avctx *AVCodecContext) SetIntraMatrix(v *uint16)

SetIntraMatrix sets `AVCodecContext.intra_matrix` value.

func (*AVCodecContext) SetKeyintMin

func (avctx *AVCodecContext) SetKeyintMin(v int32)

SetKeyintMin sets `AVCodecContext.keyint_min` value.

func (*AVCodecContext) SetLastPredictorCount

func (avctx *AVCodecContext) SetLastPredictorCount(v int32)

SetLastPredictorCount sets `AVCodecContext.last_predictor_count` value.

func (*AVCodecContext) SetLevel

func (avctx *AVCodecContext) SetLevel(v int32)

SetLevel sets `AVCodecContext.level` value.

func (*AVCodecContext) SetLogLevelOffset

func (avctx *AVCodecContext) SetLogLevelOffset(v int32)

SetLogLevelOffset sets `AVCodecContext.log_level_offset` value.

func (*AVCodecContext) SetLowres

func (avctx *AVCodecContext) SetLowres(v int32)

SetLowres sets `AVCodecContext.lowres` value.

func (*AVCodecContext) SetLumiMasking

func (avctx *AVCodecContext) SetLumiMasking(v float32)

SetLumiMasking sets `AVCodecContext.lumi_masking` value.

func (*AVCodecContext) SetMaxBFrames

func (avctx *AVCodecContext) SetMaxBFrames(v int32)

SetMaxBFrames sets `AVCodecContext.max_b_frames` value.

func (*AVCodecContext) SetMaxPixels

func (avctx *AVCodecContext) SetMaxPixels(v int64)

SetMaxPixels sets `AVCodecContext.max_pixels` value.

func (*AVCodecContext) SetMaxQdiff

func (avctx *AVCodecContext) SetMaxQdiff(v int32)

SetMaxQdiff sets `AVCodecContext.max_qdiff` value.

func (*AVCodecContext) SetMaxSamples added in v0.43.1

func (avctx *AVCodecContext) SetMaxSamples(v int64)

SetMaxSamples sets `AVCodecContext.max_samples` value.

func (*AVCodecContext) SetMbCmp

func (avctx *AVCodecContext) SetMbCmp(v int32)

SetMbCmp sets `AVCodecContext.mb_cmp` value.

func (*AVCodecContext) SetMbDecision

func (avctx *AVCodecContext) SetMbDecision(v int32)

SetMbDecision sets `AVCodecContext.mb_decision` value.

func (*AVCodecContext) SetMbLmax

func (avctx *AVCodecContext) SetMbLmax(v int32)

SetMbLmax sets `AVCodecContext.mb_lmax` value.

func (*AVCodecContext) SetMbLmin

func (avctx *AVCodecContext) SetMbLmin(v int32)

SetMbLmin sets `AVCodecContext.mb_lmin` value.

func (*AVCodecContext) SetMeCmp

func (avctx *AVCodecContext) SetMeCmp(v int32)

SetMeCmp sets `AVCodecContext.me_cmp` value.

func (*AVCodecContext) SetMePreCmp

func (avctx *AVCodecContext) SetMePreCmp(v int32)

SetMePreCmp sets `AVCodecContext.me_pre_cmp` value.

func (*AVCodecContext) SetMeSubCmp

func (avctx *AVCodecContext) SetMeSubCmp(v int32)

SetMeSubCmp sets `AVCodecContext.me_sub_cmp` value.

func (*AVCodecContext) SetMeSubpelQuality

func (avctx *AVCodecContext) SetMeSubpelQuality(v int32)

SetMeSubpelQuality sets `AVCodecContext.me_subpel_quality` value.

func (*AVCodecContext) SetMv0Threshold

func (avctx *AVCodecContext) SetMv0Threshold(v int32)

SetMv0Threshold sets `AVCodecContext.mv0_threshold` value.

func (*AVCodecContext) SetNbCodedSideData

func (avctx *AVCodecContext) SetNbCodedSideData(v int32)

SetNbCodedSideData sets `AVCodecContext.nb_coded_side_data` value.

func (*AVCodecContext) SetNbDecodedSideData added in v0.70.1

func (avctx *AVCodecContext) SetNbDecodedSideData(v int32)

SetNbDecodedSideData sets `AVCodecContext.nb_decoded_side_data` value.

func (*AVCodecContext) SetNbSideDataPreferPacket added in v0.70.1

func (avctx *AVCodecContext) SetNbSideDataPreferPacket(v uint32)

SetNbSideDataPreferPacket sets `AVCodecContext.nb_side_data_prefer_packet` value.

func (*AVCodecContext) SetNsseWeight

func (avctx *AVCodecContext) SetNsseWeight(v int32)

SetNsseWeight sets `AVCodecContext.nsse_weight` value.

func (*AVCodecContext) SetOpaque

func (avctx *AVCodecContext) SetOpaque(v CVoidPointer)

SetOpaque sets `AVCodecContext.opaque` value.

func (*AVCodecContext) SetPMasking

func (avctx *AVCodecContext) SetPMasking(v float32)

SetPMasking sets `AVCodecContext.p_masking` value.

func (*AVCodecContext) SetPixFmt

func (avctx *AVCodecContext) SetPixFmt(v AVPixelFormat)

SetPixFmt sets `AVCodecContext.pix_fmt` value.

func (*AVCodecContext) SetPktTimebase

func (avctx *AVCodecContext) SetPktTimebase(v AVRational)

SetPktTimebase sets `AVCodecContext.pkt_timebase` value.

func (*AVCodecContext) SetPreDiaSize

func (avctx *AVCodecContext) SetPreDiaSize(v int32)

SetPreDiaSize sets `AVCodecContext.pre_dia_size` value.

func (*AVCodecContext) SetPrivData

func (avctx *AVCodecContext) SetPrivData(v CVoidPointer)

SetPrivData sets `AVCodecContext.priv_data` value.

func (*AVCodecContext) SetProfile

func (avctx *AVCodecContext) SetProfile(v int32)

SetProfile sets `AVCodecContext.profile` value.

func (*AVCodecContext) SetProperties

func (avctx *AVCodecContext) SetProperties(v uint32)

SetProperties sets `AVCodecContext.properties` value.

func (*AVCodecContext) SetQblur

func (avctx *AVCodecContext) SetQblur(v float32)

SetQblur sets `AVCodecContext.qblur` value.

func (*AVCodecContext) SetQcompress

func (avctx *AVCodecContext) SetQcompress(v float32)

SetQcompress sets `AVCodecContext.qcompress` value.

func (*AVCodecContext) SetQmax

func (avctx *AVCodecContext) SetQmax(v int32)

SetQmax sets `AVCodecContext.qmax` value.

func (*AVCodecContext) SetQmin

func (avctx *AVCodecContext) SetQmin(v int32)

SetQmin sets `AVCodecContext.qmin` value.

func (*AVCodecContext) SetRcBufferSize

func (avctx *AVCodecContext) SetRcBufferSize(v int32)

SetRcBufferSize sets `AVCodecContext.rc_buffer_size` value.

func (*AVCodecContext) SetRcInitialBufferOccupancy

func (avctx *AVCodecContext) SetRcInitialBufferOccupancy(v int32)

SetRcInitialBufferOccupancy sets `AVCodecContext.rc_initial_buffer_occupancy` value.

func (*AVCodecContext) SetRcMaxAvailableVbvUse

func (avctx *AVCodecContext) SetRcMaxAvailableVbvUse(v float32)

SetRcMaxAvailableVbvUse sets `AVCodecContext.rc_max_available_vbv_use` value.

func (*AVCodecContext) SetRcMaxRate

func (avctx *AVCodecContext) SetRcMaxRate(v int64)

SetRcMaxRate sets `AVCodecContext.rc_max_rate` value.

func (*AVCodecContext) SetRcMinRate

func (avctx *AVCodecContext) SetRcMinRate(v int64)

SetRcMinRate sets `AVCodecContext.rc_min_rate` value.

func (*AVCodecContext) SetRcMinVbvOverflowUse

func (avctx *AVCodecContext) SetRcMinVbvOverflowUse(v float32)

SetRcMinVbvOverflowUse sets `AVCodecContext.rc_min_vbv_overflow_use` value.

func (*AVCodecContext) SetRcOverride

func (avctx *AVCodecContext) SetRcOverride(v *RcOverride)

SetRcOverride sets `AVCodecContext.rc_override` value.

func (*AVCodecContext) SetRcOverrideCount

func (avctx *AVCodecContext) SetRcOverrideCount(v int32)

SetRcOverrideCount sets `AVCodecContext.rc_override_count` value.

func (*AVCodecContext) SetRefs

func (avctx *AVCodecContext) SetRefs(v int32)

SetRefs sets `AVCodecContext.refs` value.

func (*AVCodecContext) SetRequestSampleFmt

func (avctx *AVCodecContext) SetRequestSampleFmt(v AVSampleFormat)

SetRequestSampleFmt sets `AVCodecContext.request_sample_fmt` value.

func (*AVCodecContext) SetSampleAspectRatio

func (avctx *AVCodecContext) SetSampleAspectRatio(v AVRational)

SetSampleAspectRatio sets `AVCodecContext.sample_aspect_ratio` value.

func (*AVCodecContext) SetSampleFmt

func (avctx *AVCodecContext) SetSampleFmt(v AVSampleFormat)

SetSampleFmt sets `AVCodecContext.sample_fmt` value.

func (*AVCodecContext) SetSampleRate

func (avctx *AVCodecContext) SetSampleRate(v int32)

SetSampleRate sets `AVCodecContext.sample_rate` value.

func (*AVCodecContext) SetSeekPreroll

func (avctx *AVCodecContext) SetSeekPreroll(v int32)

SetSeekPreroll sets `AVCodecContext.seek_preroll` value.

func (*AVCodecContext) SetSideDataPreferPacket added in v0.70.1

func (avctx *AVCodecContext) SetSideDataPreferPacket(v *int32)

SetSideDataPreferPacket sets `AVCodecContext.side_data_prefer_packet` value.

func (*AVCodecContext) SetSkipAlpha

func (avctx *AVCodecContext) SetSkipAlpha(v int32)

SetSkipAlpha sets `AVCodecContext.skip_alpha` value.

func (*AVCodecContext) SetSkipBottom

func (avctx *AVCodecContext) SetSkipBottom(v int32)

SetSkipBottom sets `AVCodecContext.skip_bottom` value.

func (*AVCodecContext) SetSkipFrame

func (avctx *AVCodecContext) SetSkipFrame(v AVDiscard)

SetSkipFrame sets `AVCodecContext.skip_frame` value.

func (*AVCodecContext) SetSkipIdct

func (avctx *AVCodecContext) SetSkipIdct(v AVDiscard)

SetSkipIdct sets `AVCodecContext.skip_idct` value.

func (*AVCodecContext) SetSkipLoopFilter

func (avctx *AVCodecContext) SetSkipLoopFilter(v AVDiscard)

SetSkipLoopFilter sets `AVCodecContext.skip_loop_filter` value.

func (*AVCodecContext) SetSkipTop

func (avctx *AVCodecContext) SetSkipTop(v int32)

SetSkipTop sets `AVCodecContext.skip_top` value.

func (*AVCodecContext) SetSliceFlags

func (avctx *AVCodecContext) SetSliceFlags(v int32)

SetSliceFlags sets `AVCodecContext.slice_flags` value.

func (*AVCodecContext) SetSlices

func (avctx *AVCodecContext) SetSlices(v int32)

SetSlices sets `AVCodecContext.slices` value.

func (*AVCodecContext) SetSpatialCplxMasking

func (avctx *AVCodecContext) SetSpatialCplxMasking(v float32)

SetSpatialCplxMasking sets `AVCodecContext.spatial_cplx_masking` value.

func (*AVCodecContext) SetStrictStdCompliance

func (avctx *AVCodecContext) SetStrictStdCompliance(v int32)

SetStrictStdCompliance sets `AVCodecContext.strict_std_compliance` value.

func (*AVCodecContext) SetSubCharencMode

func (avctx *AVCodecContext) SetSubCharencMode(v int32)

SetSubCharencMode sets `AVCodecContext.sub_charenc_mode` value.

func (*AVCodecContext) SetSubtitleHeader

func (avctx *AVCodecContext) SetSubtitleHeader(v *uint8)

SetSubtitleHeader sets `AVCodecContext.subtitle_header` value.

func (*AVCodecContext) SetSubtitleHeaderSize

func (avctx *AVCodecContext) SetSubtitleHeaderSize(v int32)

SetSubtitleHeaderSize sets `AVCodecContext.subtitle_header_size` value.

func (*AVCodecContext) SetSwPixFmt

func (avctx *AVCodecContext) SetSwPixFmt(v AVPixelFormat)

SetSwPixFmt sets `AVCodecContext.sw_pix_fmt` value.

func (*AVCodecContext) SetTemporalCplxMasking

func (avctx *AVCodecContext) SetTemporalCplxMasking(v float32)

SetTemporalCplxMasking sets `AVCodecContext.temporal_cplx_masking` value.

func (*AVCodecContext) SetThreadCount

func (avctx *AVCodecContext) SetThreadCount(v int32)

SetThreadCount sets `AVCodecContext.thread_count` value.

func (*AVCodecContext) SetThreadType

func (avctx *AVCodecContext) SetThreadType(v int32)

SetThreadType sets `AVCodecContext.threadtype` value.

func (*AVCodecContext) SetTicksPerFrame deprecated

func (avctx *AVCodecContext) SetTicksPerFrame(v int32)

Deprecated: - decoding: Use AVCodecDescriptor.props & AV_CODEC_PROP_FIELDS instead. - encoding: Set AVCodecContext.framerate instead.

SetTicksPerFrame sets `AVCodecContext.ticks_per_frame` value.

func (*AVCodecContext) SetTimeBase

func (avctx *AVCodecContext) SetTimeBase(v AVRational)

SetTimeBase sets `AVCodecContext.time_base` value.

func (*AVCodecContext) SetTrailingPadding

func (avctx *AVCodecContext) SetTrailingPadding(v int32)

SetTrailingPadding sets `AVCodecContext.trailing_padding` value.

func (*AVCodecContext) SetTrellis

func (avctx *AVCodecContext) SetTrellis(v int32)

SetTrellis sets `AVCodecContext.trellis` value.

func (*AVCodecContext) SetWidth

func (avctx *AVCodecContext) SetWidth(v int32)

SetWidth sets `AVCodecContext.width` value.

func (*AVCodecContext) SetWorkaroundBugs

func (avctx *AVCodecContext) SetWorkaroundBugs(v int32)

SetWorkaroundBugs sets `AVCodecContext.workaround_bugs` value.

type AVCodecContextDrawHorizBandFunc

type AVCodecContextDrawHorizBandFunc = C.avcodec_context_draw_horiz_band_func

typedef void (*avcodec_context_draw_horiz_band_func)(struct AVCodecContext *s, const AVFrame *src, int offset[AV_NUM_DATA_POINTERS], int y, int type, int height);

type AVCodecContextExecute2Func

type AVCodecContextExecute2Func = C.avcodec_context_execute2_func

typedef int (*avcodec_context_execute2_func)(AVCodecContext *c2, void *arg2, int, int);

type AVCodecContextExecuteFunc

type AVCodecContextExecuteFunc = C.avcodec_context_execute_func

typedef int (*avcodec_context_execute_func)(AVCodecContext *c2, void *arg2);

type AVCodecContextGetBuffer2Func

type AVCodecContextGetBuffer2Func = C.avcodec_context_get_buffer2_func

typedef int (*avcodec_context_get_buffer2_func)(struct AVCodecContext *s, AVFrame *frame, int flags);

type AVCodecContextGetEncodeBufferFunc added in v0.44.1

type AVCodecContextGetEncodeBufferFunc = C.avcodec_context_get_encode_buffer_func

typedef int (*avcodec_context_get_encode_buffer_func)(struct AVCodecContext *s, AvPacket *pkt, int flags);

type AVCodecContextGetFormatFunc

type AVCodecContextGetFormatFunc = C.avcodec_context_get_format_func

typedef enum AVPixelFormat (*avcodec_context_get_format)(struct AVCodecContext *s, const enum AVPixelFormat * fmt);

type AVCodecDescriptor

type AVCodecDescriptor C.struct_AVCodecDescriptor

AVCodecDescriptor

func AvCodecDescriptorGet

func AvCodecDescriptorGet(id AVCodecID) *AVCodecDescriptor

AvCodecDescriptorGet returns descriptor for given codec ID or NULL if no descriptor exists.

func AvCodecDescriptorGetByName

func AvCodecDescriptorGetByName(name string) *AVCodecDescriptor

AvCodecDescriptorGetByName returns codec descriptor with the given name or NULL if no such descriptor exists.

func AvCodecDescriptorNext

func AvCodecDescriptorNext(prev *AVCodecDescriptor) *AVCodecDescriptor

AvCodecDescriptorNext iterates over all codec descriptors known to libavcodec.

func (*AVCodecDescriptor) GetId

func (hwc *AVCodecDescriptor) GetId() AVCodecID

GetId gets `AVCodecDescriptor.id` value.

func (*AVCodecDescriptor) GetLongName

func (hwc *AVCodecDescriptor) GetLongName() string

GetLongName gets `AVCodecDescriptor.long_name` value.

func (*AVCodecDescriptor) GetMimeTypes

func (hwc *AVCodecDescriptor) GetMimeTypes() (v []string)

GetMimeTypes gets `AVCodecDescriptor.mime_types` value.

func (*AVCodecDescriptor) GetName

func (hwc *AVCodecDescriptor) GetName() string

GetName gets `AVCodecDescriptor.name` value.

func (*AVCodecDescriptor) GetProfiles

func (hwc *AVCodecDescriptor) GetProfiles() []AVProfile

GetProfiles gets `AVCodecDescriptor.profiles` value.

func (*AVCodecDescriptor) GetProps

func (hwc *AVCodecDescriptor) GetProps() int32

GetProps gets `AVCodecDescriptor.props` value.

func (*AVCodecDescriptor) GetType

func (hwc *AVCodecDescriptor) GetType() AVMediaType

GetType gets `AVCodecDescriptor.type` value.

type AVCodecHWConfig

type AVCodecHWConfig C.struct_AVCodecHWConfig

AVCodecHWConfig

func AvCodecGetHwConfig

func AvCodecGetHwConfig[T Integer](codec *AVCodec, index T) *AVCodecHWConfig

AvCodecGetHwConfig retrieves supported hardware configurations for a codec.

func (*AVCodecHWConfig) GetDeviceType

func (hwc *AVCodecHWConfig) GetDeviceType() AVHWDeviceType

GetDeviceType gets `AVCodecHWConfig.devicetype` value.

func (*AVCodecHWConfig) GetDeviceTypeAddr

func (hwc *AVCodecHWConfig) GetDeviceTypeAddr() *AVHWDeviceType

GetDeviceTypeAddr gets `AVCodecHWConfig.devicetype` address.

func (*AVCodecHWConfig) GetMethods

func (hwc *AVCodecHWConfig) GetMethods() int32

GetMethods gets `AVCodecHWConfig.methods` value.

func (*AVCodecHWConfig) GetMethodsAddr

func (hwc *AVCodecHWConfig) GetMethodsAddr() *int32

GetMethodsAddr gets `AVCodecHWConfig.methods` address.

func (*AVCodecHWConfig) GetPixFmt

func (hwc *AVCodecHWConfig) GetPixFmt() AVPixelFormat

GetPixFmt gets `AVCodecHWConfig.pix_fmt` value.

func (*AVCodecHWConfig) GetPixFmtAddr

func (hwc *AVCodecHWConfig) GetPixFmtAddr() *AVPixelFormat

GetPixFmtAddr gets `AVCodecHWConfig.pix_fmt` address.

func (*AVCodecHWConfig) SetDeviceType

func (hwc *AVCodecHWConfig) SetDeviceType(v AVHWDeviceType)

SetDeviceType sets `AVCodecHWConfig.devicetype` value.

func (*AVCodecHWConfig) SetMethods

func (hwc *AVCodecHWConfig) SetMethods(v int32)

SetMethods sets `AVCodecHWConfig.methods` value.

func (*AVCodecHWConfig) SetPixFmt

func (hwc *AVCodecHWConfig) SetPixFmt(v AVPixelFormat)

SetPixFmt sets `AVCodecHWConfig.pix_fmt` value.

type AVCodecID

type AVCodecID = C.enum_AVCodecID

AVCodecID

func AvCodecGetId

func AvCodecGetId(tags **AVCodecTag, tag uint32) AVCodecID

AvCodecGetId gets the AVCodecID for the given codec tag tag.

func AvGetPcmCodec

func AvGetPcmCodec(fmt AVSampleFormat, be int32) AVCodecID

AvGetPcmCodec returns the PCM codec associated with a sample format.

func AvGuessCodec

func AvGuessCodec(fmt *AVOutputFormat, shortName,
	filename, mimeType string, _type AVMediaType) AVCodecID

AvGuessCodec guesses the codec ID based upon muxer and filename.

type AVCodecParameters

type AVCodecParameters C.struct_AVCodecParameters

AVCodecParameters

func AvCodecParametersAlloc

func AvCodecParametersAlloc() *AVCodecParameters

AvCodecParametersAlloc allocates a new AVCodecParameters and set its fields to default values (unknown/invalid/0). The returned struct must be freed with AVCodecParametersFree().

func (*AVCodecParameters) GetBitRate

func (par *AVCodecParameters) GetBitRate() int64

GetBitRate gets `AVCodecParameters.bit_rate` value.

func (*AVCodecParameters) GetBitRateAddr

func (par *AVCodecParameters) GetBitRateAddr() *int64

GetBitRateAddr gets `AVCodecParameters.bit_rate` address.

func (*AVCodecParameters) GetBitsPerCodedSample

func (par *AVCodecParameters) GetBitsPerCodedSample() int32

GetBitsPerCodedSample gets `AVCodecParameters.bits_per_coded_sample` value.

func (*AVCodecParameters) GetBitsPerCodedSampleAddr

func (par *AVCodecParameters) GetBitsPerCodedSampleAddr() *int32

GetBitsPerCodedSampleAddr gets `AVCodecParameters.bits_per_coded_sample` address.

func (*AVCodecParameters) GetBitsPerRawSample

func (par *AVCodecParameters) GetBitsPerRawSample() int32

GetBitsPerRawSample gets `AVCodecParameters.bits_per_raw_sample` value.

func (*AVCodecParameters) GetBitsPerRawSampleAddr

func (par *AVCodecParameters) GetBitsPerRawSampleAddr() *int32

GetBitsPerRawSampleAddr gets `AVCodecParameters.bits_per_raw_sample` address.

func (*AVCodecParameters) GetBlockAlign

func (par *AVCodecParameters) GetBlockAlign() int32

GetBlockAlign gets `AVCodecParameters.block_align` value.

func (*AVCodecParameters) GetBlockAlignAddr

func (par *AVCodecParameters) GetBlockAlignAddr() *int32

GetBlockAlignAddr gets `AVCodecParameters.block_align` address.

func (*AVCodecParameters) GetChLayout added in v0.51.2

func (par *AVCodecParameters) GetChLayout() AVChannelLayout

GetChLayout gets `AVCodecParameters.ch_layout` value.

func (*AVCodecParameters) GetChLayoutAddr added in v0.51.2

func (par *AVCodecParameters) GetChLayoutAddr() *AVChannelLayout

GetChLayoutAddr gets `AVCodecParameters.ch_layout` address.

func (*AVCodecParameters) GetChromaLocation

func (par *AVCodecParameters) GetChromaLocation() AVChromaLocation

GetChromaLocation gets `AVCodecParameters.chroma_location` value.

func (*AVCodecParameters) GetChromaLocationAddr

func (par *AVCodecParameters) GetChromaLocationAddr() *AVChromaLocation

GetChromaLocationAddr gets `AVCodecParameters.chroma_location` address.

func (*AVCodecParameters) GetCodecId

func (par *AVCodecParameters) GetCodecId() AVCodecID

GetCodecId gets `AVCodecParameters.codec_id` value.

func (*AVCodecParameters) GetCodecIdAddr

func (par *AVCodecParameters) GetCodecIdAddr() *AVCodecID

GetCodecIdAddr gets `AVCodecParameters.codec_id` address.

func (*AVCodecParameters) GetCodecTag

func (par *AVCodecParameters) GetCodecTag() uint32

GetCodecTag gets `AVCodecParameters.codec_tag` value.

func (*AVCodecParameters) GetCodecTagAddr

func (par *AVCodecParameters) GetCodecTagAddr() *uint32

GetCodecTagAddr gets `AVCodecParameters.codec_tag` address.

func (*AVCodecParameters) GetCodecType

func (par *AVCodecParameters) GetCodecType() AVMediaType

GetCodecType gets `AVCodecParameters.codectype` value.

func (*AVCodecParameters) GetCodecTypeAddr

func (par *AVCodecParameters) GetCodecTypeAddr() *AVMediaType

GetCodecTypeAddr gets `AVCodecParameters.codectype` address.

func (*AVCodecParameters) GetCodedSideData added in v0.61.0

func (par *AVCodecParameters) GetCodedSideData() (v []AVPacketSideData)

GetCodedSideData gets `AVCodecParameters.coded_side_data` value.

func (*AVCodecParameters) GetCodedSideDataAddr added in v0.61.0

func (par *AVCodecParameters) GetCodedSideDataAddr() **AVPacketSideData

GetCodedSideDataAddr gets `AVCodecParameters.coded_side_data` address.

func (*AVCodecParameters) GetColorPrimaries

func (par *AVCodecParameters) GetColorPrimaries() AVColorPrimaries

GetColorPrimaries gets `AVCodecParameters.color_primaries` value.

func (*AVCodecParameters) GetColorPrimariesAddr

func (par *AVCodecParameters) GetColorPrimariesAddr() *AVColorPrimaries

GetColorPrimariesAddr gets `AVCodecParameters.color_primaries` address.

func (*AVCodecParameters) GetColorRange

func (par *AVCodecParameters) GetColorRange() AVColorRange

GetColorRange gets `AVCodecParameters.colorrange` value.

func (*AVCodecParameters) GetColorRangeAddr

func (par *AVCodecParameters) GetColorRangeAddr() *AVColorRange

GetColorRangeAddr gets `AVCodecParameters.colorrange` address.

func (*AVCodecParameters) GetColorSpace

func (par *AVCodecParameters) GetColorSpace() AVColorSpace

GetColorSpace gets `AVCodecParameters.color_space` value.

func (*AVCodecParameters) GetColorSpaceAddr

func (par *AVCodecParameters) GetColorSpaceAddr() *AVColorSpace

GetColorSpaceAddr gets `AVCodecParameters.color_space` address.

func (*AVCodecParameters) GetColorTrc

GetColorTrc gets `AVCodecParameters.color_trc` value.

func (*AVCodecParameters) GetColorTrcAddr

func (par *AVCodecParameters) GetColorTrcAddr() *AVColorTransferCharacteristic

GetColorTrcAddr gets `AVCodecParameters.color_trc` address.

func (*AVCodecParameters) GetExtradata

func (par *AVCodecParameters) GetExtradata() *uint8

GetExtradata gets `AVCodecParameters.extradata` value.

func (*AVCodecParameters) GetExtradataAddr

func (par *AVCodecParameters) GetExtradataAddr() *uint8

GetExtradataAddr gets `AVCodecParameters.extradata` address.

func (*AVCodecParameters) GetExtradataSize

func (par *AVCodecParameters) GetExtradataSize() int32

GetExtradataSize gets `AVCodecParameters.extradata_size` value.

func (*AVCodecParameters) GetExtradataSizeAddr

func (par *AVCodecParameters) GetExtradataSizeAddr() *int32

GetExtradataSizeAddr gets `AVCodecParameters.extradata_size` address.

func (*AVCodecParameters) GetFieldOrder

func (par *AVCodecParameters) GetFieldOrder() AVFieldOrder

GetFieldOrder gets `AVCodecParameters.field_order` value.

func (*AVCodecParameters) GetFieldOrderAddr

func (par *AVCodecParameters) GetFieldOrderAddr() *AVFieldOrder

GetFieldOrderAddr gets `AVCodecParameters.field_order` address.

func (*AVCodecParameters) GetFormat

func (par *AVCodecParameters) GetFormat() int32

GetFormat gets `AVCodecParameters.format` value.

func (*AVCodecParameters) GetFormatAddr

func (par *AVCodecParameters) GetFormatAddr() *int32

GetFormatAddr gets `AVCodecParameters.format` address.

func (*AVCodecParameters) GetFrameSize

func (par *AVCodecParameters) GetFrameSize() int32

GetFrameSize gets `AVCodecParameters.frame_size` value.

func (*AVCodecParameters) GetFrameSizeAddr

func (par *AVCodecParameters) GetFrameSizeAddr() *int32

GetFrameSizeAddr gets `AVCodecParameters.frame_size` address.

func (*AVCodecParameters) GetFramerate added in v0.61.0

func (par *AVCodecParameters) GetFramerate() AVRational

GetFramerate gets `AVCodecParameters.framerate` value.

func (*AVCodecParameters) GetFramerateAddr added in v0.61.0

func (par *AVCodecParameters) GetFramerateAddr() *AVRational

GetFramerateAddr gets `AVCodecParameters.framerate` address.

func (*AVCodecParameters) GetHeight

func (par *AVCodecParameters) GetHeight() int32

GetHeight gets `AVCodecParameters.height` value.

func (*AVCodecParameters) GetHeightAddr

func (par *AVCodecParameters) GetHeightAddr() *int32

GetHeightAddr gets `AVCodecParameters.height` address.

func (*AVCodecParameters) GetInitialPadding

func (par *AVCodecParameters) GetInitialPadding() int32

GetInitialPadding gets `AVCodecParameters.initial_padding` value.

func (*AVCodecParameters) GetInitialPaddingAddr

func (par *AVCodecParameters) GetInitialPaddingAddr() *int32

GetInitialPaddingAddr gets `AVCodecParameters.initial_padding` address.

func (*AVCodecParameters) GetLevel

func (par *AVCodecParameters) GetLevel() int32

GetLevel gets `AVCodecParameters.level` value.

func (*AVCodecParameters) GetLevelAddr

func (par *AVCodecParameters) GetLevelAddr() *int32

GetLevelAddr gets `AVCodecParameters.level` address.

func (*AVCodecParameters) GetNbCodedSideData added in v0.61.0

func (par *AVCodecParameters) GetNbCodedSideData() int32

GetNbCodedSideData gets `AVCodecParameters.nb_coded_side_data` value.

func (*AVCodecParameters) GetNbCodedSideDataAddr added in v0.61.0

func (par *AVCodecParameters) GetNbCodedSideDataAddr() *int32

GetNbCodedSideDataAddr gets `AVCodecParameters.nb_coded_side_data` address.

func (*AVCodecParameters) GetProfile

func (par *AVCodecParameters) GetProfile() int32

GetProfile gets `AVCodecParameters.profile` value.

func (*AVCodecParameters) GetProfileAddr

func (par *AVCodecParameters) GetProfileAddr() *int32

GetProfileAddr gets `AVCodecParameters.profile` address.

func (*AVCodecParameters) GetSampleAspectRatio

func (par *AVCodecParameters) GetSampleAspectRatio() AVRational

GetSampleAspectRatio gets `AVCodecParameters.sample_aspect_ratio` value.

func (*AVCodecParameters) GetSampleAspectRatioAddr

func (par *AVCodecParameters) GetSampleAspectRatioAddr() *AVRational

GetSampleAspectRatioAddr gets `AVCodecParameters.sample_aspect_ratio` address.

func (*AVCodecParameters) GetSampleRate

func (par *AVCodecParameters) GetSampleRate() int32

GetSampleRate gets `AVCodecParameters.sample_rate` value.

func (*AVCodecParameters) GetSampleRateAddr

func (par *AVCodecParameters) GetSampleRateAddr() *int32

GetSampleRateAddr gets `AVCodecParameters.sample_rate` address.

func (*AVCodecParameters) GetSeekPreroll

func (par *AVCodecParameters) GetSeekPreroll() int32

GetSeekPreroll gets `AVCodecParameters.seek_preroll` value.

func (*AVCodecParameters) GetSeekPrerollAddr

func (par *AVCodecParameters) GetSeekPrerollAddr() *int32

GetSeekPrerollAddr gets `AVCodecParameters.seek_preroll` address.

func (*AVCodecParameters) GetTrailingPadding

func (par *AVCodecParameters) GetTrailingPadding() int32

GetTrailingPadding gets `AVCodecParameters.trailing_padding` value.

func (*AVCodecParameters) GetTrailingPaddingAddr

func (par *AVCodecParameters) GetTrailingPaddingAddr() *int32

GetTrailingPaddingAddr gets `AVCodecParameters.trailing_padding` address.

func (*AVCodecParameters) GetVideoDelay

func (par *AVCodecParameters) GetVideoDelay() int32

GetVideoDelay gets `AVCodecParameters.video_delay` value.

func (*AVCodecParameters) GetVideoDelayAddr

func (par *AVCodecParameters) GetVideoDelayAddr() *int32

GetVideoDelayAddr gets `AVCodecParameters.video_delay` address.

func (*AVCodecParameters) GetWidth

func (par *AVCodecParameters) GetWidth() int32

GetWidth gets `AVCodecParameters.width` value.

func (*AVCodecParameters) GetWidthAddr

func (par *AVCodecParameters) GetWidthAddr() *int32

GetWidthAddr gets `AVCodecParameters.width` address.

func (*AVCodecParameters) SetBitRate

func (par *AVCodecParameters) SetBitRate(v int64)

SetBitRate sets `AVCodecParameters.bit_rate` value.

func (*AVCodecParameters) SetBitsPerCodedSample

func (par *AVCodecParameters) SetBitsPerCodedSample(v int32)

SetBitsPerCodedSample sets `AVCodecParameters.bits_per_coded_sample` value.

func (*AVCodecParameters) SetBitsPerRawSample

func (par *AVCodecParameters) SetBitsPerRawSample(v int32)

SetBitsPerRawSample sets `AVCodecParameters.bits_per_raw_sample` value.

func (*AVCodecParameters) SetBlockAlign

func (par *AVCodecParameters) SetBlockAlign(v int32)

SetBlockAlign sets `AVCodecParameters.block_align` value.

func (*AVCodecParameters) SetChLayout added in v0.51.2

func (par *AVCodecParameters) SetChLayout(v AVChannelLayout)

SetChLayout sets `AVCodecParameters.ch_layout` value.

func (*AVCodecParameters) SetChromaLocation

func (par *AVCodecParameters) SetChromaLocation(v AVChromaLocation)

SetChromaLocation sets `AVCodecParameters.chroma_location` value.

func (*AVCodecParameters) SetCodecId

func (par *AVCodecParameters) SetCodecId(v AVCodecID)

SetCodecId sets `AVCodecParameters.codec_id` value.

func (*AVCodecParameters) SetCodecTag

func (par *AVCodecParameters) SetCodecTag(v uint32)

SetCodecTag sets `AVCodecParameters.codec_tag` value.

func (*AVCodecParameters) SetCodecType

func (par *AVCodecParameters) SetCodecType(v AVMediaType)

SetCodecType sets `AVCodecParameters.codectype` value.

func (*AVCodecParameters) SetCodedSideData added in v0.61.0

func (par *AVCodecParameters) SetCodedSideData(v *AVPacketSideData)

SetCodedSideData sets `AVCodecParameters.coded_side_data` value.

func (*AVCodecParameters) SetColorPrimaries

func (par *AVCodecParameters) SetColorPrimaries(v AVColorPrimaries)

SetColorPrimaries sets `AVCodecParameters.color_primaries` value.

func (*AVCodecParameters) SetColorRange

func (par *AVCodecParameters) SetColorRange(v AVColorRange)

SetColorRange sets `AVCodecParameters.colorrange` value.

func (*AVCodecParameters) SetColorSpace

func (par *AVCodecParameters) SetColorSpace(v AVColorSpace)

SetColorSpace sets `AVCodecParameters.color_space` value.

func (*AVCodecParameters) SetColorTrc

SetColorTrc sets `AVCodecParameters.color_trc` value.

func (*AVCodecParameters) SetExtradata

func (par *AVCodecParameters) SetExtradata(v *uint8)

SetExtradata sets `AVCodecParameters.extradata` value.

func (*AVCodecParameters) SetExtradataSize

func (par *AVCodecParameters) SetExtradataSize(v int32)

SetExtradataSize sets `AVCodecParameters.extradata_size` value.

func (*AVCodecParameters) SetFieldOrder

func (par *AVCodecParameters) SetFieldOrder(v AVFieldOrder)

SetFieldOrder sets `AVCodecParameters.field_order` value.

func (*AVCodecParameters) SetFormat

func (par *AVCodecParameters) SetFormat(v int32)

SetFormat sets `AVCodecParameters.format` value.

func (*AVCodecParameters) SetFrameSize

func (par *AVCodecParameters) SetFrameSize(v int32)

SetFrameSize sets `AVCodecParameters.frame_size` value.

func (*AVCodecParameters) SetFramerate added in v0.61.0

func (par *AVCodecParameters) SetFramerate(v AVRational)

SetFramerate sets `AVCodecParameters.framerate` value.

func (*AVCodecParameters) SetHeight

func (par *AVCodecParameters) SetHeight(v int32)

SetHeight sets `AVCodecParameters.height` value.

func (*AVCodecParameters) SetInitialPadding

func (par *AVCodecParameters) SetInitialPadding(v int32)

SetInitialPadding sets `AVCodecParameters.initial_padding` value.

func (*AVCodecParameters) SetLevel

func (par *AVCodecParameters) SetLevel(v int32)

SetLevel sets `AVCodecParameters.level` value.

func (*AVCodecParameters) SetNbCodedSideData added in v0.61.0

func (par *AVCodecParameters) SetNbCodedSideData(v int32)

SetNbCodedSideData sets `AVCodecParameters.nb_coded_side_data` value.

func (*AVCodecParameters) SetProfile

func (par *AVCodecParameters) SetProfile(v int32)

SetProfile sets `AVCodecParameters.profile` value.

func (*AVCodecParameters) SetSampleAspectRatio

func (par *AVCodecParameters) SetSampleAspectRatio(v AVRational)

SetSampleAspectRatio sets `AVCodecParameters.sample_aspect_ratio` value.

func (*AVCodecParameters) SetSampleRate

func (par *AVCodecParameters) SetSampleRate(v int32)

SetSampleRate sets `AVCodecParameters.sample_rate` value.

func (*AVCodecParameters) SetSeekPreroll

func (par *AVCodecParameters) SetSeekPreroll(v int32)

SetSeekPreroll sets `AVCodecParameters.seek_preroll` value.

func (*AVCodecParameters) SetTrailingPadding

func (par *AVCodecParameters) SetTrailingPadding(v int32)

SetTrailingPadding sets `AVCodecParameters.trailing_padding` value.

func (*AVCodecParameters) SetVideoDelay

func (par *AVCodecParameters) SetVideoDelay(v int32)

SetVideoDelay sets `AVCodecParameters.video_delay` value.

func (*AVCodecParameters) SetWidth

func (par *AVCodecParameters) SetWidth(v int32)

SetWidth sets `AVCodecParameters.width` value.

type AVCodecParser

type AVCodecParser C.struct_AVCodecParser

AVCodecParser

func AvParserIterate

func AvParserIterate(p CVoidPointerPointer) *AVCodecParser

AvParserIterate iterates over all registered codec parsers.

func (*AVCodecParser) GetCodecIds

func (cp *AVCodecParser) GetCodecIds() []int32

GetCodecIds gets `AVCodecParser.codec_ids` value.

func (*AVCodecParser) GetCodecIdsAddr

func (cp *AVCodecParser) GetCodecIdsAddr() *int32

GetCodecIdsAddr gets `AVCodecParser.codec_ids` address.

func (*AVCodecParser) GetParserClose

func (cp *AVCodecParser) GetParserClose() AvcodecParserCloseFunc

GetParserClose gets `AVCodecParser.parser_close` value.

func (*AVCodecParser) GetParserCloseAddr

func (cp *AVCodecParser) GetParserCloseAddr() *AvcodecParserCloseFunc

GetParserCloseAddr gets `AVCodecParser.parser_close` address.

func (*AVCodecParser) GetParserInit

func (cp *AVCodecParser) GetParserInit() AvcodecParserInitFunc

GetParserInit gets `AVCodecParser.parser_init` value.

func (*AVCodecParser) GetParserInitAddr

func (cp *AVCodecParser) GetParserInitAddr() *AvcodecParserInitFunc

GetParserInitAddr gets `AVCodecParser.parser_init` address.

func (*AVCodecParser) GetParserParse

func (cp *AVCodecParser) GetParserParse() AvcodecParserParseFunc

GetParserParse gets `AVCodecParser.parser_parse` value.

func (*AVCodecParser) GetParserParseAddr

func (cp *AVCodecParser) GetParserParseAddr() *AvcodecParserParseFunc

GetParserParseAddr gets `AVCodecParser.parser_parse` address.

func (*AVCodecParser) GetPrivDataSize

func (cp *AVCodecParser) GetPrivDataSize() int32

GetPrivDataSize gets `AVCodecParser.priv_data_size` value.

func (*AVCodecParser) GetPrivDataSizeAddr

func (cp *AVCodecParser) GetPrivDataSizeAddr() *int32

GetPrivDataSizeAddr gets `AVCodecParser.priv_data_size` address.

func (*AVCodecParser) GetSplit

func (cp *AVCodecParser) GetSplit() AvcodecParserSplitFunc

GetSplit gets `AVCodecParser.split` value.

func (*AVCodecParser) GetSplitAddr

func (cp *AVCodecParser) GetSplitAddr() *AvcodecParserSplitFunc

GetSplitAddr gets `AVCodecParser.split` address.

func (*AVCodecParser) SetCodecIds

func (cp *AVCodecParser) SetCodecIds(v []int32)

SetCodecIds sets `AVCodecParser.codec_ids` value.

func (*AVCodecParser) SetParserClose

func (cp *AVCodecParser) SetParserClose(v AvcodecParserCloseFunc)

SetParserClose sets `AVCodecParser.parser_close` value.

func (*AVCodecParser) SetParserInit

func (cp *AVCodecParser) SetParserInit(v AvcodecParserInitFunc)

SetParserInit sets `AVCodecParser.parser_init` value.

func (*AVCodecParser) SetParserParse

func (cp *AVCodecParser) SetParserParse(v AvcodecParserParseFunc)

SetParserParse sets `AVCodecParser.parser_parse` value.

func (*AVCodecParser) SetPrivDataSize

func (cp *AVCodecParser) SetPrivDataSize(v int32)

SetPrivDataSize sets `AVCodecParser.priv_data_size` value.

func (*AVCodecParser) SetSplit

func (cp *AVCodecParser) SetSplit(v AvcodecParserSplitFunc)

SetSplit sets `AVCodecParser.split` value.

type AVCodecParserContext

type AVCodecParserContext C.struct_AVCodecParserContext

AVCodecParserContext

func AvParserInit

func AvParserInit(codecID AVCodecID) *AVCodecParserContext

AvParserInit

func AvStreamGetParser

func AvStreamGetParser(s *AVStream) *AVCodecParserContext

AvStreamGetParser

func (*AVCodecParserContext) GetCodedHeight

func (cpc *AVCodecParserContext) GetCodedHeight() int32

GetCodedHeight gets `AVCodecParserContext.coded_height` value.

func (*AVCodecParserContext) GetCodedHeightAddr

func (cpc *AVCodecParserContext) GetCodedHeightAddr() *int32

GetCodedHeightAddr gets `AVCodecParserContext.coded_height` address.

func (*AVCodecParserContext) GetCodedWidth

func (cpc *AVCodecParserContext) GetCodedWidth() int32

GetCodedWidth gets `AVCodecParserContext.coded_width` value.

func (*AVCodecParserContext) GetCodedWidthAddr

func (cpc *AVCodecParserContext) GetCodedWidthAddr() *int32

GetCodedWidthAddr gets `AVCodecParserContext.coded_width` address.

func (*AVCodecParserContext) GetCurFrameDts

func (cpc *AVCodecParserContext) GetCurFrameDts() []int64

GetCurFrameDts gets `AVCodecParserContext.cur_frame_dts` value.

func (*AVCodecParserContext) GetCurFrameDtsAddr

func (cpc *AVCodecParserContext) GetCurFrameDtsAddr() **int64

GetCurFrameDtsAddr gets `AVCodecParserContext.cur_frame_dts` address.

func (*AVCodecParserContext) GetCurFrameEnd

func (cpc *AVCodecParserContext) GetCurFrameEnd() []int64

GetCurFrameEnd gets `AVCodecParserContext.cur_frame_end` value.

func (*AVCodecParserContext) GetCurFrameEndAddr

func (cpc *AVCodecParserContext) GetCurFrameEndAddr() **int64

GetCurFrameEndAddr gets `AVCodecParserContext.cur_frame_end` address.

func (*AVCodecParserContext) GetCurFrameOffset

func (cpc *AVCodecParserContext) GetCurFrameOffset() []int64

GetCurFrameOffset gets `AVCodecParserContext.cur_frame_offset` value.

func (*AVCodecParserContext) GetCurFrameOffsetAddr

func (cpc *AVCodecParserContext) GetCurFrameOffsetAddr() **int64

GetCurFrameOffsetAddr gets `AVCodecParserContext.cur_frame_offset` address.

func (*AVCodecParserContext) GetCurFramePos

func (cpc *AVCodecParserContext) GetCurFramePos() []int64

GetCurFramePos gets `AVCodecParserContext.cur_frame_pos` value.

func (*AVCodecParserContext) GetCurFramePosAddr

func (cpc *AVCodecParserContext) GetCurFramePosAddr() **int64

GetCurFramePosAddr gets `AVCodecParserContext.cur_frame_pos` address.

func (*AVCodecParserContext) GetCurFramePts

func (cpc *AVCodecParserContext) GetCurFramePts() []int64

GetCurFramePts gets `AVCodecParserContext.cur_frame_pts` value.

func (*AVCodecParserContext) GetCurFramePtsAddr

func (cpc *AVCodecParserContext) GetCurFramePtsAddr() **int64

GetCurFramePtsAddr gets `AVCodecParserContext.cur_frame_pts` address.

func (*AVCodecParserContext) GetCurFrameStartIndex

func (cpc *AVCodecParserContext) GetCurFrameStartIndex() int32

GetCurFrameStartIndex gets `AVCodecParserContext.cur_frame_start_index` value.

func (*AVCodecParserContext) GetCurFrameStartIndexAddr

func (cpc *AVCodecParserContext) GetCurFrameStartIndexAddr() *int32

GetCurFrameStartIndexAddr gets `AVCodecParserContext.cur_frame_start_index` address.

func (*AVCodecParserContext) GetCurOffset

func (cpc *AVCodecParserContext) GetCurOffset() int64

GetCurOffset gets `AVCodecParserContext.cur_offset` value.

func (*AVCodecParserContext) GetCurOffsetAddr

func (cpc *AVCodecParserContext) GetCurOffsetAddr() *int64

GetCurOffsetAddr gets `AVCodecParserContext.cur_offset` address.

func (*AVCodecParserContext) GetDts

func (cpc *AVCodecParserContext) GetDts() int64

GetDts gets `AVCodecParserContext.dts` value.

func (*AVCodecParserContext) GetDtsAddr

func (cpc *AVCodecParserContext) GetDtsAddr() *int64

GetDtsAddr gets `AVCodecParserContext.dts` address.

func (*AVCodecParserContext) GetDtsRefDtsDelta

func (cpc *AVCodecParserContext) GetDtsRefDtsDelta() int32

GetDtsRefDtsDelta gets `AVCodecParserContext.dts_ref_dts_delta` value.

func (*AVCodecParserContext) GetDtsRefDtsDeltaAddr

func (cpc *AVCodecParserContext) GetDtsRefDtsDeltaAddr() *int32

GetDtsRefDtsDeltaAddr gets `AVCodecParserContext.dts_ref_dts_delta` address.

func (*AVCodecParserContext) GetDtsSyncPoint

func (cpc *AVCodecParserContext) GetDtsSyncPoint() int32

GetDtsSyncPoint gets `AVCodecParserContext.dts_sync_point` value.

func (*AVCodecParserContext) GetDtsSyncPointAddr

func (cpc *AVCodecParserContext) GetDtsSyncPointAddr() *int32

GetDtsSyncPointAddr gets `AVCodecParserContext.dts_sync_point` address.

func (*AVCodecParserContext) GetDuration

func (cpc *AVCodecParserContext) GetDuration() int32

GetDuration gets `AVCodecParserContext.duration` value.

func (*AVCodecParserContext) GetDurationAddr

func (cpc *AVCodecParserContext) GetDurationAddr() *int32

GetDurationAddr gets `AVCodecParserContext.duration` address.

func (*AVCodecParserContext) GetFetchTimestamp

func (cpc *AVCodecParserContext) GetFetchTimestamp() int32

GetFetchTimestamp gets `AVCodecParserContext.fetch_timestamp` value.

func (*AVCodecParserContext) GetFetchTimestampAddr

func (cpc *AVCodecParserContext) GetFetchTimestampAddr() *int32

GetFetchTimestampAddr gets `AVCodecParserContext.fetch_timestamp` address.

func (*AVCodecParserContext) GetFieldOrder

func (cpc *AVCodecParserContext) GetFieldOrder() AVFieldOrder

GetFieldOrder gets `AVCodecParserContext.field_order` value.

func (*AVCodecParserContext) GetFieldOrderAddr

func (cpc *AVCodecParserContext) GetFieldOrderAddr() *AVFieldOrder

GetFieldOrderAddr gets `AVCodecParserContext.field_order` address.

func (*AVCodecParserContext) GetFormat

func (cpc *AVCodecParserContext) GetFormat() int32

GetFormat gets `AVCodecParserContext.format` value.

func (*AVCodecParserContext) GetFormatAddr

func (cpc *AVCodecParserContext) GetFormatAddr() *int32

GetFormatAddr gets `AVCodecParserContext.format` address.

func (*AVCodecParserContext) GetFrameOffset

func (cpc *AVCodecParserContext) GetFrameOffset() int64

GetFrameOffset gets `AVCodecParserContext.frame_offset` value.

func (*AVCodecParserContext) GetFrameOffsetAddr

func (cpc *AVCodecParserContext) GetFrameOffsetAddr() *int64

GetFrameOffsetAddr gets `AVCodecParserContext.frame_offset` address.

func (*AVCodecParserContext) GetHeight

func (cpc *AVCodecParserContext) GetHeight() int32

GetHeight gets `AVCodecParserContext.height` value.

func (*AVCodecParserContext) GetHeightAddr

func (cpc *AVCodecParserContext) GetHeightAddr() *int32

GetHeightAddr gets `AVCodecParserContext.height` address.

func (*AVCodecParserContext) GetKeyFrame

func (cpc *AVCodecParserContext) GetKeyFrame() int32

GetKeyFrame gets `AVCodecParserContext.key_frame` value.

func (*AVCodecParserContext) GetKeyFrameAddr

func (cpc *AVCodecParserContext) GetKeyFrameAddr() *int32

GetKeyFrameAddr gets `AVCodecParserContext.key_frame` address.

func (*AVCodecParserContext) GetLastDts

func (cpc *AVCodecParserContext) GetLastDts() int64

GetLastDts gets `AVCodecParserContext.last_dts` value.

func (*AVCodecParserContext) GetLastDtsAddr

func (cpc *AVCodecParserContext) GetLastDtsAddr() *int64

GetLastDtsAddr gets `AVCodecParserContext.last_dts` address.

func (*AVCodecParserContext) GetLastPos

func (cpc *AVCodecParserContext) GetLastPos() int64

GetLastPos gets `AVCodecParserContext.last_pos` value.

func (*AVCodecParserContext) GetLastPosAddr

func (cpc *AVCodecParserContext) GetLastPosAddr() *int64

GetLastPosAddr gets `AVCodecParserContext.last_pos` address.

func (*AVCodecParserContext) GetLastPts

func (cpc *AVCodecParserContext) GetLastPts() int64

GetLastPts gets `AVCodecParserContext.last_pts` value.

func (*AVCodecParserContext) GetLastPtsAddr

func (cpc *AVCodecParserContext) GetLastPtsAddr() *int64

GetLastPtsAddr gets `AVCodecParserContext.last_pts` address.

func (*AVCodecParserContext) GetNextFrameOffset

func (cpc *AVCodecParserContext) GetNextFrameOffset() int64

GetNextFrameOffset gets `AVCodecParserContext.next_frame_offset` value.

func (*AVCodecParserContext) GetNextFrameOffsetAddr

func (cpc *AVCodecParserContext) GetNextFrameOffsetAddr() *int64

GetNextFrameOffsetAddr gets `AVCodecParserContext.next_frame_offset` address.

func (*AVCodecParserContext) GetOffset

func (cpc *AVCodecParserContext) GetOffset() int64

GetOffset gets `AVCodecParserContext.offset` value.

func (*AVCodecParserContext) GetOffsetAddr

func (cpc *AVCodecParserContext) GetOffsetAddr() *int64

GetOffsetAddr gets `AVCodecParserContext.offset` address.

func (*AVCodecParserContext) GetOutputPictureNumber

func (cpc *AVCodecParserContext) GetOutputPictureNumber() int32

GetOutputPictureNumber gets `AVCodecParserContext.output_picture_number` value.

func (*AVCodecParserContext) GetOutputPictureNumberAddr

func (cpc *AVCodecParserContext) GetOutputPictureNumberAddr() *int32

GetOutputPictureNumberAddr gets `AVCodecParserContext.output_picture_number` address.

func (*AVCodecParserContext) GetParser

func (cpc *AVCodecParserContext) GetParser() *AVCodecParser

GetParser gets `AVCodecParserContext.parser` value.

func (*AVCodecParserContext) GetParserAddr

func (cpc *AVCodecParserContext) GetParserAddr() **AVCodecParser

GetParserAddr gets `AVCodecParserContext.parser` address.

func (*AVCodecParserContext) GetPictType

func (cpc *AVCodecParserContext) GetPictType() int32

GetPictType gets `AVCodecParserContext.picttype` value.

func (*AVCodecParserContext) GetPictTypeAddr

func (cpc *AVCodecParserContext) GetPictTypeAddr() *int32

GetPictTypeAddr gets `AVCodecParserContext.picttype` address.

func (*AVCodecParserContext) GetPictureStructure

func (cpc *AVCodecParserContext) GetPictureStructure() AVPictureStructure

GetPictureStructure gets `AVCodecParserContext.picture_structure` value.

func (*AVCodecParserContext) GetPictureStructureAddr

func (cpc *AVCodecParserContext) GetPictureStructureAddr() *AVPictureStructure

GetPictureStructureAddr gets `AVCodecParserContext.picture_structure` address.

func (*AVCodecParserContext) GetPos

func (cpc *AVCodecParserContext) GetPos() int64

GetPos gets `AVCodecParserContext.pos` value.

func (*AVCodecParserContext) GetPosAddr

func (cpc *AVCodecParserContext) GetPosAddr() *int64

GetPosAddr gets `AVCodecParserContext.pos` address.

func (*AVCodecParserContext) GetPrivData

func (cpc *AVCodecParserContext) GetPrivData() unsafe.Pointer

GetPrivData gets `AVCodecParserContext.priv_data` value.

func (*AVCodecParserContext) GetPrivDataAddr

func (cpc *AVCodecParserContext) GetPrivDataAddr() *unsafe.Pointer

GetPrivDataAddr gets `AVCodecParserContext.priv_data` address.

func (*AVCodecParserContext) GetPts

func (cpc *AVCodecParserContext) GetPts() int64

GetPts gets `AVCodecParserContext.pts` value.

func (*AVCodecParserContext) GetPtsAddr

func (cpc *AVCodecParserContext) GetPtsAddr() *int64

GetPtsAddr gets `AVCodecParserContext.pts` address.

func (*AVCodecParserContext) GetPtsDtsDelta

func (cpc *AVCodecParserContext) GetPtsDtsDelta() int32

GetPtsDtsDelta gets `AVCodecParserContext.pts_dts_delta` value.

func (*AVCodecParserContext) GetPtsDtsDeltaAddr

func (cpc *AVCodecParserContext) GetPtsDtsDeltaAddr() *int32

GetPtsDtsDeltaAddr gets `AVCodecParserContext.pts_dts_delta` address.

func (*AVCodecParserContext) GetWidth

func (cpc *AVCodecParserContext) GetWidth() int32

GetWidth gets `AVCodecParserContext.width` value.

func (*AVCodecParserContext) GetWidthAddr

func (cpc *AVCodecParserContext) GetWidthAddr() *int32

GetWidthAddr gets `AVCodecParserContext.width` address.

func (*AVCodecParserContext) SetCodedHeight

func (cpc *AVCodecParserContext) SetCodedHeight(v int32)

SetCodedHeight sets `AVCodecParserContext.coded_height` value.

func (*AVCodecParserContext) SetCodedWidth

func (cpc *AVCodecParserContext) SetCodedWidth(v int32)

SetCodedWidth sets `AVCodecParserContext.coded_width` value.

func (*AVCodecParserContext) SetCurFrameDts

func (cpc *AVCodecParserContext) SetCurFrameDts(v []int64)

SetCurFrameDts sets `AVCodecParserContext.cur_frame_dts` value.

func (*AVCodecParserContext) SetCurFrameEnd

func (cpc *AVCodecParserContext) SetCurFrameEnd(v []int64)

SetCurFrameEnd sets `AVCodecParserContext.cur_frame_end` value.

func (*AVCodecParserContext) SetCurFrameOffset

func (cpc *AVCodecParserContext) SetCurFrameOffset(v []int64)

SetCurFrameOffset sets `AVCodecParserContext.cur_frame_offset` value.

func (*AVCodecParserContext) SetCurFramePos

func (cpc *AVCodecParserContext) SetCurFramePos(v []int64)

SetCurFramePos sets `AVCodecParserContext.cur_frame_pos` value.

func (*AVCodecParserContext) SetCurFramePts

func (cpc *AVCodecParserContext) SetCurFramePts(v []int64)

SetCurFramePts sets `AVCodecParserContext.cur_frame_pts` value.

func (*AVCodecParserContext) SetCurFrameStartIndex

func (cpc *AVCodecParserContext) SetCurFrameStartIndex(v int32)

SetCurFrameStartIndex sets `AVCodecParserContext.cur_frame_start_index` value.

func (*AVCodecParserContext) SetCurOffset

func (cpc *AVCodecParserContext) SetCurOffset(v int64)

SetCurOffset sets `AVCodecParserContext.cur_offset` value.

func (*AVCodecParserContext) SetDts

func (cpc *AVCodecParserContext) SetDts(v int64)

SetDts sets `AVCodecParserContext.dts` value.

func (*AVCodecParserContext) SetDtsRefDtsDelta

func (cpc *AVCodecParserContext) SetDtsRefDtsDelta(v int32)

SetDtsRefDtsDelta sets `AVCodecParserContext.dts_ref_dts_delta` value.

func (*AVCodecParserContext) SetDtsSyncPoint

func (cpc *AVCodecParserContext) SetDtsSyncPoint(v int32)

SetDtsSyncPoint sets `AVCodecParserContext.dts_sync_point` value.

func (*AVCodecParserContext) SetDuration

func (cpc *AVCodecParserContext) SetDuration(v int32)

SetDuration sets `AVCodecParserContext.duration` value.

func (*AVCodecParserContext) SetFetchTimestamp

func (cpc *AVCodecParserContext) SetFetchTimestamp(v int32)

SetFetchTimestamp sets `AVCodecParserContext.fetch_timestamp` value.

func (*AVCodecParserContext) SetFieldOrder

func (cpc *AVCodecParserContext) SetFieldOrder(v AVFieldOrder)

SetFieldOrder sets `AVCodecParserContext.field_order` value.

func (*AVCodecParserContext) SetFormat

func (cpc *AVCodecParserContext) SetFormat(v int32)

SetFormat sets `AVCodecParserContext.format` value.

func (*AVCodecParserContext) SetFrameOffset

func (cpc *AVCodecParserContext) SetFrameOffset(v int64)

SetFrameOffset sets `AVCodecParserContext.frame_offset` value.

func (*AVCodecParserContext) SetHeight

func (cpc *AVCodecParserContext) SetHeight(v int32)

SetHeight sets `AVCodecParserContext.height` value.

func (*AVCodecParserContext) SetKeyFrame

func (cpc *AVCodecParserContext) SetKeyFrame(v int32)

SetKeyFrame sets `AVCodecParserContext.key_frame` value.

func (*AVCodecParserContext) SetLastDts

func (cpc *AVCodecParserContext) SetLastDts(v int64)

SetLastDts sets `AVCodecParserContext.last_dts` value.

func (*AVCodecParserContext) SetLastPos

func (cpc *AVCodecParserContext) SetLastPos(v int64)

SetLastPos sets `AVCodecParserContext.last_pos` value.

func (*AVCodecParserContext) SetLastPts

func (cpc *AVCodecParserContext) SetLastPts(v int64)

SetLastPts sets `AVCodecParserContext.last_pts` value.

func (*AVCodecParserContext) SetNextFrameOffset

func (cpc *AVCodecParserContext) SetNextFrameOffset(v int64)

SetNextFrameOffset sets `AVCodecParserContext.next_frame_offset` value.

func (*AVCodecParserContext) SetOffset

func (cpc *AVCodecParserContext) SetOffset(v int64)

SetOffset sets `AVCodecParserContext.offset` value.

func (*AVCodecParserContext) SetOutputPictureNumber

func (cpc *AVCodecParserContext) SetOutputPictureNumber(v int32)

SetOutputPictureNumber sets `AVCodecParserContext.output_picture_number` value.

func (*AVCodecParserContext) SetParser

func (cpc *AVCodecParserContext) SetParser(v *AVCodecParser)

SetParser sets `AVCodecParserContext.parser` value.

func (*AVCodecParserContext) SetPictType

func (cpc *AVCodecParserContext) SetPictType(v int32)

SetPictType sets `AVCodecParserContext.picttype` value.

func (*AVCodecParserContext) SetPictureStructure

func (cpc *AVCodecParserContext) SetPictureStructure(v AVPictureStructure)

SetPictureStructure sets `AVCodecParserContext.picture_structure` value.

func (*AVCodecParserContext) SetPos

func (cpc *AVCodecParserContext) SetPos(v int64)

SetPos sets `AVCodecParserContext.pos` value.

func (*AVCodecParserContext) SetPrivData

func (cpc *AVCodecParserContext) SetPrivData(v CVoidPointer)

SetPrivData sets `AVCodecParserContext.priv_data` value.

func (*AVCodecParserContext) SetPts

func (cpc *AVCodecParserContext) SetPts(v int64)

SetPts sets `AVCodecParserContext.pts` value.

func (*AVCodecParserContext) SetPtsDtsDelta

func (cpc *AVCodecParserContext) SetPtsDtsDelta(v int32)

SetPtsDtsDelta sets `AVCodecParserContext.pts_dts_delta` value.

func (*AVCodecParserContext) SetWidth

func (cpc *AVCodecParserContext) SetWidth(v int32)

SetWidth sets `AVCodecParserContext.width` value.

type AVCodecTag

type AVCodecTag C.struct_AVCodecTag

AVCodceTag

func AvFormatGetMovAudioTags

func AvFormatGetMovAudioTags() *AVCodecTag

AvFormatGetMovAudioTags returns the table mapping MOV FourCCs for audio to AVCodecID.

func AvFormatGetMovVideoTags

func AvFormatGetMovVideoTags() *AVCodecTag

AvFormatGetMovVideoTags returns the table mapping MOV FourCCs for video to libavcodec AVCodecID.

func AvFormatGetRiffAudioTags

func AvFormatGetRiffAudioTags() *AVCodecTag

AvFormatGetRiffAudioTags returns the table mapping RIFF FourCCs for audio to AVCodecID.

func AvFormatGetRiffVideoTags

func AvFormatGetRiffVideoTags() *AVCodecTag

AvFormatGetRiffVideoTags returns the table mapping RIFF FourCCs for video to libavcodec AVCodecID.

type AVColorPrimaries

type AVColorPrimaries = C.enum_AVColorPrimaries

Chromaticity coordinates of the source primaries.

func AvCspPrimariesIdFromDesc added in v0.51.1

func AvCspPrimariesIdFromDesc(prm *AVColorPrimariesDesc) AVColorPrimaries

AvCspPrimariesIdFromDesc detects which enum AVColorPrimaries constant corresponds to the given complete gamut description.

type AVColorPrimariesDesc added in v0.51.1

type AVColorPrimariesDesc C.struct_AVColorPrimariesDesc

AVColorPrimariesDesc

func AvCspPrimariesDescFromId added in v0.51.1

func AvCspPrimariesDescFromId(prm AVColorPrimaries) *AVColorPrimariesDesc

AvCspPrimariesDescFromId retrieves a complete gamut description from an enum constant describing the color primaries.

func (*AVColorPrimariesDesc) GetPrim added in v0.51.1

GetPrim gets `AVColorPrimariesDesc.prim` value.

func (*AVColorPrimariesDesc) GetPrimAddr added in v0.51.1

func (cpd *AVColorPrimariesDesc) GetPrimAddr() *AVPrimaryCoefficients

GetPrimAddr gets `AVColorPrimariesDesc.prim` address.

func (*AVColorPrimariesDesc) GetWp added in v0.51.1

GetWp gets `AVColorPrimariesDesc.wp` value.

func (*AVColorPrimariesDesc) GetWpAddr added in v0.51.1

GetWpAddr gets `AVColorPrimariesDesc.wp` address.

func (*AVColorPrimariesDesc) SetPrim added in v0.51.1

SetPrim sets `AVColorPrimariesDesc.prim` value.

func (*AVColorPrimariesDesc) SetWp added in v0.51.1

SetWp sets `AVColorPrimariesDesc.wp` value.

type AVColorRange

type AVColorRange = C.enum_AVColorRange

AVColorRange

func AvBuffersinkGetColorRange added in v0.70.1

func AvBuffersinkGetColorRange(ctx *AVFilterContext) AVColorRange

AvBuffersinkGetColorRange

type AVColorSpace

type AVColorSpace = C.enum_AVColorSpace

AVColorSpace

func AvBuffersinkGetColorspace added in v0.70.1

func AvBuffersinkGetColorspace(ctx *AVFilterContext) AVColorSpace

AvBuffersinkGetColorspace

type AVColorTransferCharacteristic

type AVColorTransferCharacteristic = C.enum_AVColorTransferCharacteristic

Color Transfer Characteristic.

type AVComplexDouble added in v0.42.1

type AVComplexDouble C.struct_AVComplexDouble

AVComplexDouble

func AvMakeComxDouble added in v0.43.1

func AvMakeComxDouble(re, im float64) AVComplexDouble

Make new AVComplexDouble.

func (*AVComplexDouble) GetIm added in v0.43.1

func (cd *AVComplexDouble) GetIm() float64

GetIm gets `AVComplexDouble.im` value.

func (*AVComplexDouble) GetImAddr added in v0.43.1

func (cd *AVComplexDouble) GetImAddr() *float64

GetImAddr gets `AVComplexDouble.im` address.

func (*AVComplexDouble) GetRe added in v0.43.1

func (cd *AVComplexDouble) GetRe() float64

GetRe gets `AVComplexDouble.re` value.

func (*AVComplexDouble) GetReAddr added in v0.43.1

func (cd *AVComplexDouble) GetReAddr() *float64

GetReAddr gets `AVComplexDouble.re` address.

func (*AVComplexDouble) SetIm added in v0.43.1

func (cd *AVComplexDouble) SetIm(v float64)

SetIm sets `AVComplexDouble.im` value.

func (*AVComplexDouble) SetRe added in v0.43.1

func (cd *AVComplexDouble) SetRe(v float64)

SetRe sets `AVComplexDouble.re` value.

type AVComplexFloat added in v0.42.1

type AVComplexFloat C.struct_AVComplexFloat

AVComplexFloat

func AvMakeComxFloat added in v0.42.1

func AvMakeComxFloat(re, im float32) AVComplexFloat

Make new AVComplexFloat.

func (*AVComplexFloat) GetIm added in v0.42.1

func (cf *AVComplexFloat) GetIm() float32

GetIm gets `AVComplexFloat.im` value.

func (*AVComplexFloat) GetImAddr added in v0.42.1

func (cf *AVComplexFloat) GetImAddr() *float32

GetImAddr gets `AVComplexFloat.im` address.

func (*AVComplexFloat) GetRe added in v0.42.1

func (cf *AVComplexFloat) GetRe() float32

GetRe gets `AVComplexFloat.re` value.

func (*AVComplexFloat) GetReAddr added in v0.42.1

func (cf *AVComplexFloat) GetReAddr() *float32

GetReAddr gets `AVComplexFloat.re` address.

func (*AVComplexFloat) SetIm added in v0.42.1

func (cf *AVComplexFloat) SetIm(v float32)

SetIm sets `AVComplexFloat.im` value.

func (*AVComplexFloat) SetRe added in v0.42.1

func (cf *AVComplexFloat) SetRe(v float32)

SetRe sets `AVComplexFloat.re` value.

type AVComplexInt32 added in v0.42.1

type AVComplexInt32 C.struct_AVComplexInt32

AVComplexInt32

func AvMakeComxInt32 added in v0.43.1

func AvMakeComxInt32(re, im int32) AVComplexInt32

Make new AVComplexFloat.

func (*AVComplexInt32) GetIm added in v0.43.1

func (ci *AVComplexInt32) GetIm() int32

GetIm gets `AVComplexInt32.im` value.

func (*AVComplexInt32) GetImAddr added in v0.43.1

func (ci *AVComplexInt32) GetImAddr() *int32

GetImAddr gets `AVComplexInt32.im` address.

func (*AVComplexInt32) GetRe added in v0.43.1

func (ci *AVComplexInt32) GetRe() int32

GetRe gets `AVComplexInt32.re` value.

func (*AVComplexInt32) GetReAddr added in v0.43.1

func (ci *AVComplexInt32) GetReAddr() *int32

GetReAddr gets `AVComplexInt32.re` address.

func (*AVComplexInt32) SetIm added in v0.43.1

func (ci *AVComplexInt32) SetIm(v int32)

SetIm sets `AVComplexInt32.im` value.

func (*AVComplexInt32) SetRe added in v0.43.1

func (ci *AVComplexInt32) SetRe(v int32)

SetRe sets `AVComplexInt32.re` value.

type AVComponentDescriptor

type AVComponentDescriptor C.struct_AVComponentDescriptor

AVComponentDescriptor

func (*AVComponentDescriptor) GetDepth

func (cd *AVComponentDescriptor) GetDepth() int32

GetDepth gets `AVComponentDescriptor.depth` value.

func (*AVComponentDescriptor) GetDepthAddr

func (cd *AVComponentDescriptor) GetDepthAddr() *int32

GetDepthAddr gets `AVComponentDescriptor.depth` address.

func (*AVComponentDescriptor) GetOffset

func (cd *AVComponentDescriptor) GetOffset() int32

GetOffset gets `AVComponentDescriptor.offset` value.

func (*AVComponentDescriptor) GetOffsetAddr

func (cd *AVComponentDescriptor) GetOffsetAddr() *int32

GetOffsetAddr gets `AVComponentDescriptor.offset` address.

func (*AVComponentDescriptor) GetPlane

func (cd *AVComponentDescriptor) GetPlane() int32

GetPlane gets `AVComponentDescriptor.plane` value.

func (*AVComponentDescriptor) GetPlaneAddr

func (cd *AVComponentDescriptor) GetPlaneAddr() *int32

GetPlaneAddr gets `AVComponentDescriptor.plane` address.

func (*AVComponentDescriptor) GetShift

func (cd *AVComponentDescriptor) GetShift() int32

GetShift gets `AVComponentDescriptor.shift` value.

func (*AVComponentDescriptor) GetShiftAddr

func (cd *AVComponentDescriptor) GetShiftAddr() *int32

GetShiftAddr gets `AVComponentDescriptor.shift` address.

func (*AVComponentDescriptor) GetStep

func (cd *AVComponentDescriptor) GetStep() int32

GetStep gets `AVComponentDescriptor.step` value.

func (*AVComponentDescriptor) GetStepAddr

func (cd *AVComponentDescriptor) GetStepAddr() *int32

GetStepAddr gets `AVComponentDescriptor.step` address.

func (*AVComponentDescriptor) SetDepth

func (cd *AVComponentDescriptor) SetDepth(v int32)

SetDepth sets `AVComponentDescriptor.depth` value.

func (*AVComponentDescriptor) SetOffset

func (cd *AVComponentDescriptor) SetOffset(v int32)

SetOffset sets `AVComponentDescriptor.offset` value.

func (*AVComponentDescriptor) SetPlane

func (cd *AVComponentDescriptor) SetPlane(v int32)

SetPlane sets `AVComponentDescriptor.plane` value.

func (*AVComponentDescriptor) SetShift

func (cd *AVComponentDescriptor) SetShift(v int32)

SetShift sets `AVComponentDescriptor.shift` value.

func (*AVComponentDescriptor) SetStep

func (cd *AVComponentDescriptor) SetStep(v int32)

SetStep sets `AVComponentDescriptor.step` value.

type AVContentLightMetadata

type AVContentLightMetadata C.struct_AVContentLightMetadata

AVContentLightMetadata

func AvContentLightMetadataAlloc

func AvContentLightMetadataAlloc(size *uintptr) *AVContentLightMetadata

AvContentLightMetadataAlloc allocates an AVContentLightMetadata structure and set its fields to default values.

func AvContentLightMetadataCreateSideData

func AvContentLightMetadataCreateSideData(frame *AVFrame) *AVContentLightMetadata

AvContentLightMetadataCreateSideData allocates a complete AVContentLightMetadata and add it to the frame.

func (*AVContentLightMetadata) GetMaxCLL

func (clm *AVContentLightMetadata) GetMaxCLL() uint32

GetMaxCLL gets `AVContentLightMetadata.MaxCLL` value.

func (*AVContentLightMetadata) GetMaxCLLAddr

func (clm *AVContentLightMetadata) GetMaxCLLAddr() *uint32

GetMaxCLLAddr gets `AVContentLightMetadata.MaxCLL` address.

func (*AVContentLightMetadata) GetMaxFALL

func (clm *AVContentLightMetadata) GetMaxFALL() uint32

GetMaxFALL gets `AVContentLightMetadata.MaxFALL` value.

func (*AVContentLightMetadata) GetMaxFALLAddr

func (clm *AVContentLightMetadata) GetMaxFALLAddr() *uint32

GetMaxFALLAddr gets `AVContentLightMetadata.MaxFALL` address.

func (*AVContentLightMetadata) SetMaxCLL

func (clm *AVContentLightMetadata) SetMaxCLL(v uint32)

SetMaxCLL sets `AVContentLightMetadata.MaxCLL` value.

func (*AVContentLightMetadata) SetMaxFALL

func (clm *AVContentLightMetadata) SetMaxFALL(v uint32)

SetMaxFALL sets `AVContentLightMetadata.MaxFALL` value.

type AVDCT

type AVDCT C.struct_AVDCT

AVDCT

func AvCodecDctAlloc

func AvCodecDctAlloc() *AVDCT

AvCodecDctAlloc allocates a AVDCT context.

func (*AVDCT) GetAvClass

func (dct *AVDCT) GetAvClass() *AVClass

GetAvClass gets `AVDCT.av_class` value.

func (*AVDCT) GetAvClassAddr

func (dct *AVDCT) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVDCT.av_class` address.

func (*AVDCT) GetBitsPerSample

func (dct *AVDCT) GetBitsPerSample() int32

GetBitsPerSample gets `AVDCT.bits_per_sample` value.

func (*AVDCT) GetBitsPerSampleAddr

func (dct *AVDCT) GetBitsPerSampleAddr() *int32

GetBitsPerSampleAddr gets `AVDCT.bits_per_sample` address.

func (*AVDCT) GetDctAlgo

func (dct *AVDCT) GetDctAlgo() int32

GetDctAlgo gets `AVDCT.dct_algo` value.

func (*AVDCT) GetDctAlgoAddr

func (dct *AVDCT) GetDctAlgoAddr() *int32

GetDctAlgoAddr gets `AVDCT.dct_algo` address.

func (*AVDCT) GetFdct

func (dct *AVDCT) GetFdct() AVDCTFdctFunc

GetFdct gets `AVDCT.fdct` value.

func (*AVDCT) GetFdctAddr

func (dct *AVDCT) GetFdctAddr() *AVDCTFdctFunc

GetFdctAddr gets `AVDCT.fdct` address.

func (*AVDCT) GetGetPixels

func (dct *AVDCT) GetGetPixels() AVDCTGetPixelsFunc

GetGetPixels gets `AVDCT.get_pixels` value.

func (*AVDCT) GetGetPixelsAddr

func (dct *AVDCT) GetGetPixelsAddr() *AVDCTGetPixelsFunc

GetGetPixelsAddr gets `AVDCT.get_pixels` address.

func (*AVDCT) GetGetPixelsUnaligned added in v0.43.1

func (dct *AVDCT) GetGetPixelsUnaligned() AVDCTGetPixelsUnalignedFunc

GetGetPixelsUnaligned gets `AVDCT.get_pixels_unaligned` value.

func (*AVDCT) GetGetPixelsUnalignedAddr added in v0.43.1

func (dct *AVDCT) GetGetPixelsUnalignedAddr() *AVDCTGetPixelsUnalignedFunc

GetGetPixelsUnalignedAddr gets `AVDCT.get_pixels_unaligned` address.

func (*AVDCT) GetIdct

func (dct *AVDCT) GetIdct() AVDCTIdctFunc

GetIdct gets `AVDCT.idct` value.

func (*AVDCT) GetIdctAddr

func (dct *AVDCT) GetIdctAddr() *AVDCTIdctFunc

GetIdctAddr gets `AVDCT.idct` address.

func (*AVDCT) GetIdctAlgo

func (dct *AVDCT) GetIdctAlgo() int32

GetIdctAlgo gets `AVDCT.idct_algo` value.

func (*AVDCT) GetIdctAlgoAddr

func (dct *AVDCT) GetIdctAlgoAddr() *int32

GetIdctAlgoAddr gets `AVDCT.idct_algo` address.

func (*AVDCT) GetIdctPermutation

func (dct *AVDCT) GetIdctPermutation() []uint8

GetIdctPermutation gets `AVDCT.idct_permutation` value.

func (*AVDCT) GetIdctPermutationAddr

func (dct *AVDCT) GetIdctPermutationAddr() **uint8

GetIdctPermutationAddr gets `AVDCT.idct_permutation` address.

func (*AVDCT) SetAvClass

func (dct *AVDCT) SetAvClass(v *AVClass)

SetAvClass sets `AVDCT.av_class` value.

func (*AVDCT) SetBitsPerSample

func (dct *AVDCT) SetBitsPerSample(v int32)

SetBitsPerSample sets `AVDCT.bits_per_sample` value.

func (*AVDCT) SetDctAlgo

func (dct *AVDCT) SetDctAlgo(v int32)

SetDctAlgo sets `AVDCT.dct_algo` value.

func (*AVDCT) SetFdct

func (dct *AVDCT) SetFdct(v AVDCTFdctFunc)

SetFdct sets `AVDCT.fdct` value.

func (*AVDCT) SetGetPixels

func (dct *AVDCT) SetGetPixels(v AVDCTGetPixelsFunc)

SetGetPixels sets `AVDCT.get_pixels` value.

func (*AVDCT) SetGetPixelsUnaligned added in v0.43.1

func (dct *AVDCT) SetGetPixelsUnaligned(v AVDCTGetPixelsUnalignedFunc)

SetGetPixelsUnaligned sets `AVDCT.get_pixels_unaligned` value.

func (*AVDCT) SetIdct

func (dct *AVDCT) SetIdct(v AVDCTIdctFunc)

SetIdct sets `AVDCT.idct` value.

func (*AVDCT) SetIdctAlgo

func (dct *AVDCT) SetIdctAlgo(v int32)

SetIdctAlgo sets `AVDCT.idct_algo` value.

func (*AVDCT) SetIdctPermutation

func (dct *AVDCT) SetIdctPermutation(v []uint8)

SetIdctPermutation sets `AVDCT.idct_permutation` value.

type AVDCTFdctFunc

type AVDCTFdctFunc = C.avdct_fdct_func

typedef void (*avdct_fdct_func)(int16_t *block);

type AVDCTGetPixelsFunc

type AVDCTGetPixelsFunc = C.avdct_get_pixels_func

typedef void (*avdct_get_pixels_func)(int16_t *block, const uint8_t *pixels, ptrdiff_t line_size);

type AVDCTGetPixelsUnalignedFunc added in v0.43.1

type AVDCTGetPixelsUnalignedFunc = C.avdct_get_pixels_unaligned_func

typedef void (*avdct_get_pixels_unaligned_func)(int16_t *block, const uint8_t *pixels, ptrdiff_t line_size);

type AVDCTIdctFunc

type AVDCTIdctFunc = C.avdct_idct_func

typedef void (*avdct_idct_func)(int16_t *block);

type AVDES

type AVDES C.struct_AVDES

AVDES

func AvDesAlloc

func AvDesAlloc() *AVDES

AvDesAlloc allocates an AVDES context.

func (*AVDES) GetRoundKeys

func (d *AVDES) GetRoundKeys() (v [][]uint64)

GetRoundKeys gets `AVDES.round_keys` value.

func (*AVDES) GetRoundKeysAddr

func (d *AVDES) GetRoundKeysAddr() **uint64

GetRoundKeysAddr gets `AVDES.round_keys` address.

func (*AVDES) GetTripleDes

func (d *AVDES) GetTripleDes() int32

GetTripleDes gets `AVDES.triple_des` value.

func (*AVDES) GetTripleDesAddr

func (d *AVDES) GetTripleDesAddr() *int32

GetTripleDesAddr gets `AVDES.triple_des` address.

func (*AVDES) SetRoundKeys

func (d *AVDES) SetRoundKeys(v [][]uint64)

SetRoundKeys sets `AVDES.round_keys` value.

func (*AVDES) SetTripleDes

func (d *AVDES) SetTripleDes(v int32)

SetTripleDes sets `AVDES.triple_des` value.

type AVDOVIDecoderConfigurationRecord added in v0.43.1

type AVDOVIDecoderConfigurationRecord C.struct_AVDOVIDecoderConfigurationRecord

AVDOVIDecoderConfigurationRecord

func AvDoviAlloc added in v0.43.1

func AvDoviAlloc(size *uintptr) *AVDOVIDecoderConfigurationRecord

AvDoviAlloc allocates a AVDOVIDecoderConfigurationRecord structure and initialize its fields to default values.

func (*AVDOVIDecoderConfigurationRecord) GetBlPresentFlag added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetBlPresentFlag() uint8

GetBlPresentFlag gets `AVDOVIDecoderConfigurationRecord.bl_present_flag` value.

func (*AVDOVIDecoderConfigurationRecord) GetBlPresentFlagAddr added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetBlPresentFlagAddr() *uint8

GetBlPresentFlagAddr gets `AVDOVIDecoderConfigurationRecord.bl_present_flag` address.

func (*AVDOVIDecoderConfigurationRecord) GetDvBlSignalCompatibilityId added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetDvBlSignalCompatibilityId() uint8

GetDvBlSignalCompatibilityId gets `AVDOVIDecoderConfigurationRecord.dv_bl_signal_compatibility_id` value.

func (*AVDOVIDecoderConfigurationRecord) GetDvBlSignalCompatibilityIdAddr added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetDvBlSignalCompatibilityIdAddr() *uint8

GetDvBlSignalCompatibilityIdAddr gets `AVDOVIDecoderConfigurationRecord.dv_bl_signal_compatibility_id` address.

func (*AVDOVIDecoderConfigurationRecord) GetDvLevel added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetDvLevel() uint8

GetDvLevel gets `AVDOVIDecoderConfigurationRecord.dv_level` value.

func (*AVDOVIDecoderConfigurationRecord) GetDvLevelAddr added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetDvLevelAddr() *uint8

GetDvLevelAddr gets `AVDOVIDecoderConfigurationRecord.dv_level` address.

func (*AVDOVIDecoderConfigurationRecord) GetDvProfile added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetDvProfile() uint8

GetDvProfile gets `AVDOVIDecoderConfigurationRecord.dv_profile` value.

func (*AVDOVIDecoderConfigurationRecord) GetDvProfileAddr added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetDvProfileAddr() *uint8

GetDvProfileAddr gets `AVDOVIDecoderConfigurationRecord.dv_profile` address.

func (*AVDOVIDecoderConfigurationRecord) GetDvVersionMajor added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetDvVersionMajor() uint8

GetDvVersionMajor gets `AVDOVIDecoderConfigurationRecord.dv_version_major` value.

func (*AVDOVIDecoderConfigurationRecord) GetDvVersionMajorAddr added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetDvVersionMajorAddr() *uint8

GetDvVersionMajorAddr gets `AVDOVIDecoderConfigurationRecord.dv_version_major` address.

func (*AVDOVIDecoderConfigurationRecord) GetDvVersionMinor added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetDvVersionMinor() uint8

GetDvVersionMinor gets `AVDOVIDecoderConfigurationRecord.dv_version_minor` value.

func (*AVDOVIDecoderConfigurationRecord) GetDvVersionMinorAddr added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetDvVersionMinorAddr() *uint8

GetDvVersionMinorAddr gets `AVDOVIDecoderConfigurationRecord.dv_version_minor` address.

func (*AVDOVIDecoderConfigurationRecord) GetElPresentFlag added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetElPresentFlag() uint8

GetElPresentFlag gets `AVDOVIDecoderConfigurationRecord.el_present_flag` value.

func (*AVDOVIDecoderConfigurationRecord) GetElPresentFlagAddr added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetElPresentFlagAddr() *uint8

GetElPresentFlagAddr gets `AVDOVIDecoderConfigurationRecord.el_present_flag` address.

func (*AVDOVIDecoderConfigurationRecord) GetRpuPresentFlag added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetRpuPresentFlag() uint8

GetRpuPresentFlag gets `AVDOVIDecoderConfigurationRecord.rpu_present_flag` value.

func (*AVDOVIDecoderConfigurationRecord) GetRpuPresentFlagAddr added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) GetRpuPresentFlagAddr() *uint8

GetRpuPresentFlagAddr gets `AVDOVIDecoderConfigurationRecord.rpu_present_flag` address.

func (*AVDOVIDecoderConfigurationRecord) SetBlPresentFlag added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) SetBlPresentFlag(v uint8)

SetBlPresentFlag sets `AVDOVIDecoderConfigurationRecord.bl_present_flag` value.

func (*AVDOVIDecoderConfigurationRecord) SetDvBlSignalCompatibilityId added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) SetDvBlSignalCompatibilityId(v uint8)

SetDvBlSignalCompatibilityId sets `AVDOVIDecoderConfigurationRecord.dv_bl_signal_compatibility_id` value.

func (*AVDOVIDecoderConfigurationRecord) SetDvLevel added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) SetDvLevel(v uint8)

SetDvLevel sets `AVDOVIDecoderConfigurationRecord.dv_level` value.

func (*AVDOVIDecoderConfigurationRecord) SetDvProfile added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) SetDvProfile(v uint8)

SetDvProfile sets `AVDOVIDecoderConfigurationRecord.dv_profile` value.

func (*AVDOVIDecoderConfigurationRecord) SetDvVersionMajor added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) SetDvVersionMajor(v uint8)

SetDvVersionMajor sets `AVDOVIDecoderConfigurationRecord.dv_version_major` value.

func (*AVDOVIDecoderConfigurationRecord) SetDvVersionMinor added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) SetDvVersionMinor(v uint8)

SetDvVersionMinor sets `AVDOVIDecoderConfigurationRecord.dv_version_minor` value.

func (*AVDOVIDecoderConfigurationRecord) SetElPresentFlag added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) SetElPresentFlag(v uint8)

SetElPresentFlag sets `AVDOVIDecoderConfigurationRecord.el_present_flag` value.

func (*AVDOVIDecoderConfigurationRecord) SetRpuPresentFlag added in v0.43.1

func (dcr *AVDOVIDecoderConfigurationRecord) SetRpuPresentFlag(v uint8)

SetRpuPresentFlag sets `AVDOVIDecoderConfigurationRecord.rpu_present_flag` value.

type AVDVProfile

type AVDVProfile C.struct_AVDVProfile

AVDVProfile

func AvDvCodecProfile

func AvDvCodecProfile(width, height int32, pixFmt AVPixelFormat) *AVDVProfile

AvDvCodecProfile gets a DV profile for the provided stream parameters.

func AvDvCodecProfile2

func AvDvCodecProfile2(width, height int32, pixFmt AVPixelFormat,
	frameRate AVRational) *AVDVProfile

AvDvCodecProfile2 gets a DV profile for the provided stream parameters.

func AvDvFrameProfile

func AvDvFrameProfile(sys *AVDVProfile, frame *uint8, bufSize uint32) *AVDVProfile

AvDvFrameProfile gets a DV profile for the provided compressed frame.

func (*AVDVProfile) GetAudioMinSamples

func (dvp *AVDVProfile) GetAudioMinSamples() []int32

GetAudioMinSamples gets `AVDVProfile.audio_min_samples` value.

func (*AVDVProfile) GetAudioMinSamplesAddr

func (dvp *AVDVProfile) GetAudioMinSamplesAddr() **int32

GetAudioMinSamplesAddr gets `AVDVProfile.audio_min_samples` address.

func (*AVDVProfile) GetAudioSamplesDist

func (dvp *AVDVProfile) GetAudioSamplesDist() []int32

GetAudioSamplesDist gets `AVDVProfile.audio_samples_dist` value.

func (*AVDVProfile) GetAudioSamplesDistAddr

func (dvp *AVDVProfile) GetAudioSamplesDistAddr() **int32

GetAudioSamplesDistAddr gets `AVDVProfile.audio_samples_dist` address.

func (*AVDVProfile) GetAudioShuffle

func (dvp *AVDVProfile) GetAudioShuffle() []uint8

GetAudioShuffle gets `AVDVProfile.audio_shuffle` value.

func (*AVDVProfile) GetAudioShuffleAddr

func (dvp *AVDVProfile) GetAudioShuffleAddr() **uint8

GetAudioShuffleAddr gets `AVDVProfile.audio_shuffle` address.

func (*AVDVProfile) GetAudioStride

func (dvp *AVDVProfile) GetAudioStride() int32

GetAudioStride gets `AVDVProfile.audio_stride` value.

func (*AVDVProfile) GetAudioStrideAddr

func (dvp *AVDVProfile) GetAudioStrideAddr() *int32

GetAudioStrideAddr gets `AVDVProfile.audio_stride` address.

func (*AVDVProfile) GetBlockSizes

func (dvp *AVDVProfile) GetBlockSizes() *uint8

GetBlockSizes gets `AVDVProfile.block_sizes` value.

func (*AVDVProfile) GetBlockSizesAddr

func (dvp *AVDVProfile) GetBlockSizesAddr() **uint8

GetBlockSizesAddr gets `AVDVProfile.block_sizes` address.

func (*AVDVProfile) GetBpm

func (dvp *AVDVProfile) GetBpm() int32

GetBpm gets `AVDVProfile.bpm` value.

func (*AVDVProfile) GetBpmAddr

func (dvp *AVDVProfile) GetBpmAddr() *int32

GetBpmAddr gets `AVDVProfile.bpm` address.

func (*AVDVProfile) GetDifsegSize

func (dvp *AVDVProfile) GetDifsegSize() int32

GetDifsegSize gets `AVDVProfile.difseg_size` value.

func (*AVDVProfile) GetDifsegSizeAddr

func (dvp *AVDVProfile) GetDifsegSizeAddr() *int32

GetDifsegSizeAddr gets `AVDVProfile.difseg_size` address.

func (*AVDVProfile) GetDsf

func (dvp *AVDVProfile) GetDsf() int32

GetDsf gets `AVDVProfile.dsf` value.

func (*AVDVProfile) GetDsfAddr

func (dvp *AVDVProfile) GetDsfAddr() *int32

GetDsfAddr gets `AVDVProfile.dsf` address.

func (*AVDVProfile) GetFrameSize

func (dvp *AVDVProfile) GetFrameSize() int32

GetFrameSize gets `AVDVProfile.frame_size` value.

func (*AVDVProfile) GetFrameSizeAddr

func (dvp *AVDVProfile) GetFrameSizeAddr() *int32

GetFrameSizeAddr gets `AVDVProfile.frame_size` address.

func (*AVDVProfile) GetHeight

func (dvp *AVDVProfile) GetHeight() int32

GetHeight gets `AVDVProfile.height` value.

func (*AVDVProfile) GetHeightAddr

func (dvp *AVDVProfile) GetHeightAddr() *int32

GetHeightAddr gets `AVDVProfile.height` address.

func (*AVDVProfile) GetLtcDivisor

func (dvp *AVDVProfile) GetLtcDivisor() int32

GetLtcDivisor gets `AVDVProfile.ltc_divisor` value.

func (*AVDVProfile) GetLtcDivisorAddr

func (dvp *AVDVProfile) GetLtcDivisorAddr() *int32

GetLtcDivisorAddr gets `AVDVProfile.ltc_divisor` address.

func (*AVDVProfile) GetNDifchan

func (dvp *AVDVProfile) GetNDifchan() int32

GetNDifchan gets `AVDVProfile.n_difchan` value.

func (*AVDVProfile) GetNDifchanAddr

func (dvp *AVDVProfile) GetNDifchanAddr() *int32

GetNDifchanAddr gets `AVDVProfile.n_difchan` address.

func (*AVDVProfile) GetPixFmt

func (dvp *AVDVProfile) GetPixFmt() AVPixelFormat

GetPixFmt gets `AVDVProfile.pix_fmt` value.

func (*AVDVProfile) GetPixFmtAddr

func (dvp *AVDVProfile) GetPixFmtAddr() *AVPixelFormat

GetPixFmtAddr gets `AVDVProfile.pix_fmt` address.

func (*AVDVProfile) GetSar

func (dvp *AVDVProfile) GetSar() []AVRational

GetSar gets `AVDVProfile.sar` value.

func (*AVDVProfile) GetSarAddr

func (dvp *AVDVProfile) GetSarAddr() **AVRational

GetSarAddr gets `AVDVProfile.sar` address.

func (*AVDVProfile) GetTimeBase

func (dvp *AVDVProfile) GetTimeBase() AVRational

GetTimeBase gets `AVDVProfile.time_base` value.

func (*AVDVProfile) GetTimeBaseAddr

func (dvp *AVDVProfile) GetTimeBaseAddr() *AVRational

GetTimeBaseAddr gets `AVDVProfile.time_base` address.

func (*AVDVProfile) GetVideoStype

func (dvp *AVDVProfile) GetVideoStype() int32

GetVideoStype gets `AVDVProfile.video_stype` value.

func (*AVDVProfile) GetVideoStypeAddr

func (dvp *AVDVProfile) GetVideoStypeAddr() *int32

GetVideoStypeAddr gets `AVDVProfile.video_stype` address.

func (*AVDVProfile) GetWidth

func (dvp *AVDVProfile) GetWidth() int32

GetWidth gets `AVDVProfile.width` value.

func (*AVDVProfile) GetWidthAddr

func (dvp *AVDVProfile) GetWidthAddr() *int32

GetWidthAddr gets `AVDVProfile.width` address.

func (*AVDVProfile) SetAudioMinSamples

func (dvp *AVDVProfile) SetAudioMinSamples(v []int32)

SetAudioMinSamples sets `AVDVProfile.audio_min_samples` value.

func (*AVDVProfile) SetAudioSamplesDist

func (dvp *AVDVProfile) SetAudioSamplesDist(v []int32)

SetAudioSamplesDist sets `AVDVProfile.audio_samples_dist` value.

func (*AVDVProfile) SetAudioShuffle

func (dvp *AVDVProfile) SetAudioShuffle(v []uint8)

SetAudioShuffle sets `AVDVProfile.audio_shuffle` value.

func (*AVDVProfile) SetAudioStride

func (dvp *AVDVProfile) SetAudioStride(v int32)

SetAudioStride sets `AVDVProfile.audio_stride` value.

func (*AVDVProfile) SetBlockSizes

func (dvp *AVDVProfile) SetBlockSizes(v *uint8)

SetBlockSizes sets `AVDVProfile.block_sizes` value.

func (*AVDVProfile) SetBpm

func (dvp *AVDVProfile) SetBpm(v int32)

SetBpm sets `AVDVProfile.bpm` value.

func (*AVDVProfile) SetDifsegSize

func (dvp *AVDVProfile) SetDifsegSize(v int32)

SetDifsegSize sets `AVDVProfile.difseg_size` value.

func (*AVDVProfile) SetDsf

func (dvp *AVDVProfile) SetDsf(v int32)

SetDsf sets `AVDVProfile.dsf` value.

func (*AVDVProfile) SetFrameSize

func (dvp *AVDVProfile) SetFrameSize(v int32)

SetFrameSize sets `AVDVProfile.frame_size` value.

func (*AVDVProfile) SetHeight

func (dvp *AVDVProfile) SetHeight(v int32)

SetHeight sets `AVDVProfile.height` value.

func (*AVDVProfile) SetLtcDivisor

func (dvp *AVDVProfile) SetLtcDivisor(v int32)

SetLtcDivisor sets `AVDVProfile.ltc_divisor` value.

func (*AVDVProfile) SetNDifchan

func (dvp *AVDVProfile) SetNDifchan(v int32)

SetNDifchan sets `AVDVProfile.n_difchan` value.

func (*AVDVProfile) SetPixFmt

func (dvp *AVDVProfile) SetPixFmt(v AVPixelFormat)

SetPixFmt sets `AVDVProfile.pix_fmt` value.

func (*AVDVProfile) SetSar

func (dvp *AVDVProfile) SetSar(v []AVRational)

SetSar sets `AVDVProfile.sar` value.

func (*AVDVProfile) SetTimeBase

func (dvp *AVDVProfile) SetTimeBase(v AVRational)

SetTimeBase sets `AVDVProfile.time_base` value.

func (*AVDVProfile) SetVideoStype

func (dvp *AVDVProfile) SetVideoStype(v int32)

SetVideoStype sets `AVDVProfile.video_stype` value.

func (*AVDVProfile) SetWidth

func (dvp *AVDVProfile) SetWidth(v int32)

SetWidth sets `AVDVProfile.width` value.

type AVDevToAppMessageType

type AVDevToAppMessageType = C.enum_AVDevToAppMessageType

AVDevToAppMessageType

type AVDeviceCapabilitiesQuery

type AVDeviceCapabilitiesQuery C.struct_AVDeviceCapabilitiesQuery

AVDeviceCapabilitiesQuery

type AVDeviceInfo

type AVDeviceInfo C.struct_AVDeviceInfo

AVDeviceInfo

func (*AVDeviceInfo) GetDeviceDescription

func (di *AVDeviceInfo) GetDeviceDescription() string

GetDeviceDescription gets `AVDeviceInfo.device_description` value.

func (*AVDeviceInfo) GetDeviceName

func (di *AVDeviceInfo) GetDeviceName() string

GetDeviceName gets `AVDeviceInfo.device_name` value.

type AVDeviceInfoList

type AVDeviceInfoList C.struct_AVDeviceInfoList

AVDeviceInfoList

func (*AVDeviceInfoList) GetDefaultDevice

func (dcl *AVDeviceInfoList) GetDefaultDevice() int32

GetDefaultDevice gets `AVDeviceInfoList.default_device` value.

func (*AVDeviceInfoList) GetDevices

func (dcl *AVDeviceInfoList) GetDevices() []*AVDeviceInfo

GetDevices gets `AVDeviceInfoList.devices` value.

func (*AVDeviceInfoList) GetNbDevices

func (dcl *AVDeviceInfoList) GetNbDevices() int32

GetNbDevices gets `AVDeviceInfoList.nb_devices` value.

type AVDeviceRect

type AVDeviceRect C.struct_AVDeviceRect

AVDeviceRect

func (*AVDeviceRect) GetHeight

func (dr *AVDeviceRect) GetHeight() int32

GetHeight gets `AVDeviceRect.height` value.

func (*AVDeviceRect) GetHeightAddr

func (dr *AVDeviceRect) GetHeightAddr() *int32

GetHeightAddr gets `AVDeviceRect.height` address.

func (*AVDeviceRect) GetWidth

func (dr *AVDeviceRect) GetWidth() int32

GetWidth gets `AVDeviceRect.width` value.

func (*AVDeviceRect) GetWidthAddr

func (dr *AVDeviceRect) GetWidthAddr() *int32

GetWidthAddr gets `AVDeviceRect.width` address.

func (*AVDeviceRect) GetX

func (dr *AVDeviceRect) GetX() int32

GetX gets `AVDeviceRect.x` value.

func (*AVDeviceRect) GetXAddr

func (dr *AVDeviceRect) GetXAddr() *int32

GetXAddr gets `AVDeviceRect.x` address.

func (*AVDeviceRect) GetY

func (dr *AVDeviceRect) GetY() int32

GetY gets `AVDeviceRect.y` value.

func (*AVDeviceRect) GetYAddr

func (dr *AVDeviceRect) GetYAddr() *int32

GetYAddr gets `AVDeviceRect.y` address.

func (*AVDeviceRect) SetHeight

func (dr *AVDeviceRect) SetHeight(v int32)

SetHeight sets `AVDeviceRect.height` value.

func (*AVDeviceRect) SetWidth

func (dr *AVDeviceRect) SetWidth(v int32)

SetWidth sets `AVDeviceRect.width` value.

func (*AVDeviceRect) SetX

func (dr *AVDeviceRect) SetX(v int32)

SetX sets `AVDeviceRect.x` value.

func (*AVDeviceRect) SetY

func (dr *AVDeviceRect) SetY(v int32)

SetY sets `AVDeviceRect.y` value.

type AVDictionary

type AVDictionary C.struct_AVDictionary

AvDictionary gets a dictionary entry with matching key.

type AVDictionaryEntry

type AVDictionaryEntry C.struct_AVDictionaryEntry

AVDictionaryEntry

func AvDictGet

func AvDictGet(m *AVDictionary, key string, prev *AVDictionaryEntry, flags int32) *AVDictionaryEntry

AvDictGet

func AvDictIterate added in v0.60.1

func AvDictIterate(m *AVDictionary, prev *AVDictionaryEntry) *AVDictionaryEntry

AvDictIterate iterates over a dictionary.

func (*AVDictionaryEntry) GetKey

func (e *AVDictionaryEntry) GetKey() string

GetKey gets `AVDictionaryEntry.key` value.

func (*AVDictionaryEntry) GetValue

func (e *AVDictionaryEntry) GetValue() string

GetValue gets `AVDictionaryEntry.value` value.

type AVDiracSeqHeader

type AVDiracSeqHeader C.struct_AVDiracSeqHeader

AVDiracSeqHeader

func (*AVDiracSeqHeader) GetAspectRatioIndex

func (dsh *AVDiracSeqHeader) GetAspectRatioIndex() uint8

GetAspectRatioIndex gets `AVDiracSeqHeader.aspect_ratio_index` value.

func (*AVDiracSeqHeader) GetAspectRatioIndexAddr

func (dsh *AVDiracSeqHeader) GetAspectRatioIndexAddr() *uint8

GetAspectRatioIndexAddr gets `AVDiracSeqHeader.aspect_ratio_index` address.

func (*AVDiracSeqHeader) GetBitDepth

func (dsh *AVDiracSeqHeader) GetBitDepth() int32

GetBitDepth gets `AVDiracSeqHeader.bit_depth` value.

func (*AVDiracSeqHeader) GetBitDepthAddr

func (dsh *AVDiracSeqHeader) GetBitDepthAddr() *int32

GetBitDepthAddr gets `AVDiracSeqHeader.bit_depth` address.

func (*AVDiracSeqHeader) GetChromaFormat

func (dsh *AVDiracSeqHeader) GetChromaFormat() uint8

GetChromaFormat gets `AVDiracSeqHeader.chroma_format` value.

func (*AVDiracSeqHeader) GetChromaFormatAddr

func (dsh *AVDiracSeqHeader) GetChromaFormatAddr() *uint8

GetChromaFormatAddr gets `AVDiracSeqHeader.chroma_format` address.

func (*AVDiracSeqHeader) GetCleanHeight

func (dsh *AVDiracSeqHeader) GetCleanHeight() uint16

GetCleanHeight gets `AVDiracSeqHeader.clean_height` value.

func (*AVDiracSeqHeader) GetCleanHeightAddr

func (dsh *AVDiracSeqHeader) GetCleanHeightAddr() *uint16

GetCleanHeightAddr gets `AVDiracSeqHeader.clean_height` address.

func (*AVDiracSeqHeader) GetCleanLeftOffset

func (dsh *AVDiracSeqHeader) GetCleanLeftOffset() uint16

GetCleanLeftOffset gets `AVDiracSeqHeader.clean_left_offset` value.

func (*AVDiracSeqHeader) GetCleanLeftOffsetAddr

func (dsh *AVDiracSeqHeader) GetCleanLeftOffsetAddr() *uint16

GetCleanLeftOffsetAddr gets `AVDiracSeqHeader.clean_left_offset` address.

func (*AVDiracSeqHeader) GetCleanRightOffset

func (dsh *AVDiracSeqHeader) GetCleanRightOffset() uint16

GetCleanRightOffset gets `AVDiracSeqHeader.clean_right_offset` value.

func (*AVDiracSeqHeader) GetCleanRightOffsetAddr

func (dsh *AVDiracSeqHeader) GetCleanRightOffsetAddr() *uint16

GetCleanRightOffsetAddr gets `AVDiracSeqHeader.clean_right_offset` address.

func (*AVDiracSeqHeader) GetCleanWidth

func (dsh *AVDiracSeqHeader) GetCleanWidth() uint16

GetCleanWidth gets `AVDiracSeqHeader.clean_width` value.

func (*AVDiracSeqHeader) GetCleanWidthAddr

func (dsh *AVDiracSeqHeader) GetCleanWidthAddr() *uint16

GetCleanWidthAddr gets `AVDiracSeqHeader.clean_width` address.

func (*AVDiracSeqHeader) GetColorPrimaries

func (dsh *AVDiracSeqHeader) GetColorPrimaries() AVColorPrimaries

GetColorPrimaries gets `AVDiracSeqHeader.color_primaries` value.

func (*AVDiracSeqHeader) GetColorPrimariesAddr

func (dsh *AVDiracSeqHeader) GetColorPrimariesAddr() *AVColorPrimaries

GetColorPrimariesAddr gets `AVDiracSeqHeader.color_primaries` address.

func (*AVDiracSeqHeader) GetColorRange

func (dsh *AVDiracSeqHeader) GetColorRange() AVColorRange

GetColorRange gets `AVDiracSeqHeader.colorrange` value.

func (*AVDiracSeqHeader) GetColorRangeAddr

func (dsh *AVDiracSeqHeader) GetColorRangeAddr() *AVColorRange

GetColorRangeAddr gets `AVDiracSeqHeader.colorrange` address.

func (*AVDiracSeqHeader) GetColorSpecIndex

func (dsh *AVDiracSeqHeader) GetColorSpecIndex() uint8

GetColorSpecIndex gets `AVDiracSeqHeader.color_spec_index` value.

func (*AVDiracSeqHeader) GetColorSpecIndexAddr

func (dsh *AVDiracSeqHeader) GetColorSpecIndexAddr() *uint8

GetColorSpecIndexAddr gets `AVDiracSeqHeader.color_spec_index` address.

func (*AVDiracSeqHeader) GetColorTrc

GetColorTrc gets `AVDiracSeqHeader.color_trc` value.

func (*AVDiracSeqHeader) GetColorTrcAddr

func (dsh *AVDiracSeqHeader) GetColorTrcAddr() *AVColorTransferCharacteristic

GetColorTrcAddr gets `AVDiracSeqHeader.color_trc` address.

func (*AVDiracSeqHeader) GetColorspace

func (dsh *AVDiracSeqHeader) GetColorspace() AVColorSpace

GetColorspace gets `AVDiracSeqHeader.colorspace` value.

func (*AVDiracSeqHeader) GetColorspaceAddr

func (dsh *AVDiracSeqHeader) GetColorspaceAddr() *AVColorSpace

GetColorspaceAddr gets `AVDiracSeqHeader.colorspace` address.

func (*AVDiracSeqHeader) GetFrameRateIndex

func (dsh *AVDiracSeqHeader) GetFrameRateIndex() uint8

GetFrameRateIndex gets `AVDiracSeqHeader.frame_rate_index` value.

func (*AVDiracSeqHeader) GetFrameRateIndexAddr

func (dsh *AVDiracSeqHeader) GetFrameRateIndexAddr() *uint8

GetFrameRateIndexAddr gets `AVDiracSeqHeader.frame_rate_index` address.

func (*AVDiracSeqHeader) GetFramerate

func (dsh *AVDiracSeqHeader) GetFramerate() AVRational

GetFramerate gets `AVDiracSeqHeader.framerate` value.

func (*AVDiracSeqHeader) GetFramerateAddr

func (dsh *AVDiracSeqHeader) GetFramerateAddr() *AVRational

GetFramerateAddr gets `AVDiracSeqHeader.framerate` address.

func (*AVDiracSeqHeader) GetHeight

func (dsh *AVDiracSeqHeader) GetHeight() uint32

GetHeight gets `AVDiracSeqHeader.height` value.

func (*AVDiracSeqHeader) GetHeightAddr

func (dsh *AVDiracSeqHeader) GetHeightAddr() *uint32

GetHeightAddr gets `AVDiracSeqHeader.height` address.

func (*AVDiracSeqHeader) GetInterlaced

func (dsh *AVDiracSeqHeader) GetInterlaced() uint8

GetInterlaced gets `AVDiracSeqHeader.interlaced` value.

func (*AVDiracSeqHeader) GetInterlacedAddr

func (dsh *AVDiracSeqHeader) GetInterlacedAddr() *uint8

GetInterlacedAddr gets `AVDiracSeqHeader.interlaced` address.

func (*AVDiracSeqHeader) GetLevel

func (dsh *AVDiracSeqHeader) GetLevel() int32

GetLevel gets `AVDiracSeqHeader.level` value.

func (*AVDiracSeqHeader) GetLevelAddr

func (dsh *AVDiracSeqHeader) GetLevelAddr() *int32

GetLevelAddr gets `AVDiracSeqHeader.level` address.

func (*AVDiracSeqHeader) GetPixFmt

func (dsh *AVDiracSeqHeader) GetPixFmt() AVPixelFormat

GetPixFmt gets `AVDiracSeqHeader.pix_fmt` value.

func (*AVDiracSeqHeader) GetPixFmtAddr

func (dsh *AVDiracSeqHeader) GetPixFmtAddr() *AVPixelFormat

GetPixFmtAddr gets `AVDiracSeqHeader.pix_fmt` address.

func (*AVDiracSeqHeader) GetPixelRangeIndex

func (dsh *AVDiracSeqHeader) GetPixelRangeIndex() uint8

GetPixelRangeIndex gets `AVDiracSeqHeader.pixel_range_index` value.

func (*AVDiracSeqHeader) GetPixelRangeIndexAddr

func (dsh *AVDiracSeqHeader) GetPixelRangeIndexAddr() *uint8

GetPixelRangeIndexAddr gets `AVDiracSeqHeader.pixel_range_index` address.

func (*AVDiracSeqHeader) GetProfile

func (dsh *AVDiracSeqHeader) GetProfile() int32

GetProfile gets `AVDiracSeqHeader.profile` value.

func (*AVDiracSeqHeader) GetProfileAddr

func (dsh *AVDiracSeqHeader) GetProfileAddr() *int32

GetProfileAddr gets `AVDiracSeqHeader.profile` address.

func (*AVDiracSeqHeader) GetSampleAspectRatio

func (dsh *AVDiracSeqHeader) GetSampleAspectRatio() AVRational

GetSampleAspectRatio gets `AVDiracSeqHeader.sample_aspect_ratio` value.

func (*AVDiracSeqHeader) GetSampleAspectRatioAddr

func (dsh *AVDiracSeqHeader) GetSampleAspectRatioAddr() *AVRational

GetSampleAspectRatioAddr gets `AVDiracSeqHeader.sample_aspect_ratio` address.

func (*AVDiracSeqHeader) GetTopFieldFirst

func (dsh *AVDiracSeqHeader) GetTopFieldFirst() uint8

GetTopFieldFirst gets `AVDiracSeqHeader.top_field_first` value.

func (*AVDiracSeqHeader) GetTopFieldFirstAddr

func (dsh *AVDiracSeqHeader) GetTopFieldFirstAddr() *uint8

GetTopFieldFirstAddr gets `AVDiracSeqHeader.top_field_first` address.

func (*AVDiracSeqHeader) GetVersion

func (dsh *AVDiracSeqHeader) GetVersion() DiracVersionInfo

GetVersion gets `AVDiracSeqHeader.version` value.

func (*AVDiracSeqHeader) GetVersionAddr

func (dsh *AVDiracSeqHeader) GetVersionAddr() *DiracVersionInfo

GetVersionAddr gets `AVDiracSeqHeader.version` address.

func (*AVDiracSeqHeader) GetWidth

func (dsh *AVDiracSeqHeader) GetWidth() uint32

GetWidth gets `AVDiracSeqHeader.width` value.

func (*AVDiracSeqHeader) GetWidthAddr

func (dsh *AVDiracSeqHeader) GetWidthAddr() *uint32

GetWidthAddr gets `AVDiracSeqHeader.width` address.

func (*AVDiracSeqHeader) SetAspectRatioIndex

func (dsh *AVDiracSeqHeader) SetAspectRatioIndex(v uint8)

SetAspectRatioIndex sets `AVDiracSeqHeader.aspect_ratio_index` value.

func (*AVDiracSeqHeader) SetBitDepth

func (dsh *AVDiracSeqHeader) SetBitDepth(v int32)

SetBitDepth sets `AVDiracSeqHeader.bit_depth` value.

func (*AVDiracSeqHeader) SetChromaFormat

func (dsh *AVDiracSeqHeader) SetChromaFormat(v uint8)

SetChromaFormat sets `AVDiracSeqHeader.chroma_format` value.

func (*AVDiracSeqHeader) SetCleanHeight

func (dsh *AVDiracSeqHeader) SetCleanHeight(v uint16)

SetCleanHeight sets `AVDiracSeqHeader.clean_height` value.

func (*AVDiracSeqHeader) SetCleanLeftOffset

func (dsh *AVDiracSeqHeader) SetCleanLeftOffset(v uint16)

SetCleanLeftOffset sets `AVDiracSeqHeader.clean_left_offset` value.

func (*AVDiracSeqHeader) SetCleanRightOffset

func (dsh *AVDiracSeqHeader) SetCleanRightOffset(v uint16)

SetCleanRightOffset sets `AVDiracSeqHeader.clean_right_offset` value.

func (*AVDiracSeqHeader) SetCleanWidth

func (dsh *AVDiracSeqHeader) SetCleanWidth(v uint16)

SetCleanWidth sets `AVDiracSeqHeader.clean_width` value.

func (*AVDiracSeqHeader) SetColorPrimaries

func (dsh *AVDiracSeqHeader) SetColorPrimaries(v AVColorPrimaries)

SetColorPrimaries sets `AVDiracSeqHeader.color_primaries` value.

func (*AVDiracSeqHeader) SetColorRange

func (dsh *AVDiracSeqHeader) SetColorRange(v AVColorRange)

SetColorRange sets `AVDiracSeqHeader.colorrange` value.

func (*AVDiracSeqHeader) SetColorSpecIndex

func (dsh *AVDiracSeqHeader) SetColorSpecIndex(v uint8)

SetColorSpecIndex sets `AVDiracSeqHeader.color_spec_index` value.

func (*AVDiracSeqHeader) SetColorTrc

func (dsh *AVDiracSeqHeader) SetColorTrc(v AVColorTransferCharacteristic)

SetColorTrc sets `AVDiracSeqHeader.color_trc` value.

func (*AVDiracSeqHeader) SetColorspace

func (dsh *AVDiracSeqHeader) SetColorspace(v AVColorSpace)

SetColorspace sets `AVDiracSeqHeader.colorspace` value.

func (*AVDiracSeqHeader) SetFrameRateIndex

func (dsh *AVDiracSeqHeader) SetFrameRateIndex(v uint8)

SetFrameRateIndex sets `AVDiracSeqHeader.frame_rate_index` value.

func (*AVDiracSeqHeader) SetFramerate

func (dsh *AVDiracSeqHeader) SetFramerate(v AVRational)

SetFramerate sets `AVDiracSeqHeader.framerate` value.

func (*AVDiracSeqHeader) SetHeight

func (dsh *AVDiracSeqHeader) SetHeight(v uint32)

SetHeight sets `AVDiracSeqHeader.height` value.

func (*AVDiracSeqHeader) SetInterlaced

func (dsh *AVDiracSeqHeader) SetInterlaced(v uint8)

SetInterlaced sets `AVDiracSeqHeader.interlaced` value.

func (*AVDiracSeqHeader) SetLevel

func (dsh *AVDiracSeqHeader) SetLevel(v int32)

SetLevel sets `AVDiracSeqHeader.level` value.

func (*AVDiracSeqHeader) SetPixFmt

func (dsh *AVDiracSeqHeader) SetPixFmt(v AVPixelFormat)

SetPixFmt sets `AVDiracSeqHeader.pix_fmt` value.

func (*AVDiracSeqHeader) SetPixelRangeIndex

func (dsh *AVDiracSeqHeader) SetPixelRangeIndex(v uint8)

SetPixelRangeIndex sets `AVDiracSeqHeader.pixel_range_index` value.

func (*AVDiracSeqHeader) SetProfile

func (dsh *AVDiracSeqHeader) SetProfile(v int32)

SetProfile sets `AVDiracSeqHeader.profile` value.

func (*AVDiracSeqHeader) SetSampleAspectRatio

func (dsh *AVDiracSeqHeader) SetSampleAspectRatio(v AVRational)

SetSampleAspectRatio sets `AVDiracSeqHeader.sample_aspect_ratio` value.

func (*AVDiracSeqHeader) SetTopFieldFirst

func (dsh *AVDiracSeqHeader) SetTopFieldFirst(v uint8)

SetTopFieldFirst sets `AVDiracSeqHeader.top_field_first` value.

func (*AVDiracSeqHeader) SetVersion

func (dsh *AVDiracSeqHeader) SetVersion(v DiracVersionInfo)

SetVersion sets `AVDiracSeqHeader.version` value.

func (*AVDiracSeqHeader) SetWidth

func (dsh *AVDiracSeqHeader) SetWidth(v uint32)

SetWidth sets `AVDiracSeqHeader.width` value.

type AVDiscard

type AVDiscard = C.enum_AVDiscard

AVDiscard

type AVDownmixInfo

type AVDownmixInfo C.struct_AVDownmixInfo

AVDownmixInfo

func AvDownmixInfoUpdateSideData

func AvDownmixInfoUpdateSideData(frame *AVFrame) *AVDownmixInfo

AvDownmixInfoUpdateSideData gets a frame's AV_FRAME_DATA_DOWNMIX_INFO side data for editing.

func (*AVDownmixInfo) GetCenterMixLevel

func (di *AVDownmixInfo) GetCenterMixLevel() float64

GetCenterMixLevel gets `AVDownmixInfo.center_mix_level` value.

func (*AVDownmixInfo) GetCenterMixLevelAddr

func (di *AVDownmixInfo) GetCenterMixLevelAddr() *float64

GetCenterMixLevelAddr gets `AVDownmixInfo.center_mix_level` address.

func (*AVDownmixInfo) GetCenterMixLevelLtrt

func (di *AVDownmixInfo) GetCenterMixLevelLtrt() float64

GetCenterMixLevelLtrt gets `AVDownmixInfo.center_mix_level_ltrt` value.

func (*AVDownmixInfo) GetCenterMixLevelLtrtAddr

func (di *AVDownmixInfo) GetCenterMixLevelLtrtAddr() *float64

GetCenterMixLevelLtrtAddr gets `AVDownmixInfo.center_mix_level_ltrt` address.

func (*AVDownmixInfo) GetLfeMixLevel

func (di *AVDownmixInfo) GetLfeMixLevel() float64

GetLfeMixLevel gets `AVDownmixInfo.lfe_mix_level` value.

func (*AVDownmixInfo) GetLfeMixLevelAddr

func (di *AVDownmixInfo) GetLfeMixLevelAddr() *float64

GetLfeMixLevelAddr gets `AVDownmixInfo.lfe_mix_level` address.

func (*AVDownmixInfo) GetPreferredDownmixType

func (di *AVDownmixInfo) GetPreferredDownmixType() AVDownmixType

GetPreferredDownmixType gets `AVDownmixInfo.preferred_downmixtype` value.

func (*AVDownmixInfo) GetPreferredDownmixTypeAddr

func (di *AVDownmixInfo) GetPreferredDownmixTypeAddr() *AVDownmixType

GetPreferredDownmixTypeAddr gets `AVDownmixInfo.preferred_downmixtype` address.

func (*AVDownmixInfo) GetSurroundMixLevel

func (di *AVDownmixInfo) GetSurroundMixLevel() float64

GetSurroundMixLevel gets `AVDownmixInfo.surround_mix_level` value.

func (*AVDownmixInfo) GetSurroundMixLevelAddr

func (di *AVDownmixInfo) GetSurroundMixLevelAddr() *float64

GetSurroundMixLevelAddr gets `AVDownmixInfo.surround_mix_level` address.

func (*AVDownmixInfo) GetSurroundMixLevelLtrt

func (di *AVDownmixInfo) GetSurroundMixLevelLtrt() float64

GetSurroundMixLevelLtrt gets `AVDownmixInfo.surround_mix_level_ltrt` value.

func (*AVDownmixInfo) GetSurroundMixLevelLtrtAddr

func (di *AVDownmixInfo) GetSurroundMixLevelLtrtAddr() *float64

GetSurroundMixLevelLtrtAddr gets `AVDownmixInfo.surround_mix_level_ltrt` address.

func (*AVDownmixInfo) SetCenterMixLevel

func (di *AVDownmixInfo) SetCenterMixLevel(v float64)

SetCenterMixLevel sets `AVDownmixInfo.center_mix_level` value.

func (*AVDownmixInfo) SetCenterMixLevelLtrt

func (di *AVDownmixInfo) SetCenterMixLevelLtrt(v float64)

SetCenterMixLevelLtrt sets `AVDownmixInfo.center_mix_level_ltrt` value.

func (*AVDownmixInfo) SetLfeMixLevel

func (di *AVDownmixInfo) SetLfeMixLevel(v float64)

SetLfeMixLevel sets `AVDownmixInfo.lfe_mix_level` value.

func (*AVDownmixInfo) SetPreferredDownmixType

func (di *AVDownmixInfo) SetPreferredDownmixType(v AVDownmixType)

SetPreferredDownmixType sets `AVDownmixInfo.preferred_downmixtype` value.

func (*AVDownmixInfo) SetSurroundMixLevel

func (di *AVDownmixInfo) SetSurroundMixLevel(v float64)

SetSurroundMixLevel sets `AVDownmixInfo.surround_mix_level` value.

func (*AVDownmixInfo) SetSurroundMixLevelLtrt

func (di *AVDownmixInfo) SetSurroundMixLevelLtrt(v float64)

SetSurroundMixLevelLtrt sets `AVDownmixInfo.surround_mix_level_ltrt` value.

type AVDownmixType

type AVDownmixType = C.enum_AVDownmixType

AVDownmixType

type AVDurationEstimationMethod

type AVDurationEstimationMethod = C.enum_AVDurationEstimationMethod

AVDurationEstimationMethod

func AvFmtCtxGetDurationEstimationMethod deprecated

func AvFmtCtxGetDurationEstimationMethod(s *AVFormatContext) AVDurationEstimationMethod

Deprecated: No use.

AvFmtCtxGetDurationEstimationMethod returns the method used to set ctx->duration.

type AVDynamicHDRPlus added in v0.42.1

type AVDynamicHDRPlus C.struct_AVDynamicHDRPlus

AVDynamicHDRPlus

func AvDynamicHdrPlusAlloc added in v0.42.1

func AvDynamicHdrPlusAlloc(size *uintptr) *AVDynamicHDRPlus

AvDynamicHdrPlusAlloc allocates an AVDynamicHDRPlus structure and set its fields to default values.

func AvDynamicHdrPlusCreateSideData added in v0.42.1

func AvDynamicHdrPlusCreateSideData(frame *AVFrame) *AVDynamicHDRPlus

AvDynamicHdrPlusCreateSideData allocates a complete AVDynamicHDRPlus and add it to the frame.

func (*AVDynamicHDRPlus) GetApplicationVersion added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetApplicationVersion() uint8

GetApplicationVersion gets `AVDynamicHDRPlus.application_version` value.

func (*AVDynamicHDRPlus) GetApplicationVersionAddr added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetApplicationVersionAddr() *uint8

GetApplicationVersionAddr gets `AVDynamicHDRPlus.application_version` address.

func (*AVDynamicHDRPlus) GetItuTT35CountryCode added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetItuTT35CountryCode() uint8

GetItuTT35CountryCode gets `AVDynamicHDRPlus.itu_t_t35_country_code` value.

func (*AVDynamicHDRPlus) GetItuTT35CountryCodeAddr added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetItuTT35CountryCodeAddr() *uint8

GetItuTT35CountryCodeAddr gets `AVDynamicHDRPlus.itu_t_t35_country_code` address.

func (*AVDynamicHDRPlus) GetMasteringDisplayActualPeakLuminance added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetMasteringDisplayActualPeakLuminance() (v [][]AVRational)

GetMasteringDisplayActualPeakLuminance gets `AVDynamicHDRPlus.mastering_display_actual_peak_luminance` value.

func (*AVDynamicHDRPlus) GetMasteringDisplayActualPeakLuminanceAddr added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetMasteringDisplayActualPeakLuminanceAddr() **AVRational

GetMasteringDisplayActualPeakLuminanceAddr gets `AVDynamicHDRPlus.mastering_display_actual_peak_luminance` address.

func (*AVDynamicHDRPlus) GetMasteringDisplayActualPeakLuminanceFlag added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetMasteringDisplayActualPeakLuminanceFlag() uint8

GetMasteringDisplayActualPeakLuminanceFlag gets `AVDynamicHDRPlus.mastering_display_actual_peak_luminance_flag` value.

func (*AVDynamicHDRPlus) GetMasteringDisplayActualPeakLuminanceFlagAddr added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetMasteringDisplayActualPeakLuminanceFlagAddr() *uint8

GetMasteringDisplayActualPeakLuminanceFlagAddr gets `AVDynamicHDRPlus.mastering_display_actual_peak_luminance_flag` address.

func (*AVDynamicHDRPlus) GetNumColsMasteringDisplayActualPeakLuminance added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetNumColsMasteringDisplayActualPeakLuminance() uint8

GetNumColsMasteringDisplayActualPeakLuminance gets `AVDynamicHDRPlus.num_cols_mastering_display_actual_peak_luminance` value.

func (*AVDynamicHDRPlus) GetNumColsMasteringDisplayActualPeakLuminanceAddr added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetNumColsMasteringDisplayActualPeakLuminanceAddr() *uint8

GetNumColsMasteringDisplayActualPeakLuminanceAddr gets `AVDynamicHDRPlus.num_cols_mastering_display_actual_peak_luminance` address.

func (*AVDynamicHDRPlus) GetNumColsTargetedSystemDisplayActualPeakLuminance added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetNumColsTargetedSystemDisplayActualPeakLuminance() uint8

GetNumColsTargetedSystemDisplayActualPeakLuminance gets `AVDynamicHDRPlus.num_cols_targeted_system_display_actual_peak_luminance` value.

func (*AVDynamicHDRPlus) GetNumColsTargetedSystemDisplayActualPeakLuminanceAddr added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetNumColsTargetedSystemDisplayActualPeakLuminanceAddr() *uint8

GetNumColsTargetedSystemDisplayActualPeakLuminanceAddr gets `AVDynamicHDRPlus.num_cols_targeted_system_display_actual_peak_luminance` address.

func (*AVDynamicHDRPlus) GetNumRowsMasteringDisplayActualPeakLuminance added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetNumRowsMasteringDisplayActualPeakLuminance() uint8

GetNumRowsMasteringDisplayActualPeakLuminance gets `AVDynamicHDRPlus.num_rows_mastering_display_actual_peak_luminance` value.

func (*AVDynamicHDRPlus) GetNumRowsMasteringDisplayActualPeakLuminanceAddr added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetNumRowsMasteringDisplayActualPeakLuminanceAddr() *uint8

GetNumRowsMasteringDisplayActualPeakLuminanceAddr gets `AVDynamicHDRPlus.num_rows_mastering_display_actual_peak_luminance` address.

func (*AVDynamicHDRPlus) GetNumRowsTargetedSystemDisplayActualPeakLuminance added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetNumRowsTargetedSystemDisplayActualPeakLuminance() uint8

GetNumRowsTargetedSystemDisplayActualPeakLuminance gets `AVDynamicHDRPlus.num_rows_targeted_system_display_actual_peak_luminance` value.

func (*AVDynamicHDRPlus) GetNumRowsTargetedSystemDisplayActualPeakLuminanceAddr added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetNumRowsTargetedSystemDisplayActualPeakLuminanceAddr() *uint8

GetNumRowsTargetedSystemDisplayActualPeakLuminanceAddr gets `AVDynamicHDRPlus.num_rows_targeted_system_display_actual_peak_luminance` address.

func (*AVDynamicHDRPlus) GetNumWindows added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetNumWindows() uint8

GetNumWindows gets `AVDynamicHDRPlus.num_windows` value.

func (*AVDynamicHDRPlus) GetNumWindowsAddr added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetNumWindowsAddr() *uint8

GetNumWindowsAddr gets `AVDynamicHDRPlus.num_windows` address.

func (*AVDynamicHDRPlus) GetParams added in v0.42.1

GetParams gets `AVDynamicHDRPlus.params` value.

func (*AVDynamicHDRPlus) GetParamsAddr added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetParamsAddr() **AVHDRPlusColorTransformParams

GetParamsAddr gets `AVDynamicHDRPlus.params` address.

func (*AVDynamicHDRPlus) GetTargetedSystemDisplayActualPeakLuminance added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetTargetedSystemDisplayActualPeakLuminance() (v [][]AVRational)

GetTargetedSystemDisplayActualPeakLuminance gets `AVDynamicHDRPlus.targeted_system_display_actual_peak_luminance` value.

func (*AVDynamicHDRPlus) GetTargetedSystemDisplayActualPeakLuminanceAddr added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetTargetedSystemDisplayActualPeakLuminanceAddr() **AVRational

GetTargetedSystemDisplayActualPeakLuminanceAddr gets `AVDynamicHDRPlus.targeted_system_display_actual_peak_luminance` address.

func (*AVDynamicHDRPlus) GetTargetedSystemDisplayActualPeakLuminanceFlag added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetTargetedSystemDisplayActualPeakLuminanceFlag() uint8

GetTargetedSystemDisplayActualPeakLuminanceFlag gets `AVDynamicHDRPlus.targeted_system_display_actual_peak_luminance_flag` value.

func (*AVDynamicHDRPlus) GetTargetedSystemDisplayActualPeakLuminanceFlagAddr added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetTargetedSystemDisplayActualPeakLuminanceFlagAddr() *uint8

GetTargetedSystemDisplayActualPeakLuminanceFlagAddr gets `AVDynamicHDRPlus.targeted_system_display_actual_peak_luminance_flag` address.

func (*AVDynamicHDRPlus) GetTargetedSystemDisplayMaximumLuminance added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetTargetedSystemDisplayMaximumLuminance() AVRational

GetTargetedSystemDisplayMaximumLuminance gets `AVDynamicHDRPlus.targeted_system_display_maximum_luminance` value.

func (*AVDynamicHDRPlus) GetTargetedSystemDisplayMaximumLuminanceAddr added in v0.42.1

func (dhp *AVDynamicHDRPlus) GetTargetedSystemDisplayMaximumLuminanceAddr() *AVRational

GetTargetedSystemDisplayMaximumLuminanceAddr gets `AVDynamicHDRPlus.targeted_system_display_maximum_luminance` address.

func (*AVDynamicHDRPlus) SetApplicationVersion added in v0.42.1

func (dhp *AVDynamicHDRPlus) SetApplicationVersion(v uint8)

SetApplicationVersion sets `AVDynamicHDRPlus.application_version` value.

func (*AVDynamicHDRPlus) SetItuTT35CountryCode added in v0.42.1

func (dhp *AVDynamicHDRPlus) SetItuTT35CountryCode(v uint8)

SetItuTT35CountryCode sets `AVDynamicHDRPlus.itu_t_t35_country_code` value.

func (*AVDynamicHDRPlus) SetMasteringDisplayActualPeakLuminance added in v0.42.1

func (dhp *AVDynamicHDRPlus) SetMasteringDisplayActualPeakLuminance(v [][]AVRational)

SetMasteringDisplayActualPeakLuminance sets `AVDynamicHDRPlus.mastering_display_actual_peak_luminance` value.

func (*AVDynamicHDRPlus) SetMasteringDisplayActualPeakLuminanceFlag added in v0.42.1

func (dhp *AVDynamicHDRPlus) SetMasteringDisplayActualPeakLuminanceFlag(v uint8)

SetMasteringDisplayActualPeakLuminanceFlag sets `AVDynamicHDRPlus.mastering_display_actual_peak_luminance_flag` value.

func (*AVDynamicHDRPlus) SetNumColsMasteringDisplayActualPeakLuminance added in v0.42.1

func (dhp *AVDynamicHDRPlus) SetNumColsMasteringDisplayActualPeakLuminance(v uint8)

SetNumColsMasteringDisplayActualPeakLuminance sets `AVDynamicHDRPlus.num_cols_mastering_display_actual_peak_luminance` value.

func (*AVDynamicHDRPlus) SetNumColsTargetedSystemDisplayActualPeakLuminance added in v0.42.1

func (dhp *AVDynamicHDRPlus) SetNumColsTargetedSystemDisplayActualPeakLuminance(v uint8)

SetNumColsTargetedSystemDisplayActualPeakLuminance sets `AVDynamicHDRPlus.num_cols_targeted_system_display_actual_peak_luminance` value.

func (*AVDynamicHDRPlus) SetNumRowsMasteringDisplayActualPeakLuminance added in v0.42.1

func (dhp *AVDynamicHDRPlus) SetNumRowsMasteringDisplayActualPeakLuminance(v uint8)

SetNumRowsMasteringDisplayActualPeakLuminance sets `AVDynamicHDRPlus.num_rows_mastering_display_actual_peak_luminance` value.

func (*AVDynamicHDRPlus) SetNumRowsTargetedSystemDisplayActualPeakLuminance added in v0.42.1

func (dhp *AVDynamicHDRPlus) SetNumRowsTargetedSystemDisplayActualPeakLuminance(v uint8)

SetNumRowsTargetedSystemDisplayActualPeakLuminance sets `AVDynamicHDRPlus.num_rows_targeted_system_display_actual_peak_luminance` value.

func (*AVDynamicHDRPlus) SetNumWindows added in v0.42.1

func (dhp *AVDynamicHDRPlus) SetNumWindows(v uint8)

SetNumWindows sets `AVDynamicHDRPlus.num_windows` value.

func (*AVDynamicHDRPlus) SetParams added in v0.42.1

func (dhp *AVDynamicHDRPlus) SetParams(v []AVHDRPlusColorTransformParams)

SetParams sets `AVDynamicHDRPlus.params` value.

func (*AVDynamicHDRPlus) SetTargetedSystemDisplayActualPeakLuminance added in v0.42.1

func (dhp *AVDynamicHDRPlus) SetTargetedSystemDisplayActualPeakLuminance(v [][]AVRational)

SetTargetedSystemDisplayActualPeakLuminance sets `AVDynamicHDRPlus.targeted_system_display_actual_peak_luminance` value.

func (*AVDynamicHDRPlus) SetTargetedSystemDisplayActualPeakLuminanceFlag added in v0.42.1

func (dhp *AVDynamicHDRPlus) SetTargetedSystemDisplayActualPeakLuminanceFlag(v uint8)

SetTargetedSystemDisplayActualPeakLuminanceFlag sets `AVDynamicHDRPlus.targeted_system_display_actual_peak_luminance_flag` value.

func (*AVDynamicHDRPlus) SetTargetedSystemDisplayMaximumLuminance added in v0.42.1

func (dhp *AVDynamicHDRPlus) SetTargetedSystemDisplayMaximumLuminance(v AVRational)

SetTargetedSystemDisplayMaximumLuminance sets `AVDynamicHDRPlus.targeted_system_display_maximum_luminance` value.

type AVDynamicHDRVivid added in v0.60.11

type AVDynamicHDRVivid = C.struct_AVDynamicHDRVivid

AVDynamicHDRVivid

func AvDynamicHdrVividAlloc added in v0.60.11

func AvDynamicHdrVividAlloc(size *uintptr) *AVDynamicHDRVivid

AvDynamicHdrVividAlloc allocates an AVDynamicHDRVivid structure and set its fields to default values.

func AvDynamicHdrVividCreateSideData added in v0.60.11

func AvDynamicHdrVividCreateSideData(frame *AVFrame) *AVDynamicHDRVivid

AvDynamicHdrVividCreateSideData allocates a complete AVDynamicHDRVivid and add it to the frame.

func (*AVDynamicHDRVivid) GetNumWindows added in v0.60.11

func (dhv *AVDynamicHDRVivid) GetNumWindows() uint8

GetNumWindows gets `AVDynamicHDRVivid.num_windows` value.

func (*AVDynamicHDRVivid) GetNumWindowsAddr added in v0.60.11

func (dhv *AVDynamicHDRVivid) GetNumWindowsAddr() *uint8

GetNumWindowsAddr gets `AVDynamicHDRVivid.num_windows` address.

func (*AVDynamicHDRVivid) GetParams added in v0.60.11

GetParams gets `AVDynamicHDRVivid.params` value.

func (*AVDynamicHDRVivid) GetParamsAddr added in v0.60.11

func (dhv *AVDynamicHDRVivid) GetParamsAddr() **AVHDRVividColorTransformParams

GetParamsAddr gets `AVDynamicHDRVivid.params` address.

func (*AVDynamicHDRVivid) GetSystemStartCode added in v0.60.11

func (dhv *AVDynamicHDRVivid) GetSystemStartCode() uint8

GetSystemStartCode gets `AVDynamicHDRVivid.system_start_code` value.

func (*AVDynamicHDRVivid) GetSystemStartCodeAddr added in v0.60.11

func (dhv *AVDynamicHDRVivid) GetSystemStartCodeAddr() *uint8

GetSystemStartCodeAddr gets `AVDynamicHDRVivid.system_start_code` address.

func (*AVDynamicHDRVivid) SetNumWindows added in v0.60.11

func (dhv *AVDynamicHDRVivid) SetNumWindows(v uint8)

SetNumWindows sets `AVDynamicHDRVivid.num_windows` value.

func (*AVDynamicHDRVivid) SetParams added in v0.60.11

SetParams sets `AVDynamicHDRVivid.params` value.

func (*AVDynamicHDRVivid) SetSystemStartCode added in v0.60.11

func (dhv *AVDynamicHDRVivid) SetSystemStartCode(v uint8)

SetSystemStartCode sets `AVDynamicHDRVivid.system_start_code` value.

type AVEncryptionInfo

type AVEncryptionInfo C.struct_AVEncryptionInfo

AVEncryptionInfo

func AvEncryptionInfoAlloc

func AvEncryptionInfoAlloc(subsampleCount, keyIdSize, ivSize uint32) *AVEncryptionInfo

AvEncryptionInfoAlloc allocates an AVEncryptionInfo structure and sub-pointers to hold the given number of subsamples.

func AvEncryptionInfoClone

func AvEncryptionInfoClone(info *AVEncryptionInfo) *AVEncryptionInfo

AvEncryptionInfoClone allocates an AVEncryptionInfo structure with a copy of the given data.

func AvEncryptionInfoGetSideData

func AvEncryptionInfoGetSideData(sideData *uint8, sideDataSize uintptr) *AVEncryptionInfo

AvEncryptionInfoGetSideData creates a copy of the AVEncryptionInfo that is contained in the given side data.

func (*AVEncryptionInfo) GetCryptByteBlock

func (ei *AVEncryptionInfo) GetCryptByteBlock() uint32

GetCryptByteBlock gets `AVEncryptionInfo.crypt_byte_block` value.

func (*AVEncryptionInfo) GetCryptByteBlockAddr

func (ei *AVEncryptionInfo) GetCryptByteBlockAddr() *uint32

GetCryptByteBlockAddr gets `AVEncryptionInfo.crypt_byte_block` address.

func (*AVEncryptionInfo) GetIv

func (ei *AVEncryptionInfo) GetIv() *uint8

GetIv gets `AVEncryptionInfo.iv` value.

func (*AVEncryptionInfo) GetIvAddr

func (ei *AVEncryptionInfo) GetIvAddr() **uint8

GetIvAddr gets `AVEncryptionInfo.iv` address.

func (*AVEncryptionInfo) GetIvSize

func (ei *AVEncryptionInfo) GetIvSize() uint32

GetIvSize gets `AVEncryptionInfo.iv_size` value.

func (*AVEncryptionInfo) GetIvSizeAddr

func (ei *AVEncryptionInfo) GetIvSizeAddr() *uint32

GetIvSizeAddr gets `AVEncryptionInfo.iv_size` address.

func (*AVEncryptionInfo) GetKeyId

func (ei *AVEncryptionInfo) GetKeyId() *uint8

GetKeyId gets `AVEncryptionInfo.key_id` value.

func (*AVEncryptionInfo) GetKeyIdAddr

func (ei *AVEncryptionInfo) GetKeyIdAddr() **uint8

GetKeyIdAddr gets `AVEncryptionInfo.key_id` address.

func (*AVEncryptionInfo) GetKeyIdSize

func (ei *AVEncryptionInfo) GetKeyIdSize() uint32

GetKeyIdSize gets `AVEncryptionInfo.key_id_size` value.

func (*AVEncryptionInfo) GetKeyIdSizeAddr

func (ei *AVEncryptionInfo) GetKeyIdSizeAddr() *uint32

GetKeyIdSizeAddr gets `AVEncryptionInfo.key_id_size` address.

func (*AVEncryptionInfo) GetScheme

func (ei *AVEncryptionInfo) GetScheme() uint32

GetScheme gets `AVEncryptionInfo.scheme` value.

func (*AVEncryptionInfo) GetSchemeAddr

func (ei *AVEncryptionInfo) GetSchemeAddr() *uint32

GetSchemeAddr gets `AVEncryptionInfo.scheme` address.

func (*AVEncryptionInfo) GetSkipByteBlock

func (ei *AVEncryptionInfo) GetSkipByteBlock() uint32

GetSkipByteBlock gets `AVEncryptionInfo.skip_byte_block` value.

func (*AVEncryptionInfo) GetSkipByteBlockAddr

func (ei *AVEncryptionInfo) GetSkipByteBlockAddr() *uint32

GetSkipByteBlockAddr gets `AVEncryptionInfo.skip_byte_block` address.

func (*AVEncryptionInfo) GetSubsampleCount

func (ei *AVEncryptionInfo) GetSubsampleCount() uint32

GetSubsampleCount gets `AVEncryptionInfo.subsample_count` value.

func (*AVEncryptionInfo) GetSubsampleCountAddr

func (ei *AVEncryptionInfo) GetSubsampleCountAddr() *uint32

GetSubsampleCountAddr gets `AVEncryptionInfo.subsample_count` address.

func (*AVEncryptionInfo) GetSubsamples

func (ei *AVEncryptionInfo) GetSubsamples() *AVSubsampleEncryptionInfo

GetSubsamples gets `AVEncryptionInfo.subsamples` value.

func (*AVEncryptionInfo) GetSubsamplesAddr

func (ei *AVEncryptionInfo) GetSubsamplesAddr() **AVSubsampleEncryptionInfo

GetSubsamplesAddr gets `AVEncryptionInfo.subsamples` address.

func (*AVEncryptionInfo) SetCryptByteBlock

func (ei *AVEncryptionInfo) SetCryptByteBlock(v uint32)

SetCryptByteBlock sets `AVEncryptionInfo.crypt_byte_block` value.

func (*AVEncryptionInfo) SetIv

func (ei *AVEncryptionInfo) SetIv(v *uint8)

SetIv sets `AVEncryptionInfo.iv` value.

func (*AVEncryptionInfo) SetIvSize

func (ei *AVEncryptionInfo) SetIvSize(v uint32)

SetIvSize sets `AVEncryptionInfo.iv_size` value.

func (*AVEncryptionInfo) SetKeyId

func (ei *AVEncryptionInfo) SetKeyId(v *uint8)

SetKeyId sets `AVEncryptionInfo.key_id` value.

func (*AVEncryptionInfo) SetKeyIdSize

func (ei *AVEncryptionInfo) SetKeyIdSize(v uint32)

SetKeyIdSize sets `AVEncryptionInfo.key_id_size` value.

func (*AVEncryptionInfo) SetScheme

func (ei *AVEncryptionInfo) SetScheme(v uint32)

SetScheme sets `AVEncryptionInfo.scheme` value.

func (*AVEncryptionInfo) SetSkipByteBlock

func (ei *AVEncryptionInfo) SetSkipByteBlock(v uint32)

SetSkipByteBlock sets `AVEncryptionInfo.skip_byte_block` value.

func (*AVEncryptionInfo) SetSubsampleCount

func (ei *AVEncryptionInfo) SetSubsampleCount(v uint32)

SetSubsampleCount sets `AVEncryptionInfo.subsample_count` value.

func (*AVEncryptionInfo) SetSubsamples

func (ei *AVEncryptionInfo) SetSubsamples(v *AVSubsampleEncryptionInfo)

SetSubsamples sets `AVEncryptionInfo.subsamples` value.

type AVEncryptionInitInfo

type AVEncryptionInitInfo C.struct_AVEncryptionInitInfo

AVEncryptionInitInfo

func AvEncryptionInitInfoAlloc

func AvEncryptionInitInfoAlloc(systemIdSize, numKeyIds, keyIdSize, dataSize uint32) *AVEncryptionInitInfo

AvEncryptionInitInfoAlloc allocates an AVEncryptionInitInfo structure and sub-pointers to hold the given sizes.

func AvEncryptionInitInfoGetSideData

func AvEncryptionInitInfoGetSideData(sideData *uint8, sideDataSize uintptr) *AVEncryptionInitInfo

AvEncryptionInitInfoGetSideData creates a copy of the AVEncryptionInitInfo that is contained in the given side data.

func (*AVEncryptionInitInfo) GetData

func (eii *AVEncryptionInitInfo) GetData() *uint8

GetData gets `AVEncryptionInitInfo.data` value.

func (*AVEncryptionInitInfo) GetDataAddr

func (eii *AVEncryptionInitInfo) GetDataAddr() **uint8

GetDataAddr gets `AVEncryptionInitInfo.data` address.

func (*AVEncryptionInitInfo) GetDataSize

func (eii *AVEncryptionInitInfo) GetDataSize() uint32

GetDataSize gets `AVEncryptionInitInfo.data_size` value.

func (*AVEncryptionInitInfo) GetDataSizeAddr

func (eii *AVEncryptionInitInfo) GetDataSizeAddr() *uint32

GetDataSizeAddr gets `AVEncryptionInitInfo.data_size` address.

func (*AVEncryptionInitInfo) GetKeyIdSize

func (eii *AVEncryptionInitInfo) GetKeyIdSize() uint32

GetKeyIdSize gets `AVEncryptionInitInfo.key_id_size` value.

func (*AVEncryptionInitInfo) GetKeyIdSizeAddr

func (eii *AVEncryptionInitInfo) GetKeyIdSizeAddr() *uint32

GetKeyIdSizeAddr gets `AVEncryptionInitInfo.key_id_size` address.

func (*AVEncryptionInitInfo) GetKeyIds

func (eii *AVEncryptionInitInfo) GetKeyIds() []*uint8

GetKeyIds gets `AVEncryptionInitInfo.key_ids` value.

func (*AVEncryptionInitInfo) GetKeyIdsAddr

func (eii *AVEncryptionInitInfo) GetKeyIdsAddr() ***uint8

GetKeyIdsAddr gets `AVEncryptionInitInfo.key_ids` address.

func (*AVEncryptionInitInfo) GetNext added in v0.41.1

GetNext gets `AVEncryptionInitInfo.next` value.

func (*AVEncryptionInitInfo) GetNextAddr added in v0.41.1

func (eii *AVEncryptionInitInfo) GetNextAddr() **AVEncryptionInitInfo

GetNextAddr gets `AVEncryptionInitInfo.next` address.

func (*AVEncryptionInitInfo) GetNumKeyIds

func (eii *AVEncryptionInitInfo) GetNumKeyIds() uint32

GetNumKeyIds gets `AVEncryptionInitInfo.num_key_ids` value.

func (*AVEncryptionInitInfo) GetNumKeyIdsAddr

func (eii *AVEncryptionInitInfo) GetNumKeyIdsAddr() *uint32

GetNumKeyIdsAddr gets `AVEncryptionInitInfo.num_key_ids` address.

func (*AVEncryptionInitInfo) GetSystemId

func (eii *AVEncryptionInitInfo) GetSystemId() *uint8

GetSystemId gets `AVEncryptionInitInfo.system_id` value.

func (*AVEncryptionInitInfo) GetSystemIdAddr

func (eii *AVEncryptionInitInfo) GetSystemIdAddr() **uint8

GetSystemIdAddr gets `AVEncryptionInitInfo.system_id` address.

func (*AVEncryptionInitInfo) GetSystemIdSize

func (eii *AVEncryptionInitInfo) GetSystemIdSize() uint32

GetSystemIdSize gets `AVEncryptionInitInfo.system_id_size` value.

func (*AVEncryptionInitInfo) GetSystemIdSizeAddr

func (eii *AVEncryptionInitInfo) GetSystemIdSizeAddr() *uint32

GetSystemIdSizeAddr gets `AVEncryptionInitInfo.system_id_size` address.

func (*AVEncryptionInitInfo) SetData

func (eii *AVEncryptionInitInfo) SetData(v *uint8)

SetData sets `AVEncryptionInitInfo.data` value.

func (*AVEncryptionInitInfo) SetDataSize

func (eii *AVEncryptionInitInfo) SetDataSize(v uint32)

SetDataSize sets `AVEncryptionInitInfo.data_size` value.

func (*AVEncryptionInitInfo) SetKeyIdSize

func (eii *AVEncryptionInitInfo) SetKeyIdSize(v uint32)

SetKeyIdSize sets `AVEncryptionInitInfo.key_id_size` value.

func (*AVEncryptionInitInfo) SetKeyIds

func (eii *AVEncryptionInitInfo) SetKeyIds(v **uint8)

SetKeyIds sets `AVEncryptionInitInfo.key_ids` value.

func (*AVEncryptionInitInfo) SetNext added in v0.41.1

func (eii *AVEncryptionInitInfo) SetNext(v *AVEncryptionInitInfo)

SetNext sets `AVEncryptionInitInfo.next` value.

func (*AVEncryptionInitInfo) SetNumKeyIds

func (eii *AVEncryptionInitInfo) SetNumKeyIds(v uint32)

SetNumKeyIds sets `AVEncryptionInitInfo.num_key_ids` value.

func (*AVEncryptionInitInfo) SetSystemId

func (eii *AVEncryptionInitInfo) SetSystemId(v *uint8)

SetSystemId sets `AVEncryptionInitInfo.system_id` value.

func (*AVEncryptionInitInfo) SetSystemIdSize

func (eii *AVEncryptionInitInfo) SetSystemIdSize(v uint32)

SetSystemIdSize sets `AVEncryptionInitInfo.system_id_size` value.

type AVEscapeMode

type AVEscapeMode = C.enum_AVEscapeMode

AVEscapeMode

type AVExecutor added in v0.61.0

type AVExecutor C.struct_AVExecutor

AVExecutor

func AvExecutorAlloc added in v0.61.0

func AvExecutorAlloc(callbacks *AVTaskCallbacks, threadCount int32) *AVExecutor

AvExecutorAlloc allocates executor.

type AVExpr

type AVExpr C.struct_AVExpr

AVExpr

type AVFieldOrder

type AVFieldOrder = C.enum_AVFieldOrder

AVFieldOrder

type AVFifo added in v0.51.1

type AVFifo C.struct_AVFifo

AVFifo

func AvFifoAlloc2 added in v0.51.1

func AvFifoAlloc2[U, V Integer](elems U, elemSize V, flags uint32) *AVFifo

AvFifoAlloc2 allocates and initializes an AVFifo with a given element size.

type AVFifoCB added in v0.51.1

type AVFifoCB = C.AVFifoCB

typedef int AVFifoCB(void *opaque, void *buf, size_t *nb_elems);

type AVFilmGrainAOMParams added in v0.44.1

type AVFilmGrainAOMParams C.struct_AVFilmGrainAOMParams

AVFilmGrainAOMParams

func (*AVFilmGrainAOMParams) GetArCoeffLag added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetArCoeffLag() int32

GetArCoeffLag gets `AVFilmGrainAOMParams.ar_coeff_lag` value.

func (*AVFilmGrainAOMParams) GetArCoeffLagAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetArCoeffLagAddr() *int32

GetArCoeffLagAddr gets `AVFilmGrainAOMParams.ar_coeff_lag` address.

func (*AVFilmGrainAOMParams) GetArCoeffShift added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetArCoeffShift() int32

GetArCoeffShift gets `AVFilmGrainAOMParams.ar_coeff_shift` value.

func (*AVFilmGrainAOMParams) GetArCoeffShiftAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetArCoeffShiftAddr() *int32

GetArCoeffShiftAddr gets `AVFilmGrainAOMParams.ar_coeff_shift` address.

func (*AVFilmGrainAOMParams) GetArCoeffsUv added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetArCoeffsUv() (v [][]int8)

GetArCoeffsUv gets `AVFilmGrainAOMParams.ar_coeffs_uv` value.

func (*AVFilmGrainAOMParams) GetArCoeffsUvAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetArCoeffsUvAddr() **int8

GetArCoeffsUvAddr gets `AVFilmGrainAOMParams.ar_coeffs_uv` address.

func (*AVFilmGrainAOMParams) GetArCoeffsY added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetArCoeffsY() []int8

GetArCoeffsY gets `AVFilmGrainAOMParams.ar_coeffs_y` value.

func (*AVFilmGrainAOMParams) GetArCoeffsYAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetArCoeffsYAddr() **int8

GetArCoeffsYAddr gets `AVFilmGrainAOMParams.ar_coeffs_y` address.

func (*AVFilmGrainAOMParams) GetChromaScalingFromLuma added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetChromaScalingFromLuma() int32

GetChromaScalingFromLuma gets `AVFilmGrainAOMParams.chroma_scaling_from_luma` value.

func (*AVFilmGrainAOMParams) GetChromaScalingFromLumaAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetChromaScalingFromLumaAddr() *int32

GetChromaScalingFromLumaAddr gets `AVFilmGrainAOMParams.chroma_scaling_from_luma` address.

func (*AVFilmGrainAOMParams) GetGrainScaleShift added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetGrainScaleShift() int32

GetGrainScaleShift gets `AVFilmGrainAOMParams.grain_scale_shift` value.

func (*AVFilmGrainAOMParams) GetGrainScaleShiftAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetGrainScaleShiftAddr() *int32

GetGrainScaleShiftAddr gets `AVFilmGrainAOMParams.grain_scale_shift` address.

func (*AVFilmGrainAOMParams) GetLimitOutputRange added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetLimitOutputRange() int32

GetLimitOutputRange gets `AVFilmGrainAOMParams.limit_outputrange` value.

func (*AVFilmGrainAOMParams) GetLimitOutputRangeAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetLimitOutputRangeAddr() *int32

GetLimitOutputRangeAddr gets `AVFilmGrainAOMParams.limit_outputrange` address.

func (*AVFilmGrainAOMParams) GetNumUvPoints added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetNumUvPoints() []int32

GetNumUvPoints gets `AVFilmGrainAOMParams.num_uv_points` value.

func (*AVFilmGrainAOMParams) GetNumUvPointsAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetNumUvPointsAddr() **int32

GetNumUvPointsAddr gets `AVFilmGrainAOMParams.num_uv_points` address.

func (*AVFilmGrainAOMParams) GetNumYPoints added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetNumYPoints() int32

GetNumYPoints gets `AVFilmGrainAOMParams.num_y_points` value.

func (*AVFilmGrainAOMParams) GetNumYPointsAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetNumYPointsAddr() *int32

GetNumYPointsAddr gets `AVFilmGrainAOMParams.num_y_points` address.

func (*AVFilmGrainAOMParams) GetOverlapFlag added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetOverlapFlag() int32

GetOverlapFlag gets `AVFilmGrainAOMParams.overlap_flag` value.

func (*AVFilmGrainAOMParams) GetOverlapFlagAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetOverlapFlagAddr() *int32

GetOverlapFlagAddr gets `AVFilmGrainAOMParams.overlap_flag` address.

func (*AVFilmGrainAOMParams) GetScalingShift added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetScalingShift() int32

GetScalingShift gets `AVFilmGrainAOMParams.scaling_shift` value.

func (*AVFilmGrainAOMParams) GetScalingShiftAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetScalingShiftAddr() *int32

GetScalingShiftAddr gets `AVFilmGrainAOMParams.scaling_shift` address.

func (*AVFilmGrainAOMParams) GetUvMult added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetUvMult() []int32

GetUvMult gets `AVFilmGrainAOMParams.uv_mult` value.

func (*AVFilmGrainAOMParams) GetUvMultAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetUvMultAddr() **int32

GetUvMultAddr gets `AVFilmGrainAOMParams.uv_mult` address.

func (*AVFilmGrainAOMParams) GetUvMultLuma added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetUvMultLuma() []int32

GetUvMultLuma gets `AVFilmGrainAOMParams.uv_mult_luma` value.

func (*AVFilmGrainAOMParams) GetUvMultLumaAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetUvMultLumaAddr() **int32

GetUvMultLumaAddr gets `AVFilmGrainAOMParams.uv_mult_luma` address.

func (*AVFilmGrainAOMParams) GetUvOffset added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetUvOffset() []int32

GetUvOffset gets `AVFilmGrainAOMParams.uv_offset` value.

func (*AVFilmGrainAOMParams) GetUvOffsetAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetUvOffsetAddr() **int32

GetUvOffsetAddr gets `AVFilmGrainAOMParams.uv_offset` address.

func (*AVFilmGrainAOMParams) GetUvPoints added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetUvPoints() (v [][][]uint8)

GetUvPoints gets `AVFilmGrainAOMParams.uv_points` value.

func (*AVFilmGrainAOMParams) GetUvPointsAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetUvPointsAddr() **uint8

GetUvPointsAddr gets `AVFilmGrainAOMParams.uv_points` address.

func (*AVFilmGrainAOMParams) GetYPoints added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetYPoints() (v [][]uint8)

GetYPoints gets `AVFilmGrainAOMParams.y_points` value.

func (*AVFilmGrainAOMParams) GetYPointsAddr added in v0.44.1

func (aomp *AVFilmGrainAOMParams) GetYPointsAddr() **uint8

GetYPointsAddr gets `AVFilmGrainAOMParams.y_points` address.

func (*AVFilmGrainAOMParams) SetArCoeffLag added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetArCoeffLag(v int32)

SetArCoeffLag sets `AVFilmGrainAOMParams.ar_coeff_lag` value.

func (*AVFilmGrainAOMParams) SetArCoeffShift added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetArCoeffShift(v int32)

SetArCoeffShift sets `AVFilmGrainAOMParams.ar_coeff_shift` value.

func (*AVFilmGrainAOMParams) SetArCoeffsUv added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetArCoeffsUv(v [][]int8)

SetArCoeffsUv sets `AVFilmGrainAOMParams.ar_coeffs_uv` value.

func (*AVFilmGrainAOMParams) SetArCoeffsY added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetArCoeffsY(v []int8)

SetArCoeffsY sets `AVFilmGrainAOMParams.ar_coeffs_y` value.

func (*AVFilmGrainAOMParams) SetChromaScalingFromLuma added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetChromaScalingFromLuma(v int32)

SetChromaScalingFromLuma sets `AVFilmGrainAOMParams.chroma_scaling_from_luma` value.

func (*AVFilmGrainAOMParams) SetGrainScaleShift added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetGrainScaleShift(v int32)

SetGrainScaleShift sets `AVFilmGrainAOMParams.grain_scale_shift` value.

func (*AVFilmGrainAOMParams) SetLimitOutputRange added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetLimitOutputRange(v int32)

SetLimitOutputRange sets `AVFilmGrainAOMParams.limit_outputrange` value.

func (*AVFilmGrainAOMParams) SetNumUvPoints added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetNumUvPoints(v []int32)

SetNumUvPoints sets `AVFilmGrainAOMParams.num_uv_points` value.

func (*AVFilmGrainAOMParams) SetNumYPoints added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetNumYPoints(v int32)

SetNumYPoints sets `AVFilmGrainAOMParams.num_y_points` value.

func (*AVFilmGrainAOMParams) SetOverlapFlag added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetOverlapFlag(v int32)

SetOverlapFlag sets `AVFilmGrainAOMParams.overlap_flag` value.

func (*AVFilmGrainAOMParams) SetScalingShift added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetScalingShift(v int32)

SetScalingShift sets `AVFilmGrainAOMParams.scaling_shift` value.

func (*AVFilmGrainAOMParams) SetUvMult added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetUvMult(v []int32)

SetUvMult sets `AVFilmGrainAOMParams.uv_mult` value.

func (*AVFilmGrainAOMParams) SetUvMultLuma added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetUvMultLuma(v []int32)

SetUvMultLuma sets `AVFilmGrainAOMParams.uv_mult_luma` value.

func (*AVFilmGrainAOMParams) SetUvOffset added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetUvOffset(v []int32)

SetUvOffset sets `AVFilmGrainAOMParams.uv_offset` value.

func (*AVFilmGrainAOMParams) SetUvPoints added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetUvPoints(v [][][]uint8)

SetUvPoints sets `AVFilmGrainAOMParams.uv_points` value.

func (*AVFilmGrainAOMParams) SetYPoints added in v0.44.1

func (aomp *AVFilmGrainAOMParams) SetYPoints(v [][]uint8)

SetYPoints sets `AVFilmGrainAOMParams.y_points` value.

type AVFilmGrainH274Params added in v0.50.1

type AVFilmGrainH274Params C.struct_AVFilmGrainH274Params

AVFilmGrainH274Params

func (*AVFilmGrainH274Params) GetBitDepthChroma deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetBitDepthChroma() int32

Deprecated: No use.

GetBitDepthChroma gets `AVFilmGrainH274Params.bit_depth_chroma` value.

func (*AVFilmGrainH274Params) GetBitDepthChromaAddr deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetBitDepthChromaAddr() *int32

Deprecated: No use.

GetBitDepthChromaAddr gets `AVFilmGrainH274Params.bit_depth_chroma` address.

func (*AVFilmGrainH274Params) GetBitDepthLuma deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetBitDepthLuma() int32

Deprecated: No use.

GetBitDepthLuma gets `AVFilmGrainH274Params.bit_depth_luma` value.

func (*AVFilmGrainH274Params) GetBitDepthLumaAddr deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetBitDepthLumaAddr() *int32

Deprecated: No use.

GetBitDepthLumaAddr gets `AVFilmGrainH274Params.bit_depth_luma` address.

func (*AVFilmGrainH274Params) GetBlendingModeId added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetBlendingModeId() int32

GetBlendingModeId gets `AVFilmGrainH274Params.blending_mode_id` value.

func (*AVFilmGrainH274Params) GetBlendingModeIdAddr added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetBlendingModeIdAddr() *int32

GetBlendingModeIdAddr gets `AVFilmGrainH274Params.blending_mode_id` address.

func (*AVFilmGrainH274Params) GetColorPrimaries deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetColorPrimaries() AVColorPrimaries

Deprecated: No use.

GetColorPrimaries gets `AVFilmGrainH274Params.color_primaries` value.

func (*AVFilmGrainH274Params) GetColorPrimariesAddr deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetColorPrimariesAddr() *AVColorPrimaries

Deprecated: No use.

GetColorPrimariesAddr gets `AVFilmGrainH274Params.color_primaries` address.

func (*AVFilmGrainH274Params) GetColorRange deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetColorRange() AVColorRange

Deprecated: No use.

GetColorRange gets `AVFilmGrainH274Params.color_range` value.

func (*AVFilmGrainH274Params) GetColorRangeAddr deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetColorRangeAddr() *AVColorRange

Deprecated: No use.

GetColorRangeAddr gets `AVFilmGrainH274Params.color_range` address.

func (*AVFilmGrainH274Params) GetColorSpace deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetColorSpace() AVColorSpace

Deprecated: No use.

GetColorSpace gets `AVFilmGrainH274Params.color_space` value.

func (*AVFilmGrainH274Params) GetColorSpaceAddr deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetColorSpaceAddr() *AVColorSpace

Deprecated: No use.

GetColorSpaceAddr gets `AVFilmGrainH274Params.color_space` address.

func (*AVFilmGrainH274Params) GetColorTrc deprecated added in v0.50.1

Deprecated: No use.

GetColorTrc gets `AVFilmGrainH274Params.color_trc` value.

func (*AVFilmGrainH274Params) GetColorTrcAddr deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetColorTrcAddr() *AVColorTransferCharacteristic

Deprecated: No use.

GetColorTrcAddr gets `AVFilmGrainH274Params.color_trc` address.

func (*AVFilmGrainH274Params) GetCompModelValue added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetCompModelValue() (v [][][]int16)

GetCompModelValue gets `AVFilmGrainH274Params.comp_model_value` value.

func (*AVFilmGrainH274Params) GetCompModelValueAddr added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetCompModelValueAddr() **int16

GetCompModelValueAddr gets `AVFilmGrainH274Params.comp_model_value` address.

func (*AVFilmGrainH274Params) GetComponentModelPresent added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetComponentModelPresent() []int32

GetComponentModelPresent gets `AVFilmGrainH274Params.component_model_present` value.

func (*AVFilmGrainH274Params) GetComponentModelPresentAddr added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetComponentModelPresentAddr() **int32

GetComponentModelPresentAddr gets `AVFilmGrainH274Params.component_model_present` address.

func (*AVFilmGrainH274Params) GetIntensityIntervalLowerBound added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetIntensityIntervalLowerBound() (v [][]uint8)

GetIntensityIntervalLowerBound gets `AVFilmGrainH274Params.intensity_interval_lower_bound` value.

func (*AVFilmGrainH274Params) GetIntensityIntervalLowerBoundAddr added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetIntensityIntervalLowerBoundAddr() **uint8

GetIntensityIntervalLowerBoundAddr gets `AVFilmGrainH274Params.intensity_interval_lower_bound` address.

func (*AVFilmGrainH274Params) GetIntensityIntervalUpperBound added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetIntensityIntervalUpperBound() (v [][]uint8)

GetIntensityIntervalUpperBound gets `AVFilmGrainH274Params.intensity_interval_upper_bound` value.

func (*AVFilmGrainH274Params) GetIntensityIntervalUpperBoundAddr added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetIntensityIntervalUpperBoundAddr() **uint8

GetIntensityIntervalUpperBoundAddr gets `AVFilmGrainH274Params.intensity_interval_upper_bound` address.

func (*AVFilmGrainH274Params) GetLog2ScaleFactor added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetLog2ScaleFactor() int32

GetLog2ScaleFactor gets `AVFilmGrainH274Params.log2_scale_factor` value.

func (*AVFilmGrainH274Params) GetLog2ScaleFactorAddr added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetLog2ScaleFactorAddr() *int32

GetLog2ScaleFactorAddr gets `AVFilmGrainH274Params.log2_scale_factor` address.

func (*AVFilmGrainH274Params) GetModelId added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetModelId() int32

GetModelId gets `AVFilmGrainH274Params.model_id` value.

func (*AVFilmGrainH274Params) GetModelIdAddr added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetModelIdAddr() *int32

GetModelIdAddr gets `AVFilmGrainH274Params.model_id` address.

func (*AVFilmGrainH274Params) GetNumIntensityIntervals added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetNumIntensityIntervals() []uint16

GetNumIntensityIntervals gets `AVFilmGrainH274Params.num_intensity_intervals` value.

func (*AVFilmGrainH274Params) GetNumIntensityIntervalsAddr added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetNumIntensityIntervalsAddr() **uint16

GetNumIntensityIntervalsAddr gets `AVFilmGrainH274Params.num_intensity_intervals` address.

func (*AVFilmGrainH274Params) GetNumModelValues added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetNumModelValues() []uint8

GetNumModelValues gets `AVFilmGrainH274Params.num_model_values` value.

func (*AVFilmGrainH274Params) GetNumModelValuesAddr added in v0.50.1

func (h274p *AVFilmGrainH274Params) GetNumModelValuesAddr() **uint8

GetNumModelValuesAddr gets `AVFilmGrainH274Params.num_model_values` address.

func (*AVFilmGrainH274Params) SetBitDepthChroma deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) SetBitDepthChroma(v int32)

Deprecated: No use.

SetBitDepthChroma sets `AVFilmGrainH274Params.bit_depth_chroma` value.

func (*AVFilmGrainH274Params) SetBitDepthLuma deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) SetBitDepthLuma(v int32)

Deprecated: No use.

SetBitDepthLuma sets `AVFilmGrainH274Params.bit_depth_luma` value.

func (*AVFilmGrainH274Params) SetBlendingModeId added in v0.50.1

func (h274p *AVFilmGrainH274Params) SetBlendingModeId(v int32)

SetBlendingModeId sets `AVFilmGrainH274Params.blending_mode_id` value.

func (*AVFilmGrainH274Params) SetColorPrimaries deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) SetColorPrimaries(v AVColorPrimaries)

Deprecated: No use.

SetColorPrimaries sets `AVFilmGrainH274Params.color_primaries` value.

func (*AVFilmGrainH274Params) SetColorRange deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) SetColorRange(v AVColorRange)

Deprecated: No use.

SetColorRange sets `AVFilmGrainH274Params.color_range` value.

func (*AVFilmGrainH274Params) SetColorSpace deprecated added in v0.50.1

func (h274p *AVFilmGrainH274Params) SetColorSpace(v AVColorSpace)

Deprecated: No use.

SetColorSpace sets `AVFilmGrainH274Params.color_space` value.

func (*AVFilmGrainH274Params) SetColorTrc deprecated added in v0.50.1

Deprecated: No use.

SetColorTrc sets `AVFilmGrainH274Params.color_trc` value.

func (*AVFilmGrainH274Params) SetCompModelValue added in v0.50.1

func (h274p *AVFilmGrainH274Params) SetCompModelValue(v [][][]int16)

SetCompModelValue sets `AVFilmGrainH274Params.comp_model_value` value.

func (*AVFilmGrainH274Params) SetComponentModelPresent added in v0.50.1

func (h274p *AVFilmGrainH274Params) SetComponentModelPresent(v []int32)

SetComponentModelPresent sets `AVFilmGrainH274Params.component_model_present` value.

func (*AVFilmGrainH274Params) SetIntensityIntervalLowerBound added in v0.50.1

func (h274p *AVFilmGrainH274Params) SetIntensityIntervalLowerBound(v [][]uint8)

SetIntensityIntervalLowerBound sets `AVFilmGrainH274Params.intensity_interval_lower_bound` value.

func (*AVFilmGrainH274Params) SetIntensityIntervalUpperBound added in v0.50.1

func (h274p *AVFilmGrainH274Params) SetIntensityIntervalUpperBound(v [][]uint8)

SetIntensityIntervalUpperBound sets `AVFilmGrainH274Params.intensity_interval_upper_bound` value.

func (*AVFilmGrainH274Params) SetLog2ScaleFactor added in v0.50.1

func (h274p *AVFilmGrainH274Params) SetLog2ScaleFactor(v int32)

SetLog2ScaleFactor sets `AVFilmGrainH274Params.log2_scale_factor` value.

func (*AVFilmGrainH274Params) SetModelId added in v0.50.1

func (h274p *AVFilmGrainH274Params) SetModelId(v int32)

SetModelId sets `AVFilmGrainH274Params.model_id` value.

func (*AVFilmGrainH274Params) SetNumIntensityIntervals added in v0.50.1

func (h274p *AVFilmGrainH274Params) SetNumIntensityIntervals(v []uint16)

SetNumIntensityIntervals sets `AVFilmGrainH274Params.num_intensity_intervals` value.

func (*AVFilmGrainH274Params) SetNumModelValues added in v0.50.1

func (h274p *AVFilmGrainH274Params) SetNumModelValues(v []uint8)

SetNumModelValues sets `AVFilmGrainH274Params.num_model_values` value.

type AVFilmGrainParams added in v0.44.1

type AVFilmGrainParams C.struct_AVFilmGrainParams

AVFilmGrainParams

func AvFilmGrainParamsAlloc added in v0.44.1

func AvFilmGrainParamsAlloc(size *uintptr) *AVFilmGrainParams

AvFilmGrainParamsAlloc allocates an AVFilmGrainParams structure and set its fields to default values.

func AvFilmGrainParamsCreateSideData added in v0.44.1

func AvFilmGrainParamsCreateSideData(frame *AVFrame) *AVFilmGrainParams

AvFilmGrainParamsCreateSideData allocates a complete AVFilmGrainParams and add it to the frame.

func AvFilmGrainParamsSelect added in v0.70.1

func AvFilmGrainParamsSelect(frame *AVFrame) *AVFilmGrainParams

AvFilmGrainParamsSelect selects the most appropriate film grain parameters set for the frame.

func (*AVFilmGrainParams) GetBitDepthChroma added in v0.70.1

func (fgp *AVFilmGrainParams) GetBitDepthChroma() int32

GetBitDepthChroma gets `AVFilmGrainParams.bit_depth_chroma` value.

func (*AVFilmGrainParams) GetBitDepthChromaAddr added in v0.70.1

func (fgp *AVFilmGrainParams) GetBitDepthChromaAddr() *int32

GetBitDepthChromaAddr gets `AVFilmGrainParams.bit_depth_chroma` address.

func (*AVFilmGrainParams) GetBitDepthLuma added in v0.70.1

func (fgp *AVFilmGrainParams) GetBitDepthLuma() int32

GetBitDepthLuma gets `AVFilmGrainParams.bit_depth_luma` value.

func (*AVFilmGrainParams) GetBitDepthLumaAddr added in v0.70.1

func (fgp *AVFilmGrainParams) GetBitDepthLumaAddr() *int32

GetBitDepthLumaAddr gets `AVFilmGrainParams.bit_depth_luma` address.

func (*AVFilmGrainParams) GetCodecAom added in v0.44.1

func (fgp *AVFilmGrainParams) GetCodecAom() AVFilmGrainAOMParams

GetCodecAom gets `AVFilmGrainParams.codec_aom` value.

func (*AVFilmGrainParams) GetCodecAomAddr added in v0.44.1

func (fgp *AVFilmGrainParams) GetCodecAomAddr() *AVFilmGrainAOMParams

GetCodecAomAddr gets `AVFilmGrainParams.codec_aom` address.

func (*AVFilmGrainParams) GetColorPrimaries added in v0.70.1

func (fgp *AVFilmGrainParams) GetColorPrimaries() AVColorPrimaries

GetColorPrimaries gets `AVFilmGrainParams.color_primaries` value.

func (*AVFilmGrainParams) GetColorPrimariesAddr added in v0.70.1

func (fgp *AVFilmGrainParams) GetColorPrimariesAddr() *AVColorPrimaries

GetColorPrimariesAddr gets `AVFilmGrainParams.color_primaries` address.

func (*AVFilmGrainParams) GetColorRange added in v0.70.1

func (fgp *AVFilmGrainParams) GetColorRange() AVColorRange

GetColorRange gets `AVFilmGrainParams.color_range` value.

func (*AVFilmGrainParams) GetColorRangeAddr added in v0.70.1

func (fgp *AVFilmGrainParams) GetColorRangeAddr() *AVColorRange

GetColorRangeAddr gets `AVFilmGrainParams.color_range` address.

func (*AVFilmGrainParams) GetColorSpace added in v0.70.1

func (fgp *AVFilmGrainParams) GetColorSpace() AVColorSpace

GetColorSpace gets `AVFilmGrainParams.color_space` value.

func (*AVFilmGrainParams) GetColorSpaceAddr added in v0.70.1

func (fgp *AVFilmGrainParams) GetColorSpaceAddr() *AVColorSpace

GetColorSpaceAddr gets `AVFilmGrainParams.color_space` address.

func (*AVFilmGrainParams) GetColorTrc added in v0.70.1

GetColorTrc gets `AVFilmGrainParams.color_trc` value.

func (*AVFilmGrainParams) GetColorTrcAddr added in v0.70.1

func (fgp *AVFilmGrainParams) GetColorTrcAddr() *AVColorTransferCharacteristic

GetColorTrcAddr gets `AVFilmGrainParams.color_trc` address.

func (*AVFilmGrainParams) GetHeight added in v0.70.1

func (fgp *AVFilmGrainParams) GetHeight() int32

GetHeight gets `AVFilmGrainParams.height` value.

func (*AVFilmGrainParams) GetHeightAddr added in v0.70.1

func (fgp *AVFilmGrainParams) GetHeightAddr() *int32

GetHeightAddr gets `AVFilmGrainParams.height` address.

func (*AVFilmGrainParams) GetSeed added in v0.44.1

func (fgp *AVFilmGrainParams) GetSeed() uint64

GetSeed gets `AVFilmGrainParams.seed` value.

func (*AVFilmGrainParams) GetSeedAddr added in v0.44.1

func (fgp *AVFilmGrainParams) GetSeedAddr() *uint64

GetSeedAddr gets `AVFilmGrainParams.seed` address.

func (*AVFilmGrainParams) GetSubsamplingX added in v0.70.1

func (fgp *AVFilmGrainParams) GetSubsamplingX() int32

GetSubsamplingX gets `AVFilmGrainParams.subsampling_x` value.

func (*AVFilmGrainParams) GetSubsamplingXAddr added in v0.70.1

func (fgp *AVFilmGrainParams) GetSubsamplingXAddr() *int32

GetSubsamplingXAddr gets `AVFilmGrainParams.subsampling_x` address.

func (*AVFilmGrainParams) GetSubsamplingY added in v0.70.1

func (fgp *AVFilmGrainParams) GetSubsamplingY() int32

GetSubsamplingY gets `AVFilmGrainParams.subsampling_y` value.

func (*AVFilmGrainParams) GetSubsamplingYAddr added in v0.70.1

func (fgp *AVFilmGrainParams) GetSubsamplingYAddr() *int32

GetSubsamplingYAddr gets `AVFilmGrainParams.subsampling_y` address.

func (*AVFilmGrainParams) GetType added in v0.44.1

GetType gets `AVFilmGrainParams.type` value.

func (*AVFilmGrainParams) GetTypeAddr added in v0.44.1

func (fgp *AVFilmGrainParams) GetTypeAddr() *AVFilmGrainParamsType

GetTypeAddr gets `AVFilmGrainParams.type` address.

func (*AVFilmGrainParams) GetWidth added in v0.70.1

func (fgp *AVFilmGrainParams) GetWidth() int32

GetWidth gets `AVFilmGrainParams.width` value.

func (*AVFilmGrainParams) GetWidthAddr added in v0.70.1

func (fgp *AVFilmGrainParams) GetWidthAddr() *int32

GetWidthAddr gets `AVFilmGrainParams.width` address.

func (*AVFilmGrainParams) SetBitDepthChroma added in v0.70.1

func (fgp *AVFilmGrainParams) SetBitDepthChroma(v int32)

SetBitDepthChroma sets `AVFilmGrainParams.bit_depth_chroma` value.

func (*AVFilmGrainParams) SetBitDepthLuma added in v0.70.1

func (fgp *AVFilmGrainParams) SetBitDepthLuma(v int32)

SetBitDepthLuma sets `AVFilmGrainParams.bit_depth_luma` value.

func (*AVFilmGrainParams) SetCodecAom added in v0.44.1

func (fgp *AVFilmGrainParams) SetCodecAom(v AVFilmGrainAOMParams)

SetCodecAom sets `AVFilmGrainParams.codec_aom` value.

func (*AVFilmGrainParams) SetColorPrimaries added in v0.70.1

func (fgp *AVFilmGrainParams) SetColorPrimaries(v AVColorPrimaries)

SetColorPrimaries sets `AVFilmGrainParams.color_primaries` value.

func (*AVFilmGrainParams) SetColorRange added in v0.70.1

func (fgp *AVFilmGrainParams) SetColorRange(v AVColorRange)

SetColorRange sets `AVFilmGrainParams.color_range` value.

func (*AVFilmGrainParams) SetColorSpace added in v0.70.1

func (fgp *AVFilmGrainParams) SetColorSpace(v AVColorSpace)

SetColorSpace sets `AVFilmGrainParams.color_space` value.

func (*AVFilmGrainParams) SetColorTrc added in v0.70.1

SetColorTrc sets `AVFilmGrainParams.color_trc` value.

func (*AVFilmGrainParams) SetHeight added in v0.70.1

func (fgp *AVFilmGrainParams) SetHeight(v int32)

SetHeight sets `AVFilmGrainParams.height` value.

func (*AVFilmGrainParams) SetSeed added in v0.44.1

func (fgp *AVFilmGrainParams) SetSeed(v uint64)

SetSeed sets `AVFilmGrainParams.seed` value.

func (*AVFilmGrainParams) SetSubsamplingX added in v0.70.1

func (fgp *AVFilmGrainParams) SetSubsamplingX(v int32)

SetSubsamplingX sets `AVFilmGrainParams.subsampling_x` value.

func (*AVFilmGrainParams) SetSubsamplingY added in v0.70.1

func (fgp *AVFilmGrainParams) SetSubsamplingY(v int32)

SetSubsamplingY sets `AVFilmGrainParams.subsampling_y` value.

func (*AVFilmGrainParams) SetType added in v0.44.1

func (fgp *AVFilmGrainParams) SetType(v AVFilmGrainParamsType)

SetType sets `AVFilmGrainParams.type` value.

func (*AVFilmGrainParams) SetWidth added in v0.70.1

func (fgp *AVFilmGrainParams) SetWidth(v int32)

SetWidth sets `AVFilmGrainParams.width` value.

type AVFilmGrainParamsType added in v0.44.1

type AVFilmGrainParamsType = C.enum_AVFilmGrainParamsType

AVFilmGrainParamsType

type AVFilter

type AVFilter C.struct_AVFilter

Filter definition. This defines the pads a filter contains, and all the callback functions used to interact with the filter.

func AvFilterGetByName

func AvFilterGetByName(name string) *AVFilter

AvFilterGetByName gets a filter definition matching the given name.

func AvFilterIterate

func AvFilterIterate(opaque CVoidPointerPointer) *AVFilter

AvFilterIterate iterates over all registered filters.

func (*AVFilter) GetDescription

func (flt *AVFilter) GetDescription() string

GetDescription gets `AVFilter.description` value.

func (*AVFilter) GetFlags

func (flt *AVFilter) GetFlags() int32

GetFlags gets `AVFilter.flags` value.

func (*AVFilter) GetFlagsAddr

func (flt *AVFilter) GetFlagsAddr() *int32

GetFlagsAddr gets `AVFilter.flags` address.

func (*AVFilter) GetInputs

func (flt *AVFilter) GetInputs() *AVFilterPad

GetInputs gets `AVFilter.inputs` value.

func (*AVFilter) GetInputsAddr

func (flt *AVFilter) GetInputsAddr() **AVFilterPad

GetInputsAddr gets `AVFilter.inputs` address.

func (*AVFilter) GetName

func (flt *AVFilter) GetName() string

GetName gets `AVFilter.name` value.

func (*AVFilter) GetOutputs

func (flt *AVFilter) GetOutputs() *AVFilterPad

GetOutputs gets `AVFilter.outputs` value.

func (*AVFilter) GetOutputsAddr

func (flt *AVFilter) GetOutputsAddr() **AVFilterPad

GetOutputsAddr gets `AVFilter.outputs` address.

func (*AVFilter) GetPrivClass

func (flt *AVFilter) GetPrivClass() *AVClass

GetPrivClass gets `AVFilter.priv_class` value.

func (*AVFilter) GetPrivClassAddr

func (flt *AVFilter) GetPrivClassAddr() **AVClass

GetPrivClassAddr gets `AVFilter.priv_class` address.

func (*AVFilter) SetFlags

func (flt *AVFilter) SetFlags(v int32)

SetFlags sets `AVFilter.flags` value.

func (*AVFilter) SetInputs

func (flt *AVFilter) SetInputs(v *AVFilterPad)

SetInputs sets `AVFilter.inputs` value.

func (*AVFilter) SetOutputs

func (flt *AVFilter) SetOutputs(v *AVFilterPad)

SetOutputs sets `AVFilter.outputs` value.

func (*AVFilter) SetPrivClass

func (flt *AVFilter) SetPrivClass(v *AVClass)

SetPrivClass sets `AVFilter.priv_class` value.

type AVFilterActionFunc

type AVFilterActionFunc = C.avfilter_action_func

typedef int (avfilter_action_func)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs);

type AVFilterChain added in v0.60.1

type AVFilterChain C.struct_AVFilterChain

AVFilterChain

func (*AVFilterChain) GetFilters added in v0.60.1

func (fc *AVFilterChain) GetFilters() []*AVFilterParams

GetFilters gets `AVFilterChain.filters` value.

func (*AVFilterChain) GetFiltersAddr added in v0.60.1

func (fc *AVFilterChain) GetFiltersAddr() ***AVFilterParams

GetFiltersAddr gets `AVFilterChain.filters` address.

func (*AVFilterChain) GetNbFilters added in v0.60.1

func (fc *AVFilterChain) GetNbFilters() uintptr

GetNbFilters gets `AVFilterChain.nb_filters` value.

func (*AVFilterChain) GetNbFiltersAddr added in v0.60.1

func (fc *AVFilterChain) GetNbFiltersAddr() *uintptr

GetNbFiltersAddr gets `AVFilterChain.nb_filters` address.

func (*AVFilterChain) SetFilters added in v0.60.1

func (fc *AVFilterChain) SetFilters(v **AVFilterParams)

SetFilters sets `AVFilterChain.filters` value.

func (*AVFilterChain) SetNbFilters added in v0.60.1

func (fc *AVFilterChain) SetNbFilters(v uintptr)

SetNbFilters sets `AVFilterChain.nb_filters` value.

type AVFilterChannelLayouts

type AVFilterChannelLayouts C.struct_AVFilterChannelLayouts

AVFilterChannelLayouts

type AVFilterCommand

type AVFilterCommand C.struct_AVFilterCommand

AVFilterCommand

type AVFilterContext

type AVFilterContext C.struct_AVFilterContext

AVFilterContext

func AvFilterGraphAllocFilter

func AvFilterGraphAllocFilter(graph *AVFilterGraph, filter *AVFilter, name string) *AVFilterContext

AvFilterGraphAllocFilter creates a new filter instance in a filter graph.

func AvFilterGraphGetFilter

func AvFilterGraphGetFilter(graph *AVFilterGraph, name string) *AVFilterContext

AvFilterGraphGetFilter gets a filter instance identified by instance name from graph.

func (*AVFilterContext) GetAvClass

func (fltc *AVFilterContext) GetAvClass() *AVClass

GetAvClass gets `AVFilterContext.av_class` value.

func (*AVFilterContext) GetAvClassAddr

func (fltc *AVFilterContext) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVFilterContext.av_class` address.

func (*AVFilterContext) GetCommandQueue

func (fltc *AVFilterContext) GetCommandQueue() *AVFilterCommand

GetCommandQueue gets `AVFilterContext.command_queue` value.

func (*AVFilterContext) GetCommandQueueAddr

func (fltc *AVFilterContext) GetCommandQueueAddr() **AVFilterCommand

GetCommandQueueAddr gets `AVFilterContext.command_queue` address.

func (*AVFilterContext) GetEnable

func (fltc *AVFilterContext) GetEnable() unsafe.Pointer

GetEnable gets `AVFilterContext.enable` value.

func (*AVFilterContext) GetEnableAddr

func (fltc *AVFilterContext) GetEnableAddr() *unsafe.Pointer

GetEnableAddr gets `AVFilterContext.enable` address.

func (*AVFilterContext) GetEnableStr

func (fltc *AVFilterContext) GetEnableStr() string

GetEnableStr gets `AVFilterContext.enable_str` value.

func (*AVFilterContext) GetExtraHwFrames

func (fltc *AVFilterContext) GetExtraHwFrames() int32

GetExtraHwFrames gets `AVFilterContext.extra_hw_frames` value.

func (*AVFilterContext) GetExtraHwFramesAddr

func (fltc *AVFilterContext) GetExtraHwFramesAddr() *int32

GetExtraHwFramesAddr gets `AVFilterContext.extra_hw_frames` address.

func (*AVFilterContext) GetFilter

func (fltc *AVFilterContext) GetFilter() *AVFilter

GetFilter gets `AVFilterContext.filter` value.

func (*AVFilterContext) GetFilterAddr

func (fltc *AVFilterContext) GetFilterAddr() **AVFilter

GetFilterAddr gets `AVFilterContext.filter` address.

func (*AVFilterContext) GetGraph

func (fltc *AVFilterContext) GetGraph() *AVFilterGraph

GetGraph gets `AVFilterContext.graph` value.

func (*AVFilterContext) GetGraphAddr

func (fltc *AVFilterContext) GetGraphAddr() **AVFilterGraph

GetGraphAddr gets `AVFilterContext.graph` address.

func (*AVFilterContext) GetHwDeviceCtx

func (fltc *AVFilterContext) GetHwDeviceCtx() *AVBufferRef

GetHwDeviceCtx gets `AVFilterContext.hw_device_ctx` value.

func (*AVFilterContext) GetHwDeviceCtxAddr

func (fltc *AVFilterContext) GetHwDeviceCtxAddr() **AVBufferRef

GetHwDeviceCtxAddr gets `AVFilterContext.hw_device_ctx` address.

func (*AVFilterContext) GetInputPads

func (fltc *AVFilterContext) GetInputPads() *AVFilterPad

GetInputPads gets `AVFilterContext.input_pads` value.

func (*AVFilterContext) GetInputPadsAddr

func (fltc *AVFilterContext) GetInputPadsAddr() **AVFilterPad

GetInputPadsAddr gets `AVFilterContext.input_pads` address.

func (*AVFilterContext) GetInputs

func (fltc *AVFilterContext) GetInputs() []*AVFilterLink

GetInputs gets `AVFilterContext.inputs` value.

func (*AVFilterContext) GetInputsAddr

func (fltc *AVFilterContext) GetInputsAddr() ***AVFilterLink

GetInputsAddr gets `AVFilterContext.inputs` address.

func (*AVFilterContext) GetIsDisabled

func (fltc *AVFilterContext) GetIsDisabled() int32

GetIsDisabled gets `AVFilterContext.is_disabled` value.

func (*AVFilterContext) GetIsDisabledAddr

func (fltc *AVFilterContext) GetIsDisabledAddr() *int32

GetIsDisabledAddr gets `AVFilterContext.is_disabled` address.

func (*AVFilterContext) GetName

func (fltc *AVFilterContext) GetName() string

GetName gets `AVFilterContext.name` value.

func (*AVFilterContext) GetNbInputs

func (fltc *AVFilterContext) GetNbInputs() uint32

GetNbInputs gets `AVFilterContext.nb_inputs` value.

func (*AVFilterContext) GetNbInputsAddr

func (fltc *AVFilterContext) GetNbInputsAddr() *uint32

GetNbInputsAddr gets `AVFilterContext.nb_inputs` address.

func (*AVFilterContext) GetNbOutputs

func (fltc *AVFilterContext) GetNbOutputs() uint32

GetNbOutputs gets `AVFilterContext.nb_outputs` value.

func (*AVFilterContext) GetNbOutputsAddr

func (fltc *AVFilterContext) GetNbOutputsAddr() *uint32

GetNbOutputsAddr gets `AVFilterContext.nb_outputs` address.

func (*AVFilterContext) GetNbThreads

func (fltc *AVFilterContext) GetNbThreads() int32

GetNbThreads gets `AVFilterContext.nb_threads` value.

func (*AVFilterContext) GetNbThreadsAddr

func (fltc *AVFilterContext) GetNbThreadsAddr() *int32

GetNbThreadsAddr gets `AVFilterContext.nb_threads` address.

func (*AVFilterContext) GetOutputPads

func (fltc *AVFilterContext) GetOutputPads() *AVFilterPad

GetOutputPads gets `AVFilterContext.output_pads` value.

func (*AVFilterContext) GetOutputPadsAddr

func (fltc *AVFilterContext) GetOutputPadsAddr() **AVFilterPad

GetOutputPadsAddr gets `AVFilterContext.output_pads` address.

func (*AVFilterContext) GetOutputs

func (fltc *AVFilterContext) GetOutputs() []*AVFilterLink

GetOutputs gets `AVFilterContext.outputs` value.

func (*AVFilterContext) GetOutputsAddr

func (fltc *AVFilterContext) GetOutputsAddr() ***AVFilterLink

GetOutputsAddr gets `AVFilterContext.outputs` address.

func (*AVFilterContext) GetPriv

func (fltc *AVFilterContext) GetPriv() unsafe.Pointer

GetPriv gets `AVFilterContext.priv` value.

func (*AVFilterContext) GetPrivAddr

func (fltc *AVFilterContext) GetPrivAddr() *unsafe.Pointer

GetPrivAddr gets `AVFilterContext.priv` address.

func (*AVFilterContext) GetReady

func (fltc *AVFilterContext) GetReady() uint32

GetReady gets `AVFilterContext.ready` value.

func (*AVFilterContext) GetReadyAddr

func (fltc *AVFilterContext) GetReadyAddr() *uint32

GetReadyAddr gets `AVFilterContext.ready` address.

func (*AVFilterContext) GetThreadType

func (fltc *AVFilterContext) GetThreadType() int32

GetThreadType gets `AVFilterContext.threadtype` value.

func (*AVFilterContext) GetThreadTypeAddr

func (fltc *AVFilterContext) GetThreadTypeAddr() *int32

GetThreadTypeAddr gets `AVFilterContext.threadtype` address.

func (*AVFilterContext) GetVarValues

func (fltc *AVFilterContext) GetVarValues() *float64

GetVarValues gets `AVFilterContext.var_values` value.

func (*AVFilterContext) GetVarValuesAddr

func (fltc *AVFilterContext) GetVarValuesAddr() **float64

GetVarValuesAddr gets `AVFilterContext.var_values` address.

func (*AVFilterContext) SetAvClass

func (fltc *AVFilterContext) SetAvClass(v *AVClass)

SetAvClass sets `AVFilterContext.av_class` value.

func (*AVFilterContext) SetCommandQueue

func (fltc *AVFilterContext) SetCommandQueue(v *AVFilterCommand)

SetCommandQueue sets `AVFilterContext.command_queue` value.

func (*AVFilterContext) SetEnable

func (fltc *AVFilterContext) SetEnable(v CVoidPointer)

SetEnable sets `AVFilterContext.enable` value.

func (*AVFilterContext) SetExtraHwFrames

func (fltc *AVFilterContext) SetExtraHwFrames(v int32)

SetExtraHwFrames sets `AVFilterContext.extra_hw_frames` value.

func (*AVFilterContext) SetFilter

func (fltc *AVFilterContext) SetFilter(v *AVFilter)

SetFilter sets `AVFilterContext.filter` value.

func (*AVFilterContext) SetGraph

func (fltc *AVFilterContext) SetGraph(v *AVFilterGraph)

SetGraph sets `AVFilterContext.graph` value.

func (*AVFilterContext) SetHwDeviceCtx

func (fltc *AVFilterContext) SetHwDeviceCtx(v *AVBufferRef)

SetHwDeviceCtx sets `AVFilterContext.hw_device_ctx` value.

func (*AVFilterContext) SetInputPads

func (fltc *AVFilterContext) SetInputPads(v *AVFilterPad)

SetInputPads sets `AVFilterContext.input_pads` value.

func (*AVFilterContext) SetInputs

func (fltc *AVFilterContext) SetInputs(v **AVFilterLink)

SetInputs sets `AVFilterContext.inputs` value.

func (*AVFilterContext) SetIsDisabled

func (fltc *AVFilterContext) SetIsDisabled(v int32)

SetIsDisabled sets `AVFilterContext.is_disabled` value.

func (*AVFilterContext) SetName

func (fltc *AVFilterContext) SetName(v string)

SetName sets `AVFilterContext.name` value.

func (*AVFilterContext) SetNbInputs

func (fltc *AVFilterContext) SetNbInputs(v uint32)

SetNbInputs sets `AVFilterContext.nb_inputs` value.

func (*AVFilterContext) SetNbOutputs

func (fltc *AVFilterContext) SetNbOutputs(v uint32)

SetNbOutputs sets `AVFilterContext.nb_outputs` value.

func (*AVFilterContext) SetNbThreads

func (fltc *AVFilterContext) SetNbThreads(v int32)

SetNbThreads sets `AVFilterContext.nb_threads` value.

func (*AVFilterContext) SetOutputPads

func (fltc *AVFilterContext) SetOutputPads(v *AVFilterPad)

SetOutputPads sets `AVFilterContext.output_pads` value.

func (*AVFilterContext) SetOutputs

func (fltc *AVFilterContext) SetOutputs(v **AVFilterLink)

SetOutputs sets `AVFilterContext.outputs` value.

func (*AVFilterContext) SetPriv

func (fltc *AVFilterContext) SetPriv(v CVoidPointer)

SetPriv sets `AVFilterContext.priv` value.

func (*AVFilterContext) SetReady

func (fltc *AVFilterContext) SetReady(v uint32)

SetReady sets `AVFilterContext.ready` value.

func (*AVFilterContext) SetThreadType

func (fltc *AVFilterContext) SetThreadType(v int32)

SetThreadType sets `AVFilterContext.threadtype` value.

func (*AVFilterContext) SetVarValues

func (fltc *AVFilterContext) SetVarValues(v *float64)

SetVarValues sets `AVFilterContext.var_values` value.

type AVFilterExecuteFunc

type AVFilterExecuteFunc = C.avfilter_execute_func

typedef int (avfilter_execute_func)(AVFilterContext *ctx, avfilter_action_func *func, void *arg, int *ret, int nb_jobs);

type AVFilterFormats

type AVFilterFormats C.struct_AVFilterFormats

AVFilterFormats

type AVFilterFormatsConfig

type AVFilterFormatsConfig C.struct_AVFilterFormatsConfig

AVFilterFormatsConfig

func (*AVFilterFormatsConfig) GetChannelLayouts added in v0.44.1

func (fltf *AVFilterFormatsConfig) GetChannelLayouts() *AVFilterChannelLayouts

GetChannelLayouts gets `AVFilterFormatsConfig.channel_layouts` value.

func (*AVFilterFormatsConfig) GetChannelLayoutsAddr added in v0.44.1

func (fltf *AVFilterFormatsConfig) GetChannelLayoutsAddr() **AVFilterChannelLayouts

GetChannelLayoutsAddr gets `AVFilterFormatsConfig.channel_layouts` address.

func (*AVFilterFormatsConfig) GetFormats added in v0.44.1

func (fltf *AVFilterFormatsConfig) GetFormats() *AVFilterFormats

GetFormats gets `AVFilterFormatsConfig.formats` value.

func (*AVFilterFormatsConfig) GetFormatsAddr added in v0.44.1

func (fltf *AVFilterFormatsConfig) GetFormatsAddr() **AVFilterFormats

GetFormatsAddr gets `AVFilterFormatsConfig.formats` address.

func (*AVFilterFormatsConfig) GetSamplerates added in v0.44.1

func (fltf *AVFilterFormatsConfig) GetSamplerates() *AVFilterFormats

GetSamplerates gets `AVFilterFormatsConfig.samplerates` value.

func (*AVFilterFormatsConfig) GetSampleratesAddr added in v0.44.1

func (fltf *AVFilterFormatsConfig) GetSampleratesAddr() **AVFilterFormats

GetSampleratesAddr gets `AVFilterFormatsConfig.samplerates` address.

func (*AVFilterFormatsConfig) SetChannelLayouts added in v0.44.1

func (fltf *AVFilterFormatsConfig) SetChannelLayouts(v *AVFilterChannelLayouts)

SetChannelLayouts sets `AVFilterFormatsConfig.channel_layouts` value.

func (*AVFilterFormatsConfig) SetFormats added in v0.44.1

func (fltf *AVFilterFormatsConfig) SetFormats(v *AVFilterFormats)

SetFormats sets `AVFilterFormatsConfig.formats` value.

func (*AVFilterFormatsConfig) SetSamplerates added in v0.44.1

func (fltf *AVFilterFormatsConfig) SetSamplerates(v *AVFilterFormats)

SetSamplerates sets `AVFilterFormatsConfig.samplerates` value.

type AVFilterGraph

type AVFilterGraph C.struct_AVFilterGraph

AVFilterGraph

func AvFilterGraphAlloc

func AvFilterGraphAlloc() *AVFilterGraph

AvFilterGraphAlloc allocates a filter graph.

func (*AVFilterGraph) GetAresampleSwrOpts

func (fltg *AVFilterGraph) GetAresampleSwrOpts() string

GetAresampleSwrOpts gets `AVFilterGraph.aresample_swr_opts` value.

func (*AVFilterGraph) GetAvClass

func (fltg *AVFilterGraph) GetAvClass() *AVClass

GetAvClass gets `AVFilterGraph.av_class` value.

func (*AVFilterGraph) GetAvClassAddr

func (fltg *AVFilterGraph) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVFilterGraph.av_class` address.

func (*AVFilterGraph) GetExecute

func (fltg *AVFilterGraph) GetExecute() *AVFilterExecuteFunc

GetExecute gets `AVFilterGraph.execute` value.

func (*AVFilterGraph) GetExecuteAddr

func (fltg *AVFilterGraph) GetExecuteAddr() **AVFilterExecuteFunc

GetExecuteAddr gets `AVFilterGraph.execute` address.

func (*AVFilterGraph) GetFilters

func (fltg *AVFilterGraph) GetFilters() []*AVFilterContext

GetFilters gets `AVFilterGraph.filters` value.

func (*AVFilterGraph) GetFiltersAddr

func (fltg *AVFilterGraph) GetFiltersAddr() ***AVFilterContext

GetFiltersAddr gets `AVFilterGraph.filters` address.

func (*AVFilterGraph) GetNbFilters

func (fltg *AVFilterGraph) GetNbFilters() uint32

GetNbFilters gets `AVFilterGraph.nb_filters` value.

func (*AVFilterGraph) GetNbFiltersAddr

func (fltg *AVFilterGraph) GetNbFiltersAddr() *uint32

GetNbFiltersAddr gets `AVFilterGraph.nb_filters` address.

func (*AVFilterGraph) GetNbThreads

func (fltg *AVFilterGraph) GetNbThreads() int32

GetNbThreads gets `AVFilterGraph.nb_threads` value.

func (*AVFilterGraph) GetNbThreadsAddr

func (fltg *AVFilterGraph) GetNbThreadsAddr() *int32

GetNbThreadsAddr gets `AVFilterGraph.nb_threads` address.

func (*AVFilterGraph) GetOpaque

func (fltg *AVFilterGraph) GetOpaque() unsafe.Pointer

GetOpaque gets `AVFilterGraph.opaque` value.

func (*AVFilterGraph) GetOpaqueAddr

func (fltg *AVFilterGraph) GetOpaqueAddr() *unsafe.Pointer

GetOpaqueAddr gets `AVFilterGraph.opaque` address.

func (*AVFilterGraph) GetScaleSwsOpts

func (fltg *AVFilterGraph) GetScaleSwsOpts() string

GetScaleSwsOpts gets `AVFilterGraph.scale_sws_opts` value.

func (*AVFilterGraph) GetThreadType

func (fltg *AVFilterGraph) GetThreadType() int32

GetThreadType gets `AVFilterGraph.threadtype` value.

func (*AVFilterGraph) GetThreadTypeAddr

func (fltg *AVFilterGraph) GetThreadTypeAddr() *int32

GetThreadTypeAddr gets `AVFilterGraph.threadtype` address.

func (*AVFilterGraph) SetAvClass

func (fltg *AVFilterGraph) SetAvClass(v *AVClass)

SetAvClass sets `AVFilterGraph.av_class` value.

func (*AVFilterGraph) SetExecute

func (fltg *AVFilterGraph) SetExecute(v *AVFilterExecuteFunc)

SetExecute sets `AVFilterGraph.execute` value.

func (*AVFilterGraph) SetFilters

func (fltg *AVFilterGraph) SetFilters(v **AVFilterContext)

SetFilters sets `AVFilterGraph.filters` value.

func (*AVFilterGraph) SetNbFilters

func (fltg *AVFilterGraph) SetNbFilters(v uint32)

SetNbFilters sets `AVFilterGraph.nb_filters` value.

func (*AVFilterGraph) SetNbThreads

func (fltg *AVFilterGraph) SetNbThreads(v int32)

SetNbThreads sets `AVFilterGraph.nb_threads` value.

func (*AVFilterGraph) SetOpaque

func (fltg *AVFilterGraph) SetOpaque(v CVoidPointer)

SetOpaque sets `AVFilterGraph.opaque` value.

func (*AVFilterGraph) SetThreadType

func (fltg *AVFilterGraph) SetThreadType(v int32)

SetThreadType sets `AVFilterGraph.threadtype` value.

type AVFilterGraphInternal

type AVFilterGraphInternal C.struct_AVFilterGraphInternal

AVFilterGraphInternal

type AVFilterGraphSegment added in v0.60.1

type AVFilterGraphSegment C.struct_AVFilterGraphSegment

AVFilterGraphSegment

func (*AVFilterGraphSegment) GetChains added in v0.60.1

func (fgs *AVFilterGraphSegment) GetChains() []*AVFilterChain

GetChains gets `AVFilterGraphSegment.chains` value.

func (*AVFilterGraphSegment) GetChainsAddr added in v0.60.1

func (fgs *AVFilterGraphSegment) GetChainsAddr() ***AVFilterChain

GetChainsAddr gets `AVFilterGraphSegment.chains` address.

func (*AVFilterGraphSegment) GetGraph added in v0.60.1

func (fgs *AVFilterGraphSegment) GetGraph() *AVFilterGraph

GetGraph gets `AVFilterGraphSegment.graph` value.

func (*AVFilterGraphSegment) GetGraphAddr added in v0.60.1

func (fgs *AVFilterGraphSegment) GetGraphAddr() **AVFilterGraph

GetGraphAddr gets `AVFilterGraphSegment.graph` address.

func (*AVFilterGraphSegment) GetNb_Chains added in v0.60.1

func (fgs *AVFilterGraphSegment) GetNb_Chains() uintptr

GetNb_Chains gets `AVFilterGraphSegment.nb_chains` value.

func (*AVFilterGraphSegment) GetNb_ChainsAddr added in v0.60.1

func (fgs *AVFilterGraphSegment) GetNb_ChainsAddr() *uintptr

GetNb_ChainsAddr gets `AVFilterGraphSegment.nb_chains` address.

func (*AVFilterGraphSegment) GetScale_Sws_Opts added in v0.60.1

func (fgs *AVFilterGraphSegment) GetScale_Sws_Opts() string

GetScale_Sws_Opts gets `AVFilterGraphSegment.scale_sws_opts` value.

func (*AVFilterGraphSegment) SetChains added in v0.60.1

func (fgs *AVFilterGraphSegment) SetChains(v **AVFilterChain)

SetChains sets `AVFilterGraphSegment.chains` value.

func (*AVFilterGraphSegment) SetGraph added in v0.60.1

func (fgs *AVFilterGraphSegment) SetGraph(v *AVFilterGraph)

SetGraph sets `AVFilterGraphSegment.graph` value.

func (*AVFilterGraphSegment) SetNb_Chains added in v0.60.1

func (fgs *AVFilterGraphSegment) SetNb_Chains(v uintptr)

SetNb_Chains sets `AVFilterGraphSegment.nb_chains` value.

func (*AVFilterGraphSegment) SetScale_Sws_Opts added in v0.60.1

func (fgs *AVFilterGraphSegment) SetScale_Sws_Opts(v string)

SetScale_Sws_Opts sets `AVFilterGraphSegment.scale_sws_opts` value.

type AVFilterInOut

type AVFilterInOut C.struct_AVFilterInOut

AVFilterInOut

func AvFilterInoutAlloc

func AvFilterInoutAlloc() *AVFilterInOut

AvFilterInoutAlloc allocates a single AVFilterInOut entry.

func (*AVFilterInOut) GetFilterCtx

func (fltio *AVFilterInOut) GetFilterCtx() *AVFilterContext

GetFilterCtx gets `AVFilterInOut.filter_ctx` value.

func (*AVFilterInOut) GetFilterCtxAddr

func (fltio *AVFilterInOut) GetFilterCtxAddr() **AVFilterContext

GetFilterCtxAddr gets `AVFilterInOut.filter_ctx` address.

func (*AVFilterInOut) GetName

func (fltio *AVFilterInOut) GetName() string

GetName gets `AVFilterInOut.name` value.

func (*AVFilterInOut) GetNext

func (fltio *AVFilterInOut) GetNext() *AVFilterInOut

GetNext gets `AVFilterInOut.next` value.

func (*AVFilterInOut) GetNextAddr

func (fltio *AVFilterInOut) GetNextAddr() **AVFilterInOut

GetNextAddr gets `AVFilterInOut.next` address.

func (*AVFilterInOut) GetPadIdx

func (fltio *AVFilterInOut) GetPadIdx() int32

GetPadIdx gets `AVFilterInOut.pad_idx` value.

func (*AVFilterInOut) GetPadIdxAddr

func (fltio *AVFilterInOut) GetPadIdxAddr() *int32

GetPadIdxAddr gets `AVFilterInOut.pad_idx` address.

func (*AVFilterInOut) SetFilterCtx

func (fltio *AVFilterInOut) SetFilterCtx(v *AVFilterContext)

SetFilterCtx sets `AVFilterInOut.filter_ctx` value.

func (*AVFilterInOut) SetName

func (fltio *AVFilterInOut) SetName(v string)

SetName sets `AVFilterInOut.name` value.

func (*AVFilterInOut) SetNext

func (fltio *AVFilterInOut) SetNext(v *AVFilterInOut)

SetNext sets `AVFilterInOut.next` value.

func (*AVFilterInOut) SetPadIdx

func (fltio *AVFilterInOut) SetPadIdx(v int32)

SetPadIdx sets `AVFilterInOut.pad_idx` value.

type AVFilterInternal

type AVFilterInternal C.struct_AVFilterInternal

AVFilterInternal

type AVFilterLink C.struct_AVFilterLink

AVFilterLink

func (*AVFilterLink) GetChLayout added in v0.51.1

func (fltl *AVFilterLink) GetChLayout() AVChannelLayout

GetChLayout gets `AVFilterLink.ch_layout` value.

func (*AVFilterLink) GetChLayoutAddr added in v0.51.1

func (fltl *AVFilterLink) GetChLayoutAddr() *AVChannelLayout

GetChLayoutAddr gets `AVFilterLink.ch_layout` address.

func (*AVFilterLink) GetColorRange added in v0.70.1

func (fltl *AVFilterLink) GetColorRange() AVColorRange

GetColorRange gets `AVFilterLink.color_range` value.

func (*AVFilterLink) GetColorRangeAddr added in v0.70.1

func (fltl *AVFilterLink) GetColorRangeAddr() *AVColorRange

GetColorRangeAddr gets `AVFilterLink.color_range` address.

func (*AVFilterLink) GetColorspace added in v0.70.1

func (fltl *AVFilterLink) GetColorspace() AVColorSpace

GetColorspace gets `AVFilterLink.colorspace` value.

func (*AVFilterLink) GetColorspaceAddr added in v0.70.1

func (fltl *AVFilterLink) GetColorspaceAddr() *AVColorSpace

GetColorspaceAddr gets `AVFilterLink.colorspace` address.

func (*AVFilterLink) GetDst

func (fltl *AVFilterLink) GetDst() *AVFilterContext

GetDst gets `AVFilterLink.dst` value.

func (*AVFilterLink) GetDstAddr

func (fltl *AVFilterLink) GetDstAddr() **AVFilterContext

GetDstAddr gets `AVFilterLink.dst` address.

func (*AVFilterLink) GetDstpad

func (fltl *AVFilterLink) GetDstpad() *AVFilterPad

GetDstpad gets `AVFilterLink.dstpad` value.

func (*AVFilterLink) GetDstpadAddr

func (fltl *AVFilterLink) GetDstpadAddr() **AVFilterPad

GetDstpadAddr gets `AVFilterLink.dstpad` address.

func (*AVFilterLink) GetFormat

func (fltl *AVFilterLink) GetFormat() int32

GetFormat gets `AVFilterLink.format` value.

func (*AVFilterLink) GetFormatAddr

func (fltl *AVFilterLink) GetFormatAddr() *int32

GetFormatAddr gets `AVFilterLink.format` address.

func (*AVFilterLink) GetH

func (fltl *AVFilterLink) GetH() int32

GetH gets `AVFilterLink.h` value.

func (*AVFilterLink) GetHAddr

func (fltl *AVFilterLink) GetHAddr() *int32

GetHAddr gets `AVFilterLink.h` address.

func (*AVFilterLink) GetSampleAspectRatio

func (fltl *AVFilterLink) GetSampleAspectRatio() AVRational

GetSampleAspectRatio gets `AVFilterLink.sample_aspect_ratio` value.

func (*AVFilterLink) GetSampleAspectRatioAddr

func (fltl *AVFilterLink) GetSampleAspectRatioAddr() *AVRational

GetSampleAspectRatioAddr gets `AVFilterLink.sample_aspect_ratio` address.

func (*AVFilterLink) GetSampleRate

func (fltl *AVFilterLink) GetSampleRate() int32

GetSampleRate gets `AVFilterLink.sample_rate` value.

func (*AVFilterLink) GetSampleRateAddr

func (fltl *AVFilterLink) GetSampleRateAddr() *int32

GetSampleRateAddr gets `AVFilterLink.sample_rate` address.

func (*AVFilterLink) GetSrc

func (fltl *AVFilterLink) GetSrc() *AVFilterContext

GetSrc gets `AVFilterLink.src` value.

func (*AVFilterLink) GetSrcAddr

func (fltl *AVFilterLink) GetSrcAddr() **AVFilterContext

GetSrcAddr gets `AVFilterLink.src` address.

func (*AVFilterLink) GetSrcpad

func (fltl *AVFilterLink) GetSrcpad() *AVFilterPad

GetSrcpad gets `AVFilterLink.srcpad` value.

func (*AVFilterLink) GetSrcpadAddr

func (fltl *AVFilterLink) GetSrcpadAddr() **AVFilterPad

GetSrcpadAddr gets `AVFilterLink.srcpad` address.

func (*AVFilterLink) GetTimeBase

func (fltl *AVFilterLink) GetTimeBase() AVRational

GetTimeBase gets `AVFilterLink.time_base` value.

func (*AVFilterLink) GetTimeBaseAddr

func (fltl *AVFilterLink) GetTimeBaseAddr() *AVRational

GetTimeBaseAddr gets `AVFilterLink.time_base` address.

func (*AVFilterLink) GetType

func (fltl *AVFilterLink) GetType() AVMediaType

GetType gets `AVFilterLink.type` value.

func (*AVFilterLink) GetTypeAddr

func (fltl *AVFilterLink) GetTypeAddr() *AVMediaType

GetTypeAddr gets `AVFilterLink.type` address.

func (*AVFilterLink) GetW

func (fltl *AVFilterLink) GetW() int32

GetW gets `AVFilterLink.w` value.

func (*AVFilterLink) GetWAddr

func (fltl *AVFilterLink) GetWAddr() *int32

GetWAddr gets `AVFilterLink.w` address.

func (*AVFilterLink) SetChLayout added in v0.51.1

func (fltl *AVFilterLink) SetChLayout(v AVChannelLayout)

SetChLayout sets `AVFilterLink.ch_layout` value.

func (*AVFilterLink) SetColorRange added in v0.70.1

func (fltl *AVFilterLink) SetColorRange(v AVColorRange)

SetColorRange sets `AVFilterLink.color_range` value.

func (*AVFilterLink) SetColorspace added in v0.70.1

func (fltl *AVFilterLink) SetColorspace(v AVColorSpace)

SetColorspace sets `AVFilterLink.colorspace` value.

func (*AVFilterLink) SetDst

func (fltl *AVFilterLink) SetDst(v *AVFilterContext)

SetDst sets `AVFilterLink.dst` value.

func (*AVFilterLink) SetDstpad

func (fltl *AVFilterLink) SetDstpad(v *AVFilterPad)

SetDstpad sets `AVFilterLink.dstpad` value.

func (*AVFilterLink) SetFormat

func (fltl *AVFilterLink) SetFormat(v int32)

SetFormat sets `AVFilterLink.format` value.

func (*AVFilterLink) SetH

func (fltl *AVFilterLink) SetH(v int32)

SetH sets `AVFilterLink.h` value.

func (*AVFilterLink) SetSampleAspectRatio

func (fltl *AVFilterLink) SetSampleAspectRatio(v AVRational)

SetSampleAspectRatio sets `AVFilterLink.sample_aspect_ratio` value.

func (*AVFilterLink) SetSampleRate

func (fltl *AVFilterLink) SetSampleRate(v int32)

SetSampleRate sets `AVFilterLink.sample_rate` value.

func (*AVFilterLink) SetSrc

func (fltl *AVFilterLink) SetSrc(v *AVFilterContext)

SetSrc sets `AVFilterLink.src` value.

func (*AVFilterLink) SetSrcpad

func (fltl *AVFilterLink) SetSrcpad(v *AVFilterPad)

SetSrcpad sets `AVFilterLink.srcpad` value.

func (*AVFilterLink) SetTimeBase

func (fltl *AVFilterLink) SetTimeBase(v AVRational)

SetTimeBase sets `AVFilterLink.time_base` value.

func (*AVFilterLink) SetType

func (fltl *AVFilterLink) SetType(v AVMediaType)

SetType sets `AVFilterLink.type` value.

func (*AVFilterLink) SetW

func (fltl *AVFilterLink) SetW(v int32)

SetW sets `AVFilterLink.w` value.

type AVFilterPad

type AVFilterPad C.struct_AVFilterPad

AVFilterPad

type AVFilterPadParams added in v0.60.1

type AVFilterPadParams C.struct_AVFilterPadParams

AVFilterPadParams

func (*AVFilterPadParams) GetLabel added in v0.60.1

func (fpp *AVFilterPadParams) GetLabel() string

GetLabel gets `AVFilterPadParams.label` value.

func (*AVFilterPadParams) SetLabel added in v0.60.1

func (fpp *AVFilterPadParams) SetLabel(v string)

SetLabel sets `AVFilterPadParams.label` value.

type AVFilterParams added in v0.60.1

type AVFilterParams C.struct_AVFilterParams

AVFilterParams

func (*AVFilterParams) GetFilter added in v0.60.1

func (fp *AVFilterParams) GetFilter() *AVFilterContext

GetFilter gets `AVFilterParams.filter` value.

func (*AVFilterParams) GetFilterAddr added in v0.60.1

func (fp *AVFilterParams) GetFilterAddr() **AVFilterContext

GetFilterAddr gets `AVFilterParams.` address.

func (*AVFilterParams) GetFilterName added in v0.60.1

func (fp *AVFilterParams) GetFilterName() string

GetFilterName gets `AVFilterParams.filter_name` value.

func (*AVFilterParams) GetInputs added in v0.60.1

func (fp *AVFilterParams) GetInputs() []*AVFilterPadParams

GetInputs gets `AVFilterParams.inputs` value.

func (*AVFilterParams) GetInputsAddr added in v0.60.1

func (fp *AVFilterParams) GetInputsAddr() ***AVFilterPadParams

GetInputsAddr gets `AVFilterParams.` address.

func (*AVFilterParams) GetInstanceName added in v0.60.1

func (fp *AVFilterParams) GetInstanceName() string

GetInstanceName gets `AVFilterParams.instance_name` value.

func (*AVFilterParams) GetNbInputs added in v0.60.1

func (fp *AVFilterParams) GetNbInputs() uint32

GetNbInputs gets `AVFilterParams.nb_inputs` value.

func (*AVFilterParams) GetNbInputsAddr added in v0.60.1

func (fp *AVFilterParams) GetNbInputsAddr() *uint32

GetNbInputsAddr gets `AVFilterParams.` address.

func (*AVFilterParams) GetNbOutputs added in v0.60.1

func (fp *AVFilterParams) GetNbOutputs() uint32

GetNbOutputs gets `AVFilterParams.nb_outputs` value.

func (*AVFilterParams) GetNbOutputsAddr added in v0.60.1

func (fp *AVFilterParams) GetNbOutputsAddr() *uint32

GetNbOutputsAddr gets `AVFilterParams.` address.

func (*AVFilterParams) GetOpts added in v0.60.1

func (fp *AVFilterParams) GetOpts() *AVDictionary

GetOpts gets `AVFilterParams.opts` value.

func (*AVFilterParams) GetOptsAddr added in v0.60.1

func (fp *AVFilterParams) GetOptsAddr() **AVDictionary

GetOptsAddr gets `AVFilterParams.` address.

func (*AVFilterParams) GetOutputs added in v0.60.1

func (fp *AVFilterParams) GetOutputs() []*AVFilterPadParams

GetOutputs gets `AVFilterParams.outputs` value.

func (*AVFilterParams) GetOutputsAddr added in v0.60.1

func (fp *AVFilterParams) GetOutputsAddr() ***AVFilterPadParams

GetOutputsAddr gets `AVFilterParams.` address.

func (*AVFilterParams) SetFilter added in v0.60.1

func (fp *AVFilterParams) SetFilter(v *AVFilterContext)

SetFilter sets `AVFilterParams.filter` value.

func (*AVFilterParams) SetFilterName added in v0.60.1

func (fp *AVFilterParams) SetFilterName(v string)

SetFilterName sets `AVFilterParams.filter_name` value.

func (*AVFilterParams) SetInputs added in v0.60.1

func (fp *AVFilterParams) SetInputs(v **AVFilterPadParams)

SetInputs sets `AVFilterParams.inputs` value.

func (*AVFilterParams) SetInstanceName added in v0.60.1

func (fp *AVFilterParams) SetInstanceName(v string)

SetInstanceName sets `AVFilterParams.instance_name` value.

func (*AVFilterParams) SetNbInputs added in v0.60.1

func (fp *AVFilterParams) SetNbInputs(v uint32)

SetNbInputs sets `AVFilterParams.nb_inputs` value.

func (*AVFilterParams) SetNbOutputs added in v0.60.1

func (fp *AVFilterParams) SetNbOutputs(v uint32)

SetNbOutputs sets `AVFilterParams.nb_outputs` value.

func (*AVFilterParams) SetOpts added in v0.60.1

func (fp *AVFilterParams) SetOpts(v *AVDictionary)

SetOpts sets `AVFilterParams.opts` value.

func (*AVFilterParams) SetOutputs added in v0.60.1

func (fp *AVFilterParams) SetOutputs(v **AVFilterPadParams)

SetOutputs sets `AVFilterParams.outputs` value.

type AVFormatContext

type AVFormatContext C.struct_AVFormatContext

Format I/O context.

func AvFormatAllocContext

func AvFormatAllocContext() *AVFormatContext

AvFormatAllocContext allocates an AVFormatContext.

func (*AVFormatContext) GetAudioCodec

func (s *AVFormatContext) GetAudioCodec() *AVCodec

GetAudioCodec gets `AVFormatContext.audio_codec` value.

func (*AVFormatContext) GetAudioCodecAddr

func (s *AVFormatContext) GetAudioCodecAddr() **AVCodec

GetAudioCodecAddr gets `AVFormatContext.audio_codec` address.

func (*AVFormatContext) GetAudioCodecId

func (s *AVFormatContext) GetAudioCodecId() AVCodecID

GetAudioCodecId gets `AVFormatContext.audio_codec_id` value.

func (*AVFormatContext) GetAudioCodecIdAddr

func (s *AVFormatContext) GetAudioCodecIdAddr() *AVCodecID

GetAudioCodecIdAddr gets `AVFormatContext.audio_codec_id` address.

func (*AVFormatContext) GetAudioPreload

func (s *AVFormatContext) GetAudioPreload() int32

GetAudioPreload gets `AVFormatContext.audio_preload` value.

func (*AVFormatContext) GetAudioPreloadAddr

func (s *AVFormatContext) GetAudioPreloadAddr() *int32

GetAudioPreloadAddr gets `AVFormatContext.audio_preload` address.

func (*AVFormatContext) GetAvClass

func (s *AVFormatContext) GetAvClass() *AVClass

GetAvClass gets `AVFormatContext.av_class` value.

func (*AVFormatContext) GetAvClassAddr

func (s *AVFormatContext) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVFormatContext.av_class` address.

func (*AVFormatContext) GetAvioFlags

func (s *AVFormatContext) GetAvioFlags() int32

GetAvioFlags gets `AVFormatContext.avio_flags` value.

func (*AVFormatContext) GetAvioFlagsAddr

func (s *AVFormatContext) GetAvioFlagsAddr() *int32

GetAvioFlagsAddr gets `AVFormatContext.avio_flags` address.

func (*AVFormatContext) GetAvoidNegativeTs

func (s *AVFormatContext) GetAvoidNegativeTs() int32

GetAvoidNegativeTs gets `AVFormatContext.avoid_negative_ts` value.

func (*AVFormatContext) GetAvoidNegativeTsAddr

func (s *AVFormatContext) GetAvoidNegativeTsAddr() *int32

GetAvoidNegativeTsAddr gets `AVFormatContext.avoid_negative_ts` address.

func (*AVFormatContext) GetBitRate

func (s *AVFormatContext) GetBitRate() int64

GetBitRate gets `AVFormatContext.bit_rate` value.

func (*AVFormatContext) GetBitRateAddr

func (s *AVFormatContext) GetBitRateAddr() *int64

GetBitRateAddr gets `AVFormatContext.bit_rate` address.

func (*AVFormatContext) GetChapters

func (s *AVFormatContext) GetChapters() (v []*AVChapter)

GetChapters gets `AVFormatContext.chapters` value.

func (*AVFormatContext) GetChaptersAddr

func (s *AVFormatContext) GetChaptersAddr() ***AVChapter

GetChaptersAddr gets `AVFormatContext.chapters` address.

func (*AVFormatContext) GetCodecWhitelist

func (s *AVFormatContext) GetCodecWhitelist() string

GetCodecWhitelist gets `AVFormatContext.codec_whitelist` value.

func (*AVFormatContext) GetCorrectTsOverflow

func (s *AVFormatContext) GetCorrectTsOverflow() uint32

GetCorrectTsOverflow gets `AVFormatContext.correct_ts_overflow` value.

func (*AVFormatContext) GetCorrectTsOverflowAddr

func (s *AVFormatContext) GetCorrectTsOverflowAddr() *uint32

GetCorrectTsOverflowAddr gets `AVFormatContext.correct_ts_overflow` address.

func (*AVFormatContext) GetCtxFlags

func (s *AVFormatContext) GetCtxFlags() int32

GetCtxFlags gets `AVFormatContext.ctx_flags` value.

func (*AVFormatContext) GetCtxFlagsAddr

func (s *AVFormatContext) GetCtxFlagsAddr() *int32

GetCtxFlagsAddr gets `AVFormatContext.ctx_flags` address.

func (*AVFormatContext) GetDataCodec

func (s *AVFormatContext) GetDataCodec() *AVCodec

GetDataCodec gets `AVFormatContext.data_codec` value.

func (*AVFormatContext) GetDataCodecAddr

func (s *AVFormatContext) GetDataCodecAddr() **AVCodec

GetDataCodecAddr gets `AVFormatContext.data_codec` address.

func (*AVFormatContext) GetDataCodecId

func (s *AVFormatContext) GetDataCodecId() AVCodecID

GetDataCodecId gets `AVFormatContext.data_codec_id` value.

func (*AVFormatContext) GetDataCodecIdAddr

func (s *AVFormatContext) GetDataCodecIdAddr() *AVCodecID

GetDataCodecIdAddr gets `AVFormatContext.data_codec_id` address.

func (*AVFormatContext) GetDebug

func (s *AVFormatContext) GetDebug() int32

GetDebug gets `AVFormatContext.debug` value.

func (*AVFormatContext) GetDebugAddr

func (s *AVFormatContext) GetDebugAddr() *int32

GetDebugAddr gets `AVFormatContext.debug` address.

func (*AVFormatContext) GetDumpSeparator

func (s *AVFormatContext) GetDumpSeparator() *uint8

GetDumpSeparator gets `AVFormatContext.dump_separator` value.

func (*AVFormatContext) GetDumpSeparatorAddr

func (s *AVFormatContext) GetDumpSeparatorAddr() **uint8

GetDumpSeparatorAddr gets `AVFormatContext.dump_separator` address.

func (*AVFormatContext) GetDuration

func (s *AVFormatContext) GetDuration() int64

GetDuration gets `AVFormatContext.duration` value.

func (*AVFormatContext) GetDurationAddr

func (s *AVFormatContext) GetDurationAddr() *int64

GetDurationAddr gets `AVFormatContext.duration` address.

func (*AVFormatContext) GetDurationEstimationMethod

func (s *AVFormatContext) GetDurationEstimationMethod() AVDurationEstimationMethod

GetDurationEstimationMethod gets `AVFormatContext.duration_estimation_method` value.

func (*AVFormatContext) GetDurationEstimationMethodAddr

func (s *AVFormatContext) GetDurationEstimationMethodAddr() *AVDurationEstimationMethod

GetDurationEstimationMethodAddr gets `AVFormatContext.duration_estimation_method` address.

func (*AVFormatContext) GetErrorRecognition

func (s *AVFormatContext) GetErrorRecognition() int32

GetErrorRecognition gets `AVFormatContext.error_recognition` value.

func (*AVFormatContext) GetErrorRecognitionAddr

func (s *AVFormatContext) GetErrorRecognitionAddr() *int32

GetErrorRecognitionAddr gets `AVFormatContext.error_recognition` address.

func (*AVFormatContext) GetEventFlags

func (s *AVFormatContext) GetEventFlags() int32

GetEventFlags gets `AVFormatContext.event_flags` value.

func (*AVFormatContext) GetEventFlagsAddr

func (s *AVFormatContext) GetEventFlagsAddr() *int32

GetEventFlagsAddr gets `AVFormatContext.event_flags` address.

func (*AVFormatContext) GetFlags

func (s *AVFormatContext) GetFlags() int32

GetFlags gets `AVFormatContext.flags` value.

func (*AVFormatContext) GetFlagsAddr

func (s *AVFormatContext) GetFlagsAddr() *int32

GetFlagsAddr gets `AVFormatContext.flags` address.

func (*AVFormatContext) GetFlushPackets

func (s *AVFormatContext) GetFlushPackets() int32

GetFlushPackets gets `AVFormatContext.flush_packets` value.

func (*AVFormatContext) GetFlushPacketsAddr

func (s *AVFormatContext) GetFlushPacketsAddr() *int32

GetFlushPacketsAddr gets `AVFormatContext.flush_packets` address.

func (*AVFormatContext) GetFormatProbesize

func (s *AVFormatContext) GetFormatProbesize() int32

GetFormatProbesize gets `AVFormatContext.format_probesize` value.

func (*AVFormatContext) GetFormatProbesizeAddr

func (s *AVFormatContext) GetFormatProbesizeAddr() *int32

GetFormatProbesizeAddr gets `AVFormatContext.format_probesize` address.

func (*AVFormatContext) GetFormatWhitelist

func (s *AVFormatContext) GetFormatWhitelist() string

GetFormatWhitelist gets `AVFormatContext.format_whitelist` value.

func (*AVFormatContext) GetFpsProbeSize

func (s *AVFormatContext) GetFpsProbeSize() int32

GetFpsProbeSize gets `AVFormatContext.fps_probe_size` value.

func (*AVFormatContext) GetFpsProbeSizeAddr

func (s *AVFormatContext) GetFpsProbeSizeAddr() *int32

GetFpsProbeSizeAddr gets `AVFormatContext.fps_probe_size` address.

func (*AVFormatContext) GetIformat

func (s *AVFormatContext) GetIformat() *AVInputFormat

GetIformat gets `AVFormatContext.iformat` value.

func (*AVFormatContext) GetIformatAddr

func (s *AVFormatContext) GetIformatAddr() **AVInputFormat

GetIformatAddr gets `AVFormatContext.iformat` address.

func (*AVFormatContext) GetInterruptCallback

func (s *AVFormatContext) GetInterruptCallback() AVIOInterruptCB

GetInterruptCallback gets `AVFormatContext.interrupt_callback` value.

func (*AVFormatContext) GetInterruptCallbackAddr

func (s *AVFormatContext) GetInterruptCallbackAddr() *AVIOInterruptCB

GetInterruptCallbackAddr gets `AVFormatContext.interrupt_callback` address.

func (*AVFormatContext) GetIoClose2 added in v0.50.1

GetIoClose2 gets `AVFormatContext.io_close2` value.

func (*AVFormatContext) GetIoClose2Addr added in v0.50.1

func (s *AVFormatContext) GetIoClose2Addr() *AvFormatContextIoClose2Func

GetIoClose2Addr gets `AVFormatContext.io_close2` address.

func (*AVFormatContext) GetIoOpen

GetIoOpen gets `AVFormatContext.io_open` value.

func (*AVFormatContext) GetIoOpenAddr

func (s *AVFormatContext) GetIoOpenAddr() *AvFormatContextIoOpenFunc

GetIoOpenAddr gets `AVFormatContext.io_open` address.

func (*AVFormatContext) GetIoRepositioned

func (s *AVFormatContext) GetIoRepositioned() int32

GetIoRepositioned gets `AVFormatContext.io_repositioned` value.

func (*AVFormatContext) GetIoRepositionedAddr

func (s *AVFormatContext) GetIoRepositionedAddr() *int32

GetIoRepositionedAddr gets `AVFormatContext.io_repositioned` address.

func (*AVFormatContext) GetKey

func (s *AVFormatContext) GetKey() *uint8

GetKey gets `AVFormatContext.key` value.

func (*AVFormatContext) GetKeyAddr

func (s *AVFormatContext) GetKeyAddr() **uint8

GetKeyAddr gets `AVFormatContext.key` address.

func (*AVFormatContext) GetKeylen

func (s *AVFormatContext) GetKeylen() int32

GetKeylen gets `AVFormatContext.keylen` value.

func (*AVFormatContext) GetKeylenAddr

func (s *AVFormatContext) GetKeylenAddr() *int32

GetKeylenAddr gets `AVFormatContext.keylen` address.

func (*AVFormatContext) GetMaxAnalyzeDuration

func (s *AVFormatContext) GetMaxAnalyzeDuration() int64

GetMaxAnalyzeDuration gets `AVFormatContext.max_analyze_duration` value.

func (*AVFormatContext) GetMaxAnalyzeDurationAddr

func (s *AVFormatContext) GetMaxAnalyzeDurationAddr() *int64

GetMaxAnalyzeDurationAddr gets `AVFormatContext.max_analyze_duration` address.

func (*AVFormatContext) GetMaxChunkDuration

func (s *AVFormatContext) GetMaxChunkDuration() int32

GetMaxChunkDuration gets `AVFormatContext.max_chunk_duration` value.

func (*AVFormatContext) GetMaxChunkDurationAddr

func (s *AVFormatContext) GetMaxChunkDurationAddr() *int32

GetMaxChunkDurationAddr gets `AVFormatContext.max_chunk_duration` address.

func (*AVFormatContext) GetMaxChunkSize

func (s *AVFormatContext) GetMaxChunkSize() int32

GetMaxChunkSize gets `AVFormatContext.max_chunk_size` value.

func (*AVFormatContext) GetMaxChunkSizeAddr

func (s *AVFormatContext) GetMaxChunkSizeAddr() *int32

GetMaxChunkSizeAddr gets `AVFormatContext.max_chunk_size` address.

func (*AVFormatContext) GetMaxDelay

func (s *AVFormatContext) GetMaxDelay() int32

GetMaxDelay gets `AVFormatContext.max_delay` value.

func (*AVFormatContext) GetMaxDelayAddr

func (s *AVFormatContext) GetMaxDelayAddr() *int32

GetMaxDelayAddr gets `AVFormatContext.max_delay` address.

func (*AVFormatContext) GetMaxIndexSize

func (s *AVFormatContext) GetMaxIndexSize() uint32

GetMaxIndexSize gets `AVFormatContext.max_index_size` value.

func (*AVFormatContext) GetMaxIndexSizeAddr

func (s *AVFormatContext) GetMaxIndexSizeAddr() *uint32

GetMaxIndexSizeAddr gets `AVFormatContext.max_index_size` address.

func (*AVFormatContext) GetMaxInterleaveDelta

func (s *AVFormatContext) GetMaxInterleaveDelta() int64

GetMaxInterleaveDelta gets `AVFormatContext.max_interleave_delta` value.

func (*AVFormatContext) GetMaxInterleaveDeltaAddr

func (s *AVFormatContext) GetMaxInterleaveDeltaAddr() *int64

GetMaxInterleaveDeltaAddr gets `AVFormatContext.max_interleave_delta` address.

func (*AVFormatContext) GetMaxPictureBuffer

func (s *AVFormatContext) GetMaxPictureBuffer() uint32

GetMaxPictureBuffer gets `AVFormatContext.max_picture_buffer` value.

func (*AVFormatContext) GetMaxPictureBufferAddr

func (s *AVFormatContext) GetMaxPictureBufferAddr() *uint32

GetMaxPictureBufferAddr gets `AVFormatContext.max_picture_buffer` address.

func (*AVFormatContext) GetMaxProbePackets added in v0.43.1

func (s *AVFormatContext) GetMaxProbePackets() int32

GetMaxProbePackets gets `AVFormatContext.max_probe_packets` value.

func (*AVFormatContext) GetMaxProbePacketsAddr added in v0.43.1

func (s *AVFormatContext) GetMaxProbePacketsAddr() *int32

GetMaxProbePacketsAddr gets `AVFormatContext.max_probe_packets` address.

func (*AVFormatContext) GetMaxStreams

func (s *AVFormatContext) GetMaxStreams() int32

GetMaxStreams gets `AVFormatContext.max_streams` value.

func (*AVFormatContext) GetMaxStreamsAddr

func (s *AVFormatContext) GetMaxStreamsAddr() *int32

GetMaxStreamsAddr gets `AVFormatContext.max_streams` address.

func (*AVFormatContext) GetMaxTsProbe

func (s *AVFormatContext) GetMaxTsProbe() int32

GetMaxTsProbe gets `AVFormatContext.max_ts_probe` value.

func (*AVFormatContext) GetMaxTsProbeAddr

func (s *AVFormatContext) GetMaxTsProbeAddr() *int32

GetMaxTsProbeAddr gets `AVFormatContext.max_ts_probe` address.

func (*AVFormatContext) GetMetadata

func (s *AVFormatContext) GetMetadata() *AVDictionary

GetMetadata gets `AVFormatContext.metadata` value.

func (*AVFormatContext) GetMetadataAddr

func (s *AVFormatContext) GetMetadataAddr() **AVDictionary

GetMetadataAddr gets `AVFormatContext.metadata` address.

func (*AVFormatContext) GetMetadataHeaderPadding

func (s *AVFormatContext) GetMetadataHeaderPadding() int32

GetMetadataHeaderPadding gets `AVFormatContext.metadata_header_padding` value.

func (*AVFormatContext) GetMetadataHeaderPaddingAddr

func (s *AVFormatContext) GetMetadataHeaderPaddingAddr() *int32

GetMetadataHeaderPaddingAddr gets `AVFormatContext.metadata_header_padding` address.

func (*AVFormatContext) GetNbChapters

func (s *AVFormatContext) GetNbChapters() uint32

GetNbChapters gets `AVFormatContext.nb_chapters` value.

func (*AVFormatContext) GetNbChaptersAddr

func (s *AVFormatContext) GetNbChaptersAddr() *uint32

GetNbChaptersAddr gets `AVFormatContext.nb_chapters` address.

func (*AVFormatContext) GetNbPrograms

func (s *AVFormatContext) GetNbPrograms() uint32

GetNbPrograms gets `AVFormatContext.nb_programs` value.

func (*AVFormatContext) GetNbProgramsAddr

func (s *AVFormatContext) GetNbProgramsAddr() *uint32

GetNbProgramsAddr gets `AVFormatContext.nb_programs` address.

func (*AVFormatContext) GetNbStreamGroups added in v0.70.1

func (s *AVFormatContext) GetNbStreamGroups() uint32

GetNbStreamGroups gets `AVFormatContext.nb_stream_groups` value.

func (*AVFormatContext) GetNbStreamGroupsAddr added in v0.70.1

func (s *AVFormatContext) GetNbStreamGroupsAddr() *uint32

GetNbStreamGroupsAddr gets `AVFormatContext.nb_stream_groups` address.

func (*AVFormatContext) GetNbStreams

func (s *AVFormatContext) GetNbStreams() uint32

GetNbStreams gets `AVFormatContext.nb_streams` value.

func (*AVFormatContext) GetNbStreamsAddr

func (s *AVFormatContext) GetNbStreamsAddr() *uint32

GetNbStreamsAddr gets `AVFormatContext.nb_streams` address.

func (*AVFormatContext) GetOformat

func (s *AVFormatContext) GetOformat() *AVOutputFormat

GetOformat gets `AVFormatContext.oformat` value.

func (*AVFormatContext) GetOformatAddr

func (s *AVFormatContext) GetOformatAddr() **AVOutputFormat

GetOformatAddr gets `AVFormatContext.oformat` address.

func (*AVFormatContext) GetOpaque

func (s *AVFormatContext) GetOpaque() unsafe.Pointer

GetOpaque gets `AVFormatContext.opaque` value.

func (*AVFormatContext) GetOpaqueAddr

func (s *AVFormatContext) GetOpaqueAddr() unsafe.Pointer

GetOpaqueAddr gets `AVFormatContext.opaque` address.

func (*AVFormatContext) GetOutputTsOffset

func (s *AVFormatContext) GetOutputTsOffset() int64

GetOutputTsOffset gets `AVFormatContext.output_ts_offset` value.

func (*AVFormatContext) GetOutputTsOffsetAddr

func (s *AVFormatContext) GetOutputTsOffsetAddr() *int64

GetOutputTsOffsetAddr gets `AVFormatContext.output_ts_offset` address.

func (*AVFormatContext) GetPacketSize

func (s *AVFormatContext) GetPacketSize() uint32

GetPacketSize gets `AVFormatContext.packet_size` value.

func (*AVFormatContext) GetPacketSizeAddr

func (s *AVFormatContext) GetPacketSizeAddr() *uint32

GetPacketSizeAddr gets `AVFormatContext.packet_size` address.

func (*AVFormatContext) GetPb

func (s *AVFormatContext) GetPb() *AVIOContext

GetPb gets `AVFormatContext.pb` value.

func (*AVFormatContext) GetPbAddr

func (s *AVFormatContext) GetPbAddr() **AVIOContext

GetPbAddr gets `AVFormatContext.pb` address.

func (*AVFormatContext) GetPrivData

func (s *AVFormatContext) GetPrivData() unsafe.Pointer

GetPrivData gets `AVFormatContext.priv_data` value.

func (*AVFormatContext) GetPrivDataAddr

func (s *AVFormatContext) GetPrivDataAddr() unsafe.Pointer

GetPrivDataAddr gets `AVFormatContext.priv_data` address.

func (*AVFormatContext) GetProbeScore

func (s *AVFormatContext) GetProbeScore() int32

GetProbeScore gets `AVFormatContext.probe_score` value.

func (*AVFormatContext) GetProbeScoreAddr

func (s *AVFormatContext) GetProbeScoreAddr() *int32

GetProbeScoreAddr gets `AVFormatContext.probe_score` address.

func (*AVFormatContext) GetProbesize

func (s *AVFormatContext) GetProbesize() int64

GetProbesize gets `AVFormatContext.probesize` value.

func (*AVFormatContext) GetProbesizeAddr

func (s *AVFormatContext) GetProbesizeAddr() *int64

GetProbesizeAddr gets `AVFormatContext.probesize` address.

func (*AVFormatContext) GetPrograms

func (s *AVFormatContext) GetPrograms() (v []*AVProgram)

GetPrograms gets `AVFormatContext.programs` value.

func (*AVFormatContext) GetProgramsAddr

func (s *AVFormatContext) GetProgramsAddr() ***AVProgram

GetProgramsAddr gets `AVFormatContext.programs` address.

func (*AVFormatContext) GetProtocolBlacklist

func (s *AVFormatContext) GetProtocolBlacklist() string

GetProtocolBlacklist gets `AVFormatContext.protocol_blacklist` value.

func (*AVFormatContext) GetProtocolWhitelist

func (s *AVFormatContext) GetProtocolWhitelist() string

GetProtocolWhitelist gets `AVFormatContext.protocol_whitelist` value.

func (*AVFormatContext) GetSeek2any

func (s *AVFormatContext) GetSeek2any() int32

GetSeek2any gets `AVFormatContext.seek2any` value.

func (*AVFormatContext) GetSeek2anyAddr

func (s *AVFormatContext) GetSeek2anyAddr() *int32

GetSeek2anyAddr gets `AVFormatContext.seek2any` address.

func (*AVFormatContext) GetSkipEstimateDurationFromPts added in v0.41.1

func (s *AVFormatContext) GetSkipEstimateDurationFromPts() int32

GetSkipEstimateDurationFromPts gets `AVFormatContext.skip_estimate_duration_from_pts` value.

func (*AVFormatContext) GetSkipEstimateDurationFromPtsAddr added in v0.41.1

func (s *AVFormatContext) GetSkipEstimateDurationFromPtsAddr() *int32

GetSkipEstimateDurationFromPtsAddr gets `AVFormatContext.skip_estimate_duration_from_pts` address.

func (*AVFormatContext) GetSkipInitialBytes

func (s *AVFormatContext) GetSkipInitialBytes() int64

GetSkipInitialBytes gets `AVFormatContext.skip_initial_bytes` value.

func (*AVFormatContext) GetSkipInitialBytesAddr

func (s *AVFormatContext) GetSkipInitialBytesAddr() *int64

GetSkipInitialBytesAddr gets `AVFormatContext.skip_initial_bytes` address.

func (*AVFormatContext) GetStartTime

func (s *AVFormatContext) GetStartTime() int64

GetStartTime gets `AVFormatContext.start_time` value.

func (*AVFormatContext) GetStartTimeAddr

func (s *AVFormatContext) GetStartTimeAddr() *int64

GetStartTimeAddr gets `AVFormatContext.start_time` address.

func (*AVFormatContext) GetStartTimeRealtime

func (s *AVFormatContext) GetStartTimeRealtime() int64

GetStartTimeRealtime gets `AVFormatContext.start_time_realtime` value.

func (*AVFormatContext) GetStartTimeRealtimeAddr

func (s *AVFormatContext) GetStartTimeRealtimeAddr() *int64

GetStartTimeRealtimeAddr gets `AVFormatContext.start_time_realtime` address.

func (*AVFormatContext) GetStreamGroups added in v0.70.1

func (s *AVFormatContext) GetStreamGroups() (v []*AVStreamGroup)

GetStreamGroups gets `AVFormatContext.stream_groups` value.

func (*AVFormatContext) GetStreamGroupsAddr added in v0.70.1

func (s *AVFormatContext) GetStreamGroupsAddr() ***AVStreamGroup

GetStreamGroupsAddr gets `AVFormatContext.streams` address.

func (*AVFormatContext) GetStreams

func (s *AVFormatContext) GetStreams() (v []*AVStream)

GetStreams gets `AVFormatContext.streams` value.

func (*AVFormatContext) GetStreamsAddr

func (s *AVFormatContext) GetStreamsAddr() ***AVStream

GetStreamsAddr gets `AVFormatContext.streams` address.

func (*AVFormatContext) GetStrictStdCompliance

func (s *AVFormatContext) GetStrictStdCompliance() int32

GetStrictStdCompliance gets `AVFormatContext.strict_std_compliance` value.

func (*AVFormatContext) GetStrictStdComplianceAddr

func (s *AVFormatContext) GetStrictStdComplianceAddr() *int32

GetStrictStdComplianceAddr gets `AVFormatContext.strict_std_compliance` address.

func (*AVFormatContext) GetSubtitleCodec

func (s *AVFormatContext) GetSubtitleCodec() *AVCodec

GetSubtitleCodec gets `AVFormatContext.subtitle_codec` value.

func (*AVFormatContext) GetSubtitleCodecAddr

func (s *AVFormatContext) GetSubtitleCodecAddr() **AVCodec

GetSubtitleCodecAddr gets `AVFormatContext.subtitle_codec` address.

func (*AVFormatContext) GetSubtitleCodecId

func (s *AVFormatContext) GetSubtitleCodecId() AVCodecID

GetSubtitleCodecId gets `AVFormatContext.subtitle_codec_id` value.

func (*AVFormatContext) GetSubtitleCodecIdAddr

func (s *AVFormatContext) GetSubtitleCodecIdAddr() *AVCodecID

GetSubtitleCodecIdAddr gets `AVFormatContext.subtitle_codec_id` address.

func (*AVFormatContext) GetUrl

func (s *AVFormatContext) GetUrl() string

GetUrl gets `AVFormatContext.url` value.

func (*AVFormatContext) GetUseWallclockAsTimestamps

func (s *AVFormatContext) GetUseWallclockAsTimestamps() int32

GetUseWallclockAsTimestamps gets `AVFormatContext.use_wallclock_as_timestamps` value.

func (*AVFormatContext) GetUseWallclockAsTimestampsAddr

func (s *AVFormatContext) GetUseWallclockAsTimestampsAddr() *int32

GetUseWallclockAsTimestampsAddr gets `AVFormatContext.use_wallclock_as_timestamps` address.

func (*AVFormatContext) GetVideoCodec

func (s *AVFormatContext) GetVideoCodec() *AVCodec

GetVideoCodec gets `AVFormatContext.video_codec` value.

func (*AVFormatContext) GetVideoCodecAddr

func (s *AVFormatContext) GetVideoCodecAddr() **AVCodec

GetVideoCodecAddr gets `AVFormatContext.video_codec` address.

func (*AVFormatContext) GetVideoCodecId

func (s *AVFormatContext) GetVideoCodecId() AVCodecID

GetVideoCodecId gets `AVFormatContext.video_codec_id` value.

func (*AVFormatContext) GetVideoCodecIdAddr

func (s *AVFormatContext) GetVideoCodecIdAddr() *AVCodecID

GetVideoCodecIdAddr gets `AVFormatContext.video_codec_id` address.

func (*AVFormatContext) SetAudioCodec

func (s *AVFormatContext) SetAudioCodec(v *AVCodec)

SetAudioCodec sets `AVFormatContext.audio_codec` value.

func (*AVFormatContext) SetAudioCodecId

func (s *AVFormatContext) SetAudioCodecId(v AVCodecID)

SetAudioCodecId sets `AVFormatContext.audio_codec_id` value.

func (*AVFormatContext) SetAudioPreload

func (s *AVFormatContext) SetAudioPreload(v int32)

SetAudioPreload sets `AVFormatContext.audio_preload` value.

func (*AVFormatContext) SetAvClass

func (s *AVFormatContext) SetAvClass(v *AVClass)

SetAvClass sets `AVFormatContext.av_class` value.

func (*AVFormatContext) SetAvioFlags

func (s *AVFormatContext) SetAvioFlags(v int32)

SetAvioFlags sets `AVFormatContext.avio_flags` value.

func (*AVFormatContext) SetAvoidNegativeTs

func (s *AVFormatContext) SetAvoidNegativeTs(v int32)

SetAvoidNegativeTs sets `AVFormatContext.avoid_negative_ts` value.

func (*AVFormatContext) SetBitRate

func (s *AVFormatContext) SetBitRate(v int64)

SetBitRate sets `AVFormatContext.bit_rate` value.

func (*AVFormatContext) SetChapters

func (s *AVFormatContext) SetChapters(v **AVChapter)

SetChapters sets `AVFormatContext.chapters` value.

func (*AVFormatContext) SetCorrectTsOverflow

func (s *AVFormatContext) SetCorrectTsOverflow(v uint32)

SetCorrectTsOverflow sets `AVFormatContext.correct_ts_overflow` value.

func (*AVFormatContext) SetCtxFlags

func (s *AVFormatContext) SetCtxFlags(v int32)

SetCtxFlags sets `AVFormatContext.ctx_flags` value.

func (*AVFormatContext) SetDataCodec

func (s *AVFormatContext) SetDataCodec(v *AVCodec)

SetDataCodec sets `AVFormatContext.data_codec` value.

func (*AVFormatContext) SetDataCodecId

func (s *AVFormatContext) SetDataCodecId(v AVCodecID)

SetDataCodecId sets `AVFormatContext.data_codec_id` value.

func (*AVFormatContext) SetDebug

func (s *AVFormatContext) SetDebug(v int32)

SetDebug sets `AVFormatContext.debug` value.

func (*AVFormatContext) SetDumpSeparator

func (s *AVFormatContext) SetDumpSeparator(v *uint8)

SetDumpSeparator sets `AVFormatContext.dump_separator` value.

func (*AVFormatContext) SetDuration

func (s *AVFormatContext) SetDuration(v int64)

SetDuration sets `AVFormatContext.duration` value.

func (*AVFormatContext) SetDurationEstimationMethod

func (s *AVFormatContext) SetDurationEstimationMethod(v AVDurationEstimationMethod)

SetDurationEstimationMethod sets `AVFormatContext.duration_estimation_method` value.

func (*AVFormatContext) SetErrorRecognition

func (s *AVFormatContext) SetErrorRecognition(v int32)

SetErrorRecognition sets `AVFormatContext.error_recognition` value.

func (*AVFormatContext) SetEventFlags

func (s *AVFormatContext) SetEventFlags(v int32)

SetEventFlags sets `AVFormatContext.event_flags` value.

func (*AVFormatContext) SetFlags

func (s *AVFormatContext) SetFlags(v int32)

SetFlags sets `AVFormatContext.flags` value.

func (*AVFormatContext) SetFlushPackets

func (s *AVFormatContext) SetFlushPackets(v int32)

SetFlushPackets sets `AVFormatContext.flush_packets` value.

func (*AVFormatContext) SetFormatProbesize

func (s *AVFormatContext) SetFormatProbesize(v int32)

SetFormatProbesize sets `AVFormatContext.format_probesize` value.

func (*AVFormatContext) SetFpsProbeSize

func (s *AVFormatContext) SetFpsProbeSize(v int32)

SetFpsProbeSize sets `AVFormatContext.fps_probe_size` value.

func (*AVFormatContext) SetIformat

func (s *AVFormatContext) SetIformat(v *AVInputFormat)

SetIformat sets `AVFormatContext.iformat` value.

func (*AVFormatContext) SetInterruptCallback

func (s *AVFormatContext) SetInterruptCallback(v AVIOInterruptCB)

SetInterruptCallback sets `AVFormatContext.interrupt_callback` value.

func (*AVFormatContext) SetIoClose2 added in v0.50.1

func (s *AVFormatContext) SetIoClose2(v AvFormatContextIoClose2Func)

SetIoClose2 sets `AVFormatContext.io_close2` value.

func (*AVFormatContext) SetIoOpen

SetIoOpen sets `AVFormatContext.io_open` value.

func (*AVFormatContext) SetIoRepositioned

func (s *AVFormatContext) SetIoRepositioned(v int32)

SetIoRepositioned sets `AVFormatContext.io_repositioned` value.

func (*AVFormatContext) SetKey

func (s *AVFormatContext) SetKey(v *uint8)

SetKey sets `AVFormatContext.key` value.

func (*AVFormatContext) SetKeylen

func (s *AVFormatContext) SetKeylen(v int32)

SetKeylen sets `AVFormatContext.keylen` value.

func (*AVFormatContext) SetMaxAnalyzeDuration

func (s *AVFormatContext) SetMaxAnalyzeDuration(v int64)

SetMaxAnalyzeDuration sets `AVFormatContext.max_analyze_duration` value.

func (*AVFormatContext) SetMaxChunkDuration

func (s *AVFormatContext) SetMaxChunkDuration(v int32)

SetMaxChunkDuration sets `AVFormatContext.max_chunk_duration` value.

func (*AVFormatContext) SetMaxChunkSize

func (s *AVFormatContext) SetMaxChunkSize(v int32)

SetMaxChunkSize sets `AVFormatContext.max_chunk_size` value.

func (*AVFormatContext) SetMaxDelay

func (s *AVFormatContext) SetMaxDelay(v int32)

SetMaxDelay sets `AVFormatContext.max_delay` value.

func (*AVFormatContext) SetMaxIndexSize

func (s *AVFormatContext) SetMaxIndexSize(v uint32)

SetMaxIndexSize sets `AVFormatContext.max_index_size` value.

func (*AVFormatContext) SetMaxInterleaveDelta

func (s *AVFormatContext) SetMaxInterleaveDelta(v int64)

SetMaxInterleaveDelta sets `AVFormatContext.max_interleave_delta` value.

func (*AVFormatContext) SetMaxPictureBuffer

func (s *AVFormatContext) SetMaxPictureBuffer(v uint32)

SetMaxPictureBuffer sets `AVFormatContext.max_picture_buffer` value.

func (*AVFormatContext) SetMaxProbePackets added in v0.43.1

func (s *AVFormatContext) SetMaxProbePackets(v int32)

SetMaxProbePackets sets `AVFormatContext.max_probe_packets` value.

func (*AVFormatContext) SetMaxStreams

func (s *AVFormatContext) SetMaxStreams(v int32)

SetMaxStreams sets `AVFormatContext.max_streams` value.

func (*AVFormatContext) SetMaxTsProbe

func (s *AVFormatContext) SetMaxTsProbe(v int32)

SetMaxTsProbe sets `AVFormatContext.max_ts_probe` value.

func (*AVFormatContext) SetMetadata

func (s *AVFormatContext) SetMetadata(v *AVDictionary)

SetMetadata sets `AVFormatContext.metadata` value.

func (*AVFormatContext) SetMetadataHeaderPadding

func (s *AVFormatContext) SetMetadataHeaderPadding(v int32)

SetMetadataHeaderPadding sets `AVFormatContext.metadata_header_padding` value.

func (*AVFormatContext) SetNbChapters

func (s *AVFormatContext) SetNbChapters(v uint32)

SetNbChapters sets `AVFormatContext.nb_chapters` value.

func (*AVFormatContext) SetNbPrograms

func (s *AVFormatContext) SetNbPrograms(v uint32)

SetNbPrograms sets `AVFormatContext.nb_programs` value.

func (*AVFormatContext) SetNbStreamGroups added in v0.70.1

func (s *AVFormatContext) SetNbStreamGroups(v uint32)

SetNbStreamGroups sets `AVFormatContext.nb_stream_groups` value.

func (*AVFormatContext) SetNbStreams

func (s *AVFormatContext) SetNbStreams(v uint32)

SetNbStreams sets `AVFormatContext.nb_streams` value.

func (*AVFormatContext) SetOformat

func (s *AVFormatContext) SetOformat(v *AVOutputFormat)

SetOformat sets `AVFormatContext.oformat` value.

func (*AVFormatContext) SetOpaque

func (s *AVFormatContext) SetOpaque(v CVoidPointer)

SetOpaque sets `AVFormatContext.opaque` value.

func (*AVFormatContext) SetOutputTsOffset

func (s *AVFormatContext) SetOutputTsOffset(v int64)

SetOutputTsOffset sets `AVFormatContext.output_ts_offset` value.

func (*AVFormatContext) SetPacketSize

func (s *AVFormatContext) SetPacketSize(v uint32)

SetPacketSize sets `AVFormatContext.packet_size` value.

func (*AVFormatContext) SetPb

func (s *AVFormatContext) SetPb(v *AVIOContext)

SetPb sets `AVFormatContext.pb` value.

func (*AVFormatContext) SetPrivData

func (s *AVFormatContext) SetPrivData(v CVoidPointer)

SetPrivData sets `AVFormatContext.priv_data` value.

func (*AVFormatContext) SetProbeScore

func (s *AVFormatContext) SetProbeScore(v int32)

SetProbeScore sets `AVFormatContext.probe_score` value.

func (*AVFormatContext) SetProbesize

func (s *AVFormatContext) SetProbesize(v int64)

SetProbesize sets `AVFormatContext.probesize` value.

func (*AVFormatContext) SetPrograms

func (s *AVFormatContext) SetPrograms(v **AVProgram)

SetPrograms sets `AVFormatContext.programs` value.

func (*AVFormatContext) SetSeek2any

func (s *AVFormatContext) SetSeek2any(v int32)

SetSeek2any sets `AVFormatContext.seek2any` value.

func (*AVFormatContext) SetSkipEstimateDurationFromPts added in v0.41.1

func (s *AVFormatContext) SetSkipEstimateDurationFromPts(v int32)

SetSkipEstimateDurationFromPts sets `AVFormatContext.skip_estimate_duration_from_pts` value.

func (*AVFormatContext) SetSkipInitialBytes

func (s *AVFormatContext) SetSkipInitialBytes(v int64)

SetSkipInitialBytes sets `AVFormatContext.skip_initial_bytes` value.

func (*AVFormatContext) SetStartTime

func (s *AVFormatContext) SetStartTime(v int64)

SetStartTime sets `AVFormatContext.start_time` value.

func (*AVFormatContext) SetStartTimeRealtime

func (s *AVFormatContext) SetStartTimeRealtime(v int64)

SetStartTimeRealtime sets `AVFormatContext.start_time_realtime` value.

func (*AVFormatContext) SetStreamGroups added in v0.70.1

func (s *AVFormatContext) SetStreamGroups(v **AVStreamGroup)

SetStreamGroups sets `AVFormatContext.streams` value.

func (*AVFormatContext) SetStreams

func (s *AVFormatContext) SetStreams(v **AVStream)

SetStreams sets `AVFormatContext.streams` value.

func (*AVFormatContext) SetStrictStdCompliance

func (s *AVFormatContext) SetStrictStdCompliance(v int32)

SetStrictStdCompliance sets `AVFormatContext.strict_std_compliance` value.

func (*AVFormatContext) SetSubtitleCodec

func (s *AVFormatContext) SetSubtitleCodec(v *AVCodec)

SetSubtitleCodec sets `AVFormatContext.subtitle_codec` value.

func (*AVFormatContext) SetSubtitleCodecId

func (s *AVFormatContext) SetSubtitleCodecId(v AVCodecID)

SetSubtitleCodecId sets `AVFormatContext.subtitle_codec_id` value.

func (*AVFormatContext) SetUrl

func (s *AVFormatContext) SetUrl(v string)

SetUrl sets `AVFormatContext.url` value.

func (*AVFormatContext) SetUseWallclockAsTimestamps

func (s *AVFormatContext) SetUseWallclockAsTimestamps(v int32)

SetUseWallclockAsTimestamps sets `AVFormatContext.use_wallclock_as_timestamps` value.

func (*AVFormatContext) SetVideoCodec

func (s *AVFormatContext) SetVideoCodec(v *AVCodec)

SetVideoCodec sets `AVFormatContext.video_codec` value.

func (*AVFormatContext) SetVideoCodecId

func (s *AVFormatContext) SetVideoCodecId(v AVCodecID)

SetVideoCodecId sets `AVFormatContext.video_codec_id` value.

type AVFormatControlMessageFunc

type AVFormatControlMessageFunc C.av_format_control_message

typedef int (*av_format_control_message)(struct AVFormatContext *s, int type, void *data, size_t data_size);

type AVFormatInternal

type AVFormatInternal C.struct_AVFormatInternal

AVFormatInternal

type AVFrame

type AVFrame C.struct_AVFrame

AVFrame

func AvFrameAlloc

func AvFrameAlloc() *AVFrame

AvFrameAlloc allocates an AVFrame and set its fields to default values. The resulting struct must be freed using AVFrameFree().

func AvFrameClone

func AvFrameClone(frame *AVFrame) *AVFrame

AvFrameClone creates a new frame that references the same data as src.

func (*AVFrame) GetBestEffortTimestamp

func (frame *AVFrame) GetBestEffortTimestamp() int64

GetBestEffortTimestamp gets `AVFrame.best_effort_timestamp` value.

func (*AVFrame) GetBestEffortTimestampAddr

func (frame *AVFrame) GetBestEffortTimestampAddr() *int64

GetBestEffortTimestampAddr gets `AVFrame.best_effort_timestamp` address.

func (*AVFrame) GetBuf

func (frame *AVFrame) GetBuf() []*AVBufferRef

GetBuf gets `AVFrame.buf` value.

func (*AVFrame) GetBufAddr

func (frame *AVFrame) GetBufAddr() ***AVBufferRef

GetBufAddr gets `AVFrame.buf` address.

func (*AVFrame) GetChLayout added in v0.51.1

func (frame *AVFrame) GetChLayout() AVChannelLayout

GetChLayout gets `AVFrame.ch_layout` value.

func (*AVFrame) GetChLayoutAddr added in v0.51.1

func (frame *AVFrame) GetChLayoutAddr() *AVChannelLayout

GetChLayoutAddr gets `AVFrame.ch_layout` address.

func (*AVFrame) GetChromaLocation

func (frame *AVFrame) GetChromaLocation() AVChromaLocation

GetChromaLocation gets `AVFrame.chroma_location` value.

func (*AVFrame) GetChromaLocationAddr

func (frame *AVFrame) GetChromaLocationAddr() *AVChromaLocation

GetChromaLocationAddr gets `AVFrame.chroma_location` address.

func (*AVFrame) GetColorPrimaries

func (frame *AVFrame) GetColorPrimaries() AVColorPrimaries

GetColorPrimaries gets `AVFrame.color_primaries` value.

func (*AVFrame) GetColorPrimariesAddr

func (frame *AVFrame) GetColorPrimariesAddr() *AVColorPrimaries

GetColorPrimariesAddr gets `AVFrame.color_primaries` address.

func (*AVFrame) GetColorRange

func (frame *AVFrame) GetColorRange() AVColorRange

GetColorRange gets `AVFrame.colorrange` value.

func (*AVFrame) GetColorRangeAddr

func (frame *AVFrame) GetColorRangeAddr() *AVColorRange

GetColorRangeAddr gets `AVFrame.colorrange` address.

func (*AVFrame) GetColorTrc

func (frame *AVFrame) GetColorTrc() AVColorTransferCharacteristic

GetColorTrc gets `AVFrame.color_trc` value.

func (*AVFrame) GetColorTrcAddr

func (frame *AVFrame) GetColorTrcAddr() *AVColorTransferCharacteristic

GetColorTrcAddr gets `AVFrame.color_trc` address.

func (*AVFrame) GetColorspace

func (frame *AVFrame) GetColorspace() AVColorSpace

GetColorspace gets `AVFrame.colorspace` value.

func (*AVFrame) GetColorspaceAddr

func (frame *AVFrame) GetColorspaceAddr() *AVColorSpace

GetColorspaceAddr gets `AVFrame.colorspace` address.

func (*AVFrame) GetCropBottom

func (frame *AVFrame) GetCropBottom() uintptr

GetCropBottom gets `AVFrame.crop_bottom` value.

func (*AVFrame) GetCropBottomAddr

func (frame *AVFrame) GetCropBottomAddr() *uintptr

GetCropBottomAddr gets `AVFrame.crop_bottom` address.

func (*AVFrame) GetCropLeft

func (frame *AVFrame) GetCropLeft() uintptr

GetCropLeft gets `AVFrame.crop_left` value.

func (*AVFrame) GetCropLeftAddr

func (frame *AVFrame) GetCropLeftAddr() *uintptr

GetCropLeftAddr gets `AVFrame.crop_left` address.

func (*AVFrame) GetCropRight

func (frame *AVFrame) GetCropRight() uintptr

GetCropRight gets `AVFrame.crop_right` value.

func (*AVFrame) GetCropRightAddr

func (frame *AVFrame) GetCropRightAddr() *uintptr

GetCropRightAddr gets `AVFrame.crop_right` address.

func (*AVFrame) GetCropTop

func (frame *AVFrame) GetCropTop() uintptr

GetCropTop gets `AVFrame.crop_top` value.

func (*AVFrame) GetCropTopAddr

func (frame *AVFrame) GetCropTopAddr() *uintptr

GetCropTopAddr gets `AVFrame.crop_top` address.

func (*AVFrame) GetData

func (frame *AVFrame) GetData() []*uint8

GetData gets `AVFrame.data` value.

func (*AVFrame) GetDataAddr

func (frame *AVFrame) GetDataAddr() ***uint8

GetDataAddr gets `AVFrame.data` address.

func (*AVFrame) GetDecodeErrorFlags

func (frame *AVFrame) GetDecodeErrorFlags() int32

GetDecodeErrorFlags gets `AVFrame.decode_error_flags` value.

func (*AVFrame) GetDecodeErrorFlagsAddr

func (frame *AVFrame) GetDecodeErrorFlagsAddr() *int32

GetDecodeErrorFlagsAddr gets `AVFrame.decode_error_flags` address.

func (*AVFrame) GetDuration added in v0.60.1

func (frame *AVFrame) GetDuration() int64

GetDuration gets `AVFrame.duration` value.

func (*AVFrame) GetDurationAddr added in v0.60.1

func (frame *AVFrame) GetDurationAddr() *int64

GetDurationAddr gets `AVFrame.duration` address.

func (*AVFrame) GetExtendedBuf

func (frame *AVFrame) GetExtendedBuf() []*AVBufferRef

GetExtendedBuf gets `AVFrame.extended_buf` value.

func (*AVFrame) GetExtendedBufAddr

func (frame *AVFrame) GetExtendedBufAddr() ***AVBufferRef

GetExtendedBufAddr gets `AVFrame.extended_buf` address.

func (*AVFrame) GetExtendedData

func (frame *AVFrame) GetExtendedData() **uint8

GetExtendedData gets `AVFrame.extended_data` value.

func (*AVFrame) GetExtendedDataAddr

func (frame *AVFrame) GetExtendedDataAddr() ***uint8

GetExtendedDataAddr gets `AVFrame.extended_data` address.

func (*AVFrame) GetFlags

func (frame *AVFrame) GetFlags() int32

GetFlags gets `AVFrame.flags` value.

func (*AVFrame) GetFlagsAddr

func (frame *AVFrame) GetFlagsAddr() *int32

GetFlagsAddr gets `AVFrame.flags` address.

func (*AVFrame) GetFormat

func (frame *AVFrame) GetFormat() int32

GetFormat gets `AVFrame.format` value.

func (*AVFrame) GetFormatAddr

func (frame *AVFrame) GetFormatAddr() *int32

GetFormatAddr gets `AVFrame.format` address.

func (*AVFrame) GetHeight

func (frame *AVFrame) GetHeight() int32

GetHeight gets `AVFrame.height` value.

func (*AVFrame) GetHeightAddr

func (frame *AVFrame) GetHeightAddr() *int32

GetHeightAddr gets `AVFrame.height` address.

func (*AVFrame) GetHwFramesCtx

func (frame *AVFrame) GetHwFramesCtx() *AVBufferRef

GetHwFramesCtx gets `AVFrame.hw_frames_ctx` value.

func (*AVFrame) GetHwFramesCtxAddr

func (frame *AVFrame) GetHwFramesCtxAddr() **AVBufferRef

GetHwFramesCtxAddr gets `AVFrame.hw_frames_ctx` address.

func (*AVFrame) GetInterlacedFrame deprecated

func (frame *AVFrame) GetInterlacedFrame() int32

Deprecated: Use AV_FRAME_FLAG_INTERLACED instead.

GetInterlacedFrame gets `AVFrame.interlaced_frame` value.

func (*AVFrame) GetInterlacedFrameAddr deprecated

func (frame *AVFrame) GetInterlacedFrameAddr() *int32

Deprecated: Use AV_FRAME_FLAG_INTERLACED instead.

GetInterlacedFrameAddr gets `AVFrame.interlaced_frame` address.

func (*AVFrame) GetKeyFrame deprecated

func (frame *AVFrame) GetKeyFrame() int32

Deprecated: Use AV_FRAME_FLAG_KEY instead.

GetKeyFrame gets `AVFrame.key_frame` value.

func (*AVFrame) GetKeyFrameAddr deprecated

func (frame *AVFrame) GetKeyFrameAddr() *int32

Deprecated: Use AV_FRAME_FLAG_KEY instead.

GetKeyFrameAddr gets `AVFrame.key_frame` address.

func (*AVFrame) GetLinesize

func (frame *AVFrame) GetLinesize() []int32

GetLinesize gets `AVFrame.linesize` value.

func (*AVFrame) GetLinesizeAddr

func (frame *AVFrame) GetLinesizeAddr() **int32

GetLinesizeAddr gets `AVFrame.linesize` address.

func (*AVFrame) GetMetadata

func (frame *AVFrame) GetMetadata() *AVDictionary

GetMetadata gets `AVFrame.metadata` value.

func (*AVFrame) GetMetadataAddr

func (frame *AVFrame) GetMetadataAddr() **AVDictionary

GetMetadataAddr gets `AVFrame.metadata` address.

func (*AVFrame) GetNbExtendedBuf

func (frame *AVFrame) GetNbExtendedBuf() int32

GetNbExtendedBuf gets `AVFrame.nb_extended_buf` value.

func (*AVFrame) GetNbExtendedBufAddr

func (frame *AVFrame) GetNbExtendedBufAddr() *int32

GetNbExtendedBufAddr gets `AVFrame.nb_extended_buf` address.

func (*AVFrame) GetNbSamples

func (frame *AVFrame) GetNbSamples() int32

GetNbSamples gets `AVFrame.nb_samples` value.

func (*AVFrame) GetNbSamplesAddr

func (frame *AVFrame) GetNbSamplesAddr() *int32

GetNbSamplesAddr gets `AVFrame.nb_samples` address.

func (*AVFrame) GetNbSideData

func (frame *AVFrame) GetNbSideData() int32

GetNbSideData gets `AVFrame.nb_side_data` value.

func (*AVFrame) GetNbSideDataAddr

func (frame *AVFrame) GetNbSideDataAddr() *int32

GetNbSideDataAddr gets `AVFrame.nb_side_data` address.

func (*AVFrame) GetOpaqueRef

func (frame *AVFrame) GetOpaqueRef() *AVBufferRef

GetOpaqueRef gets `AVFrame.opaque_ref` value.

func (*AVFrame) GetOpaqueRefAddr

func (frame *AVFrame) GetOpaqueRefAddr() **AVBufferRef

GetOpaqueRefAddr gets `AVFrame.opaque_ref` address.

func (*AVFrame) GetPaletteHasChanged deprecated

func (frame *AVFrame) GetPaletteHasChanged() int32

Deprecated: no use.

GetPaletteHasChanged gets `AVFrame.palette_has_changed` value.

func (*AVFrame) GetPaletteHasChangedAddr deprecated

func (frame *AVFrame) GetPaletteHasChangedAddr() *int32

Deprecated: no use.

GetPaletteHasChangedAddr gets `AVFrame.palette_has_changed` address.

func (*AVFrame) GetPictType

func (frame *AVFrame) GetPictType() AVPictureType

GetPictType gets `AVFrame.picttype` value.

func (*AVFrame) GetPictTypeAddr

func (frame *AVFrame) GetPictTypeAddr() *AVPictureType

GetPictTypeAddr gets `AVFrame.picttype` address.

func (*AVFrame) GetPktDts

func (frame *AVFrame) GetPktDts() int64

GetPktDts gets `AVFrame.pkt_dts` value.

func (*AVFrame) GetPktDtsAddr

func (frame *AVFrame) GetPktDtsAddr() *int64

GetPktDtsAddr gets `AVFrame.pkt_dts` address.

func (*AVFrame) GetPktPos

func (frame *AVFrame) GetPktPos() int64

GetPktPos gets `AVFrame.pkt_pos` value.

func (*AVFrame) GetPktPosAddr

func (frame *AVFrame) GetPktPosAddr() *int64

GetPktPosAddr gets `AVFrame.pkt_pos` address.

func (*AVFrame) GetPktSize

func (frame *AVFrame) GetPktSize() int32

GetPktSize gets `AVFrame.pkt_size` value.

func (*AVFrame) GetPktSizeAddr

func (frame *AVFrame) GetPktSizeAddr() *int32

GetPktSizeAddr gets `AVFrame.pkt_size` address.

func (*AVFrame) GetPrivateRef

func (frame *AVFrame) GetPrivateRef() *AVBufferRef

GetPrivateRef gets `AVFrame.private_ref` value.

func (*AVFrame) GetPrivateRefAddr

func (frame *AVFrame) GetPrivateRefAddr() **AVBufferRef

GetPrivateRefAddr gets `AVFrame.private_ref` address.

func (*AVFrame) GetPts

func (frame *AVFrame) GetPts() int64

GetPts gets `AVFrame.pts` value.

func (*AVFrame) GetPtsAddr

func (frame *AVFrame) GetPtsAddr() *int64

GetPtsAddr gets `AVFrame.pts` address.

func (*AVFrame) GetQuality

func (frame *AVFrame) GetQuality() int32

GetQuality gets `AVFrame.quality` value.

func (*AVFrame) GetQualityAddr

func (frame *AVFrame) GetQualityAddr() *int32

GetQualityAddr gets `AVFrame.quality` address.

func (*AVFrame) GetRepeatPict

func (frame *AVFrame) GetRepeatPict() int32

GetRepeatPict gets `AVFrame.repeat_pict` value.

func (*AVFrame) GetRepeatPictAddr

func (frame *AVFrame) GetRepeatPictAddr() *int32

GetRepeatPictAddr gets `AVFrame.repeat_pict` address.

func (*AVFrame) GetSampleAspectRatio

func (frame *AVFrame) GetSampleAspectRatio() AVRational

GetSampleAspectRatio gets `AVFrame.sample_aspect_ratio` value.

func (*AVFrame) GetSampleAspectRatioAddr

func (frame *AVFrame) GetSampleAspectRatioAddr() *AVRational

GetSampleAspectRatioAddr gets `AVFrame.sample_aspect_ratio` address.

func (*AVFrame) GetSampleRate

func (frame *AVFrame) GetSampleRate() int32

GetSampleRate gets `AVFrame.sample_rate` value.

func (*AVFrame) GetSampleRateAddr

func (frame *AVFrame) GetSampleRateAddr() *int32

GetSampleRateAddr gets `AVFrame.sample_rate` address.

func (*AVFrame) GetSideData

func (frame *AVFrame) GetSideData() []*AVFrameSideData

GetSideData gets `AVFrame.side_data` value.

func (*AVFrame) GetSideDataAddr

func (frame *AVFrame) GetSideDataAddr() ***AVFrameSideData

GetSideDataAddr gets `AVFrame.side_data` address.

func (*AVFrame) GetTimeBase added in v0.50.1

func (frame *AVFrame) GetTimeBase() AVRational

GetTimeBase gets `AVFrame.time_base` value.

func (*AVFrame) GetTimeBaseAddr added in v0.50.1

func (frame *AVFrame) GetTimeBaseAddr() *AVRational

GetTimeBaseAddr gets `AVFrame.time_base` address.

func (*AVFrame) GetTopFieldFirst deprecated

func (frame *AVFrame) GetTopFieldFirst() int32

Deprecated: Use AV_FRAME_FLAG_TOP_FIELD_FIRST instead.

GetTopFieldFirst gets `AVFrame.top_field_first` value.

func (*AVFrame) GetTopFieldFirstAddr deprecated

func (frame *AVFrame) GetTopFieldFirstAddr() *int32

Deprecated: Use AV_FRAME_FLAG_TOP_FIELD_FIRST instead.

GetTopFieldFirstAddr gets `AVFrame.top_field_first` address.

func (*AVFrame) GetWidth

func (frame *AVFrame) GetWidth() int32

GetWidth gets `AVFrame.width` value.

func (*AVFrame) GetWidthAddr

func (frame *AVFrame) GetWidthAddr() *int32

GetWidthAddr gets `AVFrame.width` address.

func (*AVFrame) SetBestEffortTimestamp

func (frame *AVFrame) SetBestEffortTimestamp(v int64)

SetBestEffortTimestamp sets `AVFrame.best_effort_timestamp` value.

func (*AVFrame) SetBuf

func (frame *AVFrame) SetBuf(v []*AVBufferRef)

SetBuf sets `AVFrame.buf` value.

func (*AVFrame) SetChLayout added in v0.51.1

func (frame *AVFrame) SetChLayout(v AVChannelLayout)

SetChLayout sets `AVFrame.ch_layout` value.

func (*AVFrame) SetChromaLocation

func (frame *AVFrame) SetChromaLocation(v AVChromaLocation)

SetChromaLocation sets `AVFrame.chroma_location` value.

func (*AVFrame) SetColorPrimaries

func (frame *AVFrame) SetColorPrimaries(v AVColorPrimaries)

SetColorPrimaries sets `AVFrame.color_primaries` value.

func (*AVFrame) SetColorRange

func (frame *AVFrame) SetColorRange(v AVColorRange)

SetColorRange sets `AVFrame.colorrange` value.

func (*AVFrame) SetColorTrc

func (frame *AVFrame) SetColorTrc(v AVColorTransferCharacteristic)

SetColorTrc sets `AVFrame.color_trc` value.

func (*AVFrame) SetColorspace

func (frame *AVFrame) SetColorspace(v AVColorSpace)

SetColorspace sets `AVFrame.colorspace` value.

func (*AVFrame) SetCropBottom

func (frame *AVFrame) SetCropBottom(v uintptr)

SetCropBottom sets `AVFrame.crop_bottom` value.

func (*AVFrame) SetCropLeft

func (frame *AVFrame) SetCropLeft(v uintptr)

SetCropLeft sets `AVFrame.crop_left` value.

func (*AVFrame) SetCropRight

func (frame *AVFrame) SetCropRight(v uintptr)

SetCropRight sets `AVFrame.crop_right` value.

func (*AVFrame) SetCropTop

func (frame *AVFrame) SetCropTop(v uintptr)

SetCropTop sets `AVFrame.crop_top` value.

func (*AVFrame) SetData

func (frame *AVFrame) SetData(v []*uint8)

SetData sets `AVFrame.data` value.

func (*AVFrame) SetDecodeErrorFlags

func (frame *AVFrame) SetDecodeErrorFlags(v int32)

SetDecodeErrorFlags sets `AVFrame.decode_error_flags` value.

func (*AVFrame) SetDuration added in v0.60.1

func (frame *AVFrame) SetDuration(v int64)

SetDuration sets `AVFrame.duration` value.

func (*AVFrame) SetExtendedBuf

func (frame *AVFrame) SetExtendedBuf(v **AVBufferRef)

SetExtendedBuf sets `AVFrame.extended_buf` value.

func (*AVFrame) SetExtendedData

func (frame *AVFrame) SetExtendedData(v **uint8)

SetExtendedData sets `AVFrame.extended_data` value.

func (*AVFrame) SetFlags

func (frame *AVFrame) SetFlags(v int32)

SetFlags sets `AVFrame.flags` value.

func (*AVFrame) SetFormat

func (frame *AVFrame) SetFormat(v int32)

SetFormat sets `AVFrame.format` value.

func (*AVFrame) SetHeight

func (frame *AVFrame) SetHeight(v int32)

SetHeight sets `AVFrame.height` value.

func (*AVFrame) SetHwFramesCtx

func (frame *AVFrame) SetHwFramesCtx(v *AVBufferRef)

SetHwFramesCtx sets `AVFrame.hw_frames_ctx` value.

func (*AVFrame) SetInterlacedFrame deprecated

func (frame *AVFrame) SetInterlacedFrame(v int32)

Deprecated: Use AV_FRAME_FLAG_INTERLACED instead.

SetInterlacedFrame sets `AVFrame.interlaced_frame` value.

func (*AVFrame) SetKeyFrame deprecated

func (frame *AVFrame) SetKeyFrame(v int32)

Deprecated: Use AV_FRAME_FLAG_KEY instead.

SetKeyFrame sets `AVFrame.key_frame` value.

func (*AVFrame) SetLinesize

func (frame *AVFrame) SetLinesize(v []int32)

SetLinesize sets `AVFrame.linesize` value.

func (*AVFrame) SetMetadata

func (frame *AVFrame) SetMetadata(v *AVDictionary)

SetMetadata sets `AVFrame.metadata` value.

func (*AVFrame) SetNbExtendedBuf

func (frame *AVFrame) SetNbExtendedBuf(v int32)

SetNbExtendedBuf sets `AVFrame.nb_extended_buf` value.

func (*AVFrame) SetNbSamples

func (frame *AVFrame) SetNbSamples(v int32)

SetNbSamples sets `AVFrame.nb_samples` value.

func (*AVFrame) SetNbSideData

func (frame *AVFrame) SetNbSideData(v int32)

SetNbSideData sets `AVFrame.nb_side_data` value.

func (*AVFrame) SetOpaqueRef

func (frame *AVFrame) SetOpaqueRef(v *AVBufferRef)

SetOpaqueRef sets `AVFrame.opaque_ref` value.

func (*AVFrame) SetPaletteHasChanged deprecated

func (frame *AVFrame) SetPaletteHasChanged(v int32)

Deprecated: no use.

SetPaletteHasChanged sets `AVFrame.palette_has_changed` value.

func (*AVFrame) SetPictType

func (frame *AVFrame) SetPictType(v AVPictureType)

SetPictType sets `AVFrame.picttype` value.

func (*AVFrame) SetPktDts

func (frame *AVFrame) SetPktDts(v int64)

SetPktDts sets `AVFrame.pkt_dts` value.

func (*AVFrame) SetPktPos

func (frame *AVFrame) SetPktPos(v int64)

SetPktPos sets `AVFrame.pkt_pos` value.

func (*AVFrame) SetPktSize

func (frame *AVFrame) SetPktSize(v int32)

SetPktSize sets `AVFrame.pkt_size` value.

func (*AVFrame) SetPrivateRef

func (frame *AVFrame) SetPrivateRef(v *AVBufferRef)

SetPrivateRef sets `AVFrame.private_ref` value.

func (*AVFrame) SetPts

func (frame *AVFrame) SetPts(v int64)

SetPts sets `AVFrame.pts` value.

func (*AVFrame) SetQuality

func (frame *AVFrame) SetQuality(v int32)

SetQuality sets `AVFrame.quality` value.

func (*AVFrame) SetRepeatPict

func (frame *AVFrame) SetRepeatPict(v int32)

SetRepeatPict sets `AVFrame.repeat_pict` value.

func (*AVFrame) SetSampleAspectRatio

func (frame *AVFrame) SetSampleAspectRatio(v AVRational)

SetSampleAspectRatio sets `AVFrame.sample_aspect_ratio` value.

func (*AVFrame) SetSampleRate

func (frame *AVFrame) SetSampleRate(v int32)

SetSampleRate sets `AVFrame.sample_rate` value.

func (*AVFrame) SetSideData

func (frame *AVFrame) SetSideData(v **AVFrameSideData)

SetSideData sets `AVFrame.side_data` value.

func (*AVFrame) SetTimeBase added in v0.50.1

func (frame *AVFrame) SetTimeBase(v AVRational)

SetTimeBase sets `AVFrame.time_base` value.

func (*AVFrame) SetTopFieldFirst deprecated

func (frame *AVFrame) SetTopFieldFirst(v int32)

Deprecated: Use AV_FRAME_FLAG_TOP_FIELD_FIRST instead.

SetTopFieldFirst sets `AVFrame.top_field_first` value.

func (*AVFrame) SetWidth

func (frame *AVFrame) SetWidth(v int32)

SetWidth sets `AVFrame.width` value.

type AVFrameSideData

type AVFrameSideData C.struct_AVFrameSideData

Structure to hold side data for an AVFrame.

func AvFrameGetSideData

func AvFrameGetSideData(frame *AVFrame, _type AVFrameSideDataType) *AVFrameSideData

AvFrameGetSideData gets a pointer to the side data of a given type on success, NULL if there is no side data with such type in this frame.

func AvFrameNewSideData

func AvFrameNewSideData(frame *AVFrame, _type AVFrameSideDataType, size uintptr) *AVFrameSideData

AvFrameNewSideData adds a new side data to a frame.

func AvFrameNewSideDataFromBuf

func AvFrameNewSideDataFromBuf(frame *AVFrame, _type AVFrameSideDataType,
	buf *AVBufferRef) *AVFrameSideData

AvFrameNewSideDataFromBuf adds a new side data to a frame from an existing AVBufferRef.

func AvFrameSideDataGet added in v0.70.1

func AvFrameSideDataGet(sd **AVFrameSideData, nbSd int32, _type AVFrameSideDataType) *AVFrameSideData

AvFrameSideDataGet

func AvFrameSideDataGetC added in v0.70.1

func AvFrameSideDataGetC(sd **AVFrameSideData, nbSd int32, _type AVFrameSideDataType) *AVFrameSideData

AvFrameSideDataGetC

func AvFrameSideDataNew added in v0.70.1

func AvFrameSideDataNew(sd ***AVFrameSideData, nbSd *int32, _type AVFrameSideDataType, size uintptr, flags uint32) *AVFrameSideData

AvFrameSideDataNew adds new side data entry to an array.

func (*AVFrameSideData) GetBuf

func (sd *AVFrameSideData) GetBuf() *AVBufferRef

GetBuf gets `AVFrameSideData.buf` value.

func (*AVFrameSideData) GetBufAddr

func (sd *AVFrameSideData) GetBufAddr() **AVBufferRef

GetBufAddr gets `AVFrameSideData.buf` address.

func (*AVFrameSideData) GetData

func (sd *AVFrameSideData) GetData() *uint8

GetData gets `AVFrameSideData.data` value.

func (*AVFrameSideData) GetDataAddr

func (sd *AVFrameSideData) GetDataAddr() **uint8

GetDataAddr gets `AVFrameSideData.data` address.

func (*AVFrameSideData) GetMetadata

func (sd *AVFrameSideData) GetMetadata() *AVDictionary

GetMetadata gets `AVFrameSideData.metadata` value.

func (*AVFrameSideData) GetMetadataAddr

func (sd *AVFrameSideData) GetMetadataAddr() **AVDictionary

GetMetadataAddr gets `AVFrameSideData.metadata` address.

func (*AVFrameSideData) GetSize

func (sd *AVFrameSideData) GetSize() uintptr

GetSize gets `AVFrameSideData.size` value.

func (*AVFrameSideData) GetSizeAddr

func (sd *AVFrameSideData) GetSizeAddr() *uintptr

GetSizeAddr gets `AVFrameSideData.size` address.

func (*AVFrameSideData) GetType

func (sd *AVFrameSideData) GetType() AVFrameSideDataType

GetType gets `AVFrameSideData.type` value.

func (*AVFrameSideData) GetTypeAddr

func (sd *AVFrameSideData) GetTypeAddr() *AVFrameSideDataType

GetTypeAddr gets `AVFrameSideData.type` address.

func (*AVFrameSideData) SetBuf

func (sd *AVFrameSideData) SetBuf(v *AVBufferRef)

SetBuf sets `AVFrameSideData.buf` value.

func (*AVFrameSideData) SetData

func (sd *AVFrameSideData) SetData(v *uint8)

SetData sets `AVFrameSideData.data` value.

func (*AVFrameSideData) SetMetadata

func (sd *AVFrameSideData) SetMetadata(v *AVDictionary)

SetMetadata sets `AVFrameSideData.metadata` value.

func (*AVFrameSideData) SetSize

func (sd *AVFrameSideData) SetSize(v uintptr)

SetSize sets `AVFrameSideData.size` value.

func (*AVFrameSideData) SetType

func (sd *AVFrameSideData) SetType(v AVFrameSideDataType)

SetType sets `AVFrameSideData.type` value.

type AVFrameSideDataType

type AVFrameSideDataType = C.enum_AVFrameSideDataType

AVFrameSideDataType

type AVHDRPlusColorTransformParams added in v0.42.1

type AVHDRPlusColorTransformParams C.struct_AVHDRPlusColorTransformParams

AVHDRPlusColorTransformParams

func (*AVHDRPlusColorTransformParams) GetAverageMaxrgb added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetAverageMaxrgb() AVRational

GetAverageMaxrgb gets `AVHDRPlusColorTransformParams.average_maxrgb` value.

func (*AVHDRPlusColorTransformParams) GetAverageMaxrgbAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetAverageMaxrgbAddr() *AVRational

GetAverageMaxrgbAddr gets `AVHDRPlusColorTransformParams.average_maxrgb` address.

func (*AVHDRPlusColorTransformParams) GetBezierCurveAnchors added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetBezierCurveAnchors() []AVRational

GetBezierCurveAnchors gets `AVHDRPlusColorTransformParams.bezier_curve_anchors` value.

func (*AVHDRPlusColorTransformParams) GetBezierCurveAnchorsAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetBezierCurveAnchorsAddr() **AVRational

GetBezierCurveAnchorsAddr gets `AVHDRPlusColorTransformParams.bezier_curve_anchors` address.

func (*AVHDRPlusColorTransformParams) GetCenterOfEllipseX added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetCenterOfEllipseX() uint16

GetCenterOfEllipseX gets `AVHDRPlusColorTransformParams.center_of_ellipse_x` value.

func (*AVHDRPlusColorTransformParams) GetCenterOfEllipseXAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetCenterOfEllipseXAddr() *uint16

GetCenterOfEllipseXAddr gets `AVHDRPlusColorTransformParams.center_of_ellipse_x` address.

func (*AVHDRPlusColorTransformParams) GetCenterOfEllipseY added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetCenterOfEllipseY() uint16

GetCenterOfEllipseY gets `AVHDRPlusColorTransformParams.center_of_ellipse_y` value.

func (*AVHDRPlusColorTransformParams) GetCenterOfEllipseYAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetCenterOfEllipseYAddr() *uint16

GetCenterOfEllipseYAddr gets `AVHDRPlusColorTransformParams.center_of_ellipse_y` address.

func (*AVHDRPlusColorTransformParams) GetColorSaturationMappingFlag added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetColorSaturationMappingFlag() uint8

GetColorSaturationMappingFlag gets `AVHDRPlusColorTransformParams.color_saturation_mapping_flag` value.

func (*AVHDRPlusColorTransformParams) GetColorSaturationMappingFlagAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetColorSaturationMappingFlagAddr() *uint8

GetColorSaturationMappingFlagAddr gets `AVHDRPlusColorTransformParams.color_saturation_mapping_flag` address.

func (*AVHDRPlusColorTransformParams) GetColorSaturationWeight added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetColorSaturationWeight() AVRational

GetColorSaturationWeight gets `AVHDRPlusColorTransformParams.color_saturation_weight` value.

func (*AVHDRPlusColorTransformParams) GetColorSaturationWeightAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetColorSaturationWeightAddr() *AVRational

GetColorSaturationWeightAddr gets `AVHDRPlusColorTransformParams.color_saturation_weight` address.

func (*AVHDRPlusColorTransformParams) GetDistributionMaxrgb added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetDistributionMaxrgb() []AVHDRPlusPercentile

GetDistributionMaxrgb gets `AVHDRPlusColorTransformParams.distribution_maxrgb` value.

func (*AVHDRPlusColorTransformParams) GetDistributionMaxrgbAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetDistributionMaxrgbAddr() **AVHDRPlusPercentile

GetDistributionMaxrgbAddr gets `AVHDRPlusColorTransformParams.distribution_maxrgb` address.

func (*AVHDRPlusColorTransformParams) GetFractionBrightPixels added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetFractionBrightPixels() AVRational

GetFractionBrightPixels gets `AVHDRPlusColorTransformParams.fraction_bright_pixels` value.

func (*AVHDRPlusColorTransformParams) GetFractionBrightPixelsAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetFractionBrightPixelsAddr() *AVRational

GetFractionBrightPixelsAddr gets `AVHDRPlusColorTransformParams.fraction_bright_pixels` address.

func (*AVHDRPlusColorTransformParams) GetKneePointX added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetKneePointX() AVRational

GetKneePointX gets `AVHDRPlusColorTransformParams.knee_point_x` value.

func (*AVHDRPlusColorTransformParams) GetKneePointXAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetKneePointXAddr() *AVRational

GetKneePointXAddr gets `AVHDRPlusColorTransformParams.knee_point_x` address.

func (*AVHDRPlusColorTransformParams) GetKneePointY added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetKneePointY() AVRational

GetKneePointY gets `AVHDRPlusColorTransformParams.knee_point_y` value.

func (*AVHDRPlusColorTransformParams) GetKneePointYAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetKneePointYAddr() *AVRational

GetKneePointYAddr gets `AVHDRPlusColorTransformParams.knee_point_y` address.

func (*AVHDRPlusColorTransformParams) GetMaxscl added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetMaxscl() []AVRational

GetMaxscl gets `AVHDRPlusColorTransformParams.maxscl` value.

func (*AVHDRPlusColorTransformParams) GetMaxsclAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetMaxsclAddr() **AVRational

GetMaxsclAddr gets `AVHDRPlusColorTransformParams.maxscl` address.

func (*AVHDRPlusColorTransformParams) GetNumBezierCurveAnchors added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetNumBezierCurveAnchors() uint8

GetNumBezierCurveAnchors gets `AVHDRPlusColorTransformParams.num_bezier_curve_anchors` value.

func (*AVHDRPlusColorTransformParams) GetNumBezierCurveAnchorsAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetNumBezierCurveAnchorsAddr() *uint8

GetNumBezierCurveAnchorsAddr gets `AVHDRPlusColorTransformParams.num_bezier_curve_anchors` address.

func (*AVHDRPlusColorTransformParams) GetNumDistributionMaxrgbPercentiles added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetNumDistributionMaxrgbPercentiles() uint8

GetNumDistributionMaxrgbPercentiles gets `AVHDRPlusColorTransformParams.num_distribution_maxrgb_percentiles` value.

func (*AVHDRPlusColorTransformParams) GetNumDistributionMaxrgbPercentilesAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetNumDistributionMaxrgbPercentilesAddr() *uint8

GetNumDistributionMaxrgbPercentilesAddr gets `AVHDRPlusColorTransformParams.num_distribution_maxrgb_percentiles` address.

func (*AVHDRPlusColorTransformParams) GetOverlapProcessOption added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetOverlapProcessOption() AVHDRPlusOverlapProcessOption

GetOverlapProcessOption gets `AVHDRPlusColorTransformParams.overlap_process_option` value.

func (*AVHDRPlusColorTransformParams) GetOverlapProcessOptionAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetOverlapProcessOptionAddr() *AVHDRPlusOverlapProcessOption

GetOverlapProcessOptionAddr gets `AVHDRPlusColorTransformParams.overlap_process_option` address.

func (*AVHDRPlusColorTransformParams) GetRotationAngle added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetRotationAngle() uint8

GetRotationAngle gets `AVHDRPlusColorTransformParams.rotation_angle` value.

func (*AVHDRPlusColorTransformParams) GetRotationAngleAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetRotationAngleAddr() *uint8

GetRotationAngleAddr gets `AVHDRPlusColorTransformParams.rotation_angle` address.

func (*AVHDRPlusColorTransformParams) GetSemimajorAxisExternalEllipse added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetSemimajorAxisExternalEllipse() uint16

GetSemimajorAxisExternalEllipse gets `AVHDRPlusColorTransformParams.semimajor_axis_external_ellipse` value.

func (*AVHDRPlusColorTransformParams) GetSemimajorAxisExternalEllipseAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetSemimajorAxisExternalEllipseAddr() *uint16

GetSemimajorAxisExternalEllipseAddr gets `AVHDRPlusColorTransformParams.semimajor_axis_external_ellipse` address.

func (*AVHDRPlusColorTransformParams) GetSemimajorAxisInternalEllipse added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetSemimajorAxisInternalEllipse() uint16

GetSemimajorAxisInternalEllipse gets `AVHDRPlusColorTransformParams.semimajor_axis_internal_ellipse` value.

func (*AVHDRPlusColorTransformParams) GetSemimajorAxisInternalEllipseAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetSemimajorAxisInternalEllipseAddr() *uint16

GetSemimajorAxisInternalEllipseAddr gets `AVHDRPlusColorTransformParams.semimajor_axis_internal_ellipse` address.

func (*AVHDRPlusColorTransformParams) GetSemiminorAxisExternalEllipse added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetSemiminorAxisExternalEllipse() uint16

GetSemiminorAxisExternalEllipse gets `AVHDRPlusColorTransformParams.semiminor_axis_external_ellipse` value.

func (*AVHDRPlusColorTransformParams) GetSemiminorAxisExternalEllipseAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetSemiminorAxisExternalEllipseAddr() *uint16

GetSemiminorAxisExternalEllipseAddr gets `AVHDRPlusColorTransformParams.semiminor_axis_external_ellipse` address.

func (*AVHDRPlusColorTransformParams) GetToneMappingFlag added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetToneMappingFlag() uint8

GetToneMappingFlag gets `AVHDRPlusColorTransformParams.tone_mapping_flag` value.

func (*AVHDRPlusColorTransformParams) GetToneMappingFlagAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetToneMappingFlagAddr() *uint8

GetToneMappingFlagAddr gets `AVHDRPlusColorTransformParams.tone_mapping_flag` address.

func (*AVHDRPlusColorTransformParams) GetWindowLowerRightCornerX added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetWindowLowerRightCornerX() AVRational

GetWindowLowerRightCornerX gets `AVHDRPlusColorTransformParams.window_lower_right_corner_x` value.

func (*AVHDRPlusColorTransformParams) GetWindowLowerRightCornerXAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetWindowLowerRightCornerXAddr() *AVRational

GetWindowLowerRightCornerXAddr gets `AVHDRPlusColorTransformParams.window_lower_right_corner_x` address.

func (*AVHDRPlusColorTransformParams) GetWindowLowerRightCornerY added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetWindowLowerRightCornerY() AVRational

GetWindowLowerRightCornerY gets `AVHDRPlusColorTransformParams.window_lower_right_corner_y` value.

func (*AVHDRPlusColorTransformParams) GetWindowLowerRightCornerYAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetWindowLowerRightCornerYAddr() *AVRational

GetWindowLowerRightCornerYAddr gets `AVHDRPlusColorTransformParams.window_lower_right_corner_y` address.

func (*AVHDRPlusColorTransformParams) GetWindowUpperLeftCornerX added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetWindowUpperLeftCornerX() AVRational

GetWindowUpperLeftCornerX gets `AVHDRPlusColorTransformParams.window_upper_left_corner_x` value.

func (*AVHDRPlusColorTransformParams) GetWindowUpperLeftCornerXAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetWindowUpperLeftCornerXAddr() *AVRational

GetWindowUpperLeftCornerXAddr gets `AVHDRPlusColorTransformParams.window_upper_left_corner_x` address.

func (*AVHDRPlusColorTransformParams) GetWindowUpperLeftCornerY added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetWindowUpperLeftCornerY() AVRational

GetWindowUpperLeftCornerY gets `AVHDRPlusColorTransformParams.window_upper_left_corner_y` value.

func (*AVHDRPlusColorTransformParams) GetWindowUpperLeftCornerYAddr added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) GetWindowUpperLeftCornerYAddr() *AVRational

GetWindowUpperLeftCornerYAddr gets `AVHDRPlusColorTransformParams.window_upper_left_corner_y` address.

func (*AVHDRPlusColorTransformParams) SetAverageMaxrgb added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetAverageMaxrgb(v AVRational)

SetAverageMaxrgb sets `AVHDRPlusColorTransformParams.average_maxrgb` value.

func (*AVHDRPlusColorTransformParams) SetBezierCurveAnchors added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetBezierCurveAnchors(v []AVRational)

SetBezierCurveAnchors sets `AVHDRPlusColorTransformParams.bezier_curve_anchors` value.

func (*AVHDRPlusColorTransformParams) SetCenterOfEllipseX added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetCenterOfEllipseX(v uint16)

SetCenterOfEllipseX sets `AVHDRPlusColorTransformParams.center_of_ellipse_x` value.

func (*AVHDRPlusColorTransformParams) SetCenterOfEllipseY added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetCenterOfEllipseY(v uint16)

SetCenterOfEllipseY sets `AVHDRPlusColorTransformParams.center_of_ellipse_y` value.

func (*AVHDRPlusColorTransformParams) SetColorSaturationMappingFlag added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetColorSaturationMappingFlag(v uint8)

SetColorSaturationMappingFlag sets `AVHDRPlusColorTransformParams.color_saturation_mapping_flag` value.

func (*AVHDRPlusColorTransformParams) SetColorSaturationWeight added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetColorSaturationWeight(v AVRational)

SetColorSaturationWeight sets `AVHDRPlusColorTransformParams.color_saturation_weight` value.

func (*AVHDRPlusColorTransformParams) SetDistributionMaxrgb added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetDistributionMaxrgb(v []AVHDRPlusPercentile)

SetDistributionMaxrgb sets `AVHDRPlusColorTransformParams.distribution_maxrgb` value.

func (*AVHDRPlusColorTransformParams) SetFractionBrightPixels added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetFractionBrightPixels(v AVRational)

SetFractionBrightPixels sets `AVHDRPlusColorTransformParams.fraction_bright_pixels` value.

func (*AVHDRPlusColorTransformParams) SetKneePointX added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetKneePointX(v AVRational)

SetKneePointX sets `AVHDRPlusColorTransformParams.knee_point_x` value.

func (*AVHDRPlusColorTransformParams) SetKneePointY added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetKneePointY(v AVRational)

SetKneePointY sets `AVHDRPlusColorTransformParams.knee_point_y` value.

func (*AVHDRPlusColorTransformParams) SetMaxscl added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetMaxscl(v []AVRational)

SetMaxscl sets `AVHDRPlusColorTransformParams.maxscl` value.

func (*AVHDRPlusColorTransformParams) SetNumBezierCurveAnchors added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetNumBezierCurveAnchors(v uint8)

SetNumBezierCurveAnchors sets `AVHDRPlusColorTransformParams.num_bezier_curve_anchors` value.

func (*AVHDRPlusColorTransformParams) SetNumDistributionMaxrgbPercentiles added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetNumDistributionMaxrgbPercentiles(v uint8)

SetNumDistributionMaxrgbPercentiles sets `AVHDRPlusColorTransformParams.num_distribution_maxrgb_percentiles` value.

func (*AVHDRPlusColorTransformParams) SetOverlapProcessOption added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetOverlapProcessOption(v AVHDRPlusOverlapProcessOption)

SetOverlapProcessOption sets `AVHDRPlusColorTransformParams.overlap_process_option` value.

func (*AVHDRPlusColorTransformParams) SetRotationAngle added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetRotationAngle(v uint8)

SetRotationAngle sets `AVHDRPlusColorTransformParams.rotation_angle` value.

func (*AVHDRPlusColorTransformParams) SetSemimajorAxisExternalEllipse added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetSemimajorAxisExternalEllipse(v uint16)

SetSemimajorAxisExternalEllipse sets `AVHDRPlusColorTransformParams.semimajor_axis_external_ellipse` value.

func (*AVHDRPlusColorTransformParams) SetSemimajorAxisInternalEllipse added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetSemimajorAxisInternalEllipse(v uint16)

SetSemimajorAxisInternalEllipse sets `AVHDRPlusColorTransformParams.semimajor_axis_internal_ellipse` value.

func (*AVHDRPlusColorTransformParams) SetSemiminorAxisExternalEllipse added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetSemiminorAxisExternalEllipse(v uint16)

SetSemiminorAxisExternalEllipse sets `AVHDRPlusColorTransformParams.semiminor_axis_external_ellipse` value.

func (*AVHDRPlusColorTransformParams) SetToneMappingFlag added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetToneMappingFlag(v uint8)

SetToneMappingFlag sets `AVHDRPlusColorTransformParams.tone_mapping_flag` value.

func (*AVHDRPlusColorTransformParams) SetWindowLowerRightCornerX added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetWindowLowerRightCornerX(v AVRational)

SetWindowLowerRightCornerX sets `AVHDRPlusColorTransformParams.window_lower_right_corner_x` value.

func (*AVHDRPlusColorTransformParams) SetWindowLowerRightCornerY added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetWindowLowerRightCornerY(v AVRational)

SetWindowLowerRightCornerY sets `AVHDRPlusColorTransformParams.window_lower_right_corner_y` value.

func (*AVHDRPlusColorTransformParams) SetWindowUpperLeftCornerX added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetWindowUpperLeftCornerX(v AVRational)

SetWindowUpperLeftCornerX sets `AVHDRPlusColorTransformParams.window_upper_left_corner_x` value.

func (*AVHDRPlusColorTransformParams) SetWindowUpperLeftCornerY added in v0.42.1

func (ctp *AVHDRPlusColorTransformParams) SetWindowUpperLeftCornerY(v AVRational)

SetWindowUpperLeftCornerY sets `AVHDRPlusColorTransformParams.window_upper_left_corner_y` value.

type AVHDRPlusOverlapProcessOption added in v0.42.1

type AVHDRPlusOverlapProcessOption = C.enum_AVHDRPlusOverlapProcessOption

AVHDRPlusOverlapProcessOption

type AVHDRPlusPercentile added in v0.42.1

type AVHDRPlusPercentile C.struct_AVHDRPlusPercentile

AVHDRPlusPercentile

func (*AVHDRPlusPercentile) GetPercentage added in v0.42.1

func (pct *AVHDRPlusPercentile) GetPercentage() uint8

GetPercentage gets `AVHDRPlusPercentile.percentage` value.

func (*AVHDRPlusPercentile) GetPercentageAddr added in v0.42.1

func (pct *AVHDRPlusPercentile) GetPercentageAddr() *uint8

GetPercentageAddr gets `AVHDRPlusPercentile.percentage` address.

func (*AVHDRPlusPercentile) GetPercentile added in v0.42.1

func (pct *AVHDRPlusPercentile) GetPercentile() AVRational

GetPercentile gets `AVHDRPlusPercentile.percentile` value.

func (*AVHDRPlusPercentile) GetPercentileAddr added in v0.42.1

func (pct *AVHDRPlusPercentile) GetPercentileAddr() *AVRational

GetPercentileAddr gets `AVHDRPlusPercentile.percentile` address.

func (*AVHDRPlusPercentile) SetPercentage added in v0.42.1

func (pct *AVHDRPlusPercentile) SetPercentage(v uint8)

SetPercentage sets `AVHDRPlusPercentile.percentage` value.

func (*AVHDRPlusPercentile) SetPercentile added in v0.42.1

func (pct *AVHDRPlusPercentile) SetPercentile(v AVRational)

SetPercentile sets `AVHDRPlusPercentile.percentile` value.

type AVHDRVivid3SplineParams added in v0.61.0

type AVHDRVivid3SplineParams C.struct_AVHDRVivid3SplineParams

AVHDRVivid3SplineParams

func (*AVHDRVivid3SplineParams) GetEnableStrength added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) GetEnableStrength() AVRational

GetEnableStrength gets `AVHDRVivid3SplineParams.enable_strength` value.

func (*AVHDRVivid3SplineParams) GetEnableStrengthAddr added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) GetEnableStrengthAddr() *AVRational

GetEnableStrengthAddr gets `AVHDRVivid3SplineParams.enable_strength` address.

func (*AVHDRVivid3SplineParams) GetThDelta1 added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) GetThDelta1() AVRational

GetThDelta1 gets `AVHDRVivid3SplineParams.th_delta1` value.

func (*AVHDRVivid3SplineParams) GetThDelta1Addr added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) GetThDelta1Addr() *AVRational

GetThDelta1Addr gets `AVHDRVivid3SplineParams.th_delta1` address.

func (*AVHDRVivid3SplineParams) GetThDelta2 added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) GetThDelta2() AVRational

GetThDelta2 gets `AVHDRVivid3SplineParams.th_delta2` value.

func (*AVHDRVivid3SplineParams) GetThDelta2Addr added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) GetThDelta2Addr() *AVRational

GetThDelta2Addr gets `AVHDRVivid3SplineParams.th_delta2` address.

func (*AVHDRVivid3SplineParams) GetThEnable added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) GetThEnable() AVRational

GetThEnable gets `AVHDRVivid3SplineParams.th_enable` value.

func (*AVHDRVivid3SplineParams) GetThEnableAddr added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) GetThEnableAddr() *AVRational

GetThEnableAddr gets `AVHDRVivid3SplineParams.th_enable` address.

func (*AVHDRVivid3SplineParams) GetThEnableMb added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) GetThEnableMb() AVRational

GetThEnableMb gets `AVHDRVivid3SplineParams.th_enable_mb` value.

func (*AVHDRVivid3SplineParams) GetThEnableMbAddr added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) GetThEnableMbAddr() *AVRational

GetThEnableMbAddr gets `AVHDRVivid3SplineParams.th_enable_mb` address.

func (*AVHDRVivid3SplineParams) GetThMode added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) GetThMode() int32

GetThMode gets `AVHDRVivid3SplineParams.th_mode` value.

func (*AVHDRVivid3SplineParams) GetThModeAddr added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) GetThModeAddr() *int32

GetThModeAddr gets `AVHDRVivid3SplineParams.th_mode` address.

func (*AVHDRVivid3SplineParams) SetEnableStrength added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) SetEnableStrength(v AVRational)

SetEnableStrength sets `AVHDRVivid3SplineParams.enable_strength` value.

func (*AVHDRVivid3SplineParams) SetThDelta1 added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) SetThDelta1(v AVRational)

SetThDelta1 sets `AVHDRVivid3SplineParams.th_delta1` value.

func (*AVHDRVivid3SplineParams) SetThDelta2 added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) SetThDelta2(v AVRational)

SetThDelta2 sets `AVHDRVivid3SplineParams.th_delta2` value.

func (*AVHDRVivid3SplineParams) SetThEnable added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) SetThEnable(v AVRational)

SetThEnable sets `AVHDRVivid3SplineParams.th_enable` value.

func (*AVHDRVivid3SplineParams) SetThEnableMb added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) SetThEnableMb(v AVRational)

SetThEnableMb sets `AVHDRVivid3SplineParams.th_enable_mb` value.

func (*AVHDRVivid3SplineParams) SetThMode added in v0.61.0

func (d3sp *AVHDRVivid3SplineParams) SetThMode(v int32)

SetThMode sets `AVHDRVivid3SplineParams.th_mode` value.

type AVHDRVividColorToneMappingParams added in v0.60.11

type AVHDRVividColorToneMappingParams C.struct_AVHDRVividColorToneMappingParams

AVHDRVividColorToneMappingParams

func (*AVHDRVividColorToneMappingParams) GetBaseEnableFlag added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseEnableFlag() int32

GetBaseEnableFlag gets `AVHDRVividColorToneMappingParams.base_enable_flag` value.

func (*AVHDRVividColorToneMappingParams) GetBaseEnableFlagAddr added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseEnableFlagAddr() *int32

GetBaseEnableFlagAddr gets `AVHDRVividColorToneMappingParams.base_enable_flag` address.

func (*AVHDRVividColorToneMappingParams) GetBaseParamDelta added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamDelta() AVRational

GetBaseParamDelta gets `AVHDRVividColorToneMappingParams.base_param_Delta` value.

func (*AVHDRVividColorToneMappingParams) GetBaseParamDeltaAddr added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamDeltaAddr() *AVRational

GetBaseParamDeltaAddr gets `AVHDRVividColorToneMappingParams.base_param_Delta` address.

func (*AVHDRVividColorToneMappingParams) GetBaseParamDeltaEnableMode added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamDeltaEnableMode() int32

GetBaseParamDeltaEnableMode gets `AVHDRVividColorToneMappingParams.base_param_Delta_enable_mode` value.

func (*AVHDRVividColorToneMappingParams) GetBaseParamDeltaEnableModeAddr added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamDeltaEnableModeAddr() *int32

GetBaseParamDeltaEnableModeAddr gets `AVHDRVividColorToneMappingParams.base_param_Delta_enable_mode` address.

func (*AVHDRVividColorToneMappingParams) GetBaseParamK1 added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamK1() int32

GetBaseParamK1 gets `AVHDRVividColorToneMappingParams.base_param_k1` value.

func (*AVHDRVividColorToneMappingParams) GetBaseParamK1Addr added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamK1Addr() *int32

GetBaseParamK1Addr gets `AVHDRVividColorToneMappingParams.base_param_k1` address.

func (*AVHDRVividColorToneMappingParams) GetBaseParamK2 added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamK2() int32

GetBaseParamK2 gets `AVHDRVividColorToneMappingParams.base_param_k2` value.

func (*AVHDRVividColorToneMappingParams) GetBaseParamK2Addr added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamK2Addr() *int32

GetBaseParamK2Addr gets `AVHDRVividColorToneMappingParams.base_param_k2` address.

func (*AVHDRVividColorToneMappingParams) GetBaseParamK3 added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamK3() int32

GetBaseParamK3 gets `AVHDRVividColorToneMappingParams.base_param_k3` value.

func (*AVHDRVividColorToneMappingParams) GetBaseParamK3Addr added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamK3Addr() *int32

GetBaseParamK3Addr gets `AVHDRVividColorToneMappingParams.base_param_k3` address.

func (*AVHDRVividColorToneMappingParams) GetBaseParamMA added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamMA() AVRational

GetBaseParamMA gets `AVHDRVividColorToneMappingParams.base_param_m_a` value.

func (*AVHDRVividColorToneMappingParams) GetBaseParamMAAddr added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamMAAddr() *AVRational

GetBaseParamMAAddr gets `AVHDRVividColorToneMappingParams.base_param_m_a` address.

func (*AVHDRVividColorToneMappingParams) GetBaseParamMB added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamMB() AVRational

GetBaseParamMB gets `AVHDRVividColorToneMappingParams.base_param_m_b` value.

func (*AVHDRVividColorToneMappingParams) GetBaseParamMBAddr added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamMBAddr() *AVRational

GetBaseParamMBAddr gets `AVHDRVividColorToneMappingParams.base_param_m_b` address.

func (*AVHDRVividColorToneMappingParams) GetBaseParamMM added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamMM() AVRational

GetBaseParamMM gets `AVHDRVividColorToneMappingParams.base_param_m_m` value.

func (*AVHDRVividColorToneMappingParams) GetBaseParamMMAddr added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamMMAddr() *AVRational

GetBaseParamMMAddr gets `AVHDRVividColorToneMappingParams.base_param_m_m` address.

func (*AVHDRVividColorToneMappingParams) GetBaseParamMN added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamMN() AVRational

GetBaseParamMN gets `AVHDRVividColorToneMappingParams.base_param_m_n` value.

func (*AVHDRVividColorToneMappingParams) GetBaseParamMNAddr added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamMNAddr() *AVRational

GetBaseParamMNAddr gets `AVHDRVividColorToneMappingParams.base_param_m_n` address.

func (*AVHDRVividColorToneMappingParams) GetBaseParamMP added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamMP() AVRational

GetBaseParamMP gets `AVHDRVividColorToneMappingParams.base_param_m_p` value.

func (*AVHDRVividColorToneMappingParams) GetBaseParamMPAddr added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetBaseParamMPAddr() *AVRational

GetBaseParamMPAddr gets `AVHDRVividColorToneMappingParams.base_param_m_p` address.

func (*AVHDRVividColorToneMappingParams) GetTargetedSystemDisplayMaximumLuminance added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetTargetedSystemDisplayMaximumLuminance() AVRational

GetTargetedSystemDisplayMaximumLuminance gets `AVHDRVividColorToneMappingParams.targeted_system_display_maximum_luminance` value.

func (*AVHDRVividColorToneMappingParams) GetTargetedSystemDisplayMaximumLuminanceAddr added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetTargetedSystemDisplayMaximumLuminanceAddr() *AVRational

GetTargetedSystemDisplayMaximumLuminanceAddr gets `AVHDRVividColorToneMappingParams.targeted_system_display_maximum_luminance` address.

func (*AVHDRVividColorToneMappingParams) GetThreeSpline added in v0.61.0

GetThreeSpline gets `AVHDRVividColorToneMappingParams.three_spline` value.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineAddr added in v0.61.0

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineAddr() **AVHDRVivid3SplineParams

GetThreeSplineAddr gets `AVHDRVividColorToneMappingParams.three_spline` address.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineEnableFlag added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineEnableFlag() int32

GetThreeSplineEnableFlag gets `AVHDRVividColorToneMappingParams.three_Spline_enable_flag` value.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineEnableFlagAddr added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineEnableFlagAddr() *int32

GetThreeSplineEnableFlagAddr gets `AVHDRVividColorToneMappingParams.three_Spline_enable_flag` address.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineEnableStrength deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineEnableStrength() AVRational

Deprecated: Use three_spline instead.

GetThreeSplineEnableStrength gets `AVHDRVividColorToneMappingParams.three_Spline_enable_Strength` value.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineEnableStrengthAddr deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineEnableStrengthAddr() *AVRational

Deprecated: Use three_spline instead.

GetThreeSplineEnableStrengthAddr gets `AVHDRVividColorToneMappingParams.three_Spline_enable_Strength` address.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineNum added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineNum() int32

GetThreeSplineNum gets `AVHDRVividColorToneMappingParams.three_Spline_num` value.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineNumAddr added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineNumAddr() *int32

GetThreeSplineNumAddr gets `AVHDRVividColorToneMappingParams.three_Spline_num` address.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineThDelta1 deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineThDelta1() AVRational

Deprecated: Use three_spline instead.

GetThreeSplineThDelta1 gets `AVHDRVividColorToneMappingParams.three_Spline_TH_Delta1` value.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineThDelta1Addr deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineThDelta1Addr() *AVRational

Deprecated: Use three_spline instead.

GetThreeSplineThDelta1Addr gets `AVHDRVividColorToneMappingParams.three_Spline_TH_Delta1` address.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineThDelta2 deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineThDelta2() AVRational

Deprecated: Use three_spline instead.

GetThreeSplineThDelta2 gets `AVHDRVividColorToneMappingParams.three_Spline_TH_Delta2` value.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineThDelta2Addr deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineThDelta2Addr() *AVRational

Deprecated: Use three_spline instead.

GetThreeSplineThDelta2Addr gets `AVHDRVividColorToneMappingParams.three_Spline_TH_Delta2` address.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineThEnable deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineThEnable() AVRational

Deprecated: Use three_spline instead.

GetThreeSplineThEnable gets `AVHDRVividColorToneMappingParams.three_Spline_TH_enable` value.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineThEnableAddr deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineThEnableAddr() *AVRational

Deprecated: Use three_spline instead.

GetThreeSplineThEnableAddr gets `AVHDRVividColorToneMappingParams.three_Spline_TH_enable` address.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineThEnableMb deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineThEnableMb() AVRational

Deprecated: Use three_spline instead.

GetThreeSplineThEnableMb gets `AVHDRVividColorToneMappingParams.three_Spline_TH_enable_MB` value.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineThEnableMbAddr deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineThEnableMbAddr() *AVRational

Deprecated: Use three_spline instead.

GetThreeSplineThEnableMbAddr gets `AVHDRVividColorToneMappingParams.three_Spline_TH_enable_MB` address.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineThMode deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineThMode() int32

Deprecated: Use three_spline instead.

GetThreeSplineThMode gets `AVHDRVividColorToneMappingParams.three_Spline_TH_mode` value.

func (*AVHDRVividColorToneMappingParams) GetThreeSplineThModeAddr deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) GetThreeSplineThModeAddr() *int32

Deprecated: Use three_spline instead.

GetThreeSplineThModeAddr gets `AVHDRVividColorToneMappingParams.three_Spline_TH_mode` address.

func (*AVHDRVividColorToneMappingParams) SetBaseEnableFlag added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetBaseEnableFlag(v int32)

SetBaseEnableFlag sets `AVHDRVividColorToneMappingParams.base_enable_flag` value.

func (*AVHDRVividColorToneMappingParams) SetBaseParamDelta added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetBaseParamDelta(v AVRational)

SetBaseParamDelta sets `AVHDRVividColorToneMappingParams.base_param_Delta` value.

func (*AVHDRVividColorToneMappingParams) SetBaseParamDeltaEnableMode added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetBaseParamDeltaEnableMode(v int32)

SetBaseParamDeltaEnableMode sets `AVHDRVividColorToneMappingParams.base_param_Delta_enable_mode` value.

func (*AVHDRVividColorToneMappingParams) SetBaseParamK1 added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetBaseParamK1(v int32)

SetBaseParamK1 sets `AVHDRVividColorToneMappingParams.base_param_k1` value.

func (*AVHDRVividColorToneMappingParams) SetBaseParamK2 added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetBaseParamK2(v int32)

SetBaseParamK2 sets `AVHDRVividColorToneMappingParams.base_param_k2` value.

func (*AVHDRVividColorToneMappingParams) SetBaseParamK3 added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetBaseParamK3(v int32)

SetBaseParamK3 sets `AVHDRVividColorToneMappingParams.base_param_k3` value.

func (*AVHDRVividColorToneMappingParams) SetBaseParamMA added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetBaseParamMA(v AVRational)

SetBaseParamMA sets `AVHDRVividColorToneMappingParams.base_param_m_a` value.

func (*AVHDRVividColorToneMappingParams) SetBaseParamMB added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetBaseParamMB(v AVRational)

SetBaseParamMB sets `AVHDRVividColorToneMappingParams.base_param_m_b` value.

func (*AVHDRVividColorToneMappingParams) SetBaseParamMM added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetBaseParamMM(v AVRational)

SetBaseParamMM sets `AVHDRVividColorToneMappingParams.base_param_m_m` value.

func (*AVHDRVividColorToneMappingParams) SetBaseParamMN added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetBaseParamMN(v AVRational)

SetBaseParamMN sets `AVHDRVividColorToneMappingParams.base_param_m_n` value.

func (*AVHDRVividColorToneMappingParams) SetBaseParamMP added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetBaseParamMP(v AVRational)

SetBaseParamMP sets `AVHDRVividColorToneMappingParams.base_param_m_p` value.

func (*AVHDRVividColorToneMappingParams) SetTargetedSystemDisplayMaximumLuminance added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetTargetedSystemDisplayMaximumLuminance(v AVRational)

SetTargetedSystemDisplayMaximumLuminance sets `AVHDRVividColorToneMappingParams.targeted_system_display_maximum_luminance` value.

func (*AVHDRVividColorToneMappingParams) SetThreeSpline added in v0.61.0

SetThreeSpline sets `AVHDRVividColorToneMappingParams.three_spline` value.

func (*AVHDRVividColorToneMappingParams) SetThreeSplineEnableFlag added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetThreeSplineEnableFlag(v int32)

SetThreeSplineEnableFlag sets `AVHDRVividColorToneMappingParams.three_Spline_enable_flag` value.

func (*AVHDRVividColorToneMappingParams) SetThreeSplineEnableStrength deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetThreeSplineEnableStrength(v AVRational)

Deprecated: Use three_spline instead.

SetThreeSplineEnableStrength sets `AVHDRVividColorToneMappingParams.three_Spline_enable_Strength` value.

func (*AVHDRVividColorToneMappingParams) SetThreeSplineNum added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetThreeSplineNum(v int32)

SetThreeSplineNum sets `AVHDRVividColorToneMappingParams.three_Spline_num` value.

func (*AVHDRVividColorToneMappingParams) SetThreeSplineThDelta1 deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetThreeSplineThDelta1(v AVRational)

Deprecated: Use three_spline instead.

SetThreeSplineThDelta1 sets `AVHDRVividColorToneMappingParams.three_Spline_TH_Delta1` value.

func (*AVHDRVividColorToneMappingParams) SetThreeSplineThDelta2 deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetThreeSplineThDelta2(v AVRational)

Deprecated: Use three_spline instead.

SetThreeSplineThDelta2 sets `AVHDRVividColorToneMappingParams.three_Spline_TH_Delta2` value.

func (*AVHDRVividColorToneMappingParams) SetThreeSplineThEnable deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetThreeSplineThEnable(v AVRational)

Deprecated: Use three_spline instead.

SetThreeSplineThEnable sets `AVHDRVividColorToneMappingParams.three_Spline_TH_enable` value.

func (*AVHDRVividColorToneMappingParams) SetThreeSplineThEnableMb deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetThreeSplineThEnableMb(v AVRational)

Deprecated: Use three_spline instead.

SetThreeSplineThEnableMb sets `AVHDRVividColorToneMappingParams.three_Spline_TH_enable_MB` value.

func (*AVHDRVividColorToneMappingParams) SetThreeSplineThMode deprecated added in v0.60.11

func (ctmp *AVHDRVividColorToneMappingParams) SetThreeSplineThMode(v int32)

Deprecated: Use three_spline instead.

SetThreeSplineThMode sets `AVHDRVividColorToneMappingParams.three_Spline_TH_mode` value.

type AVHDRVividColorTransformParams added in v0.60.11

type AVHDRVividColorTransformParams C.struct_AVHDRVividColorTransformParams

AVHDRVividColorTransformParams

func (*AVHDRVividColorTransformParams) GetAverageMaxrgb added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetAverageMaxrgb() AVRational

GetAverageMaxrgb gets `AVHDRVividColorTransformParams.average_maxrgb` value.

func (*AVHDRVividColorTransformParams) GetAverageMaxrgbAddr added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetAverageMaxrgbAddr() *AVRational

GetAverageMaxrgbAddr gets `AVHDRVividColorTransformParams.average_maxrgb` address.

func (*AVHDRVividColorTransformParams) GetColorSaturationGain added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetColorSaturationGain() []AVRational

GetColorSaturationGain gets `AVHDRVividColorTransformParams.color_saturation_gain` value.

func (*AVHDRVividColorTransformParams) GetColorSaturationGainAddr added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetColorSaturationGainAddr() **AVRational

GetColorSaturationGainAddr gets `AVHDRVividColorTransformParams.color_saturation_gain` address.

func (*AVHDRVividColorTransformParams) GetColorSaturationMappingFlag added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetColorSaturationMappingFlag() int32

GetColorSaturationMappingFlag gets `AVHDRVividColorTransformParams.color_saturation_mapping_flag` value.

func (*AVHDRVividColorTransformParams) GetColorSaturationMappingFlagAddr added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetColorSaturationMappingFlagAddr() *int32

GetColorSaturationMappingFlagAddr gets `AVHDRVividColorTransformParams.color_saturation_mapping_flag` address.

func (*AVHDRVividColorTransformParams) GetColorSaturationNum added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetColorSaturationNum() int32

GetColorSaturationNum gets `AVHDRVividColorTransformParams.color_saturation_num` value.

func (*AVHDRVividColorTransformParams) GetColorSaturationNumAddr added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetColorSaturationNumAddr() *int32

GetColorSaturationNumAddr gets `AVHDRVividColorTransformParams.color_saturation_num` address.

func (*AVHDRVividColorTransformParams) GetMaximumMaxrgb added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetMaximumMaxrgb() AVRational

GetMaximumMaxrgb gets `AVHDRVividColorTransformParams.maximum_maxrgb` value.

func (*AVHDRVividColorTransformParams) GetMaximumMaxrgbAddr added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetMaximumMaxrgbAddr() *AVRational

GetMaximumMaxrgbAddr gets `AVHDRVividColorTransformParams.maximum_maxrgb` address.

func (*AVHDRVividColorTransformParams) GetMinimumMaxrgb added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetMinimumMaxrgb() AVRational

GetMinimumMaxrgb gets `AVHDRVividColorTransformParams.minimum_maxrgb` value.

func (*AVHDRVividColorTransformParams) GetMinimumMaxrgbAddr added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetMinimumMaxrgbAddr() *AVRational

GetMinimumMaxrgbAddr gets `AVHDRVividColorTransformParams.minimum_maxrgb` address.

func (*AVHDRVividColorTransformParams) GetTmParams added in v0.60.11

GetTmParams gets `AVHDRVividColorTransformParams.tm_params` value.

func (*AVHDRVividColorTransformParams) GetTmParamsAddr added in v0.60.11

GetTmParamsAddr gets `AVHDRVividColorTransformParams.tm_params` address.

func (*AVHDRVividColorTransformParams) GetToneMappingModeFlag added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetToneMappingModeFlag() int32

GetToneMappingModeFlag gets `AVHDRVividColorTransformParams.tone_mapping_mode_flag` value.

func (*AVHDRVividColorTransformParams) GetToneMappingModeFlagAddr added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetToneMappingModeFlagAddr() *int32

GetToneMappingModeFlagAddr gets `AVHDRVividColorTransformParams.tone_mapping_mode_flag` address.

func (*AVHDRVividColorTransformParams) GetToneMappingParamNum added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetToneMappingParamNum() int32

GetToneMappingParamNum gets `AVHDRVividColorTransformParams.tone_mapping_param_num` value.

func (*AVHDRVividColorTransformParams) GetToneMappingParamNumAddr added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetToneMappingParamNumAddr() *int32

GetToneMappingParamNumAddr gets `AVHDRVividColorTransformParams.tone_mapping_param_num` address.

func (*AVHDRVividColorTransformParams) GetVarianceMaxrgb added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetVarianceMaxrgb() AVRational

GetVarianceMaxrgb gets `AVHDRVividColorTransformParams.variance_maxrgb` value.

func (*AVHDRVividColorTransformParams) GetVarianceMaxrgbAddr added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) GetVarianceMaxrgbAddr() *AVRational

GetVarianceMaxrgbAddr gets `AVHDRVividColorTransformParams.variance_maxrgb` address.

func (*AVHDRVividColorTransformParams) SetAverageMaxrgb added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) SetAverageMaxrgb(v AVRational)

SetAverageMaxrgb sets `AVHDRVividColorTransformParams.average_maxrgb` value.

func (*AVHDRVividColorTransformParams) SetColorSaturationGain added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) SetColorSaturationGain(v []AVRational)

SetColorSaturationGain sets `AVHDRVividColorTransformParams.color_saturation_gain` value.

func (*AVHDRVividColorTransformParams) SetColorSaturationMappingFlag added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) SetColorSaturationMappingFlag(v int32)

SetColorSaturationMappingFlag sets `AVHDRVividColorTransformParams.color_saturation_mapping_flag` value.

func (*AVHDRVividColorTransformParams) SetColorSaturationNum added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) SetColorSaturationNum(v int32)

SetColorSaturationNum sets `AVHDRVividColorTransformParams.color_saturation_num` value.

func (*AVHDRVividColorTransformParams) SetMaximumMaxrgb added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) SetMaximumMaxrgb(v AVRational)

SetMaximumMaxrgb sets `AVHDRVividColorTransformParams.maximum_maxrgb` value.

func (*AVHDRVividColorTransformParams) SetMinimumMaxrgb added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) SetMinimumMaxrgb(v AVRational)

SetMinimumMaxrgb sets `AVHDRVividColorTransformParams.minimum_maxrgb` value.

func (*AVHDRVividColorTransformParams) SetTmParams added in v0.60.11

SetTmParams sets `AVHDRVividColorTransformParams.tm_params` value.

func (*AVHDRVividColorTransformParams) SetToneMappingModeFlag added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) SetToneMappingModeFlag(v int32)

SetToneMappingModeFlag sets `AVHDRVividColorTransformParams.tone_mapping_mode_flag` value.

func (*AVHDRVividColorTransformParams) SetToneMappingParamNum added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) SetToneMappingParamNum(v int32)

SetToneMappingParamNum sets `AVHDRVividColorTransformParams.tone_mapping_param_num` value.

func (*AVHDRVividColorTransformParams) SetVarianceMaxrgb added in v0.60.11

func (ctfp *AVHDRVividColorTransformParams) SetVarianceMaxrgb(v AVRational)

SetVarianceMaxrgb sets `AVHDRVividColorTransformParams.variance_maxrgb` value.

type AVHMAC

type AVHMAC C.struct_AVHMAC

AVHMAC

func AvHmacAlloc

func AvHmacAlloc(_type AVHMACType) *AVHMAC

AvHmacAlloc allocates an AVHMAC context.

type AVHMACType

type AVHMACType = C.enum_AVHMACType

AVHMACType

type AVHWAccel

type AVHWAccel C.struct_AVHWAccel

AVHWAccel

func (*AVHWAccel) GetCapabilities

func (hwa *AVHWAccel) GetCapabilities() int32

GetCapabilities gets `AVHWAccel.capabilities` value.

func (*AVHWAccel) GetCapabilitiesAddr

func (hwa *AVHWAccel) GetCapabilitiesAddr() *int32

GetCapabilitiesAddr gets `AVHWAccel.capabilities` address.

func (*AVHWAccel) GetId

func (hwa *AVHWAccel) GetId() AVCodecID

GetId gets `AVHWAccel.id` value.

func (*AVHWAccel) GetIdAddr

func (hwa *AVHWAccel) GetIdAddr() *AVCodecID

GetIdAddr gets `AVHWAccel.id` address.

func (*AVHWAccel) GetName

func (hwa *AVHWAccel) GetName() string

GetName gets `AVHWAccel.name` value.

func (*AVHWAccel) GetPixFmt

func (hwa *AVHWAccel) GetPixFmt() AVPixelFormat

GetPixFmt gets `AVHWAccel.pix_fmt` value.

func (*AVHWAccel) GetPixFmtAddr

func (hwa *AVHWAccel) GetPixFmtAddr() *AVPixelFormat

GetPixFmtAddr gets `AVHWAccel.pix_fmt` address.

func (*AVHWAccel) GetType

func (hwa *AVHWAccel) GetType() AVMediaType

GetType gets `AVHWAccel.type` value.

func (*AVHWAccel) GetTypeAddr

func (hwa *AVHWAccel) GetTypeAddr() *AVMediaType

GetTypeAddr gets `AVHWAccel.type` address.

func (*AVHWAccel) SetCapabilities

func (hwa *AVHWAccel) SetCapabilities(v int32)

SetCapabilities sets `AVHWAccel.capabilities` value.

func (*AVHWAccel) SetId

func (hwa *AVHWAccel) SetId(v AVCodecID)

SetId sets `AVHWAccel.id` value.

func (*AVHWAccel) SetPixFmt

func (hwa *AVHWAccel) SetPixFmt(v AVPixelFormat)

SetPixFmt sets `AVHWAccel.pix_fmt` value.

func (*AVHWAccel) SetType

func (hwa *AVHWAccel) SetType(v AVMediaType)

SetType sets `AVHWAccel.type` value.

type AVHWDeviceContext

type AVHWDeviceContext C.struct_AVHWDeviceContext

AVHWDeviceContext

func (*AVHWDeviceContext) GetAvClass

func (dc *AVHWDeviceContext) GetAvClass() *AVClass

GetAvClass gets `AVHWDeviceContext.av_class` value.

func (*AVHWDeviceContext) GetAvClassAddr

func (dc *AVHWDeviceContext) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVHWDeviceContext.av_class` address.

func (*AVHWDeviceContext) GetHwctx

func (dc *AVHWDeviceContext) GetHwctx() unsafe.Pointer

GetHwctx gets `AVHWDeviceContext.hwctx` value.

func (*AVHWDeviceContext) GetHwctxAddr

func (dc *AVHWDeviceContext) GetHwctxAddr() *unsafe.Pointer

GetHwctxAddr gets `AVHWDeviceContext.hwctx` address.

func (*AVHWDeviceContext) GetType

func (dc *AVHWDeviceContext) GetType() AVHWDeviceType

GetType gets `AVHWDeviceContext.type` value.

func (*AVHWDeviceContext) GetTypeAddr

func (dc *AVHWDeviceContext) GetTypeAddr() *AVHWDeviceType

GetTypeAddr gets `AVHWDeviceContext.type` address.

func (*AVHWDeviceContext) GetUserOpaque

func (dc *AVHWDeviceContext) GetUserOpaque() unsafe.Pointer

GetUserOpaque gets `AVHWDeviceContext.user_opaque` value.

func (*AVHWDeviceContext) GetUserOpaqueAddr

func (dc *AVHWDeviceContext) GetUserOpaqueAddr() *unsafe.Pointer

GetUserOpaqueAddr gets `AVHWDeviceContext.user_opaque` address.

func (*AVHWDeviceContext) SetAvClass

func (dc *AVHWDeviceContext) SetAvClass(v *AVClass)

SetAvClass sets `AVHWDeviceContext.av_class` value.

func (*AVHWDeviceContext) SetFree

SetFree sets `AVHWDeviceContext.free` value.

func (*AVHWDeviceContext) SetHwctx

func (dc *AVHWDeviceContext) SetHwctx(v CVoidPointer)

SetHwctx sets `AVHWDeviceContext.hwctx` value.

func (*AVHWDeviceContext) SetType

func (dc *AVHWDeviceContext) SetType(v AVHWDeviceType)

SetType sets `AVHWDeviceContext.type` value.

func (*AVHWDeviceContext) SetUserOpaque

func (dc *AVHWDeviceContext) SetUserOpaque(v CVoidPointer)

SetUserOpaque sets `AVHWDeviceContext.user_opaque` value.

type AVHWDeviceContextFreeFunc

type AVHWDeviceContextFreeFunc = C.av_hw_device_context_free_func

typedef void (*av_hw_device_context_free_func)(struct AVHWDeviceContext *ctx);

type AVHWDeviceInternal

type AVHWDeviceInternal C.struct_AVHWDeviceInternal

AVHWDeviceInternal

type AVHWDeviceType

type AVHWDeviceType = C.enum_AVHWDeviceType

AVHWDeviceType

func AvHWDeviceFindTypeByName

func AvHWDeviceFindTypeByName(name string) AVHWDeviceType

AvHWDeviceFindTypeByName looks up an AVHWDeviceType by name.

func AvHWDeviceIterateTypes

func AvHWDeviceIterateTypes(prev AVHWDeviceType) AVHWDeviceType

AvHWDeviceIterateTypes iterates over supported device types.

type AVHWFrameTransferDirection

type AVHWFrameTransferDirection = C.enum_AVHWFrameTransferDirection

AVHWFrameTransferDirection

type AVHWFramesConstraints

type AVHWFramesConstraints C.struct_AVHWFramesConstraints

AVHWFramesConstraints

func AvHWDeviceGetHwframeConstraints

func AvHWDeviceGetHwframeConstraints(ref *AVBufferRef, hwconfig CVoidPointer) *AVHWFramesConstraints

AvHWDeviceGetHwframeConstraints

func (*AVHWFramesConstraints) GetMaxHeight

func (fcs *AVHWFramesConstraints) GetMaxHeight() int32

GetMaxHeight gets `AVHWFramesConstraints.max_height` value.

func (*AVHWFramesConstraints) GetMaxHeightAddr

func (fcs *AVHWFramesConstraints) GetMaxHeightAddr() *int32

GetMaxHeightAddr gets `AVHWFramesConstraints.max_height` address.

func (*AVHWFramesConstraints) GetMaxWidth

func (fcs *AVHWFramesConstraints) GetMaxWidth() int32

GetMaxWidth gets `AVHWFramesConstraints.max_width` value.

func (*AVHWFramesConstraints) GetMaxWidthAddr

func (fcs *AVHWFramesConstraints) GetMaxWidthAddr() *int32

GetMaxWidthAddr gets `AVHWFramesConstraints.max_width` address.

func (*AVHWFramesConstraints) GetMinHeight

func (fcs *AVHWFramesConstraints) GetMinHeight() int32

GetMinHeight gets `AVHWFramesConstraints.min_height` value.

func (*AVHWFramesConstraints) GetMinHeightAddr

func (fcs *AVHWFramesConstraints) GetMinHeightAddr() *int32

GetMinHeightAddr gets `AVHWFramesConstraints.min_height` address.

func (*AVHWFramesConstraints) GetMinWidth

func (fcs *AVHWFramesConstraints) GetMinWidth() int32

GetMinWidth gets `AVHWFramesConstraints.min_width` value.

func (*AVHWFramesConstraints) GetMinWidthAddr

func (fcs *AVHWFramesConstraints) GetMinWidthAddr() *int32

GetMinWidthAddr gets `AVHWFramesConstraints.min_width` address.

func (*AVHWFramesConstraints) GetValidHwFormats

func (fcs *AVHWFramesConstraints) GetValidHwFormats() []AVPixelFormat

GetValidHwFormats gets `AVHWFramesConstraints.valid_hw_formats` value.

func (*AVHWFramesConstraints) GetValidHwFormatsAddr

func (fcs *AVHWFramesConstraints) GetValidHwFormatsAddr() **AVPixelFormat

GetValidHwFormatsAddr gets `AVHWFramesConstraints.valid_hw_formats` address.

func (*AVHWFramesConstraints) GetValidSwFormats

func (fcs *AVHWFramesConstraints) GetValidSwFormats() []AVPixelFormat

GetValidSwFormats gets `AVHWFramesConstraints.valid_sw_formats` value.

func (*AVHWFramesConstraints) GetValidSwFormatsAddr

func (fcs *AVHWFramesConstraints) GetValidSwFormatsAddr() **AVPixelFormat

GetValidSwFormatsAddr gets `AVHWFramesConstraints.valid_sw_formats` address.

func (*AVHWFramesConstraints) SetMaxHeight

func (fcs *AVHWFramesConstraints) SetMaxHeight(v int32)

SetMaxHeight sets `AVHWFramesConstraints.max_height` value.

func (*AVHWFramesConstraints) SetMaxWidth

func (fcs *AVHWFramesConstraints) SetMaxWidth(v int32)

SetMaxWidth sets `AVHWFramesConstraints.max_width` value.

func (*AVHWFramesConstraints) SetMinHeight

func (fcs *AVHWFramesConstraints) SetMinHeight(v int32)

SetMinHeight sets `AVHWFramesConstraints.min_height` value.

func (*AVHWFramesConstraints) SetMinWidth

func (fcs *AVHWFramesConstraints) SetMinWidth(v int32)

SetMinWidth sets `AVHWFramesConstraints.min_width` value.

func (*AVHWFramesConstraints) SetValidHwFormats

func (fcs *AVHWFramesConstraints) SetValidHwFormats(v *AVPixelFormat)

SetValidHwFormats sets `AVHWFramesConstraints.valid_hw_formats` value.

func (*AVHWFramesConstraints) SetValidSwFormats

func (fcs *AVHWFramesConstraints) SetValidSwFormats(v *AVPixelFormat)

SetValidSwFormats sets `AVHWFramesConstraints.valid_sw_formats` value.

type AVHWFramesContext

type AVHWFramesContext C.struct_AVHWFramesContext

AVHWFramesContext

func (*AVHWFramesContext) GetAvClass

func (fc *AVHWFramesContext) GetAvClass() *AVClass

GetAvClass gets `AVHWFramesContext.av_class` value.

func (*AVHWFramesContext) GetAvClassAddr

func (fc *AVHWFramesContext) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVHWFramesContext.av_class` address.

func (*AVHWFramesContext) GetDeviceCtx

func (fc *AVHWFramesContext) GetDeviceCtx() *AVHWDeviceContext

GetDeviceCtx gets `AVHWFramesContext.device_ctx` value.

func (*AVHWFramesContext) GetDeviceCtxAddr

func (fc *AVHWFramesContext) GetDeviceCtxAddr() **AVHWDeviceContext

GetDeviceCtxAddr gets `AVHWFramesContext.device_ctx` address.

func (*AVHWFramesContext) GetDeviceRef

func (fc *AVHWFramesContext) GetDeviceRef() *AVBufferRef

GetDeviceRef gets `AVHWFramesContext.device_ref` value.

func (*AVHWFramesContext) GetDeviceRefAddr

func (fc *AVHWFramesContext) GetDeviceRefAddr() **AVBufferRef

GetDeviceRefAddr gets `AVHWFramesContext.device_ref` address.

func (*AVHWFramesContext) GetFormat

func (fc *AVHWFramesContext) GetFormat() AVPixelFormat

GetFormat gets `AVHWFramesContext.format` value.

func (*AVHWFramesContext) GetFormatAddr

func (fc *AVHWFramesContext) GetFormatAddr() *AVPixelFormat

GetFormatAddr gets `AVHWFramesContext.format` address.

func (*AVHWFramesContext) GetHeight

func (fc *AVHWFramesContext) GetHeight() int32

GetHeight gets `AVHWFramesContext.height` value.

func (*AVHWFramesContext) GetHeightAddr

func (fc *AVHWFramesContext) GetHeightAddr() *int32

GetHeightAddr gets `AVHWFramesContext.height` address.

func (*AVHWFramesContext) GetHwctx

func (fc *AVHWFramesContext) GetHwctx() unsafe.Pointer

GetHwctx gets `AVHWFramesContext.hwctx` value.

func (*AVHWFramesContext) GetHwctxAddr

func (fc *AVHWFramesContext) GetHwctxAddr() *unsafe.Pointer

GetHwctxAddr gets `AVHWFramesContext.hwctx` address.

func (*AVHWFramesContext) GetInitialPoolSize

func (fc *AVHWFramesContext) GetInitialPoolSize() int32

GetInitialPoolSize gets `AVHWFramesContext.initial_pool_size` value.

func (*AVHWFramesContext) GetInitialPoolSizeAddr

func (fc *AVHWFramesContext) GetInitialPoolSizeAddr() *int32

GetInitialPoolSizeAddr gets `AVHWFramesContext.initial_pool_size` address.

func (*AVHWFramesContext) GetPool

func (fc *AVHWFramesContext) GetPool() *AVBufferPool

GetPool gets `AVHWFramesContext.pool` value.

func (*AVHWFramesContext) GetPoolAddr

func (fc *AVHWFramesContext) GetPoolAddr() **AVBufferPool

GetPoolAddr gets `AVHWFramesContext.pool` address.

func (*AVHWFramesContext) GetSwFormat

func (fc *AVHWFramesContext) GetSwFormat() AVPixelFormat

GetSwFormat gets `AVHWFramesContext.sw_format` value.

func (*AVHWFramesContext) GetSwFormatAddr

func (fc *AVHWFramesContext) GetSwFormatAddr() *AVPixelFormat

GetSwFormatAddr gets `AVHWFramesContext.sw_format` address.

func (*AVHWFramesContext) GetUserOpaque

func (fc *AVHWFramesContext) GetUserOpaque() unsafe.Pointer

GetUserOpaque gets `AVHWFramesContext.user_opaque` value.

func (*AVHWFramesContext) GetUserOpaqueAddr

func (fc *AVHWFramesContext) GetUserOpaqueAddr() *unsafe.Pointer

GetUserOpaqueAddr gets `AVHWFramesContext.user_opaque` address.

func (*AVHWFramesContext) GetWidth

func (fc *AVHWFramesContext) GetWidth() int32

GetWidth gets `AVHWFramesContext.width` value.

func (*AVHWFramesContext) GetWidthAddr

func (fc *AVHWFramesContext) GetWidthAddr() *int32

GetWidthAddr gets `AVHWFramesContext.width` address.

func (*AVHWFramesContext) SetAvClass

func (fc *AVHWFramesContext) SetAvClass(v *AVClass)

SetAvClass sets `AVHWFramesContext.av_class` value.

func (*AVHWFramesContext) SetDeviceCtx

func (fc *AVHWFramesContext) SetDeviceCtx(v *AVHWDeviceContext)

SetDeviceCtx sets `AVHWFramesContext.device_ctx` value.

func (*AVHWFramesContext) SetDeviceRef

func (fc *AVHWFramesContext) SetDeviceRef(v *AVBufferRef)

SetDeviceRef sets `AVHWFramesContext.device_ref` value.

func (*AVHWFramesContext) SetFormat

func (fc *AVHWFramesContext) SetFormat(v AVPixelFormat)

SetFormat sets `AVHWFramesContext.format` value.

func (*AVHWFramesContext) SetFree

SetFree sets `AVHWFramesContext.free` value.

func (*AVHWFramesContext) SetHeight

func (fc *AVHWFramesContext) SetHeight(v int32)

SetHeight sets `AVHWFramesContext.height` value.

func (*AVHWFramesContext) SetHwctx

func (fc *AVHWFramesContext) SetHwctx(v CVoidPointer)

SetHwctx sets `AVHWFramesContext.hwctx` value.

func (*AVHWFramesContext) SetInitialPoolSize

func (fc *AVHWFramesContext) SetInitialPoolSize(v int32)

SetInitialPoolSize sets `AVHWFramesContext.initial_pool_size` value.

func (*AVHWFramesContext) SetPool

func (fc *AVHWFramesContext) SetPool(v *AVBufferPool)

SetPool sets `AVHWFramesContext.pool` value.

func (*AVHWFramesContext) SetSwFormat

func (fc *AVHWFramesContext) SetSwFormat(v AVPixelFormat)

SetSwFormat sets `AVHWFramesContext.sw_format` value.

func (*AVHWFramesContext) SetUserOpaque

func (fc *AVHWFramesContext) SetUserOpaque(v CVoidPointer)

SetUserOpaque sets `AVHWFramesContext.user_opaque` value.

func (*AVHWFramesContext) SetWidth

func (fc *AVHWFramesContext) SetWidth(v int32)

SetWidth sets `AVHWFramesContext.width` value.

type AVHWFramesContextFreeFunc

type AVHWFramesContextFreeFunc = C.av_hw_frames_context_free_func

typedef void (*av_hw_frames_context_free_func)(struct AVHWFramesContext *ctx);

type AVHWFramesInternal

type AVHWFramesInternal C.struct_AVHWFramesInternal

AVHWFramesInternal

type AVHashContext

type AVHashContext C.struct_AVHashContext

AVHashContext

type AVIAMFAmbisonicsMode added in v0.70.1

type AVIAMFAmbisonicsMode = C.enum_AVIAMFAmbisonicsMode

AVIAMFAmbisonicsMode

type AVIAMFAnimationType added in v0.70.1

type AVIAMFAnimationType = C.enum_AVIAMFAnimationType

AVIAMFAnimationType

type AVIAMFAudioElement added in v0.70.1

type AVIAMFAudioElement C.struct_AVIAMFAudioElement

AVIAMFAudioElement

func AvIamfAudioElementAlloc added in v0.70.1

func AvIamfAudioElementAlloc() *AVIAMFAudioElement

AvIamfAudioElementAlloc

func (*AVIAMFAudioElement) GetAudioElementType added in v0.70.1

func (aelm *AVIAMFAudioElement) GetAudioElementType() AVIAMFAudioElementType

GetAudioElementType gets `AVIAMFAudioElement.audio_element_type` value.

func (*AVIAMFAudioElement) GetAudioElementTypeAddr added in v0.70.1

func (aelm *AVIAMFAudioElement) GetAudioElementTypeAddr() *AVIAMFAudioElementType

GetAudioElementTypeAddr gets `AVIAMFAudioElement.audio_element_type` address.

func (*AVIAMFAudioElement) GetAvClass added in v0.70.1

func (aelm *AVIAMFAudioElement) GetAvClass() *AVClass

GetAvClass gets `AVIAMFAudioElement.av_class` value.

func (*AVIAMFAudioElement) GetAvClassAddr added in v0.70.1

func (aelm *AVIAMFAudioElement) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVIAMFAudioElement.av_class` address.

func (*AVIAMFAudioElement) GetDefaultW added in v0.70.1

func (aelm *AVIAMFAudioElement) GetDefaultW() uint32

GetDefaultW gets `AVIAMFAudioElement.default_w` value.

func (*AVIAMFAudioElement) GetDefaultWAddr added in v0.70.1

func (aelm *AVIAMFAudioElement) GetDefaultWAddr() *uint32

GetDefaultWAddr gets `AVIAMFAudioElement.default_w` address.

func (*AVIAMFAudioElement) GetDemixingInfo added in v0.70.1

func (aelm *AVIAMFAudioElement) GetDemixingInfo() *AVIAMFParamDefinition

GetDemixingInfo gets `AVIAMFAudioElement.demixing_info` value.

func (*AVIAMFAudioElement) GetDemixingInfoAddr added in v0.70.1

func (aelm *AVIAMFAudioElement) GetDemixingInfoAddr() **AVIAMFParamDefinition

GetDemixingInfoAddr gets `AVIAMFAudioElement.demixing_info` address.

func (*AVIAMFAudioElement) GetLayers added in v0.70.1

func (aelm *AVIAMFAudioElement) GetLayers() []*AVIAMFLayer

GetLayers gets `AVIAMFAudioElement.layers` value.

func (*AVIAMFAudioElement) GetLayersAddr added in v0.70.1

func (aelm *AVIAMFAudioElement) GetLayersAddr() ***AVIAMFLayer

GetLayersAddr gets `AVIAMFAudioElement.layers` address.

func (*AVIAMFAudioElement) GetNbLayers added in v0.70.1

func (aelm *AVIAMFAudioElement) GetNbLayers() uint32

GetNbLayers gets `AVIAMFAudioElement.nb_layers` value.

func (*AVIAMFAudioElement) GetNbLayersAddr added in v0.70.1

func (aelm *AVIAMFAudioElement) GetNbLayersAddr() *uint32

GetNbLayersAddr gets `AVIAMFAudioElement.nb_layers` address.

func (*AVIAMFAudioElement) GetReconGainInfo added in v0.70.1

func (aelm *AVIAMFAudioElement) GetReconGainInfo() *AVIAMFParamDefinition

GetReconGainInfo gets `AVIAMFAudioElement.recon_gain_info` value.

func (*AVIAMFAudioElement) GetReconGainInfoAddr added in v0.70.1

func (aelm *AVIAMFAudioElement) GetReconGainInfoAddr() **AVIAMFParamDefinition

GetReconGainInfoAddr gets `AVIAMFAudioElement.recon_gain_info` address.

func (*AVIAMFAudioElement) SetAudioElementType added in v0.70.1

func (aelm *AVIAMFAudioElement) SetAudioElementType(v AVIAMFAudioElementType)

SetAudioElementType sets `AVIAMFAudioElement.audio_element_type` value.

func (*AVIAMFAudioElement) SetAvClass added in v0.70.1

func (aelm *AVIAMFAudioElement) SetAvClass(v *AVClass)

SetAvClass sets `AVIAMFAudioElement.av_class` value.

func (*AVIAMFAudioElement) SetDefaultW added in v0.70.1

func (aelm *AVIAMFAudioElement) SetDefaultW(v uint32)

SetDefaultW sets `AVIAMFAudioElement.default_w` value.

func (*AVIAMFAudioElement) SetDemixingInfo added in v0.70.1

func (aelm *AVIAMFAudioElement) SetDemixingInfo(v *AVIAMFParamDefinition)

SetDemixingInfo sets `AVIAMFAudioElement.demixing_info` value.

func (*AVIAMFAudioElement) SetLayers added in v0.70.1

func (aelm *AVIAMFAudioElement) SetLayers(v **AVIAMFLayer)

SetLayers sets `AVIAMFAudioElement.layers` value.

func (*AVIAMFAudioElement) SetNbLayers added in v0.70.1

func (aelm *AVIAMFAudioElement) SetNbLayers(v uint32)

SetNbLayers sets `AVIAMFAudioElement.nb_layers` value.

func (*AVIAMFAudioElement) SetReconGainInfo added in v0.70.1

func (aelm *AVIAMFAudioElement) SetReconGainInfo(v *AVIAMFParamDefinition)

SetReconGainInfo sets `AVIAMFAudioElement.recon_gain_info` value.

type AVIAMFAudioElementType added in v0.70.1

type AVIAMFAudioElementType = C.enum_AVIAMFAudioElementType

AVIAMFAudioElementType

type AVIAMFDemixingInfo added in v0.70.1

type AVIAMFDemixingInfo C.struct_AVIAMFDemixingInfo

AVIAMFDemixingInfo

func (*AVIAMFDemixingInfo) DmixpModeGet added in v0.70.1

func (dmif *AVIAMFDemixingInfo) DmixpModeGet() uint32

GetDmixpMode gets `AVIAMFDemixingInfo.dmixp_mode` value.

func (*AVIAMFDemixingInfo) GetAvClass added in v0.70.1

func (dmif *AVIAMFDemixingInfo) GetAvClass() *AVClass

GetAvClass gets `AVIAMFDemixingInfo.av_class` value.

func (*AVIAMFDemixingInfo) GetAvClassAddr added in v0.70.1

func (dmif *AVIAMFDemixingInfo) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVIAMFDemixingInfo.av_class` address.

func (*AVIAMFDemixingInfo) GetDmixpModeAddr added in v0.70.1

func (dmif *AVIAMFDemixingInfo) GetDmixpModeAddr() *uint32

GetDmixpModeAddr gets `AVIAMFDemixingInfo.dmixp_mode` address.

func (*AVIAMFDemixingInfo) GetSubblockDurationAddr added in v0.70.1

func (dmif *AVIAMFDemixingInfo) GetSubblockDurationAddr() *uint32

GetSubblockDurationAddr gets `AVIAMFDemixingInfo.subblock_duration` address.

func (*AVIAMFDemixingInfo) SetAvClass added in v0.70.1

func (dmif *AVIAMFDemixingInfo) SetAvClass(v *AVClass)

SetAvClass sets `AVIAMFDemixingInfo.av_class` value.

func (*AVIAMFDemixingInfo) SetDmixpMode added in v0.70.1

func (dmif *AVIAMFDemixingInfo) SetDmixpMode(v uint32)

SetDmixpMode sets `AVIAMFDemixingInfo.dmixp_mode` value.

func (*AVIAMFDemixingInfo) SetSubblockDuration added in v0.70.1

func (dmif *AVIAMFDemixingInfo) SetSubblockDuration(v uint32)

SetSubblockDuration sets `AVIAMFDemixingInfo.subblock_duration` value.

func (*AVIAMFDemixingInfo) SubblockDurationGet added in v0.70.1

func (dmif *AVIAMFDemixingInfo) SubblockDurationGet() uint32

GetSubblockDuration gets `AVIAMFDemixingInfo.subblock_duration` value.

type AVIAMFHeadphonesMode added in v0.70.1

type AVIAMFHeadphonesMode = C.enum_AVIAMFHeadphonesMode

AVIAMFHeadphonesMode

type AVIAMFLayer added in v0.70.1

type AVIAMFLayer C.struct_AVIAMFLayer

AVIAMFLayer

func AvIamfAudioElementAddLayer added in v0.70.1

func AvIamfAudioElementAddLayer(audioElement *AVIAMFAudioElement) *AVIAMFLayer

AvIamfAudioElementAddLayer

func (*AVIAMFLayer) GetAmbisonicsMode added in v0.70.1

func (layer *AVIAMFLayer) GetAmbisonicsMode() AVIAMFAmbisonicsMode

GetAmbisonicsMode gets `AVIAMFLayer.ambisonics_mode` value.

func (*AVIAMFLayer) GetAmbisonicsModeAddr added in v0.70.1

func (layer *AVIAMFLayer) GetAmbisonicsModeAddr() *AVIAMFAmbisonicsMode

GetAmbisonicsModeAddr gets `AVIAMFLayer.ambisonics_mode` address.

func (*AVIAMFLayer) GetAvClass added in v0.70.1

func (layer *AVIAMFLayer) GetAvClass() *AVClass

GetAvClass gets `AVIAMFLayer.av_class` value.

func (*AVIAMFLayer) GetAvClassAddr added in v0.70.1

func (layer *AVIAMFLayer) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVIAMFLayer.av_class` address.

func (*AVIAMFLayer) GetChLayout added in v0.70.1

func (layer *AVIAMFLayer) GetChLayout() AVChannelLayout

GetChLayout gets `AVIAMFLayer.ch_layout` value.

func (*AVIAMFLayer) GetChLayoutAddr added in v0.70.1

func (layer *AVIAMFLayer) GetChLayoutAddr() *AVChannelLayout

GetChLayoutAddr gets `AVIAMFLayer.ch_layout` address.

func (*AVIAMFLayer) GetDemixingMatrix added in v0.70.1

func (layer *AVIAMFLayer) GetDemixingMatrix() *AVRational

GetDemixingMatrix gets `AVIAMFLayer.demixing_matrix` value.

func (*AVIAMFLayer) GetDemixingMatrixAddr added in v0.70.1

func (layer *AVIAMFLayer) GetDemixingMatrixAddr() **AVRational

GetDemixingMatrixAddr gets `AVIAMFLayer.demixing_matrix` address.

func (*AVIAMFLayer) GetFlags added in v0.70.1

func (layer *AVIAMFLayer) GetFlags() uint32

GetFlags gets `AVIAMFLayer.flags` value.

func (*AVIAMFLayer) GetFlagsAddr added in v0.70.1

func (layer *AVIAMFLayer) GetFlagsAddr() *uint32

GetFlagsAddr gets `AVIAMFLayer.flags` address.

func (*AVIAMFLayer) GetOutputGain added in v0.70.1

func (layer *AVIAMFLayer) GetOutputGain() AVRational

GetOutputGain gets `AVIAMFLayer.output_gain` value.

func (*AVIAMFLayer) GetOutputGainAddr added in v0.70.1

func (layer *AVIAMFLayer) GetOutputGainAddr() *AVRational

GetOutputGainAddr gets `AVIAMFLayer.output_gain` address.

func (*AVIAMFLayer) GetOutputGainFlags added in v0.70.1

func (layer *AVIAMFLayer) GetOutputGainFlags() uint32

GetOutputGainFlags gets `AVIAMFLayer.output_gain_flags` value.

func (*AVIAMFLayer) GetOutputGainFlagsAddr added in v0.70.1

func (layer *AVIAMFLayer) GetOutputGainFlagsAddr() *uint32

GetOutputGainFlagsAddr gets `AVIAMFLayer.output_gain_flags` address.

func (*AVIAMFLayer) SetAmbisonicsMode added in v0.70.1

func (layer *AVIAMFLayer) SetAmbisonicsMode(v AVIAMFAmbisonicsMode)

SetAmbisonicsMode sets `AVIAMFLayer.ambisonics_mode` value.

func (*AVIAMFLayer) SetAvClass added in v0.70.1

func (layer *AVIAMFLayer) SetAvClass(v *AVClass)

SetAvClass sets `AVIAMFLayer.av_class` value.

func (*AVIAMFLayer) SetChLayout added in v0.70.1

func (layer *AVIAMFLayer) SetChLayout(v AVChannelLayout)

SetChLayout sets `AVIAMFLayer.ch_layout` value.

func (*AVIAMFLayer) SetDemixingMatrix added in v0.70.1

func (layer *AVIAMFLayer) SetDemixingMatrix(v *AVRational)

SetDemixingMatrix sets `AVIAMFLayer.demixing_matrix` value.

func (*AVIAMFLayer) SetFlags added in v0.70.1

func (layer *AVIAMFLayer) SetFlags(v uint32)

SetFlags sets `AVIAMFLayer.flags` value.

func (*AVIAMFLayer) SetOutputGain added in v0.70.1

func (layer *AVIAMFLayer) SetOutputGain(v AVRational)

SetOutputGain sets `AVIAMFLayer.output_gain` value.

func (*AVIAMFLayer) SetOutputGainFlags added in v0.70.1

func (layer *AVIAMFLayer) SetOutputGainFlags(v uint32)

SetOutputGainFlags sets `AVIAMFLayer.output_gain_flags` value.

type AVIAMFMixGain added in v0.70.1

type AVIAMFMixGain C.struct_AVIAMFMixGain

AVIAMFMixGain

func (*AVIAMFMixGain) GetAnimationType added in v0.70.1

func (mxga *AVIAMFMixGain) GetAnimationType() AVIAMFAnimationType

GetAnimationType gets `AVIAMFMixGain.animation_type` value.

func (*AVIAMFMixGain) GetAnimationTypeAddr added in v0.70.1

func (mxga *AVIAMFMixGain) GetAnimationTypeAddr() *AVIAMFAnimationType

GetAnimationTypeAddr gets `AVIAMFMixGain.animation_type` address.

func (*AVIAMFMixGain) GetAvClass added in v0.70.1

func (mxga *AVIAMFMixGain) GetAvClass() *AVClass

GetAvClass gets `AVIAMFMixGain.*av_class` value.

func (*AVIAMFMixGain) GetAvClassAddr added in v0.70.1

func (mxga *AVIAMFMixGain) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVIAMFMixGain.*av_class` address.

func (*AVIAMFMixGain) GetControlPointRelativeTime added in v0.70.1

func (mxga *AVIAMFMixGain) GetControlPointRelativeTime() AVRational

GetControlPointRelativeTime gets `AVIAMFMixGain.control_point_relative_time` value.

func (*AVIAMFMixGain) GetControlPointRelativeTimeAddr added in v0.70.1

func (mxga *AVIAMFMixGain) GetControlPointRelativeTimeAddr() *AVRational

GetControlPointRelativeTimeAddr gets `AVIAMFMixGain.control_point_relative_time` address.

func (*AVIAMFMixGain) GetControlPointValue added in v0.70.1

func (mxga *AVIAMFMixGain) GetControlPointValue() AVRational

GetControlPointValue gets `AVIAMFMixGain.control_point_value` value.

func (*AVIAMFMixGain) GetControlPointValueAddr added in v0.70.1

func (mxga *AVIAMFMixGain) GetControlPointValueAddr() *AVRational

GetControlPointValueAddr gets `AVIAMFMixGain.control_point_value` address.

func (*AVIAMFMixGain) GetEndPointValue added in v0.70.1

func (mxga *AVIAMFMixGain) GetEndPointValue() AVRational

GetEndPointValue gets `AVIAMFMixGain.end_point_value` value.

func (*AVIAMFMixGain) GetEndPointValueAddr added in v0.70.1

func (mxga *AVIAMFMixGain) GetEndPointValueAddr() *AVRational

GetEndPointValueAddr gets `AVIAMFMixGain.end_point_value` address.

func (*AVIAMFMixGain) GetStartPointValue added in v0.70.1

func (mxga *AVIAMFMixGain) GetStartPointValue() AVRational

GetStartPointValue gets `AVIAMFMixGain.start_point_value` value.

func (*AVIAMFMixGain) GetStartPointValueAddr added in v0.70.1

func (mxga *AVIAMFMixGain) GetStartPointValueAddr() *AVRational

GetStartPointValueAddr gets `AVIAMFMixGain.start_point_value` address.

func (*AVIAMFMixGain) GetSubblockDuration added in v0.70.1

func (mxga *AVIAMFMixGain) GetSubblockDuration() uint32

GetSubblockDuration gets `AVIAMFMixGain.subblock_duration` value.

func (*AVIAMFMixGain) GetSubblockDurationAddr added in v0.70.1

func (mxga *AVIAMFMixGain) GetSubblockDurationAddr() *uint32

GetSubblockDurationAddr gets `AVIAMFMixGain.subblock_duration` address.

func (*AVIAMFMixGain) SetAnimationType added in v0.70.1

func (mxga *AVIAMFMixGain) SetAnimationType(v AVIAMFAnimationType)

SetAnimationType sets `AVIAMFMixGain.animation_type` value.

func (*AVIAMFMixGain) SetAvClass added in v0.70.1

func (mxga *AVIAMFMixGain) SetAvClass(v *AVClass)

SetAvClass sets `AVIAMFMixGain.*av_class` value.

func (*AVIAMFMixGain) SetControlPointRelativeTime added in v0.70.1

func (mxga *AVIAMFMixGain) SetControlPointRelativeTime(v AVRational)

SetControlPointRelativeTime sets `AVIAMFMixGain.control_point_relative_time` value.

func (*AVIAMFMixGain) SetControlPointValue added in v0.70.1

func (mxga *AVIAMFMixGain) SetControlPointValue(v AVRational)

SetControlPointValue sets `AVIAMFMixGain.control_point_value` value.

func (*AVIAMFMixGain) SetEndPointValue added in v0.70.1

func (mxga *AVIAMFMixGain) SetEndPointValue(v AVRational)

SetEndPointValue sets `AVIAMFMixGain.end_point_value` value.

func (*AVIAMFMixGain) SetStartPointValue added in v0.70.1

func (mxga *AVIAMFMixGain) SetStartPointValue(v AVRational)

SetStartPointValue sets `AVIAMFMixGain.start_point_value` value.

func (*AVIAMFMixGain) SetSubblockDuration added in v0.70.1

func (mxga *AVIAMFMixGain) SetSubblockDuration(v uint32)

SetSubblockDuration sets `AVIAMFMixGain.subblock_duration` value.

type AVIAMFMixPresentation added in v0.70.1

type AVIAMFMixPresentation C.struct_AVIAMFMixPresentation

AVIAMFMixPresentation

func AvIamfMixPresentationAlloc added in v0.70.1

func AvIamfMixPresentationAlloc() *AVIAMFMixPresentation

AvIamfMixPresentationAlloc allocates a AVIAMFMixPresentation, and initializes its fields with default values.

func (*AVIAMFMixPresentation) GetAnnotations added in v0.70.1

func (mpst *AVIAMFMixPresentation) GetAnnotations() *AVDictionary

GetAnnotations gets `AVIAMFMixPresentation.annotations` value.

func (*AVIAMFMixPresentation) GetAnnotationsAddr added in v0.70.1

func (mpst *AVIAMFMixPresentation) GetAnnotationsAddr() **AVDictionary

GetAnnotationsAddr gets `AVIAMFMixPresentation.annotations` address.

func (*AVIAMFMixPresentation) GetAvClass added in v0.70.1

func (mpst *AVIAMFMixPresentation) GetAvClass() *AVClass

GetAvClass gets `AVIAMFMixPresentation.av_class` value.

func (*AVIAMFMixPresentation) GetAvClassAddr added in v0.70.1

func (mpst *AVIAMFMixPresentation) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVIAMFMixPresentation.av_class` address.

func (*AVIAMFMixPresentation) GetNbSubmixes added in v0.70.1

func (mpst *AVIAMFMixPresentation) GetNbSubmixes() uint32

GetNbSubmixes gets `AVIAMFMixPresentation.nb_submixes` value.

func (*AVIAMFMixPresentation) GetNbSubmixesAddr added in v0.70.1

func (mpst *AVIAMFMixPresentation) GetNbSubmixesAddr() *uint32

GetNbSubmixesAddr gets `AVIAMFMixPresentation.nb_submixes` address.

func (*AVIAMFMixPresentation) GetSubmixes added in v0.70.1

func (mpst *AVIAMFMixPresentation) GetSubmixes() []*AVIAMFSubmix

GetSubmixes gets `AVIAMFMixPresentation.submixes` value.

func (*AVIAMFMixPresentation) GetSubmixesAddr added in v0.70.1

func (mpst *AVIAMFMixPresentation) GetSubmixesAddr() ***AVIAMFSubmix

GetSubmixesAddr gets `AVIAMFMixPresentation.submixes` address.

func (*AVIAMFMixPresentation) SetAnnotations added in v0.70.1

func (mpst *AVIAMFMixPresentation) SetAnnotations(v *AVDictionary)

SetAnnotations sets `AVIAMFMixPresentation.annotations` value.

func (*AVIAMFMixPresentation) SetAvClass added in v0.70.1

func (mpst *AVIAMFMixPresentation) SetAvClass(v *AVClass)

SetAvClass sets `AVIAMFMixPresentation.av_class` value.

func (*AVIAMFMixPresentation) SetNbSubmixes added in v0.70.1

func (mpst *AVIAMFMixPresentation) SetNbSubmixes(v uint32)

SetNbSubmixes sets `AVIAMFMixPresentation.nb_submixes` value.

func (*AVIAMFMixPresentation) SetSubmixes added in v0.70.1

func (mpst *AVIAMFMixPresentation) SetSubmixes(v **AVIAMFSubmix)

SetSubmixes sets `AVIAMFMixPresentation.submixes` value.

type AVIAMFParamDefinition added in v0.70.1

type AVIAMFParamDefinition C.struct_AVIAMFParamDefinition

AVIAMFParamDefinition

func AvIamfParamDefinitionAlloc added in v0.70.1

func AvIamfParamDefinitionAlloc(_type AVIAMFParamDefinitionType,
	nbSubblocks uint32, size *uintptr) *AVIAMFParamDefinition

AvIamfParamDefinitionAlloc allocates memory for AVIAMFParamDefinition.

func (*AVIAMFParamDefinition) ConstantSubblockDurationGet added in v0.70.1

func (pdef *AVIAMFParamDefinition) ConstantSubblockDurationGet() uint32

GetConstantSubblockDuration gets `AVIAMFParamDefinition.constant_subblock_duration` value.

func (*AVIAMFParamDefinition) DurationGet added in v0.70.1

func (pdef *AVIAMFParamDefinition) DurationGet() uint32

GetDuration gets `AVIAMFParamDefinition.duration` value.

func (*AVIAMFParamDefinition) GetAvClass added in v0.70.1

func (pdef *AVIAMFParamDefinition) GetAvClass() *AVClass

GetAvClass gets `AVIAMFParamDefinition.av_class` value.

func (*AVIAMFParamDefinition) GetAvClassAddr added in v0.70.1

func (pdef *AVIAMFParamDefinition) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVIAMFParamDefinition.av_class` address.

func (*AVIAMFParamDefinition) GetConstantSubblockDurationAddr added in v0.70.1

func (pdef *AVIAMFParamDefinition) GetConstantSubblockDurationAddr() *uint32

GetConstantSubblockDurationAddr gets `AVIAMFParamDefinition.constant_subblock_duration` address.

func (*AVIAMFParamDefinition) GetDurationAddr added in v0.70.1

func (pdef *AVIAMFParamDefinition) GetDurationAddr() *uint32

GetDurationAddr gets `AVIAMFParamDefinition.duration` address.

func (*AVIAMFParamDefinition) GetNbSubblocksAddr added in v0.70.1

func (pdef *AVIAMFParamDefinition) GetNbSubblocksAddr() *uint32

GetNbSubblocksAddr gets `AVIAMFParamDefinition.nb_subblocks` address.

func (*AVIAMFParamDefinition) GetParameterIdAddr added in v0.70.1

func (pdef *AVIAMFParamDefinition) GetParameterIdAddr() *uint32

GetParameterIdAddr gets `AVIAMFParamDefinition.parameter_id` address.

func (*AVIAMFParamDefinition) GetParameterRateAddr added in v0.70.1

func (pdef *AVIAMFParamDefinition) GetParameterRateAddr() *uint32

GetParameterRateAddr gets `AVIAMFParamDefinition.parameter_rate` address.

func (*AVIAMFParamDefinition) GetSubblockSizeAddr added in v0.70.1

func (pdef *AVIAMFParamDefinition) GetSubblockSizeAddr() *uintptr

GetSubblockSizeAddr gets `AVIAMFParamDefinition.subblock_size` address.

func (*AVIAMFParamDefinition) GetSubblocksOffsetAddr added in v0.70.1

func (pdef *AVIAMFParamDefinition) GetSubblocksOffsetAddr() *uintptr

GetSubblocksOffsetAddr gets `AVIAMFParamDefinition.subblocks_offset` address.

func (*AVIAMFParamDefinition) GetTypeAddr added in v0.70.1

func (pdef *AVIAMFParamDefinition) GetTypeAddr() *AVIAMFParamDefinitionType

GetTypeAddr gets `AVIAMFParamDefinition.type` address.

func (*AVIAMFParamDefinition) NbSubblocksGet added in v0.70.1

func (pdef *AVIAMFParamDefinition) NbSubblocksGet() uint32

GetNbSubblocks gets `AVIAMFParamDefinition.nb_subblocks` value.

func (*AVIAMFParamDefinition) ParameterIdGet added in v0.70.1

func (pdef *AVIAMFParamDefinition) ParameterIdGet() uint32

GetParameterId gets `AVIAMFParamDefinition.parameter_id` value.

func (*AVIAMFParamDefinition) ParameterRateGet added in v0.70.1

func (pdef *AVIAMFParamDefinition) ParameterRateGet() uint32

GetParameterRate gets `AVIAMFParamDefinition.parameter_rate` value.

func (*AVIAMFParamDefinition) SetAvClass added in v0.70.1

func (pdef *AVIAMFParamDefinition) SetAvClass(v *AVClass)

SetAvClass sets `AVIAMFParamDefinition.av_class` value.

func (*AVIAMFParamDefinition) SetConstantSubblockDuration added in v0.70.1

func (pdef *AVIAMFParamDefinition) SetConstantSubblockDuration(v uint32)

SetConstantSubblockDuration sets `AVIAMFParamDefinition.constant_subblock_duration` value.

func (*AVIAMFParamDefinition) SetDuration added in v0.70.1

func (pdef *AVIAMFParamDefinition) SetDuration(v uint32)

SetDuration sets `AVIAMFParamDefinition.duration` value.

func (*AVIAMFParamDefinition) SetNbSubblocks added in v0.70.1

func (pdef *AVIAMFParamDefinition) SetNbSubblocks(v uint32)

SetNbSubblocks sets `AVIAMFParamDefinition.nb_subblocks` value.

func (*AVIAMFParamDefinition) SetParameterId added in v0.70.1

func (pdef *AVIAMFParamDefinition) SetParameterId(v uint32)

SetParameterId sets `AVIAMFParamDefinition.parameter_id` value.

func (*AVIAMFParamDefinition) SetParameterRate added in v0.70.1

func (pdef *AVIAMFParamDefinition) SetParameterRate(v uint32)

SetParameterRate sets `AVIAMFParamDefinition.parameter_rate` value.

func (*AVIAMFParamDefinition) SetSubblockSize added in v0.70.1

func (pdef *AVIAMFParamDefinition) SetSubblockSize(v uintptr)

SetSubblockSize sets `AVIAMFParamDefinition.subblock_size` value.

func (*AVIAMFParamDefinition) SetSubblocksOffset added in v0.70.1

func (pdef *AVIAMFParamDefinition) SetSubblocksOffset(v uintptr)

SetSubblocksOffset sets `AVIAMFParamDefinition.subblocks_offset` value.

func (*AVIAMFParamDefinition) SetType added in v0.70.1

SetType sets `AVIAMFParamDefinition.type` value.

func (*AVIAMFParamDefinition) SubblockSizeGet added in v0.70.1

func (pdef *AVIAMFParamDefinition) SubblockSizeGet() uintptr

GetSubblockSize gets `AVIAMFParamDefinition.subblock_size` value.

func (*AVIAMFParamDefinition) SubblocksOffsetGet added in v0.70.1

func (pdef *AVIAMFParamDefinition) SubblocksOffsetGet() uintptr

GetSubblocksOffset gets `AVIAMFParamDefinition.subblocks_offset` value.

func (*AVIAMFParamDefinition) TypeGet added in v0.70.1

GetType gets `AVIAMFParamDefinition.type` value.

type AVIAMFParamDefinitionType added in v0.70.1

type AVIAMFParamDefinitionType = C.enum_AVIAMFParamDefinitionType

AVIAMFParamDefinitionType

type AVIAMFReconGain added in v0.70.1

type AVIAMFReconGain C.struct_AVIAMFReconGain

AVIAMFReconGain

func (*AVIAMFReconGain) GetAvClass added in v0.70.1

func (rcgn *AVIAMFReconGain) GetAvClass() *AVClass

GetAvClass gets `AVIAMFReconGain.av_class` value.

func (*AVIAMFReconGain) GetAvClassAddr added in v0.70.1

func (rcgn *AVIAMFReconGain) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVIAMFReconGain.av_class` address.

func (*AVIAMFReconGain) GetReconGain added in v0.70.1

func (rcgn *AVIAMFReconGain) GetReconGain() (v [][]uint8)

GetReconGain gets `AVIAMFReconGain.recon_gain` value.

func (*AVIAMFReconGain) GetReconGainAddr added in v0.70.1

func (rcgn *AVIAMFReconGain) GetReconGainAddr() **uint8

GetReconGainAddr gets `AVIAMFReconGain.recon_gain` address.

func (*AVIAMFReconGain) GetSubblockDuration added in v0.70.1

func (rcgn *AVIAMFReconGain) GetSubblockDuration() uint32

GetSubblockDuration gets `AVIAMFReconGain.subblock_duration` value.

func (*AVIAMFReconGain) GetSubblockDurationAddr added in v0.70.1

func (rcgn *AVIAMFReconGain) GetSubblockDurationAddr() *uint32

GetSubblockDurationAddr gets `AVIAMFReconGain.subblock_duration` address.

func (*AVIAMFReconGain) SetAvClass added in v0.70.1

func (rcgn *AVIAMFReconGain) SetAvClass(v *AVClass)

SetAvClass sets `AVIAMFReconGain.av_class` value.

func (*AVIAMFReconGain) SetReconGain added in v0.70.1

func (rcgn *AVIAMFReconGain) SetReconGain(v [][]uint8)

SetReconGain sets `AVIAMFReconGain.recon_gain` value.

func (*AVIAMFReconGain) SetSubblockDuration added in v0.70.1

func (rcgn *AVIAMFReconGain) SetSubblockDuration(v uint32)

SetSubblockDuration sets `AVIAMFReconGain.subblock_duration` value.

type AVIAMFSubmix added in v0.70.1

type AVIAMFSubmix C.struct_AVIAMFSubmix

AVIAMFSubmix

func AvIamfMixPresentationAddSubmix added in v0.70.1

func AvIamfMixPresentationAddSubmix(mixPresentation *AVIAMFMixPresentation) *AVIAMFSubmix

AvIamfMixPresentationAddSubmix allocates a submix and add it to a given AVIAMFMixPresentation.

func (*AVIAMFSubmix) GetAvClass added in v0.70.1

func (smix *AVIAMFSubmix) GetAvClass() *AVClass

GetAvClass gets `AVIAMFSubmix.av_class` value.

func (*AVIAMFSubmix) GetAvClassAddr added in v0.70.1

func (smix *AVIAMFSubmix) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVIAMFSubmix.av_class` address.

func (*AVIAMFSubmix) GetDefaultMixGain added in v0.70.1

func (smix *AVIAMFSubmix) GetDefaultMixGain() AVRational

GetDefaultMixGain gets `AVIAMFSubmix.default_mix_gain` value.

func (*AVIAMFSubmix) GetDefaultMixGainAddr added in v0.70.1

func (smix *AVIAMFSubmix) GetDefaultMixGainAddr() *AVRational

GetDefaultMixGainAddr gets `AVIAMFSubmix.default_mix_gain` address.

func (*AVIAMFSubmix) GetElements added in v0.70.1

func (smix *AVIAMFSubmix) GetElements() []*AVIAMFSubmixElement

GetElements gets `AVIAMFSubmix.elements` value.

func (*AVIAMFSubmix) GetElementsAddr added in v0.70.1

func (smix *AVIAMFSubmix) GetElementsAddr() ***AVIAMFSubmixElement

GetElementsAddr gets `AVIAMFSubmix.elements` address.

func (*AVIAMFSubmix) GetLayouts added in v0.70.1

func (smix *AVIAMFSubmix) GetLayouts() []*AVIAMFSubmixLayout

GetLayouts gets `AVIAMFSubmix.layouts` value.

func (*AVIAMFSubmix) GetLayoutsAddr added in v0.70.1

func (smix *AVIAMFSubmix) GetLayoutsAddr() ***AVIAMFSubmixLayout

GetLayoutsAddr gets `AVIAMFSubmix.layouts` address.

func (*AVIAMFSubmix) GetNbElements added in v0.70.1

func (smix *AVIAMFSubmix) GetNbElements() uint32

GetNbElements gets `AVIAMFSubmix.nb_elements` value.

func (*AVIAMFSubmix) GetNbElementsAddr added in v0.70.1

func (smix *AVIAMFSubmix) GetNbElementsAddr() *uint32

GetNbElementsAddr gets `AVIAMFSubmix.nb_elements` address.

func (*AVIAMFSubmix) GetNbLayouts added in v0.70.1

func (smix *AVIAMFSubmix) GetNbLayouts() uint32

GetNbLayouts gets `AVIAMFSubmix.nb_layouts` value.

func (*AVIAMFSubmix) GetNbLayoutsAddr added in v0.70.1

func (smix *AVIAMFSubmix) GetNbLayoutsAddr() *uint32

GetNbLayoutsAddr gets `AVIAMFSubmix.nb_layouts` address.

func (*AVIAMFSubmix) GetOutputMixConfig added in v0.70.1

func (smix *AVIAMFSubmix) GetOutputMixConfig() *AVIAMFParamDefinition

GetOutputMixConfig gets `AVIAMFSubmix.output_mix_config` value.

func (*AVIAMFSubmix) GetOutputMixConfigAddr added in v0.70.1

func (smix *AVIAMFSubmix) GetOutputMixConfigAddr() **AVIAMFParamDefinition

GetOutputMixConfigAddr gets `AVIAMFSubmix.output_mix_config` address.

func (*AVIAMFSubmix) SetAvClass added in v0.70.1

func (smix *AVIAMFSubmix) SetAvClass(v *AVClass)

SetAvClass sets `AVIAMFSubmix.av_class` value.

func (*AVIAMFSubmix) SetDefaultMixGain added in v0.70.1

func (smix *AVIAMFSubmix) SetDefaultMixGain(v AVRational)

SetDefaultMixGain sets `AVIAMFSubmix.default_mix_gain` value.

func (*AVIAMFSubmix) SetElements added in v0.70.1

func (smix *AVIAMFSubmix) SetElements(v **AVIAMFSubmixElement)

SetElements sets `AVIAMFSubmix.elements` value.

func (*AVIAMFSubmix) SetLayouts added in v0.70.1

func (smix *AVIAMFSubmix) SetLayouts(v **AVIAMFSubmixLayout)

SetLayouts sets `AVIAMFSubmix.layouts` value.

func (*AVIAMFSubmix) SetNbElements added in v0.70.1

func (smix *AVIAMFSubmix) SetNbElements(v uint32)

SetNbElements sets `AVIAMFSubmix.nb_elements` value.

func (*AVIAMFSubmix) SetNbLayouts added in v0.70.1

func (smix *AVIAMFSubmix) SetNbLayouts(v uint32)

SetNbLayouts sets `AVIAMFSubmix.nb_layouts` value.

func (*AVIAMFSubmix) SetOutputMixConfig added in v0.70.1

func (smix *AVIAMFSubmix) SetOutputMixConfig(v *AVIAMFParamDefinition)

SetOutputMixConfig sets `AVIAMFSubmix.output_mix_config` value.

type AVIAMFSubmixElement added in v0.70.1

type AVIAMFSubmixElement C.struct_AVIAMFSubmixElement

AVIAMFSubmixElement

func AvIamfSubmixAddElement added in v0.70.1

func AvIamfSubmixAddElement(submix *AVIAMFSubmix) *AVIAMFSubmixElement

AvIamfSubmixAddElement allocates a submix element and add it to a given AVIAMFSubmix.

func (*AVIAMFSubmixElement) GetAnnotations added in v0.70.1

func (smel *AVIAMFSubmixElement) GetAnnotations() *AVDictionary

GetAnnotations gets `AVIAMFSubmixElement.annotations` value.

func (*AVIAMFSubmixElement) GetAnnotationsAddr added in v0.70.1

func (smel *AVIAMFSubmixElement) GetAnnotationsAddr() **AVDictionary

GetAnnotationsAddr gets `AVIAMFSubmixElement.annotations` address.

func (*AVIAMFSubmixElement) GetAudioElementId added in v0.70.1

func (smel *AVIAMFSubmixElement) GetAudioElementId() uint32

GetAudioElementId gets `AVIAMFSubmixElement.audio_element_id` value.

func (*AVIAMFSubmixElement) GetAudioElementIdAddr added in v0.70.1

func (smel *AVIAMFSubmixElement) GetAudioElementIdAddr() *uint32

GetAudioElementIdAddr gets `AVIAMFSubmixElement.audio_element_id` address.

func (*AVIAMFSubmixElement) GetAvClass added in v0.70.1

func (smel *AVIAMFSubmixElement) GetAvClass() *AVClass

GetAvClass gets `AVIAMFSubmixElement.av_class` value.

func (*AVIAMFSubmixElement) GetAvClassAddr added in v0.70.1

func (smel *AVIAMFSubmixElement) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVIAMFSubmixElement.av_class` address.

func (*AVIAMFSubmixElement) GetDefaultMixGain added in v0.70.1

func (smel *AVIAMFSubmixElement) GetDefaultMixGain() AVRational

GetDefaultMixGain gets `AVIAMFSubmixElement.default_mix_gain` value.

func (*AVIAMFSubmixElement) GetDefaultMixGainAddr added in v0.70.1

func (smel *AVIAMFSubmixElement) GetDefaultMixGainAddr() *AVRational

GetDefaultMixGainAddr gets `AVIAMFSubmixElement.default_mix_gain` address.

func (*AVIAMFSubmixElement) GetElementMixConfig added in v0.70.1

func (smel *AVIAMFSubmixElement) GetElementMixConfig() *AVIAMFParamDefinition

GetElementMixConfig gets `AVIAMFSubmixElement.element_mix_config` value.

func (*AVIAMFSubmixElement) GetElementMixConfigAddr added in v0.70.1

func (smel *AVIAMFSubmixElement) GetElementMixConfigAddr() **AVIAMFParamDefinition

GetElementMixConfigAddr gets `AVIAMFSubmixElement.element_mix_config` address.

func (*AVIAMFSubmixElement) GetHeadphonesRenderingMode added in v0.70.1

func (smel *AVIAMFSubmixElement) GetHeadphonesRenderingMode() AVIAMFHeadphonesMode

GetHeadphonesRenderingMode gets `AVIAMFSubmixElement.headphones_rendering_mode` value.

func (*AVIAMFSubmixElement) GetHeadphonesRenderingModeAddr added in v0.70.1

func (smel *AVIAMFSubmixElement) GetHeadphonesRenderingModeAddr() *AVIAMFHeadphonesMode

GetHeadphonesRenderingModeAddr gets `AVIAMFSubmixElement.headphones_rendering_mode` address.

func (*AVIAMFSubmixElement) SetAnnotations added in v0.70.1

func (smel *AVIAMFSubmixElement) SetAnnotations(v *AVDictionary)

SetAnnotations sets `AVIAMFSubmixElement.annotations` value.

func (*AVIAMFSubmixElement) SetAudioElementId added in v0.70.1

func (smel *AVIAMFSubmixElement) SetAudioElementId(v uint32)

SetAudioElementId sets `AVIAMFSubmixElement.audio_element_id` value.

func (*AVIAMFSubmixElement) SetAvClass added in v0.70.1

func (smel *AVIAMFSubmixElement) SetAvClass(v *AVClass)

SetAvClass sets `AVIAMFSubmixElement.av_class` value.

func (*AVIAMFSubmixElement) SetDefaultMixGain added in v0.70.1

func (smel *AVIAMFSubmixElement) SetDefaultMixGain(v AVRational)

SetDefaultMixGain sets `AVIAMFSubmixElement.default_mix_gain` value.

func (*AVIAMFSubmixElement) SetElementMixConfig added in v0.70.1

func (smel *AVIAMFSubmixElement) SetElementMixConfig(v *AVIAMFParamDefinition)

SetElementMixConfig sets `AVIAMFSubmixElement.element_mix_config` value.

func (*AVIAMFSubmixElement) SetHeadphonesRenderingMode added in v0.70.1

func (smel *AVIAMFSubmixElement) SetHeadphonesRenderingMode(v AVIAMFHeadphonesMode)

SetHeadphonesRenderingMode sets `AVIAMFSubmixElement.headphones_rendering_mode` value.

type AVIAMFSubmixLayout added in v0.70.1

type AVIAMFSubmixLayout C.struct_AVIAMFSubmixLayout

AVIAMFSubmixLayout

func AvIamfSubmixAddLayout added in v0.70.1

func AvIamfSubmixAddLayout(submix *AVIAMFSubmix) *AVIAMFSubmixLayout

AvIamfSubmixAddLayout allocates a submix layout and add it to a given AVIAMFSubmix.

func (*AVIAMFSubmixLayout) GetAlbumAnchoredLoudness added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetAlbumAnchoredLoudness() AVRational

GetAlbumAnchoredLoudness gets `AVIAMFSubmixLayout.album_anchored_loudness` value.

func (*AVIAMFSubmixLayout) GetAlbumAnchoredLoudnessAddr added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetAlbumAnchoredLoudnessAddr() *AVRational

GetAlbumAnchoredLoudnessAddr gets `AVIAMFSubmixLayout.album_anchored_loudness` address.

func (*AVIAMFSubmixLayout) GetAvClass added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetAvClass() *AVClass

GetAvClass gets `AVIAMFSubmixLayout.av_class` value.

func (*AVIAMFSubmixLayout) GetAvClassAddr added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVIAMFSubmixLayout.av_class` address.

func (*AVIAMFSubmixLayout) GetDialogueAnchoredLoudness added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetDialogueAnchoredLoudness() AVRational

GetDialogueAnchoredLoudness gets `AVIAMFSubmixLayout.dialogue_anchored_loudness` value.

func (*AVIAMFSubmixLayout) GetDialogueAnchoredLoudnessAddr added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetDialogueAnchoredLoudnessAddr() *AVRational

GetDialogueAnchoredLoudnessAddr gets `AVIAMFSubmixLayout.dialogue_anchored_loudness` address.

func (*AVIAMFSubmixLayout) GetDigitalPeak added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetDigitalPeak() AVRational

GetDigitalPeak gets `AVIAMFSubmixLayout.digital_peak` value.

func (*AVIAMFSubmixLayout) GetDigitalPeakAddr added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetDigitalPeakAddr() *AVRational

GetDigitalPeakAddr gets `AVIAMFSubmixLayout.digital_peak` address.

func (*AVIAMFSubmixLayout) GetIntegratedLoudness added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetIntegratedLoudness() AVRational

GetIntegratedLoudness gets `AVIAMFSubmixLayout.integrated_loudness` value.

func (*AVIAMFSubmixLayout) GetIntegratedLoudnessAddr added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetIntegratedLoudnessAddr() *AVRational

GetIntegratedLoudnessAddr gets `AVIAMFSubmixLayout.integrated_loudness` address.

func (*AVIAMFSubmixLayout) GetLayoutType added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetLayoutType() AVIAMFSubmixLayoutType

GetLayoutType gets `AVIAMFSubmixLayout.layout_type` value.

func (*AVIAMFSubmixLayout) GetLayoutTypeAddr added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetLayoutTypeAddr() *AVIAMFSubmixLayoutType

GetLayoutTypeAddr gets `AVIAMFSubmixLayout.layout_type` address.

func (*AVIAMFSubmixLayout) GetSoundSystem added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetSoundSystem() AVChannelLayout

GetSoundSystem gets `AVIAMFSubmixLayout.sound_system` value.

func (*AVIAMFSubmixLayout) GetSoundSystemAddr added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetSoundSystemAddr() *AVChannelLayout

GetSoundSystemAddr gets `AVIAMFSubmixLayout.sound_system` address.

func (*AVIAMFSubmixLayout) GetTruePeak added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetTruePeak() AVRational

GetTruePeak gets `AVIAMFSubmixLayout.true_peak` value.

func (*AVIAMFSubmixLayout) GetTruePeakAddr added in v0.70.1

func (smlo *AVIAMFSubmixLayout) GetTruePeakAddr() *AVRational

GetTruePeakAddr gets `AVIAMFSubmixLayout.true_peak` address.

func (*AVIAMFSubmixLayout) SetAlbumAnchoredLoudness added in v0.70.1

func (smlo *AVIAMFSubmixLayout) SetAlbumAnchoredLoudness(v AVRational)

SetAlbumAnchoredLoudness sets `AVIAMFSubmixLayout.album_anchored_loudness` value.

func (*AVIAMFSubmixLayout) SetAvClass added in v0.70.1

func (smlo *AVIAMFSubmixLayout) SetAvClass(v *AVClass)

SetAvClass sets `AVIAMFSubmixLayout.av_class` value.

func (*AVIAMFSubmixLayout) SetDialogueAnchoredLoudness added in v0.70.1

func (smlo *AVIAMFSubmixLayout) SetDialogueAnchoredLoudness(v AVRational)

SetDialogueAnchoredLoudness sets `AVIAMFSubmixLayout.dialogue_anchored_loudness` value.

func (*AVIAMFSubmixLayout) SetDigitalPeak added in v0.70.1

func (smlo *AVIAMFSubmixLayout) SetDigitalPeak(v AVRational)

SetDigitalPeak sets `AVIAMFSubmixLayout.digital_peak` value.

func (*AVIAMFSubmixLayout) SetIntegratedLoudness added in v0.70.1

func (smlo *AVIAMFSubmixLayout) SetIntegratedLoudness(v AVRational)

SetIntegratedLoudness sets `AVIAMFSubmixLayout.integrated_loudness` value.

func (*AVIAMFSubmixLayout) SetLayoutType added in v0.70.1

func (smlo *AVIAMFSubmixLayout) SetLayoutType(v AVIAMFSubmixLayoutType)

SetLayoutType sets `AVIAMFSubmixLayout.layout_type` value.

func (*AVIAMFSubmixLayout) SetSoundSystem added in v0.70.1

func (smlo *AVIAMFSubmixLayout) SetSoundSystem(v AVChannelLayout)

SetSoundSystem sets `AVIAMFSubmixLayout.sound_system` value.

func (*AVIAMFSubmixLayout) SetTruePeak added in v0.70.1

func (smlo *AVIAMFSubmixLayout) SetTruePeak(v AVRational)

SetTruePeak sets `AVIAMFSubmixLayout.true_peak` value.

type AVIAMFSubmixLayoutType added in v0.70.1

type AVIAMFSubmixLayoutType = C.enum_AVIAMFSubmixLayoutType

AVIAMFSubmixLayoutType

type AVIOContext

type AVIOContext C.struct_AVIOContext

AVIOContext

func AvIOAllocContext

func AvIOAllocContext(buffer *uint8, bufferSize, writeFlag int32,
	opaque CVoidPointer,
	readPacket AVIOContextReadPacketFunc,
	writePacket AVIOContextWritePacketFunc,
	seek AVIOContextSeekFunc) *AVIOContext

AvIOAllocContext sllocates and initialize an AVIOContext for buffered I/O. It must be later freed with AVIOContextFree().

func (*AVIOContext) GetAvClass

func (ctx *AVIOContext) GetAvClass() *AVClass

GetAvClass gets `AVIOContext.av_class` value.

func (*AVIOContext) GetAvClassAddr

func (ctx *AVIOContext) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVIOContext.av_class` address.

func (*AVIOContext) GetBufEnd

func (ctx *AVIOContext) GetBufEnd() *uint8

GetBufEnd gets `AVIOContext.buf_end` value.

func (*AVIOContext) GetBufEndAddr

func (ctx *AVIOContext) GetBufEndAddr() **uint8

GetBufEndAddr gets `AVIOContext.buf_end` address.

func (*AVIOContext) GetBufPtr

func (ctx *AVIOContext) GetBufPtr() *uint8

GetBufPtr gets `AVIOContext.buf_ptr` value.

func (*AVIOContext) GetBufPtrAddr

func (ctx *AVIOContext) GetBufPtrAddr() **uint8

GetBufPtrAddr gets `AVIOContext.buf_ptr` address.

func (*AVIOContext) GetBufPtrMax

func (ctx *AVIOContext) GetBufPtrMax() *uint8

GetBufPtrMax gets `AVIOContext.buf_ptr_max` value.

func (*AVIOContext) GetBufPtrMaxAddr

func (ctx *AVIOContext) GetBufPtrMaxAddr() **uint8

GetBufPtrMaxAddr gets `AVIOContext.buf_ptr_max` address.

func (*AVIOContext) GetBuffer

func (ctx *AVIOContext) GetBuffer() *uint8

GetBuffer gets `AVIOContext.buffer` value.

func (*AVIOContext) GetBufferAddr

func (ctx *AVIOContext) GetBufferAddr() **uint8

GetBufferAddr gets `AVIOContext.buffer` address.

func (*AVIOContext) GetBufferSize

func (ctx *AVIOContext) GetBufferSize() int32

GetBufferSize gets `AVIOContext.buffer_size` value.

func (*AVIOContext) GetBufferSizeAddr

func (ctx *AVIOContext) GetBufferSizeAddr() *int32

GetBufferSizeAddr gets `AVIOContext.buffer_size` address.

func (*AVIOContext) GetBytesRead

func (ctx *AVIOContext) GetBytesRead() int64

GetBytesRead gets `AVIOContext.bytes_read` value.

func (*AVIOContext) GetBytesReadAddr

func (ctx *AVIOContext) GetBytesReadAddr() *int64

GetBytesReadAddr gets `AVIOContext.bytes_read` address.

func (*AVIOContext) GetBytesWritten added in v0.50.1

func (ctx *AVIOContext) GetBytesWritten() int64

GetBytesWritten gets `AVIOContext.bytes_written` value.

func (*AVIOContext) GetBytesWrittenAddr added in v0.50.1

func (ctx *AVIOContext) GetBytesWrittenAddr() *int64

GetBytesWrittenAddr gets `AVIOContext.bytes_written` address.

func (*AVIOContext) GetChecksum

func (ctx *AVIOContext) GetChecksum() uint32

GetChecksum gets `AVIOContext.checksum` value.

func (*AVIOContext) GetChecksumAddr

func (ctx *AVIOContext) GetChecksumAddr() *uint32

GetChecksumAddr gets `AVIOContext.checksum` address.

func (*AVIOContext) GetChecksumPtr

func (ctx *AVIOContext) GetChecksumPtr() *uint8

GetChecksumPtr gets `AVIOContext.checksum_ptr` value.

func (*AVIOContext) GetChecksumPtrAddr

func (ctx *AVIOContext) GetChecksumPtrAddr() **uint8

GetChecksumPtrAddr gets `AVIOContext.checksum_ptr` address.

func (*AVIOContext) GetDirect

func (ctx *AVIOContext) GetDirect() int32

GetDirect gets `AVIOContext.direct` value.

func (*AVIOContext) GetDirectAddr

func (ctx *AVIOContext) GetDirectAddr() *int32

GetDirectAddr gets `AVIOContext.direct` address.

func (*AVIOContext) GetEofReached

func (ctx *AVIOContext) GetEofReached() int32

GetEofReached gets `AVIOContext.eof_reached` value.

func (*AVIOContext) GetEofReachedAddr

func (ctx *AVIOContext) GetEofReachedAddr() *int32

GetEofReachedAddr gets `AVIOContext.eof_reached` address.

func (*AVIOContext) GetError

func (ctx *AVIOContext) GetError() int32

GetError gets `AVIOContext.error` value.

func (*AVIOContext) GetErrorAddr

func (ctx *AVIOContext) GetErrorAddr() *int32

GetErrorAddr gets `AVIOContext.error` address.

func (*AVIOContext) GetIgnoreBoundaryPoint

func (ctx *AVIOContext) GetIgnoreBoundaryPoint() int32

GetIgnoreBoundaryPoint gets `AVIOContext.ignore_boundary_point` value.

func (*AVIOContext) GetIgnoreBoundaryPointAddr

func (ctx *AVIOContext) GetIgnoreBoundaryPointAddr() *int32

GetIgnoreBoundaryPointAddr gets `AVIOContext.ignore_boundary_point` address.

func (*AVIOContext) GetMaxPacketSize

func (ctx *AVIOContext) GetMaxPacketSize() int32

GetMaxPacketSize gets `AVIOContext.max_packet_size` value.

func (*AVIOContext) GetMaxPacketSizeAddr

func (ctx *AVIOContext) GetMaxPacketSizeAddr() *int32

GetMaxPacketSizeAddr gets `AVIOContext.max_packet_size` address.

func (*AVIOContext) GetMinPacketSize

func (ctx *AVIOContext) GetMinPacketSize() int32

GetMinPacketSize gets `AVIOContext.min_packet_size` value.

func (*AVIOContext) GetMinPacketSizeAddr

func (ctx *AVIOContext) GetMinPacketSizeAddr() *int32

GetMinPacketSizeAddr gets `AVIOContext.min_packet_size` address.

func (*AVIOContext) GetOpaque

func (ctx *AVIOContext) GetOpaque() unsafe.Pointer

GetOpaque gets `AVIOContext.opaque` value.

func (*AVIOContext) GetOpaqueAddr

func (ctx *AVIOContext) GetOpaqueAddr() *unsafe.Pointer

GetOpaqueAddr gets `AVIOContext.opaque` address.

func (*AVIOContext) GetPos

func (ctx *AVIOContext) GetPos() int64

GetPos gets `AVIOContext.pos` value.

func (*AVIOContext) GetPosAddr

func (ctx *AVIOContext) GetPosAddr() *int64

GetPosAddr gets `AVIOContext.pos` address.

func (*AVIOContext) GetProtocolBlacklist

func (ctx *AVIOContext) GetProtocolBlacklist() string

GetProtocolBlacklist gets `AVIOContext.protocol_blacklist` value.

func (*AVIOContext) GetProtocolWhitelist

func (ctx *AVIOContext) GetProtocolWhitelist() string

GetProtocolWhitelist gets `AVIOContext.protocol_whitelist` value.

func (*AVIOContext) GetReadPacket added in v0.40.11

func (ctx *AVIOContext) GetReadPacket() AVIOContextReadPacketFunc

GetReadPacket gets `AVIOContext.read_packet` value.

func (*AVIOContext) GetReadPacketAddr added in v0.40.11

func (ctx *AVIOContext) GetReadPacketAddr() *AVIOContextReadPacketFunc

GetReadPacketAddr gets `AVIOContext.read_packet` address.

func (*AVIOContext) GetReadPause added in v0.40.11

func (ctx *AVIOContext) GetReadPause() AVIOContextReadPause

GetReadPause gets `AVIOContext.read_pause` value.

func (*AVIOContext) GetReadPauseAddr added in v0.40.11

func (ctx *AVIOContext) GetReadPauseAddr() *AVIOContextReadPause

GetReadPauseAddr gets `AVIOContext.read_pause` address.

func (*AVIOContext) GetReadSeek added in v0.40.11

func (ctx *AVIOContext) GetReadSeek() AVIOContextReadSeek

GetReadSeek gets `AVIOContext.read_seek` value.

func (*AVIOContext) GetReadSeekAddr added in v0.40.11

func (ctx *AVIOContext) GetReadSeekAddr() *AVIOContextReadSeek

GetReadSeekAddr gets `AVIOContext.read_seek` address.

func (*AVIOContext) GetSeek added in v0.40.11

func (ctx *AVIOContext) GetSeek() AVIOContextSeekFunc

GetSeek gets `AVIOContext.seek` value.

func (*AVIOContext) GetSeekAddr added in v0.40.11

func (ctx *AVIOContext) GetSeekAddr() *AVIOContextSeekFunc

GetSeekAddr gets `AVIOContext.seek` address.

func (*AVIOContext) GetSeekable

func (ctx *AVIOContext) GetSeekable() int32

GetSeekable gets `AVIOContext.seekable` value.

func (*AVIOContext) GetSeekableAddr

func (ctx *AVIOContext) GetSeekableAddr() *int32

GetSeekableAddr gets `AVIOContext.seekable` address.

func (*AVIOContext) GetUpdateChecksum added in v0.40.11

func (ctx *AVIOContext) GetUpdateChecksum() AVIOContextUpdateChecksum

GetUpdateChecksum gets `AVIOContext.update_checksum` value.

func (*AVIOContext) GetUpdateChecksumAddr added in v0.40.11

func (ctx *AVIOContext) GetUpdateChecksumAddr() *AVIOContextUpdateChecksum

GetUpdateChecksumAddr gets `AVIOContext.update_checksum` address.

func (*AVIOContext) GetWriteDataType added in v0.40.11

func (ctx *AVIOContext) GetWriteDataType() AVIOContextWriteDataType

GetWriteDataType gets `AVIOContext.write_data_type` value.

func (*AVIOContext) GetWriteDataTypeAddr added in v0.40.11

func (ctx *AVIOContext) GetWriteDataTypeAddr() *AVIOContextWriteDataType

GetWriteDataTypeAddr gets `AVIOContext.write_data_type` address.

func (*AVIOContext) GetWriteFlag

func (ctx *AVIOContext) GetWriteFlag() int32

GetWriteFlag gets `AVIOContext.write_flag` value.

func (*AVIOContext) GetWriteFlagAddr

func (ctx *AVIOContext) GetWriteFlagAddr() *int32

GetWriteFlagAddr gets `AVIOContext.write_flag` address.

func (*AVIOContext) GetWritePacket added in v0.40.11

func (ctx *AVIOContext) GetWritePacket() AVIOContextWritePacketFunc

GetWritePacket gets `AVIOContext.write_packet` value.

func (*AVIOContext) GetWritePacketAddr added in v0.40.11

func (ctx *AVIOContext) GetWritePacketAddr() *AVIOContextWritePacketFunc

GetWritePacketAddr gets `AVIOContext.write_packet` address.

func (*AVIOContext) SetAvClass

func (ctx *AVIOContext) SetAvClass(v *AVClass)

SetAvClass sets `AVIOContext.av_class` value.

func (*AVIOContext) SetBufEnd

func (ctx *AVIOContext) SetBufEnd(v *uint8)

SetBufEnd sets `AVIOContext.buf_end` value.

func (*AVIOContext) SetBufPtr

func (ctx *AVIOContext) SetBufPtr(v *uint8)

SetBufPtr sets `AVIOContext.buf_ptr` value.

func (*AVIOContext) SetBufPtrMax

func (ctx *AVIOContext) SetBufPtrMax(v *uint8)

SetBufPtrMax sets `AVIOContext.buf_ptr_max` value.

func (*AVIOContext) SetBuffer

func (ctx *AVIOContext) SetBuffer(v *uint8)

SetBuffer sets `AVIOContext.buffer` value.

func (*AVIOContext) SetBufferSize

func (ctx *AVIOContext) SetBufferSize(v int32)

SetBufferSize sets `AVIOContext.buffer_size` value.

func (*AVIOContext) SetBytesRead

func (ctx *AVIOContext) SetBytesRead(v int64)

SetBytesRead sets `AVIOContext.bytes_read` value.

func (*AVIOContext) SetBytesWritten added in v0.50.1

func (ctx *AVIOContext) SetBytesWritten(v int64)

SetBytesWritten sets `AVIOContext.bytes_written` value.

func (*AVIOContext) SetChecksum

func (ctx *AVIOContext) SetChecksum(v uint32)

SetChecksum sets `AVIOContext.checksum` value.

func (*AVIOContext) SetChecksumPtr

func (ctx *AVIOContext) SetChecksumPtr(v *uint8)

SetChecksumPtr sets `AVIOContext.checksum_ptr` value.

func (*AVIOContext) SetDirect

func (ctx *AVIOContext) SetDirect(v int32)

SetDirect sets `AVIOContext.direct` value.

func (*AVIOContext) SetEofReached

func (ctx *AVIOContext) SetEofReached(v int32)

SetEofReached sets `AVIOContext.eof_reached` value.

func (*AVIOContext) SetError

func (ctx *AVIOContext) SetError(v int32)

SetError sets `AVIOContext.error` value.

func (*AVIOContext) SetIgnoreBoundaryPoint

func (ctx *AVIOContext) SetIgnoreBoundaryPoint(v int32)

SetIgnoreBoundaryPoint sets `AVIOContext.ignore_boundary_point` value.

func (*AVIOContext) SetMaxPacketSize

func (ctx *AVIOContext) SetMaxPacketSize(v int32)

SetMaxPacketSize sets `AVIOContext.max_packet_size` value.

func (*AVIOContext) SetMinPacketSize

func (ctx *AVIOContext) SetMinPacketSize(v int32)

SetMinPacketSize sets `AVIOContext.min_packet_size` value.

func (*AVIOContext) SetOpaque

func (ctx *AVIOContext) SetOpaque(v CVoidPointer)

SetOpaque sets `AVIOContext.opaque` value.

func (*AVIOContext) SetPos

func (ctx *AVIOContext) SetPos(v int64)

SetPos sets `AVIOContext.pos` value.

func (*AVIOContext) SetReadPacket added in v0.40.11

func (ctx *AVIOContext) SetReadPacket(v AVIOContextReadPacketFunc)

SetReadPacket sets `AVIOContext.read_packet` value.

func (*AVIOContext) SetReadPause added in v0.40.11

func (ctx *AVIOContext) SetReadPause(v AVIOContextReadPause)

SetReadPause sets `AVIOContext.read_pause` value.

func (*AVIOContext) SetReadSeek added in v0.40.11

func (ctx *AVIOContext) SetReadSeek(v AVIOContextReadSeek)

SetReadSeek sets `AVIOContext.read_seek` value.

func (*AVIOContext) SetSeek added in v0.40.11

func (ctx *AVIOContext) SetSeek(v AVIOContextSeekFunc)

SetSeek sets `AVIOContext.seek` value.

func (*AVIOContext) SetSeekable

func (ctx *AVIOContext) SetSeekable(v int32)

SetSeekable sets `AVIOContext.seekable` value.

func (*AVIOContext) SetUpdateChecksum added in v0.40.11

func (ctx *AVIOContext) SetUpdateChecksum(v AVIOContextUpdateChecksum)

SetUpdateChecksum sets `AVIOContext.update_checksum` value.

func (*AVIOContext) SetWriteDataType added in v0.40.11

func (ctx *AVIOContext) SetWriteDataType(v AVIOContextWriteDataType)

SetWriteDataType sets `AVIOContext.write_data_type` value.

func (*AVIOContext) SetWriteFlag

func (ctx *AVIOContext) SetWriteFlag(v int32)

SetWriteFlag sets `AVIOContext.write_flag` value.

func (*AVIOContext) SetWritePacket added in v0.40.11

func (ctx *AVIOContext) SetWritePacket(v AVIOContextWritePacketFunc)

SetWritePacket sets `AVIOContext.write_packet` value.

type AVIOContextReadPacketFunc

type AVIOContextReadPacketFunc = C.avio_context_read_packet_func

typedef int (*avio_context_read_packet_func)(void *opaque, uint8_t *buf, int buf_size);

type AVIOContextReadPause added in v0.40.11

type AVIOContextReadPause = C.avio_context_read_pause

typedef int (*avio_context_read_pause)(void *opaque, int pause);

type AVIOContextReadSeek added in v0.40.11

type AVIOContextReadSeek = C.avio_context_read_seek

typedef int64_t (*avio_context_read_seek)(void *opaque, int stream_index, int64_t timestamp, int flags);

type AVIOContextSeekFunc

type AVIOContextSeekFunc = C.avio_context_seek_func

typedef int64_t (*avio_context_seek_func)(void *opaque, int64_t offset, int whence);

type AVIOContextUpdateChecksum added in v0.40.11

type AVIOContextUpdateChecksum = C.avio_context_update_checksum

typedef unsigned long (*avio_context_update_checksum)(unsigned long checksum, const uint8_t *buf, unsigned int size);

type AVIOContextWriteDataType added in v0.40.11

type AVIOContextWriteDataType = C.avio_context_write_data_type

typedef int (*avio_context_write_data_type)(void *opaque, uint8_t *buf, int buf_size, enum AVIODataMarkerType type, int64_t time);

type AVIOContextWritePacketFunc

type AVIOContextWritePacketFunc = C.avio_context_write_packet_func

typedef int (*avio_context_write_packet_func)(void *opaque, uint8_t *buf, int buf_size);

type AVIODataMarkerType

type AVIODataMarkerType = C.enum_AVIODataMarkerType

AVIODataMarkerType

type AVIODirContext

type AVIODirContext C.struct_AVIODirContext

AVIODirContext

type AVIODirEntry

type AVIODirEntry C.struct_AVIODirEntry

AVIODirEntry

func (*AVIODirEntry) GetAccessTimestamp

func (de *AVIODirEntry) GetAccessTimestamp() int64

GetAccessTimestamp gets `AVIODirEntry.access_timestamp` value.

func (*AVIODirEntry) GetAccessTimestampAddr

func (de *AVIODirEntry) GetAccessTimestampAddr() *int64

GetAccessTimestampAddr gets `AVIODirEntry.access_timestamp` address.

func (*AVIODirEntry) GetFilemode

func (de *AVIODirEntry) GetFilemode() int64

GetFilemode gets `AVIODirEntry.filemode` value.

func (*AVIODirEntry) GetFilemodeAddr

func (de *AVIODirEntry) GetFilemodeAddr() *int64

GetFilemodeAddr gets `AVIODirEntry.filemode` address.

func (*AVIODirEntry) GetGroupId

func (de *AVIODirEntry) GetGroupId() int64

GetGroupId gets `AVIODirEntry.group_id` value.

func (*AVIODirEntry) GetGroupIdAddr

func (de *AVIODirEntry) GetGroupIdAddr() *int64

GetGroupIdAddr gets `AVIODirEntry.group_id` address.

func (*AVIODirEntry) GetModificationTimestamp

func (de *AVIODirEntry) GetModificationTimestamp() int64

GetModificationTimestamp gets `AVIODirEntry.modification_timestamp` value.

func (*AVIODirEntry) GetModificationTimestampAddr

func (de *AVIODirEntry) GetModificationTimestampAddr() *int64

GetModificationTimestampAddr gets `AVIODirEntry.modification_timestamp` address.

func (*AVIODirEntry) GetName

func (de *AVIODirEntry) GetName() string

GetName gets `AVIODirEntry.name` value.

func (*AVIODirEntry) GetSize

func (de *AVIODirEntry) GetSize() int64

GetSize gets `AVIODirEntry.size` value.

func (*AVIODirEntry) GetSizeAddr

func (de *AVIODirEntry) GetSizeAddr() *int64

GetSizeAddr gets `AVIODirEntry.size` address.

func (*AVIODirEntry) GetStatusChangeTimestamp

func (de *AVIODirEntry) GetStatusChangeTimestamp() int64

GetStatusChangeTimestamp gets `AVIODirEntry.status_change_timestamp` value.

func (*AVIODirEntry) GetStatusChangeTimestampAddr

func (de *AVIODirEntry) GetStatusChangeTimestampAddr() *int64

GetStatusChangeTimestampAddr gets `AVIODirEntry.status_change_timestamp` address.

func (*AVIODirEntry) GetType

func (de *AVIODirEntry) GetType() int32

GetType gets `AVIODirEntry.type` value.

func (*AVIODirEntry) GetTypeAddr

func (de *AVIODirEntry) GetTypeAddr() *int32

GetTypeAddr gets `AVIODirEntry.type` address.

func (*AVIODirEntry) GetUserId

func (de *AVIODirEntry) GetUserId() int64

GetUserId gets `AVIODirEntry.user_id` value.

func (*AVIODirEntry) GetUserIdAddr

func (de *AVIODirEntry) GetUserIdAddr() *int64

GetUserIdAddr gets `AVIODirEntry.user_id` address.

func (*AVIODirEntry) GetUtf8

func (de *AVIODirEntry) GetUtf8() int32

GetUtf8 gets `AVIODirEntry.utf8` value.

func (*AVIODirEntry) GetUtf8Addr

func (de *AVIODirEntry) GetUtf8Addr() *int32

GetUtf8Addr gets `AVIODirEntry.utf8` address.

func (*AVIODirEntry) SetAccessTimestamp

func (de *AVIODirEntry) SetAccessTimestamp(v int64)

SetAccessTimestamp sets `AVIODirEntry.access_timestamp` value.

func (*AVIODirEntry) SetFilemode

func (de *AVIODirEntry) SetFilemode(v int64)

SetFilemode sets `AVIODirEntry.filemode` value.

func (*AVIODirEntry) SetGroupId

func (de *AVIODirEntry) SetGroupId(v int64)

SetGroupId sets `AVIODirEntry.group_id` value.

func (*AVIODirEntry) SetModificationTimestamp

func (de *AVIODirEntry) SetModificationTimestamp(v int64)

SetModificationTimestamp sets `AVIODirEntry.modification_timestamp` value.

func (*AVIODirEntry) SetSize

func (de *AVIODirEntry) SetSize(v int64)

SetSize sets `AVIODirEntry.size` value.

func (*AVIODirEntry) SetStatusChangeTimestamp

func (de *AVIODirEntry) SetStatusChangeTimestamp(v int64)

SetStatusChangeTimestamp sets `AVIODirEntry.status_change_timestamp` value.

func (*AVIODirEntry) SetType

func (de *AVIODirEntry) SetType(v int32)

SetType sets `AVIODirEntry.type` value.

func (*AVIODirEntry) SetUserId

func (de *AVIODirEntry) SetUserId(v int64)

SetUserId sets `AVIODirEntry.user_id` value.

func (*AVIODirEntry) SetUtf8

func (de *AVIODirEntry) SetUtf8(v int32)

SetUtf8 sets `AVIODirEntry.utf8` value.

type AVIODirEntryType

type AVIODirEntryType = int32 // C.enum_AVIODirEntryType

AVIODirEntryType

type AVIOInterruptCB

type AVIOInterruptCB C.struct_AVIOInterruptCB

AVIOInterruptCB

func (*AVIOInterruptCB) GetCallback

func (icb *AVIOInterruptCB) GetCallback() AVIOInterruptCallbackFunc

GetCallback gets `AVIOInterruptCB.callback` value.

func (*AVIOInterruptCB) GetCallbackAddr

func (icb *AVIOInterruptCB) GetCallbackAddr() *AVIOInterruptCallbackFunc

GetCallbackAddr gets `AVIOInterruptCB.callback` address.

func (*AVIOInterruptCB) GetOpaque

func (icb *AVIOInterruptCB) GetOpaque() unsafe.Pointer

GetOpaque gets `AVIOInterruptCB.opaque` value.

func (*AVIOInterruptCB) GetOpaqueAddr

func (icb *AVIOInterruptCB) GetOpaqueAddr() *unsafe.Pointer

GetOpaqueAddr gets `AVIOInterruptCB.opaque` address.

func (*AVIOInterruptCB) SetCallback

func (icb *AVIOInterruptCB) SetCallback(v AVIOInterruptCallbackFunc)

SetCallback sets `AVIOInterruptCB.callback` value.

func (*AVIOInterruptCB) SetOpaque

func (icb *AVIOInterruptCB) SetOpaque(v CVoidPointer)

SetOpaque sets `AVIOInterruptCB.opaque` value.

type AVIOInterruptCallbackFunc

type AVIOInterruptCallbackFunc = C.avio_interrupt_callback_func

AVIOInterruptCallbackFunc

type AVIndexEntry

type AVIndexEntry C.struct_AVIndexEntry

AVIndexEntry

func AvFormatIndexGetEntry added in v0.50.1

func AvFormatIndexGetEntry(st *AVStream, idx int32) *AVIndexEntry

AvFormatIndexGetEntry gets the AVIndexEntry corresponding to the given index.

func AvFormatIndexGetEntryFromTimestamp added in v0.50.1

func AvFormatIndexGetEntryFromTimestamp(st *AVStream,
	wantedTimestamp int64, flags int32) *AVIndexEntry

AvFormatIndexGetEntryFromTimestamp gets the AVIndexEntry corresponding to the given timestamp.

func (*AVIndexEntry) GetFlags

func (ie *AVIndexEntry) GetFlags() int32

GetFlags gets `AVIndexEntry.flags` value.

func (*AVIndexEntry) GetMinDistance

func (ie *AVIndexEntry) GetMinDistance() int32

GetMinDistance gets `AVIndexEntry.min_distance` value.

func (*AVIndexEntry) GetMinDistanceAddr

func (ie *AVIndexEntry) GetMinDistanceAddr() *int32

GetMinDistanceAddr gets `AVIndexEntry.min_distance` address.

func (*AVIndexEntry) GetPos

func (ie *AVIndexEntry) GetPos() int64

GetPos gets `AVIndexEntry.pos` value.

func (*AVIndexEntry) GetPosAddr

func (ie *AVIndexEntry) GetPosAddr() *int64

GetPosAddr gets `AVIndexEntry.pos` address.

func (*AVIndexEntry) GetSize

func (ie *AVIndexEntry) GetSize() int32

GetSize gets `AVIndexEntry.size` value.

func (*AVIndexEntry) GetTimestamp

func (ie *AVIndexEntry) GetTimestamp() int64

GetTimestamp gets `AVIndexEntry.timestamp` value.

func (*AVIndexEntry) GetTimestampAddr

func (ie *AVIndexEntry) GetTimestampAddr() *int64

GetTimestampAddr gets `AVIndexEntry.timestamp` address.

func (*AVIndexEntry) SetFlags

func (ie *AVIndexEntry) SetFlags(v int32)

SetFlags sets `AVIndexEntry.flags` value.

func (*AVIndexEntry) SetMinDistance

func (ie *AVIndexEntry) SetMinDistance(v int32)

SetMinDistance sets `AVIndexEntry.min_distance` value.

func (*AVIndexEntry) SetPos

func (ie *AVIndexEntry) SetPos(v int64)

SetPos sets `AVIndexEntry.pos` value.

func (*AVIndexEntry) SetSize

func (ie *AVIndexEntry) SetSize(v int32)

SetSize sets `AVIndexEntry.size` value.

func (*AVIndexEntry) SetTimestamp

func (ie *AVIndexEntry) SetTimestamp(v int64)

SetTimestamp sets `AVIndexEntry.timestamp` value.

type AVInputFormat

type AVInputFormat C.struct_AVInputFormat

AVInputFormat

func AvDemuxerIterate

func AvDemuxerIterate(opaque CVoidPointerPointer) *AVInputFormat

AvDemuxerIterate iterates over all registered demuxers.

func AvFindInputFormat

func AvFindInputFormat(shortName string) *AVInputFormat

AvFindInputFormat finds AVInputFormat based on the short name of the input format.

func AvInputAudioDeviceNext

func AvInputAudioDeviceNext(d *AVInputFormat) *AVInputFormat

AvInputAudioDeviceNext iterates audio input devices.

func AvInputVideoDeviceNext

func AvInputVideoDeviceNext(d *AVInputFormat) *AVInputFormat

AvInputVideoDeviceNext iterates video input devices.

func AvProbeInputFormat

func AvProbeInputFormat(pd *AVProbeData, isOpened int32) *AVInputFormat

AvProbeInputFormat guesses the file format.

func AvProbeInputFormat2

func AvProbeInputFormat2(pd *AVProbeData, isOpened int32, scoreMax *int32) *AVInputFormat

AvProbeInputFormat2 guesses the file format.

func AvProbeInputFormat3

func AvProbeInputFormat3(pd *AVProbeData, isOpened int32, scoreRet *int32) *AVInputFormat

AvProbeInputFormat3 guesses the file format.

func (*AVInputFormat) GetExtensions

func (ifmt *AVInputFormat) GetExtensions() string

GetExtensions gets `AVInputFormat.extensions` value.

func (*AVInputFormat) GetFlags

func (ifmt *AVInputFormat) GetFlags() int32

GetFlags gets `AVInputFormat.flags` value.

func (*AVInputFormat) GetFlagsAddr

func (ifmt *AVInputFormat) GetFlagsAddr() *int32

GetFlagsAddr gets `AVInputFormat.flags` address.

func (*AVInputFormat) GetLongName

func (ifmt *AVInputFormat) GetLongName() string

GetLongName gets `AVInputFormat.long_name` value.

func (*AVInputFormat) GetMimeType

func (ifmt *AVInputFormat) GetMimeType() string

GetMimeType gets `AVInputFormat.mimetype` value.

func (*AVInputFormat) GetName

func (ifmt *AVInputFormat) GetName() string

GetName gets `AVInputFormat.name` value.

func (*AVInputFormat) GetPrivClass

func (ifmt *AVInputFormat) GetPrivClass() *AVClass

GetPrivClass gets `AVInputFormat.priv_class` value.

func (*AVInputFormat) GetPrivClassAddr

func (ifmt *AVInputFormat) GetPrivClassAddr() **AVClass

GetPrivClassAddr gets `AVInputFormat.priv_class` address.

func (*AVInputFormat) SetFlags

func (ifmt *AVInputFormat) SetFlags(v int32)

SetFlags sets `AVInputFormat.flags` value.

func (*AVInputFormat) SetPrivClass

func (ifmt *AVInputFormat) SetPrivClass(v *AVClass)

SetPrivClass sets `AVInputFormat.priv_class` value.

type AVLFG

type AVLFG C.struct_AVLFG

AVLFG

type AVLogCallbackFunc

type AVLogCallbackFunc = C.av_log_callback_func

typedef void (*av_log_callback_func)(void*, int, const char*, va_list);

type AVLumaCoefficients added in v0.51.1

type AVLumaCoefficients C.struct_AVLumaCoefficients

AVLumaCoefficients

func AvCspLumaCoeffsFromAvcsp added in v0.51.1

func AvCspLumaCoeffsFromAvcsp(csp AVColorSpace) *AVLumaCoefficients

AvCspLumaCoeffsFromAvcsp retrieves the Luma coefficients necessary to construct a conversion matrix from an enum constant describing the colorspace.

func (*AVLumaCoefficients) GetCb added in v0.51.1

func (lc *AVLumaCoefficients) GetCb() AVRational

GetCb gets `AVLumaCoefficients.cb` value.

func (*AVLumaCoefficients) GetCbAddr added in v0.51.1

func (lc *AVLumaCoefficients) GetCbAddr() *AVRational

GetCbAddr gets `AVLumaCoefficients.cb` address.

func (*AVLumaCoefficients) GetCg added in v0.51.1

func (lc *AVLumaCoefficients) GetCg() AVRational

GetCg gets `AVLumaCoefficients.cg` value.

func (*AVLumaCoefficients) GetCgAddr added in v0.51.1

func (lc *AVLumaCoefficients) GetCgAddr() *AVRational

GetCgAddr gets `AVLumaCoefficients.cg` address.

func (*AVLumaCoefficients) GetCr added in v0.51.1

func (lc *AVLumaCoefficients) GetCr() AVRational

GetCr gets `AVLumaCoefficients.cr` value.

func (*AVLumaCoefficients) GetCrAddr added in v0.51.1

func (lc *AVLumaCoefficients) GetCrAddr() *AVRational

GetCrAddr gets `AVLumaCoefficients.cr` address.

func (*AVLumaCoefficients) SetCb added in v0.51.1

func (lc *AVLumaCoefficients) SetCb(v AVRational)

SetCb sets `AVLumaCoefficients.cb` value.

func (*AVLumaCoefficients) SetCg added in v0.51.1

func (lc *AVLumaCoefficients) SetCg(v AVRational)

SetCg sets `AVLumaCoefficients.cg` value.

func (*AVLumaCoefficients) SetCr added in v0.51.1

func (lc *AVLumaCoefficients) SetCr(v AVRational)

SetCr sets `AVLumaCoefficients.cr` value.

type AVMD5

type AVMD5 C.struct_AVMD5

AVMD5

func AvMd5Alloc

func AvMd5Alloc() *AVMD5

AvMd5Alloc allocates an AVMD5 context.

type AVMasteringDisplayMetadata

type AVMasteringDisplayMetadata C.struct_AVMasteringDisplayMetadata

AVMasteringDisplayMetadata

func AvMasteringDisplayMetadataAlloc

func AvMasteringDisplayMetadataAlloc() *AVMasteringDisplayMetadata

AvMasteringDisplayMetadataAlloc allocates an AVMasteringDisplayMetadata structure and set its fields to default values.

func AvMasteringDisplayMetadataCreateSideData

func AvMasteringDisplayMetadataCreateSideData(frame *AVFrame) *AVMasteringDisplayMetadata

AvMasteringDisplayMetadataCreateSideData allocates a complete AVMasteringDisplayMetadata and add it to the frame.

func (*AVMasteringDisplayMetadata) GetDisplayPrimaries

func (mdm *AVMasteringDisplayMetadata) GetDisplayPrimaries() (v [][]AVRational)

GetDisplayPrimaries gets `AVMasteringDisplayMetadata.display_primaries` value.

func (*AVMasteringDisplayMetadata) GetDisplayPrimariesAddr

func (mdm *AVMasteringDisplayMetadata) GetDisplayPrimariesAddr() **AVRational

GetDisplayPrimariesAddr gets `AVMasteringDisplayMetadata.display_primaries` address.

func (*AVMasteringDisplayMetadata) GetHasLuminance

func (mdm *AVMasteringDisplayMetadata) GetHasLuminance() int32

GetHasLuminance gets `AVMasteringDisplayMetadata.has_luminance` value.

func (*AVMasteringDisplayMetadata) GetHasLuminanceAddr

func (mdm *AVMasteringDisplayMetadata) GetHasLuminanceAddr() *int32

GetHasLuminanceAddr gets `AVMasteringDisplayMetadata.has_luminance` address.

func (*AVMasteringDisplayMetadata) GetHasPrimaries

func (mdm *AVMasteringDisplayMetadata) GetHasPrimaries() int32

GetHasPrimaries gets `AVMasteringDisplayMetadata.has_primaries` value.

func (*AVMasteringDisplayMetadata) GetHasPrimariesAddr

func (mdm *AVMasteringDisplayMetadata) GetHasPrimariesAddr() *int32

GetHasPrimariesAddr gets `AVMasteringDisplayMetadata.has_primaries` address.

func (*AVMasteringDisplayMetadata) GetMaxLuminance

func (mdm *AVMasteringDisplayMetadata) GetMaxLuminance() AVRational

GetMaxLuminance gets `AVMasteringDisplayMetadata.max_luminance` value.

func (*AVMasteringDisplayMetadata) GetMaxLuminanceAddr

func (mdm *AVMasteringDisplayMetadata) GetMaxLuminanceAddr() *AVRational

GetMaxLuminanceAddr gets `AVMasteringDisplayMetadata.max_luminance` address.

func (*AVMasteringDisplayMetadata) GetMinLuminance

func (mdm *AVMasteringDisplayMetadata) GetMinLuminance() AVRational

GetMinLuminance gets `AVMasteringDisplayMetadata.min_luminance` value.

func (*AVMasteringDisplayMetadata) GetMinLuminanceAddr

func (mdm *AVMasteringDisplayMetadata) GetMinLuminanceAddr() *AVRational

GetMinLuminanceAddr gets `AVMasteringDisplayMetadata.min_luminance` address.

func (*AVMasteringDisplayMetadata) GetWhitePoint

func (mdm *AVMasteringDisplayMetadata) GetWhitePoint() []AVRational

GetWhitePoint gets `AVMasteringDisplayMetadata.white_point` value.

func (*AVMasteringDisplayMetadata) GetWhitePointAddr

func (mdm *AVMasteringDisplayMetadata) GetWhitePointAddr() **AVRational

GetWhitePointAddr gets `AVMasteringDisplayMetadata.white_point` address.

func (*AVMasteringDisplayMetadata) SetDisplayPrimaries

func (mdm *AVMasteringDisplayMetadata) SetDisplayPrimaries(v [][]AVRational)

SetDisplayPrimaries sets `AVMasteringDisplayMetadata.display_primaries` value.

func (*AVMasteringDisplayMetadata) SetHasLuminance

func (mdm *AVMasteringDisplayMetadata) SetHasLuminance(v int32)

SetHasLuminance sets `AVMasteringDisplayMetadata.has_luminance` value.

func (*AVMasteringDisplayMetadata) SetHasPrimaries

func (mdm *AVMasteringDisplayMetadata) SetHasPrimaries(v int32)

SetHasPrimaries sets `AVMasteringDisplayMetadata.has_primaries` value.

func (*AVMasteringDisplayMetadata) SetMaxLuminance

func (mdm *AVMasteringDisplayMetadata) SetMaxLuminance(v AVRational)

SetMaxLuminance sets `AVMasteringDisplayMetadata.max_luminance` value.

func (*AVMasteringDisplayMetadata) SetMinLuminance

func (mdm *AVMasteringDisplayMetadata) SetMinLuminance(v AVRational)

SetMinLuminance sets `AVMasteringDisplayMetadata.min_luminance` value.

func (*AVMasteringDisplayMetadata) SetWhitePoint

func (mdm *AVMasteringDisplayMetadata) SetWhitePoint(v []AVRational)

SetWhitePoint sets `AVMasteringDisplayMetadata.white_point` value.

type AVMatrixEncoding

type AVMatrixEncoding = C.enum_AVMatrixEncoding

AVMatrixEncoding

type AVMediaType

type AVMediaType = C.enum_AVMediaType

Media Type.

func AvBuffersinkGetType

func AvBuffersinkGetType(ctx *AVFilterContext) AVMediaType

AvBuffersinkGetType

func AvCodecGetType

func AvCodecGetType(codecID AVCodecID) AVMediaType

AvCodecGetType gets the type of the given codec.

func AvFilterPadGetType

func AvFilterPadGetType(pads *AVFilterPad, padIdx int32) AVMediaType

AvFilterPadGetType gets the type of an AVFilterPad.

type AVMotionVector

type AVMotionVector C.struct_AVMotionVector

AVMotionVector

func (*AVMotionVector) GetDstX

func (mv *AVMotionVector) GetDstX() int16

GetDstX gets `AVMotionVector.dst_x` value.

func (*AVMotionVector) GetDstXAddr

func (mv *AVMotionVector) GetDstXAddr() *int16

GetDstXAddr gets `AVMotionVector.dst_x` address.

func (*AVMotionVector) GetDstY

func (mv *AVMotionVector) GetDstY() int16

GetDstY gets `AVMotionVector.dst_y` value.

func (*AVMotionVector) GetDstYAddr

func (mv *AVMotionVector) GetDstYAddr() *int16

GetDstYAddr gets `AVMotionVector.dst_y` address.

func (*AVMotionVector) GetFlags

func (mv *AVMotionVector) GetFlags() uint64

GetFlags gets `AVMotionVector.flags` value.

func (*AVMotionVector) GetFlagsAddr

func (mv *AVMotionVector) GetFlagsAddr() *uint64

GetFlagsAddr gets `AVMotionVector.flags` address.

func (*AVMotionVector) GetH

func (mv *AVMotionVector) GetH() uint8

GetH gets `AVMotionVector.h` value.

func (*AVMotionVector) GetHAddr

func (mv *AVMotionVector) GetHAddr() *uint8

GetHAddr gets `AVMotionVector.h` address.

func (*AVMotionVector) GetMotionScale

func (mv *AVMotionVector) GetMotionScale() uint16

GetMotionScale gets `AVMotionVector.motion_scale` value.

func (*AVMotionVector) GetMotionScaleAddr

func (mv *AVMotionVector) GetMotionScaleAddr() *uint16

GetMotionScaleAddr gets `AVMotionVector.motion_scale` address.

func (*AVMotionVector) GetMotionX

func (mv *AVMotionVector) GetMotionX() int32

GetMotionX gets `AVMotionVector.motion_x` value.

func (*AVMotionVector) GetMotionXAddr

func (mv *AVMotionVector) GetMotionXAddr() *int32

GetMotionXAddr gets `AVMotionVector.motion_x` address.

func (*AVMotionVector) GetMotionY

func (mv *AVMotionVector) GetMotionY() int32

GetMotionY gets `AVMotionVector.motion_y` value.

func (*AVMotionVector) GetMotionYAddr

func (mv *AVMotionVector) GetMotionYAddr() *int32

GetMotionYAddr gets `AVMotionVector.motion_y` address.

func (*AVMotionVector) GetSource

func (mv *AVMotionVector) GetSource() int32

GetSource gets `AVMotionVector.source` value.

func (*AVMotionVector) GetSourceAddr

func (mv *AVMotionVector) GetSourceAddr() *int32

GetSourceAddr gets `AVMotionVector.source` address.

func (*AVMotionVector) GetSrcX

func (mv *AVMotionVector) GetSrcX() int16

GetSrcX gets `AVMotionVector.src_x` value.

func (*AVMotionVector) GetSrcXAddr

func (mv *AVMotionVector) GetSrcXAddr() *int16

GetSrcXAddr gets `AVMotionVector.src_x` address.

func (*AVMotionVector) GetSrcY

func (mv *AVMotionVector) GetSrcY() int16

GetSrcY gets `AVMotionVector.src_y` value.

func (*AVMotionVector) GetSrcYAddr

func (mv *AVMotionVector) GetSrcYAddr() *int16

GetSrcYAddr gets `AVMotionVector.src_y` address.

func (*AVMotionVector) GetW

func (mv *AVMotionVector) GetW() uint8

GetW gets `AVMotionVector.w` value.

func (*AVMotionVector) GetWAddr

func (mv *AVMotionVector) GetWAddr() *uint8

GetWAddr gets `AVMotionVector.w` address.

func (*AVMotionVector) SetDstX

func (mv *AVMotionVector) SetDstX(v int16)

SetDstX sets `AVMotionVector.dst_x` value.

func (*AVMotionVector) SetDstY

func (mv *AVMotionVector) SetDstY(v int16)

SetDstY sets `AVMotionVector.dst_y` value.

func (*AVMotionVector) SetFlags

func (mv *AVMotionVector) SetFlags(v uint64)

SetFlags sets `AVMotionVector.flags` value.

func (*AVMotionVector) SetH

func (mv *AVMotionVector) SetH(v uint8)

SetH sets `AVMotionVector.h` value.

func (*AVMotionVector) SetMotionScale

func (mv *AVMotionVector) SetMotionScale(v uint16)

SetMotionScale sets `AVMotionVector.motion_scale` value.

func (*AVMotionVector) SetMotionX

func (mv *AVMotionVector) SetMotionX(v int32)

SetMotionX sets `AVMotionVector.motion_x` value.

func (*AVMotionVector) SetMotionY

func (mv *AVMotionVector) SetMotionY(v int32)

SetMotionY sets `AVMotionVector.motion_y` value.

func (*AVMotionVector) SetSource

func (mv *AVMotionVector) SetSource(v int32)

SetSource sets `AVMotionVector.source` value.

func (*AVMotionVector) SetSrcX

func (mv *AVMotionVector) SetSrcX(v int16)

SetSrcX sets `AVMotionVector.src_x` value.

func (*AVMotionVector) SetSrcY

func (mv *AVMotionVector) SetSrcY(v int16)

SetSrcY sets `AVMotionVector.src_y` value.

func (*AVMotionVector) SetW

func (mv *AVMotionVector) SetW(v uint8)

SetW sets `AVMotionVector.w` value.

type AVMurMur3

type AVMurMur3 C.struct_AVMurMur3

AVMurMur3

func AvMurmur3Alloc

func AvMurmur3Alloc() *AVMurMur3

AvMurmur3Alloc allocates an AVMurMur3 hash context.

type AVOpenCallbackFunc

type AVOpenCallbackFunc C.AVOpenCallback

typedef int (*AVOpenCallback)(struct AVFormatContext *s, AVIOContext **pb, const char *url, int flags, const AVIOInterruptCB *int_cb, AVDictionary **options);

type AVOption

type AVOption C.struct_AVOption

AVOption

func AvOptFind

func AvOptFind(obj CVoidPointer, name, unit string, optFlags, searchFlags int32) *AVOption

AvOptFind looks for an option in an object. Consider only options which have all the specified flags set.

func AvOptFind2

func AvOptFind2(obj CVoidPointer, name, unit string, optFlags, searchFlags int32,
	targetObj CVoidPointerPointer) *AVOption

AvOptFind2 looks for an option in an object. Consider only options which have all the specified flags set.

func AvOptNext

func AvOptNext(obj CVoidPointer, prev *AVOption) *AVOption

AvOptNext iterates over all AVOptions belonging to obj.

func (*AVOption) GetDefaultValDbl

func (opt *AVOption) GetDefaultValDbl() float64

GetDefaultValDbl gets `AVOption.default_val.dbl` value.

func (*AVOption) GetDefaultValDblAddr

func (opt *AVOption) GetDefaultValDblAddr() *float64

GetDefaultValDblAddr gets `AVOption.default_val.dbl` address.

func (*AVOption) GetDefaultValI64

func (opt *AVOption) GetDefaultValI64() int64

GetDefaultValI64 gets `AVOption.default_val.i64` value.

func (*AVOption) GetDefaultValI64Addr

func (opt *AVOption) GetDefaultValI64Addr() *int64

GetDefaultValI64Addr gets `AVOption.default_val.i64` address.

func (*AVOption) GetDefaultValQ

func (opt *AVOption) GetDefaultValQ() AVRational

GetDefaultValQ gets `AVOption.default_val.q` value.

func (*AVOption) GetDefaultValQAddr

func (opt *AVOption) GetDefaultValQAddr() *AVRational

GetDefaultValQAddr gets `AVOption.default_val.q` address.

func (*AVOption) GetDefaultValStr

func (opt *AVOption) GetDefaultValStr() string

GetDefaultValStr gets `AVOption.default_val.str` value.

func (*AVOption) GetDefaultValStrAddr

func (opt *AVOption) GetDefaultValStrAddr() **int8

GetDefaultValStrAddr gets `AVOption.default_val.str` address.

func (*AVOption) GetFlags

func (opt *AVOption) GetFlags() int32

GetFlags gets `AVOption.flags` value.

func (*AVOption) GetFlagsAddr

func (opt *AVOption) GetFlagsAddr() *int32

GetFlagsAddr gets `AVOption.flags` address.

func (*AVOption) GetHelp

func (opt *AVOption) GetHelp() string

GetHelp gets `AVOption.help` value.

func (*AVOption) GetMax

func (opt *AVOption) GetMax() float64

GetMax gets `AVOption.max` value.

func (*AVOption) GetMaxAddr

func (opt *AVOption) GetMaxAddr() *float64

GetMaxAddr gets `AVOption.max` address.

func (*AVOption) GetMin

func (opt *AVOption) GetMin() float64

GetMin gets `AVOption.min` value.

func (*AVOption) GetMinAddr

func (opt *AVOption) GetMinAddr() *float64

GetMinAddr gets `AVOption.min` address.

func (*AVOption) GetName

func (opt *AVOption) GetName() string

GetName gets `AVOption.name` value.

func (*AVOption) GetOffset

func (opt *AVOption) GetOffset() int32

GetOffset gets `AVOption.offset` value.

func (*AVOption) GetOffsetAddr

func (opt *AVOption) GetOffsetAddr() *int32

GetOffsetAddr gets `AVOption.offset` address.

func (*AVOption) GetType

func (opt *AVOption) GetType() AVOptionType

GetType gets `AVOption.type` value.

func (*AVOption) GetTypeAddr

func (opt *AVOption) GetTypeAddr() *AVOptionType

GetTypeAddr gets `AVOption.type` address.

func (*AVOption) GetUnit

func (opt *AVOption) GetUnit() string

GetUnit gets `AVOption.unit` value.

func (*AVOption) SetDefaultValDbl

func (opt *AVOption) SetDefaultValDbl(v float64)

SetDefaultValDbl sets `AVOption.default_val.dbl` value.

func (*AVOption) SetDefaultValI64

func (opt *AVOption) SetDefaultValI64(v int64)

SetDefaultValI64 sets `AVOption.default_val.i64` value.

func (*AVOption) SetDefaultValQ

func (opt *AVOption) SetDefaultValQ(v AVRational)

SetDefaultValQ sets `AVOption.default_val.q` value.

func (*AVOption) SetDefaultValStr

func (opt *AVOption) SetDefaultValStr(v *int8)

SetDefaultValStr sets `AVOption.default_val.str` value.

func (*AVOption) SetFlags

func (opt *AVOption) SetFlags(v int32)

SetFlags sets `AVOption.flags` value.

func (*AVOption) SetMax

func (opt *AVOption) SetMax(v float64)

SetMax sets `AVOption.max` value.

func (*AVOption) SetMin

func (opt *AVOption) SetMin(v float64)

SetMin sets `AVOption.min` value.

func (*AVOption) SetOffset

func (opt *AVOption) SetOffset(v int32)

SetOffset sets `AVOption.offset` value.

func (*AVOption) SetType

func (opt *AVOption) SetType(v AVOptionType)

SetType sets `AVOption.type` value.

type AVOptionArrayDef added in v0.70.1

type AVOptionArrayDef C.struct_AVOptionArrayDef

AVOptionArrayDef

func (*AVOptionArrayDef) GetDef added in v0.70.1

func (oadf *AVOptionArrayDef) GetDef() string

GetDef gets `AVOptionArrayDef.def` value.

func (*AVOptionArrayDef) GetSep added in v0.70.1

func (oadf *AVOptionArrayDef) GetSep() string

GetSep gets `AVOptionArrayDef.sep` value.

func (*AVOptionArrayDef) GetSizeMax added in v0.70.1

func (oadf *AVOptionArrayDef) GetSizeMax() uint32

GetSizeMax gets `AVOptionArrayDef.siz` value.

func (*AVOptionArrayDef) GetSizeMaxAddr added in v0.70.1

func (oadf *AVOptionArrayDef) GetSizeMaxAddr() *uint32

GetSizeMaxAddr gets `AVOptionArrayDef.siz` address.

func (*AVOptionArrayDef) GetSizeMin added in v0.70.1

func (oadf *AVOptionArrayDef) GetSizeMin() uint32

GetSizeMin gets `AVOptionArrayDef.siz` value.

func (*AVOptionArrayDef) GetSizeMinAddr added in v0.70.1

func (oadf *AVOptionArrayDef) GetSizeMinAddr() *uint32

GetSizeMinAddr gets `AVOptionArrayDef.siz` address.

func (*AVOptionArrayDef) SetSep added in v0.70.1

func (oadf *AVOptionArrayDef) SetSep(v string)

SetSep sets `AVOptionArrayDef.sep` value.

func (*AVOptionArrayDef) SetSizeMax added in v0.70.1

func (oadf *AVOptionArrayDef) SetSizeMax(v uint32)

SetSizeMax sets `AVOptionArrayDef.siz` value.

func (*AVOptionArrayDef) SetSizeMin added in v0.70.1

func (oadf *AVOptionArrayDef) SetSizeMin(v uint32)

SetSizeMin sets `AVOptionArrayDef.siz` value.

type AVOptionRange

type AVOptionRange C.struct_AVOptionRange

AVOptionRange

func (*AVOptionRange) GetComponentMax

func (optr *AVOptionRange) GetComponentMax() float64

GetComponentMax gets `AVOptionRange.component_max` value.

func (*AVOptionRange) GetComponentMaxAddr

func (optr *AVOptionRange) GetComponentMaxAddr() *float64

GetComponentMaxAddr gets `AVOptionRange.component_max` address.

func (*AVOptionRange) GetComponentMin

func (optr *AVOptionRange) GetComponentMin() float64

GetComponentMin gets `AVOptionRange.component_min` value.

func (*AVOptionRange) GetComponentMinAddr

func (optr *AVOptionRange) GetComponentMinAddr() *float64

GetComponentMinAddr gets `AVOptionRange.component_min` address.

func (*AVOptionRange) GetIsRange

func (optr *AVOptionRange) GetIsRange() int32

GetIsRange gets `AVOptionRange.isrange` value.

func (*AVOptionRange) GetIsRangeAddr

func (optr *AVOptionRange) GetIsRangeAddr() *int32

GetIsRangeAddr gets `AVOptionRange.isrange` address.

func (*AVOptionRange) GetStr

func (optr *AVOptionRange) GetStr() string

GetStr gets `AVOptionRange.str` value.

func (*AVOptionRange) GetValueMax

func (optr *AVOptionRange) GetValueMax() float64

GetValueMax gets `AVOptionRange.value_max` value.

func (*AVOptionRange) GetValueMaxAddr

func (optr *AVOptionRange) GetValueMaxAddr() *float64

GetValueMaxAddr gets `AVOptionRange.value_max` address.

func (*AVOptionRange) GetValueMin

func (optr *AVOptionRange) GetValueMin() float64

GetValueMin gets `AVOptionRange.value_min` value.

func (*AVOptionRange) GetValueMinAddr

func (optr *AVOptionRange) GetValueMinAddr() *float64

GetValueMinAddr gets `AVOptionRange.value_min` address.

func (*AVOptionRange) SetComponentMax

func (optr *AVOptionRange) SetComponentMax(v float64)

SetComponentMax sets `AVOptionRange.component_max` value.

func (*AVOptionRange) SetComponentMin

func (optr *AVOptionRange) SetComponentMin(v float64)

SetComponentMin sets `AVOptionRange.component_min` value.

func (*AVOptionRange) SetIsRange

func (optr *AVOptionRange) SetIsRange(v int32)

SetIsRange sets `AVOptionRange.isrange` value.

func (*AVOptionRange) SetValueMax

func (optr *AVOptionRange) SetValueMax(v float64)

SetValueMax sets `AVOptionRange.value_max` value.

func (*AVOptionRange) SetValueMin

func (optr *AVOptionRange) SetValueMin(v float64)

SetValueMin sets `AVOptionRange.value_min` value.

type AVOptionRanges

type AVOptionRanges C.struct_AVOptionRanges

AVOptionRanges

func (*AVOptionRanges) GetNbComponents

func (optrs *AVOptionRanges) GetNbComponents() int32

GetNbComponents gets `AVOptionRanges.nb_components` value.

func (*AVOptionRanges) GetNbRanges

func (optrs *AVOptionRanges) GetNbRanges() int32

GetNbRanges gets `AVOptionRanges.nb_ranges` value.

func (*AVOptionRanges) GetRange

func (optrs *AVOptionRanges) GetRange() []*AVOptionRange

GetRange gets `AVOptionRanges.range` value.

type AVOptionType

type AVOptionType = int32

AVOptionType

type AVOutputFormat

type AVOutputFormat C.struct_AVOutputFormat

AVOutputFormat

func AvGuessFormat

func AvGuessFormat(shortName, filename, mimeType string) *AVOutputFormat

AvGuessFormat returns the output format in the list of registered output formats which best matches the provided parameters, or return NULL if there is no match.

func AvMuxerIterate

func AvMuxerIterate(opaque CVoidPointerPointer) *AVOutputFormat

AvMuxerIterate iterates over all registered muxers.

func AvOutputAudioDeviceNext

func AvOutputAudioDeviceNext(d *AVOutputFormat) *AVOutputFormat

AvOutputAudioDeviceNext iterates audio output devices.

func AvOutputVideoDeviceNext

func AvOutputVideoDeviceNext(d *AVOutputFormat) *AVOutputFormat

AvOutputVideoDeviceNext iterates video output devices.

func (*AVOutputFormat) GetAudioCodec

func (ofmt *AVOutputFormat) GetAudioCodec() AVCodecID

GetAudioCodec gets `AVOutputFormat.audio_codec` value.

func (*AVOutputFormat) GetAudioCodecAddr

func (ofmt *AVOutputFormat) GetAudioCodecAddr() *AVCodecID

GetAudioCodecAddr gets `AVOutputFormat.audio_codec` address.

func (*AVOutputFormat) GetExtensions

func (ofmt *AVOutputFormat) GetExtensions() string

GetExtensions gets `AVOutputFormat.extensions` value.

func (*AVOutputFormat) GetFlags

func (ofmt *AVOutputFormat) GetFlags() int32

GetFlags gets `AVOutputFormat.flags` value.

func (*AVOutputFormat) GetFlagsAddr

func (ofmt *AVOutputFormat) GetFlagsAddr() *int32

GetFlagsAddr gets `AVOutputFormat.flags` address.

func (*AVOutputFormat) GetLongName

func (ofmt *AVOutputFormat) GetLongName() string

GetLongName gets `AVOutputFormat.long_name` value.

func (*AVOutputFormat) GetMimeType

func (ofmt *AVOutputFormat) GetMimeType() string

GetMimeType gets `AVOutputFormat.mimetype` value.

func (*AVOutputFormat) GetName

func (ofmt *AVOutputFormat) GetName() string

GetName gets `AVOutputFormat.name` value.

func (*AVOutputFormat) GetPrivClass

func (ofmt *AVOutputFormat) GetPrivClass() *AVClass

GetPrivClass gets `AVOutputFormat.priv_class` value.

func (*AVOutputFormat) GetPrivClassAddr

func (ofmt *AVOutputFormat) GetPrivClassAddr() **AVClass

GetPrivClassAddr gets `AVOutputFormat.priv_class` address.

func (*AVOutputFormat) GetSubtitleCodec

func (ofmt *AVOutputFormat) GetSubtitleCodec() AVCodecID

GetSubtitleCodec gets `AVOutputFormat.subtitle_codec` value.

func (*AVOutputFormat) GetSubtitleCodecAddr

func (ofmt *AVOutputFormat) GetSubtitleCodecAddr() *AVCodecID

GetSubtitleCodecAddr gets `AVOutputFormat.subtitle_codec` address.

func (*AVOutputFormat) GetVideoCodec

func (ofmt *AVOutputFormat) GetVideoCodec() AVCodecID

GetVideoCodec gets `AVOutputFormat.video_codec` value.

func (*AVOutputFormat) GetVideoCodecAddr

func (ofmt *AVOutputFormat) GetVideoCodecAddr() *AVCodecID

GetVideoCodecAddr gets `AVOutputFormat.video_codec` address.

func (*AVOutputFormat) SetAudioCodec

func (ofmt *AVOutputFormat) SetAudioCodec(v AVCodecID)

SetAudioCodec sets `AVOutputFormat.audio_codec` value.

func (*AVOutputFormat) SetFlags

func (ofmt *AVOutputFormat) SetFlags(v int32)

SetFlags sets `AVOutputFormat.flags` value.

func (*AVOutputFormat) SetPrivClass

func (ofmt *AVOutputFormat) SetPrivClass(v *AVClass)

SetPrivClass sets `AVOutputFormat.priv_class` value.

func (*AVOutputFormat) SetSubtitleCodec

func (ofmt *AVOutputFormat) SetSubtitleCodec(v AVCodecID)

SetSubtitleCodec sets `AVOutputFormat.subtitle_codec` value.

func (*AVOutputFormat) SetVideoCodec

func (ofmt *AVOutputFormat) SetVideoCodec(v AVCodecID)

SetVideoCodec sets `AVOutputFormat.video_codec` value.

type AVPacket

type AVPacket C.struct_AVPacket

AVPacket

func AvPacketAlloc

func AvPacketAlloc() *AVPacket

AvPacketAlloc allocates an AVPacket and set its fields to default values. The resulting struct must be freed using AVPacketFree().

func AvPacketClone

func AvPacketClone(pkt *AVPacket) *AVPacket

AvPacketClone creates a new packet that references the same data as src.

func (*AVPacket) GetBuf

func (pkt *AVPacket) GetBuf() *AVBufferRef

GetBuf gets `AVPacket.buf` value.

func (*AVPacket) GetBufAddr

func (pkt *AVPacket) GetBufAddr() **AVBufferRef

GetBufAddr gets `AVPacket.buf` address.

func (*AVPacket) GetData

func (pkt *AVPacket) GetData() *uint8

GetData gets `AVPacket.data` value.

func (*AVPacket) GetDataAddr

func (pkt *AVPacket) GetDataAddr() **uint8

GetDataAddr gets `AVPacket.data` address.

func (*AVPacket) GetDts

func (pkt *AVPacket) GetDts() int64

GetDts gets `AVPacket.dts` value.

func (*AVPacket) GetDtsAddr

func (pkt *AVPacket) GetDtsAddr() *int64

GetDtsAddr gets `AVPacket.dts` address.

func (*AVPacket) GetDuration

func (pkt *AVPacket) GetDuration() int64

GetDuration gets `AVPacket.duration` value.

func (*AVPacket) GetDurationAddr

func (pkt *AVPacket) GetDurationAddr() *int64

GetDurationAddr gets `AVPacket.duration` address.

func (*AVPacket) GetFlags

func (pkt *AVPacket) GetFlags() int32

GetFlags gets `AVPacket.flags` value.

func (*AVPacket) GetFlagsAddr

func (pkt *AVPacket) GetFlagsAddr() *int32

GetFlagsAddr gets `AVPacket.flags` address.

func (*AVPacket) GetOpaque added in v0.50.1

func (pkt *AVPacket) GetOpaque() unsafe.Pointer

GetOpaque gets `AVPacket.opaque` value.

func (*AVPacket) GetOpaqueAddr added in v0.50.1

func (pkt *AVPacket) GetOpaqueAddr() *unsafe.Pointer

GetOpaqueAddr gets `AVPacket.opaque` address.

func (*AVPacket) GetOpaqueRef added in v0.50.1

func (pkt *AVPacket) GetOpaqueRef() *AVBufferRef

GetOpaqueRef gets `AVPacket.opaque_ref` value.

func (*AVPacket) GetOpaqueRefAddr added in v0.50.1

func (pkt *AVPacket) GetOpaqueRefAddr() **AVBufferRef

GetOpaqueRefAddr gets `AVPacket.opaque_ref` address.

func (*AVPacket) GetPos

func (pkt *AVPacket) GetPos() int64

GetPos gets `AVPacket.pos` value.

func (*AVPacket) GetPosAddr

func (pkt *AVPacket) GetPosAddr() *int64

GetPosAddr gets `AVPacket.pos` address.

func (*AVPacket) GetPts

func (pkt *AVPacket) GetPts() int64

GetPts gets `AVPacket.pts` value.

func (*AVPacket) GetPtsAddr

func (pkt *AVPacket) GetPtsAddr() *int64

GetPtsAddr gets `AVPacket.pts` address.

func (*AVPacket) GetSideData

func (pkt *AVPacket) GetSideData() *AVPacketSideData

GetSideData gets `AVPacket.side_data` value.

func (*AVPacket) GetSideDataAddr

func (pkt *AVPacket) GetSideDataAddr() **AVPacketSideData

GetSideDataAddr gets `AVPacket.side_data` address.

func (*AVPacket) GetSideDataElems

func (pkt *AVPacket) GetSideDataElems() int32

GetSideDataElems gets `AVPacket.side_data_elems` value.

func (*AVPacket) GetSideDataElemsAddr

func (pkt *AVPacket) GetSideDataElemsAddr() *int32

GetSideDataElemsAddr gets `AVPacket.side_data_elems` address.

func (*AVPacket) GetSize

func (pkt *AVPacket) GetSize() int32

GetSize gets `AVPacket.size` value.

func (*AVPacket) GetSizeAddr

func (pkt *AVPacket) GetSizeAddr() *int32

GetSizeAddr gets `AVPacket.size` address.

func (*AVPacket) GetStreamIndex

func (pkt *AVPacket) GetStreamIndex() int32

GetStreamIndex gets `AVPacket.stream_index` value.

func (*AVPacket) GetStreamIndexAddr

func (pkt *AVPacket) GetStreamIndexAddr() *int32

GetStreamIndexAddr gets `AVPacket.stream_index` address.

func (*AVPacket) GetTimeBase added in v0.50.1

func (pkt *AVPacket) GetTimeBase() AVRational

GetTimeBase gets `AVPacket.time_base` value.

func (*AVPacket) GetTimeBaseAddr added in v0.50.1

func (pkt *AVPacket) GetTimeBaseAddr() *AVRational

GetTimeBaseAddr gets `AVPacket.time_base` address.

func (*AVPacket) SetBuf

func (pkt *AVPacket) SetBuf(v *AVBufferRef)

SetBuf sets `AVPacket.buf` value.

func (*AVPacket) SetData

func (pkt *AVPacket) SetData(v *uint8)

SetData sets `AVPacket.data` value.

func (*AVPacket) SetDts

func (pkt *AVPacket) SetDts(v int64)

SetDts sets `AVPacket.dts` value.

func (*AVPacket) SetDuration

func (pkt *AVPacket) SetDuration(v int64)

SetDuration sets `AVPacket.duration` value.

func (*AVPacket) SetFlags

func (pkt *AVPacket) SetFlags(v int32)

SetFlags sets `AVPacket.flags` value.

func (*AVPacket) SetOpaque added in v0.50.1

func (pkt *AVPacket) SetOpaque(v CVoidPointer)

SetOpaque sets `AVPacket.opaque` value.

func (*AVPacket) SetOpaqueRef added in v0.50.1

func (pkt *AVPacket) SetOpaqueRef(v *AVBufferRef)

SetOpaqueRef sets `AVPacket.opaque_ref` value.

func (*AVPacket) SetPos

func (pkt *AVPacket) SetPos(v int64)

SetPos sets `AVPacket.pos` value.

func (*AVPacket) SetPts

func (pkt *AVPacket) SetPts(v int64)

SetPts sets `AVPacket.pts` value.

func (*AVPacket) SetSideData

func (pkt *AVPacket) SetSideData(v *AVPacketSideData)

SetSideData sets `AVPacket.side_data` value.

func (*AVPacket) SetSideDataElems

func (pkt *AVPacket) SetSideDataElems(v int32)

SetSideDataElems sets `AVPacket.side_data_elems` value.

func (*AVPacket) SetSize

func (pkt *AVPacket) SetSize(v int32)

SetSize sets `AVPacket.size` value.

func (*AVPacket) SetStreamIndex

func (pkt *AVPacket) SetStreamIndex(v int32)

SetStreamIndex sets `AVPacket.stream_index` value.

func (*AVPacket) SetTimeBase added in v0.50.1

func (pkt *AVPacket) SetTimeBase(v AVRational)

SetTimeBase sets `AVPacket.time_base` value.

type AVPacketList deprecated

type AVPacketList C.struct_AVPacketList

Deprecated: No use.

AVPacketList

func (*AVPacketList) Get

func (pl *AVPacketList) Get() *AVPacketList

Getgets `AVPacketList.next` value.

func (*AVPacketList) GetAddr

func (pl *AVPacketList) GetAddr() **AVPacketList

GetAddr gets `AVPacketList.next` address.

func (*AVPacketList) Set

func (pl *AVPacketList) Set(v *AVPacketList)

Set sets `AVPacketList.next` value.

type AVPacketSideData

type AVPacketSideData C.struct_AVPacketSideData

AVPacketSideData

func AvPacketSideDataAdd added in v0.61.0

func AvPacketSideDataAdd(sd **AVPacketSideData, nbSd *int32, _type AVPacketSideDataType,
	data CVoidPointer, size uintptr, flags int32) *AVPacketSideData

AvPacketSideDataAdd wraps existing data as packet side data.

func AvPacketSideDataGet added in v0.61.0

func AvPacketSideDataGet(sd *AVPacketSideData, nbSd int32, _type AVPacketSideDataType) *AVPacketSideData

AvPacketSideDataGet gets side information from a side data array.

func AvPacketSideDataNew added in v0.61.0

func AvPacketSideDataNew(psd **AVPacketSideData, pnbSd *int32, _type AVPacketSideDataType,
	size uintptr, flags int32) *AVPacketSideData

AvPacketSideDataNew allocates a new packet side data.

func (*AVPacketSideData) GetData

func (psd *AVPacketSideData) GetData() *uint8

GetData gets `AVPacketSideData.data` value.

func (*AVPacketSideData) GetDataAddr

func (psd *AVPacketSideData) GetDataAddr() **uint8

GetDataAddr gets `AVPacketSideData.data` address.

func (*AVPacketSideData) GetSize

func (psd *AVPacketSideData) GetSize() uintptr

GetSize gets `AVPacketSideData.size` value.

func (*AVPacketSideData) GetSizeAddr

func (psd *AVPacketSideData) GetSizeAddr() *uintptr

GetSizeAddr gets `AVPacketSideData.size` address.

func (*AVPacketSideData) GetType

func (psd *AVPacketSideData) GetType() AVPacketSideDataType

GetType gets `AVPacketSideData.type` value.

func (*AVPacketSideData) GetTypeAddr

func (psd *AVPacketSideData) GetTypeAddr() *AVPacketSideDataType

GetTypeAddr gets `AVPacketSideData.type` address.

func (*AVPacketSideData) SetData

func (psd *AVPacketSideData) SetData(v *uint8)

SetData sets `AVPacketSideData.data` value.

func (*AVPacketSideData) SetSize

func (psd *AVPacketSideData) SetSize(v uintptr)

SetSize sets `AVPacketSideData.size` value.

func (*AVPacketSideData) SetType

func (psd *AVPacketSideData) SetType(v AVPacketSideDataType)

SetType sets `AVPacketSideData.type` value.

type AVPacketSideDataType

type AVPacketSideDataType = C.enum_AVPacketSideDataType

AVPacketSideDataType

type AVPanScan

type AVPanScan C.struct_AVPanScan

Pan Scan area. This specifies the area which should be displayed. Note there may be multiple such areas for one frame.

func (*AVPanScan) GetHeight

func (psn *AVPanScan) GetHeight() int32

GetHeight gets `AVPanScan.height` value.

func (*AVPanScan) GetHeightAddr

func (psn *AVPanScan) GetHeightAddr() *int32

GetHeightAddr gets `AVPanScan.height` address.

func (*AVPanScan) GetId

func (psn *AVPanScan) GetId() int32

GetId gets `AVPanScan.id` value.

func (*AVPanScan) GetIdAddr

func (psn *AVPanScan) GetIdAddr() *int32

GetIdAddr gets `AVPanScan.id` address.

func (*AVPanScan) GetPosition

func (psn *AVPanScan) GetPosition() (v [][]int16)

GetPosition gets `AVPanScan.position` value.

func (*AVPanScan) GetPositionAddr

func (psn *AVPanScan) GetPositionAddr() **int16

GetPositionAddr gets `AVPanScan.position` address.

func (*AVPanScan) GetWidth

func (psn *AVPanScan) GetWidth() int32

GetWidth gets `AVPanScan.width` value.

func (*AVPanScan) GetWidthAddr

func (psn *AVPanScan) GetWidthAddr() *int32

GetWidthAddr gets `AVPanScan.width` address.

func (*AVPanScan) SetHeight

func (psn *AVPanScan) SetHeight(v int32)

SetHeight sets `AVPanScan.height` value.

func (*AVPanScan) SetId

func (psn *AVPanScan) SetId(v int32)

SetId sets `AVPanScan.id` value.

func (*AVPanScan) SetPosition

func (psn *AVPanScan) SetPosition(v [][]int16)

SetPosition sets `AVPanScan.position` value.

func (*AVPanScan) SetWidth

func (psn *AVPanScan) SetWidth(v int32)

SetWidth sets `AVPanScan.width` value.

type AVPicture

type AVPicture C.struct_AVPicture

AVPicture

type AVPictureStructure

type AVPictureStructure = C.enum_AVPictureStructure

AVPictureStructure

type AVPictureType

type AVPictureType = C.enum_AVPictureType

AvPictureType, pixel formats and basic image planes manipulation.

type AVPixFmtDescriptor

type AVPixFmtDescriptor C.struct_AVPixFmtDescriptor

AVPixFmtDescriptor

func AvPixFmtDescGet

func AvPixFmtDescGet(pixFmt AVPixelFormat) *AVPixFmtDescriptor

AvPixFmtDescGet returns a pixel format descriptor for provided pixel format or NULL if this pixel format is unknown.

func AvPixFmtDescNext

func AvPixFmtDescNext(prev *AVPixFmtDescriptor) *AVPixFmtDescriptor

AvPixFmtDescNext iterates over all pixel format descriptors known to libavutil.

func (*AVPixFmtDescriptor) GetAlias

func (pfd *AVPixFmtDescriptor) GetAlias() string

GetAlias gets `AVPixFmtDescriptor.alias` value.

func (*AVPixFmtDescriptor) GetComp

func (pfd *AVPixFmtDescriptor) GetComp() []AVComponentDescriptor

GetComp gets `AVPixFmtDescriptor.comp` value.

func (*AVPixFmtDescriptor) GetCompAddr

func (pfd *AVPixFmtDescriptor) GetCompAddr() **AVComponentDescriptor

GetCompAddr gets `AVPixFmtDescriptor.comp` address.

func (*AVPixFmtDescriptor) GetFlags

func (pfd *AVPixFmtDescriptor) GetFlags() uint64

GetFlags gets `AVPixFmtDescriptor.flags` value.

func (*AVPixFmtDescriptor) GetFlagsAddr

func (pfd *AVPixFmtDescriptor) GetFlagsAddr() *uint64

GetFlagsAddr gets `AVPixFmtDescriptor.flags` address.

func (*AVPixFmtDescriptor) GetLog2ChromaH

func (pfd *AVPixFmtDescriptor) GetLog2ChromaH() uint8

GetLog2ChromaH gets `AVPixFmtDescriptor.log2_chroma_h` value.

func (*AVPixFmtDescriptor) GetLog2ChromaHAddr

func (pfd *AVPixFmtDescriptor) GetLog2ChromaHAddr() *uint8

GetLog2ChromaHAddr gets `AVPixFmtDescriptor.log2_chroma_h` address.

func (*AVPixFmtDescriptor) GetLog2ChromaW

func (pfd *AVPixFmtDescriptor) GetLog2ChromaW() uint8

GetLog2ChromaW gets `AVPixFmtDescriptor.log2_chroma_w` value.

func (*AVPixFmtDescriptor) GetLog2ChromaWAddr

func (pfd *AVPixFmtDescriptor) GetLog2ChromaWAddr() *uint8

GetLog2ChromaWAddr gets `AVPixFmtDescriptor.log2_chroma_w` address.

func (*AVPixFmtDescriptor) GetName

func (pfd *AVPixFmtDescriptor) GetName() string

GetName gets `AVPixFmtDescriptor.name` value.

func (*AVPixFmtDescriptor) GetNbComponents

func (pfd *AVPixFmtDescriptor) GetNbComponents() uint8

GetNbComponents gets `AVPixFmtDescriptor.nb_components` value.

func (*AVPixFmtDescriptor) GetNbComponentsAddr

func (pfd *AVPixFmtDescriptor) GetNbComponentsAddr() *uint8

GetNbComponentsAddr gets `AVPixFmtDescriptor.nb_components` address.

func (*AVPixFmtDescriptor) SetComp

func (pfd *AVPixFmtDescriptor) SetComp(v []AVComponentDescriptor)

SetComp sets `AVPixFmtDescriptor.comp` value.

func (*AVPixFmtDescriptor) SetFlags

func (pfd *AVPixFmtDescriptor) SetFlags(v uint64)

SetFlags sets `AVPixFmtDescriptor.flags` value.

func (*AVPixFmtDescriptor) SetLog2ChromaH

func (pfd *AVPixFmtDescriptor) SetLog2ChromaH(v uint8)

SetLog2ChromaH sets `AVPixFmtDescriptor.log2_chroma_h` value.

func (*AVPixFmtDescriptor) SetLog2ChromaW

func (pfd *AVPixFmtDescriptor) SetLog2ChromaW(v uint8)

SetLog2ChromaW sets `AVPixFmtDescriptor.log2_chroma_w` value.

func (*AVPixFmtDescriptor) SetNbComponents

func (pfd *AVPixFmtDescriptor) SetNbComponents(v uint8)

SetNbComponents sets `AVPixFmtDescriptor.nb_components` value.

type AVPixelFormat

type AVPixelFormat = C.enum_AVPixelFormat

Pixel format.

func AvCodecDefaultGetFormat

func AvCodecDefaultGetFormat(avctx *AVCodecContext, fmt *AVPixelFormat) AVPixelFormat

AvCodecDefaultGetFormat

func AvCodecFindBestPixFmtOfList

func AvCodecFindBestPixFmtOfList(pixFmtList *AVPixelFormat,
	srcPixFmt AVPixelFormat, hasAlpha int32, lossPtr *int32) AVPixelFormat

AvCodecFindBestPixFmtOfList finds the best pixel format to convert to given a certain source pixel format.

func AvFindBestPixFmtOf2

func AvFindBestPixFmtOf2(dstPixFmt1, dstPixFmt2, srcPixFmt AVPixelFormat,
	hasAlpha int32, lossPtr *int32) AVPixelFormat

AvFindBestPixFmtOf2 compute what kind of losses will occur when converting from one specific pixel format to another.

func AvGetPixFmt

func AvGetPixFmt(name string) AVPixelFormat

AvGetPixFmt returns the pixel format corresponding to name.

func AvPixFmtDescGetId

func AvPixFmtDescGetId(desc *AVPixFmtDescriptor) AVPixelFormat

AvPixFmtDescGetId returns an AVPixelFormat id described by desc, or AV_PIX_FMT_NONE if desc is not a valid pointer to a pixel format descriptor.

func AvPixFmtSwapEndianness

func AvPixFmtSwapEndianness(pixFmt AVPixelFormat) AVPixelFormat

AvPixFmtSwapEndianness

type AVPixelutilsSadFn

type AVPixelutilsSadFn C.av_pixelutils_sad_fn

AVPixelutilsSadFn

func AvPixelutilsGetSadFn

func AvPixelutilsGetSadFn(wBits, hBits, aligned int32, logCtx CVoidPointer) AVPixelutilsSadFn

AvPixelutilsGetSadFn gets a potentially optimized pointer to a Sum-of-absolute-differences function (see the av_pixelutils_sad_fn prototype).

type AVPrimaryCoefficients added in v0.51.1

type AVPrimaryCoefficients C.struct_AVPrimaryCoefficients

AVPrimaryCoefficients

func (*AVPrimaryCoefficients) GetB added in v0.51.1

func (pc *AVPrimaryCoefficients) GetB() AVCIExy

GetB gets `AVPrimaryCoefficients.b` value.

func (*AVPrimaryCoefficients) GetBAddr added in v0.51.1

func (pc *AVPrimaryCoefficients) GetBAddr() *AVCIExy

GetBAddr gets `AVPrimaryCoefficients.b` address.

func (*AVPrimaryCoefficients) GetG added in v0.51.1

func (pc *AVPrimaryCoefficients) GetG() AVCIExy

GetG gets `AVPrimaryCoefficients.g` value.

func (*AVPrimaryCoefficients) GetGAddr added in v0.51.1

func (pc *AVPrimaryCoefficients) GetGAddr() *AVCIExy

GetGAddr gets `AVPrimaryCoefficients.g` address.

func (*AVPrimaryCoefficients) GetR added in v0.51.1

func (pc *AVPrimaryCoefficients) GetR() AVCIExy

GetR gets `AVPrimaryCoefficients.r` value.

func (*AVPrimaryCoefficients) GetRAddr added in v0.51.1

func (pc *AVPrimaryCoefficients) GetRAddr() *AVCIExy

GetRAddr gets `AVPrimaryCoefficients.r` address.

func (*AVPrimaryCoefficients) SetB added in v0.51.1

func (pc *AVPrimaryCoefficients) SetB(v AVCIExy)

SetB sets `AVPrimaryCoefficients.b` value.

func (*AVPrimaryCoefficients) SetG added in v0.51.1

func (pc *AVPrimaryCoefficients) SetG(v AVCIExy)

SetG sets `AVPrimaryCoefficients.g` value.

func (*AVPrimaryCoefficients) SetR added in v0.51.1

func (pc *AVPrimaryCoefficients) SetR(v AVCIExy)

SetR sets `AVPrimaryCoefficients.r` value.

type AVProbeData

type AVProbeData C.struct_AVProbeData

AVProbeData

func (*AVProbeData) GetBuf

func (pd *AVProbeData) GetBuf() *uint8

GetBuf gets `AVProbeData.buf` value.

func (*AVProbeData) GetBufAddr

func (pd *AVProbeData) GetBufAddr() **uint8

GetBufAddr gets `AVProbeData.buf` address.

func (*AVProbeData) GetBufSize

func (pd *AVProbeData) GetBufSize() int32

GetBufSize gets `AVProbeData.buf_size` value.

func (*AVProbeData) GetBufSizeAddr

func (pd *AVProbeData) GetBufSizeAddr() *int32

GetBufSizeAddr gets `AVProbeData.buf_size` address.

func (*AVProbeData) GetFilename

func (pd *AVProbeData) GetFilename() string

GetFilename gets `AVProbeData.filename` value.

func (*AVProbeData) GetMimeType

func (pd *AVProbeData) GetMimeType() string

GetMimeType gets `AVProbeData.mimetype` value.

func (*AVProbeData) SetBuf

func (pd *AVProbeData) SetBuf(v *uint8)

SetBuf sets `AVProbeData.buf` value.

func (*AVProbeData) SetBufSize

func (pd *AVProbeData) SetBufSize(v int32)

SetBufSize sets `AVProbeData.buf_size` value.

type AVProducerReferenceTime

type AVProducerReferenceTime C.struct_AVProducerReferenceTime

This structure supplies correlation between a packet timestamp and a wall clock production time. The definition follows the Producer Reference Time ('prft') as defined in ISO/IEC 14496-12

func (*AVProducerReferenceTime) GetFlags added in v0.43.1

func (prt *AVProducerReferenceTime) GetFlags() int32

GetFlags gets `AVProducerReferenceTime.flags` value.

func (*AVProducerReferenceTime) GetFlagsAddr added in v0.43.1

func (prt *AVProducerReferenceTime) GetFlagsAddr() *int32

GetFlagsAddr gets `AVProducerReferenceTime.flags` address.

func (*AVProducerReferenceTime) GetWallclock added in v0.43.1

func (prt *AVProducerReferenceTime) GetWallclock() int64

GetWallclock gets `AVProducerReferenceTime.wallclock` value.

func (*AVProducerReferenceTime) GetWallclockAddr added in v0.43.1

func (prt *AVProducerReferenceTime) GetWallclockAddr() *int64

GetWallclockAddr gets `AVProducerReferenceTime.wallclock` address.

func (*AVProducerReferenceTime) SetFlags added in v0.43.1

func (prt *AVProducerReferenceTime) SetFlags(v int32)

SetFlags sets `AVProducerReferenceTime.flags` value.

func (*AVProducerReferenceTime) SetWallclock added in v0.43.1

func (prt *AVProducerReferenceTime) SetWallclock(v int64)

SetWallclock sets `AVProducerReferenceTime.wallclock` value.

type AVProfile

type AVProfile C.struct_AVProfile

AVProfile

func (*AVProfile) GetName

func (p *AVProfile) GetName() string

GetName gets `AVProfile.name` value.

func (*AVProfile) GetProfile

func (p *AVProfile) GetProfile() int32

GetProfile gets `AVProfile.profile` value.

type AVProgram

type AVProgram C.struct_AVProgram

AVProgram

func AvFindProgramFromStream

func AvFindProgramFromStream(ic *AVFormatContext, last *AVProgram, s int32) *AVProgram

AvFindProgramFromStream finds the programs which belong to a given stream.

func AvNewProgram

func AvNewProgram(s *AVFormatContext, id int32) *AVProgram

AvNewProgram

func (*AVProgram) GetDiscard

func (pgm *AVProgram) GetDiscard() AVDiscard

GetDiscard gets `AVProgram.discard` value.

func (*AVProgram) GetDiscardAddr

func (pgm *AVProgram) GetDiscardAddr() *AVDiscard

GetDiscardAddr gets `AVProgram.discard` address.

func (*AVProgram) GetFlags

func (pgm *AVProgram) GetFlags() int32

GetFlags gets `AVProgram.flags` value.

func (*AVProgram) GetFlagsAddr

func (pgm *AVProgram) GetFlagsAddr() *int32

GetFlagsAddr gets `AVProgram.flags` address.

func (*AVProgram) GetId

func (pgm *AVProgram) GetId() int32

GetId gets `AVProgram.id` value.

func (*AVProgram) GetIdAddr

func (pgm *AVProgram) GetIdAddr() *int32

GetIdAddr gets `AVProgram.id` address.

func (*AVProgram) GetMetadata

func (pgm *AVProgram) GetMetadata() *AVDictionary

GetMetadata gets `AVProgram.metadata` value.

func (*AVProgram) GetMetadataAddr

func (pgm *AVProgram) GetMetadataAddr() **AVDictionary

GetMetadataAddr gets `AVProgram.metadata` address.

func (*AVProgram) GetNbStreamIndexes

func (pgm *AVProgram) GetNbStreamIndexes() uint32

GetNbStreamIndexes gets `AVProgram.nb_stream_indexes` value.

func (*AVProgram) GetNbStreamIndexesAddr

func (pgm *AVProgram) GetNbStreamIndexesAddr() *uint32

GetNbStreamIndexesAddr gets `AVProgram.nb_stream_indexes` address.

func (*AVProgram) GetPcrPid

func (pgm *AVProgram) GetPcrPid() int32

GetPcrPid gets `AVProgram.pcr_pid` value.

func (*AVProgram) GetPcrPidAddr

func (pgm *AVProgram) GetPcrPidAddr() *int32

GetPcrPidAddr gets `AVProgram.pcr_pid` address.

func (*AVProgram) GetPmtPid

func (pgm *AVProgram) GetPmtPid() int32

GetPmtPid gets `AVProgram.pmt_pid` value.

func (*AVProgram) GetPmtPidAddr

func (pgm *AVProgram) GetPmtPidAddr() *int32

GetPmtPidAddr gets `AVProgram.pmt_pid` address.

func (*AVProgram) GetPmtVersion added in v0.41.1

func (pgm *AVProgram) GetPmtVersion() int32

GetPmtVersion gets `AVProgram.pmt_version` value.

func (*AVProgram) GetPmtVersionAddr added in v0.41.1

func (pgm *AVProgram) GetPmtVersionAddr() *int32

GetPmtVersionAddr gets `AVProgram.pmt_version` address.

func (*AVProgram) GetProgramNum

func (pgm *AVProgram) GetProgramNum() int32

GetProgramNum gets `AVProgram.program_num` value.

func (*AVProgram) GetProgramNumAddr

func (pgm *AVProgram) GetProgramNumAddr() *int32

GetProgramNumAddr gets `AVProgram.program_num` address.

func (*AVProgram) GetStreamIndex

func (pgm *AVProgram) GetStreamIndex() (v []uint32)

GetStreamIndex gets `AVProgram.stream_index` value.

func (*AVProgram) GetStreamIndexAddr

func (pgm *AVProgram) GetStreamIndexAddr() **uint32

GetStreamIndexAddr gets `AVProgram.stream_index` address.

func (*AVProgram) SetDiscard

func (pgm *AVProgram) SetDiscard(v AVDiscard)

SetDiscard sets `AVProgram.discard` value.

func (*AVProgram) SetFlags

func (pgm *AVProgram) SetFlags(v int32)

SetFlags sets `AVProgram.flags` value.

func (*AVProgram) SetId

func (pgm *AVProgram) SetId(v int32)

SetId sets `AVProgram.id` value.

func (*AVProgram) SetMetadata

func (pgm *AVProgram) SetMetadata(v *AVDictionary)

SetMetadata sets `AVProgram.metadata` value.

func (*AVProgram) SetNbStreamIndexes

func (pgm *AVProgram) SetNbStreamIndexes(v uint32)

SetNbStreamIndexes sets `AVProgram.nb_stream_indexes` value.

func (*AVProgram) SetPcrPid

func (pgm *AVProgram) SetPcrPid(v int32)

SetPcrPid sets `AVProgram.pcr_pid` value.

func (*AVProgram) SetPmtPid

func (pgm *AVProgram) SetPmtPid(v int32)

SetPmtPid sets `AVProgram.pmt_pid` value.

func (*AVProgram) SetPmtVersion added in v0.41.1

func (pgm *AVProgram) SetPmtVersion(v int32)

SetPmtVersion sets `AVProgram.pmt_version` value.

func (*AVProgram) SetProgramNum

func (pgm *AVProgram) SetProgramNum(v int32)

SetProgramNum sets `AVProgram.program_num` value.

func (*AVProgram) SetStreamIndex

func (pgm *AVProgram) SetStreamIndex(v *uint32)

SetStreamIndex sets `AVProgram.stream_index` value.

type AVRC4

type AVRC4 C.struct_AVRC4

AVRC4

func AvRc4Alloc

func AvRc4Alloc() *AVRC4

AvRc4Alloc allocates an AVRC4 context.

type AVRIPEMD

type AVRIPEMD C.struct_AVRIPEMD

AVRIPEMD

func AvRipemdAlloc

func AvRipemdAlloc() *AVRIPEMD

AvRipemdAlloc allocates an AVRIPEMD context.

type AVRational

type AVRational C.struct_AVRational

AVRational

func AvAddQ

func AvAddQ(a, b AVRational) AVRational

AvAddQ adds two rationals.

func AvBuffersinkGetFrameRate

func AvBuffersinkGetFrameRate(ctx *AVFilterContext) AVRational

AvBuffersinkGetFrameRate

func AvBuffersinkGetSampleAspectRatio

func AvBuffersinkGetSampleAspectRatio(ctx *AVFilterContext) AVRational

AvBuffersinkGetSampleAspectRatio

func AvBuffersinkGetTimeBase

func AvBuffersinkGetTimeBase(ctx *AVFilterContext) AVRational

AvBuffersinkGetTimeBase

func AvD2Q

func AvD2Q(d float64, max int32) AVRational

AvD2Q converts a double precision floating point number to a rational.

func AvDivQ

func AvDivQ(a, b AVRational) AVRational

AvDivQ divides one rational by another.

func AvGcdQ added in v0.43.1

func AvGcdQ(a, b AVRational, maxDen int32, def AVRational) AVRational

AvGcdQ returns the best rational so that a and b are multiple of it. If the resulting denominator is larger than max_den, return def.

func AvGetTimeBaseQ

func AvGetTimeBaseQ() AVRational

AvGetTimeBaseQ returns the fractional representation of the internal time base.

func AvGuessFrameRate

func AvGuessFrameRate(ctx *AVFormatContext, stream *AVStream, frame *AVFrame) AVRational

AvGuessFrameRate guesses the frame rate, based on both the container and codec information.

func AvGuessSampleAspectRatio

func AvGuessSampleAspectRatio(format *AVFormatContext, stream *AVStream, frame *AVFrame) AVRational

AvGuessSampleAspectRatio guesses the sample aspect ratio of a frame, based on both the stream and the frame aspect ratio.

func AvInvQ

func AvInvQ(q AVRational) AVRational

AvInvQ invert a rational. return 1 / q

func AvMakeQ

func AvMakeQ(num, den int32) AVRational

AvMakeQ creates an AVRational with numerator and denominator.

func AvMulQ

func AvMulQ(a, b AVRational) AVRational

AvMulQ multiplies two rationals.

func AvStreamGetCodecTimebase

func AvStreamGetCodecTimebase(st *AVStream) AVRational

AvStreamGetCodecTimebase gets the internal codec timebase from a stream.

func AvSubQ

func AvSubQ(a, b AVRational) AVRational

AvSubQ subtracts one rational from another.

func (*AVRational) GetDen

func (q *AVRational) GetDen() int32

GetDen gets `AVRational.den` value.

func (*AVRational) GetNum

func (q *AVRational) GetNum() int32

GetNum gets `AVRational.num` value.

type AVRegionOfInterest

type AVRegionOfInterest C.struct_AVRegionOfInterest

Structure describing a single Region Of Interest.

func (*AVRegionOfInterest) GetBottom added in v0.42.1

func (roi *AVRegionOfInterest) GetBottom() int32

GetBottom gets `AVRegionOfInterest.bottom` value.

func (*AVRegionOfInterest) GetBottomAddr added in v0.42.1

func (roi *AVRegionOfInterest) GetBottomAddr() *int32

GetBottomAddr gets `AVRegionOfInterest.bottom` address.

func (*AVRegionOfInterest) GetLeft added in v0.42.1

func (roi *AVRegionOfInterest) GetLeft() int32

GetLeft gets `AVRegionOfInterest.left` value.

func (*AVRegionOfInterest) GetLeftAddr added in v0.42.1

func (roi *AVRegionOfInterest) GetLeftAddr() *int32

GetLeftAddr gets `AVRegionOfInterest.left` address.

func (*AVRegionOfInterest) GetQoffset added in v0.42.1

func (roi *AVRegionOfInterest) GetQoffset() AVRational

GetQoffset gets `AVRegionOfInterest.qoffset` value.

func (*AVRegionOfInterest) GetQoffsetAddr added in v0.42.1

func (roi *AVRegionOfInterest) GetQoffsetAddr() *AVRational

GetQoffsetAddr gets `AVRegionOfInterest.qoffset` address.

func (*AVRegionOfInterest) GetRight added in v0.42.1

func (roi *AVRegionOfInterest) GetRight() int32

GetRight gets `AVRegionOfInterest.right` value.

func (*AVRegionOfInterest) GetRightAddr added in v0.42.1

func (roi *AVRegionOfInterest) GetRightAddr() *int32

GetRightAddr gets `AVRegionOfInterest.right` address.

func (*AVRegionOfInterest) GetSelfSize added in v0.42.1

func (roi *AVRegionOfInterest) GetSelfSize() uint32

GetSelfSize gets `AVRegionOfInterest.self_size` value.

func (*AVRegionOfInterest) GetSelfSizeAddr added in v0.42.1

func (roi *AVRegionOfInterest) GetSelfSizeAddr() *uint32

GetSelfSizeAddr gets `AVRegionOfInterest.self_size` address.

func (*AVRegionOfInterest) GetTop added in v0.42.1

func (roi *AVRegionOfInterest) GetTop() int32

GetTop gets `AVRegionOfInterest.top` value.

func (*AVRegionOfInterest) GetTopAddr added in v0.42.1

func (roi *AVRegionOfInterest) GetTopAddr() *int32

GetTopAddr gets `AVRegionOfInterest.top` address.

func (*AVRegionOfInterest) SetBottom added in v0.42.1

func (roi *AVRegionOfInterest) SetBottom(v int32)

SetBottom sets `AVRegionOfInterest.bottom` value.

func (*AVRegionOfInterest) SetLeft added in v0.42.1

func (roi *AVRegionOfInterest) SetLeft(v int32)

SetLeft sets `AVRegionOfInterest.left` value.

func (*AVRegionOfInterest) SetQoffset added in v0.42.1

func (roi *AVRegionOfInterest) SetQoffset(v AVRational)

SetQoffset sets `AVRegionOfInterest.qoffset` value.

func (*AVRegionOfInterest) SetRight added in v0.42.1

func (roi *AVRegionOfInterest) SetRight(v int32)

SetRight sets `AVRegionOfInterest.right` value.

func (*AVRegionOfInterest) SetSelfSize added in v0.42.1

func (roi *AVRegionOfInterest) SetSelfSize(v uint32)

SetSelfSize sets `AVRegionOfInterest.self_size` value.

func (*AVRegionOfInterest) SetTop added in v0.42.1

func (roi *AVRegionOfInterest) SetTop(v int32)

SetTop sets `AVRegionOfInterest.top` value.

type AVReplayGain

type AVReplayGain C.struct_AVReplayGain

AVReplayGain

func (*AVReplayGain) GetAlbumGain

func (rg *AVReplayGain) GetAlbumGain() int32

GetAlbumGain gets `AVReplayGain.album_gain` value.

func (*AVReplayGain) GetAlbumGainAddr

func (rg *AVReplayGain) GetAlbumGainAddr() *int32

GetAlbumGainAddr gets `AVReplayGain.album_gain` address.

func (*AVReplayGain) GetAlbumPeak

func (rg *AVReplayGain) GetAlbumPeak() uint32

GetAlbumPeak gets `AVReplayGain.album_peak` value.

func (*AVReplayGain) GetAlbumPeakAddr

func (rg *AVReplayGain) GetAlbumPeakAddr() *uint32

GetAlbumPeakAddr gets `AVReplayGain.album_peak` address.

func (*AVReplayGain) GetTrackGain

func (rg *AVReplayGain) GetTrackGain() int32

GetTrackGain gets `AVReplayGain.track_gain` value.

func (*AVReplayGain) GetTrackGainAddr

func (rg *AVReplayGain) GetTrackGainAddr() *int32

GetTrackGainAddr gets `AVReplayGain.track_gain` address.

func (*AVReplayGain) GetTrackPeak

func (rg *AVReplayGain) GetTrackPeak() uint32

GetTrackPeak gets `AVReplayGain.track_peak` value.

func (*AVReplayGain) GetTrackPeakAddr

func (rg *AVReplayGain) GetTrackPeakAddr() *uint32

GetTrackPeakAddr gets `AVReplayGain.track_peak` address.

func (*AVReplayGain) SetAlbumGain

func (rg *AVReplayGain) SetAlbumGain(v int32)

SetAlbumGain sets `AVReplayGain.album_gain` value.

func (*AVReplayGain) SetAlbumPeak

func (rg *AVReplayGain) SetAlbumPeak(v uint32)

SetAlbumPeak sets `AVReplayGain.album_peak` value.

func (*AVReplayGain) SetTrackGain

func (rg *AVReplayGain) SetTrackGain(v int32)

SetTrackGain sets `AVReplayGain.track_gain` value.

func (*AVReplayGain) SetTrackPeak

func (rg *AVReplayGain) SetTrackPeak(v uint32)

SetTrackPeak sets `AVReplayGain.track_peak` value.

type AVRounding

type AVRounding = C.enum_AVRounding

AVRounding

type AVSHA

type AVSHA C.struct_AVSHA

AVSHA

func AvShaAlloc

func AvShaAlloc() *AVSHA

AvShaAlloc allocates an AVSHA context.

type AVSHA512

type AVSHA512 C.struct_AVSHA512

AVSHA512

func AvSha512Alloc

func AvSha512Alloc() *AVSHA512

AvSha512Alloc allocates an AVSHA512 context.

type AVSampleFormat

type AVSampleFormat = C.enum_AVSampleFormat

AVSampleFormat

func AvGetAltSampleFmt

func AvGetAltSampleFmt(sampleFmt AVSampleFormat, planar int32) AVSampleFormat

AvGetAltSampleFmt returns the planar<->packed alternative form of the given sample format, or Av_SAMPLE_FMT_NONE on error. If the passed sample_fmt is already in the requested planar/packed format, the format returned is the same as the input.

func AvGetPackedSampleFmt

func AvGetPackedSampleFmt(sampleFmt AVSampleFormat) AVSampleFormat

AvGetPackedSampleFmt gets the packed alternative form of the given sample format.

func AvGetPlanarSampleFmt

func AvGetPlanarSampleFmt(sampleFmt AVSampleFormat) AVSampleFormat

AvGetPlanarSampleFmt gets the planar alternative form of the given sample format.

func AvGetSampleFmt

func AvGetSampleFmt(name string) AVSampleFormat

AvGetSampleFmt returns a sample format corresponding to name, or AV_SAMPLE_FMT_NONE on error.

type AVSideDataParamChangeFlags

type AVSideDataParamChangeFlags = C.enum_AVSideDataParamChangeFlags

AVSideDataParamChangeFlags

type AVSphericalMapping

type AVSphericalMapping C.struct_AVSphericalMapping

AVSphericalMapping

func AvSphericalAlloc

func AvSphericalAlloc(size *uintptr) *AVSphericalMapping

AvSphericalAlloc allocate a AVSphericalVideo structure and initialize its fields to default values.

func (*AVSphericalMapping) GetBoundBottom

func (smp *AVSphericalMapping) GetBoundBottom() uint32

GetBoundBottom gets `AVSphericalMapping.bound_bottom` value.

func (*AVSphericalMapping) GetBoundBottomAddr

func (smp *AVSphericalMapping) GetBoundBottomAddr() *uint32

GetBoundBottomAddr gets `AVSphericalMapping.bound_bottom` address.

func (*AVSphericalMapping) GetBoundLeft

func (smp *AVSphericalMapping) GetBoundLeft() uint32

GetBoundLeft gets `AVSphericalMapping.bound_left` value.

func (*AVSphericalMapping) GetBoundLeftAddr

func (smp *AVSphericalMapping) GetBoundLeftAddr() *uint32

GetBoundLeftAddr gets `AVSphericalMapping.bound_left` address.

func (*AVSphericalMapping) GetBoundRight

func (smp *AVSphericalMapping) GetBoundRight() uint32

GetBoundRight gets `AVSphericalMapping.bound_right` value.

func (*AVSphericalMapping) GetBoundRightAddr

func (smp *AVSphericalMapping) GetBoundRightAddr() *uint32

GetBoundRightAddr gets `AVSphericalMapping.bound_right` address.

func (*AVSphericalMapping) GetBoundTop

func (smp *AVSphericalMapping) GetBoundTop() uint32

GetBoundTop gets `AVSphericalMapping.bound_top` value.

func (*AVSphericalMapping) GetBoundTopAddr

func (smp *AVSphericalMapping) GetBoundTopAddr() *uint32

GetBoundTopAddr gets `AVSphericalMapping.bound_top` address.

func (*AVSphericalMapping) GetPadding

func (smp *AVSphericalMapping) GetPadding() uint32

GetPadding gets `AVSphericalMapping.padding` value.

func (*AVSphericalMapping) GetPaddingAddr

func (smp *AVSphericalMapping) GetPaddingAddr() *uint32

GetPaddingAddr gets `AVSphericalMapping.padding` address.

func (*AVSphericalMapping) GetPitch

func (smp *AVSphericalMapping) GetPitch() int32

GetPitch gets `AVSphericalMapping.pitch` value.

func (*AVSphericalMapping) GetPitchAddr

func (smp *AVSphericalMapping) GetPitchAddr() *int32

GetPitchAddr gets `AVSphericalMapping.pitch` address.

func (*AVSphericalMapping) GetProjection

func (smp *AVSphericalMapping) GetProjection() AVSphericalProjection

GetProjection gets `AVSphericalMapping.projection` value.

func (*AVSphericalMapping) GetProjectionAddr

func (smp *AVSphericalMapping) GetProjectionAddr() *AVSphericalProjection

GetProjectionAddr gets `AVSphericalMapping.projection` address.

func (*AVSphericalMapping) GetRoll

func (smp *AVSphericalMapping) GetRoll() int32

GetRoll gets `AVSphericalMapping.roll` value.

func (*AVSphericalMapping) GetRollAddr

func (smp *AVSphericalMapping) GetRollAddr() *int32

GetRollAddr gets `AVSphericalMapping.roll` address.

func (*AVSphericalMapping) GetYaw

func (smp *AVSphericalMapping) GetYaw() int32

GetYaw gets `AVSphericalMapping.yaw` value.

func (*AVSphericalMapping) GetYawAddr

func (smp *AVSphericalMapping) GetYawAddr() *int32

GetYawAddr gets `AVSphericalMapping.yaw` address.

func (*AVSphericalMapping) SetBoundBottom

func (smp *AVSphericalMapping) SetBoundBottom(v uint32)

SetBoundBottom sets `AVSphericalMapping.bound_bottom` value.

func (*AVSphericalMapping) SetBoundLeft

func (smp *AVSphericalMapping) SetBoundLeft(v uint32)

SetBoundLeft sets `AVSphericalMapping.bound_left` value.

func (*AVSphericalMapping) SetBoundRight

func (smp *AVSphericalMapping) SetBoundRight(v uint32)

SetBoundRight sets `AVSphericalMapping.bound_right` value.

func (*AVSphericalMapping) SetBoundTop

func (smp *AVSphericalMapping) SetBoundTop(v uint32)

SetBoundTop sets `AVSphericalMapping.bound_top` value.

func (*AVSphericalMapping) SetPadding

func (smp *AVSphericalMapping) SetPadding(v uint32)

SetPadding sets `AVSphericalMapping.padding` value.

func (*AVSphericalMapping) SetPitch

func (smp *AVSphericalMapping) SetPitch(v int32)

SetPitch sets `AVSphericalMapping.pitch` value.

func (*AVSphericalMapping) SetProjection

func (smp *AVSphericalMapping) SetProjection(v AVSphericalProjection)

SetProjection sets `AVSphericalMapping.projection` value.

func (*AVSphericalMapping) SetRoll

func (smp *AVSphericalMapping) SetRoll(v int32)

SetRoll sets `AVSphericalMapping.roll` value.

func (*AVSphericalMapping) SetYaw

func (smp *AVSphericalMapping) SetYaw(v int32)

SetYaw sets `AVSphericalMapping.yaw` value.

type AVSphericalProjection

type AVSphericalProjection = C.enum_AVSphericalProjection

AVSphericalProjection

type AVStereo3D

type AVStereo3D C.struct_AVStereo3D

AVStereo3D

func AvStereo3dAlloc

func AvStereo3dAlloc() *AVStereo3D

AvStereo3dAlloc allocates an AVStereo3D structure and set its fields to default values.

func AvStereo3dCreateSideData

func AvStereo3dCreateSideData(frame *AVFrame) *AVStereo3D

AvStereo3dCreateSideData allocates a complete AVFrameSideData and add it to the frame.

func (*AVStereo3D) GetFlags

func (s3d *AVStereo3D) GetFlags() int32

GetFlags gets `AVStereo3D.flags` value.

func (*AVStereo3D) GetFlagsAddr

func (s3d *AVStereo3D) GetFlagsAddr() *int32

GetFlagsAddr gets `AVStereo3D.flags` address.

func (*AVStereo3D) GetType

func (s3d *AVStereo3D) GetType() AVStereo3DType

GetType gets `AVStereo3D.type` value.

func (*AVStereo3D) GetTypeAddr

func (s3d *AVStereo3D) GetTypeAddr() *AVStereo3DType

GetTypeAddr gets `AVStereo3D.type` address.

func (*AVStereo3D) GetView

func (s3d *AVStereo3D) GetView() AVStereo3DView

GetView gets `AVStereo3D.view` value.

func (*AVStereo3D) GetViewAddr

func (s3d *AVStereo3D) GetViewAddr() *AVStereo3DView

GetViewAddr gets `AVStereo3D.view` address.

func (*AVStereo3D) SetFlags

func (s3d *AVStereo3D) SetFlags(v int32)

SetFlags sets `AVStereo3D.flags` value.

func (*AVStereo3D) SetType

func (s3d *AVStereo3D) SetType(v AVStereo3DType)

SetType sets `AVStereo3D.type` value.

func (*AVStereo3D) SetView

func (s3d *AVStereo3D) SetView(v AVStereo3DView)

SetView sets `AVStereo3D.view` value.

type AVStereo3DType

type AVStereo3DType = C.enum_AVStereo3DType

AVStereo3DType

type AVStereo3DView

type AVStereo3DView = C.enum_AVStereo3DView

AVStereo3DView

type AVStream

type AVStream C.struct_AVStream

AVStream

func AvFormatNewStream

func AvFormatNewStream(s *AVFormatContext, c *AVCodec) *AVStream

AvFormatNewStream adds a new stream to a media file.

func (*AVStream) GetAttachedPic

func (stm *AVStream) GetAttachedPic() AVPacket

GetAttachedPic gets `AVStream.attached_pic` value.

func (*AVStream) GetAttachedPicAddr

func (stm *AVStream) GetAttachedPicAddr() *AVPacket

GetAttachedPicAddr gets `AVStream.attached_pic` address.

func (*AVStream) GetAvgFrameRate

func (stm *AVStream) GetAvgFrameRate() AVRational

GetAvgFrameRate gets `AVStream.avg_frame_rate` value.

func (*AVStream) GetAvgFrameRateAddr

func (stm *AVStream) GetAvgFrameRateAddr() *AVRational

GetAvgFrameRateAddr gets `AVStream.avg_frame_rate` address.

func (*AVStream) GetCodecpar

func (stm *AVStream) GetCodecpar() *AVCodecParameters

GetCodecpar gets `AVStream.codecpar` value.

func (*AVStream) GetCodecparAddr

func (stm *AVStream) GetCodecparAddr() **AVCodecParameters

GetCodecparAddr gets `AVStream.codecpar` address.

func (*AVStream) GetDiscard

func (stm *AVStream) GetDiscard() AVDiscard

GetDiscard gets `AVStream.discard` value.

func (*AVStream) GetDiscardAddr

func (stm *AVStream) GetDiscardAddr() *AVDiscard

GetDiscardAddr gets `AVStream.discard` address.

func (*AVStream) GetDisposition

func (stm *AVStream) GetDisposition() int32

GetDisposition gets `AVStream.disposition` value.

func (*AVStream) GetDispositionAddr

func (stm *AVStream) GetDispositionAddr() *int32

GetDispositionAddr gets `AVStream.disposition` address.

func (*AVStream) GetDuration

func (stm *AVStream) GetDuration() int64

GetDuration gets `AVStream.duration` value.

func (*AVStream) GetDurationAddr

func (stm *AVStream) GetDurationAddr() *int64

GetDurationAddr gets `AVStream.duration` address.

func (*AVStream) GetEventFlags

func (stm *AVStream) GetEventFlags() int32

GetEventFlags gets `AVStream.event_flags` value.

func (*AVStream) GetEventFlagsAddr

func (stm *AVStream) GetEventFlagsAddr() *int32

GetEventFlagsAddr gets `AVStream.event_flags` address.

func (*AVStream) GetId

func (stm *AVStream) GetId() int32

GetId gets `AVStream.id` value.

func (*AVStream) GetIdAddr

func (stm *AVStream) GetIdAddr() *int32

GetIdAddr gets `AVStream.id` address.

func (*AVStream) GetIndex

func (stm *AVStream) GetIndex() int32

GetIndex gets `AVStream.index` value.

func (*AVStream) GetIndexAddr

func (stm *AVStream) GetIndexAddr() *int32

GetIndexAddr gets `AVStream.index` address.

func (*AVStream) GetMetadata

func (stm *AVStream) GetMetadata() *AVDictionary

GetMetadata gets `AVStream.metadata` value.

func (*AVStream) GetMetadataAddr

func (stm *AVStream) GetMetadataAddr() **AVDictionary

GetMetadataAddr gets `AVStream.metadata` address.

func (*AVStream) GetNbFrames

func (stm *AVStream) GetNbFrames() int64

GetNbFrames gets `AVStream.nb_frames` value.

func (*AVStream) GetNbFramesAddr

func (stm *AVStream) GetNbFramesAddr() *int64

GetNbFramesAddr gets `AVStream.nb_frames` address.

func (*AVStream) GetNbSideData deprecated

func (stm *AVStream) GetNbSideData() int32

Deprecated: Use AVStream's AVCodecParameters.nb_coded_side_data "codecpar side data" instead.

GetNbSideData gets `AVStream.nb_side_data` value.

func (*AVStream) GetNbSideDataAddr deprecated

func (stm *AVStream) GetNbSideDataAddr() *int32

Deprecated: Use AVStream's AVCodecParameters.nb_coded_side_data "codecpar side data" instead.

GetNbSideDataAddr gets `AVStream.nb_side_data` address.

func (*AVStream) GetPrivData

func (stm *AVStream) GetPrivData() unsafe.Pointer

GetPrivData gets `AVStream.priv_data` value.

func (*AVStream) GetPrivDataAddr

func (stm *AVStream) GetPrivDataAddr() unsafe.Pointer

GetPrivDataAddr gets `AVStream.priv_data` address.

func (*AVStream) GetPtsWrapBits added in v0.50.1

func (stm *AVStream) GetPtsWrapBits() int32

GetPtsWrapBits gets `AVStream.pts_wrap_bits` value.

func (*AVStream) GetPtsWrapBitsAddr added in v0.50.1

func (stm *AVStream) GetPtsWrapBitsAddr() *int32

GetPtsWrapBitsAddr gets `AVStream.pts_wrap_bits` address.

func (*AVStream) GetRFrameRate

func (stm *AVStream) GetRFrameRate() AVRational

GetRFrameRate gets `AVStream.r_frame_rate` value.

func (*AVStream) GetRFrameRateAddr

func (stm *AVStream) GetRFrameRateAddr() *AVRational

GetRFrameRateAddr gets `AVStream.r_frame_rate` address.

func (*AVStream) GetSampleAspectRatio

func (stm *AVStream) GetSampleAspectRatio() AVRational

GetSampleAspectRatio gets `AVStream.sample_aspect_ratio` value.

func (*AVStream) GetSampleAspectRatioAddr

func (stm *AVStream) GetSampleAspectRatioAddr() *AVRational

GetSampleAspectRatioAddr gets `AVStream.sample_aspect_ratio` address.

func (*AVStream) GetSideData deprecated

func (stm *AVStream) GetSideData() []AVPacketSideData

Deprecated: Use AVStream's AVCodecParameters.coded_side_data "codecpar side data" instead.

GetSideData gets `AVStream.side_data` value.

func (*AVStream) GetSideDataAddr deprecated

func (stm *AVStream) GetSideDataAddr() **AVPacketSideData

Deprecated: Use AVStream's AVCodecParameters.coded_side_data "codecpar side data" instead.

GetSideDataAddr gets `AVStream.side_data` address.

func (*AVStream) GetStartTime

func (stm *AVStream) GetStartTime() int64

GetStartTime gets `AVStream.start_time` value.

func (*AVStream) GetStartTimeAddr

func (stm *AVStream) GetStartTimeAddr() *int64

GetStartTimeAddr gets `AVStream.start_time` address.

func (*AVStream) GetTimeBase

func (stm *AVStream) GetTimeBase() AVRational

GetTimeBase gets `AVStream.time_base` value.

func (*AVStream) GetTimeBaseAddr

func (stm *AVStream) GetTimeBaseAddr() *AVRational

GetTimeBaseAddr gets `AVStream.time_base` address.

func (*AVStream) SetAttachedPic

func (stm *AVStream) SetAttachedPic(v AVPacket)

SetAttachedPic sets `AVStream.attached_pic` value.

func (*AVStream) SetAvgFrameRate

func (stm *AVStream) SetAvgFrameRate(v AVRational)

SetAvgFrameRate sets `AVStream.avg_frame_rate` value.

func (*AVStream) SetCodecpar

func (stm *AVStream) SetCodecpar(v *AVCodecParameters)

SetCodecpar sets `AVStream.codecpar` value.

func (*AVStream) SetDiscard

func (stm *AVStream) SetDiscard(v AVDiscard)

SetDiscard sets `AVStream.discard` value.

func (*AVStream) SetDisposition

func (stm *AVStream) SetDisposition(v int32)

SetDisposition sets `AVStream.disposition` value.

func (*AVStream) SetDuration

func (stm *AVStream) SetDuration(v int64)

SetDuration sets `AVStream.duration` value.

func (*AVStream) SetEventFlags

func (stm *AVStream) SetEventFlags(v int32)

SetEventFlags sets `AVStream.event_flags` value.

func (*AVStream) SetId

func (stm *AVStream) SetId(v int32)

SetId sets `AVStream.id` value.

func (*AVStream) SetIndex

func (stm *AVStream) SetIndex(v int32)

SetIndex sets `AVStream.index` value.

func (*AVStream) SetMetadata

func (stm *AVStream) SetMetadata(v *AVDictionary)

SetMetadata sets `AVStream.metadata` value.

func (*AVStream) SetNbFrames

func (stm *AVStream) SetNbFrames(v int64)

SetNbFrames sets `AVStream.nb_frames` value.

func (*AVStream) SetNbSideData deprecated

func (stm *AVStream) SetNbSideData(v int32)

Deprecated: Use AVStream's AVCodecParameters.nb_coded_side_data "codecpar side data" instead.

SetNbSideData sets `AVStream.nb_side_data` value.

func (*AVStream) SetPrivData

func (stm *AVStream) SetPrivData(v CVoidPointer)

SetPrivData sets `AVStream.priv_data` value.

func (*AVStream) SetPtsWrapBits added in v0.50.1

func (stm *AVStream) SetPtsWrapBits(v int32)

SetPtsWrapBits sets `AVStream.pts_wrap_bits` value.

func (*AVStream) SetRFrameRate

func (stm *AVStream) SetRFrameRate(v AVRational)

SetRFrameRate sets `AVStream.r_frame_rate` value.

func (*AVStream) SetSampleAspectRatio

func (stm *AVStream) SetSampleAspectRatio(v AVRational)

SetSampleAspectRatio sets `AVStream.sample_aspect_ratio` value.

func (*AVStream) SetSideData deprecated

func (stm *AVStream) SetSideData(v *AVPacketSideData)

Deprecated: Use AVStream's AVCodecParameters.coded_side_data "codecpar side data" instead.

SetSideData sets `AVStream.side_data` value.

func (*AVStream) SetStartTime

func (stm *AVStream) SetStartTime(v int64)

SetStartTime sets `AVStream.start_time` value.

func (*AVStream) SetTimeBase

func (stm *AVStream) SetTimeBase(v AVRational)

SetTimeBase sets `AVStream.time_base` value.

type AVStreamGroup added in v0.70.1

type AVStreamGroup C.struct_AVStreamGroup

AVStreamGroup

func AvformatStreamGroupCreate added in v0.70.1

func AvformatStreamGroupCreate(s *AVFormatContext, _type AVStreamGroupParamsType, options **AVDictionary) *AVStreamGroup

AvformatStreamGroupCreate

func (*AVStreamGroup) GetAvClass added in v0.70.1

func (sg *AVStreamGroup) GetAvClass() *AVClass

GetAvClass gets `AVStreamGroup.av_class` value.

func (*AVStreamGroup) GetAvClassAddr added in v0.70.1

func (sg *AVStreamGroup) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVStreamGroup.av_class` address.

func (*AVStreamGroup) GetDisposition added in v0.70.1

func (sg *AVStreamGroup) GetDisposition() int32

GetDisposition gets `AVStreamGroup.disposition` value.

func (*AVStreamGroup) GetDispositionAddr added in v0.70.1

func (sg *AVStreamGroup) GetDispositionAddr() *int32

GetDispositionAddr gets `AVStreamGroup.disposition` address.

func (*AVStreamGroup) GetId added in v0.70.1

func (sg *AVStreamGroup) GetId() int64

GetId gets `AVStreamGroup.id` value.

func (*AVStreamGroup) GetIdAddr added in v0.70.1

func (sg *AVStreamGroup) GetIdAddr() *int64

GetIdAddr gets `AVStreamGroup.id` address.

func (*AVStreamGroup) GetIndex added in v0.70.1

func (sg *AVStreamGroup) GetIndex() uint32

GetIndex gets `AVStreamGroup.index` value.

func (*AVStreamGroup) GetIndexAddr added in v0.70.1

func (sg *AVStreamGroup) GetIndexAddr() *uint32

GetIndexAddr gets `AVStreamGroup.index` address.

func (*AVStreamGroup) GetMetadata added in v0.70.1

func (sg *AVStreamGroup) GetMetadata() *AVDictionary

GetMetadata gets `AVStreamGroup.metadata` value.

func (*AVStreamGroup) GetMetadataAddr added in v0.70.1

func (sg *AVStreamGroup) GetMetadataAddr() **AVDictionary

GetMetadataAddr gets `AVStreamGroup.metadata` address.

func (*AVStreamGroup) GetNbStreams added in v0.70.1

func (sg *AVStreamGroup) GetNbStreams() uint32

GetNbStreams gets `AVStreamGroup.nb_streams` value.

func (*AVStreamGroup) GetNbStreamsAddr added in v0.70.1

func (sg *AVStreamGroup) GetNbStreamsAddr() *uint32

GetNbStreamsAddr gets `AVStreamGroup.nb_streams` address.

func (*AVStreamGroup) GetParamsIamfAudioElement added in v0.70.1

func (sg *AVStreamGroup) GetParamsIamfAudioElement() *AVIAMFAudioElement

GetParamsIamfAudioElement gets `AVStreamGroup.params.iamf_audio_element` value.

func (*AVStreamGroup) GetParamsIamfAudioElementAddr added in v0.70.1

func (sg *AVStreamGroup) GetParamsIamfAudioElementAddr() **AVIAMFAudioElement

GetParamsIamfAudioElementAddr gets `AVStreamGroup.params.iamf_audio_element` address.

func (*AVStreamGroup) GetParamsIamfMixPresentation added in v0.70.1

func (sg *AVStreamGroup) GetParamsIamfMixPresentation() *AVIAMFMixPresentation

GetParamsIamfMixPresentation gets `AVStreamGroup.params.iamf_mix_presentation` value.

func (*AVStreamGroup) GetParamsIamfMixPresentationAddr added in v0.70.1

func (sg *AVStreamGroup) GetParamsIamfMixPresentationAddr() **AVIAMFMixPresentation

GetParamsIamfMixPresentationAddr gets `AVStreamGroup.params.iamf_mix_presentation` address.

func (*AVStreamGroup) GetParamsTileGrid added in v0.70.1

func (sg *AVStreamGroup) GetParamsTileGrid() *AVStreamGroupTileGrid

GetParamsTileGrid gets `AVStreamGroup.params.tile_grid` value.

func (*AVStreamGroup) GetParamsTileGridAddr added in v0.70.1

func (sg *AVStreamGroup) GetParamsTileGridAddr() **AVStreamGroupTileGrid

GetParamsTileGridAddr gets `AVStreamGroup.params.tile_grid` address.

func (*AVStreamGroup) GetPrivData added in v0.70.1

func (sg *AVStreamGroup) GetPrivData() unsafe.Pointer

GetPrivData gets `AVStreamGroup.priv_data` value.

func (*AVStreamGroup) GetPrivDataAddr added in v0.70.1

func (sg *AVStreamGroup) GetPrivDataAddr() *unsafe.Pointer

GetPrivDataAddr gets `AVStreamGroup.priv_data` address.

func (*AVStreamGroup) GetStreams added in v0.70.1

func (sg *AVStreamGroup) GetStreams() []*AVStream

GetStreams gets `AVStreamGroup.streams` value.

func (*AVStreamGroup) GetStreamsAddr added in v0.70.1

func (sg *AVStreamGroup) GetStreamsAddr() ***AVStream

GetStreamsAddr gets `AVStreamGroup.streams` address.

func (*AVStreamGroup) GetType added in v0.70.1

func (sg *AVStreamGroup) GetType() AVStreamGroupParamsType

GetType gets `AVStreamGroup._type` value.

func (*AVStreamGroup) GetTypeAddr added in v0.70.1

func (sg *AVStreamGroup) GetTypeAddr() *AVStreamGroupParamsType

GetTypeAddr gets `AVStreamGroup._type` address.

func (*AVStreamGroup) SetAvClass added in v0.70.1

func (sg *AVStreamGroup) SetAvClass(v *AVClass)

SetAvClass sets `AVStreamGroup.av_class` value.

func (*AVStreamGroup) SetDisposition added in v0.70.1

func (sg *AVStreamGroup) SetDisposition(v int32)

SetDisposition sets `AVStreamGroup.disposition` value.

func (*AVStreamGroup) SetId added in v0.70.1

func (sg *AVStreamGroup) SetId(v int64)

SetId sets `AVStreamGroup.id` value.

func (*AVStreamGroup) SetIndex added in v0.70.1

func (sg *AVStreamGroup) SetIndex(v uint32)

SetIndex sets `AVStreamGroup.index` value.

func (*AVStreamGroup) SetMetadata added in v0.70.1

func (sg *AVStreamGroup) SetMetadata(v *AVDictionary)

SetMetadata sets `AVStreamGroup.metadata` value.

func (*AVStreamGroup) SetNbStreams added in v0.70.1

func (sg *AVStreamGroup) SetNbStreams(v uint32)

SetNbStreams sets `AVStreamGroup.nb_streams` value.

func (*AVStreamGroup) SetParamsIamfAudioElement added in v0.70.1

func (sg *AVStreamGroup) SetParamsIamfAudioElement(v *AVIAMFAudioElement)

SetParamsIamfAudioElement sets `AVStreamGroup.params.iamf_audio_element` value.

func (*AVStreamGroup) SetParamsIamfMixPresentation added in v0.70.1

func (sg *AVStreamGroup) SetParamsIamfMixPresentation(v *AVIAMFMixPresentation)

SetParamsIamfMixPresentation sets `AVStreamGroup.params.iamf_mix_presentation` value.

func (*AVStreamGroup) SetParamsTileGrid added in v0.70.1

func (sg *AVStreamGroup) SetParamsTileGrid(v *AVStreamGroupTileGrid)

SetParamsTileGrid sets `AVStreamGroup.params.tile_grid` value.

func (*AVStreamGroup) SetPrivData added in v0.70.1

func (sg *AVStreamGroup) SetPrivData(v unsafe.Pointer)

SetPrivData sets `AVStreamGroup.priv_data` value.

func (*AVStreamGroup) SetStreams added in v0.70.1

func (sg *AVStreamGroup) SetStreams(v **AVStream)

SetStreams sets `AVStreamGroup.streams` value.

func (*AVStreamGroup) SetType added in v0.70.1

func (sg *AVStreamGroup) SetType(v AVStreamGroupParamsType)

SetType sets `AVStreamGroup._type` value.

type AVStreamGroupParamsType added in v0.70.1

type AVStreamGroupParamsType = C.enum_AVStreamGroupParamsType

AVStreamGroupParamsType

type AVStreamGroupTileGrid added in v0.70.1

type AVStreamGroupTileGrid C.struct_AVStreamGroupTileGrid

AVStreamGroupTileGrid

func (*AVStreamGroupTileGrid) GetAvClass added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetAvClass() *AVClass

GetAvClass gets `AVStreamGroupTileGrid.av_class` value.

func (*AVStreamGroupTileGrid) GetAvClassAddr added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetAvClassAddr() **AVClass

GetAvClassAddr gets `AVStreamGroupTileGrid.av_class` address.

func (*AVStreamGroupTileGrid) GetBackground added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetBackground() []uint8

GetBackground gets `AVStreamGroupTileGrid.background` value.

func (*AVStreamGroupTileGrid) GetBackgroundAddr added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetBackgroundAddr() **uint8

GetBackgroundAddr gets `AVStreamGroupTileGrid.background` address.

func (*AVStreamGroupTileGrid) GetCodedHeight added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetCodedHeight() int32

GetCodedHeight gets `AVStreamGroupTileGrid.coded_height` value.

func (*AVStreamGroupTileGrid) GetCodedHeightAddr added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetCodedHeightAddr() *int32

GetCodedHeightAddr gets `AVStreamGroupTileGrid.coded_height` address.

func (*AVStreamGroupTileGrid) GetCodedWidth added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetCodedWidth() int32

GetCodedWidth gets `AVStreamGroupTileGrid.coded_width` value.

func (*AVStreamGroupTileGrid) GetCodedWidthAddr added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetCodedWidthAddr() *int32

GetCodedWidthAddr gets `AVStreamGroupTileGrid.coded_width` address.

func (*AVStreamGroupTileGrid) GetHeight added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetHeight() int32

GetHeight gets `AVStreamGroupTileGrid.height` value.

func (*AVStreamGroupTileGrid) GetHeightAddr added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetHeightAddr() *int32

GetHeightAddr gets `AVStreamGroupTileGrid.height` address.

func (*AVStreamGroupTileGrid) GetHorizontalOffset added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetHorizontalOffset() int32

GetHorizontalOffset gets `AVStreamGroupTileGrid.horizontal_offset` value.

func (*AVStreamGroupTileGrid) GetHorizontalOffsetAddr added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetHorizontalOffsetAddr() *int32

GetHorizontalOffsetAddr gets `AVStreamGroupTileGrid.horizontal_offset` address.

func (*AVStreamGroupTileGrid) GetNbTiles added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetNbTiles() uint32

GetNbTiles gets `AVStreamGroupTileGrid.nb_tiles` value.

func (*AVStreamGroupTileGrid) GetNbTilesAddr added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetNbTilesAddr() *uint32

GetNbTilesAddr gets `AVStreamGroupTileGrid.nb_tiles` address.

func (*AVStreamGroupTileGrid) GetOffset added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetOffset() (v []struct {
	Idx        uint32
	Horizontal int32
	Vertical   int32
})

GetOffsets gets `AVStreamGroupTileGrid.offsets` value.

func (*AVStreamGroupTileGrid) GetVerticalOffset added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetVerticalOffset() int32

GetVerticalOffset gets `AVStreamGroupTileGrid.vertical_offset` value.

func (*AVStreamGroupTileGrid) GetVerticalOffsetAddr added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetVerticalOffsetAddr() *int32

GetVerticalOffsetAddr gets `AVStreamGroupTileGrid.vertical_offset` address.

func (*AVStreamGroupTileGrid) GetWidth added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetWidth() int32

GetWidth gets `AVStreamGroupTileGrid.width` value.

func (*AVStreamGroupTileGrid) GetWidthAddr added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) GetWidthAddr() *int32

GetWidthAddr gets `AVStreamGroupTileGrid.width` address.

func (*AVStreamGroupTileGrid) SetAvClass added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) SetAvClass(v *AVClass)

SetAvClass sets `AVStreamGroupTileGrid.av_class` value.

func (*AVStreamGroupTileGrid) SetBackground added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) SetBackground(v []uint8)

SetBackground sets `AVStreamGroupTileGrid.background` value.

func (*AVStreamGroupTileGrid) SetCodedHeight added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) SetCodedHeight(v int32)

SetCodedHeight sets `AVStreamGroupTileGrid.coded_height` value.

func (*AVStreamGroupTileGrid) SetCodedWidth added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) SetCodedWidth(v int32)

SetCodedWidth sets `AVStreamGroupTileGrid.coded_width` value.

func (*AVStreamGroupTileGrid) SetHeight added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) SetHeight(v int32)

SetHeight sets `AVStreamGroupTileGrid.height` value.

func (*AVStreamGroupTileGrid) SetHorizontalOffset added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) SetHorizontalOffset(v int32)

SetHorizontalOffset sets `AVStreamGroupTileGrid.horizontal_offset` value.

func (*AVStreamGroupTileGrid) SetNbTiles added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) SetNbTiles(v uint32)

SetNbTiles sets `AVStreamGroupTileGrid.nb_tiles` value.

func (*AVStreamGroupTileGrid) SetOffsets added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) SetOffsets(v unsafe.Pointer)

SetOffsets sets `AVStreamGroupTileGrid.offsets` value.

func (*AVStreamGroupTileGrid) SetVerticalOffset added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) SetVerticalOffset(v int32)

SetVerticalOffset sets `AVStreamGroupTileGrid.vertical_offset` value.

func (*AVStreamGroupTileGrid) SetWidth added in v0.70.1

func (sgtg *AVStreamGroupTileGrid) SetWidth(v int32)

SetWidth sets `AVStreamGroupTileGrid.width` value.

type AVStreamParseType

type AVStreamParseType = C.enum_AVStreamParseType

AVStreamParseType

type AVSubsampleEncryptionInfo

type AVSubsampleEncryptionInfo C.struct_AVSubsampleEncryptionInfo

AVSubsampleEncryptionInfo

func (*AVSubsampleEncryptionInfo) GetBytesOfClearData

func (sei *AVSubsampleEncryptionInfo) GetBytesOfClearData() uint32

GetBytesOfClearData gets `AVSubsampleEncryptionInfo.bytes_of_clear_data` value.

func (*AVSubsampleEncryptionInfo) GetBytesOfClearDataAddr

func (sei *AVSubsampleEncryptionInfo) GetBytesOfClearDataAddr() *uint32

GetBytesOfClearDataAddr gets `AVSubsampleEncryptionInfo.bytes_of_clear_data` address.

func (*AVSubsampleEncryptionInfo) GetBytesOfProtectedData

func (sei *AVSubsampleEncryptionInfo) GetBytesOfProtectedData() uint32

GetBytesOfProtectedData gets `AVSubsampleEncryptionInfo.bytes_of_protected_data` value.

func (*AVSubsampleEncryptionInfo) GetBytesOfProtectedDataAddr

func (sei *AVSubsampleEncryptionInfo) GetBytesOfProtectedDataAddr() *uint32

GetBytesOfProtectedDataAddr gets `AVSubsampleEncryptionInfo.bytes_of_protected_data` address.

func (*AVSubsampleEncryptionInfo) SetBytesOfClearData

func (sei *AVSubsampleEncryptionInfo) SetBytesOfClearData(v uint32)

SetBytesOfClearData sets `AVSubsampleEncryptionInfo.bytes_of_clear_data` value.

func (*AVSubsampleEncryptionInfo) SetBytesOfProtectedData

func (sei *AVSubsampleEncryptionInfo) SetBytesOfProtectedData(v uint32)

SetBytesOfProtectedData sets `AVSubsampleEncryptionInfo.bytes_of_protected_data` value.

type AVSubtitle

type AVSubtitle C.struct_AVSubtitle

AVSubtitle

func (*AVSubtitle) GetEndDisplayTime

func (sbt *AVSubtitle) GetEndDisplayTime() uint32

GetEndDisplayTime gets `AVSubtitle.end_display_time` value.

func (*AVSubtitle) GetEndDisplayTimeAddr

func (sbt *AVSubtitle) GetEndDisplayTimeAddr() *uint32

GetEndDisplayTimeAddr gets `AVSubtitle.end_display_time` address.

func (*AVSubtitle) GetFormat

func (sbt *AVSubtitle) GetFormat() uint16

GetFormat gets `AVSubtitle.format` value.

func (*AVSubtitle) GetFormatAddr

func (sbt *AVSubtitle) GetFormatAddr() *uint16

GetFormatAddr gets `AVSubtitle.format` address.

func (*AVSubtitle) GetNumRects

func (sbt *AVSubtitle) GetNumRects() uint32

GetNumRects gets `AVSubtitle.num_rects` value.

func (*AVSubtitle) GetNumRectsAddr

func (sbt *AVSubtitle) GetNumRectsAddr() *uint32

GetNumRectsAddr gets `AVSubtitle.num_rects` address.

func (*AVSubtitle) GetPts

func (sbt *AVSubtitle) GetPts() int64

GetPts gets `AVSubtitle.pts` value.

func (*AVSubtitle) GetPtsAddr

func (sbt *AVSubtitle) GetPtsAddr() *int64

GetPtsAddr gets `AVSubtitle.pts` address.

func (*AVSubtitle) GetRects

func (sbt *AVSubtitle) GetRects() []*AVSubtitleRect

GetRects gets `AVSubtitle.rects` value.

func (*AVSubtitle) GetRectsAddr

func (sbt *AVSubtitle) GetRectsAddr() ***AVSubtitleRect

GetRectsAddr gets `AVSubtitle.rects` address.

func (*AVSubtitle) GetStartDisplayTime

func (sbt *AVSubtitle) GetStartDisplayTime() uint32

GetStartDisplayTime gets `AVSubtitle.start_display_time` value.

func (*AVSubtitle) GetStartDisplayTimeAddr

func (sbt *AVSubtitle) GetStartDisplayTimeAddr() *uint32

GetStartDisplayTimeAddr gets `AVSubtitle.start_display_time` address.

func (*AVSubtitle) SetEndDisplayTime

func (sbt *AVSubtitle) SetEndDisplayTime(v uint32)

SetEndDisplayTime sets `AVSubtitle.end_display_time` value.

func (*AVSubtitle) SetFormat

func (sbt *AVSubtitle) SetFormat(v uint16)

SetFormat sets `AVSubtitle.format` value.

func (*AVSubtitle) SetNumRects

func (sbt *AVSubtitle) SetNumRects(v uint32)

SetNumRects sets `AVSubtitle.num_rects` value.

func (*AVSubtitle) SetPts

func (sbt *AVSubtitle) SetPts(v int64)

SetPts sets `AVSubtitle.pts` value.

func (*AVSubtitle) SetRects

func (sbt *AVSubtitle) SetRects(v **AVSubtitleRect)

SetRects sets `AVSubtitle.rects` value.

func (*AVSubtitle) SetStartDisplayTime

func (sbt *AVSubtitle) SetStartDisplayTime(v uint32)

SetStartDisplayTime sets `AVSubtitle.start_display_time` value.

type AVSubtitleRect

type AVSubtitleRect C.struct_AVSubtitleRect

AVSubtitleRect

func (*AVSubtitleRect) GetAss

func (sbtr *AVSubtitleRect) GetAss() string

GetAss gets `AVSubtitleRect.ass` value.

func (*AVSubtitleRect) GetData

func (sbtr *AVSubtitleRect) GetData() []*uint8

GetData gets `AVSubtitleRect.data` value.

func (*AVSubtitleRect) GetDataAddr

func (sbtr *AVSubtitleRect) GetDataAddr() ***uint8

GetDataAddr gets `AVSubtitleRect.data` address.

func (*AVSubtitleRect) GetFlags

func (sbtr *AVSubtitleRect) GetFlags() int32

GetFlags gets `AVSubtitleRect.flags` value.

func (*AVSubtitleRect) GetFlagsAddr

func (sbtr *AVSubtitleRect) GetFlagsAddr() *int32

GetFlagsAddr gets `AVSubtitleRect.flags` address.

func (*AVSubtitleRect) GetH

func (sbtr *AVSubtitleRect) GetH() int32

GetH gets `AVSubtitleRect.h` value.

func (*AVSubtitleRect) GetHAddr

func (sbtr *AVSubtitleRect) GetHAddr() *int32

GetHAddr gets `AVSubtitleRect.h` address.

func (*AVSubtitleRect) GetLinesize

func (sbtr *AVSubtitleRect) GetLinesize() []int32

GetLinesize gets `AVSubtitleRect.linesize` value.

func (*AVSubtitleRect) GetLinesizeAddr

func (sbtr *AVSubtitleRect) GetLinesizeAddr() **int32

GetLinesize gets `AVSubtitleRect.linesize` address.

func (*AVSubtitleRect) GetNbColors

func (sbtr *AVSubtitleRect) GetNbColors() int32

GetNbColors gets `AVSubtitleRect.nb_colors` value.

func (*AVSubtitleRect) GetNbColorsAddr

func (sbtr *AVSubtitleRect) GetNbColorsAddr() *int32

GetNbColorsAddr gets `AVSubtitleRect.nb_colors` address.

func (*AVSubtitleRect) GetText

func (sbtr *AVSubtitleRect) GetText() string

GetText gets `AVSubtitleRect.text` value.

func (*AVSubtitleRect) GetType

func (sbtr *AVSubtitleRect) GetType() AVSubtitleType

GetType gets `AVSubtitleRect.type` value.

func (*AVSubtitleRect) GetTypeAddr

func (sbtr *AVSubtitleRect) GetTypeAddr() *AVSubtitleType

GetTypeAddr gets `AVSubtitleRect.type` address.

func (*AVSubtitleRect) GetW

func (sbtr *AVSubtitleRect) GetW() int32

GetW gets `AVSubtitleRect.w` value.

func (*AVSubtitleRect) GetWAddr

func (sbtr *AVSubtitleRect) GetWAddr() *int32

GetWAddr gets `AVSubtitleRect.w` address.

func (*AVSubtitleRect) GetX

func (sbtr *AVSubtitleRect) GetX() int32

GetX gets `AVSubtitleRect.x` value.

func (*AVSubtitleRect) GetXAddr

func (sbtr *AVSubtitleRect) GetXAddr() *int32

GetXAddr gets `AVSubtitleRect.x` address.

func (*AVSubtitleRect) GetY

func (sbtr *AVSubtitleRect) GetY() int32

GetY gets `AVSubtitleRect.y` value.

func (*AVSubtitleRect) GetYAddr

func (sbtr *AVSubtitleRect) GetYAddr() *int32

GetYAddr gets `AVSubtitleRect.y` address.

func (*AVSubtitleRect) SetData

func (sbtr *AVSubtitleRect) SetData(v []*uint8)

SetData sets `AVSubtitleRect.data` value.

func (*AVSubtitleRect) SetFlags

func (sbtr *AVSubtitleRect) SetFlags(v int32)

SetFlags sets `AVSubtitleRect.flags` value.

func (*AVSubtitleRect) SetH

func (sbtr *AVSubtitleRect) SetH(v int32)

SetH sets `AVSubtitleRect.h` value.

func (*AVSubtitleRect) SetLinesize

func (sbtr *AVSubtitleRect) SetLinesize(v []int32)

SetLinesize sets `AVSubtitleRect.linesize` value.

func (*AVSubtitleRect) SetNbColors

func (sbtr *AVSubtitleRect) SetNbColors(v int32)

SetNbColors sets `AVSubtitleRect.nb_colors` value.

func (*AVSubtitleRect) SetType

func (sbtr *AVSubtitleRect) SetType(v AVSubtitleType)

SetType sets `AVSubtitleRect.type` value.

func (*AVSubtitleRect) SetW

func (sbtr *AVSubtitleRect) SetW(v int32)

SetW sets `AVSubtitleRect.w` value.

func (*AVSubtitleRect) SetX

func (sbtr *AVSubtitleRect) SetX(v int32)

SetX sets `AVSubtitleRect.x` value.

func (*AVSubtitleRect) SetY

func (sbtr *AVSubtitleRect) SetY(v int32)

SetY sets `AVSubtitleRect.y` value.

type AVSubtitleType

type AVSubtitleType = C.enum_AVSubtitleType

AVSubtitleType

type AVTEA

type AVTEA C.struct_AVTEA

AVTEA

func AvTeaAlloc

func AvTeaAlloc() *AVTEA

AvTeaAlloc allocates an AVTEA context.

type AVTWOFISH

type AVTWOFISH C.struct_AVTWOFISH

AVTWOFISH

func AvTwofishAlloc

func AvTwofishAlloc() *AVTWOFISH

AvTwofishAlloc allocates an AVTWOFISH context.

type AVTXContext added in v0.42.1

type AVTXContext C.struct_AVTXContext

AVTXContext

type AVTXFlags added in v0.44.1

type AVTXFlags = C.enum_AVTXFlags

AVTXFlags

type AVTXType added in v0.42.1

type AVTXType = C.enum_AVTXType

AVTXType

type AVTask added in v0.61.0

type AVTask C.struct_AVTask

AVTask

func (*AVTask) GetNext added in v0.61.0

func (t *AVTask) GetNext() *AVTask

GetNext gets `AVTask.next` value.

func (*AVTask) GetNextAddr added in v0.61.0

func (t *AVTask) GetNextAddr() **AVTask

GetNextAddr gets `AVTask.next` address.

func (*AVTask) SetNext added in v0.61.0

func (t *AVTask) SetNext(v *AVTask)

SetNext sets `AVTask.next` value.

type AVTaskCallbacks added in v0.61.0

type AVTaskCallbacks C.struct_AVTaskCallbacks

AVTaskCallbacks

func (*AVTaskCallbacks) GetLocalContextSize added in v0.61.0

func (cbs *AVTaskCallbacks) GetLocalContextSize() int32

GetLocalContextSize gets `AVTaskCallbacks.local_context_size` value.

func (*AVTaskCallbacks) GetLocalContextSizeAddr added in v0.61.0

func (cbs *AVTaskCallbacks) GetLocalContextSizeAddr() *int32

GetLocalContextSizeAddr gets `AVTaskCallbacks.local_context_size` address.

func (*AVTaskCallbacks) GetPriorityHigher added in v0.61.0

func (cbs *AVTaskCallbacks) GetPriorityHigher() AvExecutorPriorityHigherFunc

GetPriorityHigher gets `AVTaskCallbacks.priority_higher` value.

func (*AVTaskCallbacks) GetPriorityHigherAddr added in v0.61.0

func (cbs *AVTaskCallbacks) GetPriorityHigherAddr() *AvExecutorPriorityHigherFunc

GetPriorityHigherAddr gets `AVTaskCallbacks.priority_higher` address.

func (*AVTaskCallbacks) GetReady added in v0.61.0

func (cbs *AVTaskCallbacks) GetReady() AvExecutorReadyFunc

GetReady gets `AVTaskCallbacks.ready` value.

func (*AVTaskCallbacks) GetReadyAddr added in v0.61.0

func (cbs *AVTaskCallbacks) GetReadyAddr() *AvExecutorReadyFunc

GetReadyAddr gets `AVTaskCallbacks.ready` address.

func (*AVTaskCallbacks) GetRun added in v0.61.0

func (cbs *AVTaskCallbacks) GetRun() AvExecutorRunFunc

GetRun gets `AVTaskCallbacks.run` value.

func (*AVTaskCallbacks) GetRunAddr added in v0.61.0

func (cbs *AVTaskCallbacks) GetRunAddr() *AvExecutorRunFunc

GetRunAddr gets `AVTaskCallbacks.run` address.

func (*AVTaskCallbacks) GetUserData added in v0.61.0

func (cbs *AVTaskCallbacks) GetUserData() unsafe.Pointer

GetUserData gets `AVTaskCallbacks.user_data` value.

func (*AVTaskCallbacks) GetUserDataAddr added in v0.61.0

func (cbs *AVTaskCallbacks) GetUserDataAddr() *unsafe.Pointer

GetUserDataAddr gets `AVTaskCallbacks.user_data` address.

func (*AVTaskCallbacks) SetLocalContextSize added in v0.61.0

func (cbs *AVTaskCallbacks) SetLocalContextSize(v int32)

SetLocalContextSize sets `AVTaskCallbacks.local_context_size` value.

func (*AVTaskCallbacks) SetPriorityHigher added in v0.61.0

func (cbs *AVTaskCallbacks) SetPriorityHigher(v AvExecutorPriorityHigherFunc)

SetPriorityHigher sets `AVTaskCallbacks.priority_higher` value.

func (*AVTaskCallbacks) SetReady added in v0.61.0

func (cbs *AVTaskCallbacks) SetReady(v AvExecutorReadyFunc)

SetReady sets `AVTaskCallbacks.ready` value.

func (*AVTaskCallbacks) SetRun added in v0.61.0

func (cbs *AVTaskCallbacks) SetRun(v AvExecutorRunFunc)

SetRun sets `AVTaskCallbacks.run` value.

func (*AVTaskCallbacks) SetUserData added in v0.61.0

func (cbs *AVTaskCallbacks) SetUserData(v CVoidPointer)

SetUserData sets `AVTaskCallbacks.user_data` value.

type AVThreadMessageFlags

type AVThreadMessageFlags = C.enum_AVThreadMessageFlags

AVThreadMessageFlags

type AVThreadMessageQueue

type AVThreadMessageQueue C.struct_AVThreadMessageQueue

AVThreadMessageQueue

type AVTimebaseSource

type AVTimebaseSource = C.enum_AVTimebaseSource

AVTimebaseSource

type AVTimecode

type AVTimecode C.AVTimecode

AVTimecode

func (*AVTimecode) GetFlags

func (tc *AVTimecode) GetFlags() uint32

GetFlags gets `AVTimecode.flags` value.

func (*AVTimecode) GetFlagsAddr

func (tc *AVTimecode) GetFlagsAddr() *uint32

GetFlagsAddr gets `AVTimecode.flags` address.

func (*AVTimecode) GetFps

func (tc *AVTimecode) GetFps() uint32

GetFps gets `AVTimecode.fps` value.

func (*AVTimecode) GetFpsAddr

func (tc *AVTimecode) GetFpsAddr() *uint32

GetFpsAddr gets `AVTimecode.fps` address.

func (*AVTimecode) GetRate

func (tc *AVTimecode) GetRate() AVRational

GetRate gets `AVTimecode.rate` value.

func (*AVTimecode) GetRateAddr

func (tc *AVTimecode) GetRateAddr() *AVRational

GetRateAddr gets `AVTimecode.rate` address.

func (*AVTimecode) GetStart

func (tc *AVTimecode) GetStart() int32

GetStart gets `AVTimecode.start` value.

func (*AVTimecode) GetStartAddr

func (tc *AVTimecode) GetStartAddr() *int32

GetStartAddr gets `AVTimecode.start` address.

func (*AVTimecode) SetFlags

func (tc *AVTimecode) SetFlags(v uint32)

SetFlags sets `AVTimecode.flags` value.

func (*AVTimecode) SetFps

func (tc *AVTimecode) SetFps(v uint32)

SetFps sets `AVTimecode.fps` value.

func (*AVTimecode) SetRate

func (tc *AVTimecode) SetRate(v AVRational)

SetRate sets `AVTimecode.rate` value.

func (*AVTimecode) SetStart

func (tc *AVTimecode) SetStart(v int32)

SetStart sets `AVTimecode.start` value.

type AVTimecodeFlag

type AVTimecodeFlag = C.enum_AVTimecodeFlag

AVTimecodeFlag

type AVTreeNode

type AVTreeNode C.struct_AVTreeNode

AVTreeNode

func AvTreeNodeAlloc

func AvTreeNodeAlloc() *AVTreeNode

AvTreeNodeAlloc allocates an AVTreeNode.

type AVUUID added in v0.51.1

type AVUUID = []uint8

func AvMakeUUID added in v0.51.1

func AvMakeUUID() AVUUID

AvMakeUUID makes a new AVUUID.

type AVVideoBlockParams added in v0.43.1

type AVVideoBlockParams C.struct_AVVideoBlockParams

AVVideoBlockParams

func AvVideoEncParamsBlock added in v0.43.1

func AvVideoEncParamsBlock(par *AVVideoEncParams, idx uint32) *AVVideoBlockParams

AvVideoEncParamsBlock gets the block at the specified idx.

func (*AVVideoBlockParams) GetDeltaQp added in v0.43.1

func (vbp *AVVideoBlockParams) GetDeltaQp() int32

GetDeltaQp gets `AVVideoBlockParams.delta_qp` value.

func (*AVVideoBlockParams) GetDeltaQpAddr added in v0.43.1

func (vbp *AVVideoBlockParams) GetDeltaQpAddr() *int32

GetDeltaQpAddr gets `AVVideoBlockParams.delta_qp` address.

func (*AVVideoBlockParams) GetH added in v0.43.1

func (vbp *AVVideoBlockParams) GetH() int32

GetH gets `AVVideoBlockParams.h` value.

func (*AVVideoBlockParams) GetHAddr added in v0.43.1

func (vbp *AVVideoBlockParams) GetHAddr() *int32

GetHAddr gets `AVVideoBlockParams.h` address.

func (*AVVideoBlockParams) GetSrcX added in v0.43.1

func (vbp *AVVideoBlockParams) GetSrcX() int32

GetSrcX gets `AVVideoBlockParams.src_x` value.

func (*AVVideoBlockParams) GetSrcXAddr added in v0.43.1

func (vbp *AVVideoBlockParams) GetSrcXAddr() *int32

GetSrcXAddr gets `AVVideoBlockParams.src_x` address.

func (*AVVideoBlockParams) GetSrcY added in v0.43.1

func (vbp *AVVideoBlockParams) GetSrcY() int32

GetSrcY gets `AVVideoBlockParams.src_y` value.

func (*AVVideoBlockParams) GetSrcYAddr added in v0.43.1

func (vbp *AVVideoBlockParams) GetSrcYAddr() *int32

GetSrcYAddr gets `AVVideoBlockParams.src_y` address.

func (*AVVideoBlockParams) GetW added in v0.43.1

func (vbp *AVVideoBlockParams) GetW() int32

GetW gets `AVVideoBlockParams.w` value.

func (*AVVideoBlockParams) GetWAddr added in v0.43.1

func (vbp *AVVideoBlockParams) GetWAddr() *int32

GetWAddr gets `AVVideoBlockParams.w` address.

func (*AVVideoBlockParams) SetDeltaQp added in v0.43.1

func (vbp *AVVideoBlockParams) SetDeltaQp(v int32)

SetDeltaQp sets `AVVideoBlockParams.delta_qp` value.

func (*AVVideoBlockParams) SetH added in v0.43.1

func (vbp *AVVideoBlockParams) SetH(v int32)

SetH sets `AVVideoBlockParams.h` value.

func (*AVVideoBlockParams) SetSrcX added in v0.43.1

func (vbp *AVVideoBlockParams) SetSrcX(v int32)

SetSrcX sets `AVVideoBlockParams.src_x` value.

func (*AVVideoBlockParams) SetSrcY added in v0.43.1

func (vbp *AVVideoBlockParams) SetSrcY(v int32)

SetSrcY sets `AVVideoBlockParams.src_y` value.

func (*AVVideoBlockParams) SetW added in v0.43.1

func (vbp *AVVideoBlockParams) SetW(v int32)

SetW sets `AVVideoBlockParams.w` value.

type AVVideoEncParams added in v0.43.1

type AVVideoEncParams C.struct_AVVideoEncParams

AVVideoEncParams

func AvVideoEncParamsAlloc added in v0.43.1

func AvVideoEncParamsAlloc(_type AVVideoEncParamsType, nbBlocks uint32, outSize *uintptr) *AVVideoEncParams

AvVideoEncParamsAlloc allocates memory for AVVideoEncParams of the given type, plus an array of nbBlocks AVVideoBlockParams and initializes the variables.

func AvVideoEncParamsCreateSideData added in v0.43.1

func AvVideoEncParamsCreateSideData(frame *AVFrame, _type AVVideoEncParamsType, nbBlocks uint32) *AVVideoEncParams

AvVideoEncParamsCreateSideData sllocates memory for AVEncodeInfoFrame plus an array of nbBlocks AVEncodeInfoBlock in the given AVFrame frame as AVFrameSideData of type AV_FRAME_DATA_VIDEO_ENC_PARAMS and initializes the variables.

func (*AVVideoEncParams) GetBlockSize added in v0.43.1

func (vep *AVVideoEncParams) GetBlockSize() uintptr

GetBlockSize gets `AVVideoEncParams.block_size` value.

func (*AVVideoEncParams) GetBlockSizeAddr added in v0.43.1

func (vep *AVVideoEncParams) GetBlockSizeAddr() *uintptr

GetBlockSizeAddr gets `AVVideoEncParams.block_size` address.

func (*AVVideoEncParams) GetBlocksOffset added in v0.43.1

func (vep *AVVideoEncParams) GetBlocksOffset() uintptr

GetBlocksOffset gets `AVVideoEncParams.blocks_offset` value.

func (*AVVideoEncParams) GetBlocksOffsetAddr added in v0.43.1

func (vep *AVVideoEncParams) GetBlocksOffsetAddr() *uintptr

GetBlocksOffsetAddr gets `AVVideoEncParams.blocks_offset` address.

func (*AVVideoEncParams) GetDeltaQp added in v0.43.1

func (vep *AVVideoEncParams) GetDeltaQp() (v [][]int32)

GetDeltaQp gets `AVVideoEncParams.delta_qp` value.

func (*AVVideoEncParams) GetDeltaQpAddr added in v0.43.1

func (vep *AVVideoEncParams) GetDeltaQpAddr() **int32

GetDeltaQpAddr gets `AVVideoEncParams.delta_qp` address.

func (*AVVideoEncParams) GetNbBlocks added in v0.43.1

func (vep *AVVideoEncParams) GetNbBlocks() uint32

GetNbBlocks gets `AVVideoEncParams.nb_blocks` value.

func (*AVVideoEncParams) GetNbBlocksAddr added in v0.43.1

func (vep *AVVideoEncParams) GetNbBlocksAddr() *uint32

GetNbBlocksAddr gets `AVVideoEncParams.nb_blocks` address.

func (*AVVideoEncParams) GetQp added in v0.43.1

func (vep *AVVideoEncParams) GetQp() int32

GetQp gets `AVVideoEncParams.qp` value.

func (*AVVideoEncParams) GetQpAddr added in v0.43.1

func (vep *AVVideoEncParams) GetQpAddr() *int32

GetQpAddr gets `AVVideoEncParams.qp` address.

func (*AVVideoEncParams) GetType added in v0.43.1

func (vep *AVVideoEncParams) GetType() AVVideoEncParamsType

GetType gets `AVVideoEncParams.type` value.

func (*AVVideoEncParams) GetTypeAddr added in v0.43.1

func (vep *AVVideoEncParams) GetTypeAddr() *AVVideoEncParamsType

GetTypeAddr gets `AVVideoEncParams.type` address.

func (*AVVideoEncParams) SetBlockSize added in v0.43.1

func (vep *AVVideoEncParams) SetBlockSize(v uintptr)

SetBlockSize sets `AVVideoEncParams.block_size` value.

func (*AVVideoEncParams) SetBlocksOffset added in v0.43.1

func (vep *AVVideoEncParams) SetBlocksOffset(v uintptr)

SetBlocksOffset sets `AVVideoEncParams.blocks_offset` value.

func (*AVVideoEncParams) SetDeltaQp added in v0.43.1

func (vep *AVVideoEncParams) SetDeltaQp(v [][]int32)

SetDeltaQp sets `AVVideoEncParams.delta_qp` value.

func (*AVVideoEncParams) SetNbBlocks added in v0.43.1

func (vep *AVVideoEncParams) SetNbBlocks(v uint32)

SetNbBlocks sets `AVVideoEncParams.nb_blocks` value.

func (*AVVideoEncParams) SetQp added in v0.43.1

func (vep *AVVideoEncParams) SetQp(v int32)

SetQp sets `AVVideoEncParams.qp` value.

func (*AVVideoEncParams) SetType added in v0.43.1

func (vep *AVVideoEncParams) SetType(v AVVideoEncParamsType)

SetType sets `AVVideoEncParams.type` value.

type AVVideoEncParamsType added in v0.43.1

type AVVideoEncParamsType = C.enum_AVVideoEncParamsType

AVVideoEncParamsType

type AVVideoHint added in v0.61.0

type AVVideoHint C.struct_AVVideoHint

AVVideoHint

func AvVideoHintAlloc added in v0.61.0

func AvVideoHintAlloc(nbRects uintptr, outSize *uintptr) *AVVideoHint

AvVideoHintAlloc allocates memory for the AVVideoHint struct along with an nb_rects-sized arrays of AVVideoRect.

func AvVideoHintCreateSideData added in v0.61.0

func AvVideoHintCreateSideData(frame *AVFrame, nbRects uintptr) *AVVideoHint

AvVideoHintCreateSideData same as AvVideoHintAlloc(), except newly-allocated AVVideoHint is attached as side data of type AV_FRAME_DATA_VIDEO_HINT_INFO to frame.

func (*AVVideoHint) GetNbRects added in v0.61.0

func (hint *AVVideoHint) GetNbRects() uintptr

GetNbRects gets `AVVideoHint.nb_rects` value.

func (*AVVideoHint) GetNbRectsAddr added in v0.61.0

func (hint *AVVideoHint) GetNbRectsAddr() *uintptr

GetNbRectsAddr gets `AVVideoHint.nb_rects` address.

func (*AVVideoHint) GetRectOffset added in v0.61.0

func (hint *AVVideoHint) GetRectOffset() uintptr

GetRectOffset gets `AVVideoHint.rect_offset` value.

func (*AVVideoHint) GetRectOffsetAddr added in v0.61.0

func (hint *AVVideoHint) GetRectOffsetAddr() *uintptr

GetRectOffsetAddr gets `AVVideoHint.rect_offset` address.

func (*AVVideoHint) GetRectSize added in v0.61.0

func (hint *AVVideoHint) GetRectSize() uintptr

GetRectSize gets `AVVideoHint.rect_size` value.

func (*AVVideoHint) GetRectSizeAddr added in v0.61.0

func (hint *AVVideoHint) GetRectSizeAddr() *uintptr

GetRectSizeAddr gets `AVVideoHint.rect_size` address.

func (*AVVideoHint) GetType added in v0.61.0

func (hint *AVVideoHint) GetType() AVVideoHintType

GetType gets `AVVideoHint.type` value.

func (*AVVideoHint) GetTypeAddr added in v0.61.0

func (hint *AVVideoHint) GetTypeAddr() *AVVideoHintType

GetTypeAddr gets `AVVideoHint.type` address.

func (*AVVideoHint) SetNbRects added in v0.61.0

func (hint *AVVideoHint) SetNbRects(v uintptr)

SetNbRects sets `AVVideoHint.nb_rects` value.

func (*AVVideoHint) SetRectOffset added in v0.61.0

func (hint *AVVideoHint) SetRectOffset(v uintptr)

SetRectOffset sets `AVVideoHint.rect_offset` value.

func (*AVVideoHint) SetRectSize added in v0.61.0

func (hint *AVVideoHint) SetRectSize(v uintptr)

SetRectSize sets `AVVideoHint.rect_size` value.

func (*AVVideoHint) SetType added in v0.61.0

func (hint *AVVideoHint) SetType(v AVVideoHintType)

SetType sets `AVVideoHint.type` value.

type AVVideoHintType added in v0.61.0

type AVVideoHintType = C.AVVideoHintType // C.enum_AVVideoHintType

AVVideoHintType

type AVVideoRect added in v0.61.0

type AVVideoRect C.struct_AVVideoRect

AVVideoRect

func AvVideoHintGetRect added in v0.61.0

func AvVideoHintGetRect(hints *AVVideoHint, idx uintptr) *AVVideoRect

AvVideoHintGetRect

func AvVideoHintRects added in v0.61.0

func AvVideoHintRects(hints *AVVideoHint) *AVVideoRect

AvVideoHintRects

func (*AVVideoRect) GetHeight added in v0.61.0

func (rect *AVVideoRect) GetHeight() uint32

GetHeight gets `AVVideoRect.height` value.

func (*AVVideoRect) GetHeightAddr added in v0.61.0

func (rect *AVVideoRect) GetHeightAddr() *uint32

GetHeightAddr gets `AVVideoRect.height` address.

func (*AVVideoRect) GetWidth added in v0.61.0

func (rect *AVVideoRect) GetWidth() uint32

GetWidth gets `AVVideoRect.width` value.

func (*AVVideoRect) GetWidthAddr added in v0.61.0

func (rect *AVVideoRect) GetWidthAddr() *uint32

GetWidthAddr gets `AVVideoRect.width` address.

func (*AVVideoRect) GetX added in v0.61.0

func (rect *AVVideoRect) GetX() uint32

GetX gets `AVVideoRect.x` value.

func (*AVVideoRect) GetXAddr added in v0.61.0

func (rect *AVVideoRect) GetXAddr() *uint32

GetXAddr gets `AVVideoRect.x` address.

func (*AVVideoRect) GetY added in v0.61.0

func (rect *AVVideoRect) GetY() uint32

GetY gets `AVVideoRect.y` value.

func (*AVVideoRect) GetYAddr added in v0.61.0

func (rect *AVVideoRect) GetYAddr() *uint32

GetYAddr gets `AVVideoRect.y` address.

func (*AVVideoRect) SetHeight added in v0.61.0

func (rect *AVVideoRect) SetHeight(v uint32)

SetHeight sets `AVVideoRect.height` value.

func (*AVVideoRect) SetWidth added in v0.61.0

func (rect *AVVideoRect) SetWidth(v uint32)

SetWidth sets `AVVideoRect.width` value.

func (*AVVideoRect) SetX added in v0.61.0

func (rect *AVVideoRect) SetX(v uint32)

SetX sets `AVVideoRect.x` value.

func (*AVVideoRect) SetY added in v0.61.0

func (rect *AVVideoRect) SetY(v uint32)

SetY sets `AVVideoRect.y` value.

type AVVorbisParseContext

type AVVorbisParseContext C.struct_AVVorbisParseContext

AVVorbisParseContext

func AvVorbisParseInit

func AvVorbisParseInit(extradata *uint8, extradataSize int32) *AVVorbisParseContext

AvVorbisParseInit allocates and initialize the Vorbis parser using headers in the extradata.

type AVWhitepointCoefficients added in v0.51.1

type AVWhitepointCoefficients = AVCIExy

AVWhitepointCoefficients

type AVXTEA

type AVXTEA C.struct_AVXTEA

AVXTEA

func AvXteaAlloc

func AvXteaAlloc() *AVXTEA

AvXteaAlloc allocates an AVXTEA context.

func (*AVXTEA) GetKey

func (dct *AVXTEA) GetKey() []uint32

GetKey gets `AVXTEA.key` value.

func (*AVXTEA) GetKeyAddr

func (dct *AVXTEA) GetKeyAddr() **uint32

GetKeyAddr gets `AVXTEA.key` address.

func (*AVXTEA) SetKey

func (dct *AVXTEA) SetKey(v []uint32)

SetKey sets `AVXTEA.key` value.

type AvClassChildClassNextFunc

type AvClassChildClassNextFunc = C.av_class_child_class_next_func

typedef const struct AVClass* (*av_class_child_class_next_func)(const struct AVClass *prev);

type AvClassChildNextFunc

type AvClassChildNextFunc = C.av_class_child_next_func

typedef void* (*av_class_child_next_func)(void *obj, void *prev);

type AvClassItemNameFunc

type AvClassItemNameFunc = C.av_class_item_name_func

typedef const char* (*av_class_item_name_func)(void* ctx);

type AvCodecContextInternalExecute2Func

type AvCodecContextInternalExecute2Func = C.avcodec_context_internal_execute2_func

typedef int (*avcodec_context_internal_execute2_func)(struct AVCodecContext *c, avcodec_context_execute2_func func, void *arg2, int *ret, int count);

type AvCodecContextInternalExecuteFunc

type AvCodecContextInternalExecuteFunc = C.avcodec_context_internal_execute_func

typedef int (*avcodec_context_internal_execute_func)(struct AVCodecContext *c, avcodec_context_execute_func func, void *arg2, int *ret, int count, int size);

type AvCspTrcFunction added in v0.60.1

type AvCspTrcFunction = C.av_csp_trc_function

typedef double (*av_csp_trc_function)(double);

func AvCspTrcFuncFromId added in v0.60.1

func AvCspTrcFuncFromId(trc AVColorTransferCharacteristic) AvCspTrcFunction

AvCspTrcFuncFromId determines the function needed to apply the given AVColorTransferCharacteristic to linear input.

type AvExecutorPriorityHigherFunc added in v0.61.0

type AvExecutorPriorityHigherFunc = C.av_executor_priority_higher_func

typedef int (*av_executor_priority_higher_func)(const AVTask *a, const AVTask *b);

type AvExecutorReadyFunc added in v0.61.0

type AvExecutorReadyFunc = C.av_executor_ready_func

typedef int (*av_executor_ready_func)(const AVTask *t, void *user_data);

type AvExecutorRunFunc added in v0.61.0

type AvExecutorRunFunc = C.av_executor_run_func

typedef int (*av_executor_run_func)(AVTask *t, void *local_context, void *user_data);

type AvFormatContextIoClose2Func added in v0.50.1

type AvFormatContextIoClose2Func = C.av_format_context_io_close2_func

typedef int (*av_format_context_io_close2_func)(struct AVFormatContext *s, AVIOContext *pb);

type AvFormatContextIoCloseFunc

type AvFormatContextIoCloseFunc = C.av_format_context_io_close_func

typedef void (*av_format_context_io_close_func)(struct AVFormatContext *s, AVIOContext *pb);

type AvFormatContextIoOpenFunc

type AvFormatContextIoOpenFunc = C.av_format_context_io_open_func

typedef int (*av_format_context_io_open_func)(struct AVFormatContext *s, AVIOContext **pb, const char *url, int flags, AVDictionary **options);

type AvThreadMessageFreeFunc

type AvThreadMessageFreeFunc = C.av_thread_message_free_func

typedef void (*av_thread_message_free_func)(void *msg);

type AvTreeCmpFunc

type AvTreeCmpFunc = C.av_tree_cmp_func

typedef int (*av_tree_cmp_func)(void *opaque, void *elem);

type AvTreeEnuFunc

type AvTreeEnuFunc = C.av_tree_enu_func

typedef int (*av_tree_enu_func)(void *opaque, void *elem);

type AvTxFn added in v0.42.1

type AvTxFn = C.av_tx_fn

typedef void (*av_tx_fn)(AVTXContext *s, void *out, void *in, ptrdiff_t stride);

type AvcodecParserCloseFunc

type AvcodecParserCloseFunc = C.avcodec_parser_close_func

typedef void (*avcodec_parser_close_func)(AVCodecParserContext *s);

type AvcodecParserInitFunc

type AvcodecParserInitFunc = C.avcodec_parser_init_func

typedef int (*avcodec_parser_init_func)(AVCodecParserContext *s);

type AvcodecParserParseFunc

type AvcodecParserParseFunc = C.avcodec_parser_parse_func

typedef int (*avcodec_parser_parse_func)(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size);

type AvcodecParserSplitFunc

type AvcodecParserSplitFunc = C.avcodec_parser_split_func

typedef int (*avcodec_parser_split_func)(AVCodecContext *avctx, const uint8_t *buf, int buf_size);

type CVoidPointer

type CVoidPointer any

CVoidPointer represents a (void*) type pointer in the C world.

type CVoidPointerPointer

type CVoidPointerPointer any

CVoidPointer represents a (void**) type pointer in the C world.

type DCTContext

type DCTContext C.struct_DCTContext

DCTContext

func AvDctInit deprecated

func AvDctInit(nbits int32, _type RDFTransformType) *DCTContext

Deprecated: No use.

AvDctInit

type DCTTransformType

type DCTTransformType = C.enum_DCTTransformType

DCTTransformType

type DiracParseCodes

type DiracParseCodes = C.enum_DiracParseCodes

type DiracVersionInfo

type DiracVersionInfo C.struct_DiracVersionInfo

DiracVersionInfo

func (*DiracVersionInfo) GetMajor

func (dvi *DiracVersionInfo) GetMajor() int32

GetMajor gets `DiracVersionInfo.major` value.

func (*DiracVersionInfo) GetMajorAddr

func (dvi *DiracVersionInfo) GetMajorAddr() *int32

GetMajorAddr gets `DiracVersionInfo.major` address.

func (*DiracVersionInfo) GetMinor

func (dvi *DiracVersionInfo) GetMinor() int32

GetMinor gets `DiracVersionInfo.minor` value.

func (*DiracVersionInfo) GetMinorAddr

func (dvi *DiracVersionInfo) GetMinorAddr() *int32

GetMinorAddr gets `DiracVersionInfo.minor` address.

func (*DiracVersionInfo) SetMajor

func (dvi *DiracVersionInfo) SetMajor(v int32)

SetMajor sets `DiracVersionInfo.major` value.

func (*DiracVersionInfo) SetMinor

func (dvi *DiracVersionInfo) SetMinor(v int32)

SetMinor sets `DiracVersionInfo.minor` value.

type FFTComplex

type FFTComplex C.struct_FFTComplex

FFTComplex

func (*FFTComplex) GetIm

func (fc *FFTComplex) GetIm() FFTSample

GetIm gets `FFTComplex.im` value.

func (*FFTComplex) GetRe

func (fc *FFTComplex) GetRe() FFTSample

GetRe gets `FFTComplex.re` value.

type FFTContext

type FFTContext C.struct_FFTContext

FFTContext

func AvFftInit

func AvFftInit(nbits, inverse int32) *FFTContext

AvFftInit sets up a complex FFT.

type FFTSample

type FFTSample = C.FFTSample

FFTSample

type FILE

type FILE C.FILE

type Integer

type Integer interface {
	SingedInteger | UnsingedInteger
}

type MpegEncContext

type MpegEncContext C.struct_MpegEncContext

MpegEncContext

type PpContext

type PpContext C.pp_context

func PpGetContext

func PpGetContext(width, height, flags int32) *PpContext

PpGetContext

type PpMode

type PpMode C.pp_mode

func PpGetModeByNameAndQuality

func PpGetModeByNameAndQuality(name string, quality int32) *PpMode

PpGetModeByNameAndQuality returns a pp_mode or NULL if an error occurred.

type RDFTContext

type RDFTContext C.struct_RDFTContext

RDFTContext

func AvRdftInit deprecated

func AvRdftInit(nbits int32, trans RDFTransformType) *RDFTContext

Deprecated: No use.

AvRdftInit

type RDFTransformType

type RDFTransformType = C.enum_RDFTransformType

RDFTransformType

type RcOverride

type RcOverride C.struct_RcOverride

RcOverride

type SingedInteger

type SingedInteger interface {
	~int | ~int8 | ~int16 | ~int32 | ~int64
}

type SwrContext

type SwrContext C.struct_SwrContext

SwrContext

func SwrAlloc

func SwrAlloc() *SwrContext

SwrAlloc allocates SwrContext.

type SwrDitherType

type SwrDitherType = C.enum_SwrDitherType

Dithering algorithms.

type SwrEngine

type SwrEngine = C.enum_SwrEngine

Resampling Engines.

type SwrFilterType

type SwrFilterType = C.enum_SwrFilterType

Resampling Filter Types.

type SwsContext

type SwsContext C.struct_SwsContext

SwsContext

func SwsAllocContext

func SwsAllocContext() *SwsContext

SwsAllocContext allocates an empty SwsContext.

func SwsGetCachedContext

func SwsGetCachedContext(context *SwsContext,
	srcW, srcH int32, srcFormat AVPixelFormat,
	dstW, dstH int32, dstFormat AVPixelFormat,
	flags int32, srcFilter, dstFilter *SwsFilter, param *float64) *SwsContext

SwsGetCachedContext check if context can be reused, otherwise reallocate a new one.

func SwsGetContext

func SwsGetContext(srcW, srcH int32, srcFormat AVPixelFormat,
	dstW, dstH int32, dstFormat AVPixelFormat,
	flags int32, srcFilter, dstFilter *SwsFilter, param *float64) *SwsContext

SwsGetcontext allocates and returns an SwsContext.

type SwsFilter

type SwsFilter C.struct_SwsFilter

SwsFilter

func SwsGetDefaultFilter

func SwsGetDefaultFilter(lumaGBlur, chromaGBlur float32,
	lumaSharpen, chromaSharpen float32,
	chromaHShift, chromaVShift float32, verbose int32) *SwsFilter

SwsGetDefaultFilter

func (*SwsFilter) GetChrH

func (sf *SwsFilter) GetChrH() *SwsVector

GetChrH gets `SwsFilter.chrH` value.

func (*SwsFilter) GetChrHAddr

func (sf *SwsFilter) GetChrHAddr() **SwsVector

GetChrHAddr gets `SwsFilter.chrH` address.

func (*SwsFilter) GetChrV

func (sf *SwsFilter) GetChrV() *SwsVector

GetChrV gets `SwsFilter.chrV` value.

func (*SwsFilter) GetChrVAddr

func (sf *SwsFilter) GetChrVAddr() **SwsVector

GetChrVAddr gets `SwsFilter.chrV` address.

func (*SwsFilter) GetLumH

func (sf *SwsFilter) GetLumH() *SwsVector

GetLumH gets `SwsFilter.lumH` value.

func (*SwsFilter) GetLumHAddr

func (sf *SwsFilter) GetLumHAddr() **SwsVector

GetLumHAddr gets `SwsFilter.lumH` address.

func (*SwsFilter) GetLumV

func (sf *SwsFilter) GetLumV() *SwsVector

GetLumV gets `SwsFilter.lumV` value.

func (*SwsFilter) GetLumVAddr

func (sf *SwsFilter) GetLumVAddr() **SwsVector

GetLumVAddr gets `SwsFilter.lumV` address.

func (*SwsFilter) SetChrH

func (sf *SwsFilter) SetChrH(v *SwsVector)

SetChrH sets `SwsFilter.chrH` value.

func (*SwsFilter) SetChrV

func (sf *SwsFilter) SetChrV(v *SwsVector)

SetChrV sets `SwsFilter.chrV` value.

func (*SwsFilter) SetLumH

func (sf *SwsFilter) SetLumH(v *SwsVector)

SetLumH sets `SwsFilter.lumH` value.

func (*SwsFilter) SetLumV

func (sf *SwsFilter) SetLumV(v *SwsVector)

SetLumV sets `SwsFilter.lumV` value.

type SwsVector

type SwsVector C.struct_SwsVector

SwsVector

func SwsAllocVec

func SwsAllocVec(length int32) *SwsVector

SwsAllocVec allocates and returns an uninitialized vector with length coefficients.

func SwsGetGaussianVec

func SwsGetGaussianVec(variance, quality float64) *SwsVector

SwsGetGaussianVec Return a normalized Gaussian curve used to filter stuff.

func (*SwsVector) GetCoeff

func (sv *SwsVector) GetCoeff() *float64

GetCoeff gets `SwsVector.coeff` value.

func (*SwsVector) GetCoeffAddr

func (sv *SwsVector) GetCoeffAddr() **float64

GetCoeffAddr gets `SwsVector.coeff` address.

func (*SwsVector) GetLength

func (sv *SwsVector) GetLength() int32

GetLength gets `SwsVector.length` value.

func (*SwsVector) GetLengthAddr

func (sv *SwsVector) GetLengthAddr() *int32

GetLengthAddr gets `SwsVector.length` address.

func (*SwsVector) SetCoeff

func (sv *SwsVector) SetCoeff(v *float64)

SetCoeff sets `SwsVector.coeff` value.

func (*SwsVector) SetLength

func (sv *SwsVector) SetLength(v int32)

SetLength sets `SwsVector.length` value.

type URLContext

type URLContext C.struct_URLContext

URLContext

type UnsingedInteger

type UnsingedInteger interface {
	~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL