Now using int64 for flags

This commit is contained in:
Quentin Renard
2024-03-29 09:34:57 +01:00
parent f60ac3803a
commit 90978f666e
15 changed files with 16 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ package astiav
//#include <libavfilter/buffersink.h> //#include <libavfilter/buffersink.h>
import "C" import "C"
type BuffersinkFlag int type BuffersinkFlag int64
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/buffersink.h#L89 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/buffersink.h#L89
const ( const (

View File

@@ -4,7 +4,7 @@ package astiav
//#include <libavfilter/buffersrc.h> //#include <libavfilter/buffersrc.h>
import "C" import "C"
type BuffersrcFlag int type BuffersrcFlag int64
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/buffersrc.h#L36 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/buffersrc.h#L36
const ( const (

View File

@@ -4,7 +4,7 @@ package astiav
//#include <libavcodec/avcodec.h> //#include <libavcodec/avcodec.h>
import "C" import "C"
type CodecContextFlag int type CodecContextFlag int64
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L206 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L206
const ( const (
@@ -28,7 +28,7 @@ const (
CodecContextFlagClosedGop = CodecContextFlag(C.AV_CODEC_FLAG_CLOSED_GOP) CodecContextFlagClosedGop = CodecContextFlag(C.AV_CODEC_FLAG_CLOSED_GOP)
) )
type CodecContextFlag2 int type CodecContextFlag2 int64
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L287 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/avcodec.h#L287
const ( const (

View File

@@ -5,7 +5,7 @@ package astiav
import "C" import "C"
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/codec.h#L420 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/codec.h#L420
type CodecHardwareConfigMethodFlag int type CodecHardwareConfigMethodFlag int64
const ( const (
CodecHardwareConfigMethodFlagAdHoc = CodecHardwareConfigMethodFlag(C.AV_CODEC_HW_CONFIG_METHOD_AD_HOC) CodecHardwareConfigMethodFlagAdHoc = CodecHardwareConfigMethodFlag(C.AV_CODEC_HW_CONFIG_METHOD_AD_HOC)

View File

@@ -4,7 +4,7 @@ package astiav
//#include <libavutil/dict.h> //#include <libavutil/dict.h>
import "C" import "C"
type DictionaryFlag int type DictionaryFlag int64
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/dict.h#L67 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavutil/dict.h#L67
const ( const (

View File

@@ -4,7 +4,7 @@ package astiav
//#include <libavfilter/avfilter.h> //#include <libavfilter/avfilter.h>
import "C" import "C"
type FilterCommandFlag int type FilterCommandFlag int64
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/avfilter.h#L739 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/avfilter.h#L739
const ( const (

View File

@@ -4,7 +4,7 @@ package astiav
//#include <libavformat/avformat.h> //#include <libavformat/avformat.h>
import "C" import "C"
type FormatContextCtxFlag int type FormatContextCtxFlag int64
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1153 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1153
const ( const (

View File

@@ -4,7 +4,7 @@ package astiav
//#include <libavformat/avformat.h> //#include <libavformat/avformat.h>
import "C" import "C"
type FormatContextFlag int type FormatContextFlag int64
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1321 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1321
const ( const (

View File

@@ -4,7 +4,7 @@ package astiav
//#include <libavformat/avformat.h> //#include <libavformat/avformat.h>
import "C" import "C"
type FormatEventFlag int type FormatEventFlag int64
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1519 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1519
const ( const (

View File

@@ -4,7 +4,7 @@ package astiav
//#include <libavformat/avformat.h> //#include <libavformat/avformat.h>
import "C" import "C"
type IOContextFlag int type IOContextFlag int64
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avio.h#L621 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avio.h#L621
const ( const (

View File

@@ -4,7 +4,7 @@ package astiav
//#include <libavformat/avformat.h> //#include <libavformat/avformat.h>
import "C" import "C"
type IOFormatFlag int type IOFormatFlag int64
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L464 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L464
const ( const (

View File

@@ -4,7 +4,7 @@ package astiav
//#include <libavcodec/avcodec.h> //#include <libavcodec/avcodec.h>
import "C" import "C"
type PacketFlag int type PacketFlag int64
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/packet.h#L428 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavcodec/packet.h#L428
const ( const (

View File

@@ -4,7 +4,7 @@ package astiav
//#include <libavformat/avformat.h> //#include <libavformat/avformat.h>
import "C" import "C"
type SeekFlag int type SeekFlag int64
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L2277 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L2277
const ( const (

View File

@@ -4,7 +4,7 @@ package astiav
//#include <libswscale/swscale.h> //#include <libswscale/swscale.h>
import "C" import "C"
type SoftwareScaleContextFlag int type SoftwareScaleContextFlag int64
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libswscale/swscale.h#L59 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libswscale/swscale.h#L59
const ( const (

View File

@@ -4,7 +4,7 @@ package astiav
//#include <libavformat/avformat.h> //#include <libavformat/avformat.h>
import "C" import "C"
type StreamEventFlag int type StreamEventFlag int64
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1070 // https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavformat/avformat.h#L1070
const ( const (