libavfilter/drawutils.c File Reference

#include "libavutil/avutil.h"
#include "libavutil/colorspace.h"
#include "libavutil/pixdesc.h"
#include "drawutils.h"

Go to the source code of this file.

Enumerations

enum  { RED = 0, GREEN, BLUE, ALPHA }

Functions

int ff_fill_rgba_map (uint8_t *rgba_map, enum PixelFormat pix_fmt)
int ff_fill_line_with_color (uint8_t *line[4], int pixel_step[4], int w, uint8_t dst_color[4], enum PixelFormat pix_fmt, uint8_t rgba_color[4], int *is_packed_rgba, uint8_t rgba_map_ptr[4])
void ff_draw_rectangle (uint8_t *dst[4], int dst_linesize[4], uint8_t *src[4], int pixelstep[4], int hsub, int vsub, int x, int y, int w, int h)
void ff_copy_rectangle (uint8_t *dst[4], int dst_linesize[4], uint8_t *src[4], int src_linesize[4], int pixelstep[4], int hsub, int vsub, int x, int y, int y2, int w, int h)


Enumeration Type Documentation

anonymous enum

Enumerator:
RED 
GREEN 
BLUE 
ALPHA 

Definition at line 24 of file drawutils.c.


Function Documentation

void ff_copy_rectangle ( uint8_t *  dst[4],
int  dst_linesize[4],
uint8_t *  src[4],
int  src_linesize[4],
int  pixelstep[4],
int  hsub,
int  vsub,
int  x,
int  y,
int  y2,
int  w,
int  h 
)

Definition at line 104 of file drawutils.c.

Referenced by draw_slice().

void ff_draw_rectangle ( uint8_t *  dst[4],
int  dst_linesize[4],
uint8_t *  src[4],
int  pixelstep[4],
int  hsub,
int  vsub,
int  x,
int  y,
int  w,
int  h 
)

Definition at line 84 of file drawutils.c.

Referenced by color_request_frame(), draw_send_bar_slice(), draw_slice(), and drawbox().

int ff_fill_line_with_color ( uint8_t *  line[4],
int  pixel_step[4],
int  w,
uint8_t  dst_color[4],
enum PixelFormat  pix_fmt,
uint8_t  rgba_color[4],
int *  is_packed_rgba,
uint8_t  rgba_map_ptr[4] 
)

Definition at line 41 of file drawutils.c.

Referenced by color_config_props(), and config_input().

int ff_fill_rgba_map ( uint8_t *  rgba_map,
enum PixelFormat  pix_fmt 
)


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