Patent ID: 6937661

Claim:
A video encoder and/or decoder, comprising: an encoding/decoding means for encoding video data into data complying with a predetermined encoding standard, decoding data complying with the predetermined standard into video data or encoding and encoding data; a video input/output means for making input processing video data supplied from outside, output processing of the input-processed video data delivered from the encoding/decoding means and delivering the output-processed video data to outside or making data input and output processing; a control means for supplying a start signal indicative of encoding or decoding start timing to the encoding/decoding means while supplying setting information for input/output processing each image included in the video data to the video input/output means; a delaying means supplied with an external video sync signal synchronous with each image included in the video data supplied to or delivered from the video input/output means and for delaying the input video sync signal a predetermined time; wherein the control means generates the setting information in a timing that is based on the delayed video sync signal delivered from the delaying means and supplying it to the video input/output means; a first timing generating means supplied with a video sync clock synchronous with the video data supplied to or delivered from the video input/output means to generate a first timing signal having a first duration; a second timing generating means supplied with a system clock not synchronous with the video data to generate a second timing signal having a second duration on the basis of the system clock; and a selecting means supplied with the first timing signal, second timing signal and the delayed video sync signal delivered from the delaying means to select any one of these signals and supply it to the control means; wherein the control means generates the start signal on the basis of a signal output from the selecting means and supplying it to the encoding/decoding means.