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[] |   | 
        
        
           | 
          ) | 
           |  |  | 
        
      
 
 
      
        
          | static Imlib_Image get_cached_image            | 
          ( | 
          ContextInfo *  | 
           ci,  | 
        
        
           | 
           | 
          int  | 
           width,  | 
        
        
           | 
           | 
          int  | 
           height |   | 
        
        
           | 
          ) | 
           |  |  [static] | 
        
      
 
 
      
        
          | void Process            | 
          ( | 
          void *  | 
           ctx,  | 
        
        
           | 
           | 
          AVPicture *  | 
           picture,  | 
        
        
           | 
           | 
          enum PixelFormat  | 
           pix_fmt,  | 
        
        
           | 
           | 
          int  | 
           width,  | 
        
        
           | 
           | 
          int  | 
           height,  | 
        
        
           | 
           | 
          int64_t  | 
           pts |   | 
        
        
           | 
          ) | 
           |  |  | 
        
      
 
 
      
        
          | static void put_cached_image            | 
          ( | 
          ContextInfo *  | 
           ci,  | 
        
        
           | 
           | 
          Imlib_Image  | 
           image,  | 
        
        
           | 
           | 
          int  | 
           width,  | 
        
        
           | 
           | 
          int  | 
           height |   | 
        
        
           | 
          ) | 
           |  |  [static] | 
        
      
 
 
      
        
          | void Release            | 
          ( | 
          void *  | 
           ctx           | 
           )  | 
           | 
        
      
 
 
Variable Documentation
Initial value:
{
    "PI",
    "E",
    "N",  
    "H",  
    "W",  
    "h",  
    "w",  
    "X",  
    "Y",  
    NULL
}
 
Definition at line 64 of file imlib2.c.