Abstract: A grid detector detects the existence and the location of grids in DCT compressed videos. When a grid is detected in the input video, a post-processor is turned on and the de-blocking processing is applied on the grid detected by the grid detector. When no grid is detected, indicating that the input video is either an uncompressed video or an already de-blocked video, post-processing turned off to avoid degrading the picture quality.