Doxygen Source Code Documentation
convert.h File Reference
Go to the source code of this file.
Data Structures | |
struct | convert_init_s |
Defines | |
#define | CONVERT_FRAME 0 |
#define | CONVERT_TOP_FIELD 1 |
#define | CONVERT_BOTTOM_FIELD 2 |
#define | CONVERT_BOTH_FIELDS 3 |
#define | CONVERT_RGB 0 |
#define | CONVERT_BGR 1 |
Typedefs | |
typedef convert_init_s | convert_init_t |
typedef void | convert_t (int width, int height, uint32_t accel, void *arg, convert_init_t *result) |
Functions | |
convert_t * | convert_rgb (int order, int bpp) |
Variables | |
convert_t | convert_rgb32 |
convert_t | convert_rgb24 |
convert_t | convert_rgb16 |
convert_t | convert_rgb15 |
convert_t | convert_bgr32 |
convert_t | convert_bgr24 |
convert_t | convert_bgr16 |
convert_t | convert_bgr15 |
Define Documentation
|
Definition at line 53 of file convert.h. Referenced by convert_bgr15(), convert_bgr16(), convert_bgr24(), convert_bgr32(), and convert_rgb(). |
|
Definition at line 30 of file convert.h. Referenced by mpeg2_header_slice_start(). |
|
Definition at line 29 of file convert.h. Referenced by convert_start(), and mpeg2_header_slice_start(). |
|
Definition at line 27 of file convert.h. Referenced by mpeg2_header_slice_start(). |
|
Definition at line 52 of file convert.h. Referenced by convert_rgb(), convert_rgb15(), convert_rgb16(), convert_rgb24(), convert_rgb32(), and yuv2rgb_c_init(). |
|
Definition at line 28 of file convert.h. Referenced by convert_start(), and mpeg2_header_slice_start(). |
Typedef Documentation
|
|
|
Definition at line 40 of file convert.h. Referenced by convert_rgb(). |
Function Documentation
|
Definition at line 485 of file yuv2rgb.c. References CONVERT_BGR, convert_bgr15(), convert_bgr16(), convert_bgr24(), convert_bgr32(), CONVERT_RGB, convert_rgb15(), convert_rgb16(), convert_rgb24(), convert_rgb32(), and convert_t.
00486 { 00487 if (order == CONVERT_RGB || order == CONVERT_BGR) 00488 switch (bpp) { 00489 case 32: return (order == CONVERT_RGB) ? convert_rgb32 : convert_bgr32; 00490 case 24: return (order == CONVERT_RGB) ? convert_rgb24 : convert_bgr24; 00491 case 16: return (order == CONVERT_RGB) ? convert_rgb16 : convert_bgr16; 00492 case 15: return (order == CONVERT_RGB) ? convert_rgb15 : convert_bgr15; 00493 } 00494 return NULL; 00495 } |
Variable Documentation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|