摘要 |
In one embodiment a method of video processing is disclosed. The method may include receiving by a processing device a first portion of compressed pictures of a bitstream, the first portion of compressed pictures corresponding to a first picture resolution format (PRF), the first portion of the compressed pictures comprising at least one picture compressed at a first encoding level, the first portion of the compressed pictures having an intended picture output as a sequence of pictures in the first PRF; determining a size of the largest picture of the first encoding level; determining a first number of picture buffers corresponding to the largest picture; allocating a linear memory based on the first number of picture buffers and size of the largest picture; determining a ratio of a picture size of the at least one picture of the first portion of the compressed picture and the largest picture size of the first encoding level; determining a second number of picture buffers based on the determined ratio; and mapping the second number of picture buffers in the first number of picture buffers. |