libavfilter/drawutils.h File Reference

misc drawing utilities More...

#include <stdint.h>
#include "libavutil/pixfmt.h"

Go to the source code of this file.

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[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)


Detailed Description

misc drawing utilities

Definition in file drawutils.h.


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[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:43:51 2012 for FFmpeg by  doxygen 1.5.8