Claims
- 1. A method comprising:
coding of each tile of an input codestream; outputting a plurality of packets of said each tile as part of an output codestream as a first complete tile-part; storing remaining layers of said each tile in a buffer; and outputting additional packets of said each tile from the remaining layers as a second complete tile-part.
- 2. The method defined in claim 1 wherein selection of packets of the plurality of packets for inclusion in the first complete tile-p art is based on total bandwidth for first and second passes.
- 3. The method defined in claim 1 wherein selection of packets of the plurality of packets for inclusion in the first complete tile-part is based on size of the buffer.
- 4. An apparatus comprising:
means for coding of each tile of an input codestream; means for outputting a plurality of packets of said each tile as part of an output codestream as a first complete tile-part; means for storing remaining layers of said each tile in a buffer; and means for outputting additional packets of said each tile from the remaining layers as a second complete tile-part.
- 5. The apparatus defined in claim 4 wherein selection of packets of the plurality of packets for inclusion in the first complete tile-part is based on total bandwidth for first and second passes.
- 6. The apparatus defined in claim 4 wherein selection of packets of the plurality of packets for inclusion in the first complete tile-part is based on size of the buffer.
- 7. An article of manufacture comprising at least one recordable media storing executable instructions thereon which, when executed by a processing device, cause the processing device to:
code of each tile of an input codestream; output a plurality of packets of said each tile as part of an output codestream as a first complete tile-part; store remaining layers of said each tile in a buffer; and output additional packets of said each tile from the remaining layers as a second complete tile-part.
- 8. The article of manufacture defined in claim 7 wherein selection of packets of the plurality of packets for inclusion in the first complete tile-part is based on total bandwidth for first and second passes.
- 9. The article of manufacture defined in claim 7 wherein selection of packets of the plurality of packets for inclusion in the first complete tile-part is based on size of the buffer.
- 10. A method comprising:
compressing a bitstream to create an original compressed codestream; performing rate control on the original compressed codestream to created a new compressed codestream in response to a request by selecting a number of layers to remain in the codestream, including a parser using a packet structure containing a selection flag and setting a selection flag for each packet of the original codestream to a predetermined value to indicate whether said each packet is to be included in the new compressed codestream.
- 11. The method defined in claim 10 further comprising:
computing a total number of bytes for the new compressed codestream based on a desired rate; adding the total number of bytes associated with at least one layer, starting with the most important layer and adding a new layer until the total number of bytes associated with the one or more layers whose bytes have been added is equal to or greater than the number of bytes desired or bytes for all layers have been added; subtracting bytes associated with a last added layer when the total number of bytes associated with the one or more layers whose bytes have been added is greater than the number of bytes desired; and setting selection flags of packets associated with layers whose bytes are included in the total number of bytes.
- 12. The method defined in claim 10 further comprising writing the new codestream based on whether selection flags of packets for the original compressed codestream are set.
- 13. The method defined in claim 10 further comprising reading packets in sequential order from the compressed codestream based on order information indicated in a marker.
- 14. The method defined in claim 13 wherein the order information comprises progression order information and the marker comprises a COD marker.
- 15. A apparatus comprising:
means for compressing a bitstream to create an original compressed codestream; means for performing rate control on the original compressed codestream to created a new compressed codestream in response to a request by selecting a number of layers to remain in the codestream, including a parser to use a packet structure containing a selection flag and to set a selection flag for each packet of the original codestream to a predetermined value to indicate whether said each packet is to be included in the new compressed codestream to control whether individual layers are included in the new compressed codestream.
- 16. The apparatus defined in claim 15 further comprising:
means for computing a total number of bytes for the new compressed codestream based on a desired rate; means for adding the total number of bytes associated with at least one layer, starting with the highest level layer and adding a new layer until the total number of bytes associated with the one or more layers whose bytes have been added is equal to or greater than the number of bytes desired or bytes for all layers have been added; means for subtracting bytes associated with a last added layer when the total number of bytes associated with the one or more layers whose bytes have been added is greater than the number of bytes desired; and means for setting selection flags of packets associated with layers whose bytes are included in the total number of bytes.
- 17. The apparatus defined in claim 15 further comprising means for writing the new codestream based on whether selection flags of packets for the original compressed codestream are set.
- 18. The apparatus defined in claim 10 further comprising means for reading packets in sequential order from the compressed codestream based on order information indicated in a marker.
- 19. The apparatus defined in claim 18 wherein the order information comprises progression order information and the marker comprises a COD marker.
- 20. An article of manufacture comprising one or more recordable media having executable instructions stored thereon which, when executed by a machine, cause the machine to:
compress a bitstream to create an original compressed codestream; perform rate control on the original compressed codestream to created a new compressed codestream in response to a request by selecting a number of layers to remain in the codestream, including a parser using a packet structure containing a selection flag and setting a selection flag in each packet of the original codestream to a predetermined value to indicate whether said each packet is to be included in the new compressed codestream.
- 21. The article of manufacture defined in claim 20 further comprising instructions which, when executed by the machine, cause the machine to:
compute a total number of bytes for the new compressed codestream based on a desired rate; add the total number of bytes associated with at least one layer, starting with the highest level layer and adding a new layer until the total number of bytes associated with the one or more layers whose bytes have been added is equal to or greater than the number of bytes desired or bytes for all layers have been added; subtract bytes associated with a last added layer when the total number of bytes associated with the one or more layers whose bytes have been added is greater than the number of bytes desired; and set selection flags of packets associated with layers whose bytes are included in the total number of bytes.
Parent Case Info
[0001] This is a divisional of application Ser. No. ______, filed on Feb. 15, 2001, entitled “A Memory Usage Scheme for Performing Wavelet Processing,” and assigned to the corporate assignee of the present invention.