vhook/imlib2.c File Reference

#include "framehook.h"
#include "swscale.h"
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <stdarg.h>
#include <string.h>
#include <unistd.h>
#include <sys/time.h>
#include <time.h>
#include <Imlib2.h>
#include "eval.h"

Go to the source code of this file.

Data Structures

struct  ContextInfo
 Context info for this vhook - stores the pipe and image buffers. More...
struct  CachedImage

Functions

void Release (void *ctx)
int Configure (void **ctxp, int argc, char *argv[])
static Imlib_Image get_cached_image (ContextInfo *ci, int width, int height)
static void put_cached_image (ContextInfo *ci, Imlib_Image image, int width, int height)
void Process (void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int width, int height, int64_t pts)

Variables

const char * const_names []
static int sws_flags = SWS_BICUBIC


Function Documentation

int Configure ( void **  ctxp,
int  argc,
char *  argv[] 
)

Definition at line 143 of file imlib2.c.

static Imlib_Image get_cached_image ( ContextInfo ci,
int  width,
int  height 
) [static]

Definition at line 332 of file imlib2.c.

Referenced by Process().

void Process ( void *  ctx,
AVPicture picture,
enum PixelFormat  pix_fmt,
int  width,
int  height,
int64_t  pts 
)

Definition at line 355 of file imlib2.c.

static void put_cached_image ( ContextInfo ci,
Imlib_Image  image,
int  width,
int  height 
) [static]

Definition at line 344 of file imlib2.c.

Referenced by Process().

void Release ( void *  ctx  ) 

Definition at line 109 of file imlib2.c.


Variable Documentation

const char* const_names[]

Initial value:

{
    "PI",
    "E",
    "N",  
    "H",  
    "W",  
    "h",  
    "w",  
    "X",  
    "Y",  
    NULL
}

Definition at line 63 of file imlib2.c.

int sws_flags = SWS_BICUBIC [static]

Definition at line 76 of file imlib2.c.


Generated on Thu Apr 2 07:16:14 2009 for ffmpeg by  doxygen 1.5.6