All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nextbreakpoint.ffmpeg4java.Libffmpeg_2 Maven / Gradle / Ivy

The newest version!
// Generated by jextract

package com.nextbreakpoint.ffmpeg4java;

import java.lang.invoke.*;
import java.lang.foreign.*;
import java.nio.ByteOrder;
import java.util.*;
import java.util.function.*;
import java.util.stream.*;

import static java.lang.foreign.ValueLayout.*;
import static java.lang.foreign.MemoryLayout.PathElement.*;

public class Libffmpeg_2 {

    Libffmpeg_2() {
        // Should not be called directly
    }

    static final Arena LIBRARY_ARENA = Arena.ofAuto();
    static final boolean TRACE_DOWNCALLS = Boolean.getBoolean("jextract.trace.downcalls");

    static void traceDowncall(String name, Object... args) {
         String traceArgs = Arrays.stream(args)
                       .map(Object::toString)
                       .collect(Collectors.joining(", "));
         System.out.printf("%s(%s)\n", name, traceArgs);
    }

    static MemorySegment findOrThrow(String symbol) {
        return SYMBOL_LOOKUP.find(symbol)
            .orElseThrow(() -> new UnsatisfiedLinkError("unresolved symbol: " + symbol));
    }

    static MethodHandle upcallHandle(Class fi, String name, FunctionDescriptor fdesc) {
        try {
            return MethodHandles.lookup().findVirtual(fi, name, fdesc.toMethodType());
        } catch (ReflectiveOperationException ex) {
            throw new AssertionError(ex);
        }
    }

    static MemoryLayout align(MemoryLayout layout, long align) {
        return switch (layout) {
            case PaddingLayout p -> p;
            case ValueLayout v -> v.withByteAlignment(align);
            case GroupLayout g -> {
                MemoryLayout[] alignedMembers = g.memberLayouts().stream()
                        .map(m -> align(m, align)).toArray(MemoryLayout[]::new);
                yield g instanceof StructLayout ?
                        MemoryLayout.structLayout(alignedMembers) : MemoryLayout.unionLayout(alignedMembers);
            }
            case SequenceLayout s -> MemoryLayout.sequenceLayout(s.elementCount(), align(s.elementLayout(), align));
        };
    }


    static {
        System.loadLibrary("ffmpeg4java");
    }

    static final SymbolLookup SYMBOL_LOOKUP = SymbolLookup.loaderLookup()
            .or(Linker.nativeLinker().defaultLookup());

    public static final ValueLayout.OfBoolean C_BOOL = ValueLayout.JAVA_BOOLEAN;
    public static final ValueLayout.OfByte C_CHAR = ValueLayout.JAVA_BYTE;
    public static final ValueLayout.OfShort C_SHORT = ValueLayout.JAVA_SHORT;
    public static final ValueLayout.OfInt C_INT = ValueLayout.JAVA_INT;
    public static final ValueLayout.OfLong C_LONG_LONG = ValueLayout.JAVA_LONG;
    public static final ValueLayout.OfFloat C_FLOAT = ValueLayout.JAVA_FLOAT;
    public static final ValueLayout.OfDouble C_DOUBLE = ValueLayout.JAVA_DOUBLE;
    public static final AddressLayout C_POINTER = ValueLayout.ADDRESS
            .withTargetLayout(MemoryLayout.sequenceLayout(java.lang.Long.MAX_VALUE, JAVA_BYTE));
    public static final ValueLayout.OfInt C_LONG = ValueLayout.JAVA_INT;
    public static final ValueLayout.OfDouble C_LONG_DOUBLE = ValueLayout.JAVA_DOUBLE;
    private static final int FF_LAMBDA_SHIFT = (int)7L;
    /**
     * {@snippet lang=c :
     * #define FF_LAMBDA_SHIFT 7
     * }
     */
    public static int FF_LAMBDA_SHIFT() {
        return FF_LAMBDA_SHIFT;
    }
    private static final int FF_QP2LAMBDA = (int)118L;
    /**
     * {@snippet lang=c :
     * #define FF_QP2LAMBDA 118
     * }
     */
    public static int FF_QP2LAMBDA() {
        return FF_QP2LAMBDA;
    }
    private static final int AV_TIME_BASE = (int)1000000L;
    /**
     * {@snippet lang=c :
     * #define AV_TIME_BASE 1000000
     * }
     */
    public static int AV_TIME_BASE() {
        return AV_TIME_BASE;
    }
    private static final int __GNUC_VA_LIST = (int)1L;
    /**
     * {@snippet lang=c :
     * #define __GNUC_VA_LIST 1
     * }
     */
    public static int __GNUC_VA_LIST() {
        return __GNUC_VA_LIST;
    }
    private static final int AV_HAVE_BIGENDIAN = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AV_HAVE_BIGENDIAN 0
     * }
     */
    public static int AV_HAVE_BIGENDIAN() {
        return AV_HAVE_BIGENDIAN;
    }
    private static final int AV_HAVE_FAST_UNALIGNED = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_HAVE_FAST_UNALIGNED 1
     * }
     */
    public static int AV_HAVE_FAST_UNALIGNED() {
        return AV_HAVE_FAST_UNALIGNED;
    }
    private static final int AV_ERROR_MAX_STRING_SIZE = (int)64L;
    /**
     * {@snippet lang=c :
     * #define AV_ERROR_MAX_STRING_SIZE 64
     * }
     */
    public static int AV_ERROR_MAX_STRING_SIZE() {
        return AV_ERROR_MAX_STRING_SIZE;
    }
    private static final int LIBAVUTIL_VERSION_MAJOR = (int)59L;
    /**
     * {@snippet lang=c :
     * #define LIBAVUTIL_VERSION_MAJOR 59
     * }
     */
    public static int LIBAVUTIL_VERSION_MAJOR() {
        return LIBAVUTIL_VERSION_MAJOR;
    }
    private static final int LIBAVUTIL_VERSION_MINOR = (int)8L;
    /**
     * {@snippet lang=c :
     * #define LIBAVUTIL_VERSION_MINOR 8
     * }
     */
    public static int LIBAVUTIL_VERSION_MINOR() {
        return LIBAVUTIL_VERSION_MINOR;
    }
    private static final int LIBAVUTIL_VERSION_MICRO = (int)100L;
    /**
     * {@snippet lang=c :
     * #define LIBAVUTIL_VERSION_MICRO 100
     * }
     */
    public static int LIBAVUTIL_VERSION_MICRO() {
        return LIBAVUTIL_VERSION_MICRO;
    }
    private static final int AV_LOG_PANIC = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AV_LOG_PANIC 0
     * }
     */
    public static int AV_LOG_PANIC() {
        return AV_LOG_PANIC;
    }
    private static final int AV_LOG_FATAL = (int)8L;
    /**
     * {@snippet lang=c :
     * #define AV_LOG_FATAL 8
     * }
     */
    public static int AV_LOG_FATAL() {
        return AV_LOG_FATAL;
    }
    private static final int AV_LOG_ERROR = (int)16L;
    /**
     * {@snippet lang=c :
     * #define AV_LOG_ERROR 16
     * }
     */
    public static int AV_LOG_ERROR() {
        return AV_LOG_ERROR;
    }
    private static final int AV_LOG_WARNING = (int)24L;
    /**
     * {@snippet lang=c :
     * #define AV_LOG_WARNING 24
     * }
     */
    public static int AV_LOG_WARNING() {
        return AV_LOG_WARNING;
    }
    private static final int AV_LOG_INFO = (int)32L;
    /**
     * {@snippet lang=c :
     * #define AV_LOG_INFO 32
     * }
     */
    public static int AV_LOG_INFO() {
        return AV_LOG_INFO;
    }
    private static final int AV_LOG_VERBOSE = (int)40L;
    /**
     * {@snippet lang=c :
     * #define AV_LOG_VERBOSE 40
     * }
     */
    public static int AV_LOG_VERBOSE() {
        return AV_LOG_VERBOSE;
    }
    private static final int AV_LOG_DEBUG = (int)48L;
    /**
     * {@snippet lang=c :
     * #define AV_LOG_DEBUG 48
     * }
     */
    public static int AV_LOG_DEBUG() {
        return AV_LOG_DEBUG;
    }
    private static final int AV_LOG_TRACE = (int)56L;
    /**
     * {@snippet lang=c :
     * #define AV_LOG_TRACE 56
     * }
     */
    public static int AV_LOG_TRACE() {
        return AV_LOG_TRACE;
    }
    private static final int AV_LOG_SKIP_REPEATED = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_LOG_SKIP_REPEATED 1
     * }
     */
    public static int AV_LOG_SKIP_REPEATED() {
        return AV_LOG_SKIP_REPEATED;
    }
    private static final int AV_LOG_PRINT_LEVEL = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AV_LOG_PRINT_LEVEL 2
     * }
     */
    public static int AV_LOG_PRINT_LEVEL() {
        return AV_LOG_PRINT_LEVEL;
    }
    private static final int AVPALETTE_SIZE = (int)1024L;
    /**
     * {@snippet lang=c :
     * #define AVPALETTE_SIZE 1024
     * }
     */
    public static int AVPALETTE_SIZE() {
        return AVPALETTE_SIZE;
    }
    private static final int AVPALETTE_COUNT = (int)256L;
    /**
     * {@snippet lang=c :
     * #define AVPALETTE_COUNT 256
     * }
     */
    public static int AVPALETTE_COUNT() {
        return AVPALETTE_COUNT;
    }
    private static final int AV_VIDEO_MAX_PLANES = (int)4L;
    /**
     * {@snippet lang=c :
     * #define AV_VIDEO_MAX_PLANES 4
     * }
     */
    public static int AV_VIDEO_MAX_PLANES() {
        return AV_VIDEO_MAX_PLANES;
    }
    private static final int AV_FOURCC_MAX_STRING_SIZE = (int)32L;
    /**
     * {@snippet lang=c :
     * #define AV_FOURCC_MAX_STRING_SIZE 32
     * }
     */
    public static int AV_FOURCC_MAX_STRING_SIZE() {
        return AV_FOURCC_MAX_STRING_SIZE;
    }
    private static final int FF_LOSS_RESOLUTION = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_LOSS_RESOLUTION 1
     * }
     */
    public static int FF_LOSS_RESOLUTION() {
        return FF_LOSS_RESOLUTION;
    }
    private static final int FF_LOSS_DEPTH = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_LOSS_DEPTH 2
     * }
     */
    public static int FF_LOSS_DEPTH() {
        return FF_LOSS_DEPTH;
    }
    private static final int FF_LOSS_COLORSPACE = (int)4L;
    /**
     * {@snippet lang=c :
     * #define FF_LOSS_COLORSPACE 4
     * }
     */
    public static int FF_LOSS_COLORSPACE() {
        return FF_LOSS_COLORSPACE;
    }
    private static final int FF_LOSS_ALPHA = (int)8L;
    /**
     * {@snippet lang=c :
     * #define FF_LOSS_ALPHA 8
     * }
     */
    public static int FF_LOSS_ALPHA() {
        return FF_LOSS_ALPHA;
    }
    private static final int FF_LOSS_COLORQUANT = (int)16L;
    /**
     * {@snippet lang=c :
     * #define FF_LOSS_COLORQUANT 16
     * }
     */
    public static int FF_LOSS_COLORQUANT() {
        return FF_LOSS_COLORQUANT;
    }
    private static final int FF_LOSS_CHROMA = (int)32L;
    /**
     * {@snippet lang=c :
     * #define FF_LOSS_CHROMA 32
     * }
     */
    public static int FF_LOSS_CHROMA() {
        return FF_LOSS_CHROMA;
    }
    private static final int FF_LOSS_EXCESS_RESOLUTION = (int)64L;
    /**
     * {@snippet lang=c :
     * #define FF_LOSS_EXCESS_RESOLUTION 64
     * }
     */
    public static int FF_LOSS_EXCESS_RESOLUTION() {
        return FF_LOSS_EXCESS_RESOLUTION;
    }
    private static final int FF_LOSS_EXCESS_DEPTH = (int)128L;
    /**
     * {@snippet lang=c :
     * #define FF_LOSS_EXCESS_DEPTH 128
     * }
     */
    public static int FF_LOSS_EXCESS_DEPTH() {
        return FF_LOSS_EXCESS_DEPTH;
    }
    private static final int LIBAVCODEC_VERSION_MAJOR = (int)61L;
    /**
     * {@snippet lang=c :
     * #define LIBAVCODEC_VERSION_MAJOR 61
     * }
     */
    public static int LIBAVCODEC_VERSION_MAJOR() {
        return LIBAVCODEC_VERSION_MAJOR;
    }
    private static final int AV_INPUT_BUFFER_PADDING_SIZE = (int)64L;
    /**
     * {@snippet lang=c :
     * #define AV_INPUT_BUFFER_PADDING_SIZE 64
     * }
     */
    public static int AV_INPUT_BUFFER_PADDING_SIZE() {
        return AV_INPUT_BUFFER_PADDING_SIZE;
    }
    private static final int FF_COMPLIANCE_VERY_STRICT = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_COMPLIANCE_VERY_STRICT 2
     * }
     */
    public static int FF_COMPLIANCE_VERY_STRICT() {
        return FF_COMPLIANCE_VERY_STRICT;
    }
    private static final int FF_COMPLIANCE_STRICT = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_COMPLIANCE_STRICT 1
     * }
     */
    public static int FF_COMPLIANCE_STRICT() {
        return FF_COMPLIANCE_STRICT;
    }
    private static final int FF_COMPLIANCE_NORMAL = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_COMPLIANCE_NORMAL 0
     * }
     */
    public static int FF_COMPLIANCE_NORMAL() {
        return FF_COMPLIANCE_NORMAL;
    }
    private static final int AV_PROFILE_AAC_MAIN = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_AAC_MAIN 0
     * }
     */
    public static int AV_PROFILE_AAC_MAIN() {
        return AV_PROFILE_AAC_MAIN;
    }
    private static final int AV_PROFILE_AAC_LOW = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_AAC_LOW 1
     * }
     */
    public static int AV_PROFILE_AAC_LOW() {
        return AV_PROFILE_AAC_LOW;
    }
    private static final int AV_PROFILE_AAC_SSR = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_AAC_SSR 2
     * }
     */
    public static int AV_PROFILE_AAC_SSR() {
        return AV_PROFILE_AAC_SSR;
    }
    private static final int AV_PROFILE_AAC_LTP = (int)3L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_AAC_LTP 3
     * }
     */
    public static int AV_PROFILE_AAC_LTP() {
        return AV_PROFILE_AAC_LTP;
    }
    private static final int AV_PROFILE_AAC_HE = (int)4L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_AAC_HE 4
     * }
     */
    public static int AV_PROFILE_AAC_HE() {
        return AV_PROFILE_AAC_HE;
    }
    private static final int AV_PROFILE_AAC_HE_V2 = (int)28L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_AAC_HE_V2 28
     * }
     */
    public static int AV_PROFILE_AAC_HE_V2() {
        return AV_PROFILE_AAC_HE_V2;
    }
    private static final int AV_PROFILE_AAC_LD = (int)22L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_AAC_LD 22
     * }
     */
    public static int AV_PROFILE_AAC_LD() {
        return AV_PROFILE_AAC_LD;
    }
    private static final int AV_PROFILE_AAC_ELD = (int)38L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_AAC_ELD 38
     * }
     */
    public static int AV_PROFILE_AAC_ELD() {
        return AV_PROFILE_AAC_ELD;
    }
    private static final int AV_PROFILE_MPEG2_AAC_LOW = (int)128L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG2_AAC_LOW 128
     * }
     */
    public static int AV_PROFILE_MPEG2_AAC_LOW() {
        return AV_PROFILE_MPEG2_AAC_LOW;
    }
    private static final int AV_PROFILE_MPEG2_AAC_HE = (int)131L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG2_AAC_HE 131
     * }
     */
    public static int AV_PROFILE_MPEG2_AAC_HE() {
        return AV_PROFILE_MPEG2_AAC_HE;
    }
    private static final int AV_PROFILE_DNXHD = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_DNXHD 0
     * }
     */
    public static int AV_PROFILE_DNXHD() {
        return AV_PROFILE_DNXHD;
    }
    private static final int AV_PROFILE_DNXHR_LB = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_DNXHR_LB 1
     * }
     */
    public static int AV_PROFILE_DNXHR_LB() {
        return AV_PROFILE_DNXHR_LB;
    }
    private static final int AV_PROFILE_DNXHR_SQ = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_DNXHR_SQ 2
     * }
     */
    public static int AV_PROFILE_DNXHR_SQ() {
        return AV_PROFILE_DNXHR_SQ;
    }
    private static final int AV_PROFILE_DNXHR_HQ = (int)3L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_DNXHR_HQ 3
     * }
     */
    public static int AV_PROFILE_DNXHR_HQ() {
        return AV_PROFILE_DNXHR_HQ;
    }
    private static final int AV_PROFILE_DNXHR_HQX = (int)4L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_DNXHR_HQX 4
     * }
     */
    public static int AV_PROFILE_DNXHR_HQX() {
        return AV_PROFILE_DNXHR_HQX;
    }
    private static final int AV_PROFILE_DNXHR_444 = (int)5L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_DNXHR_444 5
     * }
     */
    public static int AV_PROFILE_DNXHR_444() {
        return AV_PROFILE_DNXHR_444;
    }
    private static final int AV_PROFILE_DTS = (int)20L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_DTS 20
     * }
     */
    public static int AV_PROFILE_DTS() {
        return AV_PROFILE_DTS;
    }
    private static final int AV_PROFILE_DTS_ES = (int)30L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_DTS_ES 30
     * }
     */
    public static int AV_PROFILE_DTS_ES() {
        return AV_PROFILE_DTS_ES;
    }
    private static final int AV_PROFILE_DTS_96_24 = (int)40L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_DTS_96_24 40
     * }
     */
    public static int AV_PROFILE_DTS_96_24() {
        return AV_PROFILE_DTS_96_24;
    }
    private static final int AV_PROFILE_DTS_HD_HRA = (int)50L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_DTS_HD_HRA 50
     * }
     */
    public static int AV_PROFILE_DTS_HD_HRA() {
        return AV_PROFILE_DTS_HD_HRA;
    }
    private static final int AV_PROFILE_DTS_HD_MA = (int)60L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_DTS_HD_MA 60
     * }
     */
    public static int AV_PROFILE_DTS_HD_MA() {
        return AV_PROFILE_DTS_HD_MA;
    }
    private static final int AV_PROFILE_DTS_EXPRESS = (int)70L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_DTS_EXPRESS 70
     * }
     */
    public static int AV_PROFILE_DTS_EXPRESS() {
        return AV_PROFILE_DTS_EXPRESS;
    }
    private static final int AV_PROFILE_DTS_HD_MA_X = (int)61L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_DTS_HD_MA_X 61
     * }
     */
    public static int AV_PROFILE_DTS_HD_MA_X() {
        return AV_PROFILE_DTS_HD_MA_X;
    }
    private static final int AV_PROFILE_DTS_HD_MA_X_IMAX = (int)62L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_DTS_HD_MA_X_IMAX 62
     * }
     */
    public static int AV_PROFILE_DTS_HD_MA_X_IMAX() {
        return AV_PROFILE_DTS_HD_MA_X_IMAX;
    }
    private static final int AV_PROFILE_EAC3_DDP_ATMOS = (int)30L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_EAC3_DDP_ATMOS 30
     * }
     */
    public static int AV_PROFILE_EAC3_DDP_ATMOS() {
        return AV_PROFILE_EAC3_DDP_ATMOS;
    }
    private static final int AV_PROFILE_TRUEHD_ATMOS = (int)30L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_TRUEHD_ATMOS 30
     * }
     */
    public static int AV_PROFILE_TRUEHD_ATMOS() {
        return AV_PROFILE_TRUEHD_ATMOS;
    }
    private static final int AV_PROFILE_MPEG2_422 = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG2_422 0
     * }
     */
    public static int AV_PROFILE_MPEG2_422() {
        return AV_PROFILE_MPEG2_422;
    }
    private static final int AV_PROFILE_MPEG2_HIGH = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG2_HIGH 1
     * }
     */
    public static int AV_PROFILE_MPEG2_HIGH() {
        return AV_PROFILE_MPEG2_HIGH;
    }
    private static final int AV_PROFILE_MPEG2_SS = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG2_SS 2
     * }
     */
    public static int AV_PROFILE_MPEG2_SS() {
        return AV_PROFILE_MPEG2_SS;
    }
    private static final int AV_PROFILE_MPEG2_SNR_SCALABLE = (int)3L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG2_SNR_SCALABLE 3
     * }
     */
    public static int AV_PROFILE_MPEG2_SNR_SCALABLE() {
        return AV_PROFILE_MPEG2_SNR_SCALABLE;
    }
    private static final int AV_PROFILE_MPEG2_MAIN = (int)4L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG2_MAIN 4
     * }
     */
    public static int AV_PROFILE_MPEG2_MAIN() {
        return AV_PROFILE_MPEG2_MAIN;
    }
    private static final int AV_PROFILE_MPEG2_SIMPLE = (int)5L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG2_SIMPLE 5
     * }
     */
    public static int AV_PROFILE_MPEG2_SIMPLE() {
        return AV_PROFILE_MPEG2_SIMPLE;
    }
    private static final int AV_PROFILE_H264_BASELINE = (int)66L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_H264_BASELINE 66
     * }
     */
    public static int AV_PROFILE_H264_BASELINE() {
        return AV_PROFILE_H264_BASELINE;
    }
    private static final int AV_PROFILE_H264_MAIN = (int)77L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_H264_MAIN 77
     * }
     */
    public static int AV_PROFILE_H264_MAIN() {
        return AV_PROFILE_H264_MAIN;
    }
    private static final int AV_PROFILE_H264_EXTENDED = (int)88L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_H264_EXTENDED 88
     * }
     */
    public static int AV_PROFILE_H264_EXTENDED() {
        return AV_PROFILE_H264_EXTENDED;
    }
    private static final int AV_PROFILE_H264_HIGH = (int)100L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_H264_HIGH 100
     * }
     */
    public static int AV_PROFILE_H264_HIGH() {
        return AV_PROFILE_H264_HIGH;
    }
    private static final int AV_PROFILE_H264_HIGH_10 = (int)110L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_H264_HIGH_10 110
     * }
     */
    public static int AV_PROFILE_H264_HIGH_10() {
        return AV_PROFILE_H264_HIGH_10;
    }
    private static final int AV_PROFILE_H264_MULTIVIEW_HIGH = (int)118L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_H264_MULTIVIEW_HIGH 118
     * }
     */
    public static int AV_PROFILE_H264_MULTIVIEW_HIGH() {
        return AV_PROFILE_H264_MULTIVIEW_HIGH;
    }
    private static final int AV_PROFILE_H264_HIGH_422 = (int)122L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_H264_HIGH_422 122
     * }
     */
    public static int AV_PROFILE_H264_HIGH_422() {
        return AV_PROFILE_H264_HIGH_422;
    }
    private static final int AV_PROFILE_H264_STEREO_HIGH = (int)128L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_H264_STEREO_HIGH 128
     * }
     */
    public static int AV_PROFILE_H264_STEREO_HIGH() {
        return AV_PROFILE_H264_STEREO_HIGH;
    }
    private static final int AV_PROFILE_H264_HIGH_444 = (int)144L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_H264_HIGH_444 144
     * }
     */
    public static int AV_PROFILE_H264_HIGH_444() {
        return AV_PROFILE_H264_HIGH_444;
    }
    private static final int AV_PROFILE_H264_HIGH_444_PREDICTIVE = (int)244L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_H264_HIGH_444_PREDICTIVE 244
     * }
     */
    public static int AV_PROFILE_H264_HIGH_444_PREDICTIVE() {
        return AV_PROFILE_H264_HIGH_444_PREDICTIVE;
    }
    private static final int AV_PROFILE_H264_CAVLC_444 = (int)44L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_H264_CAVLC_444 44
     * }
     */
    public static int AV_PROFILE_H264_CAVLC_444() {
        return AV_PROFILE_H264_CAVLC_444;
    }
    private static final int AV_PROFILE_VC1_SIMPLE = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_VC1_SIMPLE 0
     * }
     */
    public static int AV_PROFILE_VC1_SIMPLE() {
        return AV_PROFILE_VC1_SIMPLE;
    }
    private static final int AV_PROFILE_VC1_MAIN = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_VC1_MAIN 1
     * }
     */
    public static int AV_PROFILE_VC1_MAIN() {
        return AV_PROFILE_VC1_MAIN;
    }
    private static final int AV_PROFILE_VC1_COMPLEX = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_VC1_COMPLEX 2
     * }
     */
    public static int AV_PROFILE_VC1_COMPLEX() {
        return AV_PROFILE_VC1_COMPLEX;
    }
    private static final int AV_PROFILE_VC1_ADVANCED = (int)3L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_VC1_ADVANCED 3
     * }
     */
    public static int AV_PROFILE_VC1_ADVANCED() {
        return AV_PROFILE_VC1_ADVANCED;
    }
    private static final int AV_PROFILE_MPEG4_SIMPLE = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_SIMPLE 0
     * }
     */
    public static int AV_PROFILE_MPEG4_SIMPLE() {
        return AV_PROFILE_MPEG4_SIMPLE;
    }
    private static final int AV_PROFILE_MPEG4_SIMPLE_SCALABLE = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_SIMPLE_SCALABLE 1
     * }
     */
    public static int AV_PROFILE_MPEG4_SIMPLE_SCALABLE() {
        return AV_PROFILE_MPEG4_SIMPLE_SCALABLE;
    }
    private static final int AV_PROFILE_MPEG4_CORE = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_CORE 2
     * }
     */
    public static int AV_PROFILE_MPEG4_CORE() {
        return AV_PROFILE_MPEG4_CORE;
    }
    private static final int AV_PROFILE_MPEG4_MAIN = (int)3L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_MAIN 3
     * }
     */
    public static int AV_PROFILE_MPEG4_MAIN() {
        return AV_PROFILE_MPEG4_MAIN;
    }
    private static final int AV_PROFILE_MPEG4_N_BIT = (int)4L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_N_BIT 4
     * }
     */
    public static int AV_PROFILE_MPEG4_N_BIT() {
        return AV_PROFILE_MPEG4_N_BIT;
    }
    private static final int AV_PROFILE_MPEG4_SCALABLE_TEXTURE = (int)5L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_SCALABLE_TEXTURE 5
     * }
     */
    public static int AV_PROFILE_MPEG4_SCALABLE_TEXTURE() {
        return AV_PROFILE_MPEG4_SCALABLE_TEXTURE;
    }
    private static final int AV_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION = (int)6L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION 6
     * }
     */
    public static int AV_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION() {
        return AV_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION;
    }
    private static final int AV_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE = (int)7L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE 7
     * }
     */
    public static int AV_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE() {
        return AV_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE;
    }
    private static final int AV_PROFILE_MPEG4_HYBRID = (int)8L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_HYBRID 8
     * }
     */
    public static int AV_PROFILE_MPEG4_HYBRID() {
        return AV_PROFILE_MPEG4_HYBRID;
    }
    private static final int AV_PROFILE_MPEG4_ADVANCED_REAL_TIME = (int)9L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_ADVANCED_REAL_TIME 9
     * }
     */
    public static int AV_PROFILE_MPEG4_ADVANCED_REAL_TIME() {
        return AV_PROFILE_MPEG4_ADVANCED_REAL_TIME;
    }
    private static final int AV_PROFILE_MPEG4_CORE_SCALABLE = (int)10L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_CORE_SCALABLE 10
     * }
     */
    public static int AV_PROFILE_MPEG4_CORE_SCALABLE() {
        return AV_PROFILE_MPEG4_CORE_SCALABLE;
    }
    private static final int AV_PROFILE_MPEG4_ADVANCED_CODING = (int)11L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_ADVANCED_CODING 11
     * }
     */
    public static int AV_PROFILE_MPEG4_ADVANCED_CODING() {
        return AV_PROFILE_MPEG4_ADVANCED_CODING;
    }
    private static final int AV_PROFILE_MPEG4_ADVANCED_CORE = (int)12L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_ADVANCED_CORE 12
     * }
     */
    public static int AV_PROFILE_MPEG4_ADVANCED_CORE() {
        return AV_PROFILE_MPEG4_ADVANCED_CORE;
    }
    private static final int AV_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE = (int)13L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE 13
     * }
     */
    public static int AV_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE() {
        return AV_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE;
    }
    private static final int AV_PROFILE_MPEG4_SIMPLE_STUDIO = (int)14L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_SIMPLE_STUDIO 14
     * }
     */
    public static int AV_PROFILE_MPEG4_SIMPLE_STUDIO() {
        return AV_PROFILE_MPEG4_SIMPLE_STUDIO;
    }
    private static final int AV_PROFILE_MPEG4_ADVANCED_SIMPLE = (int)15L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MPEG4_ADVANCED_SIMPLE 15
     * }
     */
    public static int AV_PROFILE_MPEG4_ADVANCED_SIMPLE() {
        return AV_PROFILE_MPEG4_ADVANCED_SIMPLE;
    }
    private static final int AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0 = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0 1
     * }
     */
    public static int AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0() {
        return AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0;
    }
    private static final int AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1 = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1 2
     * }
     */
    public static int AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1() {
        return AV_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1;
    }
    private static final int AV_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION = (int)32768L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION 32768
     * }
     */
    public static int AV_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION() {
        return AV_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION;
    }
    private static final int AV_PROFILE_JPEG2000_DCINEMA_2K = (int)3L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_JPEG2000_DCINEMA_2K 3
     * }
     */
    public static int AV_PROFILE_JPEG2000_DCINEMA_2K() {
        return AV_PROFILE_JPEG2000_DCINEMA_2K;
    }
    private static final int AV_PROFILE_JPEG2000_DCINEMA_4K = (int)4L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_JPEG2000_DCINEMA_4K 4
     * }
     */
    public static int AV_PROFILE_JPEG2000_DCINEMA_4K() {
        return AV_PROFILE_JPEG2000_DCINEMA_4K;
    }
    private static final int AV_PROFILE_VP9_0 = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_VP9_0 0
     * }
     */
    public static int AV_PROFILE_VP9_0() {
        return AV_PROFILE_VP9_0;
    }
    private static final int AV_PROFILE_VP9_1 = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_VP9_1 1
     * }
     */
    public static int AV_PROFILE_VP9_1() {
        return AV_PROFILE_VP9_1;
    }
    private static final int AV_PROFILE_VP9_2 = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_VP9_2 2
     * }
     */
    public static int AV_PROFILE_VP9_2() {
        return AV_PROFILE_VP9_2;
    }
    private static final int AV_PROFILE_VP9_3 = (int)3L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_VP9_3 3
     * }
     */
    public static int AV_PROFILE_VP9_3() {
        return AV_PROFILE_VP9_3;
    }
    private static final int AV_PROFILE_HEVC_MAIN = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_HEVC_MAIN 1
     * }
     */
    public static int AV_PROFILE_HEVC_MAIN() {
        return AV_PROFILE_HEVC_MAIN;
    }
    private static final int AV_PROFILE_HEVC_MAIN_10 = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_HEVC_MAIN_10 2
     * }
     */
    public static int AV_PROFILE_HEVC_MAIN_10() {
        return AV_PROFILE_HEVC_MAIN_10;
    }
    private static final int AV_PROFILE_HEVC_MAIN_STILL_PICTURE = (int)3L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_HEVC_MAIN_STILL_PICTURE 3
     * }
     */
    public static int AV_PROFILE_HEVC_MAIN_STILL_PICTURE() {
        return AV_PROFILE_HEVC_MAIN_STILL_PICTURE;
    }
    private static final int AV_PROFILE_HEVC_REXT = (int)4L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_HEVC_REXT 4
     * }
     */
    public static int AV_PROFILE_HEVC_REXT() {
        return AV_PROFILE_HEVC_REXT;
    }
    private static final int AV_PROFILE_HEVC_SCC = (int)9L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_HEVC_SCC 9
     * }
     */
    public static int AV_PROFILE_HEVC_SCC() {
        return AV_PROFILE_HEVC_SCC;
    }
    private static final int AV_PROFILE_VVC_MAIN_10 = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_VVC_MAIN_10 1
     * }
     */
    public static int AV_PROFILE_VVC_MAIN_10() {
        return AV_PROFILE_VVC_MAIN_10;
    }
    private static final int AV_PROFILE_VVC_MAIN_10_444 = (int)33L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_VVC_MAIN_10_444 33
     * }
     */
    public static int AV_PROFILE_VVC_MAIN_10_444() {
        return AV_PROFILE_VVC_MAIN_10_444;
    }
    private static final int AV_PROFILE_AV1_MAIN = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_AV1_MAIN 0
     * }
     */
    public static int AV_PROFILE_AV1_MAIN() {
        return AV_PROFILE_AV1_MAIN;
    }
    private static final int AV_PROFILE_AV1_HIGH = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_AV1_HIGH 1
     * }
     */
    public static int AV_PROFILE_AV1_HIGH() {
        return AV_PROFILE_AV1_HIGH;
    }
    private static final int AV_PROFILE_AV1_PROFESSIONAL = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_AV1_PROFESSIONAL 2
     * }
     */
    public static int AV_PROFILE_AV1_PROFESSIONAL() {
        return AV_PROFILE_AV1_PROFESSIONAL;
    }
    private static final int AV_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT = (int)192L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT 192
     * }
     */
    public static int AV_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT() {
        return AV_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT;
    }
    private static final int AV_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT = (int)193L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT 193
     * }
     */
    public static int AV_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT() {
        return AV_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT;
    }
    private static final int AV_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT = (int)194L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT 194
     * }
     */
    public static int AV_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT() {
        return AV_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT;
    }
    private static final int AV_PROFILE_MJPEG_HUFFMAN_LOSSLESS = (int)195L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MJPEG_HUFFMAN_LOSSLESS 195
     * }
     */
    public static int AV_PROFILE_MJPEG_HUFFMAN_LOSSLESS() {
        return AV_PROFILE_MJPEG_HUFFMAN_LOSSLESS;
    }
    private static final int AV_PROFILE_MJPEG_JPEG_LS = (int)247L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_MJPEG_JPEG_LS 247
     * }
     */
    public static int AV_PROFILE_MJPEG_JPEG_LS() {
        return AV_PROFILE_MJPEG_JPEG_LS;
    }
    private static final int AV_PROFILE_SBC_MSBC = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_SBC_MSBC 1
     * }
     */
    public static int AV_PROFILE_SBC_MSBC() {
        return AV_PROFILE_SBC_MSBC;
    }
    private static final int AV_PROFILE_PRORES_PROXY = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_PRORES_PROXY 0
     * }
     */
    public static int AV_PROFILE_PRORES_PROXY() {
        return AV_PROFILE_PRORES_PROXY;
    }
    private static final int AV_PROFILE_PRORES_LT = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_PRORES_LT 1
     * }
     */
    public static int AV_PROFILE_PRORES_LT() {
        return AV_PROFILE_PRORES_LT;
    }
    private static final int AV_PROFILE_PRORES_STANDARD = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_PRORES_STANDARD 2
     * }
     */
    public static int AV_PROFILE_PRORES_STANDARD() {
        return AV_PROFILE_PRORES_STANDARD;
    }
    private static final int AV_PROFILE_PRORES_HQ = (int)3L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_PRORES_HQ 3
     * }
     */
    public static int AV_PROFILE_PRORES_HQ() {
        return AV_PROFILE_PRORES_HQ;
    }
    private static final int AV_PROFILE_PRORES_4444 = (int)4L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_PRORES_4444 4
     * }
     */
    public static int AV_PROFILE_PRORES_4444() {
        return AV_PROFILE_PRORES_4444;
    }
    private static final int AV_PROFILE_PRORES_XQ = (int)5L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_PRORES_XQ 5
     * }
     */
    public static int AV_PROFILE_PRORES_XQ() {
        return AV_PROFILE_PRORES_XQ;
    }
    private static final int AV_PROFILE_ARIB_PROFILE_A = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_ARIB_PROFILE_A 0
     * }
     */
    public static int AV_PROFILE_ARIB_PROFILE_A() {
        return AV_PROFILE_ARIB_PROFILE_A;
    }
    private static final int AV_PROFILE_ARIB_PROFILE_C = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_ARIB_PROFILE_C 1
     * }
     */
    public static int AV_PROFILE_ARIB_PROFILE_C() {
        return AV_PROFILE_ARIB_PROFILE_C;
    }
    private static final int AV_PROFILE_KLVA_SYNC = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_KLVA_SYNC 0
     * }
     */
    public static int AV_PROFILE_KLVA_SYNC() {
        return AV_PROFILE_KLVA_SYNC;
    }
    private static final int AV_PROFILE_KLVA_ASYNC = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_KLVA_ASYNC 1
     * }
     */
    public static int AV_PROFILE_KLVA_ASYNC() {
        return AV_PROFILE_KLVA_ASYNC;
    }
    private static final int AV_PROFILE_EVC_BASELINE = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_EVC_BASELINE 0
     * }
     */
    public static int AV_PROFILE_EVC_BASELINE() {
        return AV_PROFILE_EVC_BASELINE;
    }
    private static final int AV_PROFILE_EVC_MAIN = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROFILE_EVC_MAIN 1
     * }
     */
    public static int AV_PROFILE_EVC_MAIN() {
        return AV_PROFILE_EVC_MAIN;
    }
    private static final int AV_DICT_MATCH_CASE = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_DICT_MATCH_CASE 1
     * }
     */
    public static int AV_DICT_MATCH_CASE() {
        return AV_DICT_MATCH_CASE;
    }
    private static final int AV_DICT_IGNORE_SUFFIX = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AV_DICT_IGNORE_SUFFIX 2
     * }
     */
    public static int AV_DICT_IGNORE_SUFFIX() {
        return AV_DICT_IGNORE_SUFFIX;
    }
    private static final int AV_DICT_DONT_STRDUP_KEY = (int)4L;
    /**
     * {@snippet lang=c :
     * #define AV_DICT_DONT_STRDUP_KEY 4
     * }
     */
    public static int AV_DICT_DONT_STRDUP_KEY() {
        return AV_DICT_DONT_STRDUP_KEY;
    }
    private static final int AV_DICT_DONT_STRDUP_VAL = (int)8L;
    /**
     * {@snippet lang=c :
     * #define AV_DICT_DONT_STRDUP_VAL 8
     * }
     */
    public static int AV_DICT_DONT_STRDUP_VAL() {
        return AV_DICT_DONT_STRDUP_VAL;
    }
    private static final int AV_DICT_DONT_OVERWRITE = (int)16L;
    /**
     * {@snippet lang=c :
     * #define AV_DICT_DONT_OVERWRITE 16
     * }
     */
    public static int AV_DICT_DONT_OVERWRITE() {
        return AV_DICT_DONT_OVERWRITE;
    }
    private static final int AV_DICT_APPEND = (int)32L;
    /**
     * {@snippet lang=c :
     * #define AV_DICT_APPEND 32
     * }
     */
    public static int AV_DICT_APPEND() {
        return AV_DICT_APPEND;
    }
    private static final int AV_DICT_MULTIKEY = (int)64L;
    /**
     * {@snippet lang=c :
     * #define AV_DICT_MULTIKEY 64
     * }
     */
    public static int AV_DICT_MULTIKEY() {
        return AV_DICT_MULTIKEY;
    }
    private static final int AV_PKT_FLAG_KEY = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PKT_FLAG_KEY 1
     * }
     */
    public static int AV_PKT_FLAG_KEY() {
        return AV_PKT_FLAG_KEY;
    }
    private static final int AV_PKT_FLAG_CORRUPT = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AV_PKT_FLAG_CORRUPT 2
     * }
     */
    public static int AV_PKT_FLAG_CORRUPT() {
        return AV_PKT_FLAG_CORRUPT;
    }
    private static final int AV_PKT_FLAG_DISCARD = (int)4L;
    /**
     * {@snippet lang=c :
     * #define AV_PKT_FLAG_DISCARD 4
     * }
     */
    public static int AV_PKT_FLAG_DISCARD() {
        return AV_PKT_FLAG_DISCARD;
    }
    private static final int AV_PKT_FLAG_TRUSTED = (int)8L;
    /**
     * {@snippet lang=c :
     * #define AV_PKT_FLAG_TRUSTED 8
     * }
     */
    public static int AV_PKT_FLAG_TRUSTED() {
        return AV_PKT_FLAG_TRUSTED;
    }
    private static final int AV_PKT_FLAG_DISPOSABLE = (int)16L;
    /**
     * {@snippet lang=c :
     * #define AV_PKT_FLAG_DISPOSABLE 16
     * }
     */
    public static int AV_PKT_FLAG_DISPOSABLE() {
        return AV_PKT_FLAG_DISPOSABLE;
    }
    private static final int LIBAVFORMAT_VERSION_MAJOR = (int)61L;
    /**
     * {@snippet lang=c :
     * #define LIBAVFORMAT_VERSION_MAJOR 61
     * }
     */
    public static int LIBAVFORMAT_VERSION_MAJOR() {
        return LIBAVFORMAT_VERSION_MAJOR;
    }
    private static final int FF_API_R_FRAME_RATE = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_API_R_FRAME_RATE 1
     * }
     */
    public static int FF_API_R_FRAME_RATE() {
        return FF_API_R_FRAME_RATE;
    }
    private static final int AVSEEK_SIZE = (int)65536L;
    /**
     * {@snippet lang=c :
     * #define AVSEEK_SIZE 65536
     * }
     */
    public static int AVSEEK_SIZE() {
        return AVSEEK_SIZE;
    }
    private static final int AVSEEK_FORCE = (int)131072L;
    /**
     * {@snippet lang=c :
     * #define AVSEEK_FORCE 131072
     * }
     */
    public static int AVSEEK_FORCE() {
        return AVSEEK_FORCE;
    }
    private static final int AVIO_FLAG_READ = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AVIO_FLAG_READ 1
     * }
     */
    public static int AVIO_FLAG_READ() {
        return AVIO_FLAG_READ;
    }
    private static final int AVIO_FLAG_WRITE = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AVIO_FLAG_WRITE 2
     * }
     */
    public static int AVIO_FLAG_WRITE() {
        return AVIO_FLAG_WRITE;
    }
    private static final int AVIO_FLAG_NONBLOCK = (int)8L;
    /**
     * {@snippet lang=c :
     * #define AVIO_FLAG_NONBLOCK 8
     * }
     */
    public static int AVIO_FLAG_NONBLOCK() {
        return AVIO_FLAG_NONBLOCK;
    }
    private static final int AVIO_FLAG_DIRECT = (int)32768L;
    /**
     * {@snippet lang=c :
     * #define AVIO_FLAG_DIRECT 32768
     * }
     */
    public static int AVIO_FLAG_DIRECT() {
        return AVIO_FLAG_DIRECT;
    }
    private static final int LIBAVFORMAT_VERSION_MINOR = (int)1L;
    /**
     * {@snippet lang=c :
     * #define LIBAVFORMAT_VERSION_MINOR 1
     * }
     */
    public static int LIBAVFORMAT_VERSION_MINOR() {
        return LIBAVFORMAT_VERSION_MINOR;
    }
    private static final int LIBAVFORMAT_VERSION_MICRO = (int)100L;
    /**
     * {@snippet lang=c :
     * #define LIBAVFORMAT_VERSION_MICRO 100
     * }
     */
    public static int LIBAVFORMAT_VERSION_MICRO() {
        return LIBAVFORMAT_VERSION_MICRO;
    }
    private static final int AV_NUM_DATA_POINTERS = (int)8L;
    /**
     * {@snippet lang=c :
     * #define AV_NUM_DATA_POINTERS 8
     * }
     */
    public static int AV_NUM_DATA_POINTERS() {
        return AV_NUM_DATA_POINTERS;
    }
    private static final int FF_DECODE_ERROR_INVALID_BITSTREAM = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_DECODE_ERROR_INVALID_BITSTREAM 1
     * }
     */
    public static int FF_DECODE_ERROR_INVALID_BITSTREAM() {
        return FF_DECODE_ERROR_INVALID_BITSTREAM;
    }
    private static final int FF_DECODE_ERROR_MISSING_REFERENCE = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_DECODE_ERROR_MISSING_REFERENCE 2
     * }
     */
    public static int FF_DECODE_ERROR_MISSING_REFERENCE() {
        return FF_DECODE_ERROR_MISSING_REFERENCE;
    }
    private static final int FF_DECODE_ERROR_CONCEALMENT_ACTIVE = (int)4L;
    /**
     * {@snippet lang=c :
     * #define FF_DECODE_ERROR_CONCEALMENT_ACTIVE 4
     * }
     */
    public static int FF_DECODE_ERROR_CONCEALMENT_ACTIVE() {
        return FF_DECODE_ERROR_CONCEALMENT_ACTIVE;
    }
    private static final int FF_DECODE_ERROR_DECODE_SLICES = (int)8L;
    /**
     * {@snippet lang=c :
     * #define FF_DECODE_ERROR_DECODE_SLICES 8
     * }
     */
    public static int FF_DECODE_ERROR_DECODE_SLICES() {
        return FF_DECODE_ERROR_DECODE_SLICES;
    }
    private static final int AVPROBE_SCORE_EXTENSION = (int)50L;
    /**
     * {@snippet lang=c :
     * #define AVPROBE_SCORE_EXTENSION 50
     * }
     */
    public static int AVPROBE_SCORE_EXTENSION() {
        return AVPROBE_SCORE_EXTENSION;
    }
    private static final int AVPROBE_SCORE_MIME = (int)75L;
    /**
     * {@snippet lang=c :
     * #define AVPROBE_SCORE_MIME 75
     * }
     */
    public static int AVPROBE_SCORE_MIME() {
        return AVPROBE_SCORE_MIME;
    }
    private static final int AVPROBE_SCORE_MAX = (int)100L;
    /**
     * {@snippet lang=c :
     * #define AVPROBE_SCORE_MAX 100
     * }
     */
    public static int AVPROBE_SCORE_MAX() {
        return AVPROBE_SCORE_MAX;
    }
    private static final int AVPROBE_PADDING_SIZE = (int)32L;
    /**
     * {@snippet lang=c :
     * #define AVPROBE_PADDING_SIZE 32
     * }
     */
    public static int AVPROBE_PADDING_SIZE() {
        return AVPROBE_PADDING_SIZE;
    }
    private static final int AVFMT_NOFILE = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_NOFILE 1
     * }
     */
    public static int AVFMT_NOFILE() {
        return AVFMT_NOFILE;
    }
    private static final int AVFMT_NEEDNUMBER = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_NEEDNUMBER 2
     * }
     */
    public static int AVFMT_NEEDNUMBER() {
        return AVFMT_NEEDNUMBER;
    }
    private static final int AVFMT_EXPERIMENTAL = (int)4L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_EXPERIMENTAL 4
     * }
     */
    public static int AVFMT_EXPERIMENTAL() {
        return AVFMT_EXPERIMENTAL;
    }
    private static final int AVFMT_SHOW_IDS = (int)8L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_SHOW_IDS 8
     * }
     */
    public static int AVFMT_SHOW_IDS() {
        return AVFMT_SHOW_IDS;
    }
    private static final int AVFMT_GLOBALHEADER = (int)64L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_GLOBALHEADER 64
     * }
     */
    public static int AVFMT_GLOBALHEADER() {
        return AVFMT_GLOBALHEADER;
    }
    private static final int AVFMT_NOTIMESTAMPS = (int)128L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_NOTIMESTAMPS 128
     * }
     */
    public static int AVFMT_NOTIMESTAMPS() {
        return AVFMT_NOTIMESTAMPS;
    }
    private static final int AVFMT_GENERIC_INDEX = (int)256L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_GENERIC_INDEX 256
     * }
     */
    public static int AVFMT_GENERIC_INDEX() {
        return AVFMT_GENERIC_INDEX;
    }
    private static final int AVFMT_TS_DISCONT = (int)512L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_TS_DISCONT 512
     * }
     */
    public static int AVFMT_TS_DISCONT() {
        return AVFMT_TS_DISCONT;
    }
    private static final int AVFMT_VARIABLE_FPS = (int)1024L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_VARIABLE_FPS 1024
     * }
     */
    public static int AVFMT_VARIABLE_FPS() {
        return AVFMT_VARIABLE_FPS;
    }
    private static final int AVFMT_NODIMENSIONS = (int)2048L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_NODIMENSIONS 2048
     * }
     */
    public static int AVFMT_NODIMENSIONS() {
        return AVFMT_NODIMENSIONS;
    }
    private static final int AVFMT_NOSTREAMS = (int)4096L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_NOSTREAMS 4096
     * }
     */
    public static int AVFMT_NOSTREAMS() {
        return AVFMT_NOSTREAMS;
    }
    private static final int AVFMT_NOBINSEARCH = (int)8192L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_NOBINSEARCH 8192
     * }
     */
    public static int AVFMT_NOBINSEARCH() {
        return AVFMT_NOBINSEARCH;
    }
    private static final int AVFMT_NOGENSEARCH = (int)16384L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_NOGENSEARCH 16384
     * }
     */
    public static int AVFMT_NOGENSEARCH() {
        return AVFMT_NOGENSEARCH;
    }
    private static final int AVFMT_NO_BYTE_SEEK = (int)32768L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_NO_BYTE_SEEK 32768
     * }
     */
    public static int AVFMT_NO_BYTE_SEEK() {
        return AVFMT_NO_BYTE_SEEK;
    }
    private static final int AVFMT_ALLOW_FLUSH = (int)65536L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_ALLOW_FLUSH 65536
     * }
     */
    public static int AVFMT_ALLOW_FLUSH() {
        return AVFMT_ALLOW_FLUSH;
    }
    private static final int AVFMT_TS_NONSTRICT = (int)131072L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_TS_NONSTRICT 131072
     * }
     */
    public static int AVFMT_TS_NONSTRICT() {
        return AVFMT_TS_NONSTRICT;
    }
    private static final int AVFMT_TS_NEGATIVE = (int)262144L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_TS_NEGATIVE 262144
     * }
     */
    public static int AVFMT_TS_NEGATIVE() {
        return AVFMT_TS_NEGATIVE;
    }
    private static final int AVFMT_SEEK_TO_PTS = (int)67108864L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_SEEK_TO_PTS 67108864
     * }
     */
    public static int AVFMT_SEEK_TO_PTS() {
        return AVFMT_SEEK_TO_PTS;
    }
    private static final int AVINDEX_KEYFRAME = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AVINDEX_KEYFRAME 1
     * }
     */
    public static int AVINDEX_KEYFRAME() {
        return AVINDEX_KEYFRAME;
    }
    private static final int AVINDEX_DISCARD_FRAME = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AVINDEX_DISCARD_FRAME 2
     * }
     */
    public static int AVINDEX_DISCARD_FRAME() {
        return AVINDEX_DISCARD_FRAME;
    }
    private static final int AV_PTS_WRAP_IGNORE = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AV_PTS_WRAP_IGNORE 0
     * }
     */
    public static int AV_PTS_WRAP_IGNORE() {
        return AV_PTS_WRAP_IGNORE;
    }
    private static final int AV_PTS_WRAP_ADD_OFFSET = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PTS_WRAP_ADD_OFFSET 1
     * }
     */
    public static int AV_PTS_WRAP_ADD_OFFSET() {
        return AV_PTS_WRAP_ADD_OFFSET;
    }
    private static final int AVSTREAM_EVENT_FLAG_METADATA_UPDATED = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AVSTREAM_EVENT_FLAG_METADATA_UPDATED 1
     * }
     */
    public static int AVSTREAM_EVENT_FLAG_METADATA_UPDATED() {
        return AVSTREAM_EVENT_FLAG_METADATA_UPDATED;
    }
    private static final int AV_PROGRAM_RUNNING = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_PROGRAM_RUNNING 1
     * }
     */
    public static int AV_PROGRAM_RUNNING() {
        return AV_PROGRAM_RUNNING;
    }
    private static final int AVFMTCTX_NOHEADER = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AVFMTCTX_NOHEADER 1
     * }
     */
    public static int AVFMTCTX_NOHEADER() {
        return AVFMTCTX_NOHEADER;
    }
    private static final int AVFMTCTX_UNSEEKABLE = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AVFMTCTX_UNSEEKABLE 2
     * }
     */
    public static int AVFMTCTX_UNSEEKABLE() {
        return AVFMTCTX_UNSEEKABLE;
    }
    private static final int AVFMT_FLAG_GENPTS = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_FLAG_GENPTS 1
     * }
     */
    public static int AVFMT_FLAG_GENPTS() {
        return AVFMT_FLAG_GENPTS;
    }
    private static final int AVFMT_FLAG_IGNIDX = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_FLAG_IGNIDX 2
     * }
     */
    public static int AVFMT_FLAG_IGNIDX() {
        return AVFMT_FLAG_IGNIDX;
    }
    private static final int AVFMT_FLAG_NONBLOCK = (int)4L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_FLAG_NONBLOCK 4
     * }
     */
    public static int AVFMT_FLAG_NONBLOCK() {
        return AVFMT_FLAG_NONBLOCK;
    }
    private static final int AVFMT_FLAG_IGNDTS = (int)8L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_FLAG_IGNDTS 8
     * }
     */
    public static int AVFMT_FLAG_IGNDTS() {
        return AVFMT_FLAG_IGNDTS;
    }
    private static final int AVFMT_FLAG_NOFILLIN = (int)16L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_FLAG_NOFILLIN 16
     * }
     */
    public static int AVFMT_FLAG_NOFILLIN() {
        return AVFMT_FLAG_NOFILLIN;
    }
    private static final int AVFMT_FLAG_NOPARSE = (int)32L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_FLAG_NOPARSE 32
     * }
     */
    public static int AVFMT_FLAG_NOPARSE() {
        return AVFMT_FLAG_NOPARSE;
    }
    private static final int AVFMT_FLAG_NOBUFFER = (int)64L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_FLAG_NOBUFFER 64
     * }
     */
    public static int AVFMT_FLAG_NOBUFFER() {
        return AVFMT_FLAG_NOBUFFER;
    }
    private static final int AVFMT_FLAG_CUSTOM_IO = (int)128L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_FLAG_CUSTOM_IO 128
     * }
     */
    public static int AVFMT_FLAG_CUSTOM_IO() {
        return AVFMT_FLAG_CUSTOM_IO;
    }
    private static final int AVFMT_FLAG_DISCARD_CORRUPT = (int)256L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_FLAG_DISCARD_CORRUPT 256
     * }
     */
    public static int AVFMT_FLAG_DISCARD_CORRUPT() {
        return AVFMT_FLAG_DISCARD_CORRUPT;
    }
    private static final int AVFMT_FLAG_FLUSH_PACKETS = (int)512L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_FLAG_FLUSH_PACKETS 512
     * }
     */
    public static int AVFMT_FLAG_FLUSH_PACKETS() {
        return AVFMT_FLAG_FLUSH_PACKETS;
    }
    private static final int AVFMT_FLAG_BITEXACT = (int)1024L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_FLAG_BITEXACT 1024
     * }
     */
    public static int AVFMT_FLAG_BITEXACT() {
        return AVFMT_FLAG_BITEXACT;
    }
    private static final int AVFMT_FLAG_SORT_DTS = (int)65536L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_FLAG_SORT_DTS 65536
     * }
     */
    public static int AVFMT_FLAG_SORT_DTS() {
        return AVFMT_FLAG_SORT_DTS;
    }
    private static final int AVFMT_FLAG_FAST_SEEK = (int)524288L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_FLAG_FAST_SEEK 524288
     * }
     */
    public static int AVFMT_FLAG_FAST_SEEK() {
        return AVFMT_FLAG_FAST_SEEK;
    }
    private static final int AVFMT_FLAG_SHORTEST = (int)1048576L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_FLAG_SHORTEST 1048576
     * }
     */
    public static int AVFMT_FLAG_SHORTEST() {
        return AVFMT_FLAG_SHORTEST;
    }
    private static final int AVFMT_FLAG_AUTO_BSF = (int)2097152L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_FLAG_AUTO_BSF 2097152
     * }
     */
    public static int AVFMT_FLAG_AUTO_BSF() {
        return AVFMT_FLAG_AUTO_BSF;
    }
    private static final int FF_FDEBUG_TS = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_FDEBUG_TS 1
     * }
     */
    public static int FF_FDEBUG_TS() {
        return FF_FDEBUG_TS;
    }
    private static final int AVFMT_EVENT_FLAG_METADATA_UPDATED = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_EVENT_FLAG_METADATA_UPDATED 1
     * }
     */
    public static int AVFMT_EVENT_FLAG_METADATA_UPDATED() {
        return AVFMT_EVENT_FLAG_METADATA_UPDATED;
    }
    private static final int AVFMT_AVOID_NEG_TS_DISABLED = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_AVOID_NEG_TS_DISABLED 0
     * }
     */
    public static int AVFMT_AVOID_NEG_TS_DISABLED() {
        return AVFMT_AVOID_NEG_TS_DISABLED;
    }
    private static final int AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE 1
     * }
     */
    public static int AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE() {
        return AVFMT_AVOID_NEG_TS_MAKE_NON_NEGATIVE;
    }
    private static final int AVFMT_AVOID_NEG_TS_MAKE_ZERO = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AVFMT_AVOID_NEG_TS_MAKE_ZERO 2
     * }
     */
    public static int AVFMT_AVOID_NEG_TS_MAKE_ZERO() {
        return AVFMT_AVOID_NEG_TS_MAKE_ZERO;
    }
    private static final int AVSEEK_FLAG_BACKWARD = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AVSEEK_FLAG_BACKWARD 1
     * }
     */
    public static int AVSEEK_FLAG_BACKWARD() {
        return AVSEEK_FLAG_BACKWARD;
    }
    private static final int AVSEEK_FLAG_BYTE = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AVSEEK_FLAG_BYTE 2
     * }
     */
    public static int AVSEEK_FLAG_BYTE() {
        return AVSEEK_FLAG_BYTE;
    }
    private static final int AVSEEK_FLAG_ANY = (int)4L;
    /**
     * {@snippet lang=c :
     * #define AVSEEK_FLAG_ANY 4
     * }
     */
    public static int AVSEEK_FLAG_ANY() {
        return AVSEEK_FLAG_ANY;
    }
    private static final int AVSEEK_FLAG_FRAME = (int)8L;
    /**
     * {@snippet lang=c :
     * #define AVSEEK_FLAG_FRAME 8
     * }
     */
    public static int AVSEEK_FLAG_FRAME() {
        return AVSEEK_FLAG_FRAME;
    }
    private static final int AVSTREAM_INIT_IN_WRITE_HEADER = (int)0L;
    /**
     * {@snippet lang=c :
     * #define AVSTREAM_INIT_IN_WRITE_HEADER 0
     * }
     */
    public static int AVSTREAM_INIT_IN_WRITE_HEADER() {
        return AVSTREAM_INIT_IN_WRITE_HEADER;
    }
    private static final int AVSTREAM_INIT_IN_INIT_OUTPUT = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AVSTREAM_INIT_IN_INIT_OUTPUT 1
     * }
     */
    public static int AVSTREAM_INIT_IN_INIT_OUTPUT() {
        return AVSTREAM_INIT_IN_INIT_OUTPUT;
    }
    private static final int AV_FRAME_FILENAME_FLAGS_MULTIPLE = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_FRAME_FILENAME_FLAGS_MULTIPLE 1
     * }
     */
    public static int AV_FRAME_FILENAME_FLAGS_MULTIPLE() {
        return AV_FRAME_FILENAME_FLAGS_MULTIPLE;
    }
    private static final int LIBAVFILTER_VERSION_MAJOR = (int)10L;
    /**
     * {@snippet lang=c :
     * #define LIBAVFILTER_VERSION_MAJOR 10
     * }
     */
    public static int LIBAVFILTER_VERSION_MAJOR() {
        return LIBAVFILTER_VERSION_MAJOR;
    }
    private static final int LIBAVFILTER_VERSION_MINOR = (int)1L;
    /**
     * {@snippet lang=c :
     * #define LIBAVFILTER_VERSION_MINOR 1
     * }
     */
    public static int LIBAVFILTER_VERSION_MINOR() {
        return LIBAVFILTER_VERSION_MINOR;
    }
    private static final int LIBAVFILTER_VERSION_MICRO = (int)100L;
    /**
     * {@snippet lang=c :
     * #define LIBAVFILTER_VERSION_MICRO 100
     * }
     */
    public static int LIBAVFILTER_VERSION_MICRO() {
        return LIBAVFILTER_VERSION_MICRO;
    }
    private static final int AVFILTER_CMD_FLAG_ONE = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AVFILTER_CMD_FLAG_ONE 1
     * }
     */
    public static int AVFILTER_CMD_FLAG_ONE() {
        return AVFILTER_CMD_FLAG_ONE;
    }
    private static final int AVFILTER_CMD_FLAG_FAST = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AVFILTER_CMD_FLAG_FAST 2
     * }
     */
    public static int AVFILTER_CMD_FLAG_FAST() {
        return AVFILTER_CMD_FLAG_FAST;
    }
    private static final int LIBAVCODEC_VERSION_MINOR = (int)3L;
    /**
     * {@snippet lang=c :
     * #define LIBAVCODEC_VERSION_MINOR 3
     * }
     */
    public static int LIBAVCODEC_VERSION_MINOR() {
        return LIBAVCODEC_VERSION_MINOR;
    }
    private static final int LIBAVCODEC_VERSION_MICRO = (int)100L;
    /**
     * {@snippet lang=c :
     * #define LIBAVCODEC_VERSION_MICRO 100
     * }
     */
    public static int LIBAVCODEC_VERSION_MICRO() {
        return LIBAVCODEC_VERSION_MICRO;
    }
    private static final int AV_INPUT_BUFFER_MIN_SIZE = (int)16384L;
    /**
     * {@snippet lang=c :
     * #define AV_INPUT_BUFFER_MIN_SIZE 16384
     * }
     */
    public static int AV_INPUT_BUFFER_MIN_SIZE() {
        return AV_INPUT_BUFFER_MIN_SIZE;
    }
    private static final int SLICE_FLAG_CODED_ORDER = (int)1L;
    /**
     * {@snippet lang=c :
     * #define SLICE_FLAG_CODED_ORDER 1
     * }
     */
    public static int SLICE_FLAG_CODED_ORDER() {
        return SLICE_FLAG_CODED_ORDER;
    }
    private static final int SLICE_FLAG_ALLOW_FIELD = (int)2L;
    /**
     * {@snippet lang=c :
     * #define SLICE_FLAG_ALLOW_FIELD 2
     * }
     */
    public static int SLICE_FLAG_ALLOW_FIELD() {
        return SLICE_FLAG_ALLOW_FIELD;
    }
    private static final int SLICE_FLAG_ALLOW_PLANE = (int)4L;
    /**
     * {@snippet lang=c :
     * #define SLICE_FLAG_ALLOW_PLANE 4
     * }
     */
    public static int SLICE_FLAG_ALLOW_PLANE() {
        return SLICE_FLAG_ALLOW_PLANE;
    }
    private static final int FF_CMP_SAD = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_SAD 0
     * }
     */
    public static int FF_CMP_SAD() {
        return FF_CMP_SAD;
    }
    private static final int FF_CMP_SSE = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_SSE 1
     * }
     */
    public static int FF_CMP_SSE() {
        return FF_CMP_SSE;
    }
    private static final int FF_CMP_SATD = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_SATD 2
     * }
     */
    public static int FF_CMP_SATD() {
        return FF_CMP_SATD;
    }
    private static final int FF_CMP_DCT = (int)3L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_DCT 3
     * }
     */
    public static int FF_CMP_DCT() {
        return FF_CMP_DCT;
    }
    private static final int FF_CMP_PSNR = (int)4L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_PSNR 4
     * }
     */
    public static int FF_CMP_PSNR() {
        return FF_CMP_PSNR;
    }
    private static final int FF_CMP_BIT = (int)5L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_BIT 5
     * }
     */
    public static int FF_CMP_BIT() {
        return FF_CMP_BIT;
    }
    private static final int FF_CMP_RD = (int)6L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_RD 6
     * }
     */
    public static int FF_CMP_RD() {
        return FF_CMP_RD;
    }
    private static final int FF_CMP_ZERO = (int)7L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_ZERO 7
     * }
     */
    public static int FF_CMP_ZERO() {
        return FF_CMP_ZERO;
    }
    private static final int FF_CMP_VSAD = (int)8L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_VSAD 8
     * }
     */
    public static int FF_CMP_VSAD() {
        return FF_CMP_VSAD;
    }
    private static final int FF_CMP_VSSE = (int)9L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_VSSE 9
     * }
     */
    public static int FF_CMP_VSSE() {
        return FF_CMP_VSSE;
    }
    private static final int FF_CMP_NSSE = (int)10L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_NSSE 10
     * }
     */
    public static int FF_CMP_NSSE() {
        return FF_CMP_NSSE;
    }
    private static final int FF_CMP_W53 = (int)11L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_W53 11
     * }
     */
    public static int FF_CMP_W53() {
        return FF_CMP_W53;
    }
    private static final int FF_CMP_W97 = (int)12L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_W97 12
     * }
     */
    public static int FF_CMP_W97() {
        return FF_CMP_W97;
    }
    private static final int FF_CMP_DCTMAX = (int)13L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_DCTMAX 13
     * }
     */
    public static int FF_CMP_DCTMAX() {
        return FF_CMP_DCTMAX;
    }
    private static final int FF_CMP_DCT264 = (int)14L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_DCT264 14
     * }
     */
    public static int FF_CMP_DCT264() {
        return FF_CMP_DCT264;
    }
    private static final int FF_CMP_MEDIAN_SAD = (int)15L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_MEDIAN_SAD 15
     * }
     */
    public static int FF_CMP_MEDIAN_SAD() {
        return FF_CMP_MEDIAN_SAD;
    }
    private static final int FF_CMP_CHROMA = (int)256L;
    /**
     * {@snippet lang=c :
     * #define FF_CMP_CHROMA 256
     * }
     */
    public static int FF_CMP_CHROMA() {
        return FF_CMP_CHROMA;
    }
    private static final int FF_MB_DECISION_SIMPLE = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_MB_DECISION_SIMPLE 0
     * }
     */
    public static int FF_MB_DECISION_SIMPLE() {
        return FF_MB_DECISION_SIMPLE;
    }
    private static final int FF_MB_DECISION_BITS = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_MB_DECISION_BITS 1
     * }
     */
    public static int FF_MB_DECISION_BITS() {
        return FF_MB_DECISION_BITS;
    }
    private static final int FF_MB_DECISION_RD = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_MB_DECISION_RD 2
     * }
     */
    public static int FF_MB_DECISION_RD() {
        return FF_MB_DECISION_RD;
    }
    private static final int FF_BUG_AUTODETECT = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_BUG_AUTODETECT 1
     * }
     */
    public static int FF_BUG_AUTODETECT() {
        return FF_BUG_AUTODETECT;
    }
    private static final int FF_BUG_XVID_ILACE = (int)4L;
    /**
     * {@snippet lang=c :
     * #define FF_BUG_XVID_ILACE 4
     * }
     */
    public static int FF_BUG_XVID_ILACE() {
        return FF_BUG_XVID_ILACE;
    }
    private static final int FF_BUG_UMP4 = (int)8L;
    /**
     * {@snippet lang=c :
     * #define FF_BUG_UMP4 8
     * }
     */
    public static int FF_BUG_UMP4() {
        return FF_BUG_UMP4;
    }
    private static final int FF_BUG_NO_PADDING = (int)16L;
    /**
     * {@snippet lang=c :
     * #define FF_BUG_NO_PADDING 16
     * }
     */
    public static int FF_BUG_NO_PADDING() {
        return FF_BUG_NO_PADDING;
    }
    private static final int FF_BUG_AMV = (int)32L;
    /**
     * {@snippet lang=c :
     * #define FF_BUG_AMV 32
     * }
     */
    public static int FF_BUG_AMV() {
        return FF_BUG_AMV;
    }
    private static final int FF_BUG_QPEL_CHROMA = (int)64L;
    /**
     * {@snippet lang=c :
     * #define FF_BUG_QPEL_CHROMA 64
     * }
     */
    public static int FF_BUG_QPEL_CHROMA() {
        return FF_BUG_QPEL_CHROMA;
    }
    private static final int FF_BUG_STD_QPEL = (int)128L;
    /**
     * {@snippet lang=c :
     * #define FF_BUG_STD_QPEL 128
     * }
     */
    public static int FF_BUG_STD_QPEL() {
        return FF_BUG_STD_QPEL;
    }
    private static final int FF_BUG_QPEL_CHROMA2 = (int)256L;
    /**
     * {@snippet lang=c :
     * #define FF_BUG_QPEL_CHROMA2 256
     * }
     */
    public static int FF_BUG_QPEL_CHROMA2() {
        return FF_BUG_QPEL_CHROMA2;
    }
    private static final int FF_BUG_DIRECT_BLOCKSIZE = (int)512L;
    /**
     * {@snippet lang=c :
     * #define FF_BUG_DIRECT_BLOCKSIZE 512
     * }
     */
    public static int FF_BUG_DIRECT_BLOCKSIZE() {
        return FF_BUG_DIRECT_BLOCKSIZE;
    }
    private static final int FF_BUG_EDGE = (int)1024L;
    /**
     * {@snippet lang=c :
     * #define FF_BUG_EDGE 1024
     * }
     */
    public static int FF_BUG_EDGE() {
        return FF_BUG_EDGE;
    }
    private static final int FF_BUG_HPEL_CHROMA = (int)2048L;
    /**
     * {@snippet lang=c :
     * #define FF_BUG_HPEL_CHROMA 2048
     * }
     */
    public static int FF_BUG_HPEL_CHROMA() {
        return FF_BUG_HPEL_CHROMA;
    }
    private static final int FF_BUG_DC_CLIP = (int)4096L;
    /**
     * {@snippet lang=c :
     * #define FF_BUG_DC_CLIP 4096
     * }
     */
    public static int FF_BUG_DC_CLIP() {
        return FF_BUG_DC_CLIP;
    }
    private static final int FF_BUG_MS = (int)8192L;
    /**
     * {@snippet lang=c :
     * #define FF_BUG_MS 8192
     * }
     */
    public static int FF_BUG_MS() {
        return FF_BUG_MS;
    }
    private static final int FF_BUG_TRUNCATED = (int)16384L;
    /**
     * {@snippet lang=c :
     * #define FF_BUG_TRUNCATED 16384
     * }
     */
    public static int FF_BUG_TRUNCATED() {
        return FF_BUG_TRUNCATED;
    }
    private static final int FF_BUG_IEDGE = (int)32768L;
    /**
     * {@snippet lang=c :
     * #define FF_BUG_IEDGE 32768
     * }
     */
    public static int FF_BUG_IEDGE() {
        return FF_BUG_IEDGE;
    }
    private static final int FF_EC_GUESS_MVS = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_EC_GUESS_MVS 1
     * }
     */
    public static int FF_EC_GUESS_MVS() {
        return FF_EC_GUESS_MVS;
    }
    private static final int FF_EC_DEBLOCK = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_EC_DEBLOCK 2
     * }
     */
    public static int FF_EC_DEBLOCK() {
        return FF_EC_DEBLOCK;
    }
    private static final int FF_EC_FAVOR_INTER = (int)256L;
    /**
     * {@snippet lang=c :
     * #define FF_EC_FAVOR_INTER 256
     * }
     */
    public static int FF_EC_FAVOR_INTER() {
        return FF_EC_FAVOR_INTER;
    }
    private static final int FF_DEBUG_PICT_INFO = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_DEBUG_PICT_INFO 1
     * }
     */
    public static int FF_DEBUG_PICT_INFO() {
        return FF_DEBUG_PICT_INFO;
    }
    private static final int FF_DEBUG_RC = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_DEBUG_RC 2
     * }
     */
    public static int FF_DEBUG_RC() {
        return FF_DEBUG_RC;
    }
    private static final int FF_DEBUG_BITSTREAM = (int)4L;
    /**
     * {@snippet lang=c :
     * #define FF_DEBUG_BITSTREAM 4
     * }
     */
    public static int FF_DEBUG_BITSTREAM() {
        return FF_DEBUG_BITSTREAM;
    }
    private static final int FF_DEBUG_MB_TYPE = (int)8L;
    /**
     * {@snippet lang=c :
     * #define FF_DEBUG_MB_TYPE 8
     * }
     */
    public static int FF_DEBUG_MB_TYPE() {
        return FF_DEBUG_MB_TYPE;
    }
    private static final int FF_DEBUG_QP = (int)16L;
    /**
     * {@snippet lang=c :
     * #define FF_DEBUG_QP 16
     * }
     */
    public static int FF_DEBUG_QP() {
        return FF_DEBUG_QP;
    }
    private static final int FF_DEBUG_DCT_COEFF = (int)64L;
    /**
     * {@snippet lang=c :
     * #define FF_DEBUG_DCT_COEFF 64
     * }
     */
    public static int FF_DEBUG_DCT_COEFF() {
        return FF_DEBUG_DCT_COEFF;
    }
    private static final int FF_DEBUG_SKIP = (int)128L;
    /**
     * {@snippet lang=c :
     * #define FF_DEBUG_SKIP 128
     * }
     */
    public static int FF_DEBUG_SKIP() {
        return FF_DEBUG_SKIP;
    }
    private static final int FF_DEBUG_STARTCODE = (int)256L;
    /**
     * {@snippet lang=c :
     * #define FF_DEBUG_STARTCODE 256
     * }
     */
    public static int FF_DEBUG_STARTCODE() {
        return FF_DEBUG_STARTCODE;
    }
    private static final int FF_DEBUG_ER = (int)1024L;
    /**
     * {@snippet lang=c :
     * #define FF_DEBUG_ER 1024
     * }
     */
    public static int FF_DEBUG_ER() {
        return FF_DEBUG_ER;
    }
    private static final int FF_DEBUG_MMCO = (int)2048L;
    /**
     * {@snippet lang=c :
     * #define FF_DEBUG_MMCO 2048
     * }
     */
    public static int FF_DEBUG_MMCO() {
        return FF_DEBUG_MMCO;
    }
    private static final int FF_DEBUG_BUGS = (int)4096L;
    /**
     * {@snippet lang=c :
     * #define FF_DEBUG_BUGS 4096
     * }
     */
    public static int FF_DEBUG_BUGS() {
        return FF_DEBUG_BUGS;
    }
    private static final int FF_DEBUG_BUFFERS = (int)32768L;
    /**
     * {@snippet lang=c :
     * #define FF_DEBUG_BUFFERS 32768
     * }
     */
    public static int FF_DEBUG_BUFFERS() {
        return FF_DEBUG_BUFFERS;
    }
    private static final int FF_DEBUG_THREADS = (int)65536L;
    /**
     * {@snippet lang=c :
     * #define FF_DEBUG_THREADS 65536
     * }
     */
    public static int FF_DEBUG_THREADS() {
        return FF_DEBUG_THREADS;
    }
    private static final int FF_DEBUG_GREEN_MD = (int)8388608L;
    /**
     * {@snippet lang=c :
     * #define FF_DEBUG_GREEN_MD 8388608
     * }
     */
    public static int FF_DEBUG_GREEN_MD() {
        return FF_DEBUG_GREEN_MD;
    }
    private static final int FF_DEBUG_NOMC = (int)16777216L;
    /**
     * {@snippet lang=c :
     * #define FF_DEBUG_NOMC 16777216
     * }
     */
    public static int FF_DEBUG_NOMC() {
        return FF_DEBUG_NOMC;
    }
    private static final int FF_DCT_AUTO = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_DCT_AUTO 0
     * }
     */
    public static int FF_DCT_AUTO() {
        return FF_DCT_AUTO;
    }
    private static final int FF_DCT_FASTINT = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_DCT_FASTINT 1
     * }
     */
    public static int FF_DCT_FASTINT() {
        return FF_DCT_FASTINT;
    }
    private static final int FF_DCT_INT = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_DCT_INT 2
     * }
     */
    public static int FF_DCT_INT() {
        return FF_DCT_INT;
    }
    private static final int FF_DCT_MMX = (int)3L;
    /**
     * {@snippet lang=c :
     * #define FF_DCT_MMX 3
     * }
     */
    public static int FF_DCT_MMX() {
        return FF_DCT_MMX;
    }
    private static final int FF_DCT_ALTIVEC = (int)5L;
    /**
     * {@snippet lang=c :
     * #define FF_DCT_ALTIVEC 5
     * }
     */
    public static int FF_DCT_ALTIVEC() {
        return FF_DCT_ALTIVEC;
    }
    private static final int FF_DCT_FAAN = (int)6L;
    /**
     * {@snippet lang=c :
     * #define FF_DCT_FAAN 6
     * }
     */
    public static int FF_DCT_FAAN() {
        return FF_DCT_FAAN;
    }
    private static final int FF_IDCT_AUTO = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_IDCT_AUTO 0
     * }
     */
    public static int FF_IDCT_AUTO() {
        return FF_IDCT_AUTO;
    }
    private static final int FF_IDCT_INT = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_IDCT_INT 1
     * }
     */
    public static int FF_IDCT_INT() {
        return FF_IDCT_INT;
    }
    private static final int FF_IDCT_SIMPLE = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_IDCT_SIMPLE 2
     * }
     */
    public static int FF_IDCT_SIMPLE() {
        return FF_IDCT_SIMPLE;
    }
    private static final int FF_IDCT_SIMPLEMMX = (int)3L;
    /**
     * {@snippet lang=c :
     * #define FF_IDCT_SIMPLEMMX 3
     * }
     */
    public static int FF_IDCT_SIMPLEMMX() {
        return FF_IDCT_SIMPLEMMX;
    }
    private static final int FF_IDCT_ARM = (int)7L;
    /**
     * {@snippet lang=c :
     * #define FF_IDCT_ARM 7
     * }
     */
    public static int FF_IDCT_ARM() {
        return FF_IDCT_ARM;
    }
    private static final int FF_IDCT_ALTIVEC = (int)8L;
    /**
     * {@snippet lang=c :
     * #define FF_IDCT_ALTIVEC 8
     * }
     */
    public static int FF_IDCT_ALTIVEC() {
        return FF_IDCT_ALTIVEC;
    }
    private static final int FF_IDCT_SIMPLEARM = (int)10L;
    /**
     * {@snippet lang=c :
     * #define FF_IDCT_SIMPLEARM 10
     * }
     */
    public static int FF_IDCT_SIMPLEARM() {
        return FF_IDCT_SIMPLEARM;
    }
    private static final int FF_IDCT_XVID = (int)14L;
    /**
     * {@snippet lang=c :
     * #define FF_IDCT_XVID 14
     * }
     */
    public static int FF_IDCT_XVID() {
        return FF_IDCT_XVID;
    }
    private static final int FF_IDCT_SIMPLEARMV5TE = (int)16L;
    /**
     * {@snippet lang=c :
     * #define FF_IDCT_SIMPLEARMV5TE 16
     * }
     */
    public static int FF_IDCT_SIMPLEARMV5TE() {
        return FF_IDCT_SIMPLEARMV5TE;
    }
    private static final int FF_IDCT_SIMPLEARMV6 = (int)17L;
    /**
     * {@snippet lang=c :
     * #define FF_IDCT_SIMPLEARMV6 17
     * }
     */
    public static int FF_IDCT_SIMPLEARMV6() {
        return FF_IDCT_SIMPLEARMV6;
    }
    private static final int FF_IDCT_FAAN = (int)20L;
    /**
     * {@snippet lang=c :
     * #define FF_IDCT_FAAN 20
     * }
     */
    public static int FF_IDCT_FAAN() {
        return FF_IDCT_FAAN;
    }
    private static final int FF_IDCT_SIMPLENEON = (int)22L;
    /**
     * {@snippet lang=c :
     * #define FF_IDCT_SIMPLENEON 22
     * }
     */
    public static int FF_IDCT_SIMPLENEON() {
        return FF_IDCT_SIMPLENEON;
    }
    private static final int FF_IDCT_SIMPLEAUTO = (int)128L;
    /**
     * {@snippet lang=c :
     * #define FF_IDCT_SIMPLEAUTO 128
     * }
     */
    public static int FF_IDCT_SIMPLEAUTO() {
        return FF_IDCT_SIMPLEAUTO;
    }
    private static final int FF_THREAD_FRAME = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_THREAD_FRAME 1
     * }
     */
    public static int FF_THREAD_FRAME() {
        return FF_THREAD_FRAME;
    }
    private static final int FF_THREAD_SLICE = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_THREAD_SLICE 2
     * }
     */
    public static int FF_THREAD_SLICE() {
        return FF_THREAD_SLICE;
    }
    private static final int FF_PROFILE_AAC_MAIN = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_AAC_MAIN 0
     * }
     */
    public static int FF_PROFILE_AAC_MAIN() {
        return FF_PROFILE_AAC_MAIN;
    }
    private static final int FF_PROFILE_AAC_LOW = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_AAC_LOW 1
     * }
     */
    public static int FF_PROFILE_AAC_LOW() {
        return FF_PROFILE_AAC_LOW;
    }
    private static final int FF_PROFILE_AAC_SSR = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_AAC_SSR 2
     * }
     */
    public static int FF_PROFILE_AAC_SSR() {
        return FF_PROFILE_AAC_SSR;
    }
    private static final int FF_PROFILE_AAC_LTP = (int)3L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_AAC_LTP 3
     * }
     */
    public static int FF_PROFILE_AAC_LTP() {
        return FF_PROFILE_AAC_LTP;
    }
    private static final int FF_PROFILE_AAC_HE = (int)4L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_AAC_HE 4
     * }
     */
    public static int FF_PROFILE_AAC_HE() {
        return FF_PROFILE_AAC_HE;
    }
    private static final int FF_PROFILE_AAC_HE_V2 = (int)28L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_AAC_HE_V2 28
     * }
     */
    public static int FF_PROFILE_AAC_HE_V2() {
        return FF_PROFILE_AAC_HE_V2;
    }
    private static final int FF_PROFILE_AAC_LD = (int)22L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_AAC_LD 22
     * }
     */
    public static int FF_PROFILE_AAC_LD() {
        return FF_PROFILE_AAC_LD;
    }
    private static final int FF_PROFILE_AAC_ELD = (int)38L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_AAC_ELD 38
     * }
     */
    public static int FF_PROFILE_AAC_ELD() {
        return FF_PROFILE_AAC_ELD;
    }
    private static final int FF_PROFILE_MPEG2_AAC_LOW = (int)128L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG2_AAC_LOW 128
     * }
     */
    public static int FF_PROFILE_MPEG2_AAC_LOW() {
        return FF_PROFILE_MPEG2_AAC_LOW;
    }
    private static final int FF_PROFILE_MPEG2_AAC_HE = (int)131L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG2_AAC_HE 131
     * }
     */
    public static int FF_PROFILE_MPEG2_AAC_HE() {
        return FF_PROFILE_MPEG2_AAC_HE;
    }
    private static final int FF_PROFILE_DNXHD = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_DNXHD 0
     * }
     */
    public static int FF_PROFILE_DNXHD() {
        return FF_PROFILE_DNXHD;
    }
    private static final int FF_PROFILE_DNXHR_LB = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_DNXHR_LB 1
     * }
     */
    public static int FF_PROFILE_DNXHR_LB() {
        return FF_PROFILE_DNXHR_LB;
    }
    private static final int FF_PROFILE_DNXHR_SQ = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_DNXHR_SQ 2
     * }
     */
    public static int FF_PROFILE_DNXHR_SQ() {
        return FF_PROFILE_DNXHR_SQ;
    }
    private static final int FF_PROFILE_DNXHR_HQ = (int)3L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_DNXHR_HQ 3
     * }
     */
    public static int FF_PROFILE_DNXHR_HQ() {
        return FF_PROFILE_DNXHR_HQ;
    }
    private static final int FF_PROFILE_DNXHR_HQX = (int)4L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_DNXHR_HQX 4
     * }
     */
    public static int FF_PROFILE_DNXHR_HQX() {
        return FF_PROFILE_DNXHR_HQX;
    }
    private static final int FF_PROFILE_DNXHR_444 = (int)5L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_DNXHR_444 5
     * }
     */
    public static int FF_PROFILE_DNXHR_444() {
        return FF_PROFILE_DNXHR_444;
    }
    private static final int FF_PROFILE_DTS = (int)20L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_DTS 20
     * }
     */
    public static int FF_PROFILE_DTS() {
        return FF_PROFILE_DTS;
    }
    private static final int FF_PROFILE_DTS_ES = (int)30L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_DTS_ES 30
     * }
     */
    public static int FF_PROFILE_DTS_ES() {
        return FF_PROFILE_DTS_ES;
    }
    private static final int FF_PROFILE_DTS_96_24 = (int)40L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_DTS_96_24 40
     * }
     */
    public static int FF_PROFILE_DTS_96_24() {
        return FF_PROFILE_DTS_96_24;
    }
    private static final int FF_PROFILE_DTS_HD_HRA = (int)50L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_DTS_HD_HRA 50
     * }
     */
    public static int FF_PROFILE_DTS_HD_HRA() {
        return FF_PROFILE_DTS_HD_HRA;
    }
    private static final int FF_PROFILE_DTS_HD_MA = (int)60L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_DTS_HD_MA 60
     * }
     */
    public static int FF_PROFILE_DTS_HD_MA() {
        return FF_PROFILE_DTS_HD_MA;
    }
    private static final int FF_PROFILE_DTS_EXPRESS = (int)70L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_DTS_EXPRESS 70
     * }
     */
    public static int FF_PROFILE_DTS_EXPRESS() {
        return FF_PROFILE_DTS_EXPRESS;
    }
    private static final int FF_PROFILE_DTS_HD_MA_X = (int)61L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_DTS_HD_MA_X 61
     * }
     */
    public static int FF_PROFILE_DTS_HD_MA_X() {
        return FF_PROFILE_DTS_HD_MA_X;
    }
    private static final int FF_PROFILE_DTS_HD_MA_X_IMAX = (int)62L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_DTS_HD_MA_X_IMAX 62
     * }
     */
    public static int FF_PROFILE_DTS_HD_MA_X_IMAX() {
        return FF_PROFILE_DTS_HD_MA_X_IMAX;
    }
    private static final int FF_PROFILE_EAC3_DDP_ATMOS = (int)30L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_EAC3_DDP_ATMOS 30
     * }
     */
    public static int FF_PROFILE_EAC3_DDP_ATMOS() {
        return FF_PROFILE_EAC3_DDP_ATMOS;
    }
    private static final int FF_PROFILE_TRUEHD_ATMOS = (int)30L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_TRUEHD_ATMOS 30
     * }
     */
    public static int FF_PROFILE_TRUEHD_ATMOS() {
        return FF_PROFILE_TRUEHD_ATMOS;
    }
    private static final int FF_PROFILE_MPEG2_422 = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG2_422 0
     * }
     */
    public static int FF_PROFILE_MPEG2_422() {
        return FF_PROFILE_MPEG2_422;
    }
    private static final int FF_PROFILE_MPEG2_HIGH = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG2_HIGH 1
     * }
     */
    public static int FF_PROFILE_MPEG2_HIGH() {
        return FF_PROFILE_MPEG2_HIGH;
    }
    private static final int FF_PROFILE_MPEG2_SS = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG2_SS 2
     * }
     */
    public static int FF_PROFILE_MPEG2_SS() {
        return FF_PROFILE_MPEG2_SS;
    }
    private static final int FF_PROFILE_MPEG2_SNR_SCALABLE = (int)3L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG2_SNR_SCALABLE 3
     * }
     */
    public static int FF_PROFILE_MPEG2_SNR_SCALABLE() {
        return FF_PROFILE_MPEG2_SNR_SCALABLE;
    }
    private static final int FF_PROFILE_MPEG2_MAIN = (int)4L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG2_MAIN 4
     * }
     */
    public static int FF_PROFILE_MPEG2_MAIN() {
        return FF_PROFILE_MPEG2_MAIN;
    }
    private static final int FF_PROFILE_MPEG2_SIMPLE = (int)5L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG2_SIMPLE 5
     * }
     */
    public static int FF_PROFILE_MPEG2_SIMPLE() {
        return FF_PROFILE_MPEG2_SIMPLE;
    }
    private static final int FF_PROFILE_H264_BASELINE = (int)66L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_H264_BASELINE 66
     * }
     */
    public static int FF_PROFILE_H264_BASELINE() {
        return FF_PROFILE_H264_BASELINE;
    }
    private static final int FF_PROFILE_H264_MAIN = (int)77L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_H264_MAIN 77
     * }
     */
    public static int FF_PROFILE_H264_MAIN() {
        return FF_PROFILE_H264_MAIN;
    }
    private static final int FF_PROFILE_H264_EXTENDED = (int)88L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_H264_EXTENDED 88
     * }
     */
    public static int FF_PROFILE_H264_EXTENDED() {
        return FF_PROFILE_H264_EXTENDED;
    }
    private static final int FF_PROFILE_H264_HIGH = (int)100L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_H264_HIGH 100
     * }
     */
    public static int FF_PROFILE_H264_HIGH() {
        return FF_PROFILE_H264_HIGH;
    }
    private static final int FF_PROFILE_H264_HIGH_10 = (int)110L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_H264_HIGH_10 110
     * }
     */
    public static int FF_PROFILE_H264_HIGH_10() {
        return FF_PROFILE_H264_HIGH_10;
    }
    private static final int FF_PROFILE_H264_MULTIVIEW_HIGH = (int)118L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_H264_MULTIVIEW_HIGH 118
     * }
     */
    public static int FF_PROFILE_H264_MULTIVIEW_HIGH() {
        return FF_PROFILE_H264_MULTIVIEW_HIGH;
    }
    private static final int FF_PROFILE_H264_HIGH_422 = (int)122L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_H264_HIGH_422 122
     * }
     */
    public static int FF_PROFILE_H264_HIGH_422() {
        return FF_PROFILE_H264_HIGH_422;
    }
    private static final int FF_PROFILE_H264_STEREO_HIGH = (int)128L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_H264_STEREO_HIGH 128
     * }
     */
    public static int FF_PROFILE_H264_STEREO_HIGH() {
        return FF_PROFILE_H264_STEREO_HIGH;
    }
    private static final int FF_PROFILE_H264_HIGH_444 = (int)144L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_H264_HIGH_444 144
     * }
     */
    public static int FF_PROFILE_H264_HIGH_444() {
        return FF_PROFILE_H264_HIGH_444;
    }
    private static final int FF_PROFILE_H264_HIGH_444_PREDICTIVE = (int)244L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_H264_HIGH_444_PREDICTIVE 244
     * }
     */
    public static int FF_PROFILE_H264_HIGH_444_PREDICTIVE() {
        return FF_PROFILE_H264_HIGH_444_PREDICTIVE;
    }
    private static final int FF_PROFILE_H264_CAVLC_444 = (int)44L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_H264_CAVLC_444 44
     * }
     */
    public static int FF_PROFILE_H264_CAVLC_444() {
        return FF_PROFILE_H264_CAVLC_444;
    }
    private static final int FF_PROFILE_VC1_SIMPLE = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_VC1_SIMPLE 0
     * }
     */
    public static int FF_PROFILE_VC1_SIMPLE() {
        return FF_PROFILE_VC1_SIMPLE;
    }
    private static final int FF_PROFILE_VC1_MAIN = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_VC1_MAIN 1
     * }
     */
    public static int FF_PROFILE_VC1_MAIN() {
        return FF_PROFILE_VC1_MAIN;
    }
    private static final int FF_PROFILE_VC1_COMPLEX = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_VC1_COMPLEX 2
     * }
     */
    public static int FF_PROFILE_VC1_COMPLEX() {
        return FF_PROFILE_VC1_COMPLEX;
    }
    private static final int FF_PROFILE_VC1_ADVANCED = (int)3L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_VC1_ADVANCED 3
     * }
     */
    public static int FF_PROFILE_VC1_ADVANCED() {
        return FF_PROFILE_VC1_ADVANCED;
    }
    private static final int FF_PROFILE_MPEG4_SIMPLE = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_SIMPLE 0
     * }
     */
    public static int FF_PROFILE_MPEG4_SIMPLE() {
        return FF_PROFILE_MPEG4_SIMPLE;
    }
    private static final int FF_PROFILE_MPEG4_SIMPLE_SCALABLE = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_SIMPLE_SCALABLE 1
     * }
     */
    public static int FF_PROFILE_MPEG4_SIMPLE_SCALABLE() {
        return FF_PROFILE_MPEG4_SIMPLE_SCALABLE;
    }
    private static final int FF_PROFILE_MPEG4_CORE = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_CORE 2
     * }
     */
    public static int FF_PROFILE_MPEG4_CORE() {
        return FF_PROFILE_MPEG4_CORE;
    }
    private static final int FF_PROFILE_MPEG4_MAIN = (int)3L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_MAIN 3
     * }
     */
    public static int FF_PROFILE_MPEG4_MAIN() {
        return FF_PROFILE_MPEG4_MAIN;
    }
    private static final int FF_PROFILE_MPEG4_N_BIT = (int)4L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_N_BIT 4
     * }
     */
    public static int FF_PROFILE_MPEG4_N_BIT() {
        return FF_PROFILE_MPEG4_N_BIT;
    }
    private static final int FF_PROFILE_MPEG4_SCALABLE_TEXTURE = (int)5L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_SCALABLE_TEXTURE 5
     * }
     */
    public static int FF_PROFILE_MPEG4_SCALABLE_TEXTURE() {
        return FF_PROFILE_MPEG4_SCALABLE_TEXTURE;
    }
    private static final int FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION = (int)6L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION 6
     * }
     */
    public static int FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION() {
        return FF_PROFILE_MPEG4_SIMPLE_FACE_ANIMATION;
    }
    private static final int FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE = (int)7L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE 7
     * }
     */
    public static int FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE() {
        return FF_PROFILE_MPEG4_BASIC_ANIMATED_TEXTURE;
    }
    private static final int FF_PROFILE_MPEG4_HYBRID = (int)8L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_HYBRID 8
     * }
     */
    public static int FF_PROFILE_MPEG4_HYBRID() {
        return FF_PROFILE_MPEG4_HYBRID;
    }
    private static final int FF_PROFILE_MPEG4_ADVANCED_REAL_TIME = (int)9L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_ADVANCED_REAL_TIME 9
     * }
     */
    public static int FF_PROFILE_MPEG4_ADVANCED_REAL_TIME() {
        return FF_PROFILE_MPEG4_ADVANCED_REAL_TIME;
    }
    private static final int FF_PROFILE_MPEG4_CORE_SCALABLE = (int)10L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_CORE_SCALABLE 10
     * }
     */
    public static int FF_PROFILE_MPEG4_CORE_SCALABLE() {
        return FF_PROFILE_MPEG4_CORE_SCALABLE;
    }
    private static final int FF_PROFILE_MPEG4_ADVANCED_CODING = (int)11L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_ADVANCED_CODING 11
     * }
     */
    public static int FF_PROFILE_MPEG4_ADVANCED_CODING() {
        return FF_PROFILE_MPEG4_ADVANCED_CODING;
    }
    private static final int FF_PROFILE_MPEG4_ADVANCED_CORE = (int)12L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_ADVANCED_CORE 12
     * }
     */
    public static int FF_PROFILE_MPEG4_ADVANCED_CORE() {
        return FF_PROFILE_MPEG4_ADVANCED_CORE;
    }
    private static final int FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE = (int)13L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE 13
     * }
     */
    public static int FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE() {
        return FF_PROFILE_MPEG4_ADVANCED_SCALABLE_TEXTURE;
    }
    private static final int FF_PROFILE_MPEG4_SIMPLE_STUDIO = (int)14L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_SIMPLE_STUDIO 14
     * }
     */
    public static int FF_PROFILE_MPEG4_SIMPLE_STUDIO() {
        return FF_PROFILE_MPEG4_SIMPLE_STUDIO;
    }
    private static final int FF_PROFILE_MPEG4_ADVANCED_SIMPLE = (int)15L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MPEG4_ADVANCED_SIMPLE 15
     * }
     */
    public static int FF_PROFILE_MPEG4_ADVANCED_SIMPLE() {
        return FF_PROFILE_MPEG4_ADVANCED_SIMPLE;
    }
    private static final int FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0 = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0 1
     * }
     */
    public static int FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0() {
        return FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_0;
    }
    private static final int FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1 = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1 2
     * }
     */
    public static int FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1() {
        return FF_PROFILE_JPEG2000_CSTREAM_RESTRICTION_1;
    }
    private static final int FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION = (int)32768L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION 32768
     * }
     */
    public static int FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION() {
        return FF_PROFILE_JPEG2000_CSTREAM_NO_RESTRICTION;
    }
    private static final int FF_PROFILE_JPEG2000_DCINEMA_2K = (int)3L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_JPEG2000_DCINEMA_2K 3
     * }
     */
    public static int FF_PROFILE_JPEG2000_DCINEMA_2K() {
        return FF_PROFILE_JPEG2000_DCINEMA_2K;
    }
    private static final int FF_PROFILE_JPEG2000_DCINEMA_4K = (int)4L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_JPEG2000_DCINEMA_4K 4
     * }
     */
    public static int FF_PROFILE_JPEG2000_DCINEMA_4K() {
        return FF_PROFILE_JPEG2000_DCINEMA_4K;
    }
    private static final int FF_PROFILE_VP9_0 = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_VP9_0 0
     * }
     */
    public static int FF_PROFILE_VP9_0() {
        return FF_PROFILE_VP9_0;
    }
    private static final int FF_PROFILE_VP9_1 = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_VP9_1 1
     * }
     */
    public static int FF_PROFILE_VP9_1() {
        return FF_PROFILE_VP9_1;
    }
    private static final int FF_PROFILE_VP9_2 = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_VP9_2 2
     * }
     */
    public static int FF_PROFILE_VP9_2() {
        return FF_PROFILE_VP9_2;
    }
    private static final int FF_PROFILE_VP9_3 = (int)3L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_VP9_3 3
     * }
     */
    public static int FF_PROFILE_VP9_3() {
        return FF_PROFILE_VP9_3;
    }
    private static final int FF_PROFILE_HEVC_MAIN = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_HEVC_MAIN 1
     * }
     */
    public static int FF_PROFILE_HEVC_MAIN() {
        return FF_PROFILE_HEVC_MAIN;
    }
    private static final int FF_PROFILE_HEVC_MAIN_10 = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_HEVC_MAIN_10 2
     * }
     */
    public static int FF_PROFILE_HEVC_MAIN_10() {
        return FF_PROFILE_HEVC_MAIN_10;
    }
    private static final int FF_PROFILE_HEVC_MAIN_STILL_PICTURE = (int)3L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_HEVC_MAIN_STILL_PICTURE 3
     * }
     */
    public static int FF_PROFILE_HEVC_MAIN_STILL_PICTURE() {
        return FF_PROFILE_HEVC_MAIN_STILL_PICTURE;
    }
    private static final int FF_PROFILE_HEVC_REXT = (int)4L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_HEVC_REXT 4
     * }
     */
    public static int FF_PROFILE_HEVC_REXT() {
        return FF_PROFILE_HEVC_REXT;
    }
    private static final int FF_PROFILE_HEVC_SCC = (int)9L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_HEVC_SCC 9
     * }
     */
    public static int FF_PROFILE_HEVC_SCC() {
        return FF_PROFILE_HEVC_SCC;
    }
    private static final int FF_PROFILE_VVC_MAIN_10 = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_VVC_MAIN_10 1
     * }
     */
    public static int FF_PROFILE_VVC_MAIN_10() {
        return FF_PROFILE_VVC_MAIN_10;
    }
    private static final int FF_PROFILE_VVC_MAIN_10_444 = (int)33L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_VVC_MAIN_10_444 33
     * }
     */
    public static int FF_PROFILE_VVC_MAIN_10_444() {
        return FF_PROFILE_VVC_MAIN_10_444;
    }
    private static final int FF_PROFILE_AV1_MAIN = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_AV1_MAIN 0
     * }
     */
    public static int FF_PROFILE_AV1_MAIN() {
        return FF_PROFILE_AV1_MAIN;
    }
    private static final int FF_PROFILE_AV1_HIGH = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_AV1_HIGH 1
     * }
     */
    public static int FF_PROFILE_AV1_HIGH() {
        return FF_PROFILE_AV1_HIGH;
    }
    private static final int FF_PROFILE_AV1_PROFESSIONAL = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_AV1_PROFESSIONAL 2
     * }
     */
    public static int FF_PROFILE_AV1_PROFESSIONAL() {
        return FF_PROFILE_AV1_PROFESSIONAL;
    }
    private static final int FF_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT = (int)192L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT 192
     * }
     */
    public static int FF_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT() {
        return FF_PROFILE_MJPEG_HUFFMAN_BASELINE_DCT;
    }
    private static final int FF_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT = (int)193L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT 193
     * }
     */
    public static int FF_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT() {
        return FF_PROFILE_MJPEG_HUFFMAN_EXTENDED_SEQUENTIAL_DCT;
    }
    private static final int FF_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT = (int)194L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT 194
     * }
     */
    public static int FF_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT() {
        return FF_PROFILE_MJPEG_HUFFMAN_PROGRESSIVE_DCT;
    }
    private static final int FF_PROFILE_MJPEG_HUFFMAN_LOSSLESS = (int)195L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MJPEG_HUFFMAN_LOSSLESS 195
     * }
     */
    public static int FF_PROFILE_MJPEG_HUFFMAN_LOSSLESS() {
        return FF_PROFILE_MJPEG_HUFFMAN_LOSSLESS;
    }
    private static final int FF_PROFILE_MJPEG_JPEG_LS = (int)247L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_MJPEG_JPEG_LS 247
     * }
     */
    public static int FF_PROFILE_MJPEG_JPEG_LS() {
        return FF_PROFILE_MJPEG_JPEG_LS;
    }
    private static final int FF_PROFILE_SBC_MSBC = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_SBC_MSBC 1
     * }
     */
    public static int FF_PROFILE_SBC_MSBC() {
        return FF_PROFILE_SBC_MSBC;
    }
    private static final int FF_PROFILE_PRORES_PROXY = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_PRORES_PROXY 0
     * }
     */
    public static int FF_PROFILE_PRORES_PROXY() {
        return FF_PROFILE_PRORES_PROXY;
    }
    private static final int FF_PROFILE_PRORES_LT = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_PRORES_LT 1
     * }
     */
    public static int FF_PROFILE_PRORES_LT() {
        return FF_PROFILE_PRORES_LT;
    }
    private static final int FF_PROFILE_PRORES_STANDARD = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_PRORES_STANDARD 2
     * }
     */
    public static int FF_PROFILE_PRORES_STANDARD() {
        return FF_PROFILE_PRORES_STANDARD;
    }
    private static final int FF_PROFILE_PRORES_HQ = (int)3L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_PRORES_HQ 3
     * }
     */
    public static int FF_PROFILE_PRORES_HQ() {
        return FF_PROFILE_PRORES_HQ;
    }
    private static final int FF_PROFILE_PRORES_4444 = (int)4L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_PRORES_4444 4
     * }
     */
    public static int FF_PROFILE_PRORES_4444() {
        return FF_PROFILE_PRORES_4444;
    }
    private static final int FF_PROFILE_PRORES_XQ = (int)5L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_PRORES_XQ 5
     * }
     */
    public static int FF_PROFILE_PRORES_XQ() {
        return FF_PROFILE_PRORES_XQ;
    }
    private static final int FF_PROFILE_ARIB_PROFILE_A = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_ARIB_PROFILE_A 0
     * }
     */
    public static int FF_PROFILE_ARIB_PROFILE_A() {
        return FF_PROFILE_ARIB_PROFILE_A;
    }
    private static final int FF_PROFILE_ARIB_PROFILE_C = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_ARIB_PROFILE_C 1
     * }
     */
    public static int FF_PROFILE_ARIB_PROFILE_C() {
        return FF_PROFILE_ARIB_PROFILE_C;
    }
    private static final int FF_PROFILE_KLVA_SYNC = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_KLVA_SYNC 0
     * }
     */
    public static int FF_PROFILE_KLVA_SYNC() {
        return FF_PROFILE_KLVA_SYNC;
    }
    private static final int FF_PROFILE_KLVA_ASYNC = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_KLVA_ASYNC 1
     * }
     */
    public static int FF_PROFILE_KLVA_ASYNC() {
        return FF_PROFILE_KLVA_ASYNC;
    }
    private static final int FF_PROFILE_EVC_BASELINE = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_EVC_BASELINE 0
     * }
     */
    public static int FF_PROFILE_EVC_BASELINE() {
        return FF_PROFILE_EVC_BASELINE;
    }
    private static final int FF_PROFILE_EVC_MAIN = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_PROFILE_EVC_MAIN 1
     * }
     */
    public static int FF_PROFILE_EVC_MAIN() {
        return FF_PROFILE_EVC_MAIN;
    }
    private static final int FF_CODEC_PROPERTY_LOSSLESS = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_CODEC_PROPERTY_LOSSLESS 1
     * }
     */
    public static int FF_CODEC_PROPERTY_LOSSLESS() {
        return FF_CODEC_PROPERTY_LOSSLESS;
    }
    private static final int FF_CODEC_PROPERTY_CLOSED_CAPTIONS = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_CODEC_PROPERTY_CLOSED_CAPTIONS 2
     * }
     */
    public static int FF_CODEC_PROPERTY_CLOSED_CAPTIONS() {
        return FF_CODEC_PROPERTY_CLOSED_CAPTIONS;
    }
    private static final int FF_CODEC_PROPERTY_FILM_GRAIN = (int)4L;
    /**
     * {@snippet lang=c :
     * #define FF_CODEC_PROPERTY_FILM_GRAIN 4
     * }
     */
    public static int FF_CODEC_PROPERTY_FILM_GRAIN() {
        return FF_CODEC_PROPERTY_FILM_GRAIN;
    }
    private static final int FF_SUB_CHARENC_MODE_AUTOMATIC = (int)0L;
    /**
     * {@snippet lang=c :
     * #define FF_SUB_CHARENC_MODE_AUTOMATIC 0
     * }
     */
    public static int FF_SUB_CHARENC_MODE_AUTOMATIC() {
        return FF_SUB_CHARENC_MODE_AUTOMATIC;
    }
    private static final int FF_SUB_CHARENC_MODE_PRE_DECODER = (int)1L;
    /**
     * {@snippet lang=c :
     * #define FF_SUB_CHARENC_MODE_PRE_DECODER 1
     * }
     */
    public static int FF_SUB_CHARENC_MODE_PRE_DECODER() {
        return FF_SUB_CHARENC_MODE_PRE_DECODER;
    }
    private static final int FF_SUB_CHARENC_MODE_IGNORE = (int)2L;
    /**
     * {@snippet lang=c :
     * #define FF_SUB_CHARENC_MODE_IGNORE 2
     * }
     */
    public static int FF_SUB_CHARENC_MODE_IGNORE() {
        return FF_SUB_CHARENC_MODE_IGNORE;
    }
    private static final int AV_HWACCEL_CODEC_CAP_EXPERIMENTAL = (int)512L;
    /**
     * {@snippet lang=c :
     * #define AV_HWACCEL_CODEC_CAP_EXPERIMENTAL 512
     * }
     */
    public static int AV_HWACCEL_CODEC_CAP_EXPERIMENTAL() {
        return AV_HWACCEL_CODEC_CAP_EXPERIMENTAL;
    }
    private static final int AV_SUBTITLE_FLAG_FORCED = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_SUBTITLE_FLAG_FORCED 1
     * }
     */
    public static int AV_SUBTITLE_FLAG_FORCED() {
        return AV_SUBTITLE_FLAG_FORCED;
    }
    private static final int AV_PARSER_PTS_NB = (int)4L;
    /**
     * {@snippet lang=c :
     * #define AV_PARSER_PTS_NB 4
     * }
     */
    public static int AV_PARSER_PTS_NB() {
        return AV_PARSER_PTS_NB;
    }
    private static final int PARSER_FLAG_COMPLETE_FRAMES = (int)1L;
    /**
     * {@snippet lang=c :
     * #define PARSER_FLAG_COMPLETE_FRAMES 1
     * }
     */
    public static int PARSER_FLAG_COMPLETE_FRAMES() {
        return PARSER_FLAG_COMPLETE_FRAMES;
    }
    private static final int PARSER_FLAG_ONCE = (int)2L;
    /**
     * {@snippet lang=c :
     * #define PARSER_FLAG_ONCE 2
     * }
     */
    public static int PARSER_FLAG_ONCE() {
        return PARSER_FLAG_ONCE;
    }
    private static final int PARSER_FLAG_FETCHED_OFFSET = (int)4L;
    /**
     * {@snippet lang=c :
     * #define PARSER_FLAG_FETCHED_OFFSET 4
     * }
     */
    public static int PARSER_FLAG_FETCHED_OFFSET() {
        return PARSER_FLAG_FETCHED_OFFSET;
    }
    private static final int PARSER_FLAG_USE_CODEC_TS = (int)4096L;
    /**
     * {@snippet lang=c :
     * #define PARSER_FLAG_USE_CODEC_TS 4096
     * }
     */
    public static int PARSER_FLAG_USE_CODEC_TS() {
        return PARSER_FLAG_USE_CODEC_TS;
    }
    private static final int LIBAVDEVICE_VERSION_MAJOR = (int)61L;
    /**
     * {@snippet lang=c :
     * #define LIBAVDEVICE_VERSION_MAJOR 61
     * }
     */
    public static int LIBAVDEVICE_VERSION_MAJOR() {
        return LIBAVDEVICE_VERSION_MAJOR;
    }
    private static final int LIBAVDEVICE_VERSION_MINOR = (int)1L;
    /**
     * {@snippet lang=c :
     * #define LIBAVDEVICE_VERSION_MINOR 1
     * }
     */
    public static int LIBAVDEVICE_VERSION_MINOR() {
        return LIBAVDEVICE_VERSION_MINOR;
    }
    private static final int LIBAVDEVICE_VERSION_MICRO = (int)100L;
    /**
     * {@snippet lang=c :
     * #define LIBAVDEVICE_VERSION_MICRO 100
     * }
     */
    public static int LIBAVDEVICE_VERSION_MICRO() {
        return LIBAVDEVICE_VERSION_MICRO;
    }
    private static final int AV_OPT_SERIALIZE_SKIP_DEFAULTS = (int)1L;
    /**
     * {@snippet lang=c :
     * #define AV_OPT_SERIALIZE_SKIP_DEFAULTS 1
     * }
     */
    public static int AV_OPT_SERIALIZE_SKIP_DEFAULTS() {
        return AV_OPT_SERIALIZE_SKIP_DEFAULTS;
    }
    private static final int AV_OPT_SERIALIZE_OPT_FLAGS_EXACT = (int)2L;
    /**
     * {@snippet lang=c :
     * #define AV_OPT_SERIALIZE_OPT_FLAGS_EXACT 2
     * }
     */
    public static int AV_OPT_SERIALIZE_OPT_FLAGS_EXACT() {
        return AV_OPT_SERIALIZE_OPT_FLAGS_EXACT;
    }
    private static final int LIBSWSCALE_VERSION_MAJOR = (int)8L;
    /**
     * {@snippet lang=c :
     * #define LIBSWSCALE_VERSION_MAJOR 8
     * }
     */
    public static int LIBSWSCALE_VERSION_MAJOR() {
        return LIBSWSCALE_VERSION_MAJOR;
    }
    private static final int LIBSWSCALE_VERSION_MINOR = (int)1L;
    /**
     * {@snippet lang=c :
     * #define LIBSWSCALE_VERSION_MINOR 1
     * }
     */
    public static int LIBSWSCALE_VERSION_MINOR() {
        return LIBSWSCALE_VERSION_MINOR;
    }
    private static final int LIBSWSCALE_VERSION_MICRO = (int)100L;
    /**
     * {@snippet lang=c :
     * #define LIBSWSCALE_VERSION_MICRO 100
     * }
     */
    public static int LIBSWSCALE_VERSION_MICRO() {
        return LIBSWSCALE_VERSION_MICRO;
    }
    private static final int SWS_FAST_BILINEAR = (int)1L;
    /**
     * {@snippet lang=c :
     * #define SWS_FAST_BILINEAR 1
     * }
     */
    public static int SWS_FAST_BILINEAR() {
        return SWS_FAST_BILINEAR;
    }
    private static final int SWS_BILINEAR = (int)2L;
    /**
     * {@snippet lang=c :
     * #define SWS_BILINEAR 2
     * }
     */
    public static int SWS_BILINEAR() {
        return SWS_BILINEAR;
    }
    private static final int SWS_BICUBIC = (int)4L;
    /**
     * {@snippet lang=c :
     * #define SWS_BICUBIC 4
     * }
     */
    public static int SWS_BICUBIC() {
        return SWS_BICUBIC;
    }
    private static final int SWS_X = (int)8L;
    /**
     * {@snippet lang=c :
     * #define SWS_X 8
     * }
     */
    public static int SWS_X() {
        return SWS_X;
    }
    private static final int SWS_POINT = (int)16L;
    /**
     * {@snippet lang=c :
     * #define SWS_POINT 16
     * }
     */
    public static int SWS_POINT() {
        return SWS_POINT;
    }
    private static final int SWS_AREA = (int)32L;
    /**
     * {@snippet lang=c :
     * #define SWS_AREA 32
     * }
     */
    public static int SWS_AREA() {
        return SWS_AREA;
    }
    private static final int SWS_BICUBLIN = (int)64L;
    /**
     * {@snippet lang=c :
     * #define SWS_BICUBLIN 64
     * }
     */
    public static int SWS_BICUBLIN() {
        return SWS_BICUBLIN;
    }
    private static final int SWS_GAUSS = (int)128L;
    /**
     * {@snippet lang=c :
     * #define SWS_GAUSS 128
     * }
     */
    public static int SWS_GAUSS() {
        return SWS_GAUSS;
    }
    private static final int SWS_SINC = (int)256L;
    /**
     * {@snippet lang=c :
     * #define SWS_SINC 256
     * }
     */
    public static int SWS_SINC() {
        return SWS_SINC;
    }
    private static final int SWS_LANCZOS = (int)512L;
    /**
     * {@snippet lang=c :
     * #define SWS_LANCZOS 512
     * }
     */
    public static int SWS_LANCZOS() {
        return SWS_LANCZOS;
    }
    private static final int SWS_SPLINE = (int)1024L;
    /**
     * {@snippet lang=c :
     * #define SWS_SPLINE 1024
     * }
     */
    public static int SWS_SPLINE() {
        return SWS_SPLINE;
    }
    private static final int SWS_SRC_V_CHR_DROP_MASK = (int)196608L;
    /**
     * {@snippet lang=c :
     * #define SWS_SRC_V_CHR_DROP_MASK 196608
     * }
     */
    public static int SWS_SRC_V_CHR_DROP_MASK() {
        return SWS_SRC_V_CHR_DROP_MASK;
    }
    private static final int SWS_SRC_V_CHR_DROP_SHIFT = (int)16L;
    /**
     * {@snippet lang=c :
     * #define SWS_SRC_V_CHR_DROP_SHIFT 16
     * }
     */
    public static int SWS_SRC_V_CHR_DROP_SHIFT() {
        return SWS_SRC_V_CHR_DROP_SHIFT;
    }
    private static final int SWS_PARAM_DEFAULT = (int)123456L;
    /**
     * {@snippet lang=c :
     * #define SWS_PARAM_DEFAULT 123456
     * }
     */
    public static int SWS_PARAM_DEFAULT() {
        return SWS_PARAM_DEFAULT;
    }
    private static final int SWS_PRINT_INFO = (int)4096L;
    /**
     * {@snippet lang=c :
     * #define SWS_PRINT_INFO 4096
     * }
     */
    public static int SWS_PRINT_INFO() {
        return SWS_PRINT_INFO;
    }
    private static final int SWS_FULL_CHR_H_INT = (int)8192L;
    /**
     * {@snippet lang=c :
     * #define SWS_FULL_CHR_H_INT 8192
     * }
     */
    public static int SWS_FULL_CHR_H_INT() {
        return SWS_FULL_CHR_H_INT;
    }
    private static final int SWS_FULL_CHR_H_INP = (int)16384L;
    /**
     * {@snippet lang=c :
     * #define SWS_FULL_CHR_H_INP 16384
     * }
     */
    public static int SWS_FULL_CHR_H_INP() {
        return SWS_FULL_CHR_H_INP;
    }
    private static final int SWS_DIRECT_BGR = (int)32768L;
    /**
     * {@snippet lang=c :
     * #define SWS_DIRECT_BGR 32768
     * }
     */
    public static int SWS_DIRECT_BGR() {
        return SWS_DIRECT_BGR;
    }
    private static final int SWS_ACCURATE_RND = (int)262144L;
    /**
     * {@snippet lang=c :
     * #define SWS_ACCURATE_RND 262144
     * }
     */
    public static int SWS_ACCURATE_RND() {
        return SWS_ACCURATE_RND;
    }
    private static final int SWS_BITEXACT = (int)524288L;
    /**
     * {@snippet lang=c :
     * #define SWS_BITEXACT 524288
     * }
     */
    public static int SWS_BITEXACT() {
        return SWS_BITEXACT;
    }
    private static final int SWS_ERROR_DIFFUSION = (int)8388608L;
    /**
     * {@snippet lang=c :
     * #define SWS_ERROR_DIFFUSION 8388608
     * }
     */
    public static int SWS_ERROR_DIFFUSION() {
        return SWS_ERROR_DIFFUSION;
    }
    private static final int SWS_CS_ITU709 = (int)1L;
    /**
     * {@snippet lang=c :
     * #define SWS_CS_ITU709 1
     * }
     */
    public static int SWS_CS_ITU709() {
        return SWS_CS_ITU709;
    }
    private static final int SWS_CS_FCC = (int)4L;
    /**
     * {@snippet lang=c :
     * #define SWS_CS_FCC 4
     * }
     */
    public static int SWS_CS_FCC() {
        return SWS_CS_FCC;
    }
    private static final int SWS_CS_ITU601 = (int)5L;
    /**
     * {@snippet lang=c :
     * #define SWS_CS_ITU601 5
     * }
     */
    public static int SWS_CS_ITU601() {
        return SWS_CS_ITU601;
    }
    private static final int SWS_CS_ITU624 = (int)5L;
    /**
     * {@snippet lang=c :
     * #define SWS_CS_ITU624 5
     * }
     */
    public static int SWS_CS_ITU624() {
        return SWS_CS_ITU624;
    }
    private static final int SWS_CS_SMPTE170M = (int)5L;
    /**
     * {@snippet lang=c :
     * #define SWS_CS_SMPTE170M 5
     * }
     */
    public static int SWS_CS_SMPTE170M() {
        return SWS_CS_SMPTE170M;
    }
    private static final int SWS_CS_SMPTE240M = (int)7L;
    /**
     * {@snippet lang=c :
     * #define SWS_CS_SMPTE240M 7
     * }
     */
    public static int SWS_CS_SMPTE240M() {
        return SWS_CS_SMPTE240M;
    }
    private static final int SWS_CS_DEFAULT = (int)5L;
    /**
     * {@snippet lang=c :
     * #define SWS_CS_DEFAULT 5
     * }
     */
    public static int SWS_CS_DEFAULT() {
        return SWS_CS_DEFAULT;
    }
    private static final int SWS_CS_BT2020 = (int)9L;
    /**
     * {@snippet lang=c :
     * #define SWS_CS_BT2020 9
     * }
     */
    public static int SWS_CS_BT2020() {
        return SWS_CS_BT2020;
    }
    private static final int LIBSWRESAMPLE_VERSION_MAJOR = (int)5L;
    /**
     * {@snippet lang=c :
     * #define LIBSWRESAMPLE_VERSION_MAJOR 5
     * }
     */
    public static int LIBSWRESAMPLE_VERSION_MAJOR() {
        return LIBSWRESAMPLE_VERSION_MAJOR;
    }
    private static final int LIBSWRESAMPLE_VERSION_MINOR = (int)1L;
    /**
     * {@snippet lang=c :
     * #define LIBSWRESAMPLE_VERSION_MINOR 1
     * }
     */
    public static int LIBSWRESAMPLE_VERSION_MINOR() {
        return LIBSWRESAMPLE_VERSION_MINOR;
    }
    private static final int LIBSWRESAMPLE_VERSION_MICRO = (int)100L;
    /**
     * {@snippet lang=c :
     * #define LIBSWRESAMPLE_VERSION_MICRO 100
     * }
     */
    public static int LIBSWRESAMPLE_VERSION_MICRO() {
        return LIBSWRESAMPLE_VERSION_MICRO;
    }
    private static final int SWR_FLAG_RESAMPLE = (int)1L;
    /**
     * {@snippet lang=c :
     * #define SWR_FLAG_RESAMPLE 1
     * }
     */
    public static int SWR_FLAG_RESAMPLE() {
        return SWR_FLAG_RESAMPLE;
    }

    private static class avutil_version {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT    );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("avutil_version");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * unsigned int avutil_version()
     * }
     */
    public static FunctionDescriptor avutil_version$descriptor() {
        return avutil_version.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * unsigned int avutil_version()
     * }
     */
    public static MethodHandle avutil_version$handle() {
        return avutil_version.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * unsigned int avutil_version()
     * }
     */
    public static MemorySegment avutil_version$address() {
        return avutil_version.ADDR;
    }

    /**
     * {@snippet lang=c :
     * unsigned int avutil_version()
     * }
     */
    public static int avutil_version() {
        var mh$ = avutil_version.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("avutil_version");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_version_info {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER    );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_version_info");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * const char *av_version_info()
     * }
     */
    public static FunctionDescriptor av_version_info$descriptor() {
        return av_version_info.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * const char *av_version_info()
     * }
     */
    public static MethodHandle av_version_info$handle() {
        return av_version_info.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * const char *av_version_info()
     * }
     */
    public static MemorySegment av_version_info$address() {
        return av_version_info.ADDR;
    }

    /**
     * {@snippet lang=c :
     * const char *av_version_info()
     * }
     */
    public static MemorySegment av_version_info() {
        var mh$ = av_version_info.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_version_info");
            }
            return (MemorySegment)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class avutil_configuration {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER    );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("avutil_configuration");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * const char *avutil_configuration()
     * }
     */
    public static FunctionDescriptor avutil_configuration$descriptor() {
        return avutil_configuration.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * const char *avutil_configuration()
     * }
     */
    public static MethodHandle avutil_configuration$handle() {
        return avutil_configuration.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * const char *avutil_configuration()
     * }
     */
    public static MemorySegment avutil_configuration$address() {
        return avutil_configuration.ADDR;
    }

    /**
     * {@snippet lang=c :
     * const char *avutil_configuration()
     * }
     */
    public static MemorySegment avutil_configuration() {
        var mh$ = avutil_configuration.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("avutil_configuration");
            }
            return (MemorySegment)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class avutil_license {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER    );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("avutil_license");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * const char *avutil_license()
     * }
     */
    public static FunctionDescriptor avutil_license$descriptor() {
        return avutil_license.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * const char *avutil_license()
     * }
     */
    public static MethodHandle avutil_license$handle() {
        return avutil_license.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * const char *avutil_license()
     * }
     */
    public static MemorySegment avutil_license$address() {
        return avutil_license.ADDR;
    }

    /**
     * {@snippet lang=c :
     * const char *avutil_license()
     * }
     */
    public static MemorySegment avutil_license() {
        var mh$ = avutil_license.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("avutil_license");
            }
            return (MemorySegment)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }
    private static final int AVMEDIA_TYPE_UNKNOWN = (int)-1L;
    /**
     * {@snippet lang=c :
     * enum AVMediaType.AVMEDIA_TYPE_UNKNOWN = -1
     * }
     */
    public static int AVMEDIA_TYPE_UNKNOWN() {
        return AVMEDIA_TYPE_UNKNOWN;
    }
    private static final int AVMEDIA_TYPE_VIDEO = (int)0L;
    /**
     * {@snippet lang=c :
     * enum AVMediaType.AVMEDIA_TYPE_VIDEO = 0
     * }
     */
    public static int AVMEDIA_TYPE_VIDEO() {
        return AVMEDIA_TYPE_VIDEO;
    }
    private static final int AVMEDIA_TYPE_AUDIO = (int)1L;
    /**
     * {@snippet lang=c :
     * enum AVMediaType.AVMEDIA_TYPE_AUDIO = 1
     * }
     */
    public static int AVMEDIA_TYPE_AUDIO() {
        return AVMEDIA_TYPE_AUDIO;
    }
    private static final int AVMEDIA_TYPE_DATA = (int)2L;
    /**
     * {@snippet lang=c :
     * enum AVMediaType.AVMEDIA_TYPE_DATA = 2
     * }
     */
    public static int AVMEDIA_TYPE_DATA() {
        return AVMEDIA_TYPE_DATA;
    }
    private static final int AVMEDIA_TYPE_SUBTITLE = (int)3L;
    /**
     * {@snippet lang=c :
     * enum AVMediaType.AVMEDIA_TYPE_SUBTITLE = 3
     * }
     */
    public static int AVMEDIA_TYPE_SUBTITLE() {
        return AVMEDIA_TYPE_SUBTITLE;
    }
    private static final int AVMEDIA_TYPE_ATTACHMENT = (int)4L;
    /**
     * {@snippet lang=c :
     * enum AVMediaType.AVMEDIA_TYPE_ATTACHMENT = 4
     * }
     */
    public static int AVMEDIA_TYPE_ATTACHMENT() {
        return AVMEDIA_TYPE_ATTACHMENT;
    }
    private static final int AVMEDIA_TYPE_NB = (int)5L;
    /**
     * {@snippet lang=c :
     * enum AVMediaType.AVMEDIA_TYPE_NB = 5
     * }
     */
    public static int AVMEDIA_TYPE_NB() {
        return AVMEDIA_TYPE_NB;
    }

    private static class av_get_media_type_string {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_get_media_type_string");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * const char *av_get_media_type_string(enum AVMediaType media_type)
     * }
     */
    public static FunctionDescriptor av_get_media_type_string$descriptor() {
        return av_get_media_type_string.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * const char *av_get_media_type_string(enum AVMediaType media_type)
     * }
     */
    public static MethodHandle av_get_media_type_string$handle() {
        return av_get_media_type_string.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * const char *av_get_media_type_string(enum AVMediaType media_type)
     * }
     */
    public static MemorySegment av_get_media_type_string$address() {
        return av_get_media_type_string.ADDR;
    }

    /**
     * {@snippet lang=c :
     * const char *av_get_media_type_string(enum AVMediaType media_type)
     * }
     */
    public static MemorySegment av_get_media_type_string(int media_type) {
        var mh$ = av_get_media_type_string.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_get_media_type_string", media_type);
            }
            return (MemorySegment)mh$.invokeExact(media_type);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }
    private static final int AV_PICTURE_TYPE_NONE = (int)0L;
    /**
     * {@snippet lang=c :
     * enum AVPictureType.AV_PICTURE_TYPE_NONE = 0
     * }
     */
    public static int AV_PICTURE_TYPE_NONE() {
        return AV_PICTURE_TYPE_NONE;
    }
    private static final int AV_PICTURE_TYPE_I = (int)1L;
    /**
     * {@snippet lang=c :
     * enum AVPictureType.AV_PICTURE_TYPE_I = 1
     * }
     */
    public static int AV_PICTURE_TYPE_I() {
        return AV_PICTURE_TYPE_I;
    }
    private static final int AV_PICTURE_TYPE_P = (int)2L;
    /**
     * {@snippet lang=c :
     * enum AVPictureType.AV_PICTURE_TYPE_P = 2
     * }
     */
    public static int AV_PICTURE_TYPE_P() {
        return AV_PICTURE_TYPE_P;
    }
    private static final int AV_PICTURE_TYPE_B = (int)3L;
    /**
     * {@snippet lang=c :
     * enum AVPictureType.AV_PICTURE_TYPE_B = 3
     * }
     */
    public static int AV_PICTURE_TYPE_B() {
        return AV_PICTURE_TYPE_B;
    }
    private static final int AV_PICTURE_TYPE_S = (int)4L;
    /**
     * {@snippet lang=c :
     * enum AVPictureType.AV_PICTURE_TYPE_S = 4
     * }
     */
    public static int AV_PICTURE_TYPE_S() {
        return AV_PICTURE_TYPE_S;
    }
    private static final int AV_PICTURE_TYPE_SI = (int)5L;
    /**
     * {@snippet lang=c :
     * enum AVPictureType.AV_PICTURE_TYPE_SI = 5
     * }
     */
    public static int AV_PICTURE_TYPE_SI() {
        return AV_PICTURE_TYPE_SI;
    }
    private static final int AV_PICTURE_TYPE_SP = (int)6L;
    /**
     * {@snippet lang=c :
     * enum AVPictureType.AV_PICTURE_TYPE_SP = 6
     * }
     */
    public static int AV_PICTURE_TYPE_SP() {
        return AV_PICTURE_TYPE_SP;
    }
    private static final int AV_PICTURE_TYPE_BI = (int)7L;
    /**
     * {@snippet lang=c :
     * enum AVPictureType.AV_PICTURE_TYPE_BI = 7
     * }
     */
    public static int AV_PICTURE_TYPE_BI() {
        return AV_PICTURE_TYPE_BI;
    }

    private static class av_get_picture_type_char {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_CHAR,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_get_picture_type_char");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * char av_get_picture_type_char(enum AVPictureType pict_type)
     * }
     */
    public static FunctionDescriptor av_get_picture_type_char$descriptor() {
        return av_get_picture_type_char.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * char av_get_picture_type_char(enum AVPictureType pict_type)
     * }
     */
    public static MethodHandle av_get_picture_type_char$handle() {
        return av_get_picture_type_char.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * char av_get_picture_type_char(enum AVPictureType pict_type)
     * }
     */
    public static MemorySegment av_get_picture_type_char$address() {
        return av_get_picture_type_char.ADDR;
    }

    /**
     * {@snippet lang=c :
     * char av_get_picture_type_char(enum AVPictureType pict_type)
     * }
     */
    public static byte av_get_picture_type_char(int pict_type) {
        var mh$ = av_get_picture_type_char.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_get_picture_type_char", pict_type);
            }
            return (byte)mh$.invokeExact(pict_type);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }
    /**
     * {@snippet lang=c :
     * typedef long long ptrdiff_t
     * }
     */
    public static final OfLong ptrdiff_t = Libffmpeg.C_LONG_LONG;
    /**
     * {@snippet lang=c :
     * typedef unsigned long long size_t
     * }
     */
    public static final OfLong size_t = Libffmpeg.C_LONG_LONG;
    /**
     * {@snippet lang=c :
     * typedef unsigned short wchar_t
     * }
     */
    public static final OfShort wchar_t = Libffmpeg.C_SHORT;
    /**
     * {@snippet lang=c :
     * typedef double max_align_t
     * }
     */
    public static final OfDouble max_align_t = Libffmpeg.C_DOUBLE;
    /**
     * {@snippet lang=c :
     * typedef unsigned short wint_t
     * }
     */
    public static final OfShort wint_t = Libffmpeg.C_SHORT;
    /**
     * {@snippet lang=c :
     * typedef __builtin_va_list va_list
     * }
     */
    public static final AddressLayout va_list = Libffmpeg.C_POINTER;
    /**
     * {@snippet lang=c :
     * typedef __builtin_va_list __gnuc_va_list
     * }
     */
    public static final AddressLayout __gnuc_va_list = Libffmpeg.C_POINTER;

    private static class av_strerror {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_strerror");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
     * }
     */
    public static FunctionDescriptor av_strerror$descriptor() {
        return av_strerror.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
     * }
     */
    public static MethodHandle av_strerror$handle() {
        return av_strerror.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
     * }
     */
    public static MemorySegment av_strerror$address() {
        return av_strerror.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
     * }
     */
    public static int av_strerror(int errnum, MemorySegment errbuf, long errbuf_size) {
        var mh$ = av_strerror.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_strerror", errnum, errbuf, errbuf_size);
            }
            return (int)mh$.invokeExact(errnum, errbuf, errbuf_size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_malloc {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_malloc");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void *av_malloc(size_t size)
     * }
     */
    public static FunctionDescriptor av_malloc$descriptor() {
        return av_malloc.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void *av_malloc(size_t size)
     * }
     */
    public static MethodHandle av_malloc$handle() {
        return av_malloc.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void *av_malloc(size_t size)
     * }
     */
    public static MemorySegment av_malloc$address() {
        return av_malloc.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void *av_malloc(size_t size)
     * }
     */
    public static MemorySegment av_malloc(long size) {
        var mh$ = av_malloc.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_malloc", size);
            }
            return (MemorySegment)mh$.invokeExact(size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_mallocz {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_mallocz");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void *av_mallocz(size_t size)
     * }
     */
    public static FunctionDescriptor av_mallocz$descriptor() {
        return av_mallocz.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void *av_mallocz(size_t size)
     * }
     */
    public static MethodHandle av_mallocz$handle() {
        return av_mallocz.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void *av_mallocz(size_t size)
     * }
     */
    public static MemorySegment av_mallocz$address() {
        return av_mallocz.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void *av_mallocz(size_t size)
     * }
     */
    public static MemorySegment av_mallocz(long size) {
        var mh$ = av_mallocz.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_mallocz", size);
            }
            return (MemorySegment)mh$.invokeExact(size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_malloc_array {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_malloc_array");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void *av_malloc_array(size_t nmemb, size_t size)
     * }
     */
    public static FunctionDescriptor av_malloc_array$descriptor() {
        return av_malloc_array.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void *av_malloc_array(size_t nmemb, size_t size)
     * }
     */
    public static MethodHandle av_malloc_array$handle() {
        return av_malloc_array.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void *av_malloc_array(size_t nmemb, size_t size)
     * }
     */
    public static MemorySegment av_malloc_array$address() {
        return av_malloc_array.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void *av_malloc_array(size_t nmemb, size_t size)
     * }
     */
    public static MemorySegment av_malloc_array(long nmemb, long size) {
        var mh$ = av_malloc_array.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_malloc_array", nmemb, size);
            }
            return (MemorySegment)mh$.invokeExact(nmemb, size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_calloc {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_calloc");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void *av_calloc(size_t nmemb, size_t size)
     * }
     */
    public static FunctionDescriptor av_calloc$descriptor() {
        return av_calloc.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void *av_calloc(size_t nmemb, size_t size)
     * }
     */
    public static MethodHandle av_calloc$handle() {
        return av_calloc.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void *av_calloc(size_t nmemb, size_t size)
     * }
     */
    public static MemorySegment av_calloc$address() {
        return av_calloc.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void *av_calloc(size_t nmemb, size_t size)
     * }
     */
    public static MemorySegment av_calloc(long nmemb, long size) {
        var mh$ = av_calloc.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_calloc", nmemb, size);
            }
            return (MemorySegment)mh$.invokeExact(nmemb, size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_realloc {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_realloc");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void *av_realloc(void *ptr, size_t size)
     * }
     */
    public static FunctionDescriptor av_realloc$descriptor() {
        return av_realloc.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void *av_realloc(void *ptr, size_t size)
     * }
     */
    public static MethodHandle av_realloc$handle() {
        return av_realloc.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void *av_realloc(void *ptr, size_t size)
     * }
     */
    public static MemorySegment av_realloc$address() {
        return av_realloc.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void *av_realloc(void *ptr, size_t size)
     * }
     */
    public static MemorySegment av_realloc(MemorySegment ptr, long size) {
        var mh$ = av_realloc.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_realloc", ptr, size);
            }
            return (MemorySegment)mh$.invokeExact(ptr, size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_reallocp {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_reallocp");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_reallocp(void *ptr, size_t size)
     * }
     */
    public static FunctionDescriptor av_reallocp$descriptor() {
        return av_reallocp.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_reallocp(void *ptr, size_t size)
     * }
     */
    public static MethodHandle av_reallocp$handle() {
        return av_reallocp.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_reallocp(void *ptr, size_t size)
     * }
     */
    public static MemorySegment av_reallocp$address() {
        return av_reallocp.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_reallocp(void *ptr, size_t size)
     * }
     */
    public static int av_reallocp(MemorySegment ptr, long size) {
        var mh$ = av_reallocp.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_reallocp", ptr, size);
            }
            return (int)mh$.invokeExact(ptr, size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_realloc_f {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_realloc_f");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void *av_realloc_f(void *ptr, size_t nelem, size_t elsize)
     * }
     */
    public static FunctionDescriptor av_realloc_f$descriptor() {
        return av_realloc_f.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void *av_realloc_f(void *ptr, size_t nelem, size_t elsize)
     * }
     */
    public static MethodHandle av_realloc_f$handle() {
        return av_realloc_f.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void *av_realloc_f(void *ptr, size_t nelem, size_t elsize)
     * }
     */
    public static MemorySegment av_realloc_f$address() {
        return av_realloc_f.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void *av_realloc_f(void *ptr, size_t nelem, size_t elsize)
     * }
     */
    public static MemorySegment av_realloc_f(MemorySegment ptr, long nelem, long elsize) {
        var mh$ = av_realloc_f.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_realloc_f", ptr, nelem, elsize);
            }
            return (MemorySegment)mh$.invokeExact(ptr, nelem, elsize);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_realloc_array {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_realloc_array");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void *av_realloc_array(void *ptr, size_t nmemb, size_t size)
     * }
     */
    public static FunctionDescriptor av_realloc_array$descriptor() {
        return av_realloc_array.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void *av_realloc_array(void *ptr, size_t nmemb, size_t size)
     * }
     */
    public static MethodHandle av_realloc_array$handle() {
        return av_realloc_array.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void *av_realloc_array(void *ptr, size_t nmemb, size_t size)
     * }
     */
    public static MemorySegment av_realloc_array$address() {
        return av_realloc_array.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void *av_realloc_array(void *ptr, size_t nmemb, size_t size)
     * }
     */
    public static MemorySegment av_realloc_array(MemorySegment ptr, long nmemb, long size) {
        var mh$ = av_realloc_array.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_realloc_array", ptr, nmemb, size);
            }
            return (MemorySegment)mh$.invokeExact(ptr, nmemb, size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_reallocp_array {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_reallocp_array");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_reallocp_array(void *ptr, size_t nmemb, size_t size)
     * }
     */
    public static FunctionDescriptor av_reallocp_array$descriptor() {
        return av_reallocp_array.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_reallocp_array(void *ptr, size_t nmemb, size_t size)
     * }
     */
    public static MethodHandle av_reallocp_array$handle() {
        return av_reallocp_array.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_reallocp_array(void *ptr, size_t nmemb, size_t size)
     * }
     */
    public static MemorySegment av_reallocp_array$address() {
        return av_reallocp_array.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_reallocp_array(void *ptr, size_t nmemb, size_t size)
     * }
     */
    public static int av_reallocp_array(MemorySegment ptr, long nmemb, long size) {
        var mh$ = av_reallocp_array.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_reallocp_array", ptr, nmemb, size);
            }
            return (int)mh$.invokeExact(ptr, nmemb, size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_fast_realloc {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_fast_realloc");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void *av_fast_realloc(void *ptr, unsigned int *size, size_t min_size)
     * }
     */
    public static FunctionDescriptor av_fast_realloc$descriptor() {
        return av_fast_realloc.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void *av_fast_realloc(void *ptr, unsigned int *size, size_t min_size)
     * }
     */
    public static MethodHandle av_fast_realloc$handle() {
        return av_fast_realloc.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void *av_fast_realloc(void *ptr, unsigned int *size, size_t min_size)
     * }
     */
    public static MemorySegment av_fast_realloc$address() {
        return av_fast_realloc.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void *av_fast_realloc(void *ptr, unsigned int *size, size_t min_size)
     * }
     */
    public static MemorySegment av_fast_realloc(MemorySegment ptr, MemorySegment size, long min_size) {
        var mh$ = av_fast_realloc.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_fast_realloc", ptr, size, min_size);
            }
            return (MemorySegment)mh$.invokeExact(ptr, size, min_size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_fast_malloc {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_fast_malloc");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size)
     * }
     */
    public static FunctionDescriptor av_fast_malloc$descriptor() {
        return av_fast_malloc.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size)
     * }
     */
    public static MethodHandle av_fast_malloc$handle() {
        return av_fast_malloc.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size)
     * }
     */
    public static MemorySegment av_fast_malloc$address() {
        return av_fast_malloc.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size)
     * }
     */
    public static void av_fast_malloc(MemorySegment ptr, MemorySegment size, long min_size) {
        var mh$ = av_fast_malloc.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_fast_malloc", ptr, size, min_size);
            }
            mh$.invokeExact(ptr, size, min_size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_fast_mallocz {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_fast_mallocz");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_fast_mallocz(void *ptr, unsigned int *size, size_t min_size)
     * }
     */
    public static FunctionDescriptor av_fast_mallocz$descriptor() {
        return av_fast_mallocz.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_fast_mallocz(void *ptr, unsigned int *size, size_t min_size)
     * }
     */
    public static MethodHandle av_fast_mallocz$handle() {
        return av_fast_mallocz.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_fast_mallocz(void *ptr, unsigned int *size, size_t min_size)
     * }
     */
    public static MemorySegment av_fast_mallocz$address() {
        return av_fast_mallocz.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_fast_mallocz(void *ptr, unsigned int *size, size_t min_size)
     * }
     */
    public static void av_fast_mallocz(MemorySegment ptr, MemorySegment size, long min_size) {
        var mh$ = av_fast_mallocz.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_fast_mallocz", ptr, size, min_size);
            }
            mh$.invokeExact(ptr, size, min_size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_free {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_free");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_free(void *ptr)
     * }
     */
    public static FunctionDescriptor av_free$descriptor() {
        return av_free.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_free(void *ptr)
     * }
     */
    public static MethodHandle av_free$handle() {
        return av_free.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_free(void *ptr)
     * }
     */
    public static MemorySegment av_free$address() {
        return av_free.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_free(void *ptr)
     * }
     */
    public static void av_free(MemorySegment ptr) {
        var mh$ = av_free.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_free", ptr);
            }
            mh$.invokeExact(ptr);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_freep {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_freep");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_freep(void *ptr)
     * }
     */
    public static FunctionDescriptor av_freep$descriptor() {
        return av_freep.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_freep(void *ptr)
     * }
     */
    public static MethodHandle av_freep$handle() {
        return av_freep.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_freep(void *ptr)
     * }
     */
    public static MemorySegment av_freep$address() {
        return av_freep.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_freep(void *ptr)
     * }
     */
    public static void av_freep(MemorySegment ptr) {
        var mh$ = av_freep.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_freep", ptr);
            }
            mh$.invokeExact(ptr);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_strdup {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_strdup");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * char *av_strdup(char *s)
     * }
     */
    public static FunctionDescriptor av_strdup$descriptor() {
        return av_strdup.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * char *av_strdup(char *s)
     * }
     */
    public static MethodHandle av_strdup$handle() {
        return av_strdup.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * char *av_strdup(char *s)
     * }
     */
    public static MemorySegment av_strdup$address() {
        return av_strdup.ADDR;
    }

    /**
     * {@snippet lang=c :
     * char *av_strdup(char *s)
     * }
     */
    public static MemorySegment av_strdup(MemorySegment s) {
        var mh$ = av_strdup.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_strdup", s);
            }
            return (MemorySegment)mh$.invokeExact(s);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_strndup {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_strndup");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * char *av_strndup(char *s, size_t len)
     * }
     */
    public static FunctionDescriptor av_strndup$descriptor() {
        return av_strndup.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * char *av_strndup(char *s, size_t len)
     * }
     */
    public static MethodHandle av_strndup$handle() {
        return av_strndup.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * char *av_strndup(char *s, size_t len)
     * }
     */
    public static MemorySegment av_strndup$address() {
        return av_strndup.ADDR;
    }

    /**
     * {@snippet lang=c :
     * char *av_strndup(char *s, size_t len)
     * }
     */
    public static MemorySegment av_strndup(MemorySegment s, long len) {
        var mh$ = av_strndup.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_strndup", s, len);
            }
            return (MemorySegment)mh$.invokeExact(s, len);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_memdup {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_memdup");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void *av_memdup(void *p, size_t size)
     * }
     */
    public static FunctionDescriptor av_memdup$descriptor() {
        return av_memdup.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void *av_memdup(void *p, size_t size)
     * }
     */
    public static MethodHandle av_memdup$handle() {
        return av_memdup.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void *av_memdup(void *p, size_t size)
     * }
     */
    public static MemorySegment av_memdup$address() {
        return av_memdup.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void *av_memdup(void *p, size_t size)
     * }
     */
    public static MemorySegment av_memdup(MemorySegment p, long size) {
        var mh$ = av_memdup.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_memdup", p, size);
            }
            return (MemorySegment)mh$.invokeExact(p, size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_memcpy_backptr {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_memcpy_backptr");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_memcpy_backptr(uint8_t *dst, int back, int cnt)
     * }
     */
    public static FunctionDescriptor av_memcpy_backptr$descriptor() {
        return av_memcpy_backptr.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_memcpy_backptr(uint8_t *dst, int back, int cnt)
     * }
     */
    public static MethodHandle av_memcpy_backptr$handle() {
        return av_memcpy_backptr.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_memcpy_backptr(uint8_t *dst, int back, int cnt)
     * }
     */
    public static MemorySegment av_memcpy_backptr$address() {
        return av_memcpy_backptr.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_memcpy_backptr(uint8_t *dst, int back, int cnt)
     * }
     */
    public static void av_memcpy_backptr(MemorySegment dst, int back, int cnt) {
        var mh$ = av_memcpy_backptr.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_memcpy_backptr", dst, back, cnt);
            }
            mh$.invokeExact(dst, back, cnt);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_dynarray_add {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_dynarray_add");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_dynarray_add(void *tab_ptr, int *nb_ptr, void *elem)
     * }
     */
    public static FunctionDescriptor av_dynarray_add$descriptor() {
        return av_dynarray_add.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_dynarray_add(void *tab_ptr, int *nb_ptr, void *elem)
     * }
     */
    public static MethodHandle av_dynarray_add$handle() {
        return av_dynarray_add.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_dynarray_add(void *tab_ptr, int *nb_ptr, void *elem)
     * }
     */
    public static MemorySegment av_dynarray_add$address() {
        return av_dynarray_add.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_dynarray_add(void *tab_ptr, int *nb_ptr, void *elem)
     * }
     */
    public static void av_dynarray_add(MemorySegment tab_ptr, MemorySegment nb_ptr, MemorySegment elem) {
        var mh$ = av_dynarray_add.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_dynarray_add", tab_ptr, nb_ptr, elem);
            }
            mh$.invokeExact(tab_ptr, nb_ptr, elem);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_dynarray_add_nofree {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_dynarray_add_nofree");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_dynarray_add_nofree(void *tab_ptr, int *nb_ptr, void *elem)
     * }
     */
    public static FunctionDescriptor av_dynarray_add_nofree$descriptor() {
        return av_dynarray_add_nofree.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_dynarray_add_nofree(void *tab_ptr, int *nb_ptr, void *elem)
     * }
     */
    public static MethodHandle av_dynarray_add_nofree$handle() {
        return av_dynarray_add_nofree.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_dynarray_add_nofree(void *tab_ptr, int *nb_ptr, void *elem)
     * }
     */
    public static MemorySegment av_dynarray_add_nofree$address() {
        return av_dynarray_add_nofree.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_dynarray_add_nofree(void *tab_ptr, int *nb_ptr, void *elem)
     * }
     */
    public static int av_dynarray_add_nofree(MemorySegment tab_ptr, MemorySegment nb_ptr, MemorySegment elem) {
        var mh$ = av_dynarray_add_nofree.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_dynarray_add_nofree", tab_ptr, nb_ptr, elem);
            }
            return (int)mh$.invokeExact(tab_ptr, nb_ptr, elem);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_dynarray2_add {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_dynarray2_add");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void *av_dynarray2_add(void **tab_ptr, int *nb_ptr, size_t elem_size, uint8_t *elem_data)
     * }
     */
    public static FunctionDescriptor av_dynarray2_add$descriptor() {
        return av_dynarray2_add.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void *av_dynarray2_add(void **tab_ptr, int *nb_ptr, size_t elem_size, uint8_t *elem_data)
     * }
     */
    public static MethodHandle av_dynarray2_add$handle() {
        return av_dynarray2_add.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void *av_dynarray2_add(void **tab_ptr, int *nb_ptr, size_t elem_size, uint8_t *elem_data)
     * }
     */
    public static MemorySegment av_dynarray2_add$address() {
        return av_dynarray2_add.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void *av_dynarray2_add(void **tab_ptr, int *nb_ptr, size_t elem_size, uint8_t *elem_data)
     * }
     */
    public static MemorySegment av_dynarray2_add(MemorySegment tab_ptr, MemorySegment nb_ptr, long elem_size, MemorySegment elem_data) {
        var mh$ = av_dynarray2_add.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_dynarray2_add", tab_ptr, nb_ptr, elem_size, elem_data);
            }
            return (MemorySegment)mh$.invokeExact(tab_ptr, nb_ptr, elem_size, elem_data);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_size_mult {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_size_mult");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_size_mult(size_t a, size_t b, size_t *r)
     * }
     */
    public static FunctionDescriptor av_size_mult$descriptor() {
        return av_size_mult.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_size_mult(size_t a, size_t b, size_t *r)
     * }
     */
    public static MethodHandle av_size_mult$handle() {
        return av_size_mult.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_size_mult(size_t a, size_t b, size_t *r)
     * }
     */
    public static MemorySegment av_size_mult$address() {
        return av_size_mult.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_size_mult(size_t a, size_t b, size_t *r)
     * }
     */
    public static int av_size_mult(long a, long b, MemorySegment r) {
        var mh$ = av_size_mult.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_size_mult", a, b, r);
            }
            return (int)mh$.invokeExact(a, b, r);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_max_alloc {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_max_alloc");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_max_alloc(size_t max)
     * }
     */
    public static FunctionDescriptor av_max_alloc$descriptor() {
        return av_max_alloc.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_max_alloc(size_t max)
     * }
     */
    public static MethodHandle av_max_alloc$handle() {
        return av_max_alloc.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_max_alloc(size_t max)
     * }
     */
    public static MemorySegment av_max_alloc$address() {
        return av_max_alloc.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_max_alloc(size_t max)
     * }
     */
    public static void av_max_alloc(long max) {
        var mh$ = av_max_alloc.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_max_alloc", max);
            }
            mh$.invokeExact(max);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_log2 {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_log2");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_log2(unsigned int v)
     * }
     */
    public static FunctionDescriptor av_log2$descriptor() {
        return av_log2.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_log2(unsigned int v)
     * }
     */
    public static MethodHandle av_log2$handle() {
        return av_log2.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_log2(unsigned int v)
     * }
     */
    public static MemorySegment av_log2$address() {
        return av_log2.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_log2(unsigned int v)
     * }
     */
    public static int av_log2(int v) {
        var mh$ = av_log2.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_log2", v);
            }
            return (int)mh$.invokeExact(v);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_log2_16bit {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_log2_16bit");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_log2_16bit(unsigned int v)
     * }
     */
    public static FunctionDescriptor av_log2_16bit$descriptor() {
        return av_log2_16bit.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_log2_16bit(unsigned int v)
     * }
     */
    public static MethodHandle av_log2_16bit$handle() {
        return av_log2_16bit.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_log2_16bit(unsigned int v)
     * }
     */
    public static MemorySegment av_log2_16bit$address() {
        return av_log2_16bit.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_log2_16bit(unsigned int v)
     * }
     */
    public static int av_log2_16bit(int v) {
        var mh$ = av_log2_16bit.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_log2_16bit", v);
            }
            return (int)mh$.invokeExact(v);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_reduce {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_reduce");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max)
     * }
     */
    public static FunctionDescriptor av_reduce$descriptor() {
        return av_reduce.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max)
     * }
     */
    public static MethodHandle av_reduce$handle() {
        return av_reduce.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max)
     * }
     */
    public static MemorySegment av_reduce$address() {
        return av_reduce.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_reduce(int *dst_num, int *dst_den, int64_t num, int64_t den, int64_t max)
     * }
     */
    public static int av_reduce(MemorySegment dst_num, MemorySegment dst_den, long num, long den, long max) {
        var mh$ = av_reduce.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_reduce", dst_num, dst_den, num, den, max);
            }
            return (int)mh$.invokeExact(dst_num, dst_den, num, den, max);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_mul_q {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            AVRational.layout(),
            AVRational.layout(),
            AVRational.layout()
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_mul_q");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * AVRational av_mul_q(AVRational b, AVRational c)
     * }
     */
    public static FunctionDescriptor av_mul_q$descriptor() {
        return av_mul_q.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * AVRational av_mul_q(AVRational b, AVRational c)
     * }
     */
    public static MethodHandle av_mul_q$handle() {
        return av_mul_q.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * AVRational av_mul_q(AVRational b, AVRational c)
     * }
     */
    public static MemorySegment av_mul_q$address() {
        return av_mul_q.ADDR;
    }

    /**
     * {@snippet lang=c :
     * AVRational av_mul_q(AVRational b, AVRational c)
     * }
     */
    public static MemorySegment av_mul_q(SegmentAllocator allocator, MemorySegment b, MemorySegment c) {
        var mh$ = av_mul_q.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_mul_q", allocator, b, c);
            }
            return (MemorySegment)mh$.invokeExact(allocator, b, c);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_div_q {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            AVRational.layout(),
            AVRational.layout(),
            AVRational.layout()
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_div_q");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * AVRational av_div_q(AVRational b, AVRational c)
     * }
     */
    public static FunctionDescriptor av_div_q$descriptor() {
        return av_div_q.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * AVRational av_div_q(AVRational b, AVRational c)
     * }
     */
    public static MethodHandle av_div_q$handle() {
        return av_div_q.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * AVRational av_div_q(AVRational b, AVRational c)
     * }
     */
    public static MemorySegment av_div_q$address() {
        return av_div_q.ADDR;
    }

    /**
     * {@snippet lang=c :
     * AVRational av_div_q(AVRational b, AVRational c)
     * }
     */
    public static MemorySegment av_div_q(SegmentAllocator allocator, MemorySegment b, MemorySegment c) {
        var mh$ = av_div_q.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_div_q", allocator, b, c);
            }
            return (MemorySegment)mh$.invokeExact(allocator, b, c);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_add_q {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            AVRational.layout(),
            AVRational.layout(),
            AVRational.layout()
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_add_q");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * AVRational av_add_q(AVRational b, AVRational c)
     * }
     */
    public static FunctionDescriptor av_add_q$descriptor() {
        return av_add_q.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * AVRational av_add_q(AVRational b, AVRational c)
     * }
     */
    public static MethodHandle av_add_q$handle() {
        return av_add_q.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * AVRational av_add_q(AVRational b, AVRational c)
     * }
     */
    public static MemorySegment av_add_q$address() {
        return av_add_q.ADDR;
    }

    /**
     * {@snippet lang=c :
     * AVRational av_add_q(AVRational b, AVRational c)
     * }
     */
    public static MemorySegment av_add_q(SegmentAllocator allocator, MemorySegment b, MemorySegment c) {
        var mh$ = av_add_q.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_add_q", allocator, b, c);
            }
            return (MemorySegment)mh$.invokeExact(allocator, b, c);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_sub_q {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            AVRational.layout(),
            AVRational.layout(),
            AVRational.layout()
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_sub_q");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * AVRational av_sub_q(AVRational b, AVRational c)
     * }
     */
    public static FunctionDescriptor av_sub_q$descriptor() {
        return av_sub_q.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * AVRational av_sub_q(AVRational b, AVRational c)
     * }
     */
    public static MethodHandle av_sub_q$handle() {
        return av_sub_q.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * AVRational av_sub_q(AVRational b, AVRational c)
     * }
     */
    public static MemorySegment av_sub_q$address() {
        return av_sub_q.ADDR;
    }

    /**
     * {@snippet lang=c :
     * AVRational av_sub_q(AVRational b, AVRational c)
     * }
     */
    public static MemorySegment av_sub_q(SegmentAllocator allocator, MemorySegment b, MemorySegment c) {
        var mh$ = av_sub_q.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_sub_q", allocator, b, c);
            }
            return (MemorySegment)mh$.invokeExact(allocator, b, c);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_d2q {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            AVRational.layout(),
            Libffmpeg.C_DOUBLE,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_d2q");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * AVRational av_d2q(double d, int max)
     * }
     */
    public static FunctionDescriptor av_d2q$descriptor() {
        return av_d2q.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * AVRational av_d2q(double d, int max)
     * }
     */
    public static MethodHandle av_d2q$handle() {
        return av_d2q.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * AVRational av_d2q(double d, int max)
     * }
     */
    public static MemorySegment av_d2q$address() {
        return av_d2q.ADDR;
    }

    /**
     * {@snippet lang=c :
     * AVRational av_d2q(double d, int max)
     * }
     */
    public static MemorySegment av_d2q(SegmentAllocator allocator, double d, int max) {
        var mh$ = av_d2q.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_d2q", allocator, d, max);
            }
            return (MemorySegment)mh$.invokeExact(allocator, d, max);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_nearer_q {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            AVRational.layout(),
            AVRational.layout(),
            AVRational.layout()
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_nearer_q");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_nearer_q(AVRational q, AVRational q1, AVRational q2)
     * }
     */
    public static FunctionDescriptor av_nearer_q$descriptor() {
        return av_nearer_q.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_nearer_q(AVRational q, AVRational q1, AVRational q2)
     * }
     */
    public static MethodHandle av_nearer_q$handle() {
        return av_nearer_q.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_nearer_q(AVRational q, AVRational q1, AVRational q2)
     * }
     */
    public static MemorySegment av_nearer_q$address() {
        return av_nearer_q.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_nearer_q(AVRational q, AVRational q1, AVRational q2)
     * }
     */
    public static int av_nearer_q(MemorySegment q, MemorySegment q1, MemorySegment q2) {
        var mh$ = av_nearer_q.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_nearer_q", q, q1, q2);
            }
            return (int)mh$.invokeExact(q, q1, q2);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_find_nearest_q_idx {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            AVRational.layout(),
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_find_nearest_q_idx");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_find_nearest_q_idx(AVRational q, AVRational *q_list)
     * }
     */
    public static FunctionDescriptor av_find_nearest_q_idx$descriptor() {
        return av_find_nearest_q_idx.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_find_nearest_q_idx(AVRational q, AVRational *q_list)
     * }
     */
    public static MethodHandle av_find_nearest_q_idx$handle() {
        return av_find_nearest_q_idx.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_find_nearest_q_idx(AVRational q, AVRational *q_list)
     * }
     */
    public static MemorySegment av_find_nearest_q_idx$address() {
        return av_find_nearest_q_idx.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_find_nearest_q_idx(AVRational q, AVRational *q_list)
     * }
     */
    public static int av_find_nearest_q_idx(MemorySegment q, MemorySegment q_list) {
        var mh$ = av_find_nearest_q_idx.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_find_nearest_q_idx", q, q_list);
            }
            return (int)mh$.invokeExact(q, q_list);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_q2intfloat {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            AVRational.layout()
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_q2intfloat");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * uint32_t av_q2intfloat(AVRational q)
     * }
     */
    public static FunctionDescriptor av_q2intfloat$descriptor() {
        return av_q2intfloat.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * uint32_t av_q2intfloat(AVRational q)
     * }
     */
    public static MethodHandle av_q2intfloat$handle() {
        return av_q2intfloat.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * uint32_t av_q2intfloat(AVRational q)
     * }
     */
    public static MemorySegment av_q2intfloat$address() {
        return av_q2intfloat.ADDR;
    }

    /**
     * {@snippet lang=c :
     * uint32_t av_q2intfloat(AVRational q)
     * }
     */
    public static int av_q2intfloat(MemorySegment q) {
        var mh$ = av_q2intfloat.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_q2intfloat", q);
            }
            return (int)mh$.invokeExact(q);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_gcd_q {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            AVRational.layout(),
            AVRational.layout(),
            AVRational.layout(),
            Libffmpeg.C_INT,
            AVRational.layout()
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_gcd_q");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * AVRational av_gcd_q(AVRational a, AVRational b, int max_den, AVRational def)
     * }
     */
    public static FunctionDescriptor av_gcd_q$descriptor() {
        return av_gcd_q.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * AVRational av_gcd_q(AVRational a, AVRational b, int max_den, AVRational def)
     * }
     */
    public static MethodHandle av_gcd_q$handle() {
        return av_gcd_q.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * AVRational av_gcd_q(AVRational a, AVRational b, int max_den, AVRational def)
     * }
     */
    public static MemorySegment av_gcd_q$address() {
        return av_gcd_q.ADDR;
    }

    /**
     * {@snippet lang=c :
     * AVRational av_gcd_q(AVRational a, AVRational b, int max_den, AVRational def)
     * }
     */
    public static MemorySegment av_gcd_q(SegmentAllocator allocator, MemorySegment a, MemorySegment b, int max_den, MemorySegment def) {
        var mh$ = av_gcd_q.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_gcd_q", allocator, a, b, max_den, def);
            }
            return (MemorySegment)mh$.invokeExact(allocator, a, b, max_den, def);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }
    private static final int AV_ROUND_ZERO = (int)0L;
    /**
     * {@snippet lang=c :
     * enum AVRounding.AV_ROUND_ZERO = 0
     * }
     */
    public static int AV_ROUND_ZERO() {
        return AV_ROUND_ZERO;
    }
    private static final int AV_ROUND_INF = (int)1L;
    /**
     * {@snippet lang=c :
     * enum AVRounding.AV_ROUND_INF = 1
     * }
     */
    public static int AV_ROUND_INF() {
        return AV_ROUND_INF;
    }
    private static final int AV_ROUND_DOWN = (int)2L;
    /**
     * {@snippet lang=c :
     * enum AVRounding.AV_ROUND_DOWN = 2
     * }
     */
    public static int AV_ROUND_DOWN() {
        return AV_ROUND_DOWN;
    }
    private static final int AV_ROUND_UP = (int)3L;
    /**
     * {@snippet lang=c :
     * enum AVRounding.AV_ROUND_UP = 3
     * }
     */
    public static int AV_ROUND_UP() {
        return AV_ROUND_UP;
    }
    private static final int AV_ROUND_NEAR_INF = (int)5L;
    /**
     * {@snippet lang=c :
     * enum AVRounding.AV_ROUND_NEAR_INF = 5
     * }
     */
    public static int AV_ROUND_NEAR_INF() {
        return AV_ROUND_NEAR_INF;
    }
    private static final int AV_ROUND_PASS_MINMAX = (int)8192L;
    /**
     * {@snippet lang=c :
     * enum AVRounding.AV_ROUND_PASS_MINMAX = 8192
     * }
     */
    public static int AV_ROUND_PASS_MINMAX() {
        return AV_ROUND_PASS_MINMAX;
    }

    private static class av_gcd {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_gcd");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int64_t av_gcd(int64_t a, int64_t b)
     * }
     */
    public static FunctionDescriptor av_gcd$descriptor() {
        return av_gcd.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int64_t av_gcd(int64_t a, int64_t b)
     * }
     */
    public static MethodHandle av_gcd$handle() {
        return av_gcd.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int64_t av_gcd(int64_t a, int64_t b)
     * }
     */
    public static MemorySegment av_gcd$address() {
        return av_gcd.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int64_t av_gcd(int64_t a, int64_t b)
     * }
     */
    public static long av_gcd(long a, long b) {
        var mh$ = av_gcd.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_gcd", a, b);
            }
            return (long)mh$.invokeExact(a, b);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_rescale {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_rescale");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int64_t av_rescale(int64_t a, int64_t b, int64_t c)
     * }
     */
    public static FunctionDescriptor av_rescale$descriptor() {
        return av_rescale.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int64_t av_rescale(int64_t a, int64_t b, int64_t c)
     * }
     */
    public static MethodHandle av_rescale$handle() {
        return av_rescale.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int64_t av_rescale(int64_t a, int64_t b, int64_t c)
     * }
     */
    public static MemorySegment av_rescale$address() {
        return av_rescale.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int64_t av_rescale(int64_t a, int64_t b, int64_t c)
     * }
     */
    public static long av_rescale(long a, long b, long c) {
        var mh$ = av_rescale.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_rescale", a, b, c);
            }
            return (long)mh$.invokeExact(a, b, c);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_rescale_rnd {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_rescale_rnd");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
     * }
     */
    public static FunctionDescriptor av_rescale_rnd$descriptor() {
        return av_rescale_rnd.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
     * }
     */
    public static MethodHandle av_rescale_rnd$handle() {
        return av_rescale_rnd.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
     * }
     */
    public static MemorySegment av_rescale_rnd$address() {
        return av_rescale_rnd.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
     * }
     */
    public static long av_rescale_rnd(long a, long b, long c, int rnd) {
        var mh$ = av_rescale_rnd.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_rescale_rnd", a, b, c, rnd);
            }
            return (long)mh$.invokeExact(a, b, c, rnd);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_rescale_q {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG,
            AVRational.layout(),
            AVRational.layout()
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_rescale_q");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq)
     * }
     */
    public static FunctionDescriptor av_rescale_q$descriptor() {
        return av_rescale_q.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq)
     * }
     */
    public static MethodHandle av_rescale_q$handle() {
        return av_rescale_q.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq)
     * }
     */
    public static MemorySegment av_rescale_q$address() {
        return av_rescale_q.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq)
     * }
     */
    public static long av_rescale_q(long a, MemorySegment bq, MemorySegment cq) {
        var mh$ = av_rescale_q.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_rescale_q", a, bq, cq);
            }
            return (long)mh$.invokeExact(a, bq, cq);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_rescale_q_rnd {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG,
            AVRational.layout(),
            AVRational.layout(),
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_rescale_q_rnd");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq, enum AVRounding rnd)
     * }
     */
    public static FunctionDescriptor av_rescale_q_rnd$descriptor() {
        return av_rescale_q_rnd.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq, enum AVRounding rnd)
     * }
     */
    public static MethodHandle av_rescale_q_rnd$handle() {
        return av_rescale_q_rnd.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq, enum AVRounding rnd)
     * }
     */
    public static MemorySegment av_rescale_q_rnd$address() {
        return av_rescale_q_rnd.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int64_t av_rescale_q_rnd(int64_t a, AVRational bq, AVRational cq, enum AVRounding rnd)
     * }
     */
    public static long av_rescale_q_rnd(long a, MemorySegment bq, MemorySegment cq, int rnd) {
        var mh$ = av_rescale_q_rnd.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_rescale_q_rnd", a, bq, cq, rnd);
            }
            return (long)mh$.invokeExact(a, bq, cq, rnd);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_compare_ts {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_LONG_LONG,
            AVRational.layout(),
            Libffmpeg.C_LONG_LONG,
            AVRational.layout()
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_compare_ts");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b)
     * }
     */
    public static FunctionDescriptor av_compare_ts$descriptor() {
        return av_compare_ts.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b)
     * }
     */
    public static MethodHandle av_compare_ts$handle() {
        return av_compare_ts.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b)
     * }
     */
    public static MemorySegment av_compare_ts$address() {
        return av_compare_ts.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_compare_ts(int64_t ts_a, AVRational tb_a, int64_t ts_b, AVRational tb_b)
     * }
     */
    public static int av_compare_ts(long ts_a, MemorySegment tb_a, long ts_b, MemorySegment tb_b) {
        var mh$ = av_compare_ts.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_compare_ts", ts_a, tb_a, ts_b, tb_b);
            }
            return (int)mh$.invokeExact(ts_a, tb_a, ts_b, tb_b);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_compare_mod {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_compare_mod");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int64_t av_compare_mod(uint64_t a, uint64_t b, uint64_t mod)
     * }
     */
    public static FunctionDescriptor av_compare_mod$descriptor() {
        return av_compare_mod.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int64_t av_compare_mod(uint64_t a, uint64_t b, uint64_t mod)
     * }
     */
    public static MethodHandle av_compare_mod$handle() {
        return av_compare_mod.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int64_t av_compare_mod(uint64_t a, uint64_t b, uint64_t mod)
     * }
     */
    public static MemorySegment av_compare_mod$address() {
        return av_compare_mod.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int64_t av_compare_mod(uint64_t a, uint64_t b, uint64_t mod)
     * }
     */
    public static long av_compare_mod(long a, long b, long mod) {
        var mh$ = av_compare_mod.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_compare_mod", a, b, mod);
            }
            return (long)mh$.invokeExact(a, b, mod);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_rescale_delta {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_LONG_LONG,
            AVRational.layout(),
            Libffmpeg.C_LONG_LONG,
            AVRational.layout(),
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            AVRational.layout()
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_rescale_delta");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t *last, AVRational out_tb)
     * }
     */
    public static FunctionDescriptor av_rescale_delta$descriptor() {
        return av_rescale_delta.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t *last, AVRational out_tb)
     * }
     */
    public static MethodHandle av_rescale_delta$handle() {
        return av_rescale_delta.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t *last, AVRational out_tb)
     * }
     */
    public static MemorySegment av_rescale_delta$address() {
        return av_rescale_delta.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int64_t av_rescale_delta(AVRational in_tb, int64_t in_ts, AVRational fs_tb, int duration, int64_t *last, AVRational out_tb)
     * }
     */
    public static long av_rescale_delta(MemorySegment in_tb, long in_ts, MemorySegment fs_tb, int duration, MemorySegment last, MemorySegment out_tb) {
        var mh$ = av_rescale_delta.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_rescale_delta", in_tb, in_ts, fs_tb, duration, last, out_tb);
            }
            return (long)mh$.invokeExact(in_tb, in_ts, fs_tb, duration, last, out_tb);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_add_stable {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_LONG_LONG,
            AVRational.layout(),
            Libffmpeg.C_LONG_LONG,
            AVRational.layout(),
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_add_stable");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int64_t av_add_stable(AVRational ts_tb, int64_t ts, AVRational inc_tb, int64_t inc)
     * }
     */
    public static FunctionDescriptor av_add_stable$descriptor() {
        return av_add_stable.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int64_t av_add_stable(AVRational ts_tb, int64_t ts, AVRational inc_tb, int64_t inc)
     * }
     */
    public static MethodHandle av_add_stable$handle() {
        return av_add_stable.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int64_t av_add_stable(AVRational ts_tb, int64_t ts, AVRational inc_tb, int64_t inc)
     * }
     */
    public static MemorySegment av_add_stable$address() {
        return av_add_stable.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int64_t av_add_stable(AVRational ts_tb, int64_t ts, AVRational inc_tb, int64_t inc)
     * }
     */
    public static long av_add_stable(MemorySegment ts_tb, long ts, MemorySegment inc_tb, long inc) {
        var mh$ = av_add_stable.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_add_stable", ts_tb, ts, inc_tb, inc);
            }
            return (long)mh$.invokeExact(ts_tb, ts, inc_tb, inc);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_bessel_i0 {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_DOUBLE,
            Libffmpeg.C_DOUBLE
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_bessel_i0");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * double av_bessel_i0(double x)
     * }
     */
    public static FunctionDescriptor av_bessel_i0$descriptor() {
        return av_bessel_i0.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * double av_bessel_i0(double x)
     * }
     */
    public static MethodHandle av_bessel_i0$handle() {
        return av_bessel_i0.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * double av_bessel_i0(double x)
     * }
     */
    public static MemorySegment av_bessel_i0$address() {
        return av_bessel_i0.ADDR;
    }

    /**
     * {@snippet lang=c :
     * double av_bessel_i0(double x)
     * }
     */
    public static double av_bessel_i0(double x) {
        var mh$ = av_bessel_i0.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_bessel_i0", x);
            }
            return (double)mh$.invokeExact(x);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }
    private static final int AV_CLASS_CATEGORY_NA = (int)0L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_NA = 0
     * }
     */
    public static int AV_CLASS_CATEGORY_NA() {
        return AV_CLASS_CATEGORY_NA;
    }
    private static final int AV_CLASS_CATEGORY_INPUT = (int)1L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_INPUT = 1
     * }
     */
    public static int AV_CLASS_CATEGORY_INPUT() {
        return AV_CLASS_CATEGORY_INPUT;
    }
    private static final int AV_CLASS_CATEGORY_OUTPUT = (int)2L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_OUTPUT = 2
     * }
     */
    public static int AV_CLASS_CATEGORY_OUTPUT() {
        return AV_CLASS_CATEGORY_OUTPUT;
    }
    private static final int AV_CLASS_CATEGORY_MUXER = (int)3L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_MUXER = 3
     * }
     */
    public static int AV_CLASS_CATEGORY_MUXER() {
        return AV_CLASS_CATEGORY_MUXER;
    }
    private static final int AV_CLASS_CATEGORY_DEMUXER = (int)4L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_DEMUXER = 4
     * }
     */
    public static int AV_CLASS_CATEGORY_DEMUXER() {
        return AV_CLASS_CATEGORY_DEMUXER;
    }
    private static final int AV_CLASS_CATEGORY_ENCODER = (int)5L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_ENCODER = 5
     * }
     */
    public static int AV_CLASS_CATEGORY_ENCODER() {
        return AV_CLASS_CATEGORY_ENCODER;
    }
    private static final int AV_CLASS_CATEGORY_DECODER = (int)6L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_DECODER = 6
     * }
     */
    public static int AV_CLASS_CATEGORY_DECODER() {
        return AV_CLASS_CATEGORY_DECODER;
    }
    private static final int AV_CLASS_CATEGORY_FILTER = (int)7L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_FILTER = 7
     * }
     */
    public static int AV_CLASS_CATEGORY_FILTER() {
        return AV_CLASS_CATEGORY_FILTER;
    }
    private static final int AV_CLASS_CATEGORY_BITSTREAM_FILTER = (int)8L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_BITSTREAM_FILTER = 8
     * }
     */
    public static int AV_CLASS_CATEGORY_BITSTREAM_FILTER() {
        return AV_CLASS_CATEGORY_BITSTREAM_FILTER;
    }
    private static final int AV_CLASS_CATEGORY_SWSCALER = (int)9L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_SWSCALER = 9
     * }
     */
    public static int AV_CLASS_CATEGORY_SWSCALER() {
        return AV_CLASS_CATEGORY_SWSCALER;
    }
    private static final int AV_CLASS_CATEGORY_SWRESAMPLER = (int)10L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_SWRESAMPLER = 10
     * }
     */
    public static int AV_CLASS_CATEGORY_SWRESAMPLER() {
        return AV_CLASS_CATEGORY_SWRESAMPLER;
    }
    private static final int AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT = (int)40L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT = 40
     * }
     */
    public static int AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT() {
        return AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT;
    }
    private static final int AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT = (int)41L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT = 41
     * }
     */
    public static int AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT() {
        return AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT;
    }
    private static final int AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT = (int)42L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT = 42
     * }
     */
    public static int AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT() {
        return AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT;
    }
    private static final int AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT = (int)43L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT = 43
     * }
     */
    public static int AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT() {
        return AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT;
    }
    private static final int AV_CLASS_CATEGORY_DEVICE_OUTPUT = (int)44L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_DEVICE_OUTPUT = 44
     * }
     */
    public static int AV_CLASS_CATEGORY_DEVICE_OUTPUT() {
        return AV_CLASS_CATEGORY_DEVICE_OUTPUT;
    }
    private static final int AV_CLASS_CATEGORY_DEVICE_INPUT = (int)45L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_DEVICE_INPUT = 45
     * }
     */
    public static int AV_CLASS_CATEGORY_DEVICE_INPUT() {
        return AV_CLASS_CATEGORY_DEVICE_INPUT;
    }
    private static final int AV_CLASS_CATEGORY_NB = (int)46L;
    /**
     * {@snippet lang=c :
     * enum .AV_CLASS_CATEGORY_NB = 46
     * }
     */
    public static int AV_CLASS_CATEGORY_NB() {
        return AV_CLASS_CATEGORY_NB;
    }

    /**
     * Variadic invoker class for:
     * {@snippet lang=c :
     * void av_log(void *avcl, int level, char *fmt, ...)
     * }
     */
    public static class av_log {
        private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.ofVoid(
                Libffmpeg.C_POINTER,
                Libffmpeg.C_INT,
                Libffmpeg.C_POINTER
            );
        private static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_log");

        private final MethodHandle handle;
        private final FunctionDescriptor descriptor;
        private final MethodHandle spreader;

        private av_log(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) {
            this.handle = handle;
            this.descriptor = descriptor;
            this.spreader = spreader;
        }

        /**
         * Variadic invoker factory for:
         * {@snippet lang=c :
         * void av_log(void *avcl, int level, char *fmt, ...)
         * }
         */
        public static av_log makeInvoker(MemoryLayout... layouts) {
            FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
            Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
            var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
            var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
            return new av_log(mh$, desc$, spreader$);
        }

        /**
         * {@return the address}
         */
        public static MemorySegment address() {
            return ADDR;
        }

        /**
         * {@return the specialized method handle}
         */
        public MethodHandle handle() {
            return handle;
        }

        /**
         * {@return the specialized descriptor}
         */
        public FunctionDescriptor descriptor() {
            return descriptor;
        }

        public void apply(MemorySegment avcl, int level, MemorySegment fmt, Object... x3) {
            try {
                if (TRACE_DOWNCALLS) {
                    traceDowncall("av_log", avcl, level, fmt, x3);
                }
                spreader.invokeExact(avcl, level, fmt, x3);
            } catch(IllegalArgumentException | ClassCastException ex$)  {
                throw ex$; // rethrow IAE from passing wrong number/type of args
            } catch (Throwable ex$) {
               throw new AssertionError("should not reach here", ex$);
            }
        }
    }

    /**
     * Variadic invoker class for:
     * {@snippet lang=c :
     * void av_log_once(void *avcl, int initial_level, int subsequent_level, int *state, char *fmt, ...)
     * }
     */
    public static class av_log_once {
        private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.ofVoid(
                Libffmpeg.C_POINTER,
                Libffmpeg.C_INT,
                Libffmpeg.C_INT,
                Libffmpeg.C_POINTER,
                Libffmpeg.C_POINTER
            );
        private static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_log_once");

        private final MethodHandle handle;
        private final FunctionDescriptor descriptor;
        private final MethodHandle spreader;

        private av_log_once(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) {
            this.handle = handle;
            this.descriptor = descriptor;
            this.spreader = spreader;
        }

        /**
         * Variadic invoker factory for:
         * {@snippet lang=c :
         * void av_log_once(void *avcl, int initial_level, int subsequent_level, int *state, char *fmt, ...)
         * }
         */
        public static av_log_once makeInvoker(MemoryLayout... layouts) {
            FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
            Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
            var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
            var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
            return new av_log_once(mh$, desc$, spreader$);
        }

        /**
         * {@return the address}
         */
        public static MemorySegment address() {
            return ADDR;
        }

        /**
         * {@return the specialized method handle}
         */
        public MethodHandle handle() {
            return handle;
        }

        /**
         * {@return the specialized descriptor}
         */
        public FunctionDescriptor descriptor() {
            return descriptor;
        }

        public void apply(MemorySegment avcl, int initial_level, int subsequent_level, MemorySegment state, MemorySegment fmt, Object... x5) {
            try {
                if (TRACE_DOWNCALLS) {
                    traceDowncall("av_log_once", avcl, initial_level, subsequent_level, state, fmt, x5);
                }
                spreader.invokeExact(avcl, initial_level, subsequent_level, state, fmt, x5);
            } catch(IllegalArgumentException | ClassCastException ex$)  {
                throw ex$; // rethrow IAE from passing wrong number/type of args
            } catch (Throwable ex$) {
               throw new AssertionError("should not reach here", ex$);
            }
        }
    }

    private static class av_vlog {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_vlog");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_vlog(void *avcl, int level, char *fmt, va_list vl)
     * }
     */
    public static FunctionDescriptor av_vlog$descriptor() {
        return av_vlog.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_vlog(void *avcl, int level, char *fmt, va_list vl)
     * }
     */
    public static MethodHandle av_vlog$handle() {
        return av_vlog.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_vlog(void *avcl, int level, char *fmt, va_list vl)
     * }
     */
    public static MemorySegment av_vlog$address() {
        return av_vlog.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_vlog(void *avcl, int level, char *fmt, va_list vl)
     * }
     */
    public static void av_vlog(MemorySegment avcl, int level, MemorySegment fmt, MemorySegment vl) {
        var mh$ = av_vlog.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_vlog", avcl, level, fmt, vl);
            }
            mh$.invokeExact(avcl, level, fmt, vl);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_log_get_level {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT    );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_log_get_level");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_log_get_level()
     * }
     */
    public static FunctionDescriptor av_log_get_level$descriptor() {
        return av_log_get_level.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_log_get_level()
     * }
     */
    public static MethodHandle av_log_get_level$handle() {
        return av_log_get_level.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_log_get_level()
     * }
     */
    public static MemorySegment av_log_get_level$address() {
        return av_log_get_level.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_log_get_level()
     * }
     */
    public static int av_log_get_level() {
        var mh$ = av_log_get_level.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_log_get_level");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_log_set_level {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_log_set_level");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_log_set_level(int level)
     * }
     */
    public static FunctionDescriptor av_log_set_level$descriptor() {
        return av_log_set_level.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_log_set_level(int level)
     * }
     */
    public static MethodHandle av_log_set_level$handle() {
        return av_log_set_level.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_log_set_level(int level)
     * }
     */
    public static MemorySegment av_log_set_level$address() {
        return av_log_set_level.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_log_set_level(int level)
     * }
     */
    public static void av_log_set_level(int level) {
        var mh$ = av_log_set_level.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_log_set_level", level);
            }
            mh$.invokeExact(level);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_log_set_callback {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_log_set_callback");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_log_set_callback(void (*callback)(void *, int, char *, va_list))
     * }
     */
    public static FunctionDescriptor av_log_set_callback$descriptor() {
        return av_log_set_callback.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_log_set_callback(void (*callback)(void *, int, char *, va_list))
     * }
     */
    public static MethodHandle av_log_set_callback$handle() {
        return av_log_set_callback.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_log_set_callback(void (*callback)(void *, int, char *, va_list))
     * }
     */
    public static MemorySegment av_log_set_callback$address() {
        return av_log_set_callback.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_log_set_callback(void (*callback)(void *, int, char *, va_list))
     * }
     */
    public static void av_log_set_callback(MemorySegment callback) {
        var mh$ = av_log_set_callback.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_log_set_callback", callback);
            }
            mh$.invokeExact(callback);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_log_default_callback {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_log_default_callback");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_log_default_callback(void *avcl, int level, char *fmt, va_list vl)
     * }
     */
    public static FunctionDescriptor av_log_default_callback$descriptor() {
        return av_log_default_callback.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_log_default_callback(void *avcl, int level, char *fmt, va_list vl)
     * }
     */
    public static MethodHandle av_log_default_callback$handle() {
        return av_log_default_callback.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_log_default_callback(void *avcl, int level, char *fmt, va_list vl)
     * }
     */
    public static MemorySegment av_log_default_callback$address() {
        return av_log_default_callback.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_log_default_callback(void *avcl, int level, char *fmt, va_list vl)
     * }
     */
    public static void av_log_default_callback(MemorySegment avcl, int level, MemorySegment fmt, MemorySegment vl) {
        var mh$ = av_log_default_callback.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_log_default_callback", avcl, level, fmt, vl);
            }
            mh$.invokeExact(avcl, level, fmt, vl);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_default_item_name {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_default_item_name");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * char *av_default_item_name(void *ctx)
     * }
     */
    public static FunctionDescriptor av_default_item_name$descriptor() {
        return av_default_item_name.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * char *av_default_item_name(void *ctx)
     * }
     */
    public static MethodHandle av_default_item_name$handle() {
        return av_default_item_name.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * char *av_default_item_name(void *ctx)
     * }
     */
    public static MemorySegment av_default_item_name$address() {
        return av_default_item_name.ADDR;
    }

    /**
     * {@snippet lang=c :
     * char *av_default_item_name(void *ctx)
     * }
     */
    public static MemorySegment av_default_item_name(MemorySegment ctx) {
        var mh$ = av_default_item_name.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_default_item_name", ctx);
            }
            return (MemorySegment)mh$.invokeExact(ctx);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_default_get_category {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_default_get_category");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * AVClassCategory av_default_get_category(void *ptr)
     * }
     */
    public static FunctionDescriptor av_default_get_category$descriptor() {
        return av_default_get_category.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * AVClassCategory av_default_get_category(void *ptr)
     * }
     */
    public static MethodHandle av_default_get_category$handle() {
        return av_default_get_category.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * AVClassCategory av_default_get_category(void *ptr)
     * }
     */
    public static MemorySegment av_default_get_category$address() {
        return av_default_get_category.ADDR;
    }

    /**
     * {@snippet lang=c :
     * AVClassCategory av_default_get_category(void *ptr)
     * }
     */
    public static int av_default_get_category(MemorySegment ptr) {
        var mh$ = av_default_get_category.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_default_get_category", ptr);
            }
            return (int)mh$.invokeExact(ptr);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_log_format_line {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_log_format_line");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_log_format_line(void *ptr, int level, char *fmt, va_list vl, char *line, int line_size, int *print_prefix)
     * }
     */
    public static FunctionDescriptor av_log_format_line$descriptor() {
        return av_log_format_line.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_log_format_line(void *ptr, int level, char *fmt, va_list vl, char *line, int line_size, int *print_prefix)
     * }
     */
    public static MethodHandle av_log_format_line$handle() {
        return av_log_format_line.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_log_format_line(void *ptr, int level, char *fmt, va_list vl, char *line, int line_size, int *print_prefix)
     * }
     */
    public static MemorySegment av_log_format_line$address() {
        return av_log_format_line.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_log_format_line(void *ptr, int level, char *fmt, va_list vl, char *line, int line_size, int *print_prefix)
     * }
     */
    public static void av_log_format_line(MemorySegment ptr, int level, MemorySegment fmt, MemorySegment vl, MemorySegment line, int line_size, MemorySegment print_prefix) {
        var mh$ = av_log_format_line.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_log_format_line", ptr, level, fmt, vl, line, line_size, print_prefix);
            }
            mh$.invokeExact(ptr, level, fmt, vl, line, line_size, print_prefix);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_log_format_line2 {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_log_format_line2");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_log_format_line2(void *ptr, int level, char *fmt, va_list vl, char *line, int line_size, int *print_prefix)
     * }
     */
    public static FunctionDescriptor av_log_format_line2$descriptor() {
        return av_log_format_line2.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_log_format_line2(void *ptr, int level, char *fmt, va_list vl, char *line, int line_size, int *print_prefix)
     * }
     */
    public static MethodHandle av_log_format_line2$handle() {
        return av_log_format_line2.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_log_format_line2(void *ptr, int level, char *fmt, va_list vl, char *line, int line_size, int *print_prefix)
     * }
     */
    public static MemorySegment av_log_format_line2$address() {
        return av_log_format_line2.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_log_format_line2(void *ptr, int level, char *fmt, va_list vl, char *line, int line_size, int *print_prefix)
     * }
     */
    public static int av_log_format_line2(MemorySegment ptr, int level, MemorySegment fmt, MemorySegment vl, MemorySegment line, int line_size, MemorySegment print_prefix) {
        var mh$ = av_log_format_line2.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_log_format_line2", ptr, level, fmt, vl, line, line_size, print_prefix);
            }
            return (int)mh$.invokeExact(ptr, level, fmt, vl, line, line_size, print_prefix);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_log_set_flags {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_log_set_flags");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_log_set_flags(int arg)
     * }
     */
    public static FunctionDescriptor av_log_set_flags$descriptor() {
        return av_log_set_flags.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_log_set_flags(int arg)
     * }
     */
    public static MethodHandle av_log_set_flags$handle() {
        return av_log_set_flags.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_log_set_flags(int arg)
     * }
     */
    public static MemorySegment av_log_set_flags$address() {
        return av_log_set_flags.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_log_set_flags(int arg)
     * }
     */
    public static void av_log_set_flags(int arg) {
        var mh$ = av_log_set_flags.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_log_set_flags", arg);
            }
            mh$.invokeExact(arg);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_log_get_flags {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT    );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_log_get_flags");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_log_get_flags()
     * }
     */
    public static FunctionDescriptor av_log_get_flags$descriptor() {
        return av_log_get_flags.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_log_get_flags()
     * }
     */
    public static MethodHandle av_log_get_flags$handle() {
        return av_log_get_flags.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_log_get_flags()
     * }
     */
    public static MemorySegment av_log_get_flags$address() {
        return av_log_get_flags.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_log_get_flags()
     * }
     */
    public static int av_log_get_flags() {
        var mh$ = av_log_get_flags.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_log_get_flags");
            }
            return (int)mh$.invokeExact();
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }
    private static final int AV_PIX_FMT_NONE = (int)-1L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_NONE = -1
     * }
     */
    public static int AV_PIX_FMT_NONE() {
        return AV_PIX_FMT_NONE;
    }
    private static final int AV_PIX_FMT_YUV420P = (int)0L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV420P = 0
     * }
     */
    public static int AV_PIX_FMT_YUV420P() {
        return AV_PIX_FMT_YUV420P;
    }
    private static final int AV_PIX_FMT_YUYV422 = (int)1L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUYV422 = 1
     * }
     */
    public static int AV_PIX_FMT_YUYV422() {
        return AV_PIX_FMT_YUYV422;
    }
    private static final int AV_PIX_FMT_RGB24 = (int)2L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGB24 = 2
     * }
     */
    public static int AV_PIX_FMT_RGB24() {
        return AV_PIX_FMT_RGB24;
    }
    private static final int AV_PIX_FMT_BGR24 = (int)3L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGR24 = 3
     * }
     */
    public static int AV_PIX_FMT_BGR24() {
        return AV_PIX_FMT_BGR24;
    }
    private static final int AV_PIX_FMT_YUV422P = (int)4L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV422P = 4
     * }
     */
    public static int AV_PIX_FMT_YUV422P() {
        return AV_PIX_FMT_YUV422P;
    }
    private static final int AV_PIX_FMT_YUV444P = (int)5L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV444P = 5
     * }
     */
    public static int AV_PIX_FMT_YUV444P() {
        return AV_PIX_FMT_YUV444P;
    }
    private static final int AV_PIX_FMT_YUV410P = (int)6L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV410P = 6
     * }
     */
    public static int AV_PIX_FMT_YUV410P() {
        return AV_PIX_FMT_YUV410P;
    }
    private static final int AV_PIX_FMT_YUV411P = (int)7L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV411P = 7
     * }
     */
    public static int AV_PIX_FMT_YUV411P() {
        return AV_PIX_FMT_YUV411P;
    }
    private static final int AV_PIX_FMT_GRAY8 = (int)8L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GRAY8 = 8
     * }
     */
    public static int AV_PIX_FMT_GRAY8() {
        return AV_PIX_FMT_GRAY8;
    }
    private static final int AV_PIX_FMT_MONOWHITE = (int)9L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_MONOWHITE = 9
     * }
     */
    public static int AV_PIX_FMT_MONOWHITE() {
        return AV_PIX_FMT_MONOWHITE;
    }
    private static final int AV_PIX_FMT_MONOBLACK = (int)10L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_MONOBLACK = 10
     * }
     */
    public static int AV_PIX_FMT_MONOBLACK() {
        return AV_PIX_FMT_MONOBLACK;
    }
    private static final int AV_PIX_FMT_PAL8 = (int)11L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_PAL8 = 11
     * }
     */
    public static int AV_PIX_FMT_PAL8() {
        return AV_PIX_FMT_PAL8;
    }
    private static final int AV_PIX_FMT_YUVJ420P = (int)12L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVJ420P = 12
     * }
     */
    public static int AV_PIX_FMT_YUVJ420P() {
        return AV_PIX_FMT_YUVJ420P;
    }
    private static final int AV_PIX_FMT_YUVJ422P = (int)13L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVJ422P = 13
     * }
     */
    public static int AV_PIX_FMT_YUVJ422P() {
        return AV_PIX_FMT_YUVJ422P;
    }
    private static final int AV_PIX_FMT_YUVJ444P = (int)14L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVJ444P = 14
     * }
     */
    public static int AV_PIX_FMT_YUVJ444P() {
        return AV_PIX_FMT_YUVJ444P;
    }
    private static final int AV_PIX_FMT_UYVY422 = (int)15L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_UYVY422 = 15
     * }
     */
    public static int AV_PIX_FMT_UYVY422() {
        return AV_PIX_FMT_UYVY422;
    }
    private static final int AV_PIX_FMT_UYYVYY411 = (int)16L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_UYYVYY411 = 16
     * }
     */
    public static int AV_PIX_FMT_UYYVYY411() {
        return AV_PIX_FMT_UYYVYY411;
    }
    private static final int AV_PIX_FMT_BGR8 = (int)17L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGR8 = 17
     * }
     */
    public static int AV_PIX_FMT_BGR8() {
        return AV_PIX_FMT_BGR8;
    }
    private static final int AV_PIX_FMT_BGR4 = (int)18L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGR4 = 18
     * }
     */
    public static int AV_PIX_FMT_BGR4() {
        return AV_PIX_FMT_BGR4;
    }
    private static final int AV_PIX_FMT_BGR4_BYTE = (int)19L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGR4_BYTE = 19
     * }
     */
    public static int AV_PIX_FMT_BGR4_BYTE() {
        return AV_PIX_FMT_BGR4_BYTE;
    }
    private static final int AV_PIX_FMT_RGB8 = (int)20L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGB8 = 20
     * }
     */
    public static int AV_PIX_FMT_RGB8() {
        return AV_PIX_FMT_RGB8;
    }
    private static final int AV_PIX_FMT_RGB4 = (int)21L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGB4 = 21
     * }
     */
    public static int AV_PIX_FMT_RGB4() {
        return AV_PIX_FMT_RGB4;
    }
    private static final int AV_PIX_FMT_RGB4_BYTE = (int)22L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGB4_BYTE = 22
     * }
     */
    public static int AV_PIX_FMT_RGB4_BYTE() {
        return AV_PIX_FMT_RGB4_BYTE;
    }
    private static final int AV_PIX_FMT_NV12 = (int)23L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_NV12 = 23
     * }
     */
    public static int AV_PIX_FMT_NV12() {
        return AV_PIX_FMT_NV12;
    }
    private static final int AV_PIX_FMT_NV21 = (int)24L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_NV21 = 24
     * }
     */
    public static int AV_PIX_FMT_NV21() {
        return AV_PIX_FMT_NV21;
    }
    private static final int AV_PIX_FMT_ARGB = (int)25L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_ARGB = 25
     * }
     */
    public static int AV_PIX_FMT_ARGB() {
        return AV_PIX_FMT_ARGB;
    }
    private static final int AV_PIX_FMT_RGBA = (int)26L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGBA = 26
     * }
     */
    public static int AV_PIX_FMT_RGBA() {
        return AV_PIX_FMT_RGBA;
    }
    private static final int AV_PIX_FMT_ABGR = (int)27L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_ABGR = 27
     * }
     */
    public static int AV_PIX_FMT_ABGR() {
        return AV_PIX_FMT_ABGR;
    }
    private static final int AV_PIX_FMT_BGRA = (int)28L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGRA = 28
     * }
     */
    public static int AV_PIX_FMT_BGRA() {
        return AV_PIX_FMT_BGRA;
    }
    private static final int AV_PIX_FMT_GRAY16BE = (int)29L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GRAY16BE = 29
     * }
     */
    public static int AV_PIX_FMT_GRAY16BE() {
        return AV_PIX_FMT_GRAY16BE;
    }
    private static final int AV_PIX_FMT_GRAY16LE = (int)30L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GRAY16LE = 30
     * }
     */
    public static int AV_PIX_FMT_GRAY16LE() {
        return AV_PIX_FMT_GRAY16LE;
    }
    private static final int AV_PIX_FMT_YUV440P = (int)31L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV440P = 31
     * }
     */
    public static int AV_PIX_FMT_YUV440P() {
        return AV_PIX_FMT_YUV440P;
    }
    private static final int AV_PIX_FMT_YUVJ440P = (int)32L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVJ440P = 32
     * }
     */
    public static int AV_PIX_FMT_YUVJ440P() {
        return AV_PIX_FMT_YUVJ440P;
    }
    private static final int AV_PIX_FMT_YUVA420P = (int)33L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA420P = 33
     * }
     */
    public static int AV_PIX_FMT_YUVA420P() {
        return AV_PIX_FMT_YUVA420P;
    }
    private static final int AV_PIX_FMT_RGB48BE = (int)34L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGB48BE = 34
     * }
     */
    public static int AV_PIX_FMT_RGB48BE() {
        return AV_PIX_FMT_RGB48BE;
    }
    private static final int AV_PIX_FMT_RGB48LE = (int)35L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGB48LE = 35
     * }
     */
    public static int AV_PIX_FMT_RGB48LE() {
        return AV_PIX_FMT_RGB48LE;
    }
    private static final int AV_PIX_FMT_RGB565BE = (int)36L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGB565BE = 36
     * }
     */
    public static int AV_PIX_FMT_RGB565BE() {
        return AV_PIX_FMT_RGB565BE;
    }
    private static final int AV_PIX_FMT_RGB565LE = (int)37L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGB565LE = 37
     * }
     */
    public static int AV_PIX_FMT_RGB565LE() {
        return AV_PIX_FMT_RGB565LE;
    }
    private static final int AV_PIX_FMT_RGB555BE = (int)38L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGB555BE = 38
     * }
     */
    public static int AV_PIX_FMT_RGB555BE() {
        return AV_PIX_FMT_RGB555BE;
    }
    private static final int AV_PIX_FMT_RGB555LE = (int)39L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGB555LE = 39
     * }
     */
    public static int AV_PIX_FMT_RGB555LE() {
        return AV_PIX_FMT_RGB555LE;
    }
    private static final int AV_PIX_FMT_BGR565BE = (int)40L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGR565BE = 40
     * }
     */
    public static int AV_PIX_FMT_BGR565BE() {
        return AV_PIX_FMT_BGR565BE;
    }
    private static final int AV_PIX_FMT_BGR565LE = (int)41L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGR565LE = 41
     * }
     */
    public static int AV_PIX_FMT_BGR565LE() {
        return AV_PIX_FMT_BGR565LE;
    }
    private static final int AV_PIX_FMT_BGR555BE = (int)42L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGR555BE = 42
     * }
     */
    public static int AV_PIX_FMT_BGR555BE() {
        return AV_PIX_FMT_BGR555BE;
    }
    private static final int AV_PIX_FMT_BGR555LE = (int)43L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGR555LE = 43
     * }
     */
    public static int AV_PIX_FMT_BGR555LE() {
        return AV_PIX_FMT_BGR555LE;
    }
    private static final int AV_PIX_FMT_VAAPI = (int)44L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_VAAPI = 44
     * }
     */
    public static int AV_PIX_FMT_VAAPI() {
        return AV_PIX_FMT_VAAPI;
    }
    private static final int AV_PIX_FMT_YUV420P16LE = (int)45L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV420P16LE = 45
     * }
     */
    public static int AV_PIX_FMT_YUV420P16LE() {
        return AV_PIX_FMT_YUV420P16LE;
    }
    private static final int AV_PIX_FMT_YUV420P16BE = (int)46L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV420P16BE = 46
     * }
     */
    public static int AV_PIX_FMT_YUV420P16BE() {
        return AV_PIX_FMT_YUV420P16BE;
    }
    private static final int AV_PIX_FMT_YUV422P16LE = (int)47L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV422P16LE = 47
     * }
     */
    public static int AV_PIX_FMT_YUV422P16LE() {
        return AV_PIX_FMT_YUV422P16LE;
    }
    private static final int AV_PIX_FMT_YUV422P16BE = (int)48L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV422P16BE = 48
     * }
     */
    public static int AV_PIX_FMT_YUV422P16BE() {
        return AV_PIX_FMT_YUV422P16BE;
    }
    private static final int AV_PIX_FMT_YUV444P16LE = (int)49L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV444P16LE = 49
     * }
     */
    public static int AV_PIX_FMT_YUV444P16LE() {
        return AV_PIX_FMT_YUV444P16LE;
    }
    private static final int AV_PIX_FMT_YUV444P16BE = (int)50L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV444P16BE = 50
     * }
     */
    public static int AV_PIX_FMT_YUV444P16BE() {
        return AV_PIX_FMT_YUV444P16BE;
    }
    private static final int AV_PIX_FMT_DXVA2_VLD = (int)51L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_DXVA2_VLD = 51
     * }
     */
    public static int AV_PIX_FMT_DXVA2_VLD() {
        return AV_PIX_FMT_DXVA2_VLD;
    }
    private static final int AV_PIX_FMT_RGB444LE = (int)52L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGB444LE = 52
     * }
     */
    public static int AV_PIX_FMT_RGB444LE() {
        return AV_PIX_FMT_RGB444LE;
    }
    private static final int AV_PIX_FMT_RGB444BE = (int)53L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGB444BE = 53
     * }
     */
    public static int AV_PIX_FMT_RGB444BE() {
        return AV_PIX_FMT_RGB444BE;
    }
    private static final int AV_PIX_FMT_BGR444LE = (int)54L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGR444LE = 54
     * }
     */
    public static int AV_PIX_FMT_BGR444LE() {
        return AV_PIX_FMT_BGR444LE;
    }
    private static final int AV_PIX_FMT_BGR444BE = (int)55L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGR444BE = 55
     * }
     */
    public static int AV_PIX_FMT_BGR444BE() {
        return AV_PIX_FMT_BGR444BE;
    }
    private static final int AV_PIX_FMT_YA8 = (int)56L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YA8 = 56
     * }
     */
    public static int AV_PIX_FMT_YA8() {
        return AV_PIX_FMT_YA8;
    }
    private static final int AV_PIX_FMT_Y400A = (int)56L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_Y400A = 56
     * }
     */
    public static int AV_PIX_FMT_Y400A() {
        return AV_PIX_FMT_Y400A;
    }
    private static final int AV_PIX_FMT_GRAY8A = (int)56L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GRAY8A = 56
     * }
     */
    public static int AV_PIX_FMT_GRAY8A() {
        return AV_PIX_FMT_GRAY8A;
    }
    private static final int AV_PIX_FMT_BGR48BE = (int)57L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGR48BE = 57
     * }
     */
    public static int AV_PIX_FMT_BGR48BE() {
        return AV_PIX_FMT_BGR48BE;
    }
    private static final int AV_PIX_FMT_BGR48LE = (int)58L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGR48LE = 58
     * }
     */
    public static int AV_PIX_FMT_BGR48LE() {
        return AV_PIX_FMT_BGR48LE;
    }
    private static final int AV_PIX_FMT_YUV420P9BE = (int)59L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV420P9BE = 59
     * }
     */
    public static int AV_PIX_FMT_YUV420P9BE() {
        return AV_PIX_FMT_YUV420P9BE;
    }
    private static final int AV_PIX_FMT_YUV420P9LE = (int)60L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV420P9LE = 60
     * }
     */
    public static int AV_PIX_FMT_YUV420P9LE() {
        return AV_PIX_FMT_YUV420P9LE;
    }
    private static final int AV_PIX_FMT_YUV420P10BE = (int)61L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV420P10BE = 61
     * }
     */
    public static int AV_PIX_FMT_YUV420P10BE() {
        return AV_PIX_FMT_YUV420P10BE;
    }
    private static final int AV_PIX_FMT_YUV420P10LE = (int)62L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV420P10LE = 62
     * }
     */
    public static int AV_PIX_FMT_YUV420P10LE() {
        return AV_PIX_FMT_YUV420P10LE;
    }
    private static final int AV_PIX_FMT_YUV422P10BE = (int)63L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV422P10BE = 63
     * }
     */
    public static int AV_PIX_FMT_YUV422P10BE() {
        return AV_PIX_FMT_YUV422P10BE;
    }
    private static final int AV_PIX_FMT_YUV422P10LE = (int)64L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV422P10LE = 64
     * }
     */
    public static int AV_PIX_FMT_YUV422P10LE() {
        return AV_PIX_FMT_YUV422P10LE;
    }
    private static final int AV_PIX_FMT_YUV444P9BE = (int)65L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV444P9BE = 65
     * }
     */
    public static int AV_PIX_FMT_YUV444P9BE() {
        return AV_PIX_FMT_YUV444P9BE;
    }
    private static final int AV_PIX_FMT_YUV444P9LE = (int)66L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV444P9LE = 66
     * }
     */
    public static int AV_PIX_FMT_YUV444P9LE() {
        return AV_PIX_FMT_YUV444P9LE;
    }
    private static final int AV_PIX_FMT_YUV444P10BE = (int)67L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV444P10BE = 67
     * }
     */
    public static int AV_PIX_FMT_YUV444P10BE() {
        return AV_PIX_FMT_YUV444P10BE;
    }
    private static final int AV_PIX_FMT_YUV444P10LE = (int)68L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV444P10LE = 68
     * }
     */
    public static int AV_PIX_FMT_YUV444P10LE() {
        return AV_PIX_FMT_YUV444P10LE;
    }
    private static final int AV_PIX_FMT_YUV422P9BE = (int)69L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV422P9BE = 69
     * }
     */
    public static int AV_PIX_FMT_YUV422P9BE() {
        return AV_PIX_FMT_YUV422P9BE;
    }
    private static final int AV_PIX_FMT_YUV422P9LE = (int)70L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV422P9LE = 70
     * }
     */
    public static int AV_PIX_FMT_YUV422P9LE() {
        return AV_PIX_FMT_YUV422P9LE;
    }
    private static final int AV_PIX_FMT_GBRP = (int)71L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRP = 71
     * }
     */
    public static int AV_PIX_FMT_GBRP() {
        return AV_PIX_FMT_GBRP;
    }
    private static final int AV_PIX_FMT_GBR24P = (int)71L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBR24P = 71
     * }
     */
    public static int AV_PIX_FMT_GBR24P() {
        return AV_PIX_FMT_GBR24P;
    }
    private static final int AV_PIX_FMT_GBRP9BE = (int)72L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRP9BE = 72
     * }
     */
    public static int AV_PIX_FMT_GBRP9BE() {
        return AV_PIX_FMT_GBRP9BE;
    }
    private static final int AV_PIX_FMT_GBRP9LE = (int)73L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRP9LE = 73
     * }
     */
    public static int AV_PIX_FMT_GBRP9LE() {
        return AV_PIX_FMT_GBRP9LE;
    }
    private static final int AV_PIX_FMT_GBRP10BE = (int)74L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRP10BE = 74
     * }
     */
    public static int AV_PIX_FMT_GBRP10BE() {
        return AV_PIX_FMT_GBRP10BE;
    }
    private static final int AV_PIX_FMT_GBRP10LE = (int)75L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRP10LE = 75
     * }
     */
    public static int AV_PIX_FMT_GBRP10LE() {
        return AV_PIX_FMT_GBRP10LE;
    }
    private static final int AV_PIX_FMT_GBRP16BE = (int)76L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRP16BE = 76
     * }
     */
    public static int AV_PIX_FMT_GBRP16BE() {
        return AV_PIX_FMT_GBRP16BE;
    }
    private static final int AV_PIX_FMT_GBRP16LE = (int)77L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRP16LE = 77
     * }
     */
    public static int AV_PIX_FMT_GBRP16LE() {
        return AV_PIX_FMT_GBRP16LE;
    }
    private static final int AV_PIX_FMT_YUVA422P = (int)78L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA422P = 78
     * }
     */
    public static int AV_PIX_FMT_YUVA422P() {
        return AV_PIX_FMT_YUVA422P;
    }
    private static final int AV_PIX_FMT_YUVA444P = (int)79L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA444P = 79
     * }
     */
    public static int AV_PIX_FMT_YUVA444P() {
        return AV_PIX_FMT_YUVA444P;
    }
    private static final int AV_PIX_FMT_YUVA420P9BE = (int)80L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA420P9BE = 80
     * }
     */
    public static int AV_PIX_FMT_YUVA420P9BE() {
        return AV_PIX_FMT_YUVA420P9BE;
    }
    private static final int AV_PIX_FMT_YUVA420P9LE = (int)81L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA420P9LE = 81
     * }
     */
    public static int AV_PIX_FMT_YUVA420P9LE() {
        return AV_PIX_FMT_YUVA420P9LE;
    }
    private static final int AV_PIX_FMT_YUVA422P9BE = (int)82L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA422P9BE = 82
     * }
     */
    public static int AV_PIX_FMT_YUVA422P9BE() {
        return AV_PIX_FMT_YUVA422P9BE;
    }
    private static final int AV_PIX_FMT_YUVA422P9LE = (int)83L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA422P9LE = 83
     * }
     */
    public static int AV_PIX_FMT_YUVA422P9LE() {
        return AV_PIX_FMT_YUVA422P9LE;
    }
    private static final int AV_PIX_FMT_YUVA444P9BE = (int)84L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA444P9BE = 84
     * }
     */
    public static int AV_PIX_FMT_YUVA444P9BE() {
        return AV_PIX_FMT_YUVA444P9BE;
    }
    private static final int AV_PIX_FMT_YUVA444P9LE = (int)85L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA444P9LE = 85
     * }
     */
    public static int AV_PIX_FMT_YUVA444P9LE() {
        return AV_PIX_FMT_YUVA444P9LE;
    }
    private static final int AV_PIX_FMT_YUVA420P10BE = (int)86L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA420P10BE = 86
     * }
     */
    public static int AV_PIX_FMT_YUVA420P10BE() {
        return AV_PIX_FMT_YUVA420P10BE;
    }
    private static final int AV_PIX_FMT_YUVA420P10LE = (int)87L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA420P10LE = 87
     * }
     */
    public static int AV_PIX_FMT_YUVA420P10LE() {
        return AV_PIX_FMT_YUVA420P10LE;
    }
    private static final int AV_PIX_FMT_YUVA422P10BE = (int)88L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA422P10BE = 88
     * }
     */
    public static int AV_PIX_FMT_YUVA422P10BE() {
        return AV_PIX_FMT_YUVA422P10BE;
    }
    private static final int AV_PIX_FMT_YUVA422P10LE = (int)89L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA422P10LE = 89
     * }
     */
    public static int AV_PIX_FMT_YUVA422P10LE() {
        return AV_PIX_FMT_YUVA422P10LE;
    }
    private static final int AV_PIX_FMT_YUVA444P10BE = (int)90L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA444P10BE = 90
     * }
     */
    public static int AV_PIX_FMT_YUVA444P10BE() {
        return AV_PIX_FMT_YUVA444P10BE;
    }
    private static final int AV_PIX_FMT_YUVA444P10LE = (int)91L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA444P10LE = 91
     * }
     */
    public static int AV_PIX_FMT_YUVA444P10LE() {
        return AV_PIX_FMT_YUVA444P10LE;
    }
    private static final int AV_PIX_FMT_YUVA420P16BE = (int)92L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA420P16BE = 92
     * }
     */
    public static int AV_PIX_FMT_YUVA420P16BE() {
        return AV_PIX_FMT_YUVA420P16BE;
    }
    private static final int AV_PIX_FMT_YUVA420P16LE = (int)93L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA420P16LE = 93
     * }
     */
    public static int AV_PIX_FMT_YUVA420P16LE() {
        return AV_PIX_FMT_YUVA420P16LE;
    }
    private static final int AV_PIX_FMT_YUVA422P16BE = (int)94L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA422P16BE = 94
     * }
     */
    public static int AV_PIX_FMT_YUVA422P16BE() {
        return AV_PIX_FMT_YUVA422P16BE;
    }
    private static final int AV_PIX_FMT_YUVA422P16LE = (int)95L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA422P16LE = 95
     * }
     */
    public static int AV_PIX_FMT_YUVA422P16LE() {
        return AV_PIX_FMT_YUVA422P16LE;
    }
    private static final int AV_PIX_FMT_YUVA444P16BE = (int)96L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA444P16BE = 96
     * }
     */
    public static int AV_PIX_FMT_YUVA444P16BE() {
        return AV_PIX_FMT_YUVA444P16BE;
    }
    private static final int AV_PIX_FMT_YUVA444P16LE = (int)97L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA444P16LE = 97
     * }
     */
    public static int AV_PIX_FMT_YUVA444P16LE() {
        return AV_PIX_FMT_YUVA444P16LE;
    }
    private static final int AV_PIX_FMT_VDPAU = (int)98L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_VDPAU = 98
     * }
     */
    public static int AV_PIX_FMT_VDPAU() {
        return AV_PIX_FMT_VDPAU;
    }
    private static final int AV_PIX_FMT_XYZ12LE = (int)99L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_XYZ12LE = 99
     * }
     */
    public static int AV_PIX_FMT_XYZ12LE() {
        return AV_PIX_FMT_XYZ12LE;
    }
    private static final int AV_PIX_FMT_XYZ12BE = (int)100L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_XYZ12BE = 100
     * }
     */
    public static int AV_PIX_FMT_XYZ12BE() {
        return AV_PIX_FMT_XYZ12BE;
    }
    private static final int AV_PIX_FMT_NV16 = (int)101L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_NV16 = 101
     * }
     */
    public static int AV_PIX_FMT_NV16() {
        return AV_PIX_FMT_NV16;
    }
    private static final int AV_PIX_FMT_NV20LE = (int)102L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_NV20LE = 102
     * }
     */
    public static int AV_PIX_FMT_NV20LE() {
        return AV_PIX_FMT_NV20LE;
    }
    private static final int AV_PIX_FMT_NV20BE = (int)103L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_NV20BE = 103
     * }
     */
    public static int AV_PIX_FMT_NV20BE() {
        return AV_PIX_FMT_NV20BE;
    }
    private static final int AV_PIX_FMT_RGBA64BE = (int)104L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGBA64BE = 104
     * }
     */
    public static int AV_PIX_FMT_RGBA64BE() {
        return AV_PIX_FMT_RGBA64BE;
    }
    private static final int AV_PIX_FMT_RGBA64LE = (int)105L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGBA64LE = 105
     * }
     */
    public static int AV_PIX_FMT_RGBA64LE() {
        return AV_PIX_FMT_RGBA64LE;
    }
    private static final int AV_PIX_FMT_BGRA64BE = (int)106L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGRA64BE = 106
     * }
     */
    public static int AV_PIX_FMT_BGRA64BE() {
        return AV_PIX_FMT_BGRA64BE;
    }
    private static final int AV_PIX_FMT_BGRA64LE = (int)107L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGRA64LE = 107
     * }
     */
    public static int AV_PIX_FMT_BGRA64LE() {
        return AV_PIX_FMT_BGRA64LE;
    }
    private static final int AV_PIX_FMT_YVYU422 = (int)108L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YVYU422 = 108
     * }
     */
    public static int AV_PIX_FMT_YVYU422() {
        return AV_PIX_FMT_YVYU422;
    }
    private static final int AV_PIX_FMT_YA16BE = (int)109L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YA16BE = 109
     * }
     */
    public static int AV_PIX_FMT_YA16BE() {
        return AV_PIX_FMT_YA16BE;
    }
    private static final int AV_PIX_FMT_YA16LE = (int)110L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YA16LE = 110
     * }
     */
    public static int AV_PIX_FMT_YA16LE() {
        return AV_PIX_FMT_YA16LE;
    }
    private static final int AV_PIX_FMT_GBRAP = (int)111L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRAP = 111
     * }
     */
    public static int AV_PIX_FMT_GBRAP() {
        return AV_PIX_FMT_GBRAP;
    }
    private static final int AV_PIX_FMT_GBRAP16BE = (int)112L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRAP16BE = 112
     * }
     */
    public static int AV_PIX_FMT_GBRAP16BE() {
        return AV_PIX_FMT_GBRAP16BE;
    }
    private static final int AV_PIX_FMT_GBRAP16LE = (int)113L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRAP16LE = 113
     * }
     */
    public static int AV_PIX_FMT_GBRAP16LE() {
        return AV_PIX_FMT_GBRAP16LE;
    }
    private static final int AV_PIX_FMT_QSV = (int)114L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_QSV = 114
     * }
     */
    public static int AV_PIX_FMT_QSV() {
        return AV_PIX_FMT_QSV;
    }
    private static final int AV_PIX_FMT_MMAL = (int)115L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_MMAL = 115
     * }
     */
    public static int AV_PIX_FMT_MMAL() {
        return AV_PIX_FMT_MMAL;
    }
    private static final int AV_PIX_FMT_D3D11VA_VLD = (int)116L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_D3D11VA_VLD = 116
     * }
     */
    public static int AV_PIX_FMT_D3D11VA_VLD() {
        return AV_PIX_FMT_D3D11VA_VLD;
    }
    private static final int AV_PIX_FMT_CUDA = (int)117L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_CUDA = 117
     * }
     */
    public static int AV_PIX_FMT_CUDA() {
        return AV_PIX_FMT_CUDA;
    }
    private static final int AV_PIX_FMT_0RGB = (int)118L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_0RGB = 118
     * }
     */
    public static int AV_PIX_FMT_0RGB() {
        return AV_PIX_FMT_0RGB;
    }
    private static final int AV_PIX_FMT_RGB0 = (int)119L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGB0 = 119
     * }
     */
    public static int AV_PIX_FMT_RGB0() {
        return AV_PIX_FMT_RGB0;
    }
    private static final int AV_PIX_FMT_0BGR = (int)120L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_0BGR = 120
     * }
     */
    public static int AV_PIX_FMT_0BGR() {
        return AV_PIX_FMT_0BGR;
    }
    private static final int AV_PIX_FMT_BGR0 = (int)121L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BGR0 = 121
     * }
     */
    public static int AV_PIX_FMT_BGR0() {
        return AV_PIX_FMT_BGR0;
    }
    private static final int AV_PIX_FMT_YUV420P12BE = (int)122L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV420P12BE = 122
     * }
     */
    public static int AV_PIX_FMT_YUV420P12BE() {
        return AV_PIX_FMT_YUV420P12BE;
    }
    private static final int AV_PIX_FMT_YUV420P12LE = (int)123L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV420P12LE = 123
     * }
     */
    public static int AV_PIX_FMT_YUV420P12LE() {
        return AV_PIX_FMT_YUV420P12LE;
    }
    private static final int AV_PIX_FMT_YUV420P14BE = (int)124L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV420P14BE = 124
     * }
     */
    public static int AV_PIX_FMT_YUV420P14BE() {
        return AV_PIX_FMT_YUV420P14BE;
    }
    private static final int AV_PIX_FMT_YUV420P14LE = (int)125L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV420P14LE = 125
     * }
     */
    public static int AV_PIX_FMT_YUV420P14LE() {
        return AV_PIX_FMT_YUV420P14LE;
    }
    private static final int AV_PIX_FMT_YUV422P12BE = (int)126L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV422P12BE = 126
     * }
     */
    public static int AV_PIX_FMT_YUV422P12BE() {
        return AV_PIX_FMT_YUV422P12BE;
    }
    private static final int AV_PIX_FMT_YUV422P12LE = (int)127L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV422P12LE = 127
     * }
     */
    public static int AV_PIX_FMT_YUV422P12LE() {
        return AV_PIX_FMT_YUV422P12LE;
    }
    private static final int AV_PIX_FMT_YUV422P14BE = (int)128L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV422P14BE = 128
     * }
     */
    public static int AV_PIX_FMT_YUV422P14BE() {
        return AV_PIX_FMT_YUV422P14BE;
    }
    private static final int AV_PIX_FMT_YUV422P14LE = (int)129L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV422P14LE = 129
     * }
     */
    public static int AV_PIX_FMT_YUV422P14LE() {
        return AV_PIX_FMT_YUV422P14LE;
    }
    private static final int AV_PIX_FMT_YUV444P12BE = (int)130L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV444P12BE = 130
     * }
     */
    public static int AV_PIX_FMT_YUV444P12BE() {
        return AV_PIX_FMT_YUV444P12BE;
    }
    private static final int AV_PIX_FMT_YUV444P12LE = (int)131L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV444P12LE = 131
     * }
     */
    public static int AV_PIX_FMT_YUV444P12LE() {
        return AV_PIX_FMT_YUV444P12LE;
    }
    private static final int AV_PIX_FMT_YUV444P14BE = (int)132L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV444P14BE = 132
     * }
     */
    public static int AV_PIX_FMT_YUV444P14BE() {
        return AV_PIX_FMT_YUV444P14BE;
    }
    private static final int AV_PIX_FMT_YUV444P14LE = (int)133L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV444P14LE = 133
     * }
     */
    public static int AV_PIX_FMT_YUV444P14LE() {
        return AV_PIX_FMT_YUV444P14LE;
    }
    private static final int AV_PIX_FMT_GBRP12BE = (int)134L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRP12BE = 134
     * }
     */
    public static int AV_PIX_FMT_GBRP12BE() {
        return AV_PIX_FMT_GBRP12BE;
    }
    private static final int AV_PIX_FMT_GBRP12LE = (int)135L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRP12LE = 135
     * }
     */
    public static int AV_PIX_FMT_GBRP12LE() {
        return AV_PIX_FMT_GBRP12LE;
    }
    private static final int AV_PIX_FMT_GBRP14BE = (int)136L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRP14BE = 136
     * }
     */
    public static int AV_PIX_FMT_GBRP14BE() {
        return AV_PIX_FMT_GBRP14BE;
    }
    private static final int AV_PIX_FMT_GBRP14LE = (int)137L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRP14LE = 137
     * }
     */
    public static int AV_PIX_FMT_GBRP14LE() {
        return AV_PIX_FMT_GBRP14LE;
    }
    private static final int AV_PIX_FMT_YUVJ411P = (int)138L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVJ411P = 138
     * }
     */
    public static int AV_PIX_FMT_YUVJ411P() {
        return AV_PIX_FMT_YUVJ411P;
    }
    private static final int AV_PIX_FMT_BAYER_BGGR8 = (int)139L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BAYER_BGGR8 = 139
     * }
     */
    public static int AV_PIX_FMT_BAYER_BGGR8() {
        return AV_PIX_FMT_BAYER_BGGR8;
    }
    private static final int AV_PIX_FMT_BAYER_RGGB8 = (int)140L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BAYER_RGGB8 = 140
     * }
     */
    public static int AV_PIX_FMT_BAYER_RGGB8() {
        return AV_PIX_FMT_BAYER_RGGB8;
    }
    private static final int AV_PIX_FMT_BAYER_GBRG8 = (int)141L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BAYER_GBRG8 = 141
     * }
     */
    public static int AV_PIX_FMT_BAYER_GBRG8() {
        return AV_PIX_FMT_BAYER_GBRG8;
    }
    private static final int AV_PIX_FMT_BAYER_GRBG8 = (int)142L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BAYER_GRBG8 = 142
     * }
     */
    public static int AV_PIX_FMT_BAYER_GRBG8() {
        return AV_PIX_FMT_BAYER_GRBG8;
    }
    private static final int AV_PIX_FMT_BAYER_BGGR16LE = (int)143L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BAYER_BGGR16LE = 143
     * }
     */
    public static int AV_PIX_FMT_BAYER_BGGR16LE() {
        return AV_PIX_FMT_BAYER_BGGR16LE;
    }
    private static final int AV_PIX_FMT_BAYER_BGGR16BE = (int)144L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BAYER_BGGR16BE = 144
     * }
     */
    public static int AV_PIX_FMT_BAYER_BGGR16BE() {
        return AV_PIX_FMT_BAYER_BGGR16BE;
    }
    private static final int AV_PIX_FMT_BAYER_RGGB16LE = (int)145L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BAYER_RGGB16LE = 145
     * }
     */
    public static int AV_PIX_FMT_BAYER_RGGB16LE() {
        return AV_PIX_FMT_BAYER_RGGB16LE;
    }
    private static final int AV_PIX_FMT_BAYER_RGGB16BE = (int)146L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BAYER_RGGB16BE = 146
     * }
     */
    public static int AV_PIX_FMT_BAYER_RGGB16BE() {
        return AV_PIX_FMT_BAYER_RGGB16BE;
    }
    private static final int AV_PIX_FMT_BAYER_GBRG16LE = (int)147L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BAYER_GBRG16LE = 147
     * }
     */
    public static int AV_PIX_FMT_BAYER_GBRG16LE() {
        return AV_PIX_FMT_BAYER_GBRG16LE;
    }
    private static final int AV_PIX_FMT_BAYER_GBRG16BE = (int)148L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BAYER_GBRG16BE = 148
     * }
     */
    public static int AV_PIX_FMT_BAYER_GBRG16BE() {
        return AV_PIX_FMT_BAYER_GBRG16BE;
    }
    private static final int AV_PIX_FMT_BAYER_GRBG16LE = (int)149L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BAYER_GRBG16LE = 149
     * }
     */
    public static int AV_PIX_FMT_BAYER_GRBG16LE() {
        return AV_PIX_FMT_BAYER_GRBG16LE;
    }
    private static final int AV_PIX_FMT_BAYER_GRBG16BE = (int)150L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_BAYER_GRBG16BE = 150
     * }
     */
    public static int AV_PIX_FMT_BAYER_GRBG16BE() {
        return AV_PIX_FMT_BAYER_GRBG16BE;
    }
    private static final int AV_PIX_FMT_YUV440P10LE = (int)151L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV440P10LE = 151
     * }
     */
    public static int AV_PIX_FMT_YUV440P10LE() {
        return AV_PIX_FMT_YUV440P10LE;
    }
    private static final int AV_PIX_FMT_YUV440P10BE = (int)152L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV440P10BE = 152
     * }
     */
    public static int AV_PIX_FMT_YUV440P10BE() {
        return AV_PIX_FMT_YUV440P10BE;
    }
    private static final int AV_PIX_FMT_YUV440P12LE = (int)153L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV440P12LE = 153
     * }
     */
    public static int AV_PIX_FMT_YUV440P12LE() {
        return AV_PIX_FMT_YUV440P12LE;
    }
    private static final int AV_PIX_FMT_YUV440P12BE = (int)154L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUV440P12BE = 154
     * }
     */
    public static int AV_PIX_FMT_YUV440P12BE() {
        return AV_PIX_FMT_YUV440P12BE;
    }
    private static final int AV_PIX_FMT_AYUV64LE = (int)155L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_AYUV64LE = 155
     * }
     */
    public static int AV_PIX_FMT_AYUV64LE() {
        return AV_PIX_FMT_AYUV64LE;
    }
    private static final int AV_PIX_FMT_AYUV64BE = (int)156L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_AYUV64BE = 156
     * }
     */
    public static int AV_PIX_FMT_AYUV64BE() {
        return AV_PIX_FMT_AYUV64BE;
    }
    private static final int AV_PIX_FMT_VIDEOTOOLBOX = (int)157L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_VIDEOTOOLBOX = 157
     * }
     */
    public static int AV_PIX_FMT_VIDEOTOOLBOX() {
        return AV_PIX_FMT_VIDEOTOOLBOX;
    }
    private static final int AV_PIX_FMT_P010LE = (int)158L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P010LE = 158
     * }
     */
    public static int AV_PIX_FMT_P010LE() {
        return AV_PIX_FMT_P010LE;
    }
    private static final int AV_PIX_FMT_P010BE = (int)159L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P010BE = 159
     * }
     */
    public static int AV_PIX_FMT_P010BE() {
        return AV_PIX_FMT_P010BE;
    }
    private static final int AV_PIX_FMT_GBRAP12BE = (int)160L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRAP12BE = 160
     * }
     */
    public static int AV_PIX_FMT_GBRAP12BE() {
        return AV_PIX_FMT_GBRAP12BE;
    }
    private static final int AV_PIX_FMT_GBRAP12LE = (int)161L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRAP12LE = 161
     * }
     */
    public static int AV_PIX_FMT_GBRAP12LE() {
        return AV_PIX_FMT_GBRAP12LE;
    }
    private static final int AV_PIX_FMT_GBRAP10BE = (int)162L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRAP10BE = 162
     * }
     */
    public static int AV_PIX_FMT_GBRAP10BE() {
        return AV_PIX_FMT_GBRAP10BE;
    }
    private static final int AV_PIX_FMT_GBRAP10LE = (int)163L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRAP10LE = 163
     * }
     */
    public static int AV_PIX_FMT_GBRAP10LE() {
        return AV_PIX_FMT_GBRAP10LE;
    }
    private static final int AV_PIX_FMT_MEDIACODEC = (int)164L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_MEDIACODEC = 164
     * }
     */
    public static int AV_PIX_FMT_MEDIACODEC() {
        return AV_PIX_FMT_MEDIACODEC;
    }
    private static final int AV_PIX_FMT_GRAY12BE = (int)165L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GRAY12BE = 165
     * }
     */
    public static int AV_PIX_FMT_GRAY12BE() {
        return AV_PIX_FMT_GRAY12BE;
    }
    private static final int AV_PIX_FMT_GRAY12LE = (int)166L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GRAY12LE = 166
     * }
     */
    public static int AV_PIX_FMT_GRAY12LE() {
        return AV_PIX_FMT_GRAY12LE;
    }
    private static final int AV_PIX_FMT_GRAY10BE = (int)167L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GRAY10BE = 167
     * }
     */
    public static int AV_PIX_FMT_GRAY10BE() {
        return AV_PIX_FMT_GRAY10BE;
    }
    private static final int AV_PIX_FMT_GRAY10LE = (int)168L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GRAY10LE = 168
     * }
     */
    public static int AV_PIX_FMT_GRAY10LE() {
        return AV_PIX_FMT_GRAY10LE;
    }
    private static final int AV_PIX_FMT_P016LE = (int)169L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P016LE = 169
     * }
     */
    public static int AV_PIX_FMT_P016LE() {
        return AV_PIX_FMT_P016LE;
    }
    private static final int AV_PIX_FMT_P016BE = (int)170L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P016BE = 170
     * }
     */
    public static int AV_PIX_FMT_P016BE() {
        return AV_PIX_FMT_P016BE;
    }
    private static final int AV_PIX_FMT_D3D11 = (int)171L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_D3D11 = 171
     * }
     */
    public static int AV_PIX_FMT_D3D11() {
        return AV_PIX_FMT_D3D11;
    }
    private static final int AV_PIX_FMT_GRAY9BE = (int)172L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GRAY9BE = 172
     * }
     */
    public static int AV_PIX_FMT_GRAY9BE() {
        return AV_PIX_FMT_GRAY9BE;
    }
    private static final int AV_PIX_FMT_GRAY9LE = (int)173L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GRAY9LE = 173
     * }
     */
    public static int AV_PIX_FMT_GRAY9LE() {
        return AV_PIX_FMT_GRAY9LE;
    }
    private static final int AV_PIX_FMT_GBRPF32BE = (int)174L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRPF32BE = 174
     * }
     */
    public static int AV_PIX_FMT_GBRPF32BE() {
        return AV_PIX_FMT_GBRPF32BE;
    }
    private static final int AV_PIX_FMT_GBRPF32LE = (int)175L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRPF32LE = 175
     * }
     */
    public static int AV_PIX_FMT_GBRPF32LE() {
        return AV_PIX_FMT_GBRPF32LE;
    }
    private static final int AV_PIX_FMT_GBRAPF32BE = (int)176L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRAPF32BE = 176
     * }
     */
    public static int AV_PIX_FMT_GBRAPF32BE() {
        return AV_PIX_FMT_GBRAPF32BE;
    }
    private static final int AV_PIX_FMT_GBRAPF32LE = (int)177L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRAPF32LE = 177
     * }
     */
    public static int AV_PIX_FMT_GBRAPF32LE() {
        return AV_PIX_FMT_GBRAPF32LE;
    }
    private static final int AV_PIX_FMT_DRM_PRIME = (int)178L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_DRM_PRIME = 178
     * }
     */
    public static int AV_PIX_FMT_DRM_PRIME() {
        return AV_PIX_FMT_DRM_PRIME;
    }
    private static final int AV_PIX_FMT_OPENCL = (int)179L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_OPENCL = 179
     * }
     */
    public static int AV_PIX_FMT_OPENCL() {
        return AV_PIX_FMT_OPENCL;
    }
    private static final int AV_PIX_FMT_GRAY14BE = (int)180L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GRAY14BE = 180
     * }
     */
    public static int AV_PIX_FMT_GRAY14BE() {
        return AV_PIX_FMT_GRAY14BE;
    }
    private static final int AV_PIX_FMT_GRAY14LE = (int)181L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GRAY14LE = 181
     * }
     */
    public static int AV_PIX_FMT_GRAY14LE() {
        return AV_PIX_FMT_GRAY14LE;
    }
    private static final int AV_PIX_FMT_GRAYF32BE = (int)182L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GRAYF32BE = 182
     * }
     */
    public static int AV_PIX_FMT_GRAYF32BE() {
        return AV_PIX_FMT_GRAYF32BE;
    }
    private static final int AV_PIX_FMT_GRAYF32LE = (int)183L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GRAYF32LE = 183
     * }
     */
    public static int AV_PIX_FMT_GRAYF32LE() {
        return AV_PIX_FMT_GRAYF32LE;
    }
    private static final int AV_PIX_FMT_YUVA422P12BE = (int)184L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA422P12BE = 184
     * }
     */
    public static int AV_PIX_FMT_YUVA422P12BE() {
        return AV_PIX_FMT_YUVA422P12BE;
    }
    private static final int AV_PIX_FMT_YUVA422P12LE = (int)185L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA422P12LE = 185
     * }
     */
    public static int AV_PIX_FMT_YUVA422P12LE() {
        return AV_PIX_FMT_YUVA422P12LE;
    }
    private static final int AV_PIX_FMT_YUVA444P12BE = (int)186L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA444P12BE = 186
     * }
     */
    public static int AV_PIX_FMT_YUVA444P12BE() {
        return AV_PIX_FMT_YUVA444P12BE;
    }
    private static final int AV_PIX_FMT_YUVA444P12LE = (int)187L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_YUVA444P12LE = 187
     * }
     */
    public static int AV_PIX_FMT_YUVA444P12LE() {
        return AV_PIX_FMT_YUVA444P12LE;
    }
    private static final int AV_PIX_FMT_NV24 = (int)188L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_NV24 = 188
     * }
     */
    public static int AV_PIX_FMT_NV24() {
        return AV_PIX_FMT_NV24;
    }
    private static final int AV_PIX_FMT_NV42 = (int)189L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_NV42 = 189
     * }
     */
    public static int AV_PIX_FMT_NV42() {
        return AV_PIX_FMT_NV42;
    }
    private static final int AV_PIX_FMT_VULKAN = (int)190L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_VULKAN = 190
     * }
     */
    public static int AV_PIX_FMT_VULKAN() {
        return AV_PIX_FMT_VULKAN;
    }
    private static final int AV_PIX_FMT_Y210BE = (int)191L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_Y210BE = 191
     * }
     */
    public static int AV_PIX_FMT_Y210BE() {
        return AV_PIX_FMT_Y210BE;
    }
    private static final int AV_PIX_FMT_Y210LE = (int)192L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_Y210LE = 192
     * }
     */
    public static int AV_PIX_FMT_Y210LE() {
        return AV_PIX_FMT_Y210LE;
    }
    private static final int AV_PIX_FMT_X2RGB10LE = (int)193L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_X2RGB10LE = 193
     * }
     */
    public static int AV_PIX_FMT_X2RGB10LE() {
        return AV_PIX_FMT_X2RGB10LE;
    }
    private static final int AV_PIX_FMT_X2RGB10BE = (int)194L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_X2RGB10BE = 194
     * }
     */
    public static int AV_PIX_FMT_X2RGB10BE() {
        return AV_PIX_FMT_X2RGB10BE;
    }
    private static final int AV_PIX_FMT_X2BGR10LE = (int)195L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_X2BGR10LE = 195
     * }
     */
    public static int AV_PIX_FMT_X2BGR10LE() {
        return AV_PIX_FMT_X2BGR10LE;
    }
    private static final int AV_PIX_FMT_X2BGR10BE = (int)196L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_X2BGR10BE = 196
     * }
     */
    public static int AV_PIX_FMT_X2BGR10BE() {
        return AV_PIX_FMT_X2BGR10BE;
    }
    private static final int AV_PIX_FMT_P210BE = (int)197L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P210BE = 197
     * }
     */
    public static int AV_PIX_FMT_P210BE() {
        return AV_PIX_FMT_P210BE;
    }
    private static final int AV_PIX_FMT_P210LE = (int)198L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P210LE = 198
     * }
     */
    public static int AV_PIX_FMT_P210LE() {
        return AV_PIX_FMT_P210LE;
    }
    private static final int AV_PIX_FMT_P410BE = (int)199L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P410BE = 199
     * }
     */
    public static int AV_PIX_FMT_P410BE() {
        return AV_PIX_FMT_P410BE;
    }
    private static final int AV_PIX_FMT_P410LE = (int)200L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P410LE = 200
     * }
     */
    public static int AV_PIX_FMT_P410LE() {
        return AV_PIX_FMT_P410LE;
    }
    private static final int AV_PIX_FMT_P216BE = (int)201L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P216BE = 201
     * }
     */
    public static int AV_PIX_FMT_P216BE() {
        return AV_PIX_FMT_P216BE;
    }
    private static final int AV_PIX_FMT_P216LE = (int)202L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P216LE = 202
     * }
     */
    public static int AV_PIX_FMT_P216LE() {
        return AV_PIX_FMT_P216LE;
    }
    private static final int AV_PIX_FMT_P416BE = (int)203L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P416BE = 203
     * }
     */
    public static int AV_PIX_FMT_P416BE() {
        return AV_PIX_FMT_P416BE;
    }
    private static final int AV_PIX_FMT_P416LE = (int)204L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P416LE = 204
     * }
     */
    public static int AV_PIX_FMT_P416LE() {
        return AV_PIX_FMT_P416LE;
    }
    private static final int AV_PIX_FMT_VUYA = (int)205L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_VUYA = 205
     * }
     */
    public static int AV_PIX_FMT_VUYA() {
        return AV_PIX_FMT_VUYA;
    }
    private static final int AV_PIX_FMT_RGBAF16BE = (int)206L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGBAF16BE = 206
     * }
     */
    public static int AV_PIX_FMT_RGBAF16BE() {
        return AV_PIX_FMT_RGBAF16BE;
    }
    private static final int AV_PIX_FMT_RGBAF16LE = (int)207L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGBAF16LE = 207
     * }
     */
    public static int AV_PIX_FMT_RGBAF16LE() {
        return AV_PIX_FMT_RGBAF16LE;
    }
    private static final int AV_PIX_FMT_VUYX = (int)208L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_VUYX = 208
     * }
     */
    public static int AV_PIX_FMT_VUYX() {
        return AV_PIX_FMT_VUYX;
    }
    private static final int AV_PIX_FMT_P012LE = (int)209L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P012LE = 209
     * }
     */
    public static int AV_PIX_FMT_P012LE() {
        return AV_PIX_FMT_P012LE;
    }
    private static final int AV_PIX_FMT_P012BE = (int)210L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P012BE = 210
     * }
     */
    public static int AV_PIX_FMT_P012BE() {
        return AV_PIX_FMT_P012BE;
    }
    private static final int AV_PIX_FMT_Y212BE = (int)211L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_Y212BE = 211
     * }
     */
    public static int AV_PIX_FMT_Y212BE() {
        return AV_PIX_FMT_Y212BE;
    }
    private static final int AV_PIX_FMT_Y212LE = (int)212L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_Y212LE = 212
     * }
     */
    public static int AV_PIX_FMT_Y212LE() {
        return AV_PIX_FMT_Y212LE;
    }
    private static final int AV_PIX_FMT_XV30BE = (int)213L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_XV30BE = 213
     * }
     */
    public static int AV_PIX_FMT_XV30BE() {
        return AV_PIX_FMT_XV30BE;
    }
    private static final int AV_PIX_FMT_XV30LE = (int)214L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_XV30LE = 214
     * }
     */
    public static int AV_PIX_FMT_XV30LE() {
        return AV_PIX_FMT_XV30LE;
    }
    private static final int AV_PIX_FMT_XV36BE = (int)215L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_XV36BE = 215
     * }
     */
    public static int AV_PIX_FMT_XV36BE() {
        return AV_PIX_FMT_XV36BE;
    }
    private static final int AV_PIX_FMT_XV36LE = (int)216L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_XV36LE = 216
     * }
     */
    public static int AV_PIX_FMT_XV36LE() {
        return AV_PIX_FMT_XV36LE;
    }
    private static final int AV_PIX_FMT_RGBF32BE = (int)217L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGBF32BE = 217
     * }
     */
    public static int AV_PIX_FMT_RGBF32BE() {
        return AV_PIX_FMT_RGBF32BE;
    }
    private static final int AV_PIX_FMT_RGBF32LE = (int)218L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGBF32LE = 218
     * }
     */
    public static int AV_PIX_FMT_RGBF32LE() {
        return AV_PIX_FMT_RGBF32LE;
    }
    private static final int AV_PIX_FMT_RGBAF32BE = (int)219L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGBAF32BE = 219
     * }
     */
    public static int AV_PIX_FMT_RGBAF32BE() {
        return AV_PIX_FMT_RGBAF32BE;
    }
    private static final int AV_PIX_FMT_RGBAF32LE = (int)220L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_RGBAF32LE = 220
     * }
     */
    public static int AV_PIX_FMT_RGBAF32LE() {
        return AV_PIX_FMT_RGBAF32LE;
    }
    private static final int AV_PIX_FMT_P212BE = (int)221L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P212BE = 221
     * }
     */
    public static int AV_PIX_FMT_P212BE() {
        return AV_PIX_FMT_P212BE;
    }
    private static final int AV_PIX_FMT_P212LE = (int)222L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P212LE = 222
     * }
     */
    public static int AV_PIX_FMT_P212LE() {
        return AV_PIX_FMT_P212LE;
    }
    private static final int AV_PIX_FMT_P412BE = (int)223L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P412BE = 223
     * }
     */
    public static int AV_PIX_FMT_P412BE() {
        return AV_PIX_FMT_P412BE;
    }
    private static final int AV_PIX_FMT_P412LE = (int)224L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_P412LE = 224
     * }
     */
    public static int AV_PIX_FMT_P412LE() {
        return AV_PIX_FMT_P412LE;
    }
    private static final int AV_PIX_FMT_GBRAP14BE = (int)225L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRAP14BE = 225
     * }
     */
    public static int AV_PIX_FMT_GBRAP14BE() {
        return AV_PIX_FMT_GBRAP14BE;
    }
    private static final int AV_PIX_FMT_GBRAP14LE = (int)226L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_GBRAP14LE = 226
     * }
     */
    public static int AV_PIX_FMT_GBRAP14LE() {
        return AV_PIX_FMT_GBRAP14LE;
    }
    private static final int AV_PIX_FMT_D3D12 = (int)227L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_D3D12 = 227
     * }
     */
    public static int AV_PIX_FMT_D3D12() {
        return AV_PIX_FMT_D3D12;
    }
    private static final int AV_PIX_FMT_NB = (int)228L;
    /**
     * {@snippet lang=c :
     * enum AVPixelFormat.AV_PIX_FMT_NB = 228
     * }
     */
    public static int AV_PIX_FMT_NB() {
        return AV_PIX_FMT_NB;
    }
    private static final int AVCOL_PRI_RESERVED0 = (int)0L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_RESERVED0 = 0
     * }
     */
    public static int AVCOL_PRI_RESERVED0() {
        return AVCOL_PRI_RESERVED0;
    }
    private static final int AVCOL_PRI_BT709 = (int)1L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_BT709 = 1
     * }
     */
    public static int AVCOL_PRI_BT709() {
        return AVCOL_PRI_BT709;
    }
    private static final int AVCOL_PRI_UNSPECIFIED = (int)2L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_UNSPECIFIED = 2
     * }
     */
    public static int AVCOL_PRI_UNSPECIFIED() {
        return AVCOL_PRI_UNSPECIFIED;
    }
    private static final int AVCOL_PRI_RESERVED = (int)3L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_RESERVED = 3
     * }
     */
    public static int AVCOL_PRI_RESERVED() {
        return AVCOL_PRI_RESERVED;
    }
    private static final int AVCOL_PRI_BT470M = (int)4L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_BT470M = 4
     * }
     */
    public static int AVCOL_PRI_BT470M() {
        return AVCOL_PRI_BT470M;
    }
    private static final int AVCOL_PRI_BT470BG = (int)5L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_BT470BG = 5
     * }
     */
    public static int AVCOL_PRI_BT470BG() {
        return AVCOL_PRI_BT470BG;
    }
    private static final int AVCOL_PRI_SMPTE170M = (int)6L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_SMPTE170M = 6
     * }
     */
    public static int AVCOL_PRI_SMPTE170M() {
        return AVCOL_PRI_SMPTE170M;
    }
    private static final int AVCOL_PRI_SMPTE240M = (int)7L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_SMPTE240M = 7
     * }
     */
    public static int AVCOL_PRI_SMPTE240M() {
        return AVCOL_PRI_SMPTE240M;
    }
    private static final int AVCOL_PRI_FILM = (int)8L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_FILM = 8
     * }
     */
    public static int AVCOL_PRI_FILM() {
        return AVCOL_PRI_FILM;
    }
    private static final int AVCOL_PRI_BT2020 = (int)9L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_BT2020 = 9
     * }
     */
    public static int AVCOL_PRI_BT2020() {
        return AVCOL_PRI_BT2020;
    }
    private static final int AVCOL_PRI_SMPTE428 = (int)10L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_SMPTE428 = 10
     * }
     */
    public static int AVCOL_PRI_SMPTE428() {
        return AVCOL_PRI_SMPTE428;
    }
    private static final int AVCOL_PRI_SMPTEST428_1 = (int)10L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_SMPTEST428_1 = 10
     * }
     */
    public static int AVCOL_PRI_SMPTEST428_1() {
        return AVCOL_PRI_SMPTEST428_1;
    }
    private static final int AVCOL_PRI_SMPTE431 = (int)11L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_SMPTE431 = 11
     * }
     */
    public static int AVCOL_PRI_SMPTE431() {
        return AVCOL_PRI_SMPTE431;
    }
    private static final int AVCOL_PRI_SMPTE432 = (int)12L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_SMPTE432 = 12
     * }
     */
    public static int AVCOL_PRI_SMPTE432() {
        return AVCOL_PRI_SMPTE432;
    }
    private static final int AVCOL_PRI_EBU3213 = (int)22L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_EBU3213 = 22
     * }
     */
    public static int AVCOL_PRI_EBU3213() {
        return AVCOL_PRI_EBU3213;
    }
    private static final int AVCOL_PRI_JEDEC_P22 = (int)22L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_JEDEC_P22 = 22
     * }
     */
    public static int AVCOL_PRI_JEDEC_P22() {
        return AVCOL_PRI_JEDEC_P22;
    }
    private static final int AVCOL_PRI_NB = (int)23L;
    /**
     * {@snippet lang=c :
     * enum AVColorPrimaries.AVCOL_PRI_NB = 23
     * }
     */
    public static int AVCOL_PRI_NB() {
        return AVCOL_PRI_NB;
    }
    private static final int AVCOL_TRC_RESERVED0 = (int)0L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_RESERVED0 = 0
     * }
     */
    public static int AVCOL_TRC_RESERVED0() {
        return AVCOL_TRC_RESERVED0;
    }
    private static final int AVCOL_TRC_BT709 = (int)1L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_BT709 = 1
     * }
     */
    public static int AVCOL_TRC_BT709() {
        return AVCOL_TRC_BT709;
    }
    private static final int AVCOL_TRC_UNSPECIFIED = (int)2L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_UNSPECIFIED = 2
     * }
     */
    public static int AVCOL_TRC_UNSPECIFIED() {
        return AVCOL_TRC_UNSPECIFIED;
    }
    private static final int AVCOL_TRC_RESERVED = (int)3L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_RESERVED = 3
     * }
     */
    public static int AVCOL_TRC_RESERVED() {
        return AVCOL_TRC_RESERVED;
    }
    private static final int AVCOL_TRC_GAMMA22 = (int)4L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_GAMMA22 = 4
     * }
     */
    public static int AVCOL_TRC_GAMMA22() {
        return AVCOL_TRC_GAMMA22;
    }
    private static final int AVCOL_TRC_GAMMA28 = (int)5L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_GAMMA28 = 5
     * }
     */
    public static int AVCOL_TRC_GAMMA28() {
        return AVCOL_TRC_GAMMA28;
    }
    private static final int AVCOL_TRC_SMPTE170M = (int)6L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_SMPTE170M = 6
     * }
     */
    public static int AVCOL_TRC_SMPTE170M() {
        return AVCOL_TRC_SMPTE170M;
    }
    private static final int AVCOL_TRC_SMPTE240M = (int)7L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_SMPTE240M = 7
     * }
     */
    public static int AVCOL_TRC_SMPTE240M() {
        return AVCOL_TRC_SMPTE240M;
    }
    private static final int AVCOL_TRC_LINEAR = (int)8L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_LINEAR = 8
     * }
     */
    public static int AVCOL_TRC_LINEAR() {
        return AVCOL_TRC_LINEAR;
    }
    private static final int AVCOL_TRC_LOG = (int)9L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_LOG = 9
     * }
     */
    public static int AVCOL_TRC_LOG() {
        return AVCOL_TRC_LOG;
    }
    private static final int AVCOL_TRC_LOG_SQRT = (int)10L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_LOG_SQRT = 10
     * }
     */
    public static int AVCOL_TRC_LOG_SQRT() {
        return AVCOL_TRC_LOG_SQRT;
    }
    private static final int AVCOL_TRC_IEC61966_2_4 = (int)11L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_IEC61966_2_4 = 11
     * }
     */
    public static int AVCOL_TRC_IEC61966_2_4() {
        return AVCOL_TRC_IEC61966_2_4;
    }
    private static final int AVCOL_TRC_BT1361_ECG = (int)12L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_BT1361_ECG = 12
     * }
     */
    public static int AVCOL_TRC_BT1361_ECG() {
        return AVCOL_TRC_BT1361_ECG;
    }
    private static final int AVCOL_TRC_IEC61966_2_1 = (int)13L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_IEC61966_2_1 = 13
     * }
     */
    public static int AVCOL_TRC_IEC61966_2_1() {
        return AVCOL_TRC_IEC61966_2_1;
    }
    private static final int AVCOL_TRC_BT2020_10 = (int)14L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_BT2020_10 = 14
     * }
     */
    public static int AVCOL_TRC_BT2020_10() {
        return AVCOL_TRC_BT2020_10;
    }
    private static final int AVCOL_TRC_BT2020_12 = (int)15L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_BT2020_12 = 15
     * }
     */
    public static int AVCOL_TRC_BT2020_12() {
        return AVCOL_TRC_BT2020_12;
    }
    private static final int AVCOL_TRC_SMPTE2084 = (int)16L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_SMPTE2084 = 16
     * }
     */
    public static int AVCOL_TRC_SMPTE2084() {
        return AVCOL_TRC_SMPTE2084;
    }
    private static final int AVCOL_TRC_SMPTEST2084 = (int)16L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_SMPTEST2084 = 16
     * }
     */
    public static int AVCOL_TRC_SMPTEST2084() {
        return AVCOL_TRC_SMPTEST2084;
    }
    private static final int AVCOL_TRC_SMPTE428 = (int)17L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_SMPTE428 = 17
     * }
     */
    public static int AVCOL_TRC_SMPTE428() {
        return AVCOL_TRC_SMPTE428;
    }
    private static final int AVCOL_TRC_SMPTEST428_1 = (int)17L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_SMPTEST428_1 = 17
     * }
     */
    public static int AVCOL_TRC_SMPTEST428_1() {
        return AVCOL_TRC_SMPTEST428_1;
    }
    private static final int AVCOL_TRC_ARIB_STD_B67 = (int)18L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_ARIB_STD_B67 = 18
     * }
     */
    public static int AVCOL_TRC_ARIB_STD_B67() {
        return AVCOL_TRC_ARIB_STD_B67;
    }
    private static final int AVCOL_TRC_NB = (int)19L;
    /**
     * {@snippet lang=c :
     * enum AVColorTransferCharacteristic.AVCOL_TRC_NB = 19
     * }
     */
    public static int AVCOL_TRC_NB() {
        return AVCOL_TRC_NB;
    }
    private static final int AVCOL_SPC_RGB = (int)0L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_RGB = 0
     * }
     */
    public static int AVCOL_SPC_RGB() {
        return AVCOL_SPC_RGB;
    }
    private static final int AVCOL_SPC_BT709 = (int)1L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_BT709 = 1
     * }
     */
    public static int AVCOL_SPC_BT709() {
        return AVCOL_SPC_BT709;
    }
    private static final int AVCOL_SPC_UNSPECIFIED = (int)2L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_UNSPECIFIED = 2
     * }
     */
    public static int AVCOL_SPC_UNSPECIFIED() {
        return AVCOL_SPC_UNSPECIFIED;
    }
    private static final int AVCOL_SPC_RESERVED = (int)3L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_RESERVED = 3
     * }
     */
    public static int AVCOL_SPC_RESERVED() {
        return AVCOL_SPC_RESERVED;
    }
    private static final int AVCOL_SPC_FCC = (int)4L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_FCC = 4
     * }
     */
    public static int AVCOL_SPC_FCC() {
        return AVCOL_SPC_FCC;
    }
    private static final int AVCOL_SPC_BT470BG = (int)5L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_BT470BG = 5
     * }
     */
    public static int AVCOL_SPC_BT470BG() {
        return AVCOL_SPC_BT470BG;
    }
    private static final int AVCOL_SPC_SMPTE170M = (int)6L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_SMPTE170M = 6
     * }
     */
    public static int AVCOL_SPC_SMPTE170M() {
        return AVCOL_SPC_SMPTE170M;
    }
    private static final int AVCOL_SPC_SMPTE240M = (int)7L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_SMPTE240M = 7
     * }
     */
    public static int AVCOL_SPC_SMPTE240M() {
        return AVCOL_SPC_SMPTE240M;
    }
    private static final int AVCOL_SPC_YCGCO = (int)8L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_YCGCO = 8
     * }
     */
    public static int AVCOL_SPC_YCGCO() {
        return AVCOL_SPC_YCGCO;
    }
    private static final int AVCOL_SPC_YCOCG = (int)8L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_YCOCG = 8
     * }
     */
    public static int AVCOL_SPC_YCOCG() {
        return AVCOL_SPC_YCOCG;
    }
    private static final int AVCOL_SPC_BT2020_NCL = (int)9L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_BT2020_NCL = 9
     * }
     */
    public static int AVCOL_SPC_BT2020_NCL() {
        return AVCOL_SPC_BT2020_NCL;
    }
    private static final int AVCOL_SPC_BT2020_CL = (int)10L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_BT2020_CL = 10
     * }
     */
    public static int AVCOL_SPC_BT2020_CL() {
        return AVCOL_SPC_BT2020_CL;
    }
    private static final int AVCOL_SPC_SMPTE2085 = (int)11L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_SMPTE2085 = 11
     * }
     */
    public static int AVCOL_SPC_SMPTE2085() {
        return AVCOL_SPC_SMPTE2085;
    }
    private static final int AVCOL_SPC_CHROMA_DERIVED_NCL = (int)12L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_CHROMA_DERIVED_NCL = 12
     * }
     */
    public static int AVCOL_SPC_CHROMA_DERIVED_NCL() {
        return AVCOL_SPC_CHROMA_DERIVED_NCL;
    }
    private static final int AVCOL_SPC_CHROMA_DERIVED_CL = (int)13L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_CHROMA_DERIVED_CL = 13
     * }
     */
    public static int AVCOL_SPC_CHROMA_DERIVED_CL() {
        return AVCOL_SPC_CHROMA_DERIVED_CL;
    }
    private static final int AVCOL_SPC_ICTCP = (int)14L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_ICTCP = 14
     * }
     */
    public static int AVCOL_SPC_ICTCP() {
        return AVCOL_SPC_ICTCP;
    }
    private static final int AVCOL_SPC_NB = (int)15L;
    /**
     * {@snippet lang=c :
     * enum AVColorSpace.AVCOL_SPC_NB = 15
     * }
     */
    public static int AVCOL_SPC_NB() {
        return AVCOL_SPC_NB;
    }
    private static final int AVCOL_RANGE_UNSPECIFIED = (int)0L;
    /**
     * {@snippet lang=c :
     * enum AVColorRange.AVCOL_RANGE_UNSPECIFIED = 0
     * }
     */
    public static int AVCOL_RANGE_UNSPECIFIED() {
        return AVCOL_RANGE_UNSPECIFIED;
    }
    private static final int AVCOL_RANGE_MPEG = (int)1L;
    /**
     * {@snippet lang=c :
     * enum AVColorRange.AVCOL_RANGE_MPEG = 1
     * }
     */
    public static int AVCOL_RANGE_MPEG() {
        return AVCOL_RANGE_MPEG;
    }
    private static final int AVCOL_RANGE_JPEG = (int)2L;
    /**
     * {@snippet lang=c :
     * enum AVColorRange.AVCOL_RANGE_JPEG = 2
     * }
     */
    public static int AVCOL_RANGE_JPEG() {
        return AVCOL_RANGE_JPEG;
    }
    private static final int AVCOL_RANGE_NB = (int)3L;
    /**
     * {@snippet lang=c :
     * enum AVColorRange.AVCOL_RANGE_NB = 3
     * }
     */
    public static int AVCOL_RANGE_NB() {
        return AVCOL_RANGE_NB;
    }
    private static final int AVCHROMA_LOC_UNSPECIFIED = (int)0L;
    /**
     * {@snippet lang=c :
     * enum AVChromaLocation.AVCHROMA_LOC_UNSPECIFIED = 0
     * }
     */
    public static int AVCHROMA_LOC_UNSPECIFIED() {
        return AVCHROMA_LOC_UNSPECIFIED;
    }
    private static final int AVCHROMA_LOC_LEFT = (int)1L;
    /**
     * {@snippet lang=c :
     * enum AVChromaLocation.AVCHROMA_LOC_LEFT = 1
     * }
     */
    public static int AVCHROMA_LOC_LEFT() {
        return AVCHROMA_LOC_LEFT;
    }
    private static final int AVCHROMA_LOC_CENTER = (int)2L;
    /**
     * {@snippet lang=c :
     * enum AVChromaLocation.AVCHROMA_LOC_CENTER = 2
     * }
     */
    public static int AVCHROMA_LOC_CENTER() {
        return AVCHROMA_LOC_CENTER;
    }
    private static final int AVCHROMA_LOC_TOPLEFT = (int)3L;
    /**
     * {@snippet lang=c :
     * enum AVChromaLocation.AVCHROMA_LOC_TOPLEFT = 3
     * }
     */
    public static int AVCHROMA_LOC_TOPLEFT() {
        return AVCHROMA_LOC_TOPLEFT;
    }
    private static final int AVCHROMA_LOC_TOP = (int)4L;
    /**
     * {@snippet lang=c :
     * enum AVChromaLocation.AVCHROMA_LOC_TOP = 4
     * }
     */
    public static int AVCHROMA_LOC_TOP() {
        return AVCHROMA_LOC_TOP;
    }
    private static final int AVCHROMA_LOC_BOTTOMLEFT = (int)5L;
    /**
     * {@snippet lang=c :
     * enum AVChromaLocation.AVCHROMA_LOC_BOTTOMLEFT = 5
     * }
     */
    public static int AVCHROMA_LOC_BOTTOMLEFT() {
        return AVCHROMA_LOC_BOTTOMLEFT;
    }
    private static final int AVCHROMA_LOC_BOTTOM = (int)6L;
    /**
     * {@snippet lang=c :
     * enum AVChromaLocation.AVCHROMA_LOC_BOTTOM = 6
     * }
     */
    public static int AVCHROMA_LOC_BOTTOM() {
        return AVCHROMA_LOC_BOTTOM;
    }
    private static final int AVCHROMA_LOC_NB = (int)7L;
    /**
     * {@snippet lang=c :
     * enum AVChromaLocation.AVCHROMA_LOC_NB = 7
     * }
     */
    public static int AVCHROMA_LOC_NB() {
        return AVCHROMA_LOC_NB;
    }

    private static class av_int_list_length_for_size {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_int_list_length_for_size");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * unsigned int av_int_list_length_for_size(unsigned int elsize, void *list, uint64_t term)
     * }
     */
    public static FunctionDescriptor av_int_list_length_for_size$descriptor() {
        return av_int_list_length_for_size.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * unsigned int av_int_list_length_for_size(unsigned int elsize, void *list, uint64_t term)
     * }
     */
    public static MethodHandle av_int_list_length_for_size$handle() {
        return av_int_list_length_for_size.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * unsigned int av_int_list_length_for_size(unsigned int elsize, void *list, uint64_t term)
     * }
     */
    public static MemorySegment av_int_list_length_for_size$address() {
        return av_int_list_length_for_size.ADDR;
    }

    /**
     * {@snippet lang=c :
     * unsigned int av_int_list_length_for_size(unsigned int elsize, void *list, uint64_t term)
     * }
     */
    public static int av_int_list_length_for_size(int elsize, MemorySegment list, long term) {
        var mh$ = av_int_list_length_for_size.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_int_list_length_for_size", elsize, list, term);
            }
            return (int)mh$.invokeExact(elsize, list, term);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_get_time_base_q {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            AVRational.layout()    );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_get_time_base_q");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * AVRational av_get_time_base_q()
     * }
     */
    public static FunctionDescriptor av_get_time_base_q$descriptor() {
        return av_get_time_base_q.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * AVRational av_get_time_base_q()
     * }
     */
    public static MethodHandle av_get_time_base_q$handle() {
        return av_get_time_base_q.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * AVRational av_get_time_base_q()
     * }
     */
    public static MemorySegment av_get_time_base_q$address() {
        return av_get_time_base_q.ADDR;
    }

    /**
     * {@snippet lang=c :
     * AVRational av_get_time_base_q()
     * }
     */
    public static MemorySegment av_get_time_base_q(SegmentAllocator allocator) {
        var mh$ = av_get_time_base_q.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_get_time_base_q", allocator);
            }
            return (MemorySegment)mh$.invokeExact(allocator);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_fourcc_make_string {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_fourcc_make_string");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * char *av_fourcc_make_string(char *buf, uint32_t fourcc)
     * }
     */
    public static FunctionDescriptor av_fourcc_make_string$descriptor() {
        return av_fourcc_make_string.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * char *av_fourcc_make_string(char *buf, uint32_t fourcc)
     * }
     */
    public static MethodHandle av_fourcc_make_string$handle() {
        return av_fourcc_make_string.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * char *av_fourcc_make_string(char *buf, uint32_t fourcc)
     * }
     */
    public static MemorySegment av_fourcc_make_string$address() {
        return av_fourcc_make_string.ADDR;
    }

    /**
     * {@snippet lang=c :
     * char *av_fourcc_make_string(char *buf, uint32_t fourcc)
     * }
     */
    public static MemorySegment av_fourcc_make_string(MemorySegment buf, int fourcc) {
        var mh$ = av_fourcc_make_string.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_fourcc_make_string", buf, fourcc);
            }
            return (MemorySegment)mh$.invokeExact(buf, fourcc);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_get_bits_per_pixel {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_get_bits_per_pixel");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_get_bits_per_pixel(AVPixFmtDescriptor *pixdesc)
     * }
     */
    public static FunctionDescriptor av_get_bits_per_pixel$descriptor() {
        return av_get_bits_per_pixel.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_get_bits_per_pixel(AVPixFmtDescriptor *pixdesc)
     * }
     */
    public static MethodHandle av_get_bits_per_pixel$handle() {
        return av_get_bits_per_pixel.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_get_bits_per_pixel(AVPixFmtDescriptor *pixdesc)
     * }
     */
    public static MemorySegment av_get_bits_per_pixel$address() {
        return av_get_bits_per_pixel.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_get_bits_per_pixel(AVPixFmtDescriptor *pixdesc)
     * }
     */
    public static int av_get_bits_per_pixel(MemorySegment pixdesc) {
        var mh$ = av_get_bits_per_pixel.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_get_bits_per_pixel", pixdesc);
            }
            return (int)mh$.invokeExact(pixdesc);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_get_padded_bits_per_pixel {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_get_padded_bits_per_pixel");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_get_padded_bits_per_pixel(AVPixFmtDescriptor *pixdesc)
     * }
     */
    public static FunctionDescriptor av_get_padded_bits_per_pixel$descriptor() {
        return av_get_padded_bits_per_pixel.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_get_padded_bits_per_pixel(AVPixFmtDescriptor *pixdesc)
     * }
     */
    public static MethodHandle av_get_padded_bits_per_pixel$handle() {
        return av_get_padded_bits_per_pixel.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_get_padded_bits_per_pixel(AVPixFmtDescriptor *pixdesc)
     * }
     */
    public static MemorySegment av_get_padded_bits_per_pixel$address() {
        return av_get_padded_bits_per_pixel.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_get_padded_bits_per_pixel(AVPixFmtDescriptor *pixdesc)
     * }
     */
    public static int av_get_padded_bits_per_pixel(MemorySegment pixdesc) {
        var mh$ = av_get_padded_bits_per_pixel.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_get_padded_bits_per_pixel", pixdesc);
            }
            return (int)mh$.invokeExact(pixdesc);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_pix_fmt_desc_get {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_pix_fmt_desc_get");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
     * }
     */
    public static FunctionDescriptor av_pix_fmt_desc_get$descriptor() {
        return av_pix_fmt_desc_get.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
     * }
     */
    public static MethodHandle av_pix_fmt_desc_get$handle() {
        return av_pix_fmt_desc_get.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
     * }
     */
    public static MemorySegment av_pix_fmt_desc_get$address() {
        return av_pix_fmt_desc_get.ADDR;
    }

    /**
     * {@snippet lang=c :
     * AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
     * }
     */
    public static MemorySegment av_pix_fmt_desc_get(int pix_fmt) {
        var mh$ = av_pix_fmt_desc_get.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_pix_fmt_desc_get", pix_fmt);
            }
            return (MemorySegment)mh$.invokeExact(pix_fmt);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_pix_fmt_desc_next {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_pix_fmt_desc_next");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * AVPixFmtDescriptor *av_pix_fmt_desc_next(AVPixFmtDescriptor *prev)
     * }
     */
    public static FunctionDescriptor av_pix_fmt_desc_next$descriptor() {
        return av_pix_fmt_desc_next.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * AVPixFmtDescriptor *av_pix_fmt_desc_next(AVPixFmtDescriptor *prev)
     * }
     */
    public static MethodHandle av_pix_fmt_desc_next$handle() {
        return av_pix_fmt_desc_next.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * AVPixFmtDescriptor *av_pix_fmt_desc_next(AVPixFmtDescriptor *prev)
     * }
     */
    public static MemorySegment av_pix_fmt_desc_next$address() {
        return av_pix_fmt_desc_next.ADDR;
    }

    /**
     * {@snippet lang=c :
     * AVPixFmtDescriptor *av_pix_fmt_desc_next(AVPixFmtDescriptor *prev)
     * }
     */
    public static MemorySegment av_pix_fmt_desc_next(MemorySegment prev) {
        var mh$ = av_pix_fmt_desc_next.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_pix_fmt_desc_next", prev);
            }
            return (MemorySegment)mh$.invokeExact(prev);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_pix_fmt_desc_get_id {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_pix_fmt_desc_get_id");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * enum AVPixelFormat av_pix_fmt_desc_get_id(AVPixFmtDescriptor *desc)
     * }
     */
    public static FunctionDescriptor av_pix_fmt_desc_get_id$descriptor() {
        return av_pix_fmt_desc_get_id.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * enum AVPixelFormat av_pix_fmt_desc_get_id(AVPixFmtDescriptor *desc)
     * }
     */
    public static MethodHandle av_pix_fmt_desc_get_id$handle() {
        return av_pix_fmt_desc_get_id.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * enum AVPixelFormat av_pix_fmt_desc_get_id(AVPixFmtDescriptor *desc)
     * }
     */
    public static MemorySegment av_pix_fmt_desc_get_id$address() {
        return av_pix_fmt_desc_get_id.ADDR;
    }

    /**
     * {@snippet lang=c :
     * enum AVPixelFormat av_pix_fmt_desc_get_id(AVPixFmtDescriptor *desc)
     * }
     */
    public static int av_pix_fmt_desc_get_id(MemorySegment desc) {
        var mh$ = av_pix_fmt_desc_get_id.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_pix_fmt_desc_get_id", desc);
            }
            return (int)mh$.invokeExact(desc);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_pix_fmt_get_chroma_sub_sample {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_pix_fmt_get_chroma_sub_sample");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_pix_fmt_get_chroma_sub_sample(enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift)
     * }
     */
    public static FunctionDescriptor av_pix_fmt_get_chroma_sub_sample$descriptor() {
        return av_pix_fmt_get_chroma_sub_sample.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_pix_fmt_get_chroma_sub_sample(enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift)
     * }
     */
    public static MethodHandle av_pix_fmt_get_chroma_sub_sample$handle() {
        return av_pix_fmt_get_chroma_sub_sample.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_pix_fmt_get_chroma_sub_sample(enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift)
     * }
     */
    public static MemorySegment av_pix_fmt_get_chroma_sub_sample$address() {
        return av_pix_fmt_get_chroma_sub_sample.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_pix_fmt_get_chroma_sub_sample(enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift)
     * }
     */
    public static int av_pix_fmt_get_chroma_sub_sample(int pix_fmt, MemorySegment h_shift, MemorySegment v_shift) {
        var mh$ = av_pix_fmt_get_chroma_sub_sample.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_pix_fmt_get_chroma_sub_sample", pix_fmt, h_shift, v_shift);
            }
            return (int)mh$.invokeExact(pix_fmt, h_shift, v_shift);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_pix_fmt_count_planes {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_pix_fmt_count_planes");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_pix_fmt_count_planes(enum AVPixelFormat pix_fmt)
     * }
     */
    public static FunctionDescriptor av_pix_fmt_count_planes$descriptor() {
        return av_pix_fmt_count_planes.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_pix_fmt_count_planes(enum AVPixelFormat pix_fmt)
     * }
     */
    public static MethodHandle av_pix_fmt_count_planes$handle() {
        return av_pix_fmt_count_planes.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_pix_fmt_count_planes(enum AVPixelFormat pix_fmt)
     * }
     */
    public static MemorySegment av_pix_fmt_count_planes$address() {
        return av_pix_fmt_count_planes.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_pix_fmt_count_planes(enum AVPixelFormat pix_fmt)
     * }
     */
    public static int av_pix_fmt_count_planes(int pix_fmt) {
        var mh$ = av_pix_fmt_count_planes.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_pix_fmt_count_planes", pix_fmt);
            }
            return (int)mh$.invokeExact(pix_fmt);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_color_range_name {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_color_range_name");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * char *av_color_range_name(enum AVColorRange range)
     * }
     */
    public static FunctionDescriptor av_color_range_name$descriptor() {
        return av_color_range_name.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * char *av_color_range_name(enum AVColorRange range)
     * }
     */
    public static MethodHandle av_color_range_name$handle() {
        return av_color_range_name.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * char *av_color_range_name(enum AVColorRange range)
     * }
     */
    public static MemorySegment av_color_range_name$address() {
        return av_color_range_name.ADDR;
    }

    /**
     * {@snippet lang=c :
     * char *av_color_range_name(enum AVColorRange range)
     * }
     */
    public static MemorySegment av_color_range_name(int range) {
        var mh$ = av_color_range_name.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_color_range_name", range);
            }
            return (MemorySegment)mh$.invokeExact(range);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_color_range_from_name {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_color_range_from_name");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_color_range_from_name(char *name)
     * }
     */
    public static FunctionDescriptor av_color_range_from_name$descriptor() {
        return av_color_range_from_name.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_color_range_from_name(char *name)
     * }
     */
    public static MethodHandle av_color_range_from_name$handle() {
        return av_color_range_from_name.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_color_range_from_name(char *name)
     * }
     */
    public static MemorySegment av_color_range_from_name$address() {
        return av_color_range_from_name.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_color_range_from_name(char *name)
     * }
     */
    public static int av_color_range_from_name(MemorySegment name) {
        var mh$ = av_color_range_from_name.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_color_range_from_name", name);
            }
            return (int)mh$.invokeExact(name);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_color_primaries_name {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_color_primaries_name");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * char *av_color_primaries_name(enum AVColorPrimaries primaries)
     * }
     */
    public static FunctionDescriptor av_color_primaries_name$descriptor() {
        return av_color_primaries_name.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * char *av_color_primaries_name(enum AVColorPrimaries primaries)
     * }
     */
    public static MethodHandle av_color_primaries_name$handle() {
        return av_color_primaries_name.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * char *av_color_primaries_name(enum AVColorPrimaries primaries)
     * }
     */
    public static MemorySegment av_color_primaries_name$address() {
        return av_color_primaries_name.ADDR;
    }

    /**
     * {@snippet lang=c :
     * char *av_color_primaries_name(enum AVColorPrimaries primaries)
     * }
     */
    public static MemorySegment av_color_primaries_name(int primaries) {
        var mh$ = av_color_primaries_name.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_color_primaries_name", primaries);
            }
            return (MemorySegment)mh$.invokeExact(primaries);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_color_primaries_from_name {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_color_primaries_from_name");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_color_primaries_from_name(char *name)
     * }
     */
    public static FunctionDescriptor av_color_primaries_from_name$descriptor() {
        return av_color_primaries_from_name.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_color_primaries_from_name(char *name)
     * }
     */
    public static MethodHandle av_color_primaries_from_name$handle() {
        return av_color_primaries_from_name.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_color_primaries_from_name(char *name)
     * }
     */
    public static MemorySegment av_color_primaries_from_name$address() {
        return av_color_primaries_from_name.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_color_primaries_from_name(char *name)
     * }
     */
    public static int av_color_primaries_from_name(MemorySegment name) {
        var mh$ = av_color_primaries_from_name.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_color_primaries_from_name", name);
            }
            return (int)mh$.invokeExact(name);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_color_transfer_name {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_color_transfer_name");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * char *av_color_transfer_name(enum AVColorTransferCharacteristic transfer)
     * }
     */
    public static FunctionDescriptor av_color_transfer_name$descriptor() {
        return av_color_transfer_name.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * char *av_color_transfer_name(enum AVColorTransferCharacteristic transfer)
     * }
     */
    public static MethodHandle av_color_transfer_name$handle() {
        return av_color_transfer_name.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * char *av_color_transfer_name(enum AVColorTransferCharacteristic transfer)
     * }
     */
    public static MemorySegment av_color_transfer_name$address() {
        return av_color_transfer_name.ADDR;
    }

    /**
     * {@snippet lang=c :
     * char *av_color_transfer_name(enum AVColorTransferCharacteristic transfer)
     * }
     */
    public static MemorySegment av_color_transfer_name(int transfer) {
        var mh$ = av_color_transfer_name.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_color_transfer_name", transfer);
            }
            return (MemorySegment)mh$.invokeExact(transfer);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_color_transfer_from_name {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_color_transfer_from_name");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_color_transfer_from_name(char *name)
     * }
     */
    public static FunctionDescriptor av_color_transfer_from_name$descriptor() {
        return av_color_transfer_from_name.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_color_transfer_from_name(char *name)
     * }
     */
    public static MethodHandle av_color_transfer_from_name$handle() {
        return av_color_transfer_from_name.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_color_transfer_from_name(char *name)
     * }
     */
    public static MemorySegment av_color_transfer_from_name$address() {
        return av_color_transfer_from_name.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_color_transfer_from_name(char *name)
     * }
     */
    public static int av_color_transfer_from_name(MemorySegment name) {
        var mh$ = av_color_transfer_from_name.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_color_transfer_from_name", name);
            }
            return (int)mh$.invokeExact(name);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_color_space_name {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_color_space_name");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * char *av_color_space_name(enum AVColorSpace space)
     * }
     */
    public static FunctionDescriptor av_color_space_name$descriptor() {
        return av_color_space_name.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * char *av_color_space_name(enum AVColorSpace space)
     * }
     */
    public static MethodHandle av_color_space_name$handle() {
        return av_color_space_name.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * char *av_color_space_name(enum AVColorSpace space)
     * }
     */
    public static MemorySegment av_color_space_name$address() {
        return av_color_space_name.ADDR;
    }

    /**
     * {@snippet lang=c :
     * char *av_color_space_name(enum AVColorSpace space)
     * }
     */
    public static MemorySegment av_color_space_name(int space) {
        var mh$ = av_color_space_name.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_color_space_name", space);
            }
            return (MemorySegment)mh$.invokeExact(space);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_color_space_from_name {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_color_space_from_name");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_color_space_from_name(char *name)
     * }
     */
    public static FunctionDescriptor av_color_space_from_name$descriptor() {
        return av_color_space_from_name.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_color_space_from_name(char *name)
     * }
     */
    public static MethodHandle av_color_space_from_name$handle() {
        return av_color_space_from_name.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_color_space_from_name(char *name)
     * }
     */
    public static MemorySegment av_color_space_from_name$address() {
        return av_color_space_from_name.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_color_space_from_name(char *name)
     * }
     */
    public static int av_color_space_from_name(MemorySegment name) {
        var mh$ = av_color_space_from_name.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_color_space_from_name", name);
            }
            return (int)mh$.invokeExact(name);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_chroma_location_name {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_chroma_location_name");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * char *av_chroma_location_name(enum AVChromaLocation location)
     * }
     */
    public static FunctionDescriptor av_chroma_location_name$descriptor() {
        return av_chroma_location_name.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * char *av_chroma_location_name(enum AVChromaLocation location)
     * }
     */
    public static MethodHandle av_chroma_location_name$handle() {
        return av_chroma_location_name.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * char *av_chroma_location_name(enum AVChromaLocation location)
     * }
     */
    public static MemorySegment av_chroma_location_name$address() {
        return av_chroma_location_name.ADDR;
    }

    /**
     * {@snippet lang=c :
     * char *av_chroma_location_name(enum AVChromaLocation location)
     * }
     */
    public static MemorySegment av_chroma_location_name(int location) {
        var mh$ = av_chroma_location_name.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_chroma_location_name", location);
            }
            return (MemorySegment)mh$.invokeExact(location);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_chroma_location_from_name {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_chroma_location_from_name");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_chroma_location_from_name(char *name)
     * }
     */
    public static FunctionDescriptor av_chroma_location_from_name$descriptor() {
        return av_chroma_location_from_name.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_chroma_location_from_name(char *name)
     * }
     */
    public static MethodHandle av_chroma_location_from_name$handle() {
        return av_chroma_location_from_name.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_chroma_location_from_name(char *name)
     * }
     */
    public static MemorySegment av_chroma_location_from_name$address() {
        return av_chroma_location_from_name.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_chroma_location_from_name(char *name)
     * }
     */
    public static int av_chroma_location_from_name(MemorySegment name) {
        var mh$ = av_chroma_location_from_name.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_chroma_location_from_name", name);
            }
            return (int)mh$.invokeExact(name);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_chroma_location_enum_to_pos {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_chroma_location_enum_to_pos");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_chroma_location_enum_to_pos(int *xpos, int *ypos, enum AVChromaLocation pos)
     * }
     */
    public static FunctionDescriptor av_chroma_location_enum_to_pos$descriptor() {
        return av_chroma_location_enum_to_pos.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_chroma_location_enum_to_pos(int *xpos, int *ypos, enum AVChromaLocation pos)
     * }
     */
    public static MethodHandle av_chroma_location_enum_to_pos$handle() {
        return av_chroma_location_enum_to_pos.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_chroma_location_enum_to_pos(int *xpos, int *ypos, enum AVChromaLocation pos)
     * }
     */
    public static MemorySegment av_chroma_location_enum_to_pos$address() {
        return av_chroma_location_enum_to_pos.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_chroma_location_enum_to_pos(int *xpos, int *ypos, enum AVChromaLocation pos)
     * }
     */
    public static int av_chroma_location_enum_to_pos(MemorySegment xpos, MemorySegment ypos, int pos) {
        var mh$ = av_chroma_location_enum_to_pos.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_chroma_location_enum_to_pos", xpos, ypos, pos);
            }
            return (int)mh$.invokeExact(xpos, ypos, pos);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_chroma_location_pos_to_enum {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_chroma_location_pos_to_enum");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * enum AVChromaLocation av_chroma_location_pos_to_enum(int xpos, int ypos)
     * }
     */
    public static FunctionDescriptor av_chroma_location_pos_to_enum$descriptor() {
        return av_chroma_location_pos_to_enum.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * enum AVChromaLocation av_chroma_location_pos_to_enum(int xpos, int ypos)
     * }
     */
    public static MethodHandle av_chroma_location_pos_to_enum$handle() {
        return av_chroma_location_pos_to_enum.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * enum AVChromaLocation av_chroma_location_pos_to_enum(int xpos, int ypos)
     * }
     */
    public static MemorySegment av_chroma_location_pos_to_enum$address() {
        return av_chroma_location_pos_to_enum.ADDR;
    }

    /**
     * {@snippet lang=c :
     * enum AVChromaLocation av_chroma_location_pos_to_enum(int xpos, int ypos)
     * }
     */
    public static int av_chroma_location_pos_to_enum(int xpos, int ypos) {
        var mh$ = av_chroma_location_pos_to_enum.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_chroma_location_pos_to_enum", xpos, ypos);
            }
            return (int)mh$.invokeExact(xpos, ypos);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_get_pix_fmt {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_get_pix_fmt");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * enum AVPixelFormat av_get_pix_fmt(char *name)
     * }
     */
    public static FunctionDescriptor av_get_pix_fmt$descriptor() {
        return av_get_pix_fmt.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * enum AVPixelFormat av_get_pix_fmt(char *name)
     * }
     */
    public static MethodHandle av_get_pix_fmt$handle() {
        return av_get_pix_fmt.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * enum AVPixelFormat av_get_pix_fmt(char *name)
     * }
     */
    public static MemorySegment av_get_pix_fmt$address() {
        return av_get_pix_fmt.ADDR;
    }

    /**
     * {@snippet lang=c :
     * enum AVPixelFormat av_get_pix_fmt(char *name)
     * }
     */
    public static int av_get_pix_fmt(MemorySegment name) {
        var mh$ = av_get_pix_fmt.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_get_pix_fmt", name);
            }
            return (int)mh$.invokeExact(name);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_get_pix_fmt_name {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_get_pix_fmt_name");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * char *av_get_pix_fmt_name(enum AVPixelFormat pix_fmt)
     * }
     */
    public static FunctionDescriptor av_get_pix_fmt_name$descriptor() {
        return av_get_pix_fmt_name.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * char *av_get_pix_fmt_name(enum AVPixelFormat pix_fmt)
     * }
     */
    public static MethodHandle av_get_pix_fmt_name$handle() {
        return av_get_pix_fmt_name.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * char *av_get_pix_fmt_name(enum AVPixelFormat pix_fmt)
     * }
     */
    public static MemorySegment av_get_pix_fmt_name$address() {
        return av_get_pix_fmt_name.ADDR;
    }

    /**
     * {@snippet lang=c :
     * char *av_get_pix_fmt_name(enum AVPixelFormat pix_fmt)
     * }
     */
    public static MemorySegment av_get_pix_fmt_name(int pix_fmt) {
        var mh$ = av_get_pix_fmt_name.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_get_pix_fmt_name", pix_fmt);
            }
            return (MemorySegment)mh$.invokeExact(pix_fmt);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_get_pix_fmt_string {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_get_pix_fmt_string");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * char *av_get_pix_fmt_string(char *buf, int buf_size, enum AVPixelFormat pix_fmt)
     * }
     */
    public static FunctionDescriptor av_get_pix_fmt_string$descriptor() {
        return av_get_pix_fmt_string.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * char *av_get_pix_fmt_string(char *buf, int buf_size, enum AVPixelFormat pix_fmt)
     * }
     */
    public static MethodHandle av_get_pix_fmt_string$handle() {
        return av_get_pix_fmt_string.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * char *av_get_pix_fmt_string(char *buf, int buf_size, enum AVPixelFormat pix_fmt)
     * }
     */
    public static MemorySegment av_get_pix_fmt_string$address() {
        return av_get_pix_fmt_string.ADDR;
    }

    /**
     * {@snippet lang=c :
     * char *av_get_pix_fmt_string(char *buf, int buf_size, enum AVPixelFormat pix_fmt)
     * }
     */
    public static MemorySegment av_get_pix_fmt_string(MemorySegment buf, int buf_size, int pix_fmt) {
        var mh$ = av_get_pix_fmt_string.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_get_pix_fmt_string", buf, buf_size, pix_fmt);
            }
            return (MemorySegment)mh$.invokeExact(buf, buf_size, pix_fmt);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_read_image_line2 {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_read_image_line2");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_read_image_line2(void *dst, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component, int dst_element_size)
     * }
     */
    public static FunctionDescriptor av_read_image_line2$descriptor() {
        return av_read_image_line2.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_read_image_line2(void *dst, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component, int dst_element_size)
     * }
     */
    public static MethodHandle av_read_image_line2$handle() {
        return av_read_image_line2.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_read_image_line2(void *dst, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component, int dst_element_size)
     * }
     */
    public static MemorySegment av_read_image_line2$address() {
        return av_read_image_line2.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_read_image_line2(void *dst, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component, int dst_element_size)
     * }
     */
    public static void av_read_image_line2(MemorySegment dst, MemorySegment data, MemorySegment linesize, MemorySegment desc, int x, int y, int c, int w, int read_pal_component, int dst_element_size) {
        var mh$ = av_read_image_line2.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_read_image_line2", dst, data, linesize, desc, x, y, c, w, read_pal_component, dst_element_size);
            }
            mh$.invokeExact(dst, data, linesize, desc, x, y, c, w, read_pal_component, dst_element_size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_read_image_line {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_read_image_line");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_read_image_line(uint16_t *dst, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component)
     * }
     */
    public static FunctionDescriptor av_read_image_line$descriptor() {
        return av_read_image_line.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_read_image_line(uint16_t *dst, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component)
     * }
     */
    public static MethodHandle av_read_image_line$handle() {
        return av_read_image_line.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_read_image_line(uint16_t *dst, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component)
     * }
     */
    public static MemorySegment av_read_image_line$address() {
        return av_read_image_line.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_read_image_line(uint16_t *dst, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component)
     * }
     */
    public static void av_read_image_line(MemorySegment dst, MemorySegment data, MemorySegment linesize, MemorySegment desc, int x, int y, int c, int w, int read_pal_component) {
        var mh$ = av_read_image_line.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_read_image_line", dst, data, linesize, desc, x, y, c, w, read_pal_component);
            }
            mh$.invokeExact(dst, data, linesize, desc, x, y, c, w, read_pal_component);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_write_image_line2 {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_write_image_line2");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_write_image_line2(void *src, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w, int src_element_size)
     * }
     */
    public static FunctionDescriptor av_write_image_line2$descriptor() {
        return av_write_image_line2.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_write_image_line2(void *src, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w, int src_element_size)
     * }
     */
    public static MethodHandle av_write_image_line2$handle() {
        return av_write_image_line2.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_write_image_line2(void *src, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w, int src_element_size)
     * }
     */
    public static MemorySegment av_write_image_line2$address() {
        return av_write_image_line2.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_write_image_line2(void *src, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w, int src_element_size)
     * }
     */
    public static void av_write_image_line2(MemorySegment src, MemorySegment data, MemorySegment linesize, MemorySegment desc, int x, int y, int c, int w, int src_element_size) {
        var mh$ = av_write_image_line2.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_write_image_line2", src, data, linesize, desc, x, y, c, w, src_element_size);
            }
            mh$.invokeExact(src, data, linesize, desc, x, y, c, w, src_element_size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_write_image_line {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_write_image_line");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_write_image_line(uint16_t *src, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w)
     * }
     */
    public static FunctionDescriptor av_write_image_line$descriptor() {
        return av_write_image_line.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_write_image_line(uint16_t *src, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w)
     * }
     */
    public static MethodHandle av_write_image_line$handle() {
        return av_write_image_line.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_write_image_line(uint16_t *src, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w)
     * }
     */
    public static MemorySegment av_write_image_line$address() {
        return av_write_image_line.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_write_image_line(uint16_t *src, uint8_t *data[4], int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w)
     * }
     */
    public static void av_write_image_line(MemorySegment src, MemorySegment data, MemorySegment linesize, MemorySegment desc, int x, int y, int c, int w) {
        var mh$ = av_write_image_line.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_write_image_line", src, data, linesize, desc, x, y, c, w);
            }
            mh$.invokeExact(src, data, linesize, desc, x, y, c, w);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_pix_fmt_swap_endianness {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_pix_fmt_swap_endianness");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * enum AVPixelFormat av_pix_fmt_swap_endianness(enum AVPixelFormat pix_fmt)
     * }
     */
    public static FunctionDescriptor av_pix_fmt_swap_endianness$descriptor() {
        return av_pix_fmt_swap_endianness.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * enum AVPixelFormat av_pix_fmt_swap_endianness(enum AVPixelFormat pix_fmt)
     * }
     */
    public static MethodHandle av_pix_fmt_swap_endianness$handle() {
        return av_pix_fmt_swap_endianness.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * enum AVPixelFormat av_pix_fmt_swap_endianness(enum AVPixelFormat pix_fmt)
     * }
     */
    public static MemorySegment av_pix_fmt_swap_endianness$address() {
        return av_pix_fmt_swap_endianness.ADDR;
    }

    /**
     * {@snippet lang=c :
     * enum AVPixelFormat av_pix_fmt_swap_endianness(enum AVPixelFormat pix_fmt)
     * }
     */
    public static int av_pix_fmt_swap_endianness(int pix_fmt) {
        var mh$ = av_pix_fmt_swap_endianness.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_pix_fmt_swap_endianness", pix_fmt);
            }
            return (int)mh$.invokeExact(pix_fmt);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_get_pix_fmt_loss {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_get_pix_fmt_loss");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_get_pix_fmt_loss(enum AVPixelFormat dst_pix_fmt, enum AVPixelFormat src_pix_fmt, int has_alpha)
     * }
     */
    public static FunctionDescriptor av_get_pix_fmt_loss$descriptor() {
        return av_get_pix_fmt_loss.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_get_pix_fmt_loss(enum AVPixelFormat dst_pix_fmt, enum AVPixelFormat src_pix_fmt, int has_alpha)
     * }
     */
    public static MethodHandle av_get_pix_fmt_loss$handle() {
        return av_get_pix_fmt_loss.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_get_pix_fmt_loss(enum AVPixelFormat dst_pix_fmt, enum AVPixelFormat src_pix_fmt, int has_alpha)
     * }
     */
    public static MemorySegment av_get_pix_fmt_loss$address() {
        return av_get_pix_fmt_loss.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_get_pix_fmt_loss(enum AVPixelFormat dst_pix_fmt, enum AVPixelFormat src_pix_fmt, int has_alpha)
     * }
     */
    public static int av_get_pix_fmt_loss(int dst_pix_fmt, int src_pix_fmt, int has_alpha) {
        var mh$ = av_get_pix_fmt_loss.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_get_pix_fmt_loss", dst_pix_fmt, src_pix_fmt, has_alpha);
            }
            return (int)mh$.invokeExact(dst_pix_fmt, src_pix_fmt, has_alpha);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_find_best_pix_fmt_of_2 {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_find_best_pix_fmt_of_2");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * enum AVPixelFormat av_find_best_pix_fmt_of_2(enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr)
     * }
     */
    public static FunctionDescriptor av_find_best_pix_fmt_of_2$descriptor() {
        return av_find_best_pix_fmt_of_2.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * enum AVPixelFormat av_find_best_pix_fmt_of_2(enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr)
     * }
     */
    public static MethodHandle av_find_best_pix_fmt_of_2$handle() {
        return av_find_best_pix_fmt_of_2.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * enum AVPixelFormat av_find_best_pix_fmt_of_2(enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr)
     * }
     */
    public static MemorySegment av_find_best_pix_fmt_of_2$address() {
        return av_find_best_pix_fmt_of_2.ADDR;
    }

    /**
     * {@snippet lang=c :
     * enum AVPixelFormat av_find_best_pix_fmt_of_2(enum AVPixelFormat dst_pix_fmt1, enum AVPixelFormat dst_pix_fmt2, enum AVPixelFormat src_pix_fmt, int has_alpha, int *loss_ptr)
     * }
     */
    public static int av_find_best_pix_fmt_of_2(int dst_pix_fmt1, int dst_pix_fmt2, int src_pix_fmt, int has_alpha, MemorySegment loss_ptr) {
        var mh$ = av_find_best_pix_fmt_of_2.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_find_best_pix_fmt_of_2", dst_pix_fmt1, dst_pix_fmt2, src_pix_fmt, has_alpha, loss_ptr);
            }
            return (int)mh$.invokeExact(dst_pix_fmt1, dst_pix_fmt2, src_pix_fmt, has_alpha, loss_ptr);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_fill_max_pixsteps {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_fill_max_pixsteps");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_image_fill_max_pixsteps(int max_pixsteps[4], int max_pixstep_comps[4], AVPixFmtDescriptor *pixdesc)
     * }
     */
    public static FunctionDescriptor av_image_fill_max_pixsteps$descriptor() {
        return av_image_fill_max_pixsteps.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_image_fill_max_pixsteps(int max_pixsteps[4], int max_pixstep_comps[4], AVPixFmtDescriptor *pixdesc)
     * }
     */
    public static MethodHandle av_image_fill_max_pixsteps$handle() {
        return av_image_fill_max_pixsteps.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_image_fill_max_pixsteps(int max_pixsteps[4], int max_pixstep_comps[4], AVPixFmtDescriptor *pixdesc)
     * }
     */
    public static MemorySegment av_image_fill_max_pixsteps$address() {
        return av_image_fill_max_pixsteps.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_image_fill_max_pixsteps(int max_pixsteps[4], int max_pixstep_comps[4], AVPixFmtDescriptor *pixdesc)
     * }
     */
    public static void av_image_fill_max_pixsteps(MemorySegment max_pixsteps, MemorySegment max_pixstep_comps, MemorySegment pixdesc) {
        var mh$ = av_image_fill_max_pixsteps.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_fill_max_pixsteps", max_pixsteps, max_pixstep_comps, pixdesc);
            }
            mh$.invokeExact(max_pixsteps, max_pixstep_comps, pixdesc);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_get_linesize {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_get_linesize");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_image_get_linesize(enum AVPixelFormat pix_fmt, int width, int plane)
     * }
     */
    public static FunctionDescriptor av_image_get_linesize$descriptor() {
        return av_image_get_linesize.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_image_get_linesize(enum AVPixelFormat pix_fmt, int width, int plane)
     * }
     */
    public static MethodHandle av_image_get_linesize$handle() {
        return av_image_get_linesize.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_image_get_linesize(enum AVPixelFormat pix_fmt, int width, int plane)
     * }
     */
    public static MemorySegment av_image_get_linesize$address() {
        return av_image_get_linesize.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_image_get_linesize(enum AVPixelFormat pix_fmt, int width, int plane)
     * }
     */
    public static int av_image_get_linesize(int pix_fmt, int width, int plane) {
        var mh$ = av_image_get_linesize.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_get_linesize", pix_fmt, width, plane);
            }
            return (int)mh$.invokeExact(pix_fmt, width, plane);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_fill_linesizes {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_fill_linesizes");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_image_fill_linesizes(int linesizes[4], enum AVPixelFormat pix_fmt, int width)
     * }
     */
    public static FunctionDescriptor av_image_fill_linesizes$descriptor() {
        return av_image_fill_linesizes.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_image_fill_linesizes(int linesizes[4], enum AVPixelFormat pix_fmt, int width)
     * }
     */
    public static MethodHandle av_image_fill_linesizes$handle() {
        return av_image_fill_linesizes.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_image_fill_linesizes(int linesizes[4], enum AVPixelFormat pix_fmt, int width)
     * }
     */
    public static MemorySegment av_image_fill_linesizes$address() {
        return av_image_fill_linesizes.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_image_fill_linesizes(int linesizes[4], enum AVPixelFormat pix_fmt, int width)
     * }
     */
    public static int av_image_fill_linesizes(MemorySegment linesizes, int pix_fmt, int width) {
        var mh$ = av_image_fill_linesizes.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_fill_linesizes", linesizes, pix_fmt, width);
            }
            return (int)mh$.invokeExact(linesizes, pix_fmt, width);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_fill_plane_sizes {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_fill_plane_sizes");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_image_fill_plane_sizes(size_t size[4], enum AVPixelFormat pix_fmt, int height, ptrdiff_t linesizes[4])
     * }
     */
    public static FunctionDescriptor av_image_fill_plane_sizes$descriptor() {
        return av_image_fill_plane_sizes.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_image_fill_plane_sizes(size_t size[4], enum AVPixelFormat pix_fmt, int height, ptrdiff_t linesizes[4])
     * }
     */
    public static MethodHandle av_image_fill_plane_sizes$handle() {
        return av_image_fill_plane_sizes.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_image_fill_plane_sizes(size_t size[4], enum AVPixelFormat pix_fmt, int height, ptrdiff_t linesizes[4])
     * }
     */
    public static MemorySegment av_image_fill_plane_sizes$address() {
        return av_image_fill_plane_sizes.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_image_fill_plane_sizes(size_t size[4], enum AVPixelFormat pix_fmt, int height, ptrdiff_t linesizes[4])
     * }
     */
    public static int av_image_fill_plane_sizes(MemorySegment size, int pix_fmt, int height, MemorySegment linesizes) {
        var mh$ = av_image_fill_plane_sizes.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_fill_plane_sizes", size, pix_fmt, height, linesizes);
            }
            return (int)mh$.invokeExact(size, pix_fmt, height, linesizes);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_fill_pointers {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_fill_pointers");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_image_fill_pointers(uint8_t *data[4], enum AVPixelFormat pix_fmt, int height, uint8_t *ptr, int linesizes[4])
     * }
     */
    public static FunctionDescriptor av_image_fill_pointers$descriptor() {
        return av_image_fill_pointers.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_image_fill_pointers(uint8_t *data[4], enum AVPixelFormat pix_fmt, int height, uint8_t *ptr, int linesizes[4])
     * }
     */
    public static MethodHandle av_image_fill_pointers$handle() {
        return av_image_fill_pointers.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_image_fill_pointers(uint8_t *data[4], enum AVPixelFormat pix_fmt, int height, uint8_t *ptr, int linesizes[4])
     * }
     */
    public static MemorySegment av_image_fill_pointers$address() {
        return av_image_fill_pointers.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_image_fill_pointers(uint8_t *data[4], enum AVPixelFormat pix_fmt, int height, uint8_t *ptr, int linesizes[4])
     * }
     */
    public static int av_image_fill_pointers(MemorySegment data, int pix_fmt, int height, MemorySegment ptr, MemorySegment linesizes) {
        var mh$ = av_image_fill_pointers.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_fill_pointers", data, pix_fmt, height, ptr, linesizes);
            }
            return (int)mh$.invokeExact(data, pix_fmt, height, ptr, linesizes);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_alloc {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_alloc");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_image_alloc(uint8_t *pointers[4], int linesizes[4], int w, int h, enum AVPixelFormat pix_fmt, int align)
     * }
     */
    public static FunctionDescriptor av_image_alloc$descriptor() {
        return av_image_alloc.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_image_alloc(uint8_t *pointers[4], int linesizes[4], int w, int h, enum AVPixelFormat pix_fmt, int align)
     * }
     */
    public static MethodHandle av_image_alloc$handle() {
        return av_image_alloc.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_image_alloc(uint8_t *pointers[4], int linesizes[4], int w, int h, enum AVPixelFormat pix_fmt, int align)
     * }
     */
    public static MemorySegment av_image_alloc$address() {
        return av_image_alloc.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_image_alloc(uint8_t *pointers[4], int linesizes[4], int w, int h, enum AVPixelFormat pix_fmt, int align)
     * }
     */
    public static int av_image_alloc(MemorySegment pointers, MemorySegment linesizes, int w, int h, int pix_fmt, int align) {
        var mh$ = av_image_alloc.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_alloc", pointers, linesizes, w, h, pix_fmt, align);
            }
            return (int)mh$.invokeExact(pointers, linesizes, w, h, pix_fmt, align);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_copy_plane {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_copy_plane");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_image_copy_plane(uint8_t *dst, int dst_linesize, uint8_t *src, int src_linesize, int bytewidth, int height)
     * }
     */
    public static FunctionDescriptor av_image_copy_plane$descriptor() {
        return av_image_copy_plane.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_image_copy_plane(uint8_t *dst, int dst_linesize, uint8_t *src, int src_linesize, int bytewidth, int height)
     * }
     */
    public static MethodHandle av_image_copy_plane$handle() {
        return av_image_copy_plane.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_image_copy_plane(uint8_t *dst, int dst_linesize, uint8_t *src, int src_linesize, int bytewidth, int height)
     * }
     */
    public static MemorySegment av_image_copy_plane$address() {
        return av_image_copy_plane.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_image_copy_plane(uint8_t *dst, int dst_linesize, uint8_t *src, int src_linesize, int bytewidth, int height)
     * }
     */
    public static void av_image_copy_plane(MemorySegment dst, int dst_linesize, MemorySegment src, int src_linesize, int bytewidth, int height) {
        var mh$ = av_image_copy_plane.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_copy_plane", dst, dst_linesize, src, src_linesize, bytewidth, height);
            }
            mh$.invokeExact(dst, dst_linesize, src, src_linesize, bytewidth, height);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_copy_plane_uc_from {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_copy_plane_uc_from");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_image_copy_plane_uc_from(uint8_t *dst, ptrdiff_t dst_linesize, uint8_t *src, ptrdiff_t src_linesize, ptrdiff_t bytewidth, int height)
     * }
     */
    public static FunctionDescriptor av_image_copy_plane_uc_from$descriptor() {
        return av_image_copy_plane_uc_from.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_image_copy_plane_uc_from(uint8_t *dst, ptrdiff_t dst_linesize, uint8_t *src, ptrdiff_t src_linesize, ptrdiff_t bytewidth, int height)
     * }
     */
    public static MethodHandle av_image_copy_plane_uc_from$handle() {
        return av_image_copy_plane_uc_from.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_image_copy_plane_uc_from(uint8_t *dst, ptrdiff_t dst_linesize, uint8_t *src, ptrdiff_t src_linesize, ptrdiff_t bytewidth, int height)
     * }
     */
    public static MemorySegment av_image_copy_plane_uc_from$address() {
        return av_image_copy_plane_uc_from.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_image_copy_plane_uc_from(uint8_t *dst, ptrdiff_t dst_linesize, uint8_t *src, ptrdiff_t src_linesize, ptrdiff_t bytewidth, int height)
     * }
     */
    public static void av_image_copy_plane_uc_from(MemorySegment dst, long dst_linesize, MemorySegment src, long src_linesize, long bytewidth, int height) {
        var mh$ = av_image_copy_plane_uc_from.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_copy_plane_uc_from", dst, dst_linesize, src, src_linesize, bytewidth, height);
            }
            mh$.invokeExact(dst, dst_linesize, src, src_linesize, bytewidth, height);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_copy {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_copy");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4], uint8_t *src_data[4], int src_linesizes[4], enum AVPixelFormat pix_fmt, int width, int height)
     * }
     */
    public static FunctionDescriptor av_image_copy$descriptor() {
        return av_image_copy.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4], uint8_t *src_data[4], int src_linesizes[4], enum AVPixelFormat pix_fmt, int width, int height)
     * }
     */
    public static MethodHandle av_image_copy$handle() {
        return av_image_copy.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4], uint8_t *src_data[4], int src_linesizes[4], enum AVPixelFormat pix_fmt, int width, int height)
     * }
     */
    public static MemorySegment av_image_copy$address() {
        return av_image_copy.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4], uint8_t *src_data[4], int src_linesizes[4], enum AVPixelFormat pix_fmt, int width, int height)
     * }
     */
    public static void av_image_copy(MemorySegment dst_data, MemorySegment dst_linesizes, MemorySegment src_data, MemorySegment src_linesizes, int pix_fmt, int width, int height) {
        var mh$ = av_image_copy.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_copy", dst_data, dst_linesizes, src_data, src_linesizes, pix_fmt, width, height);
            }
            mh$.invokeExact(dst_data, dst_linesizes, src_data, src_linesizes, pix_fmt, width, height);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_copy_uc_from {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_copy_uc_from");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_image_copy_uc_from(uint8_t *dst_data[4], ptrdiff_t dst_linesizes[4], uint8_t *src_data[4], ptrdiff_t src_linesizes[4], enum AVPixelFormat pix_fmt, int width, int height)
     * }
     */
    public static FunctionDescriptor av_image_copy_uc_from$descriptor() {
        return av_image_copy_uc_from.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_image_copy_uc_from(uint8_t *dst_data[4], ptrdiff_t dst_linesizes[4], uint8_t *src_data[4], ptrdiff_t src_linesizes[4], enum AVPixelFormat pix_fmt, int width, int height)
     * }
     */
    public static MethodHandle av_image_copy_uc_from$handle() {
        return av_image_copy_uc_from.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_image_copy_uc_from(uint8_t *dst_data[4], ptrdiff_t dst_linesizes[4], uint8_t *src_data[4], ptrdiff_t src_linesizes[4], enum AVPixelFormat pix_fmt, int width, int height)
     * }
     */
    public static MemorySegment av_image_copy_uc_from$address() {
        return av_image_copy_uc_from.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_image_copy_uc_from(uint8_t *dst_data[4], ptrdiff_t dst_linesizes[4], uint8_t *src_data[4], ptrdiff_t src_linesizes[4], enum AVPixelFormat pix_fmt, int width, int height)
     * }
     */
    public static void av_image_copy_uc_from(MemorySegment dst_data, MemorySegment dst_linesizes, MemorySegment src_data, MemorySegment src_linesizes, int pix_fmt, int width, int height) {
        var mh$ = av_image_copy_uc_from.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_copy_uc_from", dst_data, dst_linesizes, src_data, src_linesizes, pix_fmt, width, height);
            }
            mh$.invokeExact(dst_data, dst_linesizes, src_data, src_linesizes, pix_fmt, width, height);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_fill_arrays {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_fill_arrays");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_image_fill_arrays(uint8_t *dst_data[4], int dst_linesize[4], uint8_t *src, enum AVPixelFormat pix_fmt, int width, int height, int align)
     * }
     */
    public static FunctionDescriptor av_image_fill_arrays$descriptor() {
        return av_image_fill_arrays.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_image_fill_arrays(uint8_t *dst_data[4], int dst_linesize[4], uint8_t *src, enum AVPixelFormat pix_fmt, int width, int height, int align)
     * }
     */
    public static MethodHandle av_image_fill_arrays$handle() {
        return av_image_fill_arrays.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_image_fill_arrays(uint8_t *dst_data[4], int dst_linesize[4], uint8_t *src, enum AVPixelFormat pix_fmt, int width, int height, int align)
     * }
     */
    public static MemorySegment av_image_fill_arrays$address() {
        return av_image_fill_arrays.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_image_fill_arrays(uint8_t *dst_data[4], int dst_linesize[4], uint8_t *src, enum AVPixelFormat pix_fmt, int width, int height, int align)
     * }
     */
    public static int av_image_fill_arrays(MemorySegment dst_data, MemorySegment dst_linesize, MemorySegment src, int pix_fmt, int width, int height, int align) {
        var mh$ = av_image_fill_arrays.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_fill_arrays", dst_data, dst_linesize, src, pix_fmt, width, height, align);
            }
            return (int)mh$.invokeExact(dst_data, dst_linesize, src, pix_fmt, width, height, align);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_get_buffer_size {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_get_buffer_size");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_image_get_buffer_size(enum AVPixelFormat pix_fmt, int width, int height, int align)
     * }
     */
    public static FunctionDescriptor av_image_get_buffer_size$descriptor() {
        return av_image_get_buffer_size.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_image_get_buffer_size(enum AVPixelFormat pix_fmt, int width, int height, int align)
     * }
     */
    public static MethodHandle av_image_get_buffer_size$handle() {
        return av_image_get_buffer_size.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_image_get_buffer_size(enum AVPixelFormat pix_fmt, int width, int height, int align)
     * }
     */
    public static MemorySegment av_image_get_buffer_size$address() {
        return av_image_get_buffer_size.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_image_get_buffer_size(enum AVPixelFormat pix_fmt, int width, int height, int align)
     * }
     */
    public static int av_image_get_buffer_size(int pix_fmt, int width, int height, int align) {
        var mh$ = av_image_get_buffer_size.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_get_buffer_size", pix_fmt, width, height, align);
            }
            return (int)mh$.invokeExact(pix_fmt, width, height, align);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_copy_to_buffer {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_copy_to_buffer");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_image_copy_to_buffer(uint8_t *dst, int dst_size, uint8_t *src_data[4], int src_linesize[4], enum AVPixelFormat pix_fmt, int width, int height, int align)
     * }
     */
    public static FunctionDescriptor av_image_copy_to_buffer$descriptor() {
        return av_image_copy_to_buffer.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_image_copy_to_buffer(uint8_t *dst, int dst_size, uint8_t *src_data[4], int src_linesize[4], enum AVPixelFormat pix_fmt, int width, int height, int align)
     * }
     */
    public static MethodHandle av_image_copy_to_buffer$handle() {
        return av_image_copy_to_buffer.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_image_copy_to_buffer(uint8_t *dst, int dst_size, uint8_t *src_data[4], int src_linesize[4], enum AVPixelFormat pix_fmt, int width, int height, int align)
     * }
     */
    public static MemorySegment av_image_copy_to_buffer$address() {
        return av_image_copy_to_buffer.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_image_copy_to_buffer(uint8_t *dst, int dst_size, uint8_t *src_data[4], int src_linesize[4], enum AVPixelFormat pix_fmt, int width, int height, int align)
     * }
     */
    public static int av_image_copy_to_buffer(MemorySegment dst, int dst_size, MemorySegment src_data, MemorySegment src_linesize, int pix_fmt, int width, int height, int align) {
        var mh$ = av_image_copy_to_buffer.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_copy_to_buffer", dst, dst_size, src_data, src_linesize, pix_fmt, width, height, align);
            }
            return (int)mh$.invokeExact(dst, dst_size, src_data, src_linesize, pix_fmt, width, height, align);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_check_size {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_check_size");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_image_check_size(unsigned int w, unsigned int h, int log_offset, void *log_ctx)
     * }
     */
    public static FunctionDescriptor av_image_check_size$descriptor() {
        return av_image_check_size.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_image_check_size(unsigned int w, unsigned int h, int log_offset, void *log_ctx)
     * }
     */
    public static MethodHandle av_image_check_size$handle() {
        return av_image_check_size.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_image_check_size(unsigned int w, unsigned int h, int log_offset, void *log_ctx)
     * }
     */
    public static MemorySegment av_image_check_size$address() {
        return av_image_check_size.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_image_check_size(unsigned int w, unsigned int h, int log_offset, void *log_ctx)
     * }
     */
    public static int av_image_check_size(int w, int h, int log_offset, MemorySegment log_ctx) {
        var mh$ = av_image_check_size.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_check_size", w, h, log_offset, log_ctx);
            }
            return (int)mh$.invokeExact(w, h, log_offset, log_ctx);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_check_size2 {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_check_size2");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_image_check_size2(unsigned int w, unsigned int h, int64_t max_pixels, enum AVPixelFormat pix_fmt, int log_offset, void *log_ctx)
     * }
     */
    public static FunctionDescriptor av_image_check_size2$descriptor() {
        return av_image_check_size2.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_image_check_size2(unsigned int w, unsigned int h, int64_t max_pixels, enum AVPixelFormat pix_fmt, int log_offset, void *log_ctx)
     * }
     */
    public static MethodHandle av_image_check_size2$handle() {
        return av_image_check_size2.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_image_check_size2(unsigned int w, unsigned int h, int64_t max_pixels, enum AVPixelFormat pix_fmt, int log_offset, void *log_ctx)
     * }
     */
    public static MemorySegment av_image_check_size2$address() {
        return av_image_check_size2.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_image_check_size2(unsigned int w, unsigned int h, int64_t max_pixels, enum AVPixelFormat pix_fmt, int log_offset, void *log_ctx)
     * }
     */
    public static int av_image_check_size2(int w, int h, long max_pixels, int pix_fmt, int log_offset, MemorySegment log_ctx) {
        var mh$ = av_image_check_size2.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_check_size2", w, h, max_pixels, pix_fmt, log_offset, log_ctx);
            }
            return (int)mh$.invokeExact(w, h, max_pixels, pix_fmt, log_offset, log_ctx);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_check_sar {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            AVRational.layout()
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_check_sar");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_image_check_sar(unsigned int w, unsigned int h, AVRational sar)
     * }
     */
    public static FunctionDescriptor av_image_check_sar$descriptor() {
        return av_image_check_sar.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_image_check_sar(unsigned int w, unsigned int h, AVRational sar)
     * }
     */
    public static MethodHandle av_image_check_sar$handle() {
        return av_image_check_sar.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_image_check_sar(unsigned int w, unsigned int h, AVRational sar)
     * }
     */
    public static MemorySegment av_image_check_sar$address() {
        return av_image_check_sar.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_image_check_sar(unsigned int w, unsigned int h, AVRational sar)
     * }
     */
    public static int av_image_check_sar(int w, int h, MemorySegment sar) {
        var mh$ = av_image_check_sar.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_check_sar", w, h, sar);
            }
            return (int)mh$.invokeExact(w, h, sar);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_fill_black {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_fill_black");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_image_fill_black(uint8_t *dst_data[4], ptrdiff_t dst_linesize[4], enum AVPixelFormat pix_fmt, enum AVColorRange range, int width, int height)
     * }
     */
    public static FunctionDescriptor av_image_fill_black$descriptor() {
        return av_image_fill_black.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_image_fill_black(uint8_t *dst_data[4], ptrdiff_t dst_linesize[4], enum AVPixelFormat pix_fmt, enum AVColorRange range, int width, int height)
     * }
     */
    public static MethodHandle av_image_fill_black$handle() {
        return av_image_fill_black.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_image_fill_black(uint8_t *dst_data[4], ptrdiff_t dst_linesize[4], enum AVPixelFormat pix_fmt, enum AVColorRange range, int width, int height)
     * }
     */
    public static MemorySegment av_image_fill_black$address() {
        return av_image_fill_black.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_image_fill_black(uint8_t *dst_data[4], ptrdiff_t dst_linesize[4], enum AVPixelFormat pix_fmt, enum AVColorRange range, int width, int height)
     * }
     */
    public static int av_image_fill_black(MemorySegment dst_data, MemorySegment dst_linesize, int pix_fmt, int range, int width, int height) {
        var mh$ = av_image_fill_black.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_fill_black", dst_data, dst_linesize, pix_fmt, range, width, height);
            }
            return (int)mh$.invokeExact(dst_data, dst_linesize, pix_fmt, range, width, height);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_image_fill_color {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_image_fill_color");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_image_fill_color(uint8_t *dst_data[4], ptrdiff_t dst_linesize[4], enum AVPixelFormat pix_fmt, uint32_t color[4], int width, int height, int flags)
     * }
     */
    public static FunctionDescriptor av_image_fill_color$descriptor() {
        return av_image_fill_color.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_image_fill_color(uint8_t *dst_data[4], ptrdiff_t dst_linesize[4], enum AVPixelFormat pix_fmt, uint32_t color[4], int width, int height, int flags)
     * }
     */
    public static MethodHandle av_image_fill_color$handle() {
        return av_image_fill_color.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_image_fill_color(uint8_t *dst_data[4], ptrdiff_t dst_linesize[4], enum AVPixelFormat pix_fmt, uint32_t color[4], int width, int height, int flags)
     * }
     */
    public static MemorySegment av_image_fill_color$address() {
        return av_image_fill_color.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_image_fill_color(uint8_t *dst_data[4], ptrdiff_t dst_linesize[4], enum AVPixelFormat pix_fmt, uint32_t color[4], int width, int height, int flags)
     * }
     */
    public static int av_image_fill_color(MemorySegment dst_data, MemorySegment dst_linesize, int pix_fmt, MemorySegment color, int width, int height, int flags) {
        var mh$ = av_image_fill_color.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_image_fill_color", dst_data, dst_linesize, pix_fmt, color, width, height, flags);
            }
            return (int)mh$.invokeExact(dst_data, dst_linesize, pix_fmt, color, width, height, flags);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }
    private static final int AV_CHAN_NONE = (int)-1L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_NONE = -1
     * }
     */
    public static int AV_CHAN_NONE() {
        return AV_CHAN_NONE;
    }
    private static final int AV_CHAN_FRONT_LEFT = (int)0L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_FRONT_LEFT = 0
     * }
     */
    public static int AV_CHAN_FRONT_LEFT() {
        return AV_CHAN_FRONT_LEFT;
    }
    private static final int AV_CHAN_FRONT_RIGHT = (int)1L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_FRONT_RIGHT = 1
     * }
     */
    public static int AV_CHAN_FRONT_RIGHT() {
        return AV_CHAN_FRONT_RIGHT;
    }
    private static final int AV_CHAN_FRONT_CENTER = (int)2L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_FRONT_CENTER = 2
     * }
     */
    public static int AV_CHAN_FRONT_CENTER() {
        return AV_CHAN_FRONT_CENTER;
    }
    private static final int AV_CHAN_LOW_FREQUENCY = (int)3L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_LOW_FREQUENCY = 3
     * }
     */
    public static int AV_CHAN_LOW_FREQUENCY() {
        return AV_CHAN_LOW_FREQUENCY;
    }
    private static final int AV_CHAN_BACK_LEFT = (int)4L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_BACK_LEFT = 4
     * }
     */
    public static int AV_CHAN_BACK_LEFT() {
        return AV_CHAN_BACK_LEFT;
    }
    private static final int AV_CHAN_BACK_RIGHT = (int)5L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_BACK_RIGHT = 5
     * }
     */
    public static int AV_CHAN_BACK_RIGHT() {
        return AV_CHAN_BACK_RIGHT;
    }
    private static final int AV_CHAN_FRONT_LEFT_OF_CENTER = (int)6L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_FRONT_LEFT_OF_CENTER = 6
     * }
     */
    public static int AV_CHAN_FRONT_LEFT_OF_CENTER() {
        return AV_CHAN_FRONT_LEFT_OF_CENTER;
    }
    private static final int AV_CHAN_FRONT_RIGHT_OF_CENTER = (int)7L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_FRONT_RIGHT_OF_CENTER = 7
     * }
     */
    public static int AV_CHAN_FRONT_RIGHT_OF_CENTER() {
        return AV_CHAN_FRONT_RIGHT_OF_CENTER;
    }
    private static final int AV_CHAN_BACK_CENTER = (int)8L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_BACK_CENTER = 8
     * }
     */
    public static int AV_CHAN_BACK_CENTER() {
        return AV_CHAN_BACK_CENTER;
    }
    private static final int AV_CHAN_SIDE_LEFT = (int)9L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_SIDE_LEFT = 9
     * }
     */
    public static int AV_CHAN_SIDE_LEFT() {
        return AV_CHAN_SIDE_LEFT;
    }
    private static final int AV_CHAN_SIDE_RIGHT = (int)10L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_SIDE_RIGHT = 10
     * }
     */
    public static int AV_CHAN_SIDE_RIGHT() {
        return AV_CHAN_SIDE_RIGHT;
    }
    private static final int AV_CHAN_TOP_CENTER = (int)11L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_TOP_CENTER = 11
     * }
     */
    public static int AV_CHAN_TOP_CENTER() {
        return AV_CHAN_TOP_CENTER;
    }
    private static final int AV_CHAN_TOP_FRONT_LEFT = (int)12L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_TOP_FRONT_LEFT = 12
     * }
     */
    public static int AV_CHAN_TOP_FRONT_LEFT() {
        return AV_CHAN_TOP_FRONT_LEFT;
    }
    private static final int AV_CHAN_TOP_FRONT_CENTER = (int)13L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_TOP_FRONT_CENTER = 13
     * }
     */
    public static int AV_CHAN_TOP_FRONT_CENTER() {
        return AV_CHAN_TOP_FRONT_CENTER;
    }
    private static final int AV_CHAN_TOP_FRONT_RIGHT = (int)14L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_TOP_FRONT_RIGHT = 14
     * }
     */
    public static int AV_CHAN_TOP_FRONT_RIGHT() {
        return AV_CHAN_TOP_FRONT_RIGHT;
    }
    private static final int AV_CHAN_TOP_BACK_LEFT = (int)15L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_TOP_BACK_LEFT = 15
     * }
     */
    public static int AV_CHAN_TOP_BACK_LEFT() {
        return AV_CHAN_TOP_BACK_LEFT;
    }
    private static final int AV_CHAN_TOP_BACK_CENTER = (int)16L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_TOP_BACK_CENTER = 16
     * }
     */
    public static int AV_CHAN_TOP_BACK_CENTER() {
        return AV_CHAN_TOP_BACK_CENTER;
    }
    private static final int AV_CHAN_TOP_BACK_RIGHT = (int)17L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_TOP_BACK_RIGHT = 17
     * }
     */
    public static int AV_CHAN_TOP_BACK_RIGHT() {
        return AV_CHAN_TOP_BACK_RIGHT;
    }
    private static final int AV_CHAN_STEREO_LEFT = (int)29L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_STEREO_LEFT = 29
     * }
     */
    public static int AV_CHAN_STEREO_LEFT() {
        return AV_CHAN_STEREO_LEFT;
    }
    private static final int AV_CHAN_STEREO_RIGHT = (int)30L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_STEREO_RIGHT = 30
     * }
     */
    public static int AV_CHAN_STEREO_RIGHT() {
        return AV_CHAN_STEREO_RIGHT;
    }
    private static final int AV_CHAN_WIDE_LEFT = (int)31L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_WIDE_LEFT = 31
     * }
     */
    public static int AV_CHAN_WIDE_LEFT() {
        return AV_CHAN_WIDE_LEFT;
    }
    private static final int AV_CHAN_WIDE_RIGHT = (int)32L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_WIDE_RIGHT = 32
     * }
     */
    public static int AV_CHAN_WIDE_RIGHT() {
        return AV_CHAN_WIDE_RIGHT;
    }
    private static final int AV_CHAN_SURROUND_DIRECT_LEFT = (int)33L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_SURROUND_DIRECT_LEFT = 33
     * }
     */
    public static int AV_CHAN_SURROUND_DIRECT_LEFT() {
        return AV_CHAN_SURROUND_DIRECT_LEFT;
    }
    private static final int AV_CHAN_SURROUND_DIRECT_RIGHT = (int)34L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_SURROUND_DIRECT_RIGHT = 34
     * }
     */
    public static int AV_CHAN_SURROUND_DIRECT_RIGHT() {
        return AV_CHAN_SURROUND_DIRECT_RIGHT;
    }
    private static final int AV_CHAN_LOW_FREQUENCY_2 = (int)35L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_LOW_FREQUENCY_2 = 35
     * }
     */
    public static int AV_CHAN_LOW_FREQUENCY_2() {
        return AV_CHAN_LOW_FREQUENCY_2;
    }
    private static final int AV_CHAN_TOP_SIDE_LEFT = (int)36L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_TOP_SIDE_LEFT = 36
     * }
     */
    public static int AV_CHAN_TOP_SIDE_LEFT() {
        return AV_CHAN_TOP_SIDE_LEFT;
    }
    private static final int AV_CHAN_TOP_SIDE_RIGHT = (int)37L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_TOP_SIDE_RIGHT = 37
     * }
     */
    public static int AV_CHAN_TOP_SIDE_RIGHT() {
        return AV_CHAN_TOP_SIDE_RIGHT;
    }
    private static final int AV_CHAN_BOTTOM_FRONT_CENTER = (int)38L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_BOTTOM_FRONT_CENTER = 38
     * }
     */
    public static int AV_CHAN_BOTTOM_FRONT_CENTER() {
        return AV_CHAN_BOTTOM_FRONT_CENTER;
    }
    private static final int AV_CHAN_BOTTOM_FRONT_LEFT = (int)39L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_BOTTOM_FRONT_LEFT = 39
     * }
     */
    public static int AV_CHAN_BOTTOM_FRONT_LEFT() {
        return AV_CHAN_BOTTOM_FRONT_LEFT;
    }
    private static final int AV_CHAN_BOTTOM_FRONT_RIGHT = (int)40L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_BOTTOM_FRONT_RIGHT = 40
     * }
     */
    public static int AV_CHAN_BOTTOM_FRONT_RIGHT() {
        return AV_CHAN_BOTTOM_FRONT_RIGHT;
    }
    private static final int AV_CHAN_UNUSED = (int)512L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_UNUSED = 512
     * }
     */
    public static int AV_CHAN_UNUSED() {
        return AV_CHAN_UNUSED;
    }
    private static final int AV_CHAN_UNKNOWN = (int)768L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_UNKNOWN = 768
     * }
     */
    public static int AV_CHAN_UNKNOWN() {
        return AV_CHAN_UNKNOWN;
    }
    private static final int AV_CHAN_AMBISONIC_BASE = (int)1024L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_AMBISONIC_BASE = 1024
     * }
     */
    public static int AV_CHAN_AMBISONIC_BASE() {
        return AV_CHAN_AMBISONIC_BASE;
    }
    private static final int AV_CHAN_AMBISONIC_END = (int)2047L;
    /**
     * {@snippet lang=c :
     * enum AVChannel.AV_CHAN_AMBISONIC_END = 2047
     * }
     */
    public static int AV_CHAN_AMBISONIC_END() {
        return AV_CHAN_AMBISONIC_END;
    }
    private static final int AV_CHANNEL_ORDER_UNSPEC = (int)0L;
    /**
     * {@snippet lang=c :
     * enum AVChannelOrder.AV_CHANNEL_ORDER_UNSPEC = 0
     * }
     */
    public static int AV_CHANNEL_ORDER_UNSPEC() {
        return AV_CHANNEL_ORDER_UNSPEC;
    }
    private static final int AV_CHANNEL_ORDER_NATIVE = (int)1L;
    /**
     * {@snippet lang=c :
     * enum AVChannelOrder.AV_CHANNEL_ORDER_NATIVE = 1
     * }
     */
    public static int AV_CHANNEL_ORDER_NATIVE() {
        return AV_CHANNEL_ORDER_NATIVE;
    }
    private static final int AV_CHANNEL_ORDER_CUSTOM = (int)2L;
    /**
     * {@snippet lang=c :
     * enum AVChannelOrder.AV_CHANNEL_ORDER_CUSTOM = 2
     * }
     */
    public static int AV_CHANNEL_ORDER_CUSTOM() {
        return AV_CHANNEL_ORDER_CUSTOM;
    }
    private static final int AV_CHANNEL_ORDER_AMBISONIC = (int)3L;
    /**
     * {@snippet lang=c :
     * enum AVChannelOrder.AV_CHANNEL_ORDER_AMBISONIC = 3
     * }
     */
    public static int AV_CHANNEL_ORDER_AMBISONIC() {
        return AV_CHANNEL_ORDER_AMBISONIC;
    }
    private static final int FF_CHANNEL_ORDER_NB = (int)4L;
    /**
     * {@snippet lang=c :
     * enum AVChannelOrder.FF_CHANNEL_ORDER_NB = 4
     * }
     */
    public static int FF_CHANNEL_ORDER_NB() {
        return FF_CHANNEL_ORDER_NB;
    }
    private static final int AV_MATRIX_ENCODING_NONE = (int)0L;
    /**
     * {@snippet lang=c :
     * enum AVMatrixEncoding.AV_MATRIX_ENCODING_NONE = 0
     * }
     */
    public static int AV_MATRIX_ENCODING_NONE() {
        return AV_MATRIX_ENCODING_NONE;
    }
    private static final int AV_MATRIX_ENCODING_DOLBY = (int)1L;
    /**
     * {@snippet lang=c :
     * enum AVMatrixEncoding.AV_MATRIX_ENCODING_DOLBY = 1
     * }
     */
    public static int AV_MATRIX_ENCODING_DOLBY() {
        return AV_MATRIX_ENCODING_DOLBY;
    }
    private static final int AV_MATRIX_ENCODING_DPLII = (int)2L;
    /**
     * {@snippet lang=c :
     * enum AVMatrixEncoding.AV_MATRIX_ENCODING_DPLII = 2
     * }
     */
    public static int AV_MATRIX_ENCODING_DPLII() {
        return AV_MATRIX_ENCODING_DPLII;
    }
    private static final int AV_MATRIX_ENCODING_DPLIIX = (int)3L;
    /**
     * {@snippet lang=c :
     * enum AVMatrixEncoding.AV_MATRIX_ENCODING_DPLIIX = 3
     * }
     */
    public static int AV_MATRIX_ENCODING_DPLIIX() {
        return AV_MATRIX_ENCODING_DPLIIX;
    }
    private static final int AV_MATRIX_ENCODING_DPLIIZ = (int)4L;
    /**
     * {@snippet lang=c :
     * enum AVMatrixEncoding.AV_MATRIX_ENCODING_DPLIIZ = 4
     * }
     */
    public static int AV_MATRIX_ENCODING_DPLIIZ() {
        return AV_MATRIX_ENCODING_DPLIIZ;
    }
    private static final int AV_MATRIX_ENCODING_DOLBYEX = (int)5L;
    /**
     * {@snippet lang=c :
     * enum AVMatrixEncoding.AV_MATRIX_ENCODING_DOLBYEX = 5
     * }
     */
    public static int AV_MATRIX_ENCODING_DOLBYEX() {
        return AV_MATRIX_ENCODING_DOLBYEX;
    }
    private static final int AV_MATRIX_ENCODING_DOLBYHEADPHONE = (int)6L;
    /**
     * {@snippet lang=c :
     * enum AVMatrixEncoding.AV_MATRIX_ENCODING_DOLBYHEADPHONE = 6
     * }
     */
    public static int AV_MATRIX_ENCODING_DOLBYHEADPHONE() {
        return AV_MATRIX_ENCODING_DOLBYHEADPHONE;
    }
    private static final int AV_MATRIX_ENCODING_NB = (int)7L;
    /**
     * {@snippet lang=c :
     * enum AVMatrixEncoding.AV_MATRIX_ENCODING_NB = 7
     * }
     */
    public static int AV_MATRIX_ENCODING_NB() {
        return AV_MATRIX_ENCODING_NB;
    }

    private static class av_channel_name {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_name");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_channel_name(char *buf, size_t buf_size, enum AVChannel channel)
     * }
     */
    public static FunctionDescriptor av_channel_name$descriptor() {
        return av_channel_name.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_channel_name(char *buf, size_t buf_size, enum AVChannel channel)
     * }
     */
    public static MethodHandle av_channel_name$handle() {
        return av_channel_name.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_channel_name(char *buf, size_t buf_size, enum AVChannel channel)
     * }
     */
    public static MemorySegment av_channel_name$address() {
        return av_channel_name.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_channel_name(char *buf, size_t buf_size, enum AVChannel channel)
     * }
     */
    public static int av_channel_name(MemorySegment buf, long buf_size, int channel) {
        var mh$ = av_channel_name.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_name", buf, buf_size, channel);
            }
            return (int)mh$.invokeExact(buf, buf_size, channel);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_name_bprint {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_name_bprint");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_channel_name_bprint(struct AVBPrint *bp, enum AVChannel channel_id)
     * }
     */
    public static FunctionDescriptor av_channel_name_bprint$descriptor() {
        return av_channel_name_bprint.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_channel_name_bprint(struct AVBPrint *bp, enum AVChannel channel_id)
     * }
     */
    public static MethodHandle av_channel_name_bprint$handle() {
        return av_channel_name_bprint.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_channel_name_bprint(struct AVBPrint *bp, enum AVChannel channel_id)
     * }
     */
    public static MemorySegment av_channel_name_bprint$address() {
        return av_channel_name_bprint.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_channel_name_bprint(struct AVBPrint *bp, enum AVChannel channel_id)
     * }
     */
    public static void av_channel_name_bprint(MemorySegment bp, int channel_id) {
        var mh$ = av_channel_name_bprint.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_name_bprint", bp, channel_id);
            }
            mh$.invokeExact(bp, channel_id);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_description {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_description");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_channel_description(char *buf, size_t buf_size, enum AVChannel channel)
     * }
     */
    public static FunctionDescriptor av_channel_description$descriptor() {
        return av_channel_description.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_channel_description(char *buf, size_t buf_size, enum AVChannel channel)
     * }
     */
    public static MethodHandle av_channel_description$handle() {
        return av_channel_description.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_channel_description(char *buf, size_t buf_size, enum AVChannel channel)
     * }
     */
    public static MemorySegment av_channel_description$address() {
        return av_channel_description.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_channel_description(char *buf, size_t buf_size, enum AVChannel channel)
     * }
     */
    public static int av_channel_description(MemorySegment buf, long buf_size, int channel) {
        var mh$ = av_channel_description.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_description", buf, buf_size, channel);
            }
            return (int)mh$.invokeExact(buf, buf_size, channel);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_description_bprint {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_description_bprint");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_channel_description_bprint(struct AVBPrint *bp, enum AVChannel channel_id)
     * }
     */
    public static FunctionDescriptor av_channel_description_bprint$descriptor() {
        return av_channel_description_bprint.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_channel_description_bprint(struct AVBPrint *bp, enum AVChannel channel_id)
     * }
     */
    public static MethodHandle av_channel_description_bprint$handle() {
        return av_channel_description_bprint.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_channel_description_bprint(struct AVBPrint *bp, enum AVChannel channel_id)
     * }
     */
    public static MemorySegment av_channel_description_bprint$address() {
        return av_channel_description_bprint.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_channel_description_bprint(struct AVBPrint *bp, enum AVChannel channel_id)
     * }
     */
    public static void av_channel_description_bprint(MemorySegment bp, int channel_id) {
        var mh$ = av_channel_description_bprint.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_description_bprint", bp, channel_id);
            }
            mh$.invokeExact(bp, channel_id);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_from_string {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_from_string");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * enum AVChannel av_channel_from_string(char *name)
     * }
     */
    public static FunctionDescriptor av_channel_from_string$descriptor() {
        return av_channel_from_string.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * enum AVChannel av_channel_from_string(char *name)
     * }
     */
    public static MethodHandle av_channel_from_string$handle() {
        return av_channel_from_string.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * enum AVChannel av_channel_from_string(char *name)
     * }
     */
    public static MemorySegment av_channel_from_string$address() {
        return av_channel_from_string.ADDR;
    }

    /**
     * {@snippet lang=c :
     * enum AVChannel av_channel_from_string(char *name)
     * }
     */
    public static int av_channel_from_string(MemorySegment name) {
        var mh$ = av_channel_from_string.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_from_string", name);
            }
            return (int)mh$.invokeExact(name);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_custom_init {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_custom_init");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_channel_layout_custom_init(AVChannelLayout *channel_layout, int nb_channels)
     * }
     */
    public static FunctionDescriptor av_channel_layout_custom_init$descriptor() {
        return av_channel_layout_custom_init.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_channel_layout_custom_init(AVChannelLayout *channel_layout, int nb_channels)
     * }
     */
    public static MethodHandle av_channel_layout_custom_init$handle() {
        return av_channel_layout_custom_init.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_channel_layout_custom_init(AVChannelLayout *channel_layout, int nb_channels)
     * }
     */
    public static MemorySegment av_channel_layout_custom_init$address() {
        return av_channel_layout_custom_init.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_channel_layout_custom_init(AVChannelLayout *channel_layout, int nb_channels)
     * }
     */
    public static int av_channel_layout_custom_init(MemorySegment channel_layout, int nb_channels) {
        var mh$ = av_channel_layout_custom_init.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_custom_init", channel_layout, nb_channels);
            }
            return (int)mh$.invokeExact(channel_layout, nb_channels);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_from_mask {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_from_mask");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_channel_layout_from_mask(AVChannelLayout *channel_layout, uint64_t mask)
     * }
     */
    public static FunctionDescriptor av_channel_layout_from_mask$descriptor() {
        return av_channel_layout_from_mask.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_channel_layout_from_mask(AVChannelLayout *channel_layout, uint64_t mask)
     * }
     */
    public static MethodHandle av_channel_layout_from_mask$handle() {
        return av_channel_layout_from_mask.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_channel_layout_from_mask(AVChannelLayout *channel_layout, uint64_t mask)
     * }
     */
    public static MemorySegment av_channel_layout_from_mask$address() {
        return av_channel_layout_from_mask.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_channel_layout_from_mask(AVChannelLayout *channel_layout, uint64_t mask)
     * }
     */
    public static int av_channel_layout_from_mask(MemorySegment channel_layout, long mask) {
        var mh$ = av_channel_layout_from_mask.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_from_mask", channel_layout, mask);
            }
            return (int)mh$.invokeExact(channel_layout, mask);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_from_string {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_from_string");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_channel_layout_from_string(AVChannelLayout *channel_layout, char *str)
     * }
     */
    public static FunctionDescriptor av_channel_layout_from_string$descriptor() {
        return av_channel_layout_from_string.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_channel_layout_from_string(AVChannelLayout *channel_layout, char *str)
     * }
     */
    public static MethodHandle av_channel_layout_from_string$handle() {
        return av_channel_layout_from_string.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_channel_layout_from_string(AVChannelLayout *channel_layout, char *str)
     * }
     */
    public static MemorySegment av_channel_layout_from_string$address() {
        return av_channel_layout_from_string.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_channel_layout_from_string(AVChannelLayout *channel_layout, char *str)
     * }
     */
    public static int av_channel_layout_from_string(MemorySegment channel_layout, MemorySegment str) {
        var mh$ = av_channel_layout_from_string.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_from_string", channel_layout, str);
            }
            return (int)mh$.invokeExact(channel_layout, str);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_default {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_default");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_channel_layout_default(AVChannelLayout *ch_layout, int nb_channels)
     * }
     */
    public static FunctionDescriptor av_channel_layout_default$descriptor() {
        return av_channel_layout_default.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_channel_layout_default(AVChannelLayout *ch_layout, int nb_channels)
     * }
     */
    public static MethodHandle av_channel_layout_default$handle() {
        return av_channel_layout_default.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_channel_layout_default(AVChannelLayout *ch_layout, int nb_channels)
     * }
     */
    public static MemorySegment av_channel_layout_default$address() {
        return av_channel_layout_default.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_channel_layout_default(AVChannelLayout *ch_layout, int nb_channels)
     * }
     */
    public static void av_channel_layout_default(MemorySegment ch_layout, int nb_channels) {
        var mh$ = av_channel_layout_default.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_default", ch_layout, nb_channels);
            }
            mh$.invokeExact(ch_layout, nb_channels);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_standard {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_standard");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * AVChannelLayout *av_channel_layout_standard(void **opaque)
     * }
     */
    public static FunctionDescriptor av_channel_layout_standard$descriptor() {
        return av_channel_layout_standard.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * AVChannelLayout *av_channel_layout_standard(void **opaque)
     * }
     */
    public static MethodHandle av_channel_layout_standard$handle() {
        return av_channel_layout_standard.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * AVChannelLayout *av_channel_layout_standard(void **opaque)
     * }
     */
    public static MemorySegment av_channel_layout_standard$address() {
        return av_channel_layout_standard.ADDR;
    }

    /**
     * {@snippet lang=c :
     * AVChannelLayout *av_channel_layout_standard(void **opaque)
     * }
     */
    public static MemorySegment av_channel_layout_standard(MemorySegment opaque) {
        var mh$ = av_channel_layout_standard.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_standard", opaque);
            }
            return (MemorySegment)mh$.invokeExact(opaque);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_uninit {
        public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_uninit");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * void av_channel_layout_uninit(AVChannelLayout *channel_layout)
     * }
     */
    public static FunctionDescriptor av_channel_layout_uninit$descriptor() {
        return av_channel_layout_uninit.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * void av_channel_layout_uninit(AVChannelLayout *channel_layout)
     * }
     */
    public static MethodHandle av_channel_layout_uninit$handle() {
        return av_channel_layout_uninit.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * void av_channel_layout_uninit(AVChannelLayout *channel_layout)
     * }
     */
    public static MemorySegment av_channel_layout_uninit$address() {
        return av_channel_layout_uninit.ADDR;
    }

    /**
     * {@snippet lang=c :
     * void av_channel_layout_uninit(AVChannelLayout *channel_layout)
     * }
     */
    public static void av_channel_layout_uninit(MemorySegment channel_layout) {
        var mh$ = av_channel_layout_uninit.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_uninit", channel_layout);
            }
            mh$.invokeExact(channel_layout);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_copy {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_copy");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_channel_layout_copy(AVChannelLayout *dst, AVChannelLayout *src)
     * }
     */
    public static FunctionDescriptor av_channel_layout_copy$descriptor() {
        return av_channel_layout_copy.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_channel_layout_copy(AVChannelLayout *dst, AVChannelLayout *src)
     * }
     */
    public static MethodHandle av_channel_layout_copy$handle() {
        return av_channel_layout_copy.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_channel_layout_copy(AVChannelLayout *dst, AVChannelLayout *src)
     * }
     */
    public static MemorySegment av_channel_layout_copy$address() {
        return av_channel_layout_copy.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_channel_layout_copy(AVChannelLayout *dst, AVChannelLayout *src)
     * }
     */
    public static int av_channel_layout_copy(MemorySegment dst, MemorySegment src) {
        var mh$ = av_channel_layout_copy.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_copy", dst, src);
            }
            return (int)mh$.invokeExact(dst, src);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_describe {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_describe");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_channel_layout_describe(AVChannelLayout *channel_layout, char *buf, size_t buf_size)
     * }
     */
    public static FunctionDescriptor av_channel_layout_describe$descriptor() {
        return av_channel_layout_describe.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_channel_layout_describe(AVChannelLayout *channel_layout, char *buf, size_t buf_size)
     * }
     */
    public static MethodHandle av_channel_layout_describe$handle() {
        return av_channel_layout_describe.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_channel_layout_describe(AVChannelLayout *channel_layout, char *buf, size_t buf_size)
     * }
     */
    public static MemorySegment av_channel_layout_describe$address() {
        return av_channel_layout_describe.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_channel_layout_describe(AVChannelLayout *channel_layout, char *buf, size_t buf_size)
     * }
     */
    public static int av_channel_layout_describe(MemorySegment channel_layout, MemorySegment buf, long buf_size) {
        var mh$ = av_channel_layout_describe.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_describe", channel_layout, buf, buf_size);
            }
            return (int)mh$.invokeExact(channel_layout, buf, buf_size);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_describe_bprint {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_describe_bprint");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_channel_layout_describe_bprint(AVChannelLayout *channel_layout, struct AVBPrint *bp)
     * }
     */
    public static FunctionDescriptor av_channel_layout_describe_bprint$descriptor() {
        return av_channel_layout_describe_bprint.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_channel_layout_describe_bprint(AVChannelLayout *channel_layout, struct AVBPrint *bp)
     * }
     */
    public static MethodHandle av_channel_layout_describe_bprint$handle() {
        return av_channel_layout_describe_bprint.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_channel_layout_describe_bprint(AVChannelLayout *channel_layout, struct AVBPrint *bp)
     * }
     */
    public static MemorySegment av_channel_layout_describe_bprint$address() {
        return av_channel_layout_describe_bprint.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_channel_layout_describe_bprint(AVChannelLayout *channel_layout, struct AVBPrint *bp)
     * }
     */
    public static int av_channel_layout_describe_bprint(MemorySegment channel_layout, MemorySegment bp) {
        var mh$ = av_channel_layout_describe_bprint.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_describe_bprint", channel_layout, bp);
            }
            return (int)mh$.invokeExact(channel_layout, bp);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_channel_from_index {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_channel_from_index");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * enum AVChannel av_channel_layout_channel_from_index(AVChannelLayout *channel_layout, unsigned int idx)
     * }
     */
    public static FunctionDescriptor av_channel_layout_channel_from_index$descriptor() {
        return av_channel_layout_channel_from_index.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * enum AVChannel av_channel_layout_channel_from_index(AVChannelLayout *channel_layout, unsigned int idx)
     * }
     */
    public static MethodHandle av_channel_layout_channel_from_index$handle() {
        return av_channel_layout_channel_from_index.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * enum AVChannel av_channel_layout_channel_from_index(AVChannelLayout *channel_layout, unsigned int idx)
     * }
     */
    public static MemorySegment av_channel_layout_channel_from_index$address() {
        return av_channel_layout_channel_from_index.ADDR;
    }

    /**
     * {@snippet lang=c :
     * enum AVChannel av_channel_layout_channel_from_index(AVChannelLayout *channel_layout, unsigned int idx)
     * }
     */
    public static int av_channel_layout_channel_from_index(MemorySegment channel_layout, int idx) {
        var mh$ = av_channel_layout_channel_from_index.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_channel_from_index", channel_layout, idx);
            }
            return (int)mh$.invokeExact(channel_layout, idx);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_index_from_channel {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_index_from_channel");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_channel_layout_index_from_channel(AVChannelLayout *channel_layout, enum AVChannel channel)
     * }
     */
    public static FunctionDescriptor av_channel_layout_index_from_channel$descriptor() {
        return av_channel_layout_index_from_channel.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_channel_layout_index_from_channel(AVChannelLayout *channel_layout, enum AVChannel channel)
     * }
     */
    public static MethodHandle av_channel_layout_index_from_channel$handle() {
        return av_channel_layout_index_from_channel.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_channel_layout_index_from_channel(AVChannelLayout *channel_layout, enum AVChannel channel)
     * }
     */
    public static MemorySegment av_channel_layout_index_from_channel$address() {
        return av_channel_layout_index_from_channel.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_channel_layout_index_from_channel(AVChannelLayout *channel_layout, enum AVChannel channel)
     * }
     */
    public static int av_channel_layout_index_from_channel(MemorySegment channel_layout, int channel) {
        var mh$ = av_channel_layout_index_from_channel.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_index_from_channel", channel_layout, channel);
            }
            return (int)mh$.invokeExact(channel_layout, channel);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_index_from_string {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_index_from_string");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_channel_layout_index_from_string(AVChannelLayout *channel_layout, char *name)
     * }
     */
    public static FunctionDescriptor av_channel_layout_index_from_string$descriptor() {
        return av_channel_layout_index_from_string.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_channel_layout_index_from_string(AVChannelLayout *channel_layout, char *name)
     * }
     */
    public static MethodHandle av_channel_layout_index_from_string$handle() {
        return av_channel_layout_index_from_string.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_channel_layout_index_from_string(AVChannelLayout *channel_layout, char *name)
     * }
     */
    public static MemorySegment av_channel_layout_index_from_string$address() {
        return av_channel_layout_index_from_string.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_channel_layout_index_from_string(AVChannelLayout *channel_layout, char *name)
     * }
     */
    public static int av_channel_layout_index_from_string(MemorySegment channel_layout, MemorySegment name) {
        var mh$ = av_channel_layout_index_from_string.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_index_from_string", channel_layout, name);
            }
            return (int)mh$.invokeExact(channel_layout, name);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_channel_from_string {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_channel_from_string");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * enum AVChannel av_channel_layout_channel_from_string(AVChannelLayout *channel_layout, char *name)
     * }
     */
    public static FunctionDescriptor av_channel_layout_channel_from_string$descriptor() {
        return av_channel_layout_channel_from_string.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * enum AVChannel av_channel_layout_channel_from_string(AVChannelLayout *channel_layout, char *name)
     * }
     */
    public static MethodHandle av_channel_layout_channel_from_string$handle() {
        return av_channel_layout_channel_from_string.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * enum AVChannel av_channel_layout_channel_from_string(AVChannelLayout *channel_layout, char *name)
     * }
     */
    public static MemorySegment av_channel_layout_channel_from_string$address() {
        return av_channel_layout_channel_from_string.ADDR;
    }

    /**
     * {@snippet lang=c :
     * enum AVChannel av_channel_layout_channel_from_string(AVChannelLayout *channel_layout, char *name)
     * }
     */
    public static int av_channel_layout_channel_from_string(MemorySegment channel_layout, MemorySegment name) {
        var mh$ = av_channel_layout_channel_from_string.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_channel_from_string", channel_layout, name);
            }
            return (int)mh$.invokeExact(channel_layout, name);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_subset {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_LONG_LONG,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_LONG_LONG
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_subset");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * uint64_t av_channel_layout_subset(AVChannelLayout *channel_layout, uint64_t mask)
     * }
     */
    public static FunctionDescriptor av_channel_layout_subset$descriptor() {
        return av_channel_layout_subset.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * uint64_t av_channel_layout_subset(AVChannelLayout *channel_layout, uint64_t mask)
     * }
     */
    public static MethodHandle av_channel_layout_subset$handle() {
        return av_channel_layout_subset.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * uint64_t av_channel_layout_subset(AVChannelLayout *channel_layout, uint64_t mask)
     * }
     */
    public static MemorySegment av_channel_layout_subset$address() {
        return av_channel_layout_subset.ADDR;
    }

    /**
     * {@snippet lang=c :
     * uint64_t av_channel_layout_subset(AVChannelLayout *channel_layout, uint64_t mask)
     * }
     */
    public static long av_channel_layout_subset(MemorySegment channel_layout, long mask) {
        var mh$ = av_channel_layout_subset.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_subset", channel_layout, mask);
            }
            return (long)mh$.invokeExact(channel_layout, mask);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_check {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_check");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_channel_layout_check(AVChannelLayout *channel_layout)
     * }
     */
    public static FunctionDescriptor av_channel_layout_check$descriptor() {
        return av_channel_layout_check.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_channel_layout_check(AVChannelLayout *channel_layout)
     * }
     */
    public static MethodHandle av_channel_layout_check$handle() {
        return av_channel_layout_check.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_channel_layout_check(AVChannelLayout *channel_layout)
     * }
     */
    public static MemorySegment av_channel_layout_check$address() {
        return av_channel_layout_check.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_channel_layout_check(AVChannelLayout *channel_layout)
     * }
     */
    public static int av_channel_layout_check(MemorySegment channel_layout) {
        var mh$ = av_channel_layout_check.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_check", channel_layout);
            }
            return (int)mh$.invokeExact(channel_layout);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_compare {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_POINTER
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_compare");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_channel_layout_compare(AVChannelLayout *chl, AVChannelLayout *chl1)
     * }
     */
    public static FunctionDescriptor av_channel_layout_compare$descriptor() {
        return av_channel_layout_compare.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_channel_layout_compare(AVChannelLayout *chl, AVChannelLayout *chl1)
     * }
     */
    public static MethodHandle av_channel_layout_compare$handle() {
        return av_channel_layout_compare.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_channel_layout_compare(AVChannelLayout *chl, AVChannelLayout *chl1)
     * }
     */
    public static MemorySegment av_channel_layout_compare$address() {
        return av_channel_layout_compare.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_channel_layout_compare(AVChannelLayout *chl, AVChannelLayout *chl1)
     * }
     */
    public static int av_channel_layout_compare(MemorySegment chl, MemorySegment chl1) {
        var mh$ = av_channel_layout_compare.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_compare", chl, chl1);
            }
            return (int)mh$.invokeExact(chl, chl1);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }

    private static class av_channel_layout_retype {
        public static final FunctionDescriptor DESC = FunctionDescriptor.of(
            Libffmpeg.C_INT,
            Libffmpeg.C_POINTER,
            Libffmpeg.C_INT,
            Libffmpeg.C_INT
        );

        public static final MemorySegment ADDR = Libffmpeg.findOrThrow("av_channel_layout_retype");

        public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
    }

    /**
     * Function descriptor for:
     * {@snippet lang=c :
     * int av_channel_layout_retype(AVChannelLayout *channel_layout, enum AVChannelOrder order, int flags)
     * }
     */
    public static FunctionDescriptor av_channel_layout_retype$descriptor() {
        return av_channel_layout_retype.DESC;
    }

    /**
     * Downcall method handle for:
     * {@snippet lang=c :
     * int av_channel_layout_retype(AVChannelLayout *channel_layout, enum AVChannelOrder order, int flags)
     * }
     */
    public static MethodHandle av_channel_layout_retype$handle() {
        return av_channel_layout_retype.HANDLE;
    }

    /**
     * Address for:
     * {@snippet lang=c :
     * int av_channel_layout_retype(AVChannelLayout *channel_layout, enum AVChannelOrder order, int flags)
     * }
     */
    public static MemorySegment av_channel_layout_retype$address() {
        return av_channel_layout_retype.ADDR;
    }

    /**
     * {@snippet lang=c :
     * int av_channel_layout_retype(AVChannelLayout *channel_layout, enum AVChannelOrder order, int flags)
     * }
     */
    public static int av_channel_layout_retype(MemorySegment channel_layout, int order, int flags) {
        var mh$ = av_channel_layout_retype.HANDLE;
        try {
            if (TRACE_DOWNCALLS) {
                traceDowncall("av_channel_layout_retype", channel_layout, order, flags);
            }
            return (int)mh$.invokeExact(channel_layout, order, flags);
        } catch (Throwable ex$) {
           throw new AssertionError("should not reach here", ex$);
        }
    }
    private static final int AV_SAMPLE_FMT_NONE = (int)-1L;
    /**
     * {@snippet lang=c :
     * enum AVSampleFormat.AV_SAMPLE_FMT_NONE = -1
     * }
     */
    public static int AV_SAMPLE_FMT_NONE() {
        return AV_SAMPLE_FMT_NONE;
    }
    private static final int AV_SAMPLE_FMT_U8 = (int)0L;
    /**
     * {@snippet lang=c :
     * enum AVSampleFormat.AV_SAMPLE_FMT_U8 = 0
     * }
     */
    public static int AV_SAMPLE_FMT_U8() {
        return AV_SAMPLE_FMT_U8;
    }
    private static final int AV_SAMPLE_FMT_S16 = (int)1L;
    /**
     * {@snippet lang=c :
     * enum AVSampleFormat.AV_SAMPLE_FMT_S16 = 1
     * }
     */
    public static int AV_SAMPLE_FMT_S16() {
        return AV_SAMPLE_FMT_S16;
    }
    private static final int AV_SAMPLE_FMT_S32 = (int)2L;
    /**
     * {@snippet lang=c :
     * enum AVSampleFormat.AV_SAMPLE_FMT_S32 = 2
     * }
     */
    public static int AV_SAMPLE_FMT_S32() {
        return AV_SAMPLE_FMT_S32;
    }
    private static final int AV_SAMPLE_FMT_FLT = (int)3L;
    /**
     * {@snippet lang=c :
     * enum AVSampleFormat.AV_SAMPLE_FMT_FLT = 3
     * }
     */
    public static int AV_SAMPLE_FMT_FLT() {
        return AV_SAMPLE_FMT_FLT;
    }
    private static final int AV_SAMPLE_FMT_DBL = (int)4L;
    /**
     * {@snippet lang=c :
     * enum AVSampleFormat.AV_SAMPLE_FMT_DBL = 4
     * }
     */
    public static int AV_SAMPLE_FMT_DBL() {
        return AV_SAMPLE_FMT_DBL;
    }
    private static final int AV_SAMPLE_FMT_U8P = (int)5L;
    /**
     * {@snippet lang=c :
     * enum AVSampleFormat.AV_SAMPLE_FMT_U8P = 5
     * }
     */
    public static int AV_SAMPLE_FMT_U8P() {
        return AV_SAMPLE_FMT_U8P;
    }
    private static final int AV_SAMPLE_FMT_S16P = (int)6L;
    /**
     * {@snippet lang=c :
     * enum AVSampleFormat.AV_SAMPLE_FMT_S16P = 6
     * }
     */
    public static int AV_SAMPLE_FMT_S16P() {
        return AV_SAMPLE_FMT_S16P;
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy