Logo Search packages:      
Sourcecode: ffms2 version File versions  Download package

Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes

ConvertAudio Class Reference

#include <avisynth.h>

Inheritance diagram for ConvertAudio:
Inheritance graph
[legend]
Collaboration diagram for ConvertAudio:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ConvertAudio (PClip _clip, int prefered_format)
void __stdcall GetAudio (void *buf, __int64 start, __int64 count, IScriptEnvironment *env)
PVideoFrame __stdcall GetFrame (int n, IScriptEnvironment *env)
bool __stdcall GetParity (int n)
virtual int __stdcall GetVersion ()
const VideoInfo &__stdcall GetVideoInfo ()
void __stdcall SetCacheHints (int cachehints, int frame_range)

Static Public Member Functions

static PClip Create (PClip clip, int sample_type, int prefered_type)
static AVSValue __cdecl Create_16bit (AVSValue args, void *, IScriptEnvironment *)
static AVSValue __cdecl Create_24bit (AVSValue args, void *, IScriptEnvironment *)
static AVSValue __cdecl Create_32bit (AVSValue args, void *, IScriptEnvironment *)
static AVSValue __cdecl Create_8bit (AVSValue args, void *, IScriptEnvironment *)
static AVSValue __cdecl Create_float (AVSValue args, void *, IScriptEnvironment *)

Protected Attributes

PClip child
VideoInfo vi

Private Member Functions

void convertFromFloat (float *inbuf, void *outbuf, char sample_type, int count)
void convertFromFloat_3DN (float *inbuf, void *outbuf, char sample_type, int count)
void convertFromFloat_SSE (float *inbuf, void *outbuf, char sample_type, int count)
void convertFromFloat_SSE2 (float *inbuf, void *outbuf, char sample_type, int count)
void convertToFloat (char *inbuf, float *outbuf, char sample_type, int count)
void convertToFloat_3DN (char *inbuf, float *outbuf, char sample_type, int count)
void convertToFloat_SSE (char *inbuf, float *outbuf, char sample_type, int count)
void convertToFloat_SSE2 (char *inbuf, float *outbuf, char sample_type, int count)
__inline short Saturate_int16 (float n)
__inline int Saturate_int24 (float n)
__inline int Saturate_int32 (float n)
__inline int Saturate_int8 (float n)

Private Attributes

char dst_format
SFLOAT * floatbuffer
int src_bps
char src_format
char * tempbuffer
int tempbuffer_size

Detailed Description

Helper class to convert audio to any format

Definition at line 621 of file avisynth.h.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index