Patent ID: 8036270

Claim:
A method of encoding, by an encoder, a video comprising a plurality of received pictures, the method comprising: generating, for each picture of the plurality of received pictures, an intra-coded picture or an inter-coded picture, each of the intra-coded picture comprising a plurality of picture elements and each of the inter-coded picture comprising a plurality of picture elements; wherein generating the intra-coded picture comprises: reconstructing each picture element of the plurality of picture elements; and if a current reconstructed picture element, of the reconstructed picture elements, is located in a flicker area, performing a flicker-control process adapted to select an intra prediction mode based on a flicker-control cost function comprising: a product of a weighting factor and a distortion of the current reconstructed picture element; and a product of a complement of the weighting factor and a distortion of the previously reconstructed picture element.