-
Notifications
You must be signed in to change notification settings - Fork 747
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modularize presets for FFmpeg (pull #669)
- Loading branch information
1 parent
c406ff2
commit 5c03601
Showing
139 changed files
with
18,077 additions
and
15,789 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
88 changes: 88 additions & 0 deletions
88
ffmpeg/src/gen/java/org/bytedeco/javacpp/avcodec/AVBSFContext.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
// Targeted by JavaCPP version 1.5-SNAPSHOT: DO NOT EDIT THIS FILE | ||
|
||
package org.bytedeco.javacpp.avcodec; | ||
|
||
import java.nio.*; | ||
import org.bytedeco.javacpp.*; | ||
import org.bytedeco.javacpp.annotation.*; | ||
|
||
import org.bytedeco.javacpp.avutil.*; | ||
import static org.bytedeco.javacpp.avutil.avutil.*; | ||
import org.bytedeco.javacpp.swresample.*; | ||
import static org.bytedeco.javacpp.swresample.swresample.*; | ||
|
||
import static org.bytedeco.javacpp.avcodec.avcodec.*; | ||
|
||
|
||
/** | ||
* The bitstream filter state. | ||
* | ||
* This struct must be allocated with av_bsf_alloc() and freed with | ||
* av_bsf_free(). | ||
* | ||
* The fields in the struct will only be changed (by the caller or by the | ||
* filter) as described in their documentation, and are to be considered | ||
* immutable otherwise. | ||
*/ | ||
@Properties(inherit = org.bytedeco.javacpp.avcodec.avcodec_presets.class) | ||
public class AVBSFContext extends Pointer { | ||
static { Loader.load(); } | ||
/** Default native constructor. */ | ||
public AVBSFContext() { super((Pointer)null); allocate(); } | ||
/** Native array allocator. Access with {@link Pointer#position(long)}. */ | ||
public AVBSFContext(long size) { super((Pointer)null); allocateArray(size); } | ||
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ | ||
public AVBSFContext(Pointer p) { super(p); } | ||
private native void allocate(); | ||
private native void allocateArray(long size); | ||
@Override public AVBSFContext position(long position) { | ||
return (AVBSFContext)super.position(position); | ||
} | ||
|
||
/** | ||
* A class for logging and AVOptions | ||
*/ | ||
@MemberGetter public native @Const AVClass av_class(); | ||
|
||
/** | ||
* The bitstream filter this context is an instance of. | ||
*/ | ||
@MemberGetter public native @Const AVBitStreamFilter filter(); | ||
|
||
/** | ||
* Opaque libavcodec internal data. Must not be touched by the caller in any | ||
* way. | ||
*/ | ||
public native AVBSFInternal internal(); public native AVBSFContext internal(AVBSFInternal internal); | ||
|
||
/** | ||
* Opaque filter-specific private data. If filter->priv_class is non-NULL, | ||
* this is an AVOptions-enabled struct. | ||
*/ | ||
public native Pointer priv_data(); public native AVBSFContext priv_data(Pointer priv_data); | ||
|
||
/** | ||
* Parameters of the input stream. This field is allocated in | ||
* av_bsf_alloc(), it needs to be filled by the caller before | ||
* av_bsf_init(). | ||
*/ | ||
public native AVCodecParameters par_in(); public native AVBSFContext par_in(AVCodecParameters par_in); | ||
|
||
/** | ||
* Parameters of the output stream. This field is allocated in | ||
* av_bsf_alloc(), it is set by the filter in av_bsf_init(). | ||
*/ | ||
public native AVCodecParameters par_out(); public native AVBSFContext par_out(AVCodecParameters par_out); | ||
|
||
/** | ||
* The timebase used for the timestamps of the input packets. Set by the | ||
* caller before av_bsf_init(). | ||
*/ | ||
public native @ByRef AVRational time_base_in(); public native AVBSFContext time_base_in(AVRational time_base_in); | ||
|
||
/** | ||
* The timebase used for the timestamps of the output packets. Set by the | ||
* filter in av_bsf_init(). | ||
*/ | ||
public native @ByRef AVRational time_base_out(); public native AVBSFContext time_base_out(AVRational time_base_out); | ||
} |
24 changes: 24 additions & 0 deletions
24
ffmpeg/src/gen/java/org/bytedeco/javacpp/avcodec/AVBSFInternal.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Targeted by JavaCPP version 1.5-SNAPSHOT: DO NOT EDIT THIS FILE | ||
|
||
package org.bytedeco.javacpp.avcodec; | ||
|
||
import java.nio.*; | ||
import org.bytedeco.javacpp.*; | ||
import org.bytedeco.javacpp.annotation.*; | ||
|
||
import org.bytedeco.javacpp.avutil.*; | ||
import static org.bytedeco.javacpp.avutil.avutil.*; | ||
import org.bytedeco.javacpp.swresample.*; | ||
import static org.bytedeco.javacpp.swresample.swresample.*; | ||
|
||
import static org.bytedeco.javacpp.avcodec.avcodec.*; | ||
|
||
// #endif | ||
|
||
@Opaque @Properties(inherit = org.bytedeco.javacpp.avcodec.avcodec_presets.class) | ||
public class AVBSFInternal extends Pointer { | ||
/** Empty constructor. Calls {@code super((Pointer)null)}. */ | ||
public AVBSFInternal() { super((Pointer)null); } | ||
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ | ||
public AVBSFInternal(Pointer p) { super(p); } | ||
} |
27 changes: 27 additions & 0 deletions
27
ffmpeg/src/gen/java/org/bytedeco/javacpp/avcodec/AVBSFList.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Targeted by JavaCPP version 1.5-SNAPSHOT: DO NOT EDIT THIS FILE | ||
|
||
package org.bytedeco.javacpp.avcodec; | ||
|
||
import java.nio.*; | ||
import org.bytedeco.javacpp.*; | ||
import org.bytedeco.javacpp.annotation.*; | ||
|
||
import org.bytedeco.javacpp.avutil.*; | ||
import static org.bytedeco.javacpp.avutil.avutil.*; | ||
import org.bytedeco.javacpp.swresample.*; | ||
import static org.bytedeco.javacpp.swresample.swresample.*; | ||
|
||
import static org.bytedeco.javacpp.avcodec.avcodec.*; | ||
|
||
|
||
/** | ||
* Structure for chain/list of bitstream filters. | ||
* Empty list can be allocated by av_bsf_list_alloc(). | ||
*/ | ||
@Opaque @Properties(inherit = org.bytedeco.javacpp.avcodec.avcodec_presets.class) | ||
public class AVBSFList extends Pointer { | ||
/** Empty constructor. Calls {@code super((Pointer)null)}. */ | ||
public AVBSFList() { super((Pointer)null); } | ||
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */ | ||
public AVBSFList(Pointer p) { super(p); } | ||
} |
Oops, something went wrong.