视频后处理库。
一、宏
| #define | PP_QUALITY_MAX 6 |
| #define | PP_CPU_CAPS_MMX 0x80000000 |
| #define | PP_CPU_CAPS_MMX2 0x20000000 |
| #define | PP_CPU_CAPS_3DNOW 0x40000000 |
| #define | PP_CPU_CAPS_ALTIVEC 0x10000000 |
| #define | PP_CPU_CAPS_AUTO 0x00080000 |
| #define | PP_FORMAT 0x00000008 |
| #define | PP_FORMAT_420 (0x00000011|PP_FORMAT) |
| #define | PP_FORMAT_422 (0x00000001|PP_FORMAT) |
| #define | PP_FORMAT_411 (0x00000002|PP_FORMAT) |
| #define | PP_FORMAT_444 (0x00000000|PP_FORMAT) |
| #define | PP_FORMAT_440 (0x00000010|PP_FORMAT) |
| #define | PP_PICT_TYPE_QP2 0x00000010 |
二、类型定义
| typedef void | pp_context |
| typedef void | pp_mode |
| typedef pp_context | pp_context_t |
| typedef pp_mode | pp_mode_t |
三、函数
| unsigned | postproc_version (void) |
| const char * | postproc_configuration (void) |
| const char * | postproc_license (void) |
| void | pp_postprocess (const uint8_t *src[3], const int srcStride[3], uint8_t *dst[3], const int dstStride[3], int horizontalSize, int verticalSize, const int8_t *QP_store, int QP_stride, pp_mode*mode, pp_context *ppContext, int pict_type) |
| pp_mode * | pp_get_mode_by_name_and_quality (const char *name, int quality) |
参数:name:在命令行上的“-pp”之后的字符串
quality:一个从0到PP_QUALITY_MAX的数字
| void | pp_free_mode (pp_mode *mode) |
| pp_context * | pp_get_context (int width, int height, int flags) |
| void | pp_free_context (pp_context *ppContext) |
三、变量
| const char *const | pp_help |
本文介绍了一个视频后处理库的基本组成,包括宏定义、类型定义、函数和变量等内容。详细解释了不同宏的作用,例如质量等级、CPU能力标志等,并介绍了库中使用的各种类型定义。此外还描述了几种关键函数的功能,如postproc_version、pp_postprocess等。
653

被折叠的 条评论
为什么被折叠?



