CN110351562A - 一种10比特yuv图像存储格式 - Google Patents
一种10比特yuv图像存储格式 Download PDFInfo
- Publication number
- CN110351562A CN110351562A CN201910556449.9A CN201910556449A CN110351562A CN 110351562 A CN110351562 A CN 110351562A CN 201910556449 A CN201910556449 A CN 201910556449A CN 110351562 A CN110351562 A CN 110351562A
- Authority
- CN
- China
- Prior art keywords
- bit
- format
- image storage
- yuv image
- storage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/184—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being bits, e.g. of the compressed video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
- H04N19/423—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
- H04N19/426—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements using memory downsizing methods
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
本发明公开了一种10比特YUV图像存储格式,由高8比特及低2比特组成,其中,高8比特为一字节,4个低2比特拼接成一个字节,对于10比特视频编码,通过AVX指令,将所述10比特YUV图像存储格式转换为P010格式,该存储格式能够大幅提升采集卡的数据传输效率。
Description
技术领域
本发明属于图像编码领域,涉及一种10比特YUV图像存储格式。
背景技术
对于8比特视频编码,许多硬件编码器(如QSV,NVENC)原生支持NV12格式图像输入。NV12格式YUV采用4:2:0采样,存储顺序是先存所有的Y,再UV交替存储,YUV均是8比特,各占一个字节,参见图1。
随着技术进步,10比特视频开始普及,与NV12格式对应的10比特图像存储格式为P010。P010存储格式与NV12完全一致,只是其YUV各占2个字节。P010采用16比特(2字节)来存储,根据大小端不同,分为P010le及P010be,P010le将10比特放置在16比特低10位;P010be将10比特放置在16比特高10位。
P010存储的10比特图像比NV12存储的8比特图像多了25%信息量,但存储空间多了100%,这对于图像采集可能产生不利影响。
例如,PCIe 2.0x4接口的图像采集卡,其图像写入带宽约是1760MB/s,对于10bit3840x2160@50hz视频,该信号有效信息带宽为:3840x2160x1.5x1.25x50=778MB/s,理论上采集卡能够同时传输两路信号;若采集卡按P010格式写入内存,其带宽为:3840x2160x1.5x2x50=1244MB/s,使得采集卡仅能传输一路信号,大大降低采集卡数据传输效率。
发明内容
本发明的目的在于克服上述现有技术的缺点,提供了一种10比特YUV图像存储格式,该存储格式能够大幅提升采集卡的数据传输效率。
为达到上述目的,本发明所述的10比特YUV图像存储格式由高8比特及低2比特组成,其中,高8比特为一字节,4个低2比特拼接成一个字节。
对于10比特视频编码,通过AVX指令,将所述10比特YUV图像存储格式转换为P010格式。
本发明具有以下有益效果:
本发明所述的10比特YUV图像存储格式在具体操作时,由高8比特及低2比特组成,即仅存储10比特图像的有效信息,无数据冗余,从而有效的提高了采集卡的数据传输效率。
附图说明
图1为NV12图像存储格式示意图;
图2为本发明中10比特拆分及拼接方法图;
图3为本发明的图像存储格式示意图;
图4为实施例中3840x2160 10比特视频图像NV12+格式存储地址示意图。
具体实施方式
下面结合附图对本发明做进一步详细描述:
参考图2,本发明所述的10比特YUV图像存储格式由高8比特及低2比特组成,其中,高8比特为一字节,4个低2比特拼接成一个字节。
将本发明所示的存储格式记作NV12+,从图3可以看出,NV12+是由NV12附加额外数据(图中灰色部分)构成,对于8比特视频编码,可直接使用NV12数据;对于10比特视频编码,则通过AVX指令,将NV12+格式快速转换为P010格式,NV12+仅存储10比特图像有效信息,无数据冗余,从而有效提高采集卡的数据传输效率。
NV12+格式既兼容NV12格式,又可快速转换为P010格式,且仅存储10比特有效图像数据,减小了存储空间,提高了采集卡数据传输效率。
实施例
本实施例以UHD(3840x2160)10比特视频NV12+格式存储为例,叙述具体图像像素存储位置。
假设3840x2160图像Y像素高8比特存储首地址为0:
UV高8比特像素存储首地址可以算出为8294400(3840x2160);
Y低2比特拼接像素存储首地址为12441600(829440+3840x2160x0.5);
UV低2比特拼接像素存储首地址为14515200(12441600+3840x2160x0.25);
详见图4所示。NV12+整幅图像所占存储空间为15552000字节(14515200+3840x2160x0.125)。
Claims (2)
1.一种10比特YUV图像存储格式,其特征在于,由高8比特及低2比特组成,其中,高8比特为一字节,4个低2比特拼接成一个字节。
2.根据权利要求1所述的10比特YUV图像存储格式,其特征在于,对于10比特视频编码,通过AVX指令,将所述10比特YUV图像存储格式转换为P010格式。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910556449.9A CN110351562A (zh) | 2019-06-25 | 2019-06-25 | 一种10比特yuv图像存储格式 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910556449.9A CN110351562A (zh) | 2019-06-25 | 2019-06-25 | 一种10比特yuv图像存储格式 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110351562A true CN110351562A (zh) | 2019-10-18 |
Family
ID=68183057
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910556449.9A Pending CN110351562A (zh) | 2019-06-25 | 2019-06-25 | 一种10比特yuv图像存储格式 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110351562A (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110798689A (zh) * | 2019-10-18 | 2020-02-14 | 西安交通大学 | 一种将nv12+格式转换为p010格式的方法 |
CN112291567A (zh) * | 2020-10-23 | 2021-01-29 | 湖南国科微电子股份有限公司 | 一种yuv数据存储方法、装置、设备及存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050200630A1 (en) * | 2004-03-10 | 2005-09-15 | Microsoft Corporation | Image formats for video capture, processing and display |
US20070076009A1 (en) * | 2003-04-03 | 2007-04-05 | Jean-Marc Porchet | Bitstream format and reading and writing methods and apparatus therefor |
CN1997155A (zh) * | 2006-01-04 | 2007-07-11 | Lsi罗吉克公司 | 混合多比特深度视频处理体系结构 |
CN104969558A (zh) * | 2013-03-29 | 2015-10-07 | 联发科技股份有限公司 | 在具有像素尺寸不能整除存储尺寸的存储单元中的图片像素排列的方法和装置 |
CN109716768A (zh) * | 2016-09-20 | 2019-05-03 | 高通股份有限公司 | 存储和检索高位深度图像数据 |
-
2019
- 2019-06-25 CN CN201910556449.9A patent/CN110351562A/zh active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070076009A1 (en) * | 2003-04-03 | 2007-04-05 | Jean-Marc Porchet | Bitstream format and reading and writing methods and apparatus therefor |
US20050200630A1 (en) * | 2004-03-10 | 2005-09-15 | Microsoft Corporation | Image formats for video capture, processing and display |
CN1997155A (zh) * | 2006-01-04 | 2007-07-11 | Lsi罗吉克公司 | 混合多比特深度视频处理体系结构 |
CN104969558A (zh) * | 2013-03-29 | 2015-10-07 | 联发科技股份有限公司 | 在具有像素尺寸不能整除存储尺寸的存储单元中的图片像素排列的方法和装置 |
CN109716768A (zh) * | 2016-09-20 | 2019-05-03 | 高通股份有限公司 | 存储和检索高位深度图像数据 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110798689A (zh) * | 2019-10-18 | 2020-02-14 | 西安交通大学 | 一种将nv12+格式转换为p010格式的方法 |
CN112291567A (zh) * | 2020-10-23 | 2021-01-29 | 湖南国科微电子股份有限公司 | 一种yuv数据存储方法、装置、设备及存储介质 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103210640A (zh) | 对数据重新格式化以减小视频编码器和缓冲器之间的带宽 | |
CN110073653B (zh) | 视频图像数据传输方法、系统及存储介质 | |
CN105993177A (zh) | 图像捕获加速器 | |
CN104704810A (zh) | 图像捕获加速器 | |
CN102714753A (zh) | 简约信道格式的多信道信号的传输与检测 | |
US9244648B2 (en) | Multi-processor video processing system and video image synchronous transmission and display method therein | |
US7689047B2 (en) | Reduced buffer size for JPEG encoding | |
CN110351562A (zh) | 一种10比特yuv图像存储格式 | |
CN103841359A (zh) | 一种视频多画面合成方法、装置和系统 | |
WO2023024421A1 (zh) | 多路图像拼接方法、系统、可读存储介质、及无人车 | |
KR102619668B1 (ko) | 슬라이스 업데이트 맵을 이용하는 장치 및 방법 | |
US11587274B2 (en) | Time code display system and method, displaying device, storage medium and electronic apparatus | |
JP2009129448A (ja) | データ処理装置、データ処理方法およびデータ処理システム | |
TWI526050B (zh) | 擷取多個視訊頻道以供視訊分析及編碼之技術 | |
CN102572207B (zh) | 一种适于jpeg图像的颜色空间转换方法 | |
CN113038108A (zh) | 图像格式转换方法、装置、设备及存储介质 | |
CN101304533B (zh) | 一种视频处理装置 | |
US20030222882A1 (en) | Method and apparatus for fetching pixel data from memory | |
US20130278775A1 (en) | Multiple Stream Processing for Video Analytics and Encoding | |
US20060170708A1 (en) | Circuits for processing encoded image data using reduced external memory access and methods of operating the same | |
US7884882B2 (en) | Motion picture display device | |
US20090092376A1 (en) | Video reproduction apparatus | |
JP3115013B2 (ja) | 画像表示装置 | |
CN102333194B (zh) | 字幕显示方法与嵌入式系统 | |
CN104092968A (zh) | 超高清视频的视频数据存储控制装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191018 |
|
RJ01 | Rejection of invention patent application after publication |