V4L2中两个关于图像占用空间大小的结构体项的理解
2009-04-19 20:07
459 查看
1.struct v4l2_pix_format 中的sizeimage
其说明为:
Size in bytes of the buffer to hold a complete image, set by the driver.
Usually this is bytesperline times height. When the image consists of variable
length compressed data this is the maximum number of bytes required to hold
an image.
表示的是当前采集参数下,图像数据需要的最大字节数。
2.struct v4l2_buffer 中的bytesused
其说明为:
The number of bytes occupied by the data in the buffer.It depends on the
negotiated data format and may change with each buffer for compressed variable
size data like JPEG images. Drivers must set this field when type refers to an
input stream, applications when an output stream.
表示的是当前,图像数据实际占用的字节数。
其说明为:
Size in bytes of the buffer to hold a complete image, set by the driver.
Usually this is bytesperline times height. When the image consists of variable
length compressed data this is the maximum number of bytes required to hold
an image.
表示的是当前采集参数下,图像数据需要的最大字节数。
2.struct v4l2_buffer 中的bytesused
其说明为:
The number of bytes occupied by the data in the buffer.It depends on the
negotiated data format and may change with each buffer for compressed variable
size data like JPEG images. Drivers must set this field when type refers to an
input stream, applications when an output stream.
表示的是当前,图像数据实际占用的字节数。
相关文章推荐
- 关于结构体占用空间大小总结
- 关于查看MSSQL 数据库 用户每个表 占用的空间大小
- 关于查看MSSQL 数据库 用户每个表 占用的空间大小
- PHP中两个整形的赋值所占用空间大小不一样,求解
- 关于空间域图像增强中的模板算子理解
- 关于Char *a与Char a[]中变量占用空间的大小(Windows 7 32位)
- 关于结构体占用空间大小总结
- 关于结构体占用空间大小总结(#pragma pack的使用)
- 关于两个栈的共享空间问题理解。
- C++关于析构函数和拷贝构造函数何时调用两个例子的理解
- JVM —— Java 对象占用空间大小计算
- linux下查看某目录占用的空间大小
- 56. 查询各表占用的空间大小
- 查看 MySQL 数据库中每个表占用的空间大小
- (转)oracle 查看表所占用的空间大小
- sql查询数据库中所有表的记录条数,以及占用磁盘空间大小。
- 关于sizeof与#pragma pack导致结构体大小变化的问题
- 结构体大小的计算及设置内存字节对齐数原理理解
- Linux统计文件夹占用空间大小--du命令基本用法
- MySQL查看表占用空间大小(转)