Method for determining display order of VOPS in decoder end or MPEG image system and device for executing the same
View Patent ↗Methods and systems for image processing are provided. A particular method includes receiving a video object plane (VOP) at an image processing device and decoding the received VOP. The method also includes storing an order number of the decoded VOP at a P-VOP queue in a memory of the image processing device when the received VOP is a predictive coded VOP (P-VOP). The method further includes storing the order number of the decoded VOP at a first available location of a display ordered read queue in the memory of the image processing device when the received VOP is not a P-VOP.
1. A method, comprising:
receiving a video object plane (VOP) at an image processing device;
decoding the received VOP to generate a decoded VOP;
determining whether a memory of the image processing device that is storing one or more VOPs has available capacity to store the decoded VOP;
when the memory does not have the available capacity to store the decoded VOP and the decoded VOP is a predictive coded VOP (P-VOP):
discarding a previously received P-VOP when an order number of the previously received P-VOP is stored at a P-VOP queue; and
storing an order number of the decoded VOP at the P-VOP queue;
when the memory does have the available capacity to store the decoded VOP and the decoded VOP is a P-VOP, storing the order number of the decoded VOP at the P-VOP queue in the memory of the image processing device; and
when the memory does have the available capacity to store the decoded VOP and the decoded VOP is not a P-VOP, storing the order number of the decoded VOP at a first available location of a display ordered read queue in the memory of the image processing device.
2. The method of claim 1 , further comprising determining whether the order number of the previously received P-VOP is stored at the P-VOP queue based on a P-VOP queue flag that indicates whether the order number is stored at the P-VOP queue.
3. The method of claim 2 , further comprising, when the order number of the previously received P-VOP is stored at the P-VOP queue, storing the order number of the previously received P-VOP at the first available location of the display ordered read queue before storing the order number of the decoded VOP at the P-VOP queue.
4. The method of claim 1 , further comprising setting a P-VOP queue flag in response to storing the order number of the decoded VOP at the P-VOP queue.
5. The method of claim 1 , further comprising reading a plurality of stored VOPs from memory according to an order of the order numbers stored at the display ordered read queue.
6. The method of claim 1 , further comprising, when the memory does not have available capacity to store the decoded VOP and the decoded VOP is not a P-VOP, discarding the decoded VOP.
7. A non-transitory processor-readable medium storing instructions that, when executed by a processor, cause the processor to:
receive a video object plane (VOP);
decode the received VOP to generate a decoded VOP;
determining whether a memory of an image processing device that is storing one or more VOPs has available capacity to store the decoded VOP;
when the memory does not have the available capacity to store the decoded VOP and the decoded VOP is a predictive coded VOP (P-VOP):
discarding a previously received P-VOP when an order number of the previously received P-VOP is stored at a P-VOP queue; and
storing an order number of the decoded VOP at the P-VOP queue;
when the memory does have the available capacity to store the decoded VOP and the decoded VOP is a P-VOP, store an order number of the decoded VOP at the P-VOP queue in a memory; and
when the memory does have the available capacity to store the decoded VOP and the decoded VOP is not a P-VOP, store the order number of the decoded VOP at a first available location of a display ordered read queue in the memory.
8. The non-transitory processor-readable medium of claim 7 , wherein the received VOP is a P-VOP, an intra coded VOP (I-VOP), or a bidirectional predictive coded VOP (B-VOP).
9. The non-transitory processor-readable medium of claim 7 , further comprising instructions that, when executed by the processor, cause the processor to determine whether the order number of the previously received P-VOP is stored at the P-VOP queue based on a P-VOP queue flag that indicates whether the order number is stored at the P-VOP queue.
10. The non-transitory processor-readable medium of claim 9 , further comprising instructions that, when executed by the processor, cause the processor to store the order number of the previously received P-VOP at the first available location of the display ordered read queue before storing the order number of the decoded VOP at the P-VOP queue when the order number of the previously received P-VOP is stored at the P-VOP queue.
11. The non-transitory processor-readable medium of claim 7 , further comprising instructions that, when executed by the processor, cause the processor to read a plurality of stored VOPs from memory according to an order of order numbers stored at the display ordered read queue.