Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright (C) 2012 Ondrej Perutka
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see
* .
*/package org.libav.avcodec.bridge;
import org.bridj.Pointer;
import org.bridj.StructObject;
import org.bridj.ann.Field;
/**
* Mirror of the native AVCodec struct for the libavcodec v54.x.x. This class
* contains only the public API fields, the real AVCodec struct is bigger. For
* details see the Libav documentation.
*
* @author Ondrej Perutka
*/publicclassAVCodec54extendsStructObject{
publicAVCodec54(){
super();
}
publicAVCodec54(Pointer p){
super(p);
}
@Field(0)
public Pointername(){
returnthis.io.getPointerField(this, 0);
}
@Field(0)
public AVCodec54 name(Pointer name){
this.io.setPointerField(this, 0, name);
returnthis;
}
@Field(1)
public Pointerlong_name(){
returnthis.io.getPointerField(this, 1);
}
@Field(1)
public AVCodec54 long_name(Pointer long_name){
this.io.setPointerField(this, 1, long_name);
returnthis;
}
@Field(2)
publicinttype(){
returnthis.io.getIntField(this, 2);
}
@Field(2)
public AVCodec54 type(int type){
this.io.setIntField(this, 2, type);
returnthis;
}
@Field(3)
publicintid(){
returnthis.io.getIntField(this, 3);
}
@Field(3)
public AVCodec54 id(int id){
this.io.setIntField(this, 3, id);
returnthis;
}
@Field(4)
publicintcapabilities(){
returnthis.io.getIntField(this, 4);
}
@Field(4)
public AVCodec54 capabilities(int capabilities){
this.io.setIntField(this, 4, capabilities);
returnthis;
}
@Field(5)
public Pointer supported_framerates(){
returnthis.io.getPointerField(this, 5);
}
@Field(5)
public AVCodec54 supported_framerates(Pointer supported_framerates){
this.io.setPointerField(this, 5, supported_framerates);
returnthis;
}
@Field(6)
public Pointerpix_fmts(){
returnthis.io.getPointerField(this, 6);
}
@Field(6)
public AVCodec54 pix_fmts(Pointer pix_fmts){
this.io.setPointerField(this, 6, pix_fmts);
returnthis;
}
@Field(7)
public Pointersupported_samplerates(){
returnthis.io.getPointerField(this, 7);
}
@Field(7)
public AVCodec54 supported_samplerates(Pointer supported_samplerates){
this.io.setPointerField(this, 7, supported_samplerates);
returnthis;
}
@Field(8)
public Pointersample_fmts(){
returnthis.io.getPointerField(this, 8);
}
@Field(8)
public AVCodec54 sample_fmts(Pointer sample_fmts){
this.io.setPointerField(this, 8, sample_fmts);
returnthis;
}
@Field(9)
public Pointerchannel_layouts(){
returnthis.io.getPointerField(this, 9);
}
@Field(9)
public AVCodec54 channel_layouts(Pointer channel_layouts){
this.io.setPointerField(this, 9, channel_layouts);
returnthis;
}
@Field(10)
publicbytemax_lowres(){
returnthis.io.getByteField(this, 10);
}
@Field(10)
public AVCodec54 max_lowres(byte max_lowres){
this.io.setByteField(this, 10, max_lowres);
returnthis;
}
@Field(11)
public Pointer priv_class(){
returnthis.io.getPointerField(this, 11);
}
@Field(11)
public AVCodec54 priv_class(Pointer priv_class){
this.io.setPointerField(this, 11, priv_class);
returnthis;
}
@Field(12)
public Pointer profiles(){
returnthis.io.getPointerField(this, 12);
}
@Field(12)
public AVCodec54 profiles(Pointer profiles){
this.io.setPointerField(this, 12, profiles);
returnthis;
}
}