资源简介
使用CUDA,将NV12格式的缓冲区编码为JPEG。代码可以编译,并直接运行。代码是https://blog.csdn.net/mikedai/article/details/79084092,进行了接口、对齐、编译功能。
代码片段和文件信息
#include
#include
#include
#include “Endianess.h“
#include
#include
#include
#include
#include
#include
#include
#include “gh_jpegnpp.h“
//量化表数据
typedef struct
{
unsigned char nPrecisionAndIdentifier;
unsigned char aTable[64];
} QuantizationTable;
//图片信息
typedef struct
{
unsigned char nSamplePrecision;
unsigned short nHeight;
unsigned short nWidth;
unsigned char nComponents;
unsigned char aComponentIdentifier[3];
unsigned char aSamplingFactors[3];
unsigned char aQuantizationTableSelector[3];
} frameHeader;
//扫描头
typedef struct
{
unsigned char nComponents;
unsigned char aComponentSelector[3];
unsigned char
相关资源
- jpegsrc.v9a.tar.gz
- jpegsrc.v8b.tar.gz25389
- Linux 下V4l2摄像头采集图片,实现yuy
- vc实现bmp图片转化jpeg图片
- cuda8.0+cudnn6.0(win10)百度云链接.doc
- JPEG图像压缩编码.doc
- jpeg图片压缩库jpeg-9b
- 将16进制数据转换为图片
- CUDA加速实现的sift图像配准+颜色校正
- libjpeg压缩bmp为jpg与将jpg解压缩为bmp
- SerialGraph.zip
- 基于CUDA+ffmpeg+QT+QOpenGL的硬解码解决方
- jpegsrc.v8b.tar.gz
- libjpeg-turbo编码、解码代码
- UYVY 转NV12和YV12
- JPEG解码库 TJpgDec
- Ubuntu16.04+cuda9.0+cudnn7.05+opencv3.4.0+caff
- jpeg压缩源码
- rtp2jpegAndjpeg-9a
- libjpeg windows 64位 编译好的
评论
共有 条评论