AU2008200669B2 - Moving picture coding method and moving picture decoding method - Google Patents

Moving picture coding method and moving picture decoding method Download PDF

Info

Publication number
AU2008200669B2
AU2008200669B2 AU2008200669A AU2008200669A AU2008200669B2 AU 2008200669 B2 AU2008200669 B2 AU 2008200669B2 AU 2008200669 A AU2008200669 A AU 2008200669A AU 2008200669 A AU2008200669 A AU 2008200669A AU 2008200669 B2 AU2008200669 B2 AU 2008200669B2
Authority
AU
Australia
Prior art keywords
pixel number
maximum
picture
coding
moving picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
AU2008200669A
Other versions
AU2008200669A1 (en
Inventor
Kiyofumi Abe
Makoto Hagai
Shinya Kadono
Satoshi Kondo
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Godo Kaisha IP Bridge 1
Original Assignee
Godo Kaisha IP Bridge 1
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from AU2003208086A external-priority patent/AU2003208086B2/en
Application filed by Godo Kaisha IP Bridge 1 filed Critical Godo Kaisha IP Bridge 1
Priority to AU2008200669A priority Critical patent/AU2008200669B2/en
Publication of AU2008200669A1 publication Critical patent/AU2008200669A1/en
Assigned to PANASONIC CORPORATION reassignment PANASONIC CORPORATION Alteration of Name(s) of Applicant(s) under S113 Assignors: MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application granted granted Critical
Publication of AU2008200669B2 publication Critical patent/AU2008200669B2/en
Assigned to PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA reassignment PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA Request for Assignment Assignors: PANASONIC CORPORATION
Assigned to GODO KAISHA IP BRIDGE 1 reassignment GODO KAISHA IP BRIDGE 1 Request for Assignment Assignors: PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA
Anticipated expiration legal-status Critical
Expired legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

AUSTRALIA Patents Act 1990 COMPLETE SPECIFICATION Standard Patent Applicantss: MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD. Invention Title: MOVING PICTURE CODING METHOD AND MOVING PICTURE DECODING METHOD The following statement is a full description of this invention, including the best method for performing it known to me/us: - 2 DESCRIPTION MOVING PICTURE CODING METHOD AND MOVING PICTURE DECODING METHOD 5 This patent application is a divisional application of Australian patent application 2003208086 and relates to subject matter disclosed in that application. Some description of the invention of 2003208086 is included 10 herein to facilitate understanding of the present invention. If necessary reference may be had to the disclosure of application 2003208086 to understand the present invention, and the disclosure of that application is incorporated herein by reference. 15 Technical Field The present invention relates to a moving picture coding method and a moving picture decoding method and, more particularly, to a coding method for coding digital 20 data of moving pictures which are to be transmitted or stored, and a decoding method corresponding to the coding method. Background Art 25 A moving picture consists of a plurality of pictures, and each picture consists of a predetermined number of pixels. Coding of a moving picture is carried out for each picture, and coding of each picture is carried out with taking a block which is obtained by 30 partitioning the picture as a unit. Generally, coding of a moving picture carries out compression of information amount by eliminating redundancy in time direction and in space direction. For example, an inter picture prediction coding N:\Melbournc\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11 .doc -3 aiming at eliminating temporal redundancy carries out motion estimation and motion compensation for the target picture which is to be coded in block units with referring to pictures which are located temporally forward or 5 backward of the target picture to generate prediction information, and then codes the difference between the prediction information and the target picture information. A picture which is located temporally forward of the target picture is a preceding picture, which is displayed 10 earlier than the target picture, while a picture which is located temporally backward of the target picture is a following picture, which is displayed later than the target picture. The H.264 coding system which is now being 15 standardized as a moving picture coding system carries out motion compensation with respect to the target picture with referring to arbitrary two pictures which are located temporally forward and backward of the target picture. The H.264 is numbered as a recommendation number by ITU-T 20 (International Telecommunication Union-Telecommunication Standardization Sector). The coding aiming at eliminating spatial redundancy is carried out using coding information of the coded blocks which were already coded and which are positioned 25 surrounding the target block. However, when designing a coding apparatus and a decoding apparatus according to the H.264 system, there arises a problem that it is not possible to appropriately decide the sizes of the memory areas which are required in 30 these apparatus. This is caused by that the degree of freedom concerning the number of reference pictures which are referred at inter picture prediction coding is extremely high. N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc -4 Generally, in the coding method for a moving picture which consists of plural pictures, coding of a moving picture is carried out for each picture, and coding of each picture is carried out with taking a block which is 5 obtained by dividing the picture (hereinafter, referred to as macroblock) as a unit. For example, the coding of a picture P is carried out for each macroblock MB constituting the picture P, successively along an arrow B as shown in figure 24(a). 10 Further, coding of the macroblock MB12 as a target block is carried out by predicting information such as motion vector, i.e., coding information, for the target macroblock with referring to the coding information for macroblocks MB3, MB4, MB5, and MB12 which are located at 15 above and at sides of the target macroblock MB12. Therefore, it is necessary to hold the coding information of such as the above macroblocks MB3 to MBll which are located at above and at side of the target macroblock MB12 in order to perform prediction of coding 20 information in coding macroblocks which are coded lately relative to the macroblock 12 until the coding process for the target macroblock MB12 is completed. Tn other words, in coding processing for each picture, coded information of macroblocks of approximately one row are always held. 25 Therefore, in a case where the target image is an image that is laterally long, i.e., long in the horizontal direction, the coded information which is to be held in the coding processing becomes large. Accordingly, when designing an apparatus which can perform coding of an 30 image that is laterally long, i.e., long in the horizontal direction, it is required to secure a large memory area for storing the coding information. Meanwhile, the coding N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 5 information of macroblocks MBl and MB2 shown in figure 24(b) are not referred to at coding of a macroblock whose coding order follows the macroblock MB12. It is needless to say that a larger storage area for 5 storing the coding information, is required also when designing a decoding apparatus that can decode an image having a longer lateral side, similarly as when designing a coding apparatus. In the H.264 coding system, however, no requirements 10 are currently imposed on images for their pixel numbers in the horizontal and vertical direction. This leads to a situation where the minimum size for a storage area that is required for appropriately performing coding or decoding of an image according to the H.264 standard is 15 not decided. In addition, when inter picture prediction coding or decoding is performed according to the H.264 standard, it is required to store all preceding and following pictures which are likely to be referred to in a picture memory. 20 To be brief, in the conventional MPEG (Moving Picture Experts Group)-2 or MPEG-4 method, pictures which can be referred to at the inter picture prediction coding or inter picture prediction decoding, i.e., reference candidate picture, are shared by all blocks of the target 25 picture to be coded or decoded. For example, when the target picture is a B picture which can refer to two other processed pictures at maximum, pictures which are referred to at coding or decoding of each block, i.e., reference pictures, are selected from two reference candidate 30 pictures that are decided for the target picture. When the target picture is a P picture which can refer to only one processed picture, only a reference picture which is decided for the target picture, is used as a picture that N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-1l.doc -6 is referred to at coding or decoding of each block. Descriptions of the reference pictures are given in a following part of the MPEG-4 Standard: ISO/IEC 14496-2:1999(E) 5 Information technology -- coding of audio-visual objects Part 2: Visual (1999-12-01) PP.328, 329 Annex N 10 On the other hand, in the H.264 coding method, a picture that is referred to at the inter picture prediction coding or inter picture prediction decoding, i.e., a reference picture, is selected from plural processed pictures whose image data are stored in a 15 picture memory, for each block in a target picture to be coded or decoded. For example, in a case where the target picture is a B picture, for which each block is coded or decoded with referring to two other processed pictures at maximum, two pictures at maximum which are selected from 20 plural processed pictures image data of which are stored in a picture memory, are referred to at coding or decoding of each block as reference pictures. In a case where the target picture is a P picture, for which each block is coded or decoded with referring to only one processed 25 picture, a picture which is selected from plural processed pictures image data of which are stored in the picture memory is employed as a picture to be referred to at coding or decoding of each block, as a reference picture. As discussed above, according to the MPEG-2 or MPEG 30 4 method, when the target picture is a P picture, one processed picture is a candidate for the reference picture, i.e., a reference candidate picture, and when the target picture is a B picture, two processed pictures are N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 7 reference candidate pictures, while according to the H.264 method, both in cases where the target picture is a P picture and where the target picture is a B picture, plural processed pictures whose image data are stored in 5 the picture memory, serve as candidates for the reference picture, i.e., reference candidate pictures. Figure 25 is a diagram for explaining a specific control of a picture memory according to the H.264 system. Figure 25 shows a case where a picture memory can hold 10 image data of four pictures. That is, in this case, three pictures among these four pictures, other than a target picture to be processed, are reference candidate pictures that may be referred to. For example, when inter picture prediction coding or 15 inter picture prediction decoding is carried out with taking picture P5 as a target picture to be processed as shown in figure 25, pictures P2 to P4 whose image data are stored in a picture memory Mpt are adopted as reference candidate pictures. Here, pictures P1 to P5 are arranged 20 in coding order (or decoding order), and these pictures are coded or decoded in the order of arrangement. Thus, pictures which are displayed earlier than the target picture P5 among the reference candidate pictures P2 to P4, are preceding pictures for the target picture P5, and 25 pictures which are displayed later than the target picture P5 among the reference candidate pictures P2 to P4, are following pictures for the target picture P5. In a decoding apparatus, even when a previously decoded picture is a decoded picture that is other than 30 reference candidate pictures which are employed for referring in the inter picture prediction decoding for the target picture, i.e., a decoded picture that is not employed as a reference picture, image data of the decoded N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2- 1 doc -8 picture must be stored in a picture memory as a display waiting picture until the order of display comes. Figures 26 are diagrams schematically showing the display wait pictures. Figure 26(a) shows plural pictures 5 constituting a moving picture, which are pictures that may be used as reference pictures (reference candidate pictures) [used], and pictures that would not be used as reference pictures (unused]. Figure 26(b) shows the relationship between the decoding timing and the display 10 timing of each picture. For the purpose of illustration, figures 26 show a case where reference pictures [used] which are used at coding or decoding of each block in B picture are both or either of two reference candidate pictures that are 15 commonly used for all blocks in this B picture, and reference pictures [used] which are used at the coding or decoding of each block in P picture are one reference candidate picture that is commonly used for all blocks in this P picture. However, in the H.264 method, a picture 20 to be referred to at picture coding or decoding, i.e., a reference picture, is selected from plural processed pictures whose image data are stored in picture memory, for each block of a target picture to be coded or decoded. Therefore, the reference candidate pictures which are used 25 at coding or decoding of B picture are not restricted to two specific pictures for each B picture as shown in figure 26(a), and the reference candidate picture that is used at coding or decoding of P picture is not restricted to one specific picture for each P picture as shown in 30 figure 26(a). In figure 26(a), reference candidate pictures for B picture B1 are an I picture 10 and B picture B2, and reference candidate pictures for B picture B2 are I N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.l\Specis\P50845.AU.1 Specification 2008-2-ll.doc -9 picture 10 and P picture P4. Further, reference candidate pictures for B picture B3 are B picture B2 and P picture P4, and a reference candidate picture for P picture P8 is P picture P4. 5 Figure 26(b) shows that respective pictures shown in figure 26(a) are decoded in the order of pictures 10, P4, B2, 21, B3, P8, B6, B5, B7, and then displayed in the order of pictures 10, B1, B2, B3, P4, B5, B6, B7, P8. In figure 26(b), Tdec shows the time axis for 10 representing the decoding times of respective pictures, and Tdsp shows the time axis for representing the display times of respective pictures. In addition, tdec(0), tdec(l), tdec(2), tdec(3), tdec(4), tdec(5), tdec(6), tdec(7), and tdec(8) denote the time periods in which 15 decoding of pictures IO, B1, B2, B3, P4, B5, B6, B7, and P8 are carried out, respectively. Further, tdsp (0), tdsp(1), tdsp(2), tdsp(3), tdsp(4), tdsp(5), tdsp(6), tdsp(7), and tdsp(8) denote the time periods in which display of pictures IO, B1, B2, B3, P4, B5, B6, B7, and P8 20 are carried out, respectively. In this case, the decoding times of the pictures B2, B1, B3, P8, B6, B5 and B7 roughly coincide with the display times of the pictures 10, B1, B2, B3, P4, B5, and B6, respectively, as shown in figure 26(b). In addition, 25 the control of the picture memory is performed so that image data of decoded pictures are stored in the picture memory, and the image data of the pictures are deleted successively from pictures which have been displayed. In this case, for example, I picture I is displayed 30 after waiting for the B picture B2 being decoded. The image data of the reference candidate pictures are stored in the picture memory, and these pictures are employed as reference pictures until these pictures are N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-Il.doc - 10 displayed later. However, image data of pictures that are not referred to also must be kept until these pictures are displayed after being decoded. The image data of such decoded pictures that are not employed as reference 5 pictures, are stored in a predetermined memory as display waiting pictures until these pictures are displayed. In figure 26(a), B picture B1 that is decoded after I picture 10 being decoded, is a picture that is not used as a reference picture and will be displayed subsequent to 10 I picture IO, and therefore, it can be displayed immediately after the decoding thereof, while B picture B3 that is decoded after B picture B1 being decoded, is a picture that will be displayed after B picture B2 being displayed, that follows B picture B1, and therefore, it 15 will be displayed with waiting for a display period of one picture, i.e., B picture B2, after B picture B1 being decoded. In this case, the number of display waiting picture(s) at the decoding start timing of P picture P8 is 20 only one, i.e., B picture B3. Further, there arises no problem by that the image data of pictures which will not be used as reference pictures should be deleted immediately after the display of those pictures is completed. However, the timing of 25 deleting the image data of these pictures may be other than immediately after the display of those pictures being performed. In such cases, the image data of the pictures which are not used as reference pictures, would be kept stored 30 in the memory also after these pictures are displayed, and these pictures whose image data are held in the picture memory are also handled as display waiting pictures. For example, in a case where the control of the N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. I \Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 11 picture memory is carried out such that image data of a picture which is stored in the picture memory but is not used as a reference picture, is deleted from the picture memory after a display time of one picture expiring after 5 the picture was displayed, the number of display waiting pictures at the start of decoding of P picture P8 amounts to two, i.e., B picture B2 and B picture B3. As discussed above, plural decoded or coded pictures are stored in a picture memory of a decoding apparatus or 10 a coding apparatus, while in the H.264 coding system there is currently no limitations on the maximum number of reference candidate pictures which are employed at the inter picture prediction coding or decoding, i.e., the maximum reference picture number. 15 Thus, in the design of a coding apparatus or a decoding apparatus according to the H.264 system, the maximum number of decoded or coded pictures which are to be stored in the picture memory cannot be established, and therefore the capacity of a storage area to be mounted in 20 the apparatus cannot be decided. The present invention is made to solve the above mentioned problems, and has for its object to provide a moving picture coding method and a moving picture decoding method which can correctly judge the 25 capability/incapability of coding or decoding for a moving picture as well as efficiently utilize a memory area mounted in a coding/decoding apparatus, and thereby enables designing a memory area in a coding/decoding apparatus according to a coding method which imposes no 30 limitations on the capacity of the memory. Disclosure of the Invention According to one aspect of the present invention N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc -12 there is provided a method for decoding a code sequence corresponding to a moving picture comprising a plurality of pictures, each picture having a prescribed number of pixels, said method comprising: 5 a level identifier extracting step of extracting a level identifier from the code sequence, the level identifier identifying a coding level which indicates a level of coding processing for the moving picture; and a decoding step of decoding coded data of the moving io picture according to the level determined by the level identifier which is extracted by said level identifier extracting step, to generate decoded image data of the moving picture, wherein the level identifier is an identifier that identifies 15 i) a maximum in-frame pixel number which conforms to the coding level, a maximum in-frame pixel number being a maximum pixel number allowed for a picture of the moving picture , and ii) a maximum storage pixel number which conforms to the 20 coding level, the maximum storage pixel number indicating an amount of data that can be stored in a picture memory; wherein a maximum number of candidate reference pictures which can be stored in the picture memory is calculated on the basis of a vertical pixel number and a 25 horizontal pixel number of the moving picture which is to be decoded in said decoding step and the maximum storage pixel number identified by the level identifier; and wherein the vertical pixel number (h) and the horizontal pixel number (w) of the moving picture satisfy 30 the following condition: hxw<= (the maximum in-frame pixel number); where the vertical pixel number (h) is a multiple of 16, and the horizontal pixel number (w) is a multiple of 16. 35 According to another aspect of the present invention there is provided an apparatus for decoding a code 2230320_1 (GMMatters) -13 sequence corresponding to a moving picture comprising a plurality of pictures, each picture having a prescribed number of pixels, said apparatus comprising: a level identifier extracting unit operable to 5 extract a level identifier from the code sequence, the level identifier identifying a coding level which indicates a level of coding processing for the moving picture; and a decoding unit operable to decode coded data of the 10 moving picture according to the level determined by the level identifier which is extracted by said level identifier extracting unit, to generate decoded image data of the moving picture; wherein the level identifier is an identifier that identifies 15 i) a maximum in-frame pixel number which conforms to the coding level, a maximum in-frame pixel number being a maximum pixel number allowed for a picture of the moving picture, and ii) a maximum storage pixel number which conforms to the coding level, the maximum storage pixel 20 number indicating an amount of data that can be stored in a picture memory; wherein a maximum number of candidate reference pictures which can be stored in the picture memory is calculated on the basis of a vertical pixel number and a 25 horizontal pixel number of the moving picture which is to be decoded in said decoding unit and the maximum storage pixel number identified by the level identifier; and wherein the vertical pixel number (h) and the horizontal pixel number (w) of the moving picture satisfy 30 the following condition: hxw<= (the maximum in-frame pixel number); where the vertical pixel number (h) is a multiple of 16, and the horizontal pixel number (w) is a multiple of 16. 35 According to another aspect of the present invention there is provided a data storage medium that contains a 2230321 (GHMeltess) -14 program for implementing a process of decoding a code sequence corresponding to a moving picture, where the program makes a computer execute the decoding process according to the moving picture decoding method as 5 described above. According to another aspect of the present invention there is provided a method for coding a moving picture comprising of a plurality of pictures, each picture having a prescribed number of pixels, said method including: 10 a level identifier output step of selecting a coding level which indicates a level of coding processing for the moving picture and outputting a level identifier for identifying the selected coding level; a coded data generating step of generating coded data 15 of the moving picture by coding the moving picture according to the selected coding level; and a coded sequence generating step of multiplexing the level identifier and the coded data to generate a code sequence; wherein 20 the level identifier is an identifier that identifies i) a maximum in-frame pixel number which conforms to the selected coding level, a maximum in-frame pixel number being a maximum pixel number allowed for a picture of the moving picture, and ii) a maximum storage pixel number 25 which conforms to the selected coding level, the maximum storage pixel number indicating an amount of data that can be stored in a picture memory; wherein said coded data generating step includes a predictive coding step of predictively coding a picture to 30 be coded with reference to a reference picture which has been coded; wherein a maximum number of candidate reference pictures which can be stored in the picture memory is calculated based on a vertical pixel number and a 35 horizontal pixel number of the moving picture which is to be coded and the maximum storage pixel number identified 223032L_1 (GHMaters) -15 by the level identifier; and wherein the vertical pixel number (h) and the horizontal pixel number (w) of the moving picture satisfy the following condition: 5 hxw<- (the maximum in-frame pixel number); where the vertical pixel number (h) is a multiple of 16, and the horizontal pixel number (w) is a multiple of 16. According to another aspect of the present invention 10 there is provided an apparatus for coding a moving picture comprising a plurality of pictures, each picture having a prescribed number of pixels, said apparatus comprising: a level identifier output unit operable to select a coding level which indicates a level of coding processing 15 for the moving picture and outputting a level identifier for identifying the selected coding level; a coded data generating unit operable to generate coded data of the moving picture by coding the moving picture according to the selecting coding level; and 20 a coded sequence generating unit operable to multiplex the level identifier and the coded data to generate a code sequence, wherein the level identifier is an identifier that identifies i) a maximum in-frame pixel number which conforms to the 25 selected coding level, a maximum in-frame pixel number being a maximum pixel number allowed for a picture of the moving picture, and ii) a maximum storage pixel number which conforms to the selected coding level, the maximum storage pixel number indicating an amount of data that can 30 be stored in a picture memory; wherein said coded data generating unit includes a predictive coding unit operable to predictively code a picture to be coded with reference to a reference picture which has been coded; 35 wherein a maximum number of candidate reference pictures which can be stored in the picture memory is 2230320_1 (CHMaers) -15a calculated based on a vertical pixel number and a horizontal pixel number of the moving picture which is to be coded and the maximum storage pixel number identified by the level identifier; and 5 wherein the vertical pixel number (h) and the horizontal pixel number (w) of the moving picture satisfy the following condition: hxw<= (the maximum in-frame pixel number); where the vertical pixel number (h) is a multiple of 10 16, and the horizontal pixel number (w) is a multiple of 16. According to another aspect of the present invention there is provided a computer-readable storage medium having a computer program stored thereon for causing a 15 computer to execute a moving picture coding method comprising: a level identifier output step of selecting a coding level which indicates a level of coding processing for the moving picture and outputting a level identifier for 20 identifying the selected coding level; a coded data generating step of generating coded data of the moving picture by coding the moving picture according to the selected coding level; and a coded sequence generating step of multiplexing the 25 level identifier and the coded data to generate a code sequence; wherein the level identifier is an identifier that identifies i) a maximum in-frame pixel number which conforms to the selected coding level, the maximum in 30 frame pixel number being a maximum pixel number allowed for a picture of the moving picture, and ii) a maximum storage pixel number which conforms to the selected coding level, the maximum storage pixel number indicating an amount of data that can be stored in a picture memory; 35 wherein said coded data generating step includes a predictive coding step of predictively coding a picture to be coded with reference to a reference picture which has 23032D_1 (GHMatter) -15b been coded; wherein a maximum number of candidate reference pictures which can be stored in the picture memory is calculated based on a vertical pixel number and a 5 horizontal pixel number of the moving picture which is to be coded and the maximum storage pixel number identified by the level identifier; and wherein the vertical pixel number (h) and the horizontal pixel number (w) of the moving picture satisfy 10 the following condition: hxw<= (the maximum in-frame pixel number); where the vertical pixel number (h) is a multiple of 16, and the horizontal pixel number (w) is a multiple of 16. 2230320_1 (GHMaers) - 16 Brief Description of the Drawings Figure 1 is a block diagram for explaining a moving picture coding apparatus 10a according to a first embodiment of the present invention. 5 Figure 2 is a block diagram illustrating a specific construction of a coding capability judgment unit 108a in the moving picture coding apparatus 10a according to the first embodiment. Figure 3 is a block diagram illustrating a specific 10 construction of a maximum reference picture number calculation unit 109a in the moving picture coding apparatus 10a according to the first embodiment. Figure 4 is a block diagram for explaining a moving picture coding apparatus 10b according to a second 15 embodiment of the present invention. Figure 5 is a block diagram illustrating a specific construction of a coding capability judgment unit 108b in the moving picture coding apparatus 10b according to the second embodiment. 20 Figure 6 is a block diagram for explaining a moving picture coding apparatus 10c according to a third embodiment of the present invention. Figure 7 is a block diagram illustrating a specific construction of a coding capability judgment unit 108c 25 in the moving picture coding apparatus 10c according to the third embodiment. Figure 8 is a block diagram for explaining a moving picture coding apparatus 10d according to a fourth embodiment of the present invention. 30 Figure 9 is a block diagram illustrating a specific N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 17 construction of a maximum reference picture number calculation unit 109d in the moving picture coding apparatus 10d according to the fourth embodiment. Figure 10 is a block diagram for explaining a moving 5 picture decoding apparatus 50a according to a fifth embodiment of the present invention. Figure 11 is a block diagram for explaining a moving picture decoding apparatus 50b according to a sixth embodiment of the present invention. 10 Figure 12 is a block diagram for explaining a moving picture decoding apparatus 50c according to a seventh embodiment of the present invention. Figure 13 is a block diagram for explaining a moving picture decoding apparatus 50d according to an eighth 15 embodiment of the present invention. Figures 14 are diagram for explaining data structures of bit streams which are generated by the moving picture coding apparatus according to the above embodiments; figures 14(a), 14(b), and 14(c) showing bit 20 streams Bsa, Bsb, and Bsc, which are generated by the moving picture coding apparatuses 10a, 10b, and 10c according to the first, second, and third embodiments, respectively. Figure 15 is a diagram showing a table T1 that 25 defines correspondence between the level identifier and a pair of the maximum intra frame pixel number and the maximum storage pixel number, which is employed in the moving picture coding apparatus 10a according to the first embodiment. 30 Figures 16 are diagram showing tables which are employed in the moving picture coding apparatus 10a N:\Melbournc\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 18 according to the first embodiment; figure 16(a) showing a table Tia that defines correspondence between the level identifier and the maximum intra frame pixel number, and figure 16(b) showing a table Tlb that 5 defines correspondence between the level identifier and the maximum storage pixel number. Figures 17 are diagram showing tables which are employed in the second embodiment; figure 17(a) showing a table T2 that defines correspondence between the 10 identification number and a pair of the vertical pixel number calculation coefficient and the vertical pixel number calculation coefficient, figure 17(b) showing a table T2a that defines correspondence between the identification number and the horizontal pixel number is calculation coefficient, and figure 17(c) showing a table T2b that defines correspondence between the identification number and the vertical pixel number calculation coefficient. Figures 18 are diagram showing tables which are 20 employed in the third embodiment, figure 18(a) showing a table T3 that defines correspondence between the identification number and a pair of the maximum vertical pixel number and the maximum horizontal pixel number, figure 18(b) showing a table T3a that defines 25 correspondence between the identification number and the maximum horizontal pixel number, and figure 18(c) showing a table T3b that defines correspondence between the identification number and the maximum vertical pixel number. 30 Figures 19 are diagrams explaining a data storage medium that contains a program for implementing the moving picture coding apparatus or the moving picture N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. I Specification 2008-2-11.doc - 19 decoding apparatus according to any of the above embodiments by a computer system (figures 19(a) and 19(b)), and the computer system (figure 19(c)). Figure 20 is a diagram for explaining an application 5 of the moving picture coding apparatus and the moving picture decoding apparatus according to any of the above embodiments, and shows a contents supply system 1100 for providing contents distribution services. Figure 21 is a diagram for explaining a portable 10 phone 1200 that utilizes the moving picture coding apparatus and the moving picture decoding apparatus according to any of the above embodiments. Figure 22 is a block diagram illustrating a specific construction of the portable phone 1200 as shown in is figure 21. Figure 23 is a conceptual drawing showing a digital broadcasting system 1400 that utilizes the moving picture coding apparatus or the moving picture decoding apparatus according to any of the above embodiments. 20 Figures 24 are diagram for explaining a conventional coding method, and figure 24 (a) showing the order of coding for macroblocks in a target picture to be coded, and figure 24(b) showing surrounding macroblocks which are referred to at the coding of a target macroblock to 25 be coded. Figure 25 is a diagram for explaining conventional coding method and decoding method, and shows other pictures whose image data are stored in a picture memory at the coding (or decoding) of a target picture. 30 Figures 26 are diagrams schematically showing the control for display wait pictures in the conventional N:\Molbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 20 coding method and decoding method, figure 26(a) showing pictures which are referred to ([used]) and pictures which are not referred to ([unused]), and figure 26(b) showing the relationship between the decoding timing and 5 the coding timing of each picture. Best Mode for Carrying out the Invention Hereinafter, embodiments of the present invention will be described. 10 [Embodiment 1] Figure 1 is a block diagram explaining a moving picture coding apparatus 10a according to a first embodiment of the present invention. The moving picture coding apparatus 10a according to 15 the first embodiment divides plural pictures that constitute a moving picture, into predetermined data processing units, i.e., blocks, respectively, and encodes image data of each picture for each block. It is assumed here that the block is a macroblock which is 20 composed of 16 vertical pixels x 16 horizontal pixels. More specifically, this moving picture coding apparatus 10a includes a picture memory 101 that stores input data Id of a input moving picture which is inputted picture by picture, and outputs stored data SId 25 block by block; a difference calculator 113 that calculates a difference between the image data SId of a target block to be coded, which is outputted from the input picture memory 101 and predictive data Pd of the target block, and outputs prediction residual data Dd of 30 the target block; and a prediction residual encoder 102 that compressively encodes the image data SId or N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.l\Specis\P50845.AU.1 Specification 2008-2-1l.doc - 21 prediction residual data Dd of the target block. Here, in the picture memory 101, a process for reordering image data of pictures which are inputted in the display order, to be arranged in the picture coding order is 5 carried out on the basis of the relationship between the target picture and a picture to be referred to, i.e., reference picture at the prediction coding. The picture memory 101 outputs information indicating the size of an input image, i.e., input image size information Ipx, and 10 this input image size information Ipx is composed of vertical pixel number information Ihpx indicating the number (h) of vertical pixels in the input image and horizontal pixel number information Iwpx indicating the number (w) of horizontal pixels in the input image. 15 The moving picture coding apparatus 10a includes a prediction residual decoder 104 that decompressively decodes output coded data Cd from the prediction residual encoder 102, and outputs differential data of the target block (hereinafter, referred to as decoded 20 differential data) PDd; an adder 106 that adds the decoded differential data PDd of the target data and the predictive data Pd of the target block, and outputs image data of the target block (hereinafter, referred to as decoded data) Rd; and a picture memory 105 that 25 stores the decoded data Rd and outputs the stored decoded data Rd as data CRd of a candidate for picture to be referred to at the coding of the target block , i.e., reference candidate picture, in accordance with a picture designation signal CSpd. 30 The moving picture coding apparatus 10a includes a motion estimation unit 106 that estimates a motion vector MV for the target block on the basis of the N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 22 output data, i.e., image data of the target block SId from the picture memory 101 and the output data, i.e., data of a reference candidate picture CRd from the picture memory 105, and generates predictive data Pd for 5 the target block on the basis of the estimated motion vector MV; and a motion vector storage unit 107 that stores the motion vector MV for the target block, which has been estimated by the motion vector estimation unit 106. The motion estimation unit 106 performs the motion 10 estimation for estimating a motion vector for target block, with referring to an optimal picture among plural reference candidate pictures as well as referring to motion vectors for processed blocks that are located around the target block. Here, the optimal picture 15 among the plural reference candidate pictures is decided on the basis of the coding efficiency or the like. The moving picture coding apparatus 10a includes a selector switch 111 that selects one of the output data SId from the picture memory 101 and the output data Dd 20 from the difference calculator 113 and outputs selected data CEd, and an ON/OFF switch 112 that is provided between the motion vector estimation unit 106 and the adder 114. Here, the selector switch 111 has two input terminals Tal and Ta2 and one output terminal Tb, and 25 the output terminal Tb is connected to one of the two input terminals Tal and Ta2 in accordance with a switch control signal. The moving picture coding apparatus 10a according to the first embodiment includes a level analyzer 100a that 30 outputs information indicating the maximum intra frame pixel number that can be coded (Nfpx) (hereinafter, referred to as maximum intra frame pixel number N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-1 1doc - 23 information) Ifpx and information indicating the maximum storage pixel number which can be stored in a picture memory of a decoding apparatus (Nspx) (hereinafter, referred to as maximum storage pixel number information) 5 Ispx, on the basis of a level identifier signal indicating a coding level, i.e., level signal Lst, which is inputted by a user operation. This level analyzer 100a has information of a table T1 as shown in figure 15. The table T1 shows correspondence between values of 10 the level identifier, and the maximum intra frame pixel numbers and the maximum storage pixel numbers. The moving picture coding apparatus 10a includes a judgement unit, i.e., coding capability judgment unit 108a that judges whether coding of an input image is 15 possible or not on the basis of the maximum intra frame pixel number information Ifpx from the level analyzer 100a and input picture size information Ipx from the picture memory 101, and outputs a signal indicating the judgment result, i.e., judgment result signal CSjd. The 20 moving picture coding apparatus 10a includes a calculator, i.e., maximum reference picture number calculator 109a that calculates the number of reference candidate pictures, i.e., maximum reference picture number Nrpn which can be referred to at the inter 25 picture prediction coding on the basis of the maximum storage pixel number information Ispx and the input image size information Ipx, and outputs information, i.e., maximum reference picture number information Irpn indicating the calculated number Nrpn. 30 The moving picture coding apparatus 10a further includes a bit stream generator 103 that variable length-codes the output coded data Cd from the N:\Melbourne\Cases\Patnt\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 24 prediction residual encoder 102, then adds codes corresponding to the motion vector MV, a mode signal Ms, and the level signal Lst to a bit stream obtained by the variable length coding, and outputs an obtained bit 5 stream Bsa. The moving picture coding apparatus 10a further includes a control unit 110 that controls operations of the respective components of the moving picture coding apparatus 10a, in accordance with control signals Sct1, 10 Sct2, ... , Sctn, on the basis of the judgement result signal CSjd and the image data SId from the picture memory 101. The control unit 110 decides a coding mode according to the image data SId from the picture memory 101, and outputs a mode signal Ms indicating the decided 15 mode, as well as controls the switches 111 and 112 according to the decided coding mode, by predetermined signals. The control unit 110 further controls operations of the prediction residual encoder 102, the prediction residual decoder 104, the bit stream 20 generator 103, the motion vector estimation unit 106, and the like, in accordance with the control signals Sctl, Sct2, ... , Sctn, according to the judgment result signal CSjd. That is, the control unit 110 controls the prediction residual encoder 102, the prediction residual 25 decoder 104, the bit stream generator 103, the motion vector estimation unit 106, and the like, for performing coding of an input image when the judgment result signal CSjd indicates that it is possible to encode the input image, while controls the prediction residual encoder 30 102, the prediction residual decoder 104, the bit stream generator 103, the motion vector estimation unit 106, and the like, for not performing coding of an input N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 25 image when the judgment result signal CSjd indicates that it is impossible to encode the input image. Figure 14(a) shows a data structure of a bit stream Bsa corresponding to an input image. 5 The bit stream Bsa is composed of a header area Ha that contains various header information, and a sequence data part Dsq that contains coded data, i.e., a bit stream corresponding to image data of each picture. A code H1 corresponding to the level identifier 10 signal, i.e., level signal Lst is included in the header area Ha of the bit stream Bsa, as one kind of the header information. Further, a sequence header Sh indicating the size of an input image, i.e., the number of vertical pixels in the input image (hereinafter, referred to as 15 input image vertical pixel number) (h) and the number of horizontal pixels in the input image (hereinafter, referred to as input image horizontal pixel number) (w) is included in the sequence data part Dsp of the bit stream Bsa. 20 Figure 2 is a diagram illustrating a specific construction of the coding capability judgment unit 108a. The coding capability judgment unit 108a includes a multiplier 206 that calculates the product (Phw) of the 25 input image vertical pixel number (h) and the input image horizontal pixel number (w) on the basis of the input pixel vertical pixel number information Ihpx and the input pixel horizontal pixel number information Iwpx, and outputs a multiplication signal Shw indicating 30 the result of the multiplication; and a first comparator 203 that compares the product (Phw) and the maximum N:\Melbournc\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-1l.doc - 26 intra frame pixel number Nfpx on the basis of the multiplication signal Shw and the maximum intra frame pixel number information Ifpx, and outputs a first comparison result signal Scm1 indicating the result of 5 comparison. The coding capability judgment unit 108a includes a calculator, i.e., maximum vertical pixel number/maximum horizontal pixel number calculator 201 that calculates the maximum vertical pixel number (H) and the maximum 10 horizontal pixel number (W) which can be processed, on the basis of the input image vertical pixel number information Ihpx and the input image horizontal pixel number information Iwpx, and outputs information Op3a and Op3b indicating the operation results; and a 16 15 multiple converter 202 that performs a rounding operation for rounding the maximum vertical pixel number (H) and the maximum horizontal pixel number (W) to multiples of 16 on the basis of the operation result information Op3a and Op3b from the calculator 201, and 20 outputs rounding information Trndl indicating a multiple of 16 to which the maximum vertical pixel number (H) is rounded (roundl(H)) and rounding information Trnd2 indicating a multiple of 16 to which the maximum horizontal pixel number (W) is rounded (round2 (H)). 25 The coding capability judgment unit 108a includes a second comparator 204 that performs comparison between the input image vertical pixel number (h) and the maximum vertical pixel number (H) (vertical pixel number comparison) and comparison between the input image 30 horizontal pixel number (w) and the maximum horizontal pixel number (W) (horizontal pixel number comparison) on the basis of the pixel number information Ihpx and Iwpx, N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11.doc - 27 and the rounding information Trndl and Trnd2, and outputs a comparison result signal Scm2a indicating the result of the vertical pixel number comparison, and a comparison result signal Scm2b indicating the result of 5 the horizontal pixel number comparison; and an AND unit 205 that takes an AND operation of the three comparison result signals Scml, Scm2a and Scm2b, and outputs the operation result signal CSjd indicating the result of AND operation. 10 Figure 3 is a diagram illustrating a specific construction of the maximum reference picture number calculator 109a. The maximum reference picture number calculator 109a includes a multiplier 401 that calculates the total 15 number of pixels in one frame (Phw = hxw) corresponding to the size of the input image on the basis of the input image vertical pixel number information Ihpx and the input image horizontal pixel number information Iwpx, and outputs an operation output Ohw indicating the 20 result of calculation; and a divider 402 that divides the maximum storage pixel number (Nspx) by the total pixel number in one frame (hxw) on the basis of the operation output Ohw and the maximum storage pixel number information Ispx, and outputs an operation output 25 signal Dpm indicating the result of division (Nspx/ (hxw)) . The maximum reference picture number calculator 109a further includes a constant storage unit 404 that retains a numeric value signal Sni indicating the number of pictures to be coded, i.e., one picture, 30 and outputs the numeric value signal Sn1; and a subtractor 403 that outputs a subtraction output signal Sdl indicating a value obtained by subtracting 1 from N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.I\Specis\P50845.AU.I Specification 2008-2-11.doc - 28 the division result (Nspx/(hxw) i.e., Nspx/(hxw)-1. Next, the operation will be described hereinafter. In the moving picture coding apparatus 10a according to the first embodiment, before performing a coding of 5 an input image, a level required is selected from a plurality of coding levels which are previously established and are employed as coding conditions, on the basis of the construction of a memory or the like in the moving picture coding apparatus 10a, and the 10 construction of a memory or the like in a moving picture decoding apparatus to which coded data are supplied. More specifically, the coding level selection is performed by the user with referring to the table T1, and the level signal Lst indicating the level identifier 15 corresponding to the selected level is inputted to the moving picture coding apparatus 10a by the user operation. In this case, a specific maximum intra frame pixel number (Nfpx) and maximum storage pixel number (Nspx) 20 are set for each coding level. The table T1 in figure 15 shows eight coding levels, which correspond to values (1) to (8) of the level identifier, respectively. Further, the values (1) to (8) of the level identifier are correlated with specific values of the maximum intra 25 frame pixel number (Nfpx) and specific values of the maximum storage pixel number (Nspx) , respectively. The maximum intra frame pixel number (Nfpx) indicates the size of a picture constituting an input image, i.e., input moving picture, which can be coded by 30 the moving picture coding apparatus 10a and can decoded by a moving picture decoding apparatus to which the N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 29 coded data are supplied, and this is the maximum value possibly taken by the product of the number of vertical pixels (h) and the number of horizontal pixels (w) in the picture. More specifically, the maximum intra frame 5 pixel number indicates the maximum value of the number of pixels per picture. The maximum storage pixel number (Nspx) indicates the number of pixels corresponding to the amount of image data which can be stored in a picture memory in a 10 decoding apparatus associated with the moving picture coding apparatus 10a. In other words, the maximum storage pixel number (Nspx) is the number of pixels equivalent to the maximum amount of image data which can be stored in the picture memory. For example, data of 15 pictures such as reference candidate pictures, decoded pictures that wait for being displayed, and a picture to be decoded are stored in the picture memory of the moving picture decoding apparatus that decodes a bit stream from the moving picture coding apparatus 10, and 20 the maximum storage pixel number is equal to the total number of the pixels in these pictures. In this moving picture coding apparatus 10a, when the selection of the coding level is performed by the user operation, the level selection signal Lst is 25 inputted to the level analyzer 100a. Then, the level analyzer 100a refers to the table T1 (see figure 15) held therein, and outputs the maximum intra frame pixel number information Ifpx and the maximum storage pixel number information Ispx adaptively to the coding level 30 indicated by the level signal Lst, which is selected by the user. The maximum intra frame pixel number information Ifpx is inputted to the coding capability N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Spccis\P50845.AU. ISpecification 2008-2- 11 .doc - 30 judgment unit 108a, and the maximum storage pixel number information Ispx is inputted to the maximum reference picture number calculator 109a. When image data Id of a moving picture, i.e., input 5 image is inputted to the picture memory 101 in picture units in the order of display time, image data corresponding to each picture is successively stored in the picture memory 101, and the stored image data SId is outputted from the picture memory 101 in units of 10 blocks, i.e., macroblocks that constitute the picture, in the order of coding. At this time, the information indicating the size of the input image, i.e., input image size information Ipx is outputted from the picture memory 101 to the coding capability judgment unit 108a 15 and the maximum reference picture number calculator 109a. Here, for example, the macroblock is a block in which the number of horizontal pixels (hereinafter, referred to as horizontal pixel number) is 16, and the 20 number of vertical pixels (hereinafter, referred to as vertical pixel number) is 16 (16x16 pixel block) . Then, the coding process in the moving picture coding apparatus is performed in units of blocks. Further, as described above, the input image size information Ipx is 25 composed of the information Ihpx indicating the number of vertical pixels (h) in the input image and the information Iwpx indicating the number of horizontal pixels (w) in the input image. Then, the coding capability judgment unit 108a 30 judges whether the input image is encodable on the basis of the vertical pixel number information Ihpx and the horizontal pixel number information Iwpx of the input N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. I Specification 2008-2-11 .doc - 31 image included in the input image size information Ipx, which is outputted from the picture memory 101, and the maximum intra frame pixel number information Ifpx outputted from the level analyzer 100a, and outputs a 5 signal indicating the judgment result, i.e., judgment result signal CSjd to the control unit 110. The control unit 110 controls the respective units in the moving picture coding apparatus 10a for performing coding of the image data SId from the picture 10 memory 101 in accordance with control signals Sct1, Sct2, ... , Sctn, when the judgment result signal CSjd indicates that the input image is encodable, while controlling the respective units in the moving picture coding apparatus 10a for not performing coding of the 15 image data SId from the picture memory 101 in accordance with the control signals Sctl, Sct2, ... , Sctn, when the judgement result signal CSjd indicates that it is impossible to code the input image. Further, the control unit 110 switches between a 20 mode for performing inter picture prediction coding for image data and a mode for performing intra picture prediction coding for image data, on the basis of the image data SId from the picture memory 101, when the judgment result signal CSjd indicates that the input 25 image is encodable. When the control unit 110 selects the mode for performing the inter picture prediction coding of image data, it controls the switch 111 so that the output terminal Tb is connected to the second input terminal Ta2, and controls the switch 112 so as to be 30 brought into conduction, by a predetermined control signal. On the other hand, when the control unit 110 selects a mode for performing inter picture prediction N:\Mclbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2- ll.doc - 32 coding of image data, the control unit 110 controls the switch 111 so that the output terminal Tb is connected to the first input terminal Tal, and controls the switch 112 so as to be brought out of conduction, by a 5 predetermined control signal. The maximum reference picture number calculator 109a calculates the number of reference candidate pictures which can be referred to at the inter picture prediction coding (hereinafter, referred to as a maximum reference 10 picture number) (Nrpn), on the basis of the maximum storage pixel number information Ispx, the input image vertical pixel number information Ihpx, and the input image horizontal pixel number information Iwpx, and outputs information indicating the calculated number 15 (Nrpn), i.e., reference picture maximum number Irpn. Hereinafter, the operation in a case where the inter picture prediction coding is selected will be described. The image data SId of a macroblock, which has been read from the picture memory 101 is input to the motion 20 vector estimation unit 106. At this time, decoded image data Rd corresponding to coded pictures are stored in the picture memory 105 as image data of reference candidate pictures, and a required picture among the reference candidate pictures in the picture memory 105 25 is designated as a reference picture by the picture designation signal CSpd from the motion vector estimation unit 106. The motion vector estimation unit 106 employs image data of the designated reference candidate picture as image data CRd of the reference 30 picture, to perform a process for estimating a motion vector MV for the target macroblock to be coded. Image data of a reference image corresponding to the target N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-1 1doc - 33 macroblock, which is decided by the obtained motion vector MV is inputted to the difference calculator 113 as predictive data Pd for the target macroblock. The difference calculator 113 calculates a 5 difference between the image data SId of the target macroblock and the predictive data Pd to generate prediction residual image data Dd, and then the prediction residual encoder 102 encodes the prediction residual image data Dd and outputs prediction residual 10 coded data Cd. Then, the prediction residual decoder 104 decodes the prediction residual coded data Cd, and outputs prediction residual image data PDd obtained by the decoding, to the adder 114. The adder 114 adds the 15 prediction residual image data PDd from the prediction residual decoder 104 and the predictive data Pd from the motion vector estimation unit 106, and then the image data Rd obtained by the addition is stored in the picture memory 105. 20 The bit stream generator 103 generates a bit stream corresponding to the prediction residual coded data Cd that is outputted from the prediction residual encoder 102, and outputs the generated bit stream together with a code corresponding to the motion vector MV from the 25 motion vector estimation unit 106, a code corresponding to a mode signal Ms from the control unit 110, and a code corresponding to the level signal Lst, as a bit stream Bsa. As shown in figure 14(a), the code H1 corresponding to the level signal Lst is included in the 30 header area Ha of the bit stream Bsa, and the image information that is generated by the coding in units of macroblocks, the code corresponding to the motion N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11.doc - 34 vector, and the code corresponding to the mode signal are included in the sequence data part Dsp, together with the sequence header Sh. The sequence header Sh includes a code corresponding to the information Ipx 5 that indicates the number of vertical pixels (h) and the number of horizontal pixels (2) of the input image. Next, the operation in a case where intra picture prediction coding is selected will be briefly described. In this case, the image data SId outputted from the 10 picture memory 101 is inputted to the prediction residual encoder 102 through the switch 111, and then encoded by the encoder 102 to be inputted to the bit stream generator 103. The bit stream generator 103 generates a bit stream 15 corresponding to the coded data Cd outputted from the encoder 102, and outputs the generated bit stream together with the code corresponding to the mode signal Ms from the control unit 110 and the code corresponding to the level signal Lst, as a bit stream Bsa (see figure 20 14(a)). The prediction residual decoder 104 decodes the coded data Cd outputted from the prediction residual encoder 102, and stores the prediction residual image data PDd obtained by the decoding in the picture memory 25 105 through the adder 114 as it is, as the image data Rd. Next, a specific operation of the coding capability judgment unit 108a in the moving picture coding apparatus 10a will be described with reference to figure 30 2. The coding capability judgment unit 108a in the N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 35 moving picture coding apparatus 10a according to the first embodiment judges the capability of coding for an input image in accordance with following conditional formulae: (formula 1), (formula 2a), (formula 2b), 5 (formula 3a), and (formula 3b). The conditional formulae: (formula 1) , (formula 2a) , and (formula 2b) are defined by Claim 3, and the conditional formulae: (formula 3a) and (formula 3b) are defined by Claim 7. h x w <= Nfpx ... (formula 1) 10 h <= round1(H) ... (formula 2a) w <= round2(W) ... (formula 2b) H = sqrt(hxwxN) ... (formula 3a) W = sqrt(hxwxN) ... (formula 3b) Here, Nfpx designates the maximum intra frame pixel 15 number, h designates the number of vertical pixels in a target picture to be coded, w designates the number of horizontal pixels in the target picture, H designates the maximum number of vertical pixels of an input image, which can be coded by the moving picture coding 20 apparatus 10a, W designates the maximum number of horizontal pixels of an input image, which can be coded by the moving picture coding apparatus 10a, and N designates an arbitrary natural number. Further, round1) is a sign that designates the result of an 25 operation for rounding the value of an argument in parentheses to a multiple of the vertical pixel number in a macroblock, i.e., the unit of coding, round2() is a sign that designates the result of an operation for rounding the value of an argument in parentheses to a 30 multiple of the horizontal pixel number in the macroblock, i.e., the unit of coding, sqrt() is a sign N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 36 that designates the square root of an argument in parentheses. Initially, the coding capability judgment unit 108a performs the operation indicated by (formula 1) on the 5 basis of the vertical pixel number information Ihpx and the horizontal pixel number information Iwps of the input image included in the input image size information Ipx that is outputted from the picture memory 101. More specifically, multiplication for obtaining the product 10 (hxw) of the vertical pixel number (h) and the horizontal pixel number (w) in the input image is carried out by the multiplier 206, and further comparison between the multiplication result (hxw) and the maximum intra frame pixel number (Nfpx) is performed 15 by the first comparator 203 on the basis of a signal Shw indicating the result of the multiplication and the maximum intra frame pixel number information Ifpx. The comparison result signal Scml indicating the result of the comparison is outputted from the first comparator 20 203 to the AND unit 205. Next, in the coding capability judgment unit 108a, the maximum vertical pixel number/maximum horizontal pixel number calculator 201 calculates the maximum number of vertical pixels (H) and the maximum number of 25 horizontal pixels (W) indicated by (formula 3a) and (formula 3b) on the basis of the vertical pixel number information Ihpx and the horizontal pixel number information Iwpx for the input image. Here, (formula 3a) and (formula 3b) show that the 30 maximum vertical pixel number (H) and the maximum horizontal pixel number (W) are both a positive square root of a value that is obtained by multiplying the N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.l\Specis\P50845.AU.1 Specification 2008-2-1l.doc - 37 product of the vertical pixel number (h) and the horizontal pixel number (w) of the input image, by N. For example, when N=8, (formula 3a) suggests that the maximum vertical pixel number (H) is decided so that the 5 ratio between the vertical pixel number and the horizontal pixel number is less than 8:1, and (formula 3b) suggests that the maximum horizontal pixel number (W) is decided so that the ratio between the vertical pixel number and the horizontal pixel number is less 10 than 1:8. The operation result signals Op3a and Op3b indicating the maximum vertical pixel number (H) and the maximum horizontal pixel number (W) which are obtained by the maximum vertical pixel number/maximum horizontal 15 pixel number calculator 201 are inputted to the 16 mulitple converter 202, and the 16-multiple converter 202 rounds the maximum vertical pixel number (H) and the maximum horizontal pixel number (W) to a multiple of 16, respectively, by an operation, such as omission, 20 raising, or half-adjust. The 16-mulitple converter 202 outputs rounding operation information Trnd1 indicating a value, i.e., round1(H) that is obtained by rounding the maximum vertical pixel number (H) to a multiple of 16, and rounding operation information Trnd2 indicating 25 a value (round2(H)) that is obtained by rounding the maximum horizontal pixel number (W) to a multiple of 16, to the second comparator 204. Further, the second comparator 204 performs comparison between the input image vertical pixel number (h) and the maximum vertical 30 pixel number (H) (hereinafter, referred to as vertical pixel number comparison) and comparison between the input image horizontal pixel number (w) and the maximum N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 38 horizontal pixel number (W) (hereinafter, referred to as horizontal pixel number comparison) , on the basis of the pixel number information Ihpx and Iwpx and the rounding operation information Trndl and Trnd2, and outputs the 5 comparison result signal Scm2a indicating the result of the vertical pixel number comparison and the comparison result signal Scm2b indicating the result of the horizontal pixel number comparison to the AND unit 205. In this first embodiment, the rounding operation for 10 the maximum vertical pixel number (H) and the maximum horizontal pixel number (W) by the 16-mulitple converter 202 is a processing of rounding these pixel numbers to multiples of 16. However, the value 111611 in the rounding operation corresponds to the number of pixels 15 that constitute one side of a macroblock as the unit for coding, and thus in a case where the number of pixels that constitute one side of a macroblock is not 16, the rounding operation rounds the maximum vertical pixel number and the maximum horizontal pixel number to 20 multiples of a value corresponding to the number of pixels that constitute one side of a macroblock, which is a value other than 16, is performed. When the rounding operation rounds the maximum vertical pixel number and the maximum horizontal pixel number to 25 multiples of a value corresponding to the number of pixels that constitute one side of a macroblock, i.e., a value other than 16, the number of macroblocks in a frame corresponding to an input image that can be coded, or the number of macroblocks in the horizontal or 30 vertical direction with respect to the frame is uniquely decided, whereby mapping of image data in the picture memory or the like can be performed efficiently. N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 39 Then, the AND unit 205 takes an AND of the comparison result signal Scml outputted from the first comparator 203 and the comparison result signals Scm2a and Scm2b outputted from the second comparator 204, and 5 outputs a signal, i.e., judgment result signal CSjd indicating a final result of the judgment as to coding capability. Next, a specific operation of the maximum reference picture number calculator 109a in the moving picture 10 coding apparatus 10a will be described with reference to figure 3. The maximum reference picture number calculator 109a in the moving picture coding apparatus 10a according to the first embodiment calculates the maximum number of 15 reference candidate pictures to be employed at inter picture prediction coding on the basis of an operation shown by following (formula 4). Here, (formula 4) is defined by Claim 5. Nrpn = Nspx+(hxw)-1 ... (formula 4) 20 Here, h denotes the number of vertical pixels in an input image, i.e., target picture to be coded, and w denotes the number of horizontal pixels in the input image, i.e., target picture to be coded. Nrpn denotes the maximum number of reference pictures, and Nspx 25 denotes the maximum number of storage pixels. In this first embodiment, the maximum storage pixel number Nspx is the maximum value for the total numbers of pixels in reference pictures and a target picture to be decoded, whose image data are stored in a picture memory of a 30 moving picture decoding apparatus that decodes the bit stream Bsa outputted from the moving picture coding N:\Melbourne\Casos\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 40 apparatus 10a. The maximum reference picture number calculator 109a calculates the total number of pixels (hxw) in one frame, as the size of the input image, on the basis of 5 the input image vertical pixel number information Ihpx and the input image horizontal pixel number information Iwpx. That is, the multiplier 401 multiplies the number of vertical pixels in the input image(h), which is indicated by the input image vertical pixel number 10 information Ihpx, by the number of horizontal pixels (w) indicated by the input image horizontal pixel number information Iwpx, and outputs an operation output Ohw indicating the multiplication result (hxw). Further, the divider 402 divides the maximum storage is pixel number (Nspx) by the multiplication result (hxw) on the basis of the operation output Ohw from the multiplier 401 and the maximum storage pixel number information Ispx from the level analyzer 100a, and outputs an operation output signal Dpm indicating the 20 result of division (Nspx/(hxw)). The subtractor 403 subtracts 1 from the division result (Nspx/(hxw)) on the basis of the operation output signal Dpn from the divider 402 and the numeric value information Sni from the constant storage unit 404, and 25 outputs a subtraction output signal Sdl indicating the result of subtraction (Nspx/(hxw)-1). The reason why the subtractor 403 subtracts 1 from the division result (Nspx/(hxw)) is that decoded image data of a picture to be decoded must be stored in a 30 picture memory of the decoding apparatus, in addition to the image data of reference candidate pictures which are N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. I \Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 41 employed at the inter picture prediction coding in the decoding apparatus. As described above, the moving picture coding apparatus 10a according to the first embodiment includes 5 the level analyzer 100a that decides the maximum number of intra frame pixels (Nfpx) which can be coded and the maximum number of storage pixels (Nspx) which can be stored in the picture memory of the decoding apparatus, on the basis of the level signal Lst indicating a coding 10 level that is designated by the user, thereby judging whether the input image is encodable or not, on the basis of the maximum intra frame pixel number (Nfpx) and the input image size, i.e., the vertical pixel number Nhpx and the horizontal pixel number Nwpx, and 15 calculating the number of reference candidate pictures , i.e., reference picture maximum number Nrpn which can be referred to at the inter picture prediction coding. Therefore, a decoding apparatus to which a bit stream from the moving picture coding apparatus 10a is supplied 20 can always decode the bit stream satisfactorily, thereby performing inter picture prediction decoding corresponding to the inter picture prediction coding on the coding end. Accordingly, it is possible to design the memory areas in the coding apparatus as well as in 25 the decoding apparatus which are compliant with a coding method which has no restraint on the capacity of the memory area. In this first embodiment, as a table that defines the correspondence between the plural coding levels, 30 i.e., values of the level identifier, and the maximum intra frame pixel number and the maximum storage pixel number, the table T1 in which the coding levels, i.e., N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU.1 Specification 2008-2-1 .doc - 42 values of the level identifier are correlated with pairs of the maximum intra frame pixel number and the maximum storage pixel number (see figure 15) is employed. However, a table Tia in which values of the level 5 identifier are correlated with the maximum intra frame pixel numbers (figure 16(a)) and a table Tib in which values of the level identifier are correlated with the maximum storage pixel numbers (figure 16(b)) may be employed. 10 Further, in this first embodiment, the decision of the coding level, i.e., value of the level identifier by the user is performed with reference to the Table T1 shown in figure 15, while the decision of the coding level by the user may be performed by utilizing 15 following (formula 5), in place of the table T1 shown in figure 15. (Level identifier value) = transA (maximum intra frame pixel number, maximum storage pixel number) ... (formula 5) 20 Here, transA() is a sign that indicates an operation of giving a value of the level identifier, using the maximum intra frame pixel number and the maximum storage pixel number as arguments. According to (formula 5), when the user designates the maximum intra frame pixel 25 number and the maximum storage pixel number of the input image to be coded by the moving picture coding apparatus 10a, the corresponding value of the level identifier is decided. Further, following (formula 6a) and (formula 6b) may 30 be employed in place of the table Tia indicating the correspondence between the level identifier value and N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 43 the maximum intra frame pixel number (figure 16(a)) and the table Tib indicating the correspondence between the level identifier value and the maximum storage pixel number (figure 16(b)). 5 (Level identifier value) = transAa (the maximum intra frame pixel number) ... (formula 6a) (Level identifier value) = transAb (the maximum storage pixel number) ... (formula 6b) 10 Here, transAa () is a sign indicating an operation for giving a value of the level identifier, using the maximum intra frame pixel number as an argument. According to (formula 6a), when the user designates the maximum intra frame pixel number of the input image is which can be coded by the moving picture coding apparatus, the corresponding value of the level identifier is decided. Further, transAb () is a sign indicating an operation for giving a value of the level identifier, 20 using the maximum storage pixel number as an argument. According to (formula 6b), when the user designates the maximum storage pixel number of the input image which can be coded by the moving picture coding apparatus, the corresponding value of the level identifier is decided. 25 According to the moving picture coding apparatus of the first embodiment, the maximum storage pixel number is a total number of pixels in pictures, corresponding to the highest amount of image data that can be stored in the picture memory of the decoding 30 apparatus to which a bit stream is supplied. However, in place of the maximum storage pixel number, the memory N:\MeIbourne\Cases\Patent\50000-50999\P50845.AU. I \Specis\P50845.AU. I Specification 2008-2- 11 .doc - 44 capacity itself, which is required by the picture memory of the decoding apparatus may be employed. In this first embodiment, the maximum storage pixel number Nspx is the maximum value of the total 5 number of pixels in all storage pictures whose image data are stored in the picture memory of the moving picture decoding apparatus that decodes a bit stream that is obtained from the moving picture coding apparatus 10a. The description has been given, taking 10 the case where the reference pictures and the target picture to be decoded are the storage pictures as an example, but the maximum storage pixel number may be defined not to include the number of pixels in the target picture to be decoded. is In this case, following (formula 7a) is employed in place of above (formula 4). Nrpn = Nspx (hxw) ... (formula 7a) Here, h denotes the number of vertical pixels in a 20 target picture to be coded, w denotes the number of horizontal pixels in the target picture, Nrpn denotes the maximum number of reference pictures, and Nspx denotes the maximum number of stored pixels. In the maximum reference picture number calculator 25 109a shown in figure 3, the maximum reference picture number is decided without executing the process of subtracting 1 from the division result (Nspx/(hxw)). [Embodiment 2] Figure 4 is a block diagram for explaining a 30 moving picture coding apparatus 10b according to a second embodiment of the present invention. N:\Melbourno\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 45 The moving picture coding apparatus 10b according to the second embodiment has, in place of the level analyzer 100a and the coding capability judgment unit 108a of the moving picture coding apparatus 10a of the 5 first embodiment, a level analyzer 100b that outputs pixel number calculation coefficient information apx, as well as the maximum intra frame pixel number Ifpx and the maximum storage pixel number information Ispx, on the basis of the level signal Lst and an identification 10 number signal Cid which are inputted; and a coding capability judgment unit 108b that judges whether the input image is encodable or not on the basis of the maximum intra frame pixel number information Ifpx, the pixel number calculation coefficient information apx, 15 and the input image size information Ipx. Here, the identification number Cid indicates a value of the identification number decided under the control by the user, and this identification number is employed to identify a specific value of the pixel number 20 calculation coefficient as an additional coding condition. The level analyzer 100b includes information of the table T1 shown in figure 15 and a table T2 shown in figure 17 (a) . The table Tb shows correspondence between the value of the level identifier, and the 25 maximum intra frame pixel number and the maximum storage pixel number. The table T2 shows correspondence between the value of the identification number, and the vertical pixel number calculation coefficient (Nahpx) and the horizontal pixel detection coefficient (Nawpx). 30 Further, pixel number calculation coefficient information apx is composed of information indicating the vertical pixel number calculation coefficient (Nahpx) (hereinafter, referred to as vertical pixel N:\Melbourne\Cascs\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-1 l.doc - 46 number calculation coefficient information) ahpx and information indicating the horizontal pixel number calculation coefficient (Nawps) (hereinafter, referred to as horizontal pixel number calculation coefficient 5 information) awpx. The bit stream generator 103 of the moving picture coding apparatus 10b subjects output data, i.e., coded data Cd from the prediction residual coding unit 102 to variable length coding, and outputs a bit stream Bsb that is obtained by adding codes 10 corresponding to the motion vector MV, the mode signal Ms, the level signal Lst, and the identification number signal Cid, to the bit stream obtained by the variable length coding. The constructions of the components other than the 15 moving picture coding apparatus lob according to the second embodiment are the same as those of the moving picture coding apparatus 10a according to the first embodiment. Figure 14(b) shows a data structure of a bit 20 stream Bsb corresponding to an input image. The bit stream Bsb is composed of a header area Hb that contains various kinds of header information, and a sequence data part Dsq that contains coded data, i.e., bit stream corresponding to image data of each picture. 25 In the header area Hb of the bit stream Bsb, a code Hl corresponding to a signal of the level identifier, i.e., level signal Lst and a code H2 corresponding to the identification number signal Cid are included as the header information. Further, in the 30 sequence data part Dsq of the bit stream Bsb, a sequence header Sh indicating the size of the input image, i.e., N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 47 the input image vertical pixel number (h) and the input image horizontal pixel number (w) is included. To be more specific, the code H2 is obtained by coding the identification number signal Cid that indicates the 5 value of the identification number for identifying the vertical pixel number calculation coefficient (Nahpx) and the horizontal pixel number calculation coefficient (Nawpx), as shown in figure 17(a). Figure 5 is a diagram illustrating a specific 10 construction of the coding capability judgment unit 108b. This coding capability judgment unit 108b has, in place of the maximum vertical pixel number/maximum horizontal pixel number calculator 201 of the coding 15 capability judgment unit 108a according to the first embodiment, a calculator, i.e., maximum vertical pixel number/maximum horizontal pixel number calculator 301 that calculates the maximum number of vertical pixels (H) and the maximum number of horizontal pixels (W) 20 which can be processed, on the basis of the maximum intra frame pixel number information Ifpx, the vertical pixel number calculation coefficient information ahpx, and the horizontal pixel number calculation coefficient information aiwpx, and outputs information Op3a and Op3b 25 indicating the calculation results. Therefore, the multiplier 306, the first comparator 303, the second comparator 304, the 16-mulitple converter 302, and the AND unit 305 in the coding capability judgment unit 108b are the same as the multiplier 208, the first comparator 30 203, the second comparator 204, the 16-mulitple converter 202, and the AND unit 205 in the coding capability judgment unit 108a according to the first N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 48 embodiment. Next, the operation will be described. The operation of the moving picture coding apparatus 10b according to the second embodiment is 5 different from that of the moving picture coding apparatus 10a according to the first embodiment only in the operations of the level analyzer 100b, the coding capability judgment unit 108b, and the bit stream generator 103. 10 Thus, the operations of the level analyzer 100b, the coding capability judgment unit 108b, and the bit stream generator 103 will be mainly described hereinafter. For the moving picture coding apparatus 10b of the 15 second embodiment, before the coding for an input image is performed, a required level is selected from among plural preset coding levels which are employed as coding conditions, on the basis of the construction of the memory and the like in the moving picture coding 20 apparatus 10b, and the construction of a memory and the like in a moving picture decoding apparatus to which coded data are to be supplied, and further a required level of plural identification numbers, which are employed as additional coding conditions is selected. 25 More specifically, the selection of the coding level is performed by the user with referring to the table T1, and the level signal Lst indicating the level identifier corresponding to the selected level is inputted to the moving picture coding apparatus 10b by the user 30 operation. Further, the selection of the level of the identification number is performed by the user with N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 49 referring to the table T2, and the identification number signal Cid indicating the identification number corresponding to the selected level is inputted to the moving picture coding apparatus 10b by the user 5 operation. Here, the coding level, the maximum intra frame pixel number, and the maximum storage pixel number are the same as those in the first embodiment. The table T2 shown in figure 17(a) sets four levels of the 10 identification number, and the respective levels of the identification number correspond to values (l)~(4) of the identification numbers, respectively. The values (l)-(4) of the identification number are correlated with specific values of the vertical pixel number calculation 15 coefficient (Nahpx), and specific values of the horizontal pixel number calculation coefficient (Nawpx), respectively. According to the moving picture coding apparatus 10b, when the level signal Lst and the identification 20 number signal Cid which are inputted under the control by the user are supplied to the level analyzer 100b, the level analyzer 100b refers to table T1 (figure 15) and table T2 (figure 17(a)) which are held therein, to output the maximum intra frame pixel number information 25 Ifpx and the maximum storage pixel number information Ispx corresponding to the coding level indicated by the level signal Lst, which has been selected by the user, and further output the pixel number calculation coefficient information apx corresponding to the level 30 of the identification number indicated by the identification number signal Cid, which has been selected by the user. The maximum intra frame pixel N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. I \Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 50 number information Ifpx and the pixel number calculation coefficient information apx is inputted to the coding capability judgment unit 108b, and the maximum storage pixel number information Ispx is inputted to the maximum 5 reference picture number calculator 109a. When image data Id of a moving picture (input image) is inputted to the picture memory 101 in units of pictures in the display order, image data corresponding to each picture is successively stored in the picture 10 memory 101, and the stored image data SId is outputted from the picture memory 101 in units of blocks, i.e., macroblocks that constitute the picture in the order of coding. At this time, information indicating the size of the input image, i.e., input image size information 15 Ipx is outputted from the picture memory 101 and inputted to the coding capability judgment unit 108b and the maximum reference picture number calculator 109a. Then, the coding capability judgment unit 108b judges whether the input image is encodable or not on 20 the basis of the input image size information Ipx from the picture memory 101, and the maximum intra frame pixel number information Ifpx and the pixel number calculation coefficient information apx from the level analyzer 100b, and outputs a signal indicating the 25 judgment result, i.e., judgment result signal CSjd to the control unit 110. When the judgment result signal CSjd indicates that the input image is encodable, the control unit 110 switches between a mode for performing inter picture 30 prediction coding for image data and a mode for performing intra picture prediction coding for image data, on the basis of the image data SId from the N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU. 1 Specification 2008-2-11.doc - 51 picture memory 101, and outputs control signals for respective units. The respective units of the moving picture coding apparatus 10b are controlled in accordance with the control signals Sctl, Sct2, 5 Sctn corresponding to the judgment result signal CSjd, from the control unit 110, like in the first embodiment. The maximum reference picture number calculator 109a calculates the maximum number of reference pictures (Nrpn) on the basis of the maximum storage pixel number 10 information Ispx, and the input image vertical pixel number information Ihpx and horizontal pixel number information Iwpx, and outputs information, i.e., reference picture maximum number information Irpn indicating the calculated number (Nrpn). 15 In this second embodiment, when the inter picture prediction coding mode is selected, the inter picture prediction coding for the input image is performed in the same manner as in the first embodiment, and when the intra picture prediction coding is selected, the intra 20 picture prediction coding for the input image is performed in the same manner as in the first embodiment. In this second embodiment, however, when the inter picture prediction coding mode is selected, the bit stream generator 103 generates a bit stream 25 corresponding to prediction residual coded data Cd that is outputted from the prediction residual encoder 102, and outputs the generated bit stream together with a code corresponding to the motion vector MV from the motion vector estimation unit 106, a code corresponding 30 to the mode signal Ms from the control unit 110, a code corresponding to the level signal Lst, and a code corresponding to the identification number signal Cid, N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 52 as a bit stream Bsb (see figure 14 (b)) When the intra picture prediction coding mode is selected, the bit stream generator 103 generates a bit stream corresponding to coded data Cd that is outputted from 5 the encoder 102, and outputs the generated bit stream together with the code corresponding to the mode signal Ms from the control unit 110, the code corresponding to the level signal Lst, and the code corresponding to the identification number signal Cid, as a bit stream Bsb 10 (see figure 14(b)). Next, a specific operation of the coding capability judgment unit 108b of the moving picture coding apparatus 10b will be described with reference to figure 5. 15 In the coding capability judgment unit 108b of the moving picture coding apparatus 10b according to the second embodiment, the capability of the coding for an input image is judged on the basis of the following conditional formulae (formula 1), (formula 2a), (formula 20 2b), (formula 8a), and (formula 8b). The conditional formulae (formula 1) , (formula 2a) , and (formula 2b) are defined by Claim 3, and the conditional formulae (formula 8a) and (formula 8b) are defined by Claim 9. H = Nfpx + Nahpx ... (formula 8a) 25 W = Nfpx Nawpx ... (formula 8b) Here, Nfpx denotes the maximum number of intra frame pixels, H denotes the maximum number of vertical pixels in an input image, which can be coded by the moving picture coding apparatus 10b, and W denotes the 30 maximum number of horizontal pixels in the input image, which can be coded by the moving picture coding N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. I Specification 2008-2- 11 .doc - 53 apparatus 10b. Nahpx denotes a vertical pixel number calculation coefficient, and Nawpx denotes a horizontal pixel number calculation coefficient. Initially, like the coding capability judgment s unit 108a according to the first embodiment, the coding capability judgment unit 108b performs the operation indicated by (formula 1) on the basis of the input image vertical pixel number information Ihpx and horizontal pixel number information Iwpx included in the input 10 image size information Ipx, which is outputted from the picture memory 101. More specifically, multiplication for obtaining the product (hxw) of the number of vertical pixels (h) and the number of horizontal pixels (w) in the input image is carried out by the multiplier 15 306, and comparison between the multiplication result (hxw) and the maximum intra frame pixel number (Nfpx) is carried out by the first comparator 303. The first comparator 303 outputs a comparison result signal Scm1 indicating the result of comparison to the AND unit 305. 20 Then, in the coding capability judgment unit 108b, the maximum vertical pixel number/maximum horizontal pixel number calculator 301 calculates the maximum number of vertical pixels (H) indicated by (formula 8a) and the maximum number of horizontal pixels indicated 25 by (formula 8b) on the basis of the maximum intra frame pixel number information Ifpx, the vertical pixel number calculation coefficient information ahpx, and the horizontal pixel number calculation coefficient information awps. 30 Here, (formula 8a) and (formula 8b) indicate that the maximum vertical pixel number (H) and the maximum horizontal pixel number (W) are obtained by dividing the N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 54 maximum intra frame pixel number (Nfpx) by the vertical pixel number calculation coefficient (Nahpx) and the horizontal pixel number calculation coefficient (Nawpx), respectively. 5 The operation result signals Op3a and Op3b indicating the maximum vertical pixel number (H) and the maximum horizontal pixel number (W) which are obtained by the maximum vertical pixel number/maximum horizontal pixel number calculator 301 are inputted to the 16 10 mulitple converter 302, and the 16-mulitple converter 302 performs a rounding process for the maximum vertical pixel number (H) and the maximum horizontal pixel number (W), in the same manner as in the 16-mulitple converter 202 according to the first embodiment. Then, the 16 15 mulitple converter 302 outputs rounding operation information Trndl indicating a value roundi (H)) that is obtained by rounding the maximum vertical pixel number (H) to a multiple of 16, and rounding operation information Trnd2 indicating a value (round2(H)) that is 20 obtained by rounding the maximum horizontal pixel number (W) to a multiple of 16, to the second comparator 304. Further, the second comparator 304 performs comparison between the input image vertical pixel number (h) and the maximum vertical pixel number (H) (vertical 25 pixel number comparison) and comparison between the input image horizontal pixel number (w) and the maximum horizontal pixel number (W) (horizontal pixel number comparison) , on the basis of the pixel number information Ihpx and Iwpx, and the rounding operation 30 information Trndl and Trnd2, and outputs a comparison result signal Scm2a indicating the result of the vertical pixel number comparison, and a comparison N:\Melbournc\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.I Specification 2008-2-11.doc - 55 result signal Scm2b indicating the result of the horizontal pixel number comparison, to the AND unit 305. Then, the AND unit 305 takes an AND of the comparison result signals Scml, Scm2, and Scm2b which 5 are outputted from the comparators 303 and 304, and outputs a signal CSjd indicating the final result of the judgement as to the coding capability/incapability. As described above, the moving picture coding apparatus 10b of the second embodiment includes the 10 level analyzer 100b that decides the maximum number of intra frame pixels (Nfpx) which can be coded and the maximum number of storage pixels (Nspx) which can be stored in a picture memory of a decoding apparatus in accordance with the level signal (signal of the level 15 identifier) Lst that is inputted by the user operation, and further decides the pixel detection coefficient information apx indicating the vertical pixel number calculation coefficient (Nahpx) and the horizontal pixel number calculation coefficient (Nawpx) on the basis of 20 the identification number signal Cid that is inputted by the user operation, thereby judging whether coding of an input image is possible or not, and calculating the number of reference candidate pictures which can be referred to at the inter picture prediction coding 25 (reference picture maximum number) Nrpn, on the basis of the maximum intra frame pixel number (Nfpx) , the vertical pixel number calculation coefficient (Nahpx), the horizontal pixel number calculation coefficient (Nawpx), and the input image size (the number of 30 vertical pixels (h) and the number of horizontal pixels (w)). Therefore, a decoding apparatus to which a bit stream from the moving picture coding apparatus 10b is N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.I\Specis\P50845.AU.1 Specification 2008-2-1l.doc - 56 to be supplied always can decode the bit stream satisfactorily, whereby picture prediction decoding depending on the picture prediction coding on the coding end can be performed. Thereby, it is possible to design 5 memory areas in the coding apparatus and the decoding apparatus corresponding to a coding method in which there is no restraint on the capacity of the memory area. Further, in this second embodiment, the maximum 10 number of vertical pixels (H) and the maximum number of horizontal pixels (W) are obtained by dividing the maximum intra frame pixel number (Nfpx) by the vertical pixel number calculation coefficient (Nahpx) and the horizontal pixel number calculation coefficient (Nawpx), 15 respectively. Therefore, the processes for obtaining the maximum vertical pixel number (H) and the maximum horizontal pixel number (W) are facilitated as compared to the first embodiment. In this second embodiment, the level identifier 20 corresponding to the maximum intra frame pixel number (Nfpx) and the maximum storage pixel number (Nspx) , and the identification number corresponding to the vertical pixel number calculation coefficient (Nahpx) and the horizontal pixel number calculation coefficient (Ncwpx) 25 are parameters indicating independent coding conditions, respectively, while the identification number may be correlated with the value of the level identifier. In this case, when the coding level is decided, specific numeric values of the vertical pixel number 30 calculation coefficient (Nahpx) and the horizontal pixel number calculation coefficient (Nawpx) as well as specific numeric values of the maximum intra frame pixel N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 57 number (Nfpx) and the maximum storage pixel number (Nspx) are decided on the basis of the value of the level identifier that indicates the decided level. More specifically, when the level signal Lst indicating the 5 coding level that is decided by the user is inputted to the level analyzer 100b, the level analyzer 100b outputs the information Ifps and Ispx indicating the maximum intra frame pixel number (Nfpx) and the maximum storage pixel number (Nspx) according to the level signal (level 10 identifier) Lst, and further outputs pixel number calculation coefficient information apx on the basis of the identification number signal corresponding to the level identifier. Further, the bit stream Bsb contains only the code H1 corresponding to the level signal Lst, is and thus the code H2 corresponding to the identification number signal Cid is not transmitted to the decoding end. In this second embodiment, the moving picture coding apparatus transmits the code Hi of the level 20 signal Lst corresponding to the maximum intra frame pixel number (Nfpx) and the maximum storage pixel number (Nspx), which has been selected by the user, and the code H2 of the identification number signal Cid corresponding to the vertical pixel number calculation 25 coefficient (Nahpx) and the horizontal pixel number calculation coefficient (Nawpx), which has been selected by the user, to the decoding end. However, the moving picture coding apparatus may encode the pixel number calculation coefficient information apx indicating 30 arbitrary vertical pixel number calculation coefficient (Nahpx) and horizontal pixel number calculation coefficient (Nawpx) which are decided by the user, and N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11 .doc - 58 output the encoded pixel number calculation coefficient information apx to the decoding end, in place of the code H2 of the identification number signal Cid. In this case, the maximum intra frame pixel number 5 (Nfpx) and the maximum storage pixel number (Nspx) are set at specific values corresponding to the level identifier that indicates the selected coding level on the basis of the Table T1, while specific values of the vertical pixel number calculation coefficient (Nahpx) 10 and the horizontal pixel number calculation coefficient (Nawpx) are arbitrarily set by the user. That is, when the level signal Lst indicating the decided coding level is inputted to the level analyzer 100b under the control of the user, the level analyzer 100b outputs the 15 information Ifpx indicating the maximum intra frame pixel number (Nfpx) that is decided on the basis of the table T1 in accordance with the level signal Lst, to the coding capability judgment unit 108b, and outputs the information Ispx indicating the maximum storage pixel 20 number (Nspx) that is decided on the basis of the table T1, to the maximum reference picture calculator 109a. The bit stream Bsb contains the code Hl corresponding to the level signal Lst and the code corresponding to the pixel number calculation coefficient information apx, 25 and accordingly the code H1 corresponding to the level signal Lst and the code corresponding to the pixel number calculation coefficient information apx are transmitted to the decoding end. Further, in this second embodiment, the table T2 30 in which plural identification numbers are correlated with pairs of the vertical pixel number calculation coefficient and the vertical pixel number calculation N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. I Specification 2008-2-11.doc - 59 coefficient (figure 17(a)) is employed as the table that defines the correspondence between plural identification numbers, and the vertical pixel number calculation coefficient and vertical pixel number calculation 5 coefficient. However, in place of the table T2, a table T2a in which the values of the identification number are correlated with the vertical pixel number calculation coefficients (figure 17(b) and a table T2b in which the values of the identification number are correlated with 10 the horizontal pixel number calculation coefficients (figure 17(c)) may be employed. Further, in this second embodiment, the decision of the identification number by the user is performed with referring to the table T2 as shown in figure 17(a), 15 while the decision of the identification number by the user may be performed using a following (formula 9), in place of the table T2 shown in figure 17(a). (Identification number) = transB (vertical pixel number 20 calculation coefficient, horizontal pixel number calculation coefficient) ...(formula 9) Here, trans BO is a sign indicating an operation 25 for obtaining the value of the identification number, using the vertical pixel number calculation coefficient and the horizontal pixel number calculation coefficient as arguments. Further, in place of the table T2a that defines 30 the correspondence between the values of the identification number and the vertical pixel number N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-1 1doc - 60 calculation coefficients (figure 17(b)) and the table T2b that defines the correspondence between the values of the identification number and the horizontal pixel number calculation coefficients (figure 17(c)), 5 following (formula 9a) and (formula 9b) may be employed. (Value of the identification number) = transBa (vertical pixel number calculation coefficient) ... (formula 9a) 10 (Value of the identification number) = transBb (horizontal pixel number calculation coefficient) . .. (formula 9b) Here, transBa () is a sign that indicates an 15 operation for obtaining a value of the identification number, using the vertical pixel number calculation coefficient as an argument. According to the (formula 9a) , when the user designates the vertical pixel number calculation coefficient for the input image that can be 20 coded by the moving picture coding apparatus, the corresponding value of the identification identifier is decided. Further, transBb () is a sign that indicating an operation for obtaining a value of the identification 25 number, using the horizontal pixel number calculation coefficient as an argument. According to the (formula 9b), when the user designates the horizontal pixel number calculation coefficient for the input image that can be coded by the moving picture coding apparatus, the 30 corresponding value of the identification number is decided. N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. I Specification 2008-2- 11doc - 61 In the above first embodiment, the maximum number of vertical pixels (H) and the maximum number of horizontal pixels (W) are obtained by the (formula 1) , (formula 2a), (formula 2b), (formula 3a), and (formula 5 3b), while in this second embodiment, the maximum number of vertical pixels (H) and the maximum number of horizontal pixels (W) are obtained by the (formula 1), (formula 2a) , (formula 2b), (formula 8a), and (formula 8b). However, the method for obtaining the maximum 10 vertical pixel number (H) and the maximum horizontal pixel number (W) are not limited to those described in the first and second embodiments. [Embodiment 3] Figure 6 is a block diagram for explaining a 15 moving picture coding apparatus 10c according to a third embodiment of the present invention. The moving picture coding apparatus 10c of the third embodiment has, in place of the level analyzer 100a and the coding capability judgment unit 108a of the 20 moving picture coding apparatus 10a according to the first embodiment, a level analyzer 100c that outputs information indicating the maximum image size (maximum image size information) Impx together with the maximum intra frame pixel number information Ifpx and the 25 maximum storage pixel number information Ispx, in accordance with the inputted level signal Lst and identification number signal Sid, and a coding capability judgment unit 108c that judges whether coding of the input image is possible or not on the basis of 30 the maximum intra frame pixel number information Ifpx, the maximum image size information Impx, and the input image size information Ipx. N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.I\Specis\P50845.AU.1 Specification 2008-2-11.doc - 62 Here, the identification number signal Sid indicates a value of the identification number decided by the user's operation, and the identification number identifies a specific value of the maximum image size as 5 an additional coding condition. The level analyzer 100c includes the information of the table T1 shown in figure 15, and information of a table T3 shown in figure 18(a). The table Ti defines correspondence between the value of the identification number, and the maximum intra frame 10 pixel number and the maximum storage pixel number. The table T3 shows correspondence between the value of the identification number, and the maximum vertical pixel number (H) and horizontal pixel maximum number (W). Further, the maximum image size information Impx is 15 composed of information indicating the maximum number (H) of vertical pixels (vertical pixel maximum number information) Imhpx, and information indicating the maximum number (W) of horizontal pixels (horizontal pixel maximum number information) Imwpx. The bit stream 20 generator 103 of the moving picture coding apparatus 10c variable-length-codes the output data (coded data) Cd from the prediction residual encoder 102, and outputs a bit stream Bsc that is obtained by adding codes corresponding to the motion vector MV, the mode signal 25 Ms, the level signal Lst, and the identification number signal Sid, to a bit stream obtained by the variable length coding. Constructions of the other components of the moving picture coding apparatus 10c according to the 30 third embodiment are the same as those of the moving picture coding apparatus 10a of the first embodiment. Figure 14(c) shows a data structure of the bit N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.l\Specis\P50845.AU.1 Specification 2008-2-11.doc - 63 stream Bsc corresponding to an input image. The bit stream Bsc is composed of a header area Hc that contains various kinds of header information, and a sequence data part Dsq that contains coded data (a bit 5 stream) corresponding to image data of each picture. In the header area Hc of the bit stream Bsc, a code Hi corresponding to the level identifier and a code H3 corresponding to the identification number signal Sid are included as header information. Further, in the 10 sequence data part Dsq of the bit stream Bsc, a sequence header Sh indicating the size of the input image, i.e., the input image vertical pixel number and the input image horizontal pixel number are included. More specifically, the code H3 is obtained by encoding the 15 identification number signal Sid that indicates a value of the identification number for identifying the maximum vertical pixel number and the maximum horizontal pixel number as shown in figure 18(a). Figure 7 is a diagram illustrating a specific 20 construction of the coding capability judgment unit 108c. The coding capability judgment unit 108c is constituted only by the multiplier 206, the first comparator 203, the second comparator 204, and the AND 25 unit 205 of the coding capability judgment unit 108a according to the first embodiment. In place of the outputs Trndl and Trnd2 from the 16-mulitple converter 202 in the coding capability judgment unit 108a according to the first embodiment, the maximum vertical 30 pixel number information Imhpx indicating the maximum number of vertical pixels (H) and the maximum horizontal N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. I \Specis\P50845.AU. 1 Specification 2008-2-Il .doc - 64 pixel number information Imwpx indicating the maximum number of horizontal pixels (W) is inputted from the level analyzer 100c to the second comparator 204 as information indicating the maximum image size (maximum 5 image size information) Impx. Next, the operation will be described. The operation of the moving picture coding apparatus 10c according to the third embodiment is different from the operation of the moving picture 10 coding apparatus 10a of the first embodiment only in the operations of the level analyzer 100c, the coding capability judgment unit 108c, and the bit stream generator 103. For the moving picture coding apparatus 10c 15 according to the third embodiment, before the coding of an input image is performed, a required level is selected from plural preset coding levels to be employ as coding conditions, on the basis of the constructions of the memory or the like in the moving picture coding 20 apparatus 10c, and a construction of a memory or the like in the moving picture decoding apparatus to which coded data are supplied, and further a predetermined level is selected from among plural levels of the identification number, which are employed as additional 25 coding conditions. To be more specific, the selection of the coding level is performed by the user with referring to the table T1, and the level signal (level identifier) Lst indicating the selected level is inputted to the moving picture coding apparatus 10c 30 under the control of the user. The selection of the level of the identification number is performed by the user with referring to the table T3, and the N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. I Specification 2008-2-11.doc - 65 identification number signal Sid indicating the identification number corresponding to the selected level is inputted to the moving picture coding apparatus 10c under the control of the user. 5 Here, the coding level, the maximum intra frame pixel number, and the maximum storage pixel number are identical to those of the first embodiment. In addition, the table T3 shown in figure 18(a) defines four levels of the identification number, and these 10 levels of the identification number correspond to values (l)-(4) of the identification number, respectively. The values (1)-(4) of the identification number are correlated with specific values of the maximum vertical pixel number (H) and the maximum horizontal pixel number 15 (W) , respectively. In the moving picture coding apparatus 10c, when the level signal Lst and the identification number signal Cid which are inputted by the user' operation are supplied to the level analyzer 100c, the level analyzer 20 100c refers to the table T1 (figure 15) and the table T3 (figure 18(a)) which are held therein, and outputs the maximum intra frame pixel number information Ifpx and the maximum storage pixel number information Ispx corresponding to the coding level indicated by the level 25 signal Lst, which has been selected by the user, and further outputs the maximum image size information Imps corresponding to the level of the identification number indicated by the identification number signal Cid, which has been selected by the user. The maximum intra frame 30 pixel number information Ifpx and the maximum image size information Impx is inputted to the coding capability judgment unit 108c, and the maximum storage pixel number N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.I\Specis\P50845.AU.I Specification 2008-2-1l.doc - 66 information Ispx is inputted to the maximum reference picture calculator 109a. Then, when image data Id of a moving picture (input image) is inputted to the picture memory 101 in 5 units of pictures in the display order, image data corresponding to each picture are successively stored in the picture memory 101, and the stored image data SId are outputted from the picture memory 101 in units of blocks (macroblocks) that constitute the picture in the 10 coding order. At this time, information indicating the size of the input data (input image size information) Ipx is outputted from the picture memory 101 to the coding capability judgment unit 108c and the maximum reference picture calculator 109a. 15 Then, the coding capability judgment unit 108c judges whether coding of the input image is possible or not, on the basis of the input image size information Ipx outputted from the picture memory 101, and the maximum intra frame pixel number information Ifpx and 20 the maximum image size information Impx outputted from the level analyzer 100c, and outputs a signal indicating the judgement result (judgement result signal) CSjd to the control unit 110. When the judgement result signal CSjd indicates 25 that the coding of the input image is possible, the control unit 110 performs switching between a mode of performing inter picture prediction coding for image data and a mode of performing intra picture prediction coding for image data, on the basis of the image data 30 SId from the picture memory 101, and outputs control signals for the respective components. The respective components of the moving picture coding apparatus 10c N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.I Specification 2008-2-11.doc - 67 are controlled in accordance with control signals Sctl, Sct2, ... , Sctn from the control unit 110 according to the judgement result signal CSjd, like in the first embodiment. 5 Further, the maximum reference picture calculator 109a calculates the maximum number of reference pictures (Nrpn) on the basis of the maximum storage pixel number information Ispx, the input image vertical pixel number information Ihpx, and the input image horizontal pixel 10 number information Iwpx, and outputs information indicating the calculated number (Nrpn) (reference picture maximum number information) Irpn. In this third embodiment, when the inter picture prediction coding mode is selected, the inter picture 15 prediction coding for the input image is performed in the same manner as the first embodiment, while when the intra picture prediction coding is selected, the intra picture prediction coding for the input image is performed in the same manner as the first embodiment. 20 In the third embodiment, however, when the inter picture prediction coding mode is selected, the bit stream generator 103 generates a bit stream corresponding to prediction residual coded data Cd that is outputted from the prediction residual encoder 102, 25 and outputs the generated bit stream together with a code corresponding to the motion vector MV from the motion vector estimation unit 106, a code corresponding to the mode signal Ms from the control unit 110, a code corresponding to the level signal Lst, and a code 30 corresponding to the identification number signal Sid, as a bit stream Bsc (see figure 14 (c)). When the intra picture prediction coding mode is selected, the bit N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. I\Specis\P50845.AU. I Specification 2008-2-11 .doc - 68 stream generator 103 generates a bit stream corresponding to the coded data Cd that is outputted from the encoder 102, and outputs the generated bit stream together with a code corresponding to the mode 5 signal Ms from the control unit 110, a code corresponding to the level signal Lst, and a code corresponding to the identification number signal Sid, as a bit stream Bsc (see figure 14(c)). Next, a specific operation of the coding 10 capability judgment unit 108c in the moving picture coding apparatus 10c will be described with reference to figure 7. The coding capability judgment unit 108c of the moving picture coding apparatus 10c according to the 15 third embodiment judges whether coding of an input image is possible or not, on the basis of the above-mentioned conditional formulas (formula 1), (formula 2a), and (formula 2b) . In other words, the maximum number of vertical pixels (H) and the maximum number of horizontal 20 pixels (W) are obtained on the basis of the (formula 1), (formula 2a), (formula 2b), and the information of the table T3 shown in figure 18(a). Here, the (formula 1), (formula 2a), and (formula 2b) are defined by Claim 3. More specifically, in this third embodiment, the 25 level analyzer 100c includes the table T3 as shown in figure 18(a) and, in the coding capability judgment unit 108c of the third embodiment, the information Imhpx and Imwpx indicating the maximum vertical pixel number (H) and the maximum horizontal pixel number (W) , which is 30 outputted from the level analyzer 100c on the basis of the table T3, is directly input to the second comparator 204. N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11.doc - 69 Then, the second comparator 204 performs comparison between the input image vertical pixel number (h) and the maximum vertical pixel number (H) (i.e., vertical pixel number comparison) , and comparison 5 between the input image horizontal pixel number (w) and the maximum horizontal pixel number (W) (i.e., horizontal pixel number comparison), and outputs a comparison result signal Scm2a indicating the result of the vertical pixel number comparison, and a comparison 10 result signal Scm2b indicating the result of the horizontal pixel number comparison to the AND unit 205. As described above, the moving picture coding apparatus 10c of the third embodiment includes the level analyzer 100c that decides the maximum number of intra 15 frame pixels (Nfpx) which can be coded and the maximum number of storage pixels (Nspx) which can be stored in a picture memory of a decoding apparatus, in accordance with the level signal (level identifier signal) Lst that is inputted under the control of the user, and decides 20 the maximum number of vertical pixels (H) and the maximum number of horizontal pixels (W) in accordance with the identification number signal Sid that is inputted under the control of the user, thereby judging whether coding of the input image is possible or not on 25 the basis of the maximum intra frame pixel number (Nfpx), the maximum vertical pixel number (H), the maximum horizontal pixel number (W), and the input image size (the number of vertical pixels (h) and the number of horizontal pixels (w)), and calculating the number of 30 reference candidate pictures (reference picture maximum number) Nrpn which can be referred to at the inter picture prediction coding. Therefore, the decoding N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 70 apparatus to which a bit stream from the moving picture coding apparatus 10c is supplied can always decode the bit stream satisfactorily, whereby picture prediction decoding corresponding to the picture prediction coding 5 on the coding end can be performed. Accordingly, memory areas in the coding apparatus and the decoding apparatus corresponding to a coding method in which there is no restraint on the capacity of the memory area can be designed. 10 In this third embodiment, the values indicated by the information Impx that is supplied from the level analyzer 100c are employed as the maximum vertical pixel number (H) and the maximum horizontal pixel number (W). Therefore, the process for obtaining the maximum 15 vertical pixel number (H) and the maximum horizontal pixel number (W) is facilitated as compared to the first embodiment. In this third embodiment, the level identifier corresponding to the maximum intra frame pixel number 20 (Nfpx) and the maximum storage pixel number (Nspx), and the identification number corresponding to the maximum vertical pixel number (H) and the maximum horizontal pixel number (W) are used as parameters that indicate independent coding conditions, respectively. However, 25 the values of the identification number may be correlated with the values of the level identifier. In this case, specific values of the maximum intra frame pixel number (Nfpx) and the maximum storage pixel number (Nspx) are values which are decided on the basis 30 of the table Ti according to the level identifier that indicates the selected coding level, and further specific values of the maximum vertical pixel number (H) N:\Melbournc\Cases\Patent\50000-50999\P0845.AU.1\Specis\P50845.AU.l Specification 2008-2-1l.doc - 71 and the maximum horizontal pixel number (W) are values which are decided on the basis of the table T3 according to the identification number that is correlated with the selected coding level. That is, when the level signal 5 Lst indicating the decided coding level is inputted to the level analyzer 100c under the control of the user, the level analyzer 100c outputs the information Ifpx and Ispx indicating the maximum intra frame pixel number (Nfpx) and the maximum storage pixel number (Nspx) in 10 accordance with the level signal Lst, and further outputs the maximum image size information Impx on the basis of the identification number corresponding to the level identifier. In addition, the bit stream Bsc includes only the code Hi corresponding to the level 15 signal Lst, and thus the code H3 corresponding to the identification number signal Sid is not transmitted to the decoding end. In this third embodiment, the moving picture coding apparatus transmits the code of the level signal 20 Lst corresponding to the maximum intra frame pixel number (Nfpx) and the maximum storage pixel number (Nspx) which have been selected by the user, and the code H3 of the identification number signal Sid corresponding to the maximum vertical pixel number (H) 25 and the maximum horizontal pixel number (W) which have been selected by the user, to the decoding end. However, the moving picture coding apparatus may encode the maximum image size information Impx indicating the maximum vertical pixel number (H) and the maximum 30 horizontal pixel number (W) which have been arbitrarily decided by the user, to transmit the coded maximum pixel number information to the decoding end, in place of the N:\Me1bourne\Cascs\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-1 1doc - 72 code H3 of the identification number signal Sid. In this case, specific values of the maximum intra frame pixel number (Nfpx) and the maximum storage pixel number (Nspx) are values which are decided on the basis 5 of the table Ti according to the level identifier that indicates the selected coding level, while specific values of the maximum vertical pixel number (H) and the maximum horizontal pixel number (W) are arbitrarily decided by the user. That is, when the level signal Lst 10 indicating the decided coding level is input to the level analyzer 100c under the control of the user, the level analyzer 100c outputs the information Ifpx indicating the maximum intra frame pixel number (Nfpx) that is selected from the table T1 in accordance with 15 the level signal Lst, to the coding capability judgment unit 108c, and outputs the information Ispx indicating the maximum storage pixel number (Nspx) that is selected from the table T1, to the maximum reference picture calculator 109a. Further, the maximum image size 20 information Impx indicating specific values of the maximum vertical pixel number (H) and the maximum horizontal pixel number (W) which have been decided by the user is inputted directly from outside to the coding capability judgment unit 108c. In addition, the bit 25 stream Bsc includes the code H1 corresponding to the level signal Lst and the code corresponding to the maximum image size information Impx, and thus the code H1 corresponding to the level signal Lst and the code corresponding to the maximum image size information Impx 30 are transmitted to the decoding end. Further, in this third embodiment, the table T3 in which plural values of the identification number are N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. I Specification 2008-2-11 .doc - 73 correlated with pairs of the maximum vertical pixel number and the maximum horizontal pixel number (figure 18(a)) is employed as a table that defines correspondence between plural values of the 5 identification number, and the vertical pixel number calculation coefficient and vertical pixel number calculation coefficient. However, a table T3a in which values of the identification number are correlated with the maximum vertical pixel numbers (H) (figure 18 (b)), 10 and a table T3b in which values of the identification number are correlated with the maximum horizontal pixel numbers (W) (figure 18(c)) may be employed in place of the table T3. Further, it goes without saying that the number of combinations of the maximum vertical pixel 15 number and the maximum horizontal pixel number in the tables T3, T3a, and T3b, and their values are not limited to those shown in figures 18(a) to 18(c). Further, in the descriptions of the first and second embodiments, limitations on the number of 20 vertical pixels and the number of horizontal pixels in an input image that can be coded are imposed by the (formula 2a) and (formula 2b) , while the limitation the size of the input image that can be coded may be imposed by limiting only one of the number of vertical pixels 25 and the number of horizontal pixels. Further, it is also possible to judge whether the coding of an input image is possible or not, only on the basis of comparison between the maximum intra frame pixel number, and the numbers of vertical and horizontal 30 pixels in the input image as indicated by the (formula 1) , without utilizing the (formula 2a) , (formula 2b), (formula 3a), (formula 3b), (formula 8a) , and (formula N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 74 8b) which have been employed in any of the above mentioned embodiments. In the third embodiment, the decision of the value of the identification number is performed by the user S with referring to the table T3 shown in figure 18(a), but the decision of the identification number may be performed by the user using a following (formula 10), in place of the table T3 shown in figure 18(a). (Identification number) = transC (the maximum 10 number of vertical pixels, the maximum number of horizontal pixels) ... (formula 10) Here, transC is a sign that indicates an operation 15 for obtaining an identification number, using the maximum number of vertical pixels and the maximum number of horizontal pixels as arguments. According to the (formula 10), when the maximum number of vertical pixels and the maximum number of horizontal pixels in the input 20 image which can be coded by the moving picture coding apparatus are designated by the user, the corresponding value of the identification number is decided. Further, following (formula 10a) and (formula 10b) may be employed in place of the table T3a indicating the 25 correspondence between values of the identification number and the maximum vertical pixel numbers (figure 18(b)) and the table T3b indicating the correspondence between values of the identification number and the maximum horizontal pixel numbers (figure 18 (c)). 30 (Identification number) = transCa (the maximum number of vertical pixels) N:\Melbourne\Cases\Patent\50000-50999\P5084 5.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 75 ... (formula 10a) (Identification number) = transCb (the maximum number of horizontal pixels) ... (formula lob) 5 Here, transCa() is a sign indicating an operation for obtaining a value of the identification number, using the maximum number of vertical pixels as an argument. According to the (formula 10a), when the user designates the maximum number of vertical pixels in 10 the input image which can be coded by the moving picture coding apparatus, the corresponding value of the identification number is decided. Further, transCb() is a sign indicating an operation for obtaining a value of the identification 15 number, using the maximum number of horizontal pixels as an argument. According to the (formula lob), when the user designates the maximum number of horizontal pixels in the input image which can be coded by the moving picture coding apparatus, the corresponding value of the 20 identification number is decided. [Embodiment 4] Figure 8 is a block diagram for explaining a moving picture coding apparatus 10d according to a fourth embodiment of the present invention. 25 The moving picture coding apparatus 10d of the fourth embodiment has, in place of the maximum reference picture calculator 109a of the moving picture coding apparatus 10a according to the first embodiment, a maximum reference picture calculator 109d that 30 calculates the maximum number of reference pictures (Nrpn) on the basis of the size information Ipx for an N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 76 input image (input image vertical pixel number information Ihpx and input image horizontal pixel number information Iwpx), the maximum storage pixel number information Ispx, and display waiting pixel number 5 information Idwp, and outputs information indicating the calculated value (Nrpn) (i.e., reference picture maximum number information) Irpn. Here, the display waiting pixel number information Idwp is information that indicates the 10 number of display wait pictures. The display wait pictures are previously decoded pictures that are not employed as reference pictures, as described above with reference to figure 26, and image data of the pictures are stored in a picture memory of a decoding apparatus 15 until they are displayed. Further, the control of the picture memory according to the fourth embodiment is performed adaptively to the control of a picture memory in a decoding apparatus, so that image data of a picture that is not employed as a reference picture is deleted 20 from the picture memory immediately after display of the picture is finished. Constructions of other components in the moving picture coding apparatus 10d according to the fourth embodiment are the same as those in the moving picture 25 coding apparatus 10a of the first embodiment. Figure 9 is a diagram illustrating a specific construction of the maximum reference picture calculator 109d. This maximum reference picture calculator 109d 30 includes, in addition to the multiplier 401, the divider 402, the subtractor 403, and the constant storage unit N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 77 404 in the maximum reference picture calculator 109a according to the first embodiment, a subtractor 405 that subtracts the number of display wait pictures (Ndwp) in the picture memory from the number of pictures indicated 5 by the operation output Sdl from the subtractor 403, on the basis of the picture number information Idwp from the picture memory 105, and outputs an output signal Sd2 from the subtractor 405 as reference picture maximum number information Irpn. 10 Next, its operation will be described. The operation of the moving picture coding apparatus 10d according to the fourth embodiment is different from that of the moving picture coding apparatus 10a according to the first embodiment only in 15 the operation of the maximum reference picture calculator 109d. Thus, only the operation of the maximum reference picture calculator 109d will be described hereinafter with reference to figure 9. 20 The maximum reference picture calculator 109d of the moving picture coding apparatus 10d according to the fourth embodiment calculates the maximum number of reference candidate pictures which are employed at the inter picture prediction coding, according to an 25 operation indicated by a following (formula 11). Here, the (formula 11) is defined by Claim 6. Nrpn = Nspx+(hxw)-l-Ndwp ... (formula 11) Here, h designates the number of vertical pixels in the input image (target picture to be coded), and w 30 designates the number of horizontal pixels in the input image (the target picture). Nrpn designates the maximum N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 78 number of reference pictures, Nspx designates the maximum number of storage pixels, and Ndwp designates the number of display waiting decoded pictures. In this fourth embodiment, the maximum storage pixel number Nspx 5 is the maximum value of the total number of pixels corresponding to all storage pictures whose image data are stored in a picture memory of a moving picture decoding apparatus that decodes a bit stream obtained by the moving picture coding apparatus 10a. The storage 10 pictures are reference pictures, a target picture to be decoded, and display waiting decoded pictures. The maximum reference picture calculator 109d calculates the total number of pixels in one frame (hxw) , corresponding to the size of the input image on 15 the basis of input image vertical pixel number information Ihpx and input image horizontal pixel number information Iwpx. More specifically, the multiplier 401 multiplies the number of vertical pixels (h) in the input image, which is indicated by the input image 20 vertical pixel number information Ihpx, by the number of horizontal pixels (w) , which is indicated by the input image horizontal pixel number information Iwpx, and outputs an operation output Shw indicating the multiplication result (hxw). 25 The divider 402 divides the maximum storage pixel number (Nspx) by the multiplication result (hxw) on the basis of the operation output Shw from the multiplier 401 and the maximum storage pixel number information Ispx from the level analyzer 100d, and 30 outputs an operation output signal Dpm indicating the division result (Nspx/(hxw)). The subtractor 403 subtracts 1 from the division N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 79 result (Nspx/ (hxw)) on the basis of the output signal Dpm from the divider 402 and the numeric value information Snl from the constant storage unit 404, and outputs a subtraction output signal Sdl indicating the 5 subtraction result (Nspx/(hxw)-1). Further, the subtractor 405 subtracts the number of display wait pictures (Ndwp) from the subtraction result (Nspx/(hxw)-1) on the basis of the subtraction output signal Sdl, and the picture number information 10 Idwp from the picture memory, thereby deciding the maximum number of reference pictures. The reason why the subtractors 403 and 405 subtracts 1 and the number of display wait pictures (Ndwp) from the division result (Nspx/ (hxw) ) , 15 respectively, is that decoded image data of a target picture to be decoded and display wait pictures, as well as image data of reference candidate pictures which are employed at the inter picture prediction decoding must be stored in the picture memory of the decoding 20 apparatus. As described above, the moving picture coding apparatus 10d of the fourth embodiment includes the level analyzer 100a that decides the maximum number of intra frame pixels (Nfpx) which can be coded and the 25 maximum number of storage pixels (Nspx) which can be stored in the picture memory of the decoding apparatus, on the basis of the level signal LSt that indicates a coding level designated by the user, thereby performing the judgement as to whether the coding of an input image 30 is possible or not on the basis of the maximum intra frame pixel number (Nfpx) and the input image size (the number of vertical pixels Nhpx and the number of N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 80 horizontal pixels Nwpx) , and calculating the number of reference candidate pictures which can be referred to at the inter picture prediction coding (reference picture maximum number) Nrpn. Therefore, a decoding apparatus 5 to which a bit stream from the moving picture coding apparatus 10b is supplied can always decode the bit stream satisfactorily, whereby picture prediction decoding corresponding to picture prediction coding on the coding end can be performed. Accordingly, memory 10 areas of the coding apparatus and the decoding apparatus that are compliant with a coding method in which there is no restraint on the capacity of the memory areas can be designed. In this fourth embodiment, the maximum number of 15 reference pictures which are stored in the picture memory is decided in view of the number of display wait pictures (Ndwp), whereby the picture memory in which image data of reference candidate pictures are stored can be efficiently employed according to the status of 20 the processing for image data. In the fourth embodiment, the maximum storage pixel number Nspx is the maximum value of the total number of pixels corresponding to all storage pictures whose image data are stored in a picture memory of a 25 moving picture decoding apparatus that decodes a bit stream obtained by the moving picture coding apparatus 10a, and the storage pictures are reference pictures, a target picture to be decoded, and display waiting decoded pictures. However, it is possible to define the 30 maximum storage pixel number not to include the number of pixels corresponding to the target picture to be decoded. N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 81 In this case, a following (formula lla) is employed in place of the (formula 11). Nrpn = Nspx+(hxw)-Ndwp ...(formula 11a) 5 Thus, the maximum reference picture calculator 109d shown in figure 9 decides the maximum number of reference pictures, without performing the operation of subtracting 1 from the division result (Nspx/(hxw)). Here, h designates the number of vertical pixels 10 in a target picture to be coded, w designates the number of horizontal pixels in the target picture, Nrpn designates the maximum number of reference pictures, Nspx designates the maximum number of storage pixels, and Ndwp designates the number of display wait pictures. 15 In this fourth embodiment, the control of the picture memory is performed adaptively to the control of a picture memory in the decoding apparatus for deleting image data of pictures which are not employed as reference pictures from the picture memory immediately 20 after the display of the pictures is finished. However, the image data of pictures which are not employed as reference pictures may be deleted at a time other than immediately after the display as described in the fourth embodiment. 25 For example, the control of the picture memory according to the fourth embodiment may be performed adaptively to the control of the picture memory in the decoding apparatus for deleting image data of a picture which is stored in the picture memory but is not used as 30 a reference picture, from the picture memory after the display time of one picture expires after the picture N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.I Specification 2008-2-ll.doc - 82 has been displayed. [Embodiment 5] Figure 10 is a block diagram for explaining a moving picture decoding apparatus 50a according to a 5 fifth embodiment of the present invention. The moving picture decoding apparatus 50a according to the fifth embodiment receives a bit stream corresponding to plural pictures that constitute a moving picture, and decodes the bit stream in 10 predetermined data processing units, i.e., in units of blocks. More specifically, this moving picture decoding apparatus 50a decodes a bit stream Bsa (see figure 14(a)) generated by the moving picture coding apparatus 10a according to the first embodiment. Here, the block 15 is a macroblock that is composed of 16 vertical pixels x 16 horizontal pixels. That is, this moving picture decoding apparatus 50a includes a bit stream analyzer 501 that analyzes an inputted bit stream Bsa, and outputs various kinds of 20 header information that is stored in a header area Ha of the bit stream Bsa, and data stored in a sequence data part Dsq of the bit stream Bsa. Here, a level identifier H1 is included in the header area Ha as one kind of header information. In addition, the sequence 25 data part Dsq contains a sequence header Sh, and further contains information Ms of a coding mode, coded data Cd, information MV of a motion vector, and the like, corresponding to each macroblock. Further, information indicating the size of an input image that has been a 30 target of the coding process on the coding end (input image size information) Ipx is included in the sequence N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 83 header Sh. This input image size information Ipx is composed of information Ihpx indicating the number of vertical pixels (Nhpx) of the input image, and information Iwpx indicating the number of horizontal 5 pixels (Nwpx) of the input image. The moving picture decoding apparatus 50a includes a prediction residual decoder 502 that decompressively decodes coded data Cd from the bit stream analyzer 501, and outputs decoded residual data 10 Dd of the target block; an adder 511 that adds the decoded residual data Dd of the target block and predictive data Pd for the target block, and outputs image data of the target block (hereinafter, referred to as decoded data) Rd; and a picture memory 503 that is temporarily stores one of the output data Dd from the prediction residual decoder 502 and the output data Rd from the adder 511, and outputs the stored decoded data Ed as data DRd of a picture that is to be referred to at the decoding of the target block in accordance with a 20 picture designation signal DSpd. Here, in the picture memory 503, image data of decoded pictures which are arranged in the order of decoding are reordered in the order of display. The image data of the decoded pictures which have been reordered in the order of 25 display are outputted from the picture memory 503 in units of pictures, as image data Od of the output image. The moving picture decoding apparatus 50a includes a motion compensation decoder 504 that generates predictive data Pd for the target block on the 30 basis of a motion vector MV from the bit stream analyzer 501 and the output data (reference candidate picture data) DRd from the picture memory 503; and a motion N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 84 vector storage unit 505 that stores the motion vector MV of a block, which has been supplied to the motion compensation decoder 504. The moving picture decoding apparatus 50a 5 includes a selector switch 508 that selects one of the output data Dd from the prediction residual decoder 502 and the output data Rd from the adder 511, and outputs the selected data as selection data Ed. Here, the selector switch 508 has two input terminals Tcl and Tc2, 10 and one output terminal Td. In accordance with a switch control signal, the output terminal Td is connected to one of the two input terminals Tcl and Tc2. The moving picture decoding apparatus 50a of the fifth embodiment includes a level analyzer 509a that 15 outputs information indicating the maximum number of intra frame pixels which can be decoded (Nfpx) (i.e., the maximum intra frame pixel number information) Ifpx, and information indicating the number of pixels corresponding to the maximum image data which can be 20 stored in the picture memory of the decoding apparatus (the maximum storage pixel number (Nspx)) (i.e., the maximum storage pixel number information) Ispx, in accordance with a level signal (level identifier) Lst indicating a coding level from the bit stream analyzer 25 501. This level analyzer unit 509 includes information of the table Ti shown in figure 15. The table T1 defines correspondence between the level identifier value, and the maximum intra frame pixel number and storage pixel maximum number. 30 The moving picture decoding apparatus 50a includes a judgement unit (decoding capability judgment unit) 506a that judges whether decoding of the inputted N:\Melbourne\Cases\Patent\50000-50999\P50845.A U. 1\Specis\P50845.AU. 1 Specification 2008-2- 1 .doc - 85 bit stream is possible or not, on the basis of the maximum intra frame pixel number information Ifpx that is outputted from the level analyzer 509a and information indicating the number of vertical pixels (h) 5 and the number of horizontal pixels (w) of the input image (input image size information) Ipx, which is outputted from the bit stream analyzer 501, and outputs a signal indicating the judgement result (judgement result signal) DSjd. The moving picture decoding 10 apparatus 50a further includes a calculator (maximum reference picture calculator) 507a that calculates the number of reference candidate pictures (reference picture maximum number) Nrpn which can be referred to at inter picture prediction decoding, on the basis of the 15 maximum storage pixel number information Ispx and the input image size information Ipx, and outputs information Irpn indicating the calculated number Nrpn (reference picture maximum number). The moving picture decoding apparatus 50a 20 further includes a control unit 510 that controls operations of the respective components of the moving picture decoding apparatus 50a with control signals Dctl, Dct2, ... , Dctn, on the basis of the judgement result signal DSjd and the coding mode information Ms 25 from the bit stream analyzer 501. This control unit 510 controls the switch 508 with a predetermined control signal, according to the coding mode indicated by the mode signal Ms from the bit stream analyzer 501. The control unit 510 further controls operations of the 30 prediction residual decoder 502, the motion compensation decoder 504, and the like with the control signals Dctl, Dct2, ... , Dctn, on the basis of the judgement result N:\Melbourno\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 86 signal DSjd. That is, when the judgement result signal DSjd indicates that decoding of the inputted bit stream Bsa is possible, the control unit 510 controls the prediction residual decoder 502, the motion compensation 5 decoder 504, and the like, for executing the decoding of the inputted bit stream Bsa. On the other hand, when the judgement result signal DSjd indicates that decoding of the inputted bit stream Bsa is impossible, the control unit 510 controls the prediction residual 10 decoder 502, the motion compensation decoder 504, and the like, for not executing the decoding of the inputted bit stream Bsa. A specific construction of the decoding capability judgment unit 506a in the moving picture is decoding apparatus 50a according to the fifth embodiment is the same as that of the coding capability judgment unit 108a in the moving picture coding apparatus 10a according to the first embodiment as shown in figure 2. A specific construction of the maximum reference 20 picture calculator 507a in the moving picture decoding apparatus 50a according to the fifth embodiment is the same as that of the maximum reference picture calculator 109a in the moving picture coding apparatus 10a according to the first embodiment as shown in figure 3. 25 Next, its operation will be described. When the bit stream Bsa is inputted to the moving picture decoding apparatus 50a, initially the bit stream analyzer 501 analyzes the bit stream Bsa to extract various kinds of information such as the coding 30 mode information Ms, motion vector information MV, and coded data Cd, from the bit stream Bsa. At that time, N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11.doc - 87 the bit stream analyzer 501 simultaneously extracts various kinds of header information included in the header area Ha of the bit stream Bsa, and outputs the header information to the level analyzer 509a, the 5 decoding capability judgment unit 506, and the maximum reference picture calculator 507a. The level analyzer 509a decides the maximum number of intra frame pixels (Nfpx) and the maximum number of storage pixels (Nspx) with referring to the 10 table T1 (figure 15) that is retained therein, in accordance with the level signal Lst corresponding to one kind of header information H1 included in the header area Ha, and outputs maximum intra frame pixel number information Ifpx and storage pixel maximum number 15 information Ispx. The maximum intra frame pixel number information Ifpx is inputted to the decoding capability judgment unit 506a, and the maximum storage pixel number information Ispx is inputted to the maximum reference picture calculator 507a. 20 Then, the coding capability judgment unit 506a judges whether decoding for the inputted bit stream Bsa is possible or not, on the basis of the maximum intra frame pixel number information Ifpx from the level analyzer 509a, and the input image size information Ipx 25 (input image vertical pixel number information Ihpx and horizontal pixel number information Iwpx) that has been extracted from the sequence header Sh of the bit stream Bsa by the bit stream analyzer 501, and outputs a signal indicating the result of judgement (judgement result 30 signal) DSjd to the control unit 510. When the judgement result signal DSjd indicates that the coding of the inputted bit stream Bsa is N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2- 11 .doc - 88 possible, the control unit 510 controls the moving picture decoding apparatus 50a in accordance with the control signals Dctl, Dct2, ... , Dctn, for executing the decoding of the inputted bit stream Bsa, while when the 5 judgement result signal DSjd indicates that the decoding of the inputted bit stream Bsa is impossible, the control unit controls the respective components of the moving picture decoding apparatus 50a in accordance with the control signals Dct1, Dct2, ... , Dctn, for not 10 executing the decoding of the inputted bit stream Bsa. When the judgement result signal DSjd indicates that the decoding of the inputted bit stream Bsa is possible, the control unit 510 performs switching between a mode of performing inter picture prediction 15 decoding for the bit stream Bsa and a mode of performing intra picture prediction decoding for the bit stream Bsa according to the coding mode indicated by the mode signal Ms from the bit stream analyzer 501. Then, when the mode of performing the inter 20 picture prediction coding is selected by the control unit 510, the switch 508 is controlled by a predetermined control signal from the control unit 510, so that the output terminal Td is connected to the second input terminal Tc2. On the other hand, when the 25 mode of performing the intra picture prediction coding is selected by the control unit 510, the switch 508 is controlled by a predetermined control signal from the control unit 510, so that the output terminal Td is connected to the first input terminal Tcl. 30 Further, the maximum reference picture calculator 507a calculates the number of reference candidate pictures which can be referred to at the inter N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-l l.doc - 89 picture prediction decoding (reference picture maximum number) Nrpn on the basis of the maximum storage pixel number information Ispx, and the vertical pixel number information Ihpx and horizontal pixel number information 5 Iwpx of the input image, and outputs information indicating the calculated number Nrpn (reference picture maximum number information) Irpn to the motion compensation decoder 504. Hereinafter, the operation in the case where the 10 inter picture prediction decoding mode is selected will be initially described. When the motion vector information MV that has been extracted from the bit stream Bsa by the bit stream analyzer 501 is inputted to the motion compensation 15 decoder 504, the motion compensation decoder 504 performs motion compensation for the target macroblock on the basis of the reference picture maximum number information Irpn from the maximum reference picture calculator 507a, and the motion vectors MV of decoded 20 macroblocks and the motion vector MV of the target macroblock which are stored in the motion vector storage unit 505, with referring to a predetermined reference picture, and outputs predictive data Pd corresponding to the target block, to the adder 511. At this time, 25 decoded image data Ed corresponding to the decoded pictures are stored in the picture memory 503, as image data of reference candidate pictures, and a required picture among the reference candidate pictures is specified in the picture memory 503 as the reference 30 picture in accordance with a picture designation signal DSpd from the motion compensation decoder 504. Coded data Cd that has been extracted from the N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.l\Specis\P50845.AU.1 Specification 2008-2-11.doc - 90 bit stream Bsa by the bit stream analyzer 501 is decoded by the prediction residual decoder 502, and prediction residual image data Dd that has been obtained by the decoding is outputted to the adder 511. 5 The adder 511 performs addition between the prediction residual image data Dd from the prediction residual decoder 502 and the predictive data Pd from the motion compensation decoder 504, and outputs image data Rd that is obtained by the addition to the picture 10 memory 503 via the switch 508. Then, the image data Rd of the target picture to be decoded is written to the picture memory 503 as decoded data in units of macroblocks. Then, image data of decoded pictures which are 15 arranged in the order of decoding are reordered in the order of display, and outputted from the picture memory 503 as image data Od of an output image in units of pictures. Next, the operation in the case where the intra 20 picture prediction coding mode is selected will be briefly described. In this case, the coded data Cd extracted from the bit stream Bsa by the bit stream analyzer 501 are decoded by the prediction residual decoder 502, and 25 prediction residual image data Dd obtained by the decoding is stored in the picture memory 503 as it is as decoded data Rd via the switch 508. Next, specific operations of the decoding capability judgment unit 506a and the maximum reference 30 picture calculator 507a in the moving picture decoding apparatus 50a will be briefly described. N:\Melbournc\Cascs\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 91 The decoding capability judgment unit 506a of the moving picture decoding apparatus 50a according to the fifth embodiment judges whether the decoding of the inputted bit stream is possible or not, according to the 5 above-mentioned conditional formulae (formula 1), (formula 2a), (formula 2b), (formula 3a), and (formula 3b), like the coding capability judgment unit 108a of the moving picture coding apparatus 10a according to the first embodiment. 10 More specifically, the decoding capability judgment unit 506a performs the operation indicated by (formula 1) on the basis of the input image vertical pixel number information Ihpx and horizontal pixel number information Iwpx included in the input image size is information Ipx that has been outputted from the bit stream analyzer 501. In other words, the multiplication for obtaining the product (hxw) of the number of vertical pixels (h) and the number of horizontal pixels (w) in the input image is performed, and then comparison 20 between the multiplication result (hxw) and the maximum intra frame pixel number (Nfpx) (i.e., intra frame pixel number comparison) is performed. Next, the decoding capability judgment unit 506a calculates the maximum number of vertical pixels (H) and the maximum number of 25 horizontal pixels (W) as indicated by the (formula 3a) and (formula 3b), respectively, on the basis of the input image vertical pixel number information Ihpx and horizontal pixel number information Iwps. Here, the (formula 3a) and (formula 3b) indicate 30 that the maximum vertical pixel number (H) and the maximum horizontal pixel number (W) are respectively the positive square root of a value that is obtained by N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.l Specification 2008-2-11.doc - 92 multiplying the product of the vertical pixel number (h) and the horizontal pixel number (w) of the input image, by N. For example when N=8, the (formula 3a) suggests that the maximum number of vertical pixels are decided 5 so that the ratio between the number of vertical pixels and the number of horizontal pixels is smaller than 8:1, and the (formula 3b) suggests that the maximum number of horizontal pixels are decided so that the ratio between the number of vertical pixels and the number of 10 horizontal pixels is smaller than 1:8. The decoding capability judgment unit 506a further performs an operation such as omission, raising, or half-adjust, for the maximum number of vertical pixels (H) and the maximum number of horizontal pixels 15 (W) to be rounded to a multiple of 16, respectively, and then performs comparison between the input image vertical pixel number (h) and the rounded maximum number of vertical pixels (H) (vertical pixel number comparison) , and comparison between the input image 20 horizontal pixel number (w) and the rounded maximum number of horizontal pixels (W) (horizontal pixel number comparison). Then, on the basis of the results of the intra frame pixel number comparison, the vertical pixel number 25 comparison, and the horizontal pixel number comparison, the final judgement as to the capability/incapability of decoding is performed. The maximum reference picture calculator 507a of the moving picture coding apparatus 50a according to the 30 fifth embodiment calculates the maximum number of reference candidate pictures which are employed at the inter picture prediction decoding, according to the N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 93 operation indicated by the (formula 4). The maximum reference picture calculator 507a calculates the total number of pixels in one frame (hxw) as the size of the input image, on the basis of the 5 vertical pixel number information Ihpx and the horizontal pixel number information Iwpx for the input image from the coding analyzer 501. Further, the maximum reference picture calculator 507a performs an operation of dividing the 10 maximum storage pixel number (Nspx) by the multiplication result (hxw), and further performs an operation of subtracting 1 from the division result (Nspx/ (hxw)), thereby obtaining the subtraction result (Nspx/(hxw)-l) as the maximum number of reference 15 pictures. As described above, the moving picture decoding apparatus 50a of the fifth embodiment includes the level analyzer 509a that decides the maximum number of intra frame pixels (Nfpx) which can be decoded and the maximum 20 number of storage pixels (Nspx) which can be stored in the picture memory 503 in accordance with the level signal Lst indicating the level identifier, which has been extracted from the bit stream Bsa by the bit stream analyzer 501, thereby judging whether decoding of the 25 inputted bit stream Bsa is possible or not on the basis of the maximum intra frame pixel number (Nfpx) and the input image size (vertical pixel number Nfpx and horizontal pixel number Nwpx), and calculating the number of reference candidate pictures which can be 30 referred to at the inter picture prediction decoding (reference picture maximum number) Nrpn. Therefore, a bit stream which can be decoded by the moving picture N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 94 decoding apparatus among bit streams which have been supplied from the coding end can be determined by the level identifier, thereby satisfactorily performing picture prediction decoding corresponding to the picture 5 prediction coding on the coding end. Thereby, it is possible to design a memory area in the decoding apparatus corresponding to the coding method in which there is no restraint on the capacity of the memory area. 10 In this fifth embodiment, the table T1 in which pairs of the maximum intra frame pixel number and the maximum storage pixel number are correlated with the coding levels (values of the level identifier) (see figure 15) is employed as a table that defines 15 correspondence between the coding level, and the maximum intra frame pixel number and storage pixel maximum number. However, a table Tla that defines correspondence between the value of the level identifier and the maximum intra frame pixel number (figure 16 (a) ) 20 and a table Tib that defines correspondence between the value of the level identifier and the maximum storage pixel number (figure 16(b)) may be employed in place of the table T1. [Embodiment 6] 25 Figure 11 is a block diagram for explaining a moving picture decoding apparatus 50b according to a sixth embodiment of the present invention. This moving picture decoding apparatus 50b according to the sixth embodiment receives a bit stream 30 corresponding to plural pictures that constitute a moving picture, and decodes the bit stream in N:\Melbournc\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 95 predetermined data processing units, i.e., in units of blocks. More specifically, the moving picture decoding apparatus 50b decodes a bit stream Bsb that is generated by the moving picture coding apparatus 10b according to 5 the second embodiment (see figure 14 (b)) . Therefore, in this sixth embodiment, the bit stream analyzer 501 analyzes header information H1 and H2 to extract a level identifier Lst and an identification number signal Cid, and analyzes a sequence data part Dsq to extract 10 information Ms of a coding mode, coded data Cd, motion vector information Mb, input image size information Ipx and the like, corresponding to each macroblock. Further, the level analyzer 509b in the moving picture decoding apparatus 50b according to the sixth 15 embodiment contains the tables Ti and T2, and outputs maximum intra frame pixel number information Ifpx and storage pixel maximum number information Ispx on the basis of the level signal Lst from the bit stream analyzer 501, as well as outputs pixel number 20 calculation coefficient information apx on the basis of the identification number signal Cid from the bit stream analyzer 501. A decoding capability judgment unit 506b according to the sixth embodiment judges whether decoding of an inputted bit stream Bsb is possible or 25 not on the basis of the maximum intra frame pixel number information Ifpx and the pixel number calculation coefficient information apx from the level analyzer 509b, and the input image size information Ipx from the bit stream analyzer 501. Here, the pixel number 30 calculation coefficient information apx is composed of information uhpx indicating a vertical pixel number calculation coefficient (Nahxp), and information awpx N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.l\Specis\P50845.AU.1 Specification 2008-2-I .doc - 96 indicating a horizontal pixel number calculation coefficient (Ncwpx). Constructions of the other components of the moving picture decoding apparatus 50b according to the 5 sixth embodiment are the same as those of the moving picture decoding apparatus 50a according to the fifth embodiment. A specific construction of the decoding capability judgment unit 506b in the moving picture 10 decoding apparatus 50b according to the sixth embodiment is identical to that of the coding capability judgment unit 108b in the moving picture coding apparatus 100b according to the second embodiment as shown in figure 5. Next, the operation will be described. 15 The operation of the moving picture decoding apparatus 50b according to the sixth embodiment is different from the operation of the moving picture decoding apparatus 50a according to the fifth embodiment only in the operations of the bit stream analyzer 501, 20 the decoding capability judgment unit 506b, and the level analyzer 509b. Then, the operations of the bit stream analyzer 501, the decoding capability judgment unit 506b, and the level analyzer 509b will be mainly described 25 hereinafter. When the bit stream Bsb is inputted to the moving picture decoding apparatus Sob, the bit stream analyzer 501 analyzes the bit stream Bsb, and extracts various kinds of information such as coding mode 30 information Ms, motion vector information MV, and coded data Cd from the bit stream Bsb. At that time, various N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 97 kinds of header information included in the header area Hb of the bit stream Bsb is simultaneously extracted, and inputted to the level analyzer 509b, the decoding capability judgment unit 506b, and the maximum reference 5 picture calculator 507a. The level analyzer 509b outputs maximum intra frame pixel number information Ifpx and storage pixel maximum number information Ispx in accordance with a level identifier (level signal) Lst corresponding to the 10 header information (code) H1 in the header area Hb, with referring to the table T1 (figure 15) that is held therein. The level analyzer 509b outputs pixel number calculation coefficient information apx (vertical pixel number calculation coefficient information ahpx and 15 horizontal pixel number calculation coefficient information awpx) in accordance with the identification number signal Cid corresponding to the header information (code) H2 in the header area Hb, with referring to the table T2 (figure 17(a)) that is held 20 therein. The maximum intra frame pixel number information Ifpx and the pixel number calculation coefficient information apx is inputted to the decoding capability judgment unit 506b, while the maximum storage pixel number information Ispx is inputted to the maximum 25 reference picture calculator 507a. Then, the decoding capability judgment unit 506b judges whether decoding of the inputted bit stream Bsb is possible or not, on the basis of the maximum intra frame pixel number information Ifpx and the pixel number 30 calculation coefficient information apx (vertical pixel number calculation coefficient information ahpx and horizontal pixel number calculation coefficient N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-1l.doc - 98 information awpx) from the level analyzer 509b, and the input image size information Ipx (input image vertical pixel number information Ihpx and input image horizontal pixel number information Iwpx) extracted from the 5 sequence header Sh by the bit stream analyzer 501, and outputs a signal indicating the judgement result (judgement result signal) DSjd to the control unit 510. In this sixth embodiment, the decoding for the inputted bit stream Bsb is performed in accordance with 10 the judgement result signal DSjd, in the same manner as the moving picture decoding apparatus 50a according to the fifth embodiment. Next, a specific operation of the decoding capability judgment unit 506b in the moving picture 15 decoding apparatus 50b will be briefly described. The decoding capability judgment unit 506b of the moving picture decoding apparatus 50b according to the sixth embodiment judges the capability or incapability of the decoding for the inputted bit stream 20 Bsb according to the above-mentioned conditional formulas (formula 1), (formula 2a), (formula 2b), (formula 8a), and (formula 8b). Initially, the decoding capability judgment unit 506b performs the operation indicated by the (formula 1) 25 on the basis of the input image size information Ipx (vertical pixel number information Ihpx and horizontal pixel number information Iwpx of the input image) that is outputted from the bit stream analyzer 501, like in the decoding capability judgment unit 506a according to 30 the fifth embodiment. In other words, multiplication for obtaining the product (hxw) of the number of N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 99 vertical pixels (h) and the number of horizontal pixels (w) in the input image is performed, and then comparison between the multiplication result (hxw) and the maximum intra frame pixel number (Nfpx) (i.e., intra frame pixel 5 number comparison) is performed. Next, the decoding capability judgment unit 506b calculates the maximum number of vertical pixels (H) and the maximum number of horizontal pixels (W) as indicated by the (formula 8a) and (formula 8b), on the basis of 10 the intra frame pixel number information Ifpx and the pixel detection coefficient information apx (vertical pixel number calculation coefficient information ahpx and horizontal pixel calculation coefficient information awpx). 15 Here, the (formula 8a) and (formula 8b) indicate that the maximum number of vertical pixels (H) and the maximum number of horizontal pixels (W) are obtained by dividing the maximum number of intra frame pixels (Nfpx) by the vertical pixel number calculation coefficient 20 (Nahpx) and the horizontal pixel number calculation coefficient (Nawpx), respectively. Further, the decoding capability judgment unit 506b rounds the maximum vertical pixel number (H) and the maximum horizontal pixel number (W) to a multiple of 25 16, respectively, by an operation such as omission, raising, or half-adjust, and performs comparison between the input image vertical pixel number (h) and the rounded vertical pixel maximum number (H) (i.e., vertical pixel number comparison) , and comparison 30 between the input image horizontal pixel number (w) and the rounded horizontal pixel maximum number (W) (i.e., horizontal pixel number comparison). N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 100 Then, the final judgement as to the capability or incapability of the decoding is performed on the basis of the results of the intra frame pixel number comparison, the vertical pixel number comparison, and 5 the horizontal pixel number comparison. As described above, the moving picture decoding apparatus 50b according to the sixth embodiment includes the level analyzer unit 509b that decides the maximum number of intra frame pixels (Nfpx) which can be decoded 10 and the maximum number of storage pixels (Nspx) which can be stored in the picture memory 503, as well as the pixel number calculation coefficient (Napx) , on the basis of level identifier (level signal) Lst and the identification number signal Cid, which are extracted 15 from the bit stream Bsb by the bit stream analyzer 501, thereby judging whether decoding of the inputted bit stream Bsb is possible or not on the basis of the maximum intra frame pixel number (Nfpx) and the pixel number calculation coefficient (Napx) which are decided 20 by the level analyzer 509b, and the input image size information Ipx included in the bit stream Bsb, and calculating the number of reference candidate pictures (reference picture maximum number) Nrpn which can be referred to at the inter picture prediction decoding. 25 Therefore, a bit stream which can be decoded by the moving picture decoding apparatus among bit streams which have been supplied from the coding end is determined on the basis of the level identifier, whereby picture prediction decoding corresponding the picture 30 prediction coding on the coding end can be satisfactorily performed. Accordingly, a memory area of the decoding apparatus that is adapted to the coding N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 101 method in which there is no restraint on the capacity of the memory area can be designed. In this sixth embodiment, the maximum number of vertical pixels (H) and the maximum number of horizontal 5 pixels (W) are obtained by dividing the maximum intra frame pixel number (Nfpx) by the vertical pixel number calculation coefficient (Nahpx) and the horizontal pixel number calculation coefficient (Nawpx) , respectively, whereby the process for obtaining the maximum number of 10 vertical pixels (H) and the maximum number of horizontal pixels (W) can be facilitated as compared to the fifth embodiment. Here, in the sixth embodiment, the level identifier corresponding to the maximum intra frame is pixel number (Nfpx) and the maximum storage pixel number (Nspx) , and the identification number corresponding to the vertical pixel number calculation coefficient (Nahpx) and the horizontal pixel number calculation coefficient (Nawpx) are parameters that indicate 20 independent coding conditions, respectively. However, the value of the identification number may be correlated with the value of the level identifier. In this case, specific values of the vertical pixel number calculation coefficient (Nahpx) and the 25 horizontal pixel number calculation coefficient (Ncawpx) are decided together with specific values of the maximum intra frame pixel number (Nfpx) and the maximum storage pixel number (Nspx) on the basis of the level signal Lst indicating the level identifier, with referring to the 30 tables T1 and T2. That is, when the level signal Lst from the bit stream analyzer 501 is inputted to the level analyzer 509b, the level analyzer 509b outputs N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. I \Specis\P50845.AU. 1 Specification 2008-2-1 .doc - 102 information Ifpx and Ispx indicating the maximum intra frame pixel number (Nfpx) and the maximum storage pixel number (Nspx), respectively, with reference to the table Tl on the basis of the level signal Lst, and further 5 outputs pixel number calculation coefficient information apx on the basis of the identification number corresponding to the level identifier, with reference to the table T2. In this case, the bit stream Bsb includes only the code H1 corresponding to the level signal Lst, 10 and thus the identification number signal Cid corresponding to the code H2 is not outputted from the bit stream analyzer 501 to the level analyzer 509b. According to this sixth embodiment, the moving picture decoding apparatus analyzes the code H1 of the 15 level identifier corresponding to the maximum intra frame pixel number (Nfpx) and the maximum storage pixel number (Nspx), and the code H2 of the identification number corresponding to the vertical pixel number calculation coefficient (Nahpx) and the horizontal pixel 20 number calculation coefficient (Nawpx), then obtains the maximum intra frame pixel number (Nfpx) and the maximum storage pixel number (Nspx) with reference to the table Ti on the basis of the level identifier obtained by the analysis of the code H1, and further obtains the 25 vertical pixel number calculation coefficient (Nahpx) and the horizontal pixel number calculation coefficient (Nawpx) with reference to the table T2 on the basis of the identification number signal Cid obtained by the analysis of the code H2. However, the moving picture 30 decoding apparatus may analyze a code that is obtained by coding pixel number calculation coefficient information apx indicating arbitrary vertical pixel N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. I Specification 2008-2-11.doc - 103 number calculation coefficient (Nahpx) and horizontal pixel number calculation coefficient (Nawpx), which are decided by the user, and directly obtain the pixel number calculation coefficient information apx by the 5 analysis of the code. In this case, the decision of specific values for the maximum intra frame pixel number (Nfpx) and the maximum storage pixel number (Nspx) is performed with reference to the table T1, while the decision of 10 specific values for the vertical pixel number calculation coefficient (Nahpx) and the horizontal pixel number calculation coefficient (Nawpx) is performed by the analysis of the code corresponding to the pixel number calculation coefficient information apx, without 15 referring to the table. That is, when the level signal Lst from the bit stream analyzer 501 is inputted to the level analyzer 509b, the level analyzer 509b outputs information Ifpx indicating the maximum intra frame pixel number (Nfpx) 20 decided with reference to the table T1, to the decoding capability judgment unit 506b, and outputs information Ispx indicating the maximum storage pixel number (Nspx) decided with reference to the table T1, to the maximum reference picture calculator 507a, in accordance with 25 the level signal Lst. Further, the pixel number calculation coefficient information apx indicating specific values of the vertical pixel number calculation coefficient (Nahpx) and the horizontal pixel number calculation coefficient (Nawpx), which are obtained by 30 the analysis of the code by the bit stream analyzer 501 is directly inputted to the decoding capability judgment unit 506b. N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.I\Specis\P50845.AU.1 Specification 2008-2-11.doc - 104 [Embodiment 7] Figure 12 is a block diagram for explaining a moving picture decoding apparatus 50c according to a seventh embodiment of the present invention. 5 The moving picture decoding apparatus 50c according to the seventh embodiment receives a bit stream corresponding to plural pictures that constitute a moving picture, and decodes the bit stream in predetermined data processing units, i.e., in units of 10 blocks. More specifically, this moving picture decoding apparatus SOc decodes a bit stream Bsc (figure 14(c)) that is generated by the moving picture coding apparatus 10c according to the third embodiment. Therefore, the bit stream analyzer 501 according to the seventh 15 embodiment analyzes header information H1 and H3, to extract the level identifier Lst and the identification number signal Sid, and analyzes data in the sequence data part Dsq, to extract information corresponding each macroblock such as coding mode information Ms, coded 20 data Cd, motion vector information MV, and input image size information Ipx. The level analyzer 509c of the moving picture decoding apparatus 50c according to the seventh embodiment has the tables T1 and T3, and outputs maximum 25 intra frame pixel number information Ifpx and storage pixel maximum number information Ispx on the basis of the level signal Lst outputted from the bit stream analyzer 501, as well as outputs maximum image size information Impx on the basis of the identification 30 number signal Sid outputted from the bit stream analyzer 501. Further, the decoding capability judgment unit 506c according to the sixth embodiment judges whether N:\Melbourne\Cases\Patent\50000-50999\P350845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 105 decoding of the inputted bit stream Bsc is possible or not on the basis of the maximum intra frame pixel number information Ifpx and the maximum image size information Impx from the level analyzer 509c, and the input image 5 size information Ipx from the bit stream analyzer 501. Here, the maximum image size information Impx is composed of information Imhpx indicating the maximum number of vertical pixels (H) and information Imwpx indicating the maximum number of horizontal pixels (W). 10 Constructions of the other components in the moving picture decoding apparatus 50c according to the seventh embodiment are the same as those in the moving picture decoding apparatus 50a according to the fifth embodiment. 15 Further, a specific construction of the decoding capability judgment unit 506c in the moving picture decoding apparatus 50c according to the seventh embodiment is identical to that of the coding capability judgment unit 108c in the moving picture coding 20 apparatus 10c according to the third embodiment as shown in figure 7. Next, the operation will be described. When the bit stream Bsc is inputted to the moving picture decoding apparatus 50c, the bit stream 25 analyzer 501 initially analyzes the bit stream Bsc, and extracts various kinds of information such as coding mode information Ms, motion vector information MV, and coded data Cd, from the bit stream Bsc. At that time, various kinds of header information included in the 30 header area Hc of the bit stream Bsc are simultaneously extracted, and outputted to the level analyzer 509c, the N:\Mclbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.I Specification 2008-2-11.doc - 106 decoding capability judgment unit 506c, and the maximum reference picture calculator 507a. The level analyzer 509c refers to the table T1 (figure 15) that is held therein, and outputs maximum S intra frame pixel number information Ifpx and storage pixel maximum number information Ispx in accordance with the level signal (level identifier signal) Lst corresponding to header information (code) H1 in the header area Hc. Further, the level analyzer 509c refers 10 to the table T3 (figure 18(a)) that is held therein, and outputs maximum image size information Impx (vertical pixel maximum number information Imhpx and horizontal pixel maximum number information Imwpx) in accordance with an identification number signal Sid corresponding is to header information (a code) H3 in the header area Hb. The maximum intra frame pixel number information Ifpx and the maximum image size information Impx is inputted to the decoding capability judgment unit 506c, while the maximum storage pixel number information Ispx is 20 inputted to the maximum reference picture calculator 507a. Then, the decoding capability judgment unit 506b judges whether decoding of the inputted bit stream Bsc is possible or not, on the basis of the maximum intra 25 frame pixel number information Ifpx and the maximum image size information Impx (vertical pixel maximum number information Imhpx and horizontal pixel maximum number information Imwpx) from the level analyzer 509c, and the input image size information Ipx (input image 30 vertical pixel number information Ihpx and input image horizontal pixel number information Iwpx) that has been extracted from the sequence header by the bit stream N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. I Specification 2008-2-11 .doc - 107 analyzer 501, and outputs a signal indicating the judgement result (judgement result signal) Dsjd to the control unit 510. In this seventh embodiment, the decoding for the 5 bit stream Bsc is performed in accordance with the judgement result signal DSjd in the same manner as the moving picture decoding apparatus 50a of the fifth embodiment. Next, a specific operation of the decoding 10 capability judgment unit 506c in the moving picture decoding apparatus 50c will be briefly described. In the decoding capability judgment unit 506c in the moving picture decoding apparatus 50a according to the seventh embodiment, it is judged whether the 15 decoding for the inputted bit stream Bsc is possible or not, according to the conditional formulas (formula 1), (formula 2a), and (formula 2b). Initially, the decoding capability judgment unit 506c performs the operation indicated by the (formula 1) 20 on the basis of the input image size information Ipx (vertical pixel number information Ihpx and horizontal pixel number information Iwpx) that is outputted from the bit stream analyzer 501, in the same manner as the decoding capability judgment unit 506a according to the 25 fifth embodiment. That is, multiplication for obtaining the product (hxw) of the number of vertical pixels (h) and the number of horizontal pixels (w) in the input image is performed, and comparison between the multiplication result (hxw) and the maximum number of 30 intra frame pixels (Nfpx) (i.e., intra frame pixel number comparison) is performed. N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.I\Specis\P50845.AU.1 Specification 2008-2-11.doc - 108 Then, on the basis of the maximum image size information Impx (vertical pixel maximum number information Imhpx and horizontal pixel maximum number information Imwpx), the decoding capability judgment 5 unit 506c performs comparison between the input image vertical pixel number (h) and the maximum vertical pixel number (H) indicated by the maximum vertical pixel number information Imhpx (i.e., vertical pixel number comparison), and comparison between the input image 10 horizontal pixel number (w) and the maximum horizontal pixel number (W) indicated by the maximum horizontal pixel number information Imwpx (i.e., horizontal pixel number comparison). Then, the final judgement as to the capability 15 or incapability of decoding is performed on the basis of the results of the intra frame pixel number comparison, the vertical pixel number comparison, and the horizontal pixel number comparison. As described above, the moving picture decoding 20 apparatus 50c according to the seventh embodiment includes the level analyzer 509c that decides the maximum number of intra frame pixels (Nfpx) which can be decoded and the maximum number of storage pixels (Nspx) which can be stored in the picture memory 503 and 25 decides the maximum image size (Nmpx) as well as decides the maximum image size (Nmpx), on the basis of the level identifier (level signal) Lst and the identification number signal Sid, which are extracted from the bit stream Bsc by the bit stream analyzer 501, thereby 30 judging whether the decoding for the inputted bit stream Bsc is possible or not on the basis of the maximum intra frame pixel number (Nfpx) and the maximum image size N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. I \Specis\P50845.AU.1 Specification 2008-2- 1 .doc - 109 (Nmpx) which are decided by the level analyzer 509c, and the input image size information Ipx included in the bit stream Bsc, and calculating the number of reference candidate pictures which can be referred to at the inter 5 picture prediction decoding (reference picture maximum number) Nrpn. Therefore, bit streams which can be decoded by the moving picture decoding apparatus among bit streams which have been supplied from the coding end can be determined on the basis of the level identifier, 10 whereby picture prediction decoding corresponding to the picture prediction coding on the coding end can be satisfactorily performed. Accordingly, a memory area of a decoding apparatus that is adapted to the coding method in which there is no restraint on the capacity of 15 the memory area can be designed. In this seventh embodiment, the maximum number of vertical pixels (H) and the maximum number of horizontal pixels (W) are obtained on the basis of the maximum image size information Impx included in the bit 20 stream Bsc. Therefore, the process for obtaining the maximum number of vertical pixels (H) and the maximum number of horizontal pixels (W) is facilitated as compared to the fifth embodiment. In this seventh embodiment, the level identifier 25 corresponding to the maximum intra frame pixel number (Nfpx) and the maximum storage pixel number (Nspx) , and the identification number corresponding to the maximum number of vertical pixels (H) and the maximum number of horizontal pixels (W) are parameters that indicate 30 independent coding conditions, respectively. However, values of the identification number can be correlated with values of the level identifier. N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 110 In this case, specific values of the maximum number of vertical pixels (H) and the maximum number of horizontal pixels (W) are decided together with specific values of the maximum number of intra frame pixels 5 (Nfpx) and the maximum number of storage pixels (Nspx) in accordance with the level signal Lst indicating the level identifier with reference to the tables Ti and T3. That is, when the level signal Lst from the bit stream analyzer 501 is inputted to the level analyzer 509c, the 10 level analyzer 509c outputs information Ifpx and Ispx indicating the intra frame maximum number (Nfpx) and the maximum storage pixel number (Nspx) , respectively, with reference to the table T1 on the basis of the level signal Lst, and further outputs the maximum image size 15 information Impx with reference to the table T3 on the basis of the identification number corresponding to the level identifier. In this case, the bit stream Bsc includes only the code Hc corresponding to the level signal Lst, and thus the identification number signal 20 Sid corresponding to the code H3 is not outputted from the bit stream analyzer 501 to the level analyzer 509c. Further, in the seventh embodiment, the moving picture decoding apparatus analyzes the code Hi of the level identifier corresponding to the maximum intra 25 frame pixel number (Nfpx) and the maximum storage pixel number (Nspx), and the code H3 of the identification number corresponding to the maximum number of vertical pixels (H) and the maximum number of horizontal pixels (W) , then obtains the inter-frame pixel maximum number 30 (Nfpx) and the maximum storage pixel number (Nspx) from the table Ti on the basis of the level identifier obtained by the analysis of the code Hi, and obtains the N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 111 maximum number of vertical pixels (H) and the maximum number of horizontal pixels (W) from the table T3 on the basis of the identification number signal Sid obtained by the analysis of the code H3. However, the moving 5 picture decoding apparatus may analyze a code that is obtained by coding the maximum image size information Impx indicating arbitrary vertical pixel maximum number (H) and horizontal pixel maximum number (W) which are decided by the user, and obtain the maximum image size 10 information Impx directly by the analysis of the code. In this case, decision of specific values of the intra frame maximum pixel number (Nfpx) and the maximum storage pixel number (Nspx) is performed on the basis of the table T1, while decision of specific values of the 15 maximum vertical pixel number (H) and horizontal pixel maximum number (W) is performed by the analysis of the code corresponding to the maximum image size information Impx, without using any table. In other words, when the level signal Lst from 20 the bit stream analyzer 501 is inputted to the level analyzer 509c, the level analyzer 509c outputs information Ifpx indicating the maximum intra frame pixel number (Nfpx) , which is decided on the basis of the table T1, to the decoding capability judgment unit 25 506c, and outputs information Ispx indicating the maximum storage pixel number (Nspx), which is decided on the basis of the table T1, to the maximum reference picture calculator 507a, in accordance with the level signal Lst. Further, the maximum image size information 30 Impx indicating specific values of the maximum vertical pixel number (H) and the maximum horizontal pixel number (W) , which is obtained by the analysis of the code in N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 112 the bit stream analyzer 501 is directly inputted to the coding capability judgment unit 506c. [Embodiment 8] Figure 13 is a block diagram for explaining a 5 moving picture decoding apparatus 50d according to an eighth embodiment of the present invention. The moving picture decoding apparatus 50d of the eighth embodiment receives a bit stream corresponding to plural pictures that constitute a moving picture, and 10 decodes the bit stream in predetermined data processing units, i.e., in units of blocks. More specifically, the moving picture decoding apparatus 50d decodes a bit stream Bsa (figure 14(a)) which is generated by the moving picture coding apparatus 10d according to the is fourth embodiment. However, the bit stream generated by the moving picture coding apparatus 10d of the fourth embodiment has the same data structure as that of the bit stream generated by the moving picture coding apparatus 10a of the first embodiment, and accordingly 20 the moving picture decoding apparatus 50d can also decode the bit stream generated by the moving picture coding apparatus 10a of the first embodiment. That is, the moving picture decoding apparatus 50d according to the eighth embodiment has, in place of 25 the maximum reference picture calculator 507a in the moving picture decoding apparatus 50a according to the fifth embodiment, a maximum reference picture calculator 507d that calculates the maximum number of reference pictures (Nrpn) on the basis of input image size 30 information Ipx (input image vertical pixel number information Ihpx and input image horizontal pixel number N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.l\Specis\P50845.AU.I Specification 2008-2-11.doc - 113 information Iwpx), maximum storage pixel number information Ispx, display wait picture number information Idwp, and outputs information indicating the calculated value (Nrpn) (i.e., reference picture maximum 5 number information) Irpn. Here, the display wait picture number information Idwp is information that indicates the number of display wait pictures, and the display wait picture are decoded pictures which are not employed as 10 reference pictures but whose image data are kept stored in a picture memory of the decoding apparatus until display of these pictures is performed, as described with reference to figure 26. Further, the control of the picture memory according to the eighth embodiment is is performed so that image data of a picture that is not employed as the reference picture is deleted from the picture memory immediately after the display of the picture is finished. Constructions of the other components in the 20 moving picture decoding apparatus 50d according to the eighth embodiment are the same as those in the moving picture decoding apparatus 50a according to the fifth embodiment. A specific construction of the maximum reference 25 picture calculator 507d in the moving picture decoding apparatus 50d according to the eighth embodiment is identical to that of the maximum reference picture calculator 109d in the moving picture coding apparatus 10d according to the fourth embodiment, as shown in 30 figure 9. Next, its operation will be described. N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 114 The operation of the moving picture decoding apparatus 50d according to the eighth embodiment is different from the operation of the moving picture decoding apparatus 50a according to the fifth embodiment 5 only in the operation of the maximum reference picture calculator 507d. Hereinafter, only the operation of the maximum reference picture calculator 507d will be described. The maximum reference picture calculator 507d of 10 the moving picture decoding apparatus 50d according to the eighth embodiment calculates the maximum number of reference candidate pictures which are employed at the inter picture prediction decoding, according to the operation indicated by the (formula 11). 15 That is, in the maximum reference picture calculator 109d, the total number of pixels in one frame (hxw) as the size of the input image is calculated on the basis of the input image vertical pixel number information Ihpx and the input image horizontal pixel 20 number information Iwpx. Next, an operation of dividing the maximum storage pixel number (Nspx) by the multiplication result (hxw) is performed, and an operation of subtracting 1 from the division result (Nspx/(hxw)) is performed. 25 Then, the reference picture maximum number is decided by subtracting the number of display wait pictures (Ndwp) from the subtraction result (Nspx/(hxw) 1). As described above, the moving picture decoding 30 apparatus 50d according to the eighth embodiment includes the level analyzer 509a that decides the N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.I Specification 2008-2-11.doc - 115 maximum number of intra frame pixels which can be decoded (Nfpx), and the maximum number of storage pixels which can be stored in the picture memory 503 (Nspx), on the basis of the level identifier indicated by the level 5 signal Lst which is extracted from the bit stream Bsa by the bit stream analyzer 501, thereby performing judgement as to the capability or incapability of decoding for the inputted bit stream Bsa on the basis of the maximum intra frame pixel number (Nfpx) and the 10 input image size (the number of vertical pixels Nhpx and the number of horizontal pixels Nwpx), as well as calculating the number of reference candidate pictures which can be referred to at the inter picture prediction decoding (reference picture maximum number) Nrpn. 15 Therefore, a bit stream which can be decoded by the moving picture decoding apparatus, among bit streams supplied from the coding end can be determined by the level identifier, thereby satisfactorily performing picture prediction decoding corresponding to the picture 20 prediction coding on the coding end. Accordingly, a memory area in the decoding apparatus corresponding to the coding method in which there is no restraint on the capacity of the memory area can be designed. In this eighth embodiment, the maximum number of 25 reference pictures which are stored in the picture memory is decided in view of the number of display wait pictures (Ndwp). Therefore, the picture memory in which image data of reference candidate pictures are stored can be efficiently utilized depending on the status of 30 processing for image data. Here, in the eighth embodiment, the control of the picture memory is performed so that image data of a N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.I\Specis\P50845.AU.1 Specification 2008-2-11.doc - 116 picture which is not employed as a reference picture are deleted from the picture memory immediately after display of the picture is finished. However, the image data of a picture that is not employed as the reference 5 picture may be deleted in timing other than immediately after the display as described in the eighth embodiment. For example, the control of the picture memory in the eighth embodiment may be performed so that image data of a picture that is stored in the picture memory 10 but is not employed as the reference picture are deleted from the picture memory after a display time of one picture expires after the picture has been displayed. In this case, the image data of the display wait picture are kept stored in the picture memory for a 15 predetermined time period after the picture has been displayed. Further, in the first to eighth embodiments, the moving picture coding apparatus or the moving picture decoding apparatus is implemented by hardware, while the 20 moving picture coding apparatus or the moving picture decoding apparatus may be implemented by software. In this case, by recording a program for executing the coding processing or the decoding processing as described in any of the above embodiments, in a data 25 storage medium such as a flexible disk, the moving picture coding apparatus or the moving picture decoding apparatus can be constructed in an independent computer system. Figures 19 are diagrams for explaining a system which 30 implements the moving picture coding apparatus according to any of the first to fourth embodiments or the moving picture decoding apparatus according to any of the fifth N:\Melbourne\Cascs\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 117 to eighth embodiments, with a computer system, by utilizing a flexible disk that contains the program. Figure 19(b) shows the front view of a flexible disk, the cross-sectional view thereof, and a flexible disk 5 body, and figure 19(a) shows an example of a physical format of the flexible disk as a storage medium body. To be specific, the flexible disk body FD is contained in the flexible disk case F. On the surface of the flexible disk body, plural tracks Tr are concentrically formed from the 10 outer circumference toward the inner circumference. Each track Tr is divided into 16 sectors Se in the angular direction. Accordingly, in the flexible disk in which the above-described program is stored, data of the program are recorded in the sectors assigned onto the flexible disk 15 body FD. Figure 19(c) shows a construction for recording or reproducing the program on/from the flexible disk FD. When the program is written in the flexible disk FD, data of the program supplied from a computer system Cs are 20 written in the flexible disk FD via a flexible disk drive. When the moving picture coding apparatus or the moving picture decoding apparatus is constructed in the computer system Cs using the program recorded on the flexible disk, the program is read from the flexible disk by the flexible 25 disk drive, and loaded onto the computer system. While in the above description a flexible disk is employed as the data storage medium, an optical disk may be employed as the data storage medium. Also in this case, the moving picture coding apparatus or the moving 30 picture decoding apparatus can be implemented by a computer system. Further, the data storage medium is not restricted to the optical disk and the flexible disk. Any medium, such as an IC card or a ROM cassette, may be N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. I \Specis\P50845.AU. 1 Specification 2008-2-1 .doc - 118 employed so long as the program can be stored in the medium. Hereinafter, applications of the moving picture coding apparatus or the moving picture decoding apparatus 5 according to any of the aforementioned embodiments, and systems using the application will be described hereinafter. Figure 20 is a block diagram illustrating an entire construction of a contents provision system 1100 that 10 provides contents distribution services. A communication service providing area is divided into regions (cells) of desired size, and base stations 1107 to 1110 which are each fixed radio stations are established in the cells, respectively. 15 In this contents provision system 1100, various devices such as a computer 1111, a PDA (personal digital assistant) 1112, a camera 1113, a portable phone 1114, and a portable phone with a camera 1200 are connected, for example to the Internet 1101, through an Internet service 20 provider 1102, a telephone network 1104, and the base stations 1107 to 1110. The contents provision system 1100 is not restricted to a system including all of the plural devices shown in figure 20, but may be one including some of the plural 25 devices shown in figure 20. Further, the respective devices may be connected directly to the telephone network 1104, not through the base stations 1107 to 1110 as the fixed radio stations. The camera 1113 is a device that can take moving 30 pictures of an object, like a digital video camera. The portable phone may be a portable phone set according to any of PDC (Personal Digital Communications) system, CDMA (Code Division Multiple Access) system, W-CDMA (Wideband N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11 doc - 119 Code Division Multiple Access) system, and GSM (Global System for Mobile Communications) system, or PHS (Personal Handyphone System). A streaming server 1103 is connected to the camera 5 1113 through the base station 1109 and the telephone network 1104. In this system, live distribution, based on coded data which are transmitted by the user, using the camera 1113 can be performed. The processing for coding data of taken pictures may be carried out by either the 10 camera 1113 or the server that transmits the data. Moving picture data which are obtained by taking moving pictures of an object by means of the camera 1116 may be transmitted to the streaming server 1103 through the computer 1111. The camera 1116 is a device that can take 15 still pictures or moving pictures of an object, such as a digital camera. In this case, coding of the moving picture data can be performed by either the camera 1116 or the computer 1111. Further, the coding processing is carried out by an LSI 1117 included in the computer 1111 20 or the camera 1116. Image coding or decoding software may be stored in a storage medium (a CD-ROM, a flexible disk, a hard disk, or the like), which is a recording medium containing data that is readable by the computer 1111 or the like. 25 Further, the moving picture data may be transmitted through the portable phone with a camera 1200. The moving picture data are data which have been coded by an LSI included in the portable phone 1200. In this contents provision system 1100, contents 30 whose pictures are taken by the user with the camera 1113 or camera 1116 (for example, live video of a music concert) are coded in the same manner as any of the aforementioned embodiments, and transmitted from the N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 120 camera to the streaming server 1103. The contents data are subjected to streaming distribution from the streaming server 1103 to a requesting client. The client may be any of the computer 1111, the PDA 5 1112, the camera 1113, the portable phone 1114 and the like, which can decode the coded data. In this contents provision system 1100, the coded data can be received and reproduced on the client side. When the data are received, decoded, and reproduced in 10 real time on the client side, private broadcasting can be realized. The coding or decoding in the respective devices that constitute this system can be performed using the moving picture coding apparatus or the moving picture decoding 15 apparatus according to any of the aforementioned embodiments. A portable phone will be now described as an example. Figure 21 is a diagram illustrating a portable phone 1200 that utilizes the moving picture coding apparatus and 20 the moving picture decoding apparatus according to any of the aforementioned embodiments. This portable phone 1200 includes an antenna 1201 for transmitting/receiving radio waves to/from the base station 1110, a camera unit 1203 that can take video or 25 still pictures of an object, such as a CCD camera, and a display unit 1202 such as a liquid crystal display for displaying data of the video taken by the camera unit 1203 or video received through the antenna 1201. The portable phone 1200 further includes a main body 30 1204 including plural control keys, a voice output unit 1208 for outputting voices such as a speaker, a voice input unit 1205 for inputting voices such as a microphone, a storage medium 1207 for retaining coded data or decoded N:\Melbourno\Casos\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 121 data such as data of taken moving pictures or still pictures, or data, moving picture data or still picture data of received e-mail, and a slot unit 1206 which enables the storage medium 1207 to be attached to the 5 portable phone 1200. The storage medium 1207 contains a flash memory element as a type of EEPROM (Electrically Erasable and Programmable Read Only Memory) that is an electrically programmable and erasable non-volatile memory contained in 10 a plastic case, like a SD card. The portable phone 1200 will be described more specifically with reference to figure 22. The portable phone 1200 has a main control unit 1241 that performs general control for the respective units of 15 the main body including the display unit 1202 and the control key 1204. The portable phone 1200 further includes a power supply circuit 1240, an operation input control unit 1234, an image coding unit 1242, a camera interface unit 1233, a 20 LCD (Liquid Crystal Display) control unit 1232, an image decoding unit 1239, a multiplexing/demultiplexing unit 1238, a recording/reproduction unit 1237, a modulation/demodulation unit 1236, and an audio processing unit 1235. The respective units of the portable phone 25 1200 are connected to each other via a synchronization bus 1250. The power supply circuit 1240 supplies power from a battery pack to the respective units when a call end/power supply key is turned ON under the control of the user, 30 thereby activating the digital portable phone with a camera 1200 to be turned into an operable state. In the portable phone 1200, the respective units operate under control of the main control unit 1241 that N:\Melbournc\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 122 is constituted by a CPU, a ROM, a RAM and the like. To be more specific, in the portable phone 1200, an audio signal that is obtained by voice inputting into the voice input unit 1205 in a voice communication mode is converted into 5 digital audio data by the audio processing unit 1235. The digital audio data are subjected to a spectrum spread process by the modulation/demodulation circuit 1236, further subjected to a D/A conversion process and a frequency transformation process by the 10 transmission/receiving circuit 1231, and transmitted through the antenna 1201. In this portable phone set 1200, a signal received through the antenna 1201 in the voice communication mode is amplified, and then subjected to a frequency 15 transformation process and an A/D conversion process. The received signal is further subjected to a spectrum inverse spread process in the modulation/demodulation circuit 1236, converted into an analog audio signal by the audio processing unit 1235, and this analog audio signal is 20 outputted through the voice output unit 1208. When the portable phone 1200 transmits electronic mail in a data communication mode, text data of the e-mail that is inputted by manipulation of the control key 1204 on the main body are transmitted to the main control unit 25 1241 via the operation input control unit 1234. The main control unit 1241 controls the respective units so that the text data are subjected to the spectrum spread process in the modulation/demodulation circuit 1236, then subjected to the D/A conversion process and the frequency 30 transformation process in the transmission/receiving circuit 1231, and thereafter transmitted to the base station 1110 through the antenna 1201. When this portable phone 1200 transmits image data in N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.I\Specis\P50845.AU.1 Specification 2008-2-11.doc - 123 the data communication mode, data of a picture taken by the camera unit 1203 are supplied to the image coding unit 1242 via the camera interface unit 1233. When the portable phone 1200 does not transmit the image data, the 5 data of the picture taken by the camera unit 1203 can be displayed directly on the display unit 1202 via the camera interface unit 1233 and the LCD control unit 1232. The image coding unit 1242 includes the moving picture coding apparatus according to any of the 10 aforementioned embodiments. This image coding unit 1242 compressively encodes the image data supplied from the camera unit 1203 by the moving picture coding method according to any of the above embodiments to convert the same into coded image data, and outputs the obtained coded 15 image data to the multiplexing/demultiplexing unit 1238. At the same time, the portable phone 1200 transmits voices which have been inputted to the voice input unit 1205 while the picture has been taken by the camera unit 1203, as digital audio data, to the multiplexing/demultiplexing 20 unit 1238 through the audio processing unit 1235. The multiplexing/demultiplexing unit 1238 multiplexes the coded image data supplied from the image coding unit 1242 and the audio data supplied from the audio processing unit 1235 by a predetermined method. Resultant 25 multiplexed data are subjected to a spectrum spread process in the modulation/demodulation circuit 1236, then further subjected to the DA conversion process and the frequency transformation process in the transmission/receiving circuit 1231, and obtained data are 30 transmitted through the antenna 1201. When the portable phone 1200 receives data of a moving picture file that is linked to a home page or the like in the data communication mode, a signal received N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. 1\Specis\P50845.AU. 1 Specification 2008-2- 1 .doc - 124 from the base station 1110 through the antenna 1201 is subjected to a spectrum inverse spread process by the modulation/demodulation circuit 1236, and resultant multiplexed data are transmitted to the 5 multiplexing/demultiplexing unit 1238. When the multiplexed data that have been received via the antenna 1201 are decoded, the multiplexing/demultiplexing unit 1238 demultiplexes the multiplexed data to divide the data into a coded bit 10 stream corresponding to the image data and a coded bit stream corresponding to the audio data, and the coded image data are supplied to the image decoding unit 1239 and the audio data are supplied to the audio processing unit 1235, via the synchronization bus 1250. 15 The image decoding unit 1239 includes the moving picture decoding apparatus according to any of the aforementioned embodiments. The image decoding unit 1239 decodes the coded bit stream of the image data by the decoding method corresponding to the coding method 20 according to any of the above-mentioned embodiments, to reproduce moving picture data, and supplies the reproduced data to the display unit 1202 through the LCD control unit 1232. Thereby, for example, the moving picture data included in the moving picture file that is linked to the 25 home page is displayed. At the same time, the audio processing unit 1235 converts the audio data into an analog audio signal, and thereafter supplies the analog audio signal to the voice output unit 1208. Thereby, for example, reproduction of the audio data included in the 30 moving picture file that is linked to the home page is performed. The system to which the moving picture coding method and the moving picture decoding method according to any of N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. I\Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 125 the aforementioned embodiments is applicable is not restricted to the above-mentioned contents provision system. Recently, digital broadcasting using satellites or 5 terrestrial waves is talked frequently, and the moving picture coding apparatus and the moving picture decoding apparatus according to the above embodiments is applicable also to a digital broadcasting system 1400 as shown in figure 23. 10 More specifically, a coded bit stream corresponding to video information is transmitted from a broadcast station 1409 to a satellite 1410 such as a communication satellite or a broadcast satellite, via radio communication. When the broadcast satellite 1410 receives 15 the coded bit stream corresponding to the video information, the satellite 1410 outputs broadcasting waves, and these waves are received by an antenna 1406 at home that is provided with satellite broadcast receiving facility. For example, an apparatus such as a television 20 (receiver) 1401 or a set top box (STB) 1407 decodes the coded bit stream, and reproduces the video information. Further, the moving picture decoding apparatus according to any of the aforementioned embodiments can be mounted also on a reproduction apparatus 1403 that can 25 read and decode the coded bit stream recorded on a storage medium 1402 such as a CD or a DVD (recording medium). In this case, reproduced video is displayed on a monitor 1404. The moving picture decoding apparatus may be mounted on the set top box 1407 that is connected to a 30 cable 1405 for cable television or an antenna 1406 for satellite/terrestrial broadcast, to reproduce the output of the moving picture decoding apparatus to be displayed on a monitor 1408 of the television. In this case, the N:\Melbourne\Cases\Patent\50000-50999\P50845.AU. I \Specis\P50845.AU. 1 Specification 2008-2-11 .doc - 126 moving picture decoding apparatus may be incorporated not in the set top box but in the television. A vehicle 1412 having an antenna 1411 can receive a signal from the satellite 1410 or the base station 1107 (see figure 20), 5 and reproduce a moving picture to be displayed on a display device of a car navigation system 1413 or the like which is mounted on the vehicle 1412. Further, it is also possible that an image signal can be coded by the moving picture coding apparatus according 10 to any of the aforementioned embodiments, and recorded in a recording medium. A specific example of a recording device is a recorder 1420 such as a DVD recorder that records image signals on a DVD disk 1421, and a disk recorder that 15 records image signals on a hard disk. The image signals may be recorded on a SD card 1422. Further, when the recorder 1420 includes the moving picture decoding apparatus according to any of the aforementioned embodiments, the image signals which are recorded on the 20 DVD disk 1421 or the SD card 1422 can be reproduced by the recorder 1420 and displayed on the monitor 1408. Here, the structure of the car navigation system 1413 may include, for example, the components of the portable phone shown in figure 22, other than the camera unit 1203, 25 the camera interface unit 1233 and the image coding unit 1242. The same apply to the computer 1111 (see figure 20), or the television (receiver) 1401. Further, as the terminal such as the portable phone 1114 (see figure 20), one of three types of terminals: a 30 transmission-receiving type terminal having both of an encoder and a decoder, a transmission terminal having only an encoder, and a receiving terminal having only a decoder, can be mounted. N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc - 127 As described above, the moving picture coding apparatus or the moving picture decoding apparatus according to any of the aforementioned embodiments is applicable to any of the above-mentioned devices or 5 systems, whereby the effects as described in the above embodiments can be obtained. Further, it goes without saying that the embodiments and their applications of the present invention are not restricted to those shown in this description. 10 Industrial Availability The moving picture coding method and the moving picture decoding method according to the present invention can set the maximum number of intra frame pixels for a 15 picture which can be coded or decoded, at an optimum value selected from plural values that have been set stepwise depending on the coding level, in accordance with the specifications of the apparatus, whereby the memory area of the coding apparatus and the decoding apparatus that 20 are adapted to a coding method in which there is no restraint on the capacity of the memory area can be designed, which is useful in designing the moving picture coding apparatus and the moving picture decoding apparatus. 25 7 In the claims which follow and in the preceding description, except where the context requires otherwise due to express language or necessary implication,, the word "comprise", or variations such as "comprises" or 30 "comprising", is used in an inclusive sense, ie. to specify the presence of the stated features but not to preclude the presence or addition of further features in various embodiments of the invention. N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.I\Specis\P50845.AU.1 Specification 2008-2-11.doc - 128 It is to be understood that the prior art publications referred to herein, do not constitute an admission that that the publication forms a part of the common general knowledge in the art, in Australia or in 5 any other country. N:\Melbourne\Cases\Patent\50000-50999\P50845.AU.1\Specis\P50845.AU.1 Specification 2008-2-11.doc

Claims (5)

1. A method for decoding a code sequence corresponding to a moving picture comprising a plurality of pictures, 5 each picture having a prescribed number of pixels, said method comprising: a level identifier extracting step of extracting a level identifier from the code sequence, the level identifier identifying a coding level which indicates a 10 level of coding processing for the moving picture; and a decoding step of decoding coded data of the moving picture according to the level determined by the level identifier which is extracted by said level identifier extracting step, to generate decoded image data of the 15 moving picture, wherein the level identifier is an identifier that identifies i) a maximum in-frame pixel number which conforms to the coding level, a maximum in-frame pixel number being a maximum pixel number allowed for a picture of the moving 20 picture , and ii) a maximum storage pixel number which conforms to the coding level, the maximum storage pixel number indicating an amount of data that can be stored in a picture memory; wherein a maximum number of candidate reference 25 pictures which can be stored in the picture memory is calculated on the basis of a vertical pixel number and a horizontal pixel number of the moving picture which is to be decoded in said decoding step and the maximum storage pixel number identified by the level identifier; and 30 wherein the vertical pixel number (h) and the horizontal pixel number (w) of the moving picture satisfy the following condition: hxw<a (the maximum in-frame pixel number); where the vertical pixel number (h) is a multiple 35 of 16, and the horizontal pixel number (w) is a multiple of 16. 2230320_1 (GHMatters) -130
2. An apparatus for decoding a code sequence corresponding to a moving picture comprising a plurality of pictures, each picture having a prescribed number of pixels, said apparatus comprising: 5 a level identifier extracting unit operable to extract a level identifier from the code sequence, the level identifier identifying a coding level which indicates a level of coding processing for the moving picture; and 10 a decoding unit operable to decode coded data of the moving picture according to the level determined by the level identifier which is extracted by said level identifier extracting unit, to generate decoded image data of the moving picture; wherein 15 the level identifier is an identifier that identifies i) a maximum in-frame pixel number which conforms to the coding level, a maximum in-frame pixel number being a maximum pixel number allowed for a picture of the moving picture, and ii) a maximum storage pixel number which 20 conforms to the coding level, the maximum storage pixel number indicating an amount of data that can be stored in a picture memory; wherein a maximum number of candidate reference pictures which can be stored in the picture memory is 25 calculated on the basis of a vertical pixel number and a horizontal pixel number of the moving picture which is to be decoded in said decoding unit and the maximum storage pixel number identified by the level identifier; and wherein the vertical pixel number (h) and the 30 horizontal pixel number (w) of the moving picture satisfy the following condition: hxw<= (the maximum in-frame pixel number); where the vertical pixel number (h) is a multiple of 16, and the horizontal pixel number (w) is a multiple of 35 16.
3. A data storage medium that contains a program for 2230320_1 (GHMlers) -131 implementing a process of decoding a code sequence corresponding to a moving picture, where the program makes a computer execute the decoding process according to the moving picture decoding method of claim 1. 5
4. A method for coding a moving picture comprising of a plurality of pictures, each picture having a prescribed number of pixels, said method including: a level identifier output step of selecting a coding 10 level which indicates a level of coding processing for the moving picture and outputting a level identifier for identifying the selected coding level; a coded data generating step of generating coded data of the moving picture by coding the moving picture 15 according to the selected coding level; and a coded sequence generating step of multiplexing the level identifier and the coded data to generate a code sequence; wherein the level identifier is an identifier that identifies 20 i) a maximum in-frame pixel number which conforms to the selected coding level, a maximum in-frame pixel number being a maximum pixel number allowed for a picture of the moving picture, and ii) a maximum storage pixel number which conforms to the selected coding level, the maximum 25 storage pixel number indicating an amount of data that can be stored in a picture memory; wherein said coded data generating step includes a predictive coding step of predictively coding a picture to be coded with reference to a reference picture which has 30 been coded; wherein a maximum number of candidate reference pictures which can be stored in the picture memory is calculated based on a vertical pixel number and a horizontal pixel number of the moving picture which is to 35 be coded and the maximum storage pixel number identified by the level identifier; and wherein the vertical pixel number (h) and the horizontal 22303201 (GHMalters) -132 pixel number (w) of the moving picture satisfy the following condition: hxw<= (the maximum in-frame pixel number); where the vertical pixel number (h) is a multiple of 5 16, and the horizontal pixel number (w) is a multiple of
16. 5. An apparatus for coding a moving picture comprising a plurality of pictures, each picture having a prescribed 10 number of pixels, said apparatus comprising: a level identifier output unit operable to select a coding level which indicates a level of coding processing for the moving picture and outputting a level identifier for identifying the selected coding level; 15 a coded data generating unit operable to generate coded data of the moving picture by coding the moving picture according to the selecting coding level; and a coded sequence generating unit operable to multiplex the level identifier and the coded data to 20 generate a code sequence, wherein the level identifier is an identifier that identifies i) a maximum in-frame pixel number which conforms to the selected coding level, a maximum in-frame pixel number being a maximum pixel number allowed for a picture of the 25 moving picture, and ii) a maximum storage pixel number which conforms to the selected coding level, the maximum storage pixel number indicating an amount of data that can be stored in a picture memory; wherein said coded data generating unit includes a 30 predictive coding unit operable to predictively code a picture to be coded with reference to a reference picture which has been coded; wherein a maximum number of candidate reference pictures which can be stored in the picture memory is 35 calculated based on a vertical pixel number and a horizontal pixel number of the moving picture which is to be coded and the maximum storage pixel number identified 2230320_1 (GHMaters) -133 by the level identifier; and wherein the vertical pixel number (h) and the horizontal pixel number (w) of the moving picture satisfy the following condition: s hxw<= (the maximum in-frame pixel number); where the vertical pixel number (h) is a multiple of 16, and the horizontal pixel number (w) is a multiple of 16. 10 6. A computer-readable storage medium having a computer program stored thereon for causing a computer to execute a moving picture coding method comprising: a level identifier output step of selecting a coding level which indicates a level of coding processing for the 15 moving picture and outputting a level identifier for identifying the selected coding level; a coded data generating step of generating coded data of the moving picture by coding the moving picture according to the selected coding level; and 20 a coded sequence generating step of multiplexing the level identifier and the coded data to generate a code sequence; wherein the level identifier is an identifier that identifies i) a maximum in-frame pixel number which 25 conforms to the selected coding level, the maximum in frame pixel number being a maximum pixel number allowed for a picture of the moving picture, and ii) a maximum storage pixel number which conforms to the selected coding level, the maximum storage pixel number indicating an 30 amount of data that can be stored in a picture memory; wherein said coded data generating step includes a predictive coding step of predictively coding a picture to be coded with reference to a reference picture which has been coded; 35 wherein a maximum number of candidate reference pictures which can be stored in the picture memory is calculated based on a vertical pixel number and a 2230320_1 (GHMatters) -134 horizontal pixel number of the moving picture which is to be coded and the maximum storage pixel number identified by the level identifier; and wherein the vertical pixel number (h) and the s horizontal pixel number (w) of the moving picture satisfy the following condition: hxw<= (the maximum in-f rame pixel number); where the vertical pixel number (h) is a multiple of 16, and the horizontal pixel number (w) is a multiple of 10 16. 7. A moving picture decoding method as claimed in claim 1, and substantially as herein described with reference to the accompanying drawings. 15 8. A moving picture decoding apparatus as claimed in claim 2, and substantially as herein described with reference to the accompanying drawings. 20 9. A moving picture coding method as claimed in claim 4, and substantially as herein described with reference to the accompanying drawings. 10. A moving picture coding apparatus as claimed in claim 25 5, and substantially as herein described with reference to the accompanying drawings. 11. A data storage medium as claimed in claim 3, and substantially as herein described with reference to the 30 accompanying drawings. 12. A computer-readable storage medium as claimed in claim 6, and substantially as herein described with reference to the accompanying drawings. 35 223032_1 (GHuMLers)
AU2008200669A 2002-02-01 2008-02-11 Moving picture coding method and moving picture decoding method Expired AU2008200669B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2008200669A AU2008200669B2 (en) 2002-02-01 2008-02-11 Moving picture coding method and moving picture decoding method

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2002-26197 2002-02-01
JP2002-334422 2002-11-18
AU2003208086A AU2003208086B2 (en) 2002-02-01 2003-01-31 Moving picture coding method and moving picture decoding method
AU2008200669A AU2008200669B2 (en) 2002-02-01 2008-02-11 Moving picture coding method and moving picture decoding method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
AU2003208086A Division AU2003208086B2 (en) 2002-02-01 2003-01-31 Moving picture coding method and moving picture decoding method

Publications (2)

Publication Number Publication Date
AU2008200669A1 AU2008200669A1 (en) 2008-03-06
AU2008200669B2 true AU2008200669B2 (en) 2010-05-13

Family

ID=39243950

Family Applications (1)

Application Number Title Priority Date Filing Date
AU2008200669A Expired AU2008200669B2 (en) 2002-02-01 2008-02-11 Moving picture coding method and moving picture decoding method

Country Status (1)

Country Link
AU (1) AU2008200669B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112348026A (en) * 2020-11-08 2021-02-09 北京工业大学 Magnetic hard disk sequence code identification method based on machine vision

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0771114A2 (en) * 1995-10-26 1997-05-02 Hyundai Electronics Industries Co., Ltd. Method of generating object-adaptive code block patterns
JPH1023423A (en) * 1996-06-28 1998-01-23 Mitsubishi Electric Corp Picture encoder and picture decoder
JPH10271507A (en) * 1997-03-24 1998-10-09 Oki Electric Ind Co Ltd Image decoder

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0771114A2 (en) * 1995-10-26 1997-05-02 Hyundai Electronics Industries Co., Ltd. Method of generating object-adaptive code block patterns
JPH1023423A (en) * 1996-06-28 1998-01-23 Mitsubishi Electric Corp Picture encoder and picture decoder
JPH10271507A (en) * 1997-03-24 1998-10-09 Oki Electric Ind Co Ltd Image decoder

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LINDBERGH: "Updated Profile Framework for JVT Codec", Joint Video Team (JVT) of ISO/IEC MPEG & ITU-TVCEG (ISO/IEG JTC 1/SC29/WG11 and ITU-T SG16 Q.6), January 2002 *

Also Published As

Publication number Publication date
AU2008200669A1 (en) 2008-03-06

Similar Documents

Publication Publication Date Title
US9998756B2 (en) Moving picture coding method and a moving picture decoding method
US7715478B2 (en) Moving picture coding method and moving picture decoding method
AU2008200669B2 (en) Moving picture coding method and moving picture decoding method

Legal Events

Date Code Title Description
FGA Letters patent sealed or granted (standard patent)
PC Assignment registered

Owner name: PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AME

Free format text: FORMER OWNER WAS: PANASONIC CORPORATION

PC Assignment registered

Owner name: GODO KAISHA IP BRIDGE 1

Free format text: FORMER OWNER WAS: PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA

MK14 Patent ceased section 143(a) (annual fees not paid) or expired