LibMWCapture
3.3.1
LibMWCapture Documentation
|
#include "mw_cc708_render_base_types.h"
#include "mw_cc708_base_types.h"
#include "mw_error_code.h"
Go to the source code of this file.
Macros | |
#define | LIBCCRENDER_FREETYPE_API |
Functions | |
LIBCCRENDER_FREETYPE_API mw_cc_render_t * | MWCreateRender () |
MWCreateRender Create a render. More... | |
LIBCCRENDER_FREETYPE_API void | MWDestoryRender (mw_cc_render_t *pRender) |
MWDestoryRender Destory the render. More... | |
LIBCCRENDER_FREETYPE_API bool | MWLoadFont (mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
MWLoadFont Load font. More... | |
LIBCCRENDER_FREETYPE_API void | MWUnLoadFont (mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
MWUnLoadFont Unload font. More... | |
LIBCCRENDER_FREETYPE_API mw_cc_screen_t * | MWCreateCCScreen (int t_nWidth, int t_nHeight) |
MWCreateCCScreen Create the screen to be rendered. More... | |
LIBCCRENDER_FREETYPE_API void | MWDestoryCCScreen (mw_cc_screen_t *t_pScreen) |
MWDestoryCCScreen Destory the screen. More... | |
LIBCCRENDER_FREETYPE_API MW_CC_RESULT | MWRenderCC608Screen (mw_cc_screen_t *t_pScreen, mw_cc608_buffer_t *t_pCC608Buffer, mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
MWRenderCC608Screen Render the screen with cc608 buffer. More... | |
LIBCCRENDER_FREETYPE_API MW_CC_RESULT | MWRenderCC608Buffer (unsigned char *t_pScreen, int t_nWidth, int t_nHeight, int t_nSize, mw_cc608_buffer_t *t_pCC608Buffer, mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
MWRenderCC608Buffer Render the cc608 buffer to a given memory. More... | |
LIBCCRENDER_FREETYPE_API MW_CC_RESULT | MWRenderCC608BufferArea (unsigned char *t_pScreen, int t_nWidth, int t_nHeight, int t_nSize, int t_nX, int t_nY, int t_nAWidth, int t_nAHeight, mw_cc608_buffer_t *t_pCC608Buffer, mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
MWRenderCC608BufferArea Render the cc608 buffer to the certain area of the given memeory. More... | |
LIBCCRENDER_FREETYPE_API MW_CC_RESULT | MWRenderCC708Screen (mw_cc_screen_t *t_pScreen, mw_cc708_tv_window_screen_t *t_pWindowScreen, mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
MWRenderCC708Screen Render the screen with cc708 tv_window_screen. More... | |
LIBCCRENDER_FREETYPE_API MW_CC_RESULT | MWRenderCC708Buffer (unsigned char *t_pScreen, int t_nWidth, int t_nHeight, int t_nSize, mw_cc708_tv_window_screen_t *t_pWindowScreen, mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
MWRenderCC708Buffer Render the cc708 tv_window_screen to given memory. More... | |
LIBCCRENDER_FREETYPE_API MW_CC_RESULT | MWRenderCC708BufferArea (unsigned char *t_pScreen, int t_nWidth, int t_nHeight, int t_nSize, int t_nX, int t_nY, int t_nAWidth, int t_nAHeight, mw_cc708_tv_window_screen_t *t_pWindowScreen, mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
MWRenderCC708BufferArea Render the cc708 tv_window_screen to the certain area of the given memeory. More... | |
LIBCCRENDER_FREETYPE_API void | MWRenderCCSetBackgroundColor (mw_cc_font_t *t_pFont, bool t_bSet, mw_cc_color_t t_mccColor) |
MWRenderCCSetBackgroundColor Set the caption with default background color or custom background color. More... | |
LIBCCRENDER_FREETYPE_API void | MWRenderCCSetFontColor (mw_cc_font_t *t_pFont, bool t_bSet, mw_cc_color_t t_mccColor) |
MWRenderCCSetFontColor Set the caption with default font color or custom font color. More... | |
#define LIBCCRENDER_FREETYPE_API |
Definition at line 36 of file mw_cc708_render.h.
LIBCCRENDER_FREETYPE_API mw_cc_screen_t* MWCreateCCScreen | ( | int | t_nWidth, |
int | t_nHeight | ||
) |
MWCreateCCScreen Create the screen to be rendered.
[in] | t_nWidth | Width of the screen |
[in] | t_nHeight | Height of the screen |
LIBCCRENDER_FREETYPE_API mw_cc_render_t* MWCreateRender | ( | ) |
MWCreateRender Create a render.
LIBCCRENDER_FREETYPE_API void MWDestoryCCScreen | ( | mw_cc_screen_t * | t_pScreen | ) |
MWDestoryCCScreen Destory the screen.
[in] | t_pScreen | Pointer of the screen to be destroy |
LIBCCRENDER_FREETYPE_API void MWDestoryRender | ( | mw_cc_render_t * | pRender | ) |
MWDestoryRender Destory the render.
[in] | pRender | Pointer of the render |
LIBCCRENDER_FREETYPE_API bool MWLoadFont | ( | mw_cc_font_t * | t_pmcfFont, |
mw_cc_render_t * | pRender | ||
) |
MWLoadFont Load font.
[in] | t_pmcfFont | Pointer of the font to be loaded |
[in] | pRender | Pointer of the render |
LIBCCRENDER_FREETYPE_API MW_CC_RESULT MWRenderCC608Buffer | ( | unsigned char * | t_pScreen, |
int | t_nWidth, | ||
int | t_nHeight, | ||
int | t_nSize, | ||
mw_cc608_buffer_t * | t_pCC608Buffer, | ||
mw_cc_font_t * | t_pmcfFont, | ||
mw_cc_render_t * | pRender | ||
) |
MWRenderCC608Buffer Render the cc608 buffer to a given memory.
[out] | t_pScreen | Pointer of the screen to be rendered |
[in] | t_nWidth | Width of the given memory |
[in] | t_nHeight | Height of the given memory |
[in] | t_nSize | Size of the memory |
[in] | t_pCC608Buffer | Pointer of the cc608 buffer to be rendered |
[in] | t_pmcfFont | Pointer of the font render with |
[in] | pRender | Pointer of render |
LIBCCRENDER_FREETYPE_API MW_CC_RESULT MWRenderCC608BufferArea | ( | unsigned char * | t_pScreen, |
int | t_nWidth, | ||
int | t_nHeight, | ||
int | t_nSize, | ||
int | t_nX, | ||
int | t_nY, | ||
int | t_nAWidth, | ||
int | t_nAHeight, | ||
mw_cc608_buffer_t * | t_pCC608Buffer, | ||
mw_cc_font_t * | t_pmcfFont, | ||
mw_cc_render_t * | pRender | ||
) |
MWRenderCC608BufferArea Render the cc608 buffer to the certain area of the given memeory.
[out] | t_pScreen | Pointer of the screen to be rendered |
[in] | t_nWidth | Width of the given memory |
[in] | t_nHeight | Height of the given memory |
[in] | t_nSize | Size of the memory |
[in] | t_nX | X position of the area in the given memory |
[in] | t_nY | Y position of the area in the given memory |
[in] | t_nAWidth | Width of the area in the given memory |
[in] | t_nAHeight | Height of the area in the given memory |
[in] | t_pCC608Buffer | Pointer of the cc608 buffer to be rendered |
[in] | t_pmcfFont | Pointer of the font render with |
[in] | pRender | Pointer of render |
LIBCCRENDER_FREETYPE_API MW_CC_RESULT MWRenderCC608Screen | ( | mw_cc_screen_t * | t_pScreen, |
mw_cc608_buffer_t * | t_pCC608Buffer, | ||
mw_cc_font_t * | t_pmcfFont, | ||
mw_cc_render_t * | pRender | ||
) |
MWRenderCC608Screen Render the screen with cc608 buffer.
[out] | t_pScreen | Pointer of the screen to be rendered |
[in] | t_pCC608Buffer | Pointer of the cc608 buffer to be rendered |
[in] | t_pmcfFont | Pointer of the font render with |
[in] | pRender | Pointer of render |
LIBCCRENDER_FREETYPE_API MW_CC_RESULT MWRenderCC708Buffer | ( | unsigned char * | t_pScreen, |
int | t_nWidth, | ||
int | t_nHeight, | ||
int | t_nSize, | ||
mw_cc708_tv_window_screen_t * | t_pWindowScreen, | ||
mw_cc_font_t * | t_pmcfFont, | ||
mw_cc_render_t * | pRender | ||
) |
MWRenderCC708Buffer Render the cc708 tv_window_screen to given memory.
[out] | t_pScreen | Pointer of the screen to be rendered |
[in] | t_nWidth | Width of the given memory |
[in] | t_nHeight | Height of the given memory |
[in] | t_nSize | Size of the memory |
[in] | t_pWindowScreen | Pointer of the cc708 tv_window_screen to be rendered |
[in] | t_pmcfFont | Pointer of the font render with |
[in] | pRender | Pointer of the render |
LIBCCRENDER_FREETYPE_API MW_CC_RESULT MWRenderCC708BufferArea | ( | unsigned char * | t_pScreen, |
int | t_nWidth, | ||
int | t_nHeight, | ||
int | t_nSize, | ||
int | t_nX, | ||
int | t_nY, | ||
int | t_nAWidth, | ||
int | t_nAHeight, | ||
mw_cc708_tv_window_screen_t * | t_pWindowScreen, | ||
mw_cc_font_t * | t_pmcfFont, | ||
mw_cc_render_t * | pRender | ||
) |
MWRenderCC708BufferArea Render the cc708 tv_window_screen to the certain area of the given memeory.
[out] | t_pScreen | Pointer of the screen to be rendered |
[in] | t_nWidth | Width of the given memory |
[in] | t_nHeight | Height of the given memory |
[in] | t_nSize | Size of the memory |
[in] | t_nX | X position of the area in the given memory |
[in] | t_nY | Y position of the area in the given memory |
[in] | t_nAWidth | Width of the area in the given memory |
[in] | t_nAHeight | Height of the area in the given memory |
[in] | t_pWindowScreen | Pointer of the cc708 tv_window_screen to be rendered |
[in] | t_pmcfFont | Pointer of the font render with |
[in] | pRender | Pointer of the render |
LIBCCRENDER_FREETYPE_API MW_CC_RESULT MWRenderCC708Screen | ( | mw_cc_screen_t * | t_pScreen, |
mw_cc708_tv_window_screen_t * | t_pWindowScreen, | ||
mw_cc_font_t * | t_pmcfFont, | ||
mw_cc_render_t * | pRender | ||
) |
MWRenderCC708Screen Render the screen with cc708 tv_window_screen.
[out] | t_pScreen | Pointer of the screen to be rendered |
[in] | t_pWindowScreen | Pointer of the cc708 tv_window_screen to be rendered |
[in] | t_pmcfFont | Pointer of the font render with |
[in] | pRender | Pointer of render |
LIBCCRENDER_FREETYPE_API void MWRenderCCSetBackgroundColor | ( | mw_cc_font_t * | t_pFont, |
bool | t_bSet, | ||
mw_cc_color_t | t_mccColor | ||
) |
MWRenderCCSetBackgroundColor Set the caption with default background color or custom background color.
[in] | t_pFont | Pointer of the font |
[in] | t_bSet | True if use custom background color |
[in] | t_mccColor | Color value to be setted |
LIBCCRENDER_FREETYPE_API void MWRenderCCSetFontColor | ( | mw_cc_font_t * | t_pFont, |
bool | t_bSet, | ||
mw_cc_color_t | t_mccColor | ||
) |
MWRenderCCSetFontColor Set the caption with default font color or custom font color.
[in] | t_pFont | Pointer of the font |
[in] | t_bSet | True if use custom font color |
[in] | t_mccColor | Color value to be setted |
LIBCCRENDER_FREETYPE_API void MWUnLoadFont | ( | mw_cc_font_t * | t_pmcfFont, |
mw_cc_render_t * | pRender | ||
) |
MWUnLoadFont Unload font.
[in] | t_pmcfFont | Pointer of the font to be unloaded |
[in] | pRender | Pointer of the render |