net.sf.ffmpeg_java.AVUtilLibrary Interface Reference

Inheritance diagram for net.sf.ffmpeg_java.AVUtilLibrary:

Inheritance graph
[legend]
Collaboration diagram for net.sf.ffmpeg_java.AVUtilLibrary:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Pointer av_malloc (int size)
Pointer av_realloc (Pointer ptr, int size)
void av_free (Pointer ptr)
Pointer av_mallocz (int size)
Pointer av_strdup (Pointer s)
void av_freep (PointerByReference ptr)
void av_log_set_level (int l)
int av_fifo_init (AVFifoBuffer f, int size)
void av_fifo_free (AVFifoBuffer f)
int av_fifo_size (AVFifoBuffer f)
int av_fifo_read (AVFifoBuffer f, Pointer buf, int buf_size)
int av_fifo_generic_read (AVFifoBuffer f, int buf_size, Pointer func, Pointer dest)
void av_fifo_write (AVFifoBuffer f, Pointer buf, int size)
void av_fifo_realloc (AVFifoBuffer f, int size)
void av_fifo_drain (AVFifoBuffer f, int size)
long av_rescale (long a, long b, long c)
long av_rescale_q (long a, AVRational bq, AVRational cq)

Static Public Attributes

static final AVUtilLibrary INSTANCE

Classes

class  AVFifoBuffer

Detailed Description

Based on FFMPEG Aug 12 2007. From mem.h
Author:
Ken Larson

Definition at line 14 of file AVUtilLibrary.java.


Member Function Documentation

Pointer net.sf.ffmpeg_java.AVUtilLibrary.av_malloc ( int  size  ) 

Pointer net.sf.ffmpeg_java.AVUtilLibrary.av_realloc ( Pointer  ptr,
int  size 
)

void net.sf.ffmpeg_java.AVUtilLibrary.av_free ( Pointer  ptr  ) 

Pointer net.sf.ffmpeg_java.AVUtilLibrary.av_mallocz ( int  size  ) 

Pointer net.sf.ffmpeg_java.AVUtilLibrary.av_strdup ( Pointer  s  ) 

void net.sf.ffmpeg_java.AVUtilLibrary.av_freep ( PointerByReference  ptr  ) 

void net.sf.ffmpeg_java.AVUtilLibrary.av_log_set_level ( int  l  ) 

int net.sf.ffmpeg_java.AVUtilLibrary.av_fifo_init ( AVFifoBuffer  f,
int  size 
)

Initializes an AVFifoBuffer.

Parameters:
*f AVFifoBuffer to initialize
size of FIFO
Returns:
<0 for failure >=0 otherwise

void net.sf.ffmpeg_java.AVUtilLibrary.av_fifo_free ( AVFifoBuffer  f  ) 

Frees an AVFifoBuffer.

Parameters:
*f AVFifoBuffer to free

int net.sf.ffmpeg_java.AVUtilLibrary.av_fifo_size ( AVFifoBuffer  f  ) 

Returns the amount of data in bytes in the AVFifoBuffer, that is the amount of data you can read from it.

Parameters:
*f AVFifoBuffer to read from
Returns:
size

int net.sf.ffmpeg_java.AVUtilLibrary.av_fifo_read ( AVFifoBuffer  f,
Pointer  buf,
int  buf_size 
)

Reads data from an AVFifoBuffer.

Parameters:
*f AVFifoBuffer to read from
*buf data destination
buf_size number of bytes to read

int net.sf.ffmpeg_java.AVUtilLibrary.av_fifo_generic_read ( AVFifoBuffer  f,
int  buf_size,
Pointer  func,
Pointer  dest 
)

Feeds data from an AVFifoBuffer to a user supplied callback.

Parameters:
*f AVFifoBuffer to read from
buf_size number of bytes to read
*func generic read function
*dest data destination

void net.sf.ffmpeg_java.AVUtilLibrary.av_fifo_write ( AVFifoBuffer  f,
Pointer  buf,
int  size 
)

Writes data into an AVFifoBuffer.

Parameters:
*f AVFifoBuffer to write to
*buf data source
size data size

void net.sf.ffmpeg_java.AVUtilLibrary.av_fifo_realloc ( AVFifoBuffer  f,
int  size 
)

Resizes an AVFifoBuffer.

Parameters:
*f AVFifoBuffer to resize
size new AVFifoBuffer size in bytes

void net.sf.ffmpeg_java.AVUtilLibrary.av_fifo_drain ( AVFifoBuffer  f,
int  size 
)

Reads and discards the specified amount of data from an AVFifoBuffer.

Parameters:
*f AVFifoBuffer to read from
size amount of data to read in bytes

long net.sf.ffmpeg_java.AVUtilLibrary.av_rescale ( long  a,
long  b,
long  c 
)

rescale a 64bit integer with rounding to nearest. a simple a*b/c isn't possible as it can overflow

long net.sf.ffmpeg_java.AVUtilLibrary.av_rescale_q ( long  a,
AVRational  bq,
AVRational  cq 
)

rescale a 64bit integer by 2 rational numbers.


Member Data Documentation

final AVUtilLibrary net.sf.ffmpeg_java.AVUtilLibrary.INSTANCE [static]

Initial value:

 (AVUtilLibrary) Native.loadLibrary(
                System.getProperty("avutil.lib",
                System.getProperty("os.name").startsWith("Windows") ? "avutil-50" : "avutil"), 
                AVUtilLibrary.class)

Definition at line 16 of file AVUtilLibrary.java.


The documentation for this interface was generated from the following file:
Generated on Tue Apr 7 17:57:28 2009 for visclient by  doxygen 1.5.1