A way to convert nv12+ format to p010 format
A format conversion, p010be technology, applied in the field of image coding, can solve problems such as reducing storage space, and achieve the effect of shortening time, improving speed and efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] In this embodiment, eight 8+2-bit pixels are taken as an example to show specific procedures and execution results.
[0033] Suppose the NV12 data to be read are two 8-byte 0x8182838471727374 and 0x6162636451525354, and the additional 2-bit data to be read are two 2-byte 0xaaaa and 0xffff. The method of AVX2 fast format conversion is: convert it into four 8-byte P010 format data, the format conversion procedure is as follows:
[0034]
[0035]
[0036]
[0037]
[0038]
[0039] The execution process is as follows:
[0040] D operation process: (16 bytes)
[0041] D0: 0x0000000000000000 0x0000000000000000 0x81828384717273740x6162636451525354
[0042] D1: 0x0000000000000000 0x8182838471727374 0x00000000000000000x6162636451525354
[0043] D2: 0x0081008200830084 0x0071007200730074 0x00610062006300640x0051005200530054
[0044] D3: 0x8100820083008400 0x7100720073007400 0x61006200630064000x5100520053005400
[0045]d operation process: (4 bytes)
[0046] 0...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


