摘要 |
A method and device for decoding a bitstream comprising an digital image sequence, encoded using reference image prediction (e.g. motion compensation (MC)), comprises: determining an index i of an information predictor (motion vector) selected from a set of image predictors; and decoding the image portion using the predictor indexed by index i and retrieved from the set, wherein determining the index i comprises iteratively constructing the set of predictors; and, for at least one iteration during the iterative construction of the set, reading at least one item of binary information (e.g., a single bit, value 0 ) from the bitstream, and determining, based on the read binary information, whether to stop the iterations and return an index i based on a current state of the set. Also claimed is a similar method in which positive detection of an end bit 810 of a (unary) code word, coding a predictor index, stops 812 iterative vector / predictor determination. The reading of binary data from the bitstream may be based on predictor set state, e.g. whether the set contains more than one predictor. Index i may be returned based on reaching a maximum number of iterations. |