1. A device comprising: a luminance average value output unit operable to extract luminance values from pixel data of a first frame and a second frame to generate first luminance average values for pixel lines of the first frame and second luminance average values for pixel lines of the second frame; a flicker curve generating unit operable to subtract the second luminance average values from the first luminance average values to generate a flicker curve; a flicker detecting unit operable to extract a plurality of local minimum points from the flicker curve, determine a distance between pairs of neighboring local minimum points of the extracted local minimum points, and determine whether the flicker is present based on the distances and the frequency numbers of the distances; and a chrominance average value output unit operable to detect chrominance values from the pixel data of the first frame and the second frame, generate first chrominance average values for the pixel lines of the first frame, and generate second chrominance average values for the pixel lines of the second frame.