WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
soc_jpeg_api.h 文件参考
#include <stdio.h>
#include "td_base.h"
soc_jpeg_api.h 的引用(Include)关系图:

浏览源代码.

结构体

struct  jpeg_source_struct
 输入流信息 更多...
 
struct  jpeg_dst_struct
 输出Buffer 更多...
 
struct  jpeg_time_struct
 缩略图时间定义 更多...
 
struct  jpeg_thumbnail_struct
 缩略图数据流 更多...
 
struct  jpeg_output_struct
 输出分辨率定义 更多...
 
struct  jpeg_decompress_struct
 解码器定义 更多...
 

宏定义

#define JPEG_COMPONENTS   2
 

类型定义

typedef struct jpeg_source_structjpeg_source_ptr
 输入流信息
 
typedef struct jpeg_dst_structjpeg_dst_ptr
 输出Buffer
 
typedef struct jpeg_time_structjpeg_time_ptr
 缩略图时间定义
 
typedef struct jpeg_thumbnail_structjpeg_thumbnail_ptr
 缩略图数据流
 
typedef struct jpeg_output_structjpeg_output_ptr
 输出分辨率定义
 
typedef struct jpeg_decompress_structjpeg_decompress_ptr
 解码器定义
 

枚举

enum  jpeg_scale_multiple {
  JPEG_SCALE_1 = 1 , JPEG_SCALE_2 = 2 , JPEG_SCALE_4 = 4 , JPEG_SCALE_8 = 8 ,
  JPEG_SCALE_MAX
}
 缩放倍数 更多...
 
enum  jpeg_color_space {
  JPEG_COLOR_SPACE_YUV400 = 0 , JPEG_COLOR_SPACE_YUV420 , JPEG_COLOR_SPACE_YUV422_21 , JPEG_COLOR_SPACE_YUV422_12 ,
  JPEG_COLOR_SPACE_YUV444 , JPEG_COLOR_SPACE_ARGB8888 , JPEG_COLOR_SPACE_RGB888 , JPEG_COLOR_SPACE_MAX
}
 颜色空间 更多...
 

函数

td_s32 uapi_jpeg_decomress_create (jpeg_decompress_ptr dinfo, jpeg_source_ptr src, td_bool is_mem)
 创建解码器,该接口返回后可获取时间和缩略图信息
 
td_s32 uapi_jpeg_decompress_start (jpeg_decompress_ptr dinfo, jpeg_dst_ptr dst)
 启动解码,该接口返回后可获取yuv数据
 
td_s32 uapi_jpeg_decompress_stop (jpeg_decompress_ptr dinfo)
 停止解码
 
td_void uapi_jpeg_decompress_destroy (jpeg_decompress_ptr dinfo)
 销毁解码器