vhook/imlib2.c File Reference

#include "libavformat/framehook.h"
#include "libswscale/swscale.h"
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <stdarg.h>
#include <string.h>
#include <strings.h>
#include <unistd.h>
#include <sys/time.h>
#include <time.h>
#include <Imlib2.h>
#include "libavcodec/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 144 of file imlib2.c.

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

Definition at line 333 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 356 of file imlib2.c.

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

Definition at line 345 of file imlib2.c.

Referenced by Process().

void Release ( void *  ctx  ) 

Definition at line 110 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 64 of file imlib2.c.

int sws_flags = SWS_BICUBIC [static]

Definition at line 77 of file imlib2.c.


Generated on Fri Oct 26 02:35:46 2012 for FFmpeg by  doxygen 1.5.8