A method of encoding video data, the method comprising: determining whether a block from a current picture will flicker based on the block in the current picture in a display order and a collocated block from a next picture in the display order, the determining comprising: determining a sum of absolute differences between the block from the current picture and the block from the next picture, and determining whether the determined SAD is less than a threshold, wherein: if the determined SAD is greater than the threshold, determining that the block is a non-flickering block, or if the determined SAD is less than the threshold, determining a cumulative SAD of the current picture up to the current block, and determining whether the determined cumulative SAD is greater than a threshold, wherein: if the cumulative SAD for the current picture up to the current block is less than a threshold, determining that the block is a non-flickering block, or if the cumulative SAD for the current picture up to the current block is greater than a threshold, determining a palette size for the block, whether the block is an edge block and whether the block is a texture block, wherein: if either a palette size of the block from the current picture exceeds a threshold palette size and the block is not an edge block, or the block is a texture block, determining that the block is a flickering block, otherwise, determining that the block is a non-flickering block; and encoding a flickering flag based on the determination, the value of the flickering flag indicating whether the block from the current picture will flicker, wherein the flickering flag indicates a certain region of the current picture is a flickering region, wherein the block is within the flickering region. if the determined SAD is greater than the threshold, determining that the block is a non-flickering block, or if the determined SAD is less than the threshold, determining a cumulative SAD of the current picture up to the current block, and determining whether the determined cumulative SAD is greater than a threshold, wherein: if the cumulative SAD for the current picture up to the current block is less than a threshold, determining that the block is a non-flickering block, or if the cumulative SAD for the current picture up to the current block is greater than a threshold, determining a palette size for the block, whether the block is an edge block and whether the block is a texture block, wherein: if either a palette size of the block from the current picture exceeds a threshold palette size and the block is not an edge block, or the block is a texture block, determining that the block is a flickering block, otherwise, determining that the block is a non-flickering block; and if the cumulative SAD for the current picture up to the current block is less than a threshold, determining that the block is a non-flickering block, or if the cumulative SAD for the current picture up to the current block is greater than a threshold, determining a palette size for the block, whether the block is an edge block and whether the block is a texture block, wherein: if either a palette size of the block from the current picture exceeds a threshold palette size and the block is not an edge block, or the block is a texture block, determining that the block is a flickering block, otherwise, determining that the block is a non-flickering block; and encoding a flickering flag based on the determination, the value of the flickering flag indicating whether the block from the current picture will flicker, wherein the flickering flag indicates a certain region of the current picture is a flickering region, wherein the block is within the flickering region.