主权项 |
1. An apparatus to restore an encoded image, the apparatus comprising;
a decoder configured to perform a restoring process on the encoded image, the decoder including, a memory configured to store a plurality of processor instructions, a processor configured to execute an intra-mode restoring function on the encoded image using the plurality of processor instructions, and a hard-wired circuit configured to execute an inter-mode restoring function on the encoded image, and the decoder configured to perform operations comprising, determining a memory access frequency of the restoring process or a number of operations of the restoring process, identifying the restoring process from among the intra-mode restoring function and the inter-mode restoring function based on the memory access frequency of the restoring process or the number of operations of the restoring process, switching to the intra-mode restoring function when the memory access frequency is below a first threshold or the number of operations exceeds a second threshold, or to the inter-mode restoring function otherwise, and performing the intra-mode restoring function or the inter-mode restoring function selected by the switching, the intra-mode restoring function being performed by executing the plurality of processor instructions, the inter-mode restoring function being performed using a hard-wired circuit. |