Patent ID: 8135060

Claim:
A picture coding apparatus for coding a moving picture signal, said picture coding apparatus comprising: a moving picture obtaining unit configured to obtain the moving picture signal; a lead detecting unit configured to detect a lead portion of the moving picture signal; a first coding unit configured to perform actual coding of all of the obtained moving picture signal, so as to generate and output binary data, and configured to perform temporary coding of the detected lead portion of the moving picture signal extending up to the generation of the binary data; a second coding unit configured to perform at least variable-length coding on the binary data output from said first coding unit, so as to output variable coded binary data; and a coding condition generating unit configured to generate coding condition for the actual coding, the coding condition for the actual coding being generated based on a temporary coding condition used by said first coding unit to perform the temporary coding of the detected lead portion, wherein said first coding unit performs the temporary coding of the detected lead portion using the temporary coding condition, wherein said first coding unit performs the actual coding of all of the obtained moving picture signal according to the generated coding condition for the actual coding, so as to generate and output the binary data, and wherein said second coding unit processes the binary data obtained according to the coding condition for the actual coding, so as to output the variable coded binary data.