Video data processing method, system, and apparatus, and computer readable storage medium
Abstract
A video data processing method, system and apparatus, and a computer readable storage medium are disclosed. The video data processing method includes: when a reading signal is received, determining a storage space where video data to be compressed corresponding to the reading signal is located; in response to a determination that the storage space is a DDR storage space, reading video data of a plurality of Blocks from the DDR storage space, sending the video data to be compressed in the video data to a compression module for compression, and storing video data other than the video data to be compressed into a RAM storage space; and in response to a determination that the storage space is the RAM storage space, reading the video data to be compressed from the RAM storage space, and sending the video data to be compressed to the compression module for compression.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A video data processing method, comprising: receiving a reading signal, and determining a storage space where video data to be compressed corresponding to the reading signal is located; reading, in response to a determination that the storage space is a double data rate (DDR) storage space, video data of a plurality of Blocks from the DDR storage space, sending the video data to be compressed in the video data to a compression module for compression, and storing video data other than the video data to be compressed in the video data of the plurality of Blocks into a random access memory (RAM) storage space; and reading, in response to a determination that the storage space is the RAM storage space, the video data to be compressed from the RAM storage space, and sending the video data to be compressed to the compression module for compression; wherein after storing the video data other than the video data to be compressed into the RAM storage space, the video data processing method furt
- Claim 2Depends on #1
The video data processing method according to claim 1, wherein the video data to be compressed is video data of one Block.
- Claim 3Depends on #1
The video data processing method according to claim 1, further comprising: acquiring a compression configuration mode; determining, based on the compression configuration mode, data to be stored in video data in a YUV format; and storing the data to be stored into the DDR storage space.
- Claim 4Depends on #3
The video data processing method according to claim 3, wherein the compression configuration mode is a YUV420 compression configuration mode, and the storing the data to be stored into the DDR storage space comprises: storing components Y of the data to be stored into a memory space with Y_addr as a start address in a DDR; storing components U in even-numbered rows and even-numbered columns, odd-numbered rows and odd-numbered columns, even-numbered rows and odd-numbered columns, or odd-numbered rows and even-numbered columns of the data to be stored into a memory space with U_addr as a start address in the DDR; and storing components V in even-numbered rows and even-numbered columns, odd-numbered rows and odd-numbered columns, even-numbered rows and odd-numbered columns, or odd-numbered rows and even-numbered columns of the data to be stored into a memory space with V_addr as a start address in the DDR.
- Claim 5Depends on #4
The video data processing method according to claim 4, wherein the storing video data other than the video data to be compressed in the video data of the plurality of Blocks into a RAM storage space comprises: writing remaining data Y in row 16m1+n1 into row n1 of Y_RAM; writing remaining data U in row 16m2+2n2 and column 16m2+2n2 into row n2 of U_RAM; and writing remaining data V in row 16m2+2n2 and column 16m2+2n2 into row n2 of V_RAM, wherein m1=0, 1, 2, 3, . . . , n1=0, 1, 2, 3, . . . , 15, m2=0, 1, 2, 3, . . . , and n2=0, 1, 2, 3, . . . 7.
- Claim 6Depends on #3
The video data processing method according to claim 3, wherein the compression configuration mode is a YUV422 compression configuration mode, and the storing the data to be stored into the DDR storage space comprises: storing components Y of the data to be stored into a memory space with Y_addr as a start address in a DDR; storing components U in even-numbered rows, even-numbered columns, odd-numbered rows or odd-numbered columns of the data to be stored into a memory space with U_addr as a start address in the DDR; and storing components V in even-numbered rows, even-numbered columns, odd-numbered rows or odd-numbered columns of the data to be stored into a memory space with V_addr as a start address in the DDR.
- Claim 7Depends on #6
The video data processing method according to claim 6, wherein the storing video data other than the video data to be compressed in the video data of the plurality of Blocks into a RAM storage space comprises: writing remaining data Y in row 16m3+n3 into row n3 of Y_RAM; writing remaining data U in row 16m4+n4 and column 2k1 into row n4 of U_RAM; and writing remaining data V in row 16m4+n4 and column 2k1 into row n4 of V_RAM, wherein m3-0, 1, 2, 3, . . . , n3-0, 1, 2, 3, . . . , 15, m4=0, 1, 2, 3, . . . , n4-0, 1, 2, 3, . . . , 15, and k1=0, 1, 2, 3, . . . 7.
- Claim 8Depends on #3
The video data processing method according to claim 3, wherein the compression configuration mode is a YUV444 compression configuration mode, and the storing the data to be stored into the DDR storage space comprises: storing components Y of the data to be stored into a memory space with Y_addr as a start address in a DDR; storing components U of the data to be stored into a memory space with U_addr as a start address in the DDR; and storing components V of the data to be stored into a memory space with V_addr as a start address in the DDR.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATION This application is the national phase application of International Application No. PCT/CN2022/115726, filed Aug. 30, 2022, which claims priority to Chinese Patent Application No. 202210371374.9, filed on Apr. 11, 2022 in China National Intellectual Property Administration and entitled “ Video Data Processing Method, System and Apparatus, and Computer Readable Storage Medium ” . The contents of International Application No. PCT/CN2022/115726 and Chinese Patent Application No. 202210371374.9 are incorporated herein by reference in their entireties. FIELD The present application relates to the field of video transmission, in particular to a video data processing method, system and apparatus, and a computer readable storage medium. BACKGROUND In a traditional baseboard management control chip, a processing flow of a video compression system is shown in FIG. 1 . A video graphics array (VGA) converts initial video data transmitted from a host terminal into video data in an RGB (Red, Green, Blue) format. A conversion module performs color space conversion on the video data in the RGB format to obtain video data in a YUV format, and the video data in the YUV format is written to a storage space of an off-chip double data rate (DDR). A compression module reads the video data in the YUV format from the off-chip DDR in the order of Blocks, performs compression processing, and writes the compressed video data to the off-chip DDR. Then a network driver operated by a central processing unit (CPU) reads a command of video data compression, and sends the command to a remote terminal for decoding and display through a network, so as to realize remote monitoring and management. The inventor realized that in a traditional solution, there are two reasons for writing the video data to the off-chip DDR: avoid a delay in processing by downstream module, and the video data of the host terminal is continuously generated. Therefore, the video data need
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (10)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (7)
- CN112929672 Machine Translation (Year: 2021).
- CN113573072 Machine Translation (Year: 2021).
- International Search Report of corresponding PCT application (PCT/CN2022/115726)) Nov. 25, 2022 including English translation (5 pages).
- Written Opinion of corresponding PCT application (PCT/CN2022/115726)of corresponding PCT application (PCT/CN2022/115726)) Nov. 25, 2022 including English translation (11 pages).
- Search report of corresponding CN priority application (CN202210371374.9) May 12, 2022 (1 page).
- First Office Action of corresponding CN priority application (CN202210371374.9) May 18, 2022 including English translation (13 pages).
- Notification to Grant Patent Right for Invention of corresponding CN priority application (CN202210371374.9) Jun. 6, 2022 including English translation (2 pages).