11. A method of recording a scanning order for a transform, comprising: providing an order table which records the scanning order by storing a plurality of position values indexed by a plurality of scanning index values, respectively, wherein the position values are indicative of positions in a coefficient matrix corresponding to the transform; providing a statistic table which stores a plurality of statistic values indexed by the scanning index values, respectively, wherein each statistic value records how many times a corresponding position of the coefficient matrix holds a non-zero coefficient; and each time one coefficient is processed according to the scanning order recorded by the order table, determining whether to update the order table by utilizing an updating module, wherein determining whether to update the order table by utilizing an updating module comprising checking if the processed coefficient is the non-zero coefficient; when the processed coefficient is the non-zero coefficient, adjusting a statistic value stored in a first table entry indexed by a first scanning index value corresponding to the processed coefficient to generate an updated statistic table, and selectively updating the order table by referring to the updated statistic table, wherein updating the statistic table to generate the updated statistic table further comprises: when the adjusted statistic value stored in the first table entry of the updated probability table reaches a predetermined threshold, decreasing statistic values stored in all table entries of the updated statistic table.
11. A method of recording a scanning order for a transform, comprising: providing an order table which records the scanning order by storing a plurality of position values indexed by a plurality of scanning index values, respectively, wherein the position values are indicative of positions in a coefficient matrix corresponding to the transform; providing a statistic table which stores a plurality of statistic values indexed by the scanning index values, respectively, wherein each statistic value records how many times a corresponding position of the coefficient matrix holds a non-zero coefficient; and each time one coefficient is processed according to the scanning order recorded by the order table, determining whether to update the order table by utilizing an updating module, wherein determining whether to update the order table by utilizing an updating module comprising checking if the processed coefficient is the non-zero coefficient; when the processed coefficient is the non-zero coefficient, adjusting a statistic value stored in a first table entry indexed by a first scanning index value corresponding to the processed coefficient to generate an updated statistic table, and selectively updating the order table by referring to the updated statistic table, wherein updating the statistic table to generate the updated statistic table further comprises: when the adjusted statistic value stored in the first table entry of the updated probability table reaches a predetermined threshold, decreasing statistic values stored in all table entries of the updated statistic table. 12. The method of claim 11 , wherein selectively updating the order table by referring to the updated statistic table comprises: when an order of statistic values stored in sequential table entries of the updated statistic table is not a sequential order, swapping the adjusted statistic value stored in the first table entry of the updated statistic table that is indexed by the first scanning index value and a statistic value stored in a second table entry of the updated statistic table that is indexed by a second index value, and swapping a position value stored in a first table entry of the order table that is indexed by the first scanning index value and a position value stored in a second table entry of the order table that is indexed by the second scanning index value.