WO2004008774A1 - 画像符号化方法及び画像復号化方法 - Google Patents

画像符号化方法及び画像復号化方法 Download PDF

Info

Publication number
WO2004008774A1
WO2004008774A1 PCT/JP2003/008576 JP0308576W WO2004008774A1 WO 2004008774 A1 WO2004008774 A1 WO 2004008774A1 JP 0308576 W JP0308576 W JP 0308576W WO 2004008774 A1 WO2004008774 A1 WO 2004008774A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
picture
picture buffer
memory
area
Prior art date
Application number
PCT/JP2003/008576
Other languages
English (en)
French (fr)
Inventor
Chong Soon Lim
Teck Wee Foo
Sheng Mei Shen
Shinya Kadono
Satoshi Kondo
Makoto Hagai
Kiyofumi Abe
Original Assignee
Matsushita Electric Industrial Co., Ltd.
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 to BR0305432A priority Critical patent/BR0305432A/pt
Priority to DK06122279T priority patent/DK1742479T3/da
Application filed by Matsushita Electric Industrial Co., Ltd. filed Critical Matsushita Electric Industrial Co., Ltd.
Priority to EP20030741225 priority patent/EP1406451B1/en
Priority to SI200330629T priority patent/SI1406451T1/sl
Priority to AU2003281129A priority patent/AU2003281129B2/en
Priority to US10/481,012 priority patent/US7206347B2/en
Priority to CNB038010216A priority patent/CN100361535C/zh
Priority to MXPA04001979A priority patent/MXPA04001979A/es
Priority to DK03741225T priority patent/DK1406451T3/da
Priority to CA2460471A priority patent/CA2460471C/en
Priority to BRPI0305432-2A priority patent/BRPI0305432B1/pt
Priority to DE2003610842 priority patent/DE60310842T2/de
Publication of WO2004008774A1 publication Critical patent/WO2004008774A1/ja
Priority to US11/605,958 priority patent/US7995658B2/en
Priority to US11/976,271 priority patent/US8155206B2/en
Priority to US11/976,272 priority patent/US8189680B2/en
Priority to US11/976,273 priority patent/US8073059B2/en
Priority to US13/461,237 priority patent/US8660192B2/en
Priority to US14/156,986 priority patent/US9088782B2/en
Priority to US14/156,659 priority patent/US9094666B2/en
Priority to US14/156,769 priority patent/US9088781B2/en
Priority to US14/157,032 priority patent/US9088783B2/en
Priority to US14/727,951 priority patent/US9390512B2/en
Priority to US14/727,946 priority patent/US9412177B2/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/18Timing circuits for raster scan displays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • H04N19/126Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • H04N19/517Processing of motion vectors by encoding
    • H04N19/52Processing of motion vectors by encoding by predictive encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/55Motion estimation with spatial constraints, e.g. at image or region borders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/577Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23406Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving management of server-side video buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2360/00Aspects of the architecture of display systems
    • G09G2360/12Frame memory handling

Definitions

  • the present invention relates to an image encoding method for efficiently compressing a moving image and an image decoding method for correctly decoding and displaying the image.
  • multimedia in which audio, images, and other pixel values are handled in an integrated manner, has been approached. It has been taken up as a target.
  • multimedia refers to not only characters but also figures, sounds, and especially images, etc., that are associated simultaneously.However, in order for the above conventional information media to be subject to multimedia, the information must be expressed in digital format. Is an essential condition.
  • the amount of information per character is one or two bytes for characters, while the amount of information per voice is one second.
  • 64Kbits telephone quality
  • lOOMbits per second current television reception quality
  • MPEG Moving Picture Experts Group
  • MPEG-1 is used to transfer moving picture signals up to 1.5 Mbit / s. It is a standard that compresses to 1/100.
  • the transmission speed for the MPEG-1 standard is mainly limited to about 1.5 Mbit / s
  • the MPEG-1 standardized to meet the demand for higher image quality In 2
  • the moving image signal is compressed to 2 to 15 Mbit / s.
  • the working group ISO / IEC JTC1 / SC29 / WG11
  • MPEG-4 Encoding in units ⁇ MPEG-4 has been standardized, which enables decoding and operation, and realizes new functions required in the multimedia age.
  • MPEG-4 was initially aimed at standardizing low-bitrate encoding methods, but is now expanded to more general-purpose encoding, including high-bitrate, including interlaced images. .
  • JVT is the next-generation coding of MPEG-4, jointly by ITU-T and ISO / IEC, is under standardization.
  • FIG. 24 is a diagram showing a prediction structure of a picture, a decoding order and a display order.
  • the term “picture” refers to either a frame or a field. In this specification, the expression “picture” is used instead of a frame or a field. Also, the term image or screen is synonymous with picture.
  • the pictures hatched in FIG. 24 represent pictures that are stored in memory because they are referred to when other pictures are encoded and decoded.
  • inter-picture coding differs from conventional MPEG-1 / 2/4 in that any one of a plurality of coded pictures is selected as a reference picture, and a predicted picture is derived from the reference picture. Can be generated. For example, for a P9 picture, one of three pictures 10, 10, P6, and P6 can be selected and a predicted image can be generated from that picture. This increases the possibility of selecting a more appropriate predicted image than conventional MPEG-1 / 2/4 and improves the compression ratio.
  • Bl, B2, B4, B5, B7, and B8 are inter-picture bi-predictive coded pictures (B pictures). Unlike the prediction of inter-picture prediction pictures, multiple (two) pictures are selected and selected. A predicted image is generated from the picture and encoded. In particular, it is known that by performing interpolation prediction using the average value of two temporally preceding and succeeding pictures as a prediction image, the accuracy of the prediction image can be greatly improved and the compression ratio can be greatly improved.
  • the I-coded picture, the P-coded picture between pictures, and the B-coded bi-predicted picture are assigned to each picture, and the coding method of each picture is distinguished.
  • a temporally backward picture In order to refer to a temporally preceding or succeeding picture in a B picture by predictive coding, a temporally backward picture must be coded and decoded first. This is called picture reordering, and is often done from conventional MPEG-1 / 2/4. Therefore, the order in which the coded stream is decoded and displayed (Display Order) is different from the encoding order (Stream Order), as shown in Fig. 24, which shows the prediction structure of pictures, the decoding order and the display order. Will be sorted. Note that the B picture in the example of Fig. 24 is displayed at the moment when the stream is decoded, so there is no need to store it in memory or the like when it is not referenced from other images.
  • FIG. 25 is a diagram showing a prediction structure of another picture, a decoding order and a display order. In the figure, the difference from FIG. 24 is that picture 6 is not a P picture but an I picture.
  • FIG. 26 is a block diagram of an image encoding device for realizing a conventional image encoding method.
  • the operation of the image coding apparatus that realizes the conventional image coding method of FIG. 26 will be described.
  • the picture structure determination unit PicStruct determines the coding type (I picture, P picture, B picture) of each picture, and instructs the reference picture management unit HefPicCtrl which picture can be referred to by the coding type and coding. It also notifies the picture encoding order to the reordering unit ReOrder.
  • Reordering unit ReOrder rearranges the order of the input picture Picln into the coding order, and outputs the reordered pictures to the motion detection unit ME and the subtraction unit Sub.
  • the motion detection unit ME refers to the picture stored in the picture memory PicMeml, derives an appropriate reference picture and a motion vector MV indicating the pixel position, and obtains the variable-length coding unit VLC and the picture.
  • the picture memory PicMeml outputs the pixels of the reference picture corresponding to the motion vector MV to the motion compensation unit MC, and the motion compensation unit MC predicts from the pixels of the reference picture obtained from the picture memory PicMeml and the motion vector MV. Generate an image.
  • the subtraction unit Sub calculates the difference between the reordered picture and the predicted image using the reordering unit ReOrder, converts the difference into a frequency coefficient using the orthogonal transform unit T, and further converts the frequency coefficient using the quantization unit Q. Quantize and quantize value Coef I do.
  • the inverse quantization unit IQ inversely quantizes the quantized value Coef and restores it to a frequency coefficient. Further, the inverse orthogonal transform unit IT performs inverse frequency conversion from the frequency coefficient to a pixel difference value. In addition unit Add, the predicted image is added to the pixel difference value to obtain a decoded image.
  • the reference picture management unit RefPicCtrl is a decoded picture to be stored in the picture memory PicMeml for reference as a reference picture or released from the picture memory PicMeml according to the encoding type of the picture. ) Judge whether there is a decoded image to be sent, and notify the operation as the memory management command MMCO.
  • the switch SW is turned ON when the storage of the decoded image is instructed by the memory management command MMCO, and the decoded image is stored as a reference picture in the picture memory PicMeml.
  • the picture memory PicMeml is the area where the decoded image is stored. And other decoded images can be stored in the area.
  • the variable-length coding unit VLC codes the quantization value Coef, the motion vector MV, and the memory management command MMCO, and outputs the coding stream Str.
  • encoding with frequency conversion and quantization has been shown, but encoding without frequency conversion and quantization (DPCM, ADPCM, linear predictive coding, etc.) may be used.
  • coding in which frequency conversion and quantization are integrated, or coding that does not involve quantization after frequency conversion, such as bit plane coding, may be used.
  • Figure 27 shows a code example of the memory management command MMCO.
  • Encoding ⁇ At the beginning of decoding and at the beginning of GOP, to initialize the picture memory, the variable length coding unit VLC encodes '000' which means that all memory is released. When storing the decoded image in the picture memory, the variable-length coding unit is used. The VLC encodes '0'. When releasing a picture stored in the picture memory, the picture number to be released must be indicated, so the variable length coding unit VLC codes the picture number to be released next to '00'. When releasing a plurality of pictures at the same time, the release command must be coded several times. In addition to the command to release the picture, the command to save the picture may be coded. Therefore, the variable length coding unit VLC continuously codes a plurality of memory management commands MMCO, and finally codes T indicating that the memory management command MMCO is completed. As described above, the memory management command MMCO is encoded into the encoding stream Str.
  • FIG. 28 is a block diagram of an image decoding device that realizes a conventional image decoding method.
  • devices that perform the same operations as those in the block diagram of the image coding apparatus that realizes the conventional image coding method of FIG.
  • the variable-length decoding unit VLD decodes the coded stream Str and outputs the memory management command MMCO, motion vector MV, and quantization value Coef.
  • the picture time Time is a signal that is input from outside and specifies the picture to be displayed. If the picture to be displayed is the decoded picture, the output of the addition unit Add is selected by the selector Sel and sent to the display unit Disp. If the picture to be displayed is a picture stored in the picture memory PicMeml, it is read from the picture memory PicMeml, selected by the selector Sel, and sent to the display unit Disp.
  • the picture memory PicMeml outputs the pixel corresponding to the motion vector MV to the motion compensation unit MC, and the motion compensation unit MC outputs the pixel and the motion vector MV obtained from the picture memory PicMeml.
  • a predicted image is generated from.
  • the inverse quantization unit IQ inversely quantizes the quantized value Coef and restores it to a frequency coefficient.
  • the inverse orthogonal transform unit IT performs inverse frequency conversion from the frequency coefficient to a pixel difference value.
  • the addition unit Add adds the prediction image to the pixel difference value to obtain a decoded image.
  • the picture memory PicMeml releases the area where the decoded picture is stored and releases other decoded pictures. Images can be saved in the area.
  • inverse frequency transformation / decoding without inverse quantization may be used.
  • inverse frequency transform and inverse quantization may be integrated, or decoding such as bit-plane encoding that does not involve inverse quantization after frequency transform may be used.
  • FIG. 1 is a diagram showing a prediction structure, a decoding order, and a display order of a picture, which are not present in the related art.
  • the prediction structure of B picture differs before and after picture 4. That is, the B picture of picture 2 is stored and referred to as the predicted pictures of picture 1 and picture 3.
  • the encoding order and display order of each picture are as shown in Fig. 1.
  • pictures 5 and 6 are not saved because they are not referenced in predictive coding: they are B pictures.
  • they are B pictures.
  • at the time of decoding it is the display time of another picture, and it is not yet the display time. No. That is, at the time of decoding picture B5, picture P4 must be displayed, and at the time of decoding picture B6, picture B5 must be displayed.
  • picture B5 and picture B6 are not stored, picture B5 and picture B6 cannot be output from the picture memory at the display time. Therefore, pictures that are not referred to in the predictive coding are not stored in the picture memory, so that pictures B5 and pictures B6 cannot be decoded and displayed by the conventional coding and decoding methods. That is, as in the example shown in FIG. 24, in the case where the pictures not referred to in the predictive coding are not stored, only the picture 0, the picture 1, the picture 2, the picture 4, and the picture 7 can be displayed.
  • FIG. 2 is a diagram showing the picture prediction structure ⁇ decoding order and display order. 25 the difference from FIG. 25 is that the prediction structure before and after picture 7 is completely independent.
  • a GOP group-of-picture
  • an object of the present invention is to prevent the occurrence of a picture that cannot be decoded and displayed while taking into account the amount of memory required for encoding or decoding an image. Disclosure of the invention
  • an image encoding method includes an image encoding method that predictively encodes an input image while referring to an image held in a picture buffer, and decodes the encoded input image. Determining whether the decoded image is an image for reference and an image for output that needs to be held until a display time based on the decoded image. An image for output is stored in the picture buffer.
  • the image encoding method includes: a first determining step of determining whether the decoded image is a reference image; and holding the decoded image not for reference but until the display time. A second determination step of determining whether the image is a necessary output image, and an image determined to be a reference image in the first determination step is held in the picture buffer.
  • the image buffer may be configured to have a management step of managing the picture buffer so that the image determined to be an output image is stored in the picture buffer. No.
  • the decoded image in addition to determining whether the decoded image is a reference image, it is also determined whether the decoded image is an output image, and the decoded image is not referred to in prediction encoding in addition to the reference image.
  • Images that cannot be displayed or output at the same time as decoding are stored in the picture buffer as output images. Since such determination and picture buffer management are performed at the time of image encoding to verify the decoding operation, an image for output can be reliably displayed or output at the display time in the decoding device.
  • the picture buffer has a fixed size
  • the image encoding method further includes a third determination step of determining whether or not the reference image held in the picture buffer has been referred to. And a fourth determining step of determining whether or not the output image held in the picture buffer has been output.
  • a third and a fourth determining step are performed. Based on each determination result in the image buffer, the area holding the image in the picture buffer within the range of the fixed size may be reused.
  • the picture buffer Since the image for reference and the image for output are stored by reusing the area holding the image within a certain size range, the memory is wasted.
  • the size of the decoded image picture buffer can be reduced to a minimum necessary size.
  • the image encoding method is configured such that, for each sequence of a plurality of encoded images, the size that is constant in encoding the sequence is It may have an encoding step of encoding the information shown.
  • the type of image used in predictive coding can be flexibly determined for each sequence.
  • a new image type is stored in the picture buffer. If there is no area that can store the image, it is output in the fourth judgment step. In the area holding the output image determined to be completed, the image determined to be the reference image in the first determination step and the reference image in the second determination step are displayed. Any of the determined images may be stored.
  • a new image is stored in an area of the output image area stored in the picture buffer where an already output image is stored. That is, since the area in which the output image is stored is reused, it is possible to more reliably display the decoded image that has not been output.
  • the managing step if there is no area in the picture buffer in which a new image can be stored, the area holding the oldest image in the display order among the output images stored in the picture buffer.
  • a configuration may be employed in which one of the image determined as the reference image in the first determination step and the image determined as the output image in the second determination step is held.
  • the output decoded image is stored in the area where the oldest image is stored in the display order among the output images, so that the display time of each decoded image can be accurately determined. Even if the configuration does not judge, it is possible to more reliably display the decoded image that has not been output.
  • the image encoding method may further include, when the size of the input image is changed in the middle of the sequence including the plurality of encoded images, in the area holding the image for output before the size change.
  • An arrangement may be made to have an opening step for opening an area other than the area holding the image in which all or part of the image has not been changed after storage.
  • the decoded image for output can be left in the decoded image picture buffer, so that it is possible to output as much as possible without deleting images that have not been output at the time of the size change. it can.
  • a picture that could not be displayed correctly in the past can be displayed by effectively utilizing an open memory area without having an extra memory. The value is high.
  • the image decoding method, image encoding device, image decoding device, and program of the present invention also have the same configuration, operation, and effect as described above.
  • the image encoding method or the image decoding method of the present invention can have any one of the following configurations (1) to (16).
  • An image encoding method comprising:
  • An image coding method for predictively coding an image signal with reference to a decoded image wherein a predicted image is generated by referring to a decoded image from a memory, and the predicted image and the predicted image The difference between the image signals is encoded to form an encoded stream, the difference between the encoded predicted image and the image signal is decoded, and the predicted image is added to obtain a decoded image.
  • An image coding method for predictively coding an image signal with reference to a decoded image wherein a predicted image is generated by referring to a decoded image from a memory, and the predicted image and the predicted image The difference between the image signals is coded to form a coding stream, and the difference between the coded predicted image and the image signal is decoded to form the predicted stream.
  • the measured image is added to obtain a decoded image, and the decoded image is stored in the memory.
  • An unnecessary image is released from the memory.
  • the decoded image is stored in the memory, the decoded image is released in the memory.
  • a predicted image is generated by referring to the decoded image from the memory, and the predicted image is added to an image signal obtained by decoding the encoded stream to obtain a decoded image. Storing the image in memory;
  • An image decoding method comprising:
  • An image decoding method for predicting and decoding an encoded stream with reference to a decoded image wherein a predicted image is generated by referring to a decoded image from a memory, and When the decoded image is added to the predicted image and the predicted image is added to obtain a decoded image.
  • the decoded image is stored in the memory, the unnecessary image is released from the memory, and the decoded image is stored in the memory.
  • An image encoding method for predictively encoding an image signal with reference to a decoded image wherein a predicted image is generated by referring to a decoded image from a memory, and the predicted image and the predicted image are generated.
  • the difference between the image signals is encoded to form an encoded stream, the difference between the encoded predicted image and the encoded image signal is decoded, and the predicted image is added to obtain a decoded image. Is stored in the memory or an unnecessary image is released from the memory, and the decoded image is stored in the memory.
  • An image decoding method for predicting and decoding an encoded stream by referring to a decoded image wherein a predicted image is generated by referring to the decoded image from a memory, and the encoded stream is generated.
  • the decoded image is added to the predicted image to obtain a decoded image.
  • the unnecessary image stored in the memory is released from the memory, and the decoded image is stored in the memory.
  • An image decoding method in which an image at the oldest time in an open area in the memory is stored in the area where the image was stored.
  • An image coding method for predictively coding an image signal with reference to a decoded image wherein a predicted image is generated by referring to a decoded image from a memory, and the predicted image and the predicted image The difference between the image signals is encoded to form an encoding stream, the difference between the encoded predicted image and the image signal is decoded, and the predicted image is added to obtain a decoded image.
  • An image decoding method for predicting and decoding an encoded stream with reference to a decoded image wherein the encoded stream is referred to from a memory to generate a predicted image, and When the decoded image is stored in the memory and the unnecessary image is released from the memory, and the decoded image is stored in the memory, the decoded image is stored in the memory.
  • An image encoding device that predictively encodes an image signal with reference to a decoded image, comprising: a prediction unit configured to generate a predicted image by referring to the decoded image from a memory; Sign the difference between the predicted image and the image signal Encoding means for converting the prediction image into an encoded stream; decoding means for decoding the difference between the encoded predicted image and the image signal; and the predicted image and the image signal decoded by the decoding means.
  • An image coding apparatus comprising a memory means for storing the addition result of the adding means in the memory based on the judgment of the means.
  • An image encoding device that predictively encodes an image signal with reference to a decoded image, wherein the prediction unit generates a predicted image by referring to the decoded image from a memory.
  • the addition result of the addition means is an open area in the memory and has already been output to the outside as a decoded image by the decoding device.
  • the image is saved
  • An image coding apparatus comprising a memory means for storing data in an area which has been stored.
  • An image decoding apparatus for predictively decoding an encoded stream with reference to a decoded image, comprising: decoding means for decoding the encoded stream; Prediction means for generating a prediction image by referring to an image from a memory; addition means for adding the difference between the prediction image and the image signal decoded by the decoding means and the prediction image; and the addition result of the addition means
  • Reference image management means for determining that unnecessary images stored in the memory are to be released from the memory, and the addition result of the addition means based on the determination of the reference image management means in the released area in the memory. The image that has been output to the outside as a decoded image is saved.
  • An image decoding apparatus provided with a memory means for storing data in an area where the image was stored.
  • An image encoding device that predictively encodes an image signal with reference to a decoded image, wherein the prediction unit generates a predicted image by referring to the decoded image from a memory.
  • Equipment Image encoding apparatus Equipment Image encoding apparatus.
  • An image decoding device that predicts and decodes an encoded stream with reference to a decoded image, comprising: decoding means for decoding the encoded stream; and decoding the decoded image from a memory.
  • a prediction unit for generating a prediction image by referring to the prediction unit; an addition unit for adding the difference between the prediction image and the image signal decoded by the decoding unit and the prediction image;
  • a reference image management unit that determines to release the unnecessary image from the memory that has not been used, and the addition result of the addition unit based on the determination of the reference image management unit in a released area in the memory.
  • An image decoding apparatus comprising a memory means for storing the oldest image in an area where the oldest image was stored.
  • An image encoding device that predictively encodes an image signal with reference to a decoded image, wherein the prediction unit generates a predicted image by referring to the decoded image from a memory.
  • An image coding apparatus comprising a memory means for storing the addition result of the adding means in an open area in a memory in an area in which the order of release is earlier based on the judgment of the reference image management means.
  • An image decoding device for predictively decoding an encoded stream with reference to a decoded image, comprising: decoding means for decoding the encoded stream; and a memory for storing the decoded image in a memory.
  • Prediction means for generating a prediction image by referring to the following; addition means for adding the difference between the prediction image and the image signal decoded by the decoding means and the prediction image; and an addition result of the addition means in a memory.
  • a reference image management unit that determines to release the stored unnecessary image from the memory, and an area in the memory where the addition result of the addition unit is released based on the determination of the reference image management unit.
  • An image decoding apparatus provided with a memory means for storing data in an area in which opening order is earlier.
  • a storage medium storing a program for causing a computer to execute the image encoding method and the image decoding method of the present invention may be any one of the following (17) to (23).
  • the above-mentioned program is an image coding method for causing a computer to predictively code an image signal by referring to a decoded image, and generates a predicted image by referring to the decoded image from a memory.
  • the predicted difference between the predicted image and the image signal is encoded to form an encoded stream, the difference between the encoded predicted image and the image signal is decoded, and the predicted image is added to form a decoded image.
  • An image encoding method for storing an image referred to for generating a predicted image and an image that cannot be displayed immediately, the image being stored in the memory.
  • An image encoding method for causing a computer to predictively encode an image signal with reference to a decoded image, wherein the program generates a predicted image by referring to the decoded image from a memory, Encoding the predicted difference between the predicted image and the image signal into an encoded stream; decoding the difference between the encoded predicted image and the image signal; adding the predicted image to form a decoded image;
  • the decoded image is stored in the memory, an unnecessary image is released from the memory, and when the decoded image is stored in the memory, the decoded image is displayed in an open area in the memory.
  • the above program is an image decoding method for causing a computer to predict and decode an encoded stream with reference to a decoded image, and generates a predicted image by referring to the decoded image from a memory. Decoding the encoded stream, adding the predicted image to a decoded image, storing the decoded image in the memory or releasing an unnecessary image from the memory, and storing the decoded image in the memory.
  • An image decoding method for storing an image in an area where an image displayed in an open area in the memory is stored when the image is stored.
  • the above-mentioned program is an image coding method for causing a computer to predictively code an image signal with reference to a decoded image, and generates a predicted image by referring to the decoded image from memory.
  • the predicted difference between the predicted image and the image signal is encoded to form an encoding stream, and the difference between the encoded predicted image and the image signal is decoded, and the predicted image is added to the decoded image.
  • the decoded image is stored in the memory, the unnecessary image is released from the memory, and when storing the decoded image in the memory, the image at the oldest time in the released area in the memory is released.
  • the above program is an image decoding method for causing a computer to predict and decode an encoded stream with reference to a decoded image, and generates a predicted image by referring to the decoded image from a memory. Decoding the encoded stream and adding the predicted image to obtain a decoded image; storing the decoded image in the memory or releasing an unnecessary image from the memory; When storing the decoded image, an image decoding method for storing the image in an area where the oldest image is stored in an open area in the memory is performed.
  • the above-mentioned program is an image encoding method for causing a computer to predictively encode an image signal with reference to a decoded image, and generates a predicted image by referring to the decoded image from a memory.
  • the predicted difference between the predicted image and the image signal is encoded to form an encoded stream, and the difference between the encoded predicted image and the image signal is decoded and the predicted image is added to form a decoded image.
  • the decoded image is stored in the memory, the unnecessary image is released from the memory, and when the decoded image is stored in the memory, the decoded image is stored in the first storable area opened in the memory.
  • a storage medium for performing an image encoding method is performed by a computer to predictively encode an image signal with reference to a decoded image, and generates a predicted image by referring to the decoded image from a memory.
  • the predicted difference between the predicted image and the image signal is encoded to form an encoded stream, and the difference between the encode
  • the above program is an image decoding method for causing a computer to predictively decode an encoded stream with reference to a decoded image, and generates a predicted image by referring to the decoded image from a memory.
  • the encoded stream is decoded, the predicted image is added to the decoded image to obtain a decoded image, the decoded image is stored in the memory or an unnecessary image is released from the memory, and the decoded image is stored in the memory.
  • a storage medium characterized by causing an image decoding method to be stored in a storable area opened first in the memory when the image is stored.
  • a stream and an image decoding device may be any one of the following (A 1) to (A 26).
  • (A1) An image coding method that defines a memory constraint for a stream and an image decoding device, the step of determining the maximum number of reference pictures that can be used, and the maximum number of backward prediction reference pictures. Setting the maximum number of backward prediction reference pictures in a stream header; generating a virtual display delay buffer; generating a display counter; and Allocating sufficient storage space for: and encoding the video.
  • the virtual display delay buffer is a virtual buffer corresponding to each display picture to be stored in the display area secured in the memory in the image encoding device, and the output of the display picture is provided.
  • the information (picture order number, etc.) indicating the order of execution is stored.
  • Display ⁇ The counter stores and updates the picture sequence number of the picture to be virtually output to the display.
  • the sufficient storage space refers to an area for storing reference pictures and display pictures.
  • the image encoding method includes the steps of: predicting an encoding target picture using an available reference picture; encoding the encoding target picture; and using the encoded picture for prediction. Determining whether or not the decoded picture is to be decoded, decoding the encoded picture, storing the decoded picture in the reference picture buffer, and updating the virtual display delay buffer. (A1). The image encoding method according to (A1), further comprising: updating the display.
  • (A12) storing the decoded picture comprises: determining a memory constraint condition of the number of reference pictures for a next picture; and removing unused reference pictures from the reference picture-buffer.
  • the maximum number of reference pictures for the next picture is equal to the maximum number of reference pictures for the stream minus the number of pictures of the virtual-display delay buffer, (A1), ( A8), (A10) or (A
  • (A1) The display order information of the unused reference picture for the display is moved to a virtual 'display delay buffer if the display order information for the display is larger than the value of the display counter. (A1) , (A8), (A10) or (A12).
  • the virtual 'display delay buffer stores the temporal information of the picture when the display order information is larger than the value of the display 1 counter (A1) or (A8). ).
  • the virtual 'display delay buffer removes the display order information of the picture when the display order information is equal to or less than the value of the display ⁇ counter. (A1), (A1) 8) or the image encoding method according to (A15).
  • the number of pictures in the virtual ⁇ display delay buffer is defined by the total number of display order information of pictures present in the virtual ⁇ display delay buffer, (A 1), (A 8), The image encoding method according to (A10), (A12) or (A13).
  • the display ⁇ The display order information of the display counter starts updating when the virtual ⁇ display delay buffer is full or when the number of coded pictures is equal to the maximum number of reference pictures.
  • the display order information of the display 'counter is The image encoding method according to (A1), (A8) or (A18), which is updated based on display order information of each encoded picture after the ray and the counter start updating.
  • the image decoding apparatus for the image coding apparatus includes: a maximum boss from a stream-header; a decoder; a buffer; a step of determining a size; and a minimum number of required reference pictures. Allocating sufficient physical memory space to a reference picture, decoding the stream, and outputting the stream.
  • (A2 2) The minimum number of required reference pictures is fixed for the level of capability of the image decoding device that can decode the same stream, either (A 1) or (A 20) Image coding method as described in the above.
  • the physical memory space allocated by the image decoding apparatus can be used to store both reference pictures and pictures.
  • the decoding is performed when the number of decoded pictures is equal to the maximum post-decoder ⁇ buffer 'size minus 1 or the total number of decoded pictures is a reference picture.
  • the method for decoding a stream in the image decoding apparatus of the present invention based on the stream and the memory constraint for the image decoding apparatus is described in any one of the following (A27) to (A37). It may be.
  • a method for decoding a stream based on a memory constraint for a stream and an image decoding apparatus comprising: a step of determining a maximum number of reference pictures used for the stream; Determining the maximum possible number of backward predicted reference pictures; calculating the minimum size of the post ⁇ decoder ⁇ buffer; allocating sufficient physical memory space to the reference picture ⁇ buffer; ⁇ Decoder 'allocating sufficient physical memory space to the buffer, decoding the stream, and reference picture. ⁇ Storing the decoded picture in the buffer. Storing a decoded picture in a 'decoder' buffer; and outputting the decoded picture.
  • Image decoding method here, the “boss”, “decoder”, and “buffer” mean a display area in a reference picture memory in the image decoding apparatus.
  • the minimum size of the post 'decoder' buffer is defined as the maximum possible number of backward prediction reference pictures minus one, (A2 The image decoding method according to 7).
  • the post-decoder ⁇ The image decoding method according to (A27), (A30) or (A31), wherein the buffer is used for storing a non-reference picture. .
  • the reference picture is removed from the reference picture buffer when it is determined to be a non-reference picture, described in (A27), (A32) or (A33). Image decoding method.
  • FIG. 1 shows a diagram showing the picture prediction structure ⁇ decoding order and display order.
  • FIG. 2 is a diagram showing a prediction structure of a picture, a decoding order, and a display order.
  • FIG. 3 is a block diagram (Embodiment 1) of an image encoding device that realizes the image encoding method of the present invention.
  • FIG. 4 is a flowchart (Embodiment 1) showing the operation of the reference picture management unit of the present invention.
  • Figures 5 (a), (b) and (c) are state diagrams showing the state of storing pictures in memory.
  • FIG. 6 shows a flowchart (Embodiment 2) showing the operation of the image coding apparatus of the present invention.
  • FIG. 7 shows a flowchart (Embodiment 3) showing the operation of the image coding apparatus of the present invention.
  • FIG. 8 shows a flowchart (Embodiment 4) showing the operation of the image coding apparatus of the present invention.
  • FIG. 9 shows a block diagram (Embodiment 5) of an image decoding device for realizing the image decoding method of the present invention.
  • FIG. 10 is a flowchart (Embodiment 5) showing the operation of the image decoding apparatus according to the present invention.
  • FIG. 11 is a flowchart (Embodiment 5) showing another operation of the image decoding apparatus according to the present invention.
  • FIG. 12 is a flowchart (Fifth Embodiment) showing still another operation of the image decoding apparatus according to the present invention.
  • FIG. 13 is a flowchart (Embodiment 5) showing still another operation of the image decoding apparatus according to the present invention.
  • FIG. 14 shows a block diagram of the use of a virtual ⁇ display delay buffer for an image encoding device.
  • FIG. 15 shows a block diagram of the present invention in the processing of a post ⁇ decoder ⁇ buffer operation in encoding.
  • FIG. 16 shows a block diagram of the present invention in the processing of the buffer decoder and the buffer operation in decoding.
  • FIG. 17 shows an example of using a virtual display delay buffer in an image encoding device to limit the maximum number of reference pictures.
  • Figure 18 shows an example of using a virtual display delay buffer to determine the time to display the first picture.
  • FIG. 19 is an explanatory diagram (Embodiment 7) of a storage medium for storing a program for realizing the image encoding method and the image decoding method of each of the above embodiments by a computer system.
  • FIG. 20 is a block diagram (Embodiment 8) showing the overall configuration of the content supply system.
  • FIG. 21 is an external view (Embodiment 8) showing an example of a mobile phone using the image encoding method and the image decoding method.
  • FIG. 22 shows a block diagram of a mobile phone (Embodiment 8).
  • FIG. 23 shows a configuration diagram (Embodiment 8) showing an example of a digital broadcasting system.
  • FIG. 24 is a diagram showing the prediction structure of a picture ′ decoding order and display order.
  • FIG. 25 is a diagram showing a prediction structure of a picture, a decoding order, and a display order.
  • FIG. 26 is a block diagram of an image encoding device that realizes a conventional image encoding method.
  • FIG. 27 is a correspondence diagram showing a code example of the memory management command MMCO.
  • FIG. 28 shows a block diagram of an image decoding apparatus that realizes a conventional image decoding method.
  • Embodiment 1 of the present invention will be described.
  • FIG. 3 is a block diagram of an image encoding device that implements the image encoding method of the present invention.
  • devices that perform the same operations as those in the block diagram of the image coding apparatus that realizes the conventional image coding method of FIG.
  • the image coding apparatus 100 shown in FIG. 3 newly obtains the picture size changed from the outside, and obtains the coding type (I picture, P picture) of each picture from the picture structure determination unit PicStruc. , B picture), and a picture size change unit PicSize that outputs information indicating the picture size to be changed to the reference picture management unit RefPicCtrl at the timing of the I picture.
  • the display picture management unit DispPicCtrl obtains the picture time Time, and determines whether or not a picture that cannot be saved because it is not referenced can be displayed immediately (whether it is necessary to store the picture time until the display time).
  • the picture time Time is a signal that is input from the outside and specifies the picture to be displayed.
  • To obtain the picture time for example, It may be obtained from time information output by a system for transmission on a transmission path, or may be obtained from time information in a format for multiplexing a video stream and an audio stream, or Alternatively, it may be obtained from the time information in the format of the video stream. In addition, these may be either absolute times in which the time is known for each picture, or relative times in which the time before or after the time is known between the pictures. Further, since the display intervals of pictures are usually fixed, the display order of pictures may be considered as the time.
  • the case where the display is possible immediately is the case where the picture obtained by the addition by the adder Add matches the picture to be displayed indicated by the picture time Time. In this case, there is no picture in the picture memory PicMem2 that should not be displayed and should be displayed before the picture input for encoding. If it cannot be displayed immediately, the display picture management unit DispPicCtrl instructs the reference picture management unit RefPicCtrl so that even images that are not referenced are saved in the picture memory PicMem2. As a result, pictures that are not immediately displayed are always stored in the picture memory PicMem2 regardless of the presence or absence of reference, and the picture can be displayed from the picture memory PicMem2 in the decoding device.
  • FIG. 4 is a flowchart of the operation of the reference picture management unit RefPicCtrl in the present invention.
  • Step 10 It is determined whether or not the decoded picture (picture) should be saved for reference as a predicted picture (Step 10). If so, go to Step l2, otherwise go to Step ll.
  • Step ll it is determined whether or not the decoded image can be displayed immediately.
  • Immediately displayable means that the image can be displayed as it is at the time of decoding (for example, picture 1 in Fig. 1). (For example, B5 shown in Fig. 1). If it can be displayed immediately, the process ends, otherwise, go to Step l2.
  • Step l2 the storable area is acquired from the picture memory PicMem2, and the memory management command MMCO is instructed to save the decoded image in the picture memory PicMem2 area acquired in Stepl3.
  • pictures that are not immediately displayed can be stored in the picture memory PicMem2, and the pictures can be displayed from the picture memory PicMem2 when the display time comes.
  • a picture that needs to be saved for display can be saved in a reference picture memory without requiring an extra picture memory for display.
  • 5 (a), 5 (b) and 5 (c) are state diagrams showing the state of storing pictures in the memory step by step.
  • pictures 200a, 200b, and 200c are reference pictures stored for reference (pictures referenced for generating a predicted image)
  • picture 20 1a, 201b, 201c, 201d and 201e are display pictures (non-display pictures) stored for display.
  • Pictures 201a, 201b, 201c, 201d, and 201e are displayed in this order.
  • FIG. 5 (a) shows a state in which all the memory areas storing the reference pictures 200a, 200b, and 200c are released and made reusable. ing.
  • Fig. 5 (b) the picture size was changed after the state shown in Fig. 5 (a), and the picture size was changed to be larger in the memory area where reference picture 200a was saved.
  • the reference picture 202a is stored, and the display picture 201a is displayed to show a state where the memory area is opened.
  • Fig. 5 (c) after the state shown in Fig. 5 (b), the memory area where the display picture 201b is saved is further released, and the display pictures 201a and 201b are saved.
  • a new reference picture changed to increase the picture size
  • pictures with different picture sizes are mixed in the memory (the reference picture changed to increase the picture size and the undisplayed display picture before the size change). become.
  • the picture size change unit PicSize shown in Fig. 3 is determined by the picture structure determination unit PicStruct and the coding type (I picture, P picture, B picture) of each picture, Outputs a command to change the picture size at the timing of the I-picture based on the picture size and to the reference picture management unit RefPicCtrl.
  • This I picture is, for example, a special I picture (IDR picture) inserted at the beginning of the GOP.
  • the second method is to release the entire area of the memory so as to give up the undisplayed display picture, or to use the reference picture in which the reference picture is stored.
  • the image decoding device decoder
  • the image decoding apparatus for an undisplayed picture, A displayable picture such as a character is displayed in the display order.
  • indication information indicating whether to perform the method of releasing the entire area of the memory or the method of releasing only the reference area in which the reference picture is stored, or other information.
  • Information that can be identified is included in the stream Str output from the image encoding device 100 and is arranged.
  • the image decoding device performs processing based on the instruction information arranged in the stream.
  • Examples of the criteria for switching between the two methods indicated by the instruction information are: the application creator decides which method to use, or the reference area if there is enough memory. Do not release only the display area where undisplayed display pictures are saved (do not release the entire memory area), or reduce the picture size. If it is changed, it is considered that only the reference area is released and the display area storing the undisplayed display picture is not released (the entire memory area is not released). Can be
  • Embodiment 2 of the present invention will be described.
  • the display picture management unit DispPicCtrl shown in ⁇ 3 saves a picture in the opened memory to the picture memory PicMem2, the picture is not displayed in the area of the picture not displayed. Instructs not to save the new picture. Normally, even if a picture area is released, the previously saved picture can be played back unless a new picture is saved (overwritten) in that area. Therefore, even if the memory area where the picture not displayed is stored is released, the new picture is not stored in that memory area, and the new picture is stored in the area where the displayed picture is stored. By saving, it is possible to display undisplayed pictures that have been released but have not been overwritten yet when the display time comes.
  • FIG. 6 is a flowchart showing the operation of the image coding apparatus 100 in the present embodiment.
  • the present embodiment is characterized in that the storage of a picture is determined based on whether or not the picture stored in the memory in the open area has been displayed.
  • Step 20 it is determined whether or not the decoded image is to be stored in the picture memory PicMem2 based on the instruction of the memory management command MMCO.
  • Step 21 When storing acquires the opened picture area (Step 21), pictures are stored to confirm whether the already displayed in the released picture area (Ste P 22). If not, the process returns to Step 21 and repeats the process until an open area in which the displayed picture is stored is found. If the open area where the displayed picture is stored is found, the decoded image is stored in that area (Step 23).
  • Whether or not the picture stored in the memory has been displayed can be determined by managing information on whether or not the picture has been displayed by the display picture management unit DispPicCtrl. Further, whether the picture area is open area, whether the information is open for each picture area, (available as a reference picture) for example gamma u sed J or gamma u Nused (hereinafter, unreferenced as a reference picture) This is stored in the picture memory PicMem2 according to the memory management command MMCO, and it can be determined by referring to the stored information.
  • an image encoding device that solves the conventional problem can be realized.
  • pictures that need to be saved for display can be saved without requiring extra memory.
  • the operation when the picture size is changed is the same as that in the first embodiment, and the description is omitted.
  • Embodiment 3 of the present invention will be described.
  • FIG. 7 is a flowchart showing an operation of the image coding apparatus 100 according to Embodiment 3 of the present invention.
  • the present embodiment is characterized in that the storage of a picture is determined based on the time when the memory is released.
  • Step 30 it is determined whether or not the decoded image is to be stored in the picture memory PicMem2 based on the instruction of the memory management command MMCO.
  • Step 31 When saving, a picture memory area with the oldest display time is obtained from the released picture memory area (Step 31), and the decoded image is saved in that area (Step 32).
  • the memory area where the picture is decoded and stored at the oldest time may be used as the picture storage area.
  • These memory areas are stored there. This is because there is a high possibility that the stored picture has already been displayed. Also, these oldest times need not be times, but may be in the oldest order.
  • the displayed order may be the oldest order. For example, there is a high possibility that a picture whose display order is old is already displayed, and it is reused as a memory storage area in order from the memory area where the picture whose display order is old is stored, regardless of whether it was displayed or not. Is done. Further, since the display intervals of pictures are usually fixed, the order of picture display may be considered as the time.
  • Embodiment 4 of the present invention will be described.
  • FIG. 8 is a flowchart showing an operation of the image coding apparatus 100 according to Embodiment 4 of the present invention.
  • the present embodiment is characterized in that storage of pictures is determined according to the order in which the memory is released.
  • Step 40 the decoded image is stored in the picture memory PicMem2. Is determined based on the instruction of the memory management command MMCO.
  • the picture area that is released first is obtained from the released area (Step 41), and the decoded image is stored in that area (Step 42). Since the display time information is managed by the system, it is difficult to obtain the display time depending on how the video decoder is made. It is highly probable that the picture area that was released first had a picture with a display time older than the area that was released later. That is, it is highly likely that the picture released first is already displayed. Therefore, by storing the decoded image in the area of the picture released first, there is a high possibility that the picture not displayed is not overwritten.
  • pixels Chiya whether information is open to each region for example, "u s e d: not opened (available as a reference picture)" or The " unuse d : released (not referred to as a reference picture hereafter)" is retained in the picture memory PicMem2 in accordance with the memory management command MMCO, including the order in which it was released, and by referring to the retained information You can judge.
  • the method of using the picture area may be fixed to a predetermined procedure, and it may be determined according to the procedure whether the picture area is the first opened picture area.
  • the stored contents with the oldest time are discarded in order, and the latest fixed number of frames (or the number of pictures) is always saved. It is only necessary to determine whether or not the picture area is the first released picture area. As described above, it is possible to prevent a new picture from being overwritten on an undisplayed picture, and to display a picture from an area which has been released but has not been overwritten when the display time comes.
  • Embodiment 5 of the present invention will be described.
  • FIG. 9 is a block diagram of an image decoding device for realizing the image decoding method of the present invention.
  • the same operation as the block diagram of the image encoding device for realizing the image encoding method of the present invention of FIG. 3 and the block diagram of the image decoding device for realizing the conventional image decoding method of FIG. The same numbers are assigned to devices that perform, and descriptions are omitted.
  • the difference between the image decoding device 150 of FIG. 9 and the image decoding device 150 of FIG. 28 showing the conventional example is that, in FIG. 9, the picture size to be changed obtained from the outside and the memo obtained from the variable-length decoding unit VLD are different.
  • a command to change the picture size at the timing of a special IJ I-picture (IDR (Instantaneous Decoding Refresh) picture) is output to the picture memory PicMem2.
  • the picture size change detection unit PicSizeDet And a display picture management unit DispPicCtrl are newly provided.
  • the display picture management unit DispPicCti'l instructs not to save a new picture in the area of the picture that is not displayed when storing the picture in the open area of the picture memory PicMem2. Normally, even if a picture area is released, the data of the previously saved picture remains in the memory and can be played back unless a new picture is saved (overwritten) in that area. Therefore, even if a picture that is not displayed is released, a new picture is saved in the area where the displayed picture was saved, so that it is released when the display time comes, but it is still overwritten The remaining undisplayed pictures can be displayed. Displayed is substantially synonymous with output to the display device.
  • the image decoding device 150 may decode the coded signal coded by the image coding device 100 shown in the third and fourth embodiments.
  • the operation for using the picture memory is the same as that of the image coding apparatus shown in the third and fourth embodiments. That is, for the reuse of the picture released from the picture memory (hereinafter referred to as a reference), any one of the methods for determining an area for storing a new picture according to the method described in the first to third embodiments. You can also use A method of storing a picture in a memory when decoding an encoded signal encoded by the image encoding device described in the third and fourth embodiments will be described.
  • the memory area where the picture is decoded and stored at the oldest time or the picture with the oldest display time is stored
  • the stored memory area may be used as a picture storage area. These memory areas are stored there. This is because there is a high possibility that the stored picture has already been displayed. Since the display time information is managed by the system, it is difficult to obtain the display time depending on how the video decoder is made.
  • the area of the picture saved at the oldest time is likely to have saved the picture at the display time earlier than the area saved at the new time. It is natural that the picture with the oldest display time is already displayed, so the picture saved at the oldest time is likely to be already displayed.
  • the oldest time is the oldest time of the time when the picture was coded, for example, whether or not the picture was coded at the oldest time can be determined from the picture prediction structure (1) decoding order.
  • these oldest times need not be times, but may be in the oldest order.
  • the displayed order may be the oldest order.
  • the display order of the pictures may be considered as the time.
  • the picture to be saved for display is displayed. You can process the storage. If the oldest time is the oldest time of the display time, the display picture management unit DispPicCtrl manages the information on whether or not it was displayed, so that the picture was saved at the oldest time. Can be determined.
  • the display time information is managed by the system, it is difficult to obtain the display time depending on how the video decoder is made. It is highly probable that the picture area that was released first had a picture with a display time older than the area that was released later. That is, it is highly likely that the picture released first is already displayed. Therefore, by storing the decoded image in the area of the picture released first, there is a high possibility that the picture not displayed is not overwritten.
  • pixels Chiya whether information is open to each region for example, gamma us e d: not opened (see picture and to enable) " or ⁇ u n u se d: open already (hereafter, are not referred to as a reference picture) "Kaome mode Li management command
  • the picture memory PicMem2 is retained including the order in which it was released, and can be determined by referring to the retained information.
  • the method of using the picture area may be fixed to a predetermined procedure, and it may be determined according to the procedure whether the picture area is the first opened picture area.
  • An example For example, when a new picture is stored in the picture memory PicMem2, the stored contents with the oldest time are discarded in order, and the latest fixed number of frames (or pictures) is always stored. It is only necessary to determine whether or not the picture area is the first released picture area.
  • the display unit Disp is not provided in the image decoding device 150, but only the data necessary for displaying a picture on the display unit Disp is transmitted from the image decoding device 150.
  • the display unit Disp may be provided outside the image decoding device 150.
  • Embodiment 2 the operation of the image decoding device 150 when the picture size described in Embodiment 2 is changed will be described. Note that the following operations for Embodiments 3 and 4 are the same, and a description thereof is omitted.
  • the image decoding apparatus 150 is configured to: Initialization is performed by releasing the entire area including the reference area where the reference picture is saved and the display area where the picture for display is saved.
  • FIG. 10 is a flowchart illustrating the operation of the image encoding device 150.
  • the picture size change detection unit Determines whether the signal output from PicSizeDet indicates a change in picture size (Step l00), and if there is a change in picture size (Yes in Step lOO), all of the picture memory PicMem2 Releases the memory area (to make it reusable), initializes it (Step l02), and ends the processing.
  • variable-length decoding The memory management command MMCO output from the unit VLD determines whether the memory area of the picture memory PicMem2 is to be released (initialized) (Step lOl). (Step lOl Yes), release all memory area (Step l02), if not shown (Step lOl No), release only the reference area where reference picture is saved (Step l03) , End the process.
  • the instruction information (flag) indicating whether the entire memory area is to be released or only the reference area is to be released is a stream Str output from the image encoding apparatus 100. It is included in the MMCO memory management command.
  • the image decoding device 150 determines which of the above two methods is to be performed based on the instruction information included in the memory management command MMCO.
  • FIG. 11 is a flowchart showing the determination operation.
  • Step 50 it is determined whether or not the instruction information (flag) indicates whether or not to initialize the entire area of the memory (Step 50). Yes), the display area where the hidden display picture is saved The entire area of the memory, including the memory, is released and initialized (Step l51). Otherwise (Step l50, No), only the reference area is released and initialized (Step 152).
  • the image decoding apparatus 150 releases only the reference area, and displays the undisplayed picture in the area other than the reference area. Is displayed by the image decoding device 150 that can be determined and displayed.
  • FIG. 12 is a flowchart showing the operation of the image decoding device 150 (decoder).
  • Picture size change detection unit Determines whether the signal output from Pic SizeDet indicates a change in picture size (Step 200), and if it is not a change in picture size (No in Step 200), saves it in the display area
  • the displayed and undisplayed picture is displayed (Step 203).
  • Step 201 when the picture size is changed (Yes in Step 200), it is determined whether the display picture stored in the display area is the one before the size change (Step 201), and it is not the one before the change. In this case (No in Step 201), an undisplayed picture to be displayed is displayed (Step 203). If it is before the change (Yes in Step 201), it is determined whether or not the display picture can be displayed, and the displayable picture is displayed (Step 202).
  • FIG. 13 is a flowchart showing the operation of the image decoding device 150 for displaying a picture.
  • FIG. 13 the same components as those in FIG. 12 are denoted by the same reference numerals.
  • Step 201 Whether the display picture saved for display is the one before resizing Is determined (Step 201), and if the picture is not the one before the change (No in Step 201), the picture is displayed. On the other hand, if the picture is before the change (Yes in Step 201), it is determined whether the picture to be displayed is damaged (Step 211). If there is no damage (No in Step 211), the picture can be displayed. (Step 210). If there is damage (Yes in Step 211), the previous picture is displayed without displaying that picture. Here, no damage means that even a part of the picture in which the picture to be displayed is stored has not been overwritten in order to save data of a new picture. By doing so, the image decoding apparatus 150 determines whether the picture to be displayed is damaged, and determines that the picture without damage is displayable.
  • the image decoding apparatus 150 when the picture size is changed, the image decoding apparatus 150 initializes the entire area of the memory. Display is performed on the undisplayed picture according to the instruction information (flag) indicating whether or not to perform the display.
  • the entire memory area is initialized, or only the reference area is initialized and not displayed.
  • appropriate decoding becomes possible. That is, for example, when the free space of the memory is small, the entire area of the memory is initialized to be reusable, and when the free space of the memory is large, only the reference area is initialized, so that the undisplayed picture is It is possible to respond flexibly by enabling display.
  • the reference picture buffer refers to an area in which the reference area and the display area in the picture memory PicMem2 in the image encoding device are combined.
  • Virtual ⁇ Display delay The buffer is a virtual buffer corresponding to each display picture to be stored in the display area secured in the picture memory PicMem2 in the image encoding apparatus, and includes a temporal reference number (picture) of the display picture. Number, etc.).
  • the reference memory buffer is a reference area in the picture memory PicMem2 in the image decoding device.
  • Post'decoder-Knofer is a display area in the picture memory PicMem2 in the image decoding device.
  • the temporal reference number refers to a picture number in the order of the display time, and may be equivalent to the picture time Time.
  • the virtual ⁇ display delay buffer is used to limit the maximum number of reference pictures used for predictive coding in the image coding device.
  • FIG. 14 shows a process for determining the relationship between the virtual-display delay buffer and the maximum number of backward reference pictures.
  • Each module in FIG. 14 represents a functional block or a processing step in the picture structure determination unit PicStruct, the reference picture management unit RefPicCtrl, and the display picture management unit DispPicCtrl.
  • the maximum number N R of the allowed reference picture is determined in module 4 0 1. This value is defined for each profile and level.
  • the encoder encodes the profile 'level value corresponding to NR as stream information, and the decoder encodes the NR from the stream profile's level value. get.
  • the image coding apparatus sets the maximum number N B of optimal backward reference picture bicycloalkyl de O 'sequence in module 4 0 2 to encode. Based on this N B value, it is possible to determine the service I's virtual ⁇ display delay buffer. If N B is less than 2 does not require a virtual ⁇ de Isupurei delay buffer. However, if the N B is 2 or more, N B - 1 picture virtual 'Deisupurei delay buffer mode Produced in Joules 404. Virtual ⁇ Picture information stored in the display delay buffer is secured in memory or in any register. This virtual 'display delay buffer does not require a large physical memory space for the image encoding device.
  • Fig. 15 shows the post-encoding process in the image encoding device, that is, the process of storing the decoded picture after encoding (referred to as a picture or simply a picture) in a reference memory buffer.
  • the modules in the figure represent functional blocks or processing steps in the reference picture management unit RefPicCtrl and the display picture management unit DispPicCtrl.
  • the picture is determined if it is to be used as a reference picture in module 502. If the picture is a reference picture, the maximum number of possible reference pictures is calculated according to equation (2).
  • NM ax N R -F v (2)
  • NM ax represents the maximum number of reference pictures available
  • N R represents the maximum number of reference pictures allowed in the flop opening files and level definition.
  • FV is the virtual 'display delay buffer' fullness, or virtual ⁇ display delay buffer size (NB-1), which is currently used.
  • Reference picture ⁇ If the number of reference pictures in the buffer is smaller than NMaX, the encoded picture is reconstructed (decoded) in module 506 and stored in the reference picture buffer in module 507 Is done. If there is not enough free space, the image coding apparatus removes unused reference pictures r unus e d (hereinafter referred to as reference pictures) from the buffer as shown in module 504. In this way, the area required for the reference picture buffer is secured. If there are no unused reference pictures to remove from the buffer, the 'encoded' picture is not used as a reference picture. If the picture is not a reference picture, the temporal reference number of the encoded picture is compared to the display counter in module 505.
  • the virtual display delay buffer removes pictures with a temporal reference number equal to or earlier than the display counter and adds the temporal reference number of the current unreferenced picture to the buffer. .
  • Number of pictures in the virtual "buffer having a display ⁇ counter I is also small temporal reference numbers Li becomes the fullness of the buffer display counter, Enko one dead de - or virtual number of Picture equals N B Display ⁇
  • the update operation starts first when the counter is full or whichever is earlier, then Spray ⁇
  • the counter is updated each time it is encoded for all the pictures encoded in module 509.
  • FIG. 16 shows a post decoding process in the image decoding device, that is, a process of storing a picture (called a decoded picture or simply a picture) decoded in the image decoding device in a reference picture buffer.
  • the modules in the figure represent functional blocks or processing steps in the display picture management unit DispPicCtrl.
  • the picture is decoded in module 601.
  • the image decoding device determines whether it is necessary to store the picture as a reference picture. If the decoded picture is stored as a reference picture, it is stored in a reference picture buffer in module 606. Otherwise, the picture decoder checks in module 603 whether it is time to display (output) this picture.
  • Post 'decoder-Buffer and reference picture buffer physically share the same memory area. In other words, each area of the same memory can be switched between using it as a reference picture buffer and using it as a post decoder and buffer.
  • the image decoding apparatus determines a picture to be displayed (output) from the reference picture buffer or the boost decoder based on the display timing. Once the picture from the post 'decoder-buffer is displayed (output), it is removed from the buffer. On the other hand, the reference picture is only removed from the reference picture buffer when the stream indicates that it will not be referenced in the future, or simply moved to the boss-decoder buffer.
  • FIG. 17 shows an example of how to use a virtual-display delay buffer to determine the maximum number of reference pictures at each picture interval. For this example, the maximum number N R of allowed reference pictures is four. Image encoding apparatus sets the maximum number N B of the backward reference picture to 3.
  • a virtual 'display delay buffer for two pictures is created (space is reserved).
  • the display 'counter is used to store and update the temporal reference number of the picture that is virtually displayed (output).
  • the blank area in the reference memory buffer indicates that it is empty, the area where the picture type and number are described indicates that the reference picture is stored, and the area hatched with diagonal lines is for display.
  • the blank area in the virtual 'display delay buffer indicates that it is free, and the area where the picture type and number are described corresponds to the display picture in the reference memory buffer
  • a hatched area indicates that the temporal reference number is stored. This indicates that the storage area of the display picture does not exist in the reference memory buffer.
  • the same number of virtual 'display delay buffers' corresponding to the hatched areas in the reference memory buffer hold the temporal reference number of the picture for display.
  • pictures B2 and B3 are used for the reference picture, so they are stored in the reference memory 'buffer along with I0 and P4 and the display Update starts after 3 is encoded.
  • B5 is not used as a reference picture, but it needs to be updated to the virtual display delay buffer because its temporal reference number is greater than the display counter. Therefore, the fullness fv of the virtual display delay buffer at that time is 1 and the maximum number of possible reference pictures NM a X is 3.
  • the display '5 cannot be removed yet due to its temporal reference number greater than the display' counter, but ⁇ 6 needs to be updated in the virtual-display delay buffer. . Therefore, NM a X at that time is 2.
  • FIG. 18 shows an example where the display 'counter is incremented first using the virtual' display delay buffer. For this example, let N R be 5. Image encoding apparatus sets the maximum number N B of the plurality of backward reference pictures 3. Therefore, a virtual 'display delay buffer of two pictures is created.
  • B1, B2, B3 and B4 are not used for reference pictures, but B7 and B8 are used. Therefore, B1 and B2 are stored in a virtual display delay buffer at time T3 to wait for the display.
  • the virtual-display delay buffer is full at time T3, so the display 'counter starts updating at time T3.
  • the reason that it is necessary for the display counter to wait at least for the virtual-display delay buffer to become full before it can start updating is likely to occur in the image decoder. This is because it is necessary to process the Riodering of the picture.
  • the image decoding apparatus occasionally uses a part of the reference picture buffer as a post 'decoder' buffer. Therefore, based on the fixed physical memory 'size of the reference picture buffer, the image decoding device may use the reference picture buffer such that some parts are used for reference pictures and others are used as post' decoder-buffers. Manipulate. For example, at time T3, the entire reference picture buffer stores the reference picture Used for On the other hand, at time T7, only two of the reference picture buffers are used to store P4 and P8 reference pictures. The rest is used to store the post-decoder 'pictures B5 and B6.
  • the maximum number of reference pictures used on the image decoding device side is defined by the profile and level definition for the image coding device. Therefore, the image coding device can use up to the maximum number of reference pictures defined by the profile and the level. Therefore, the image coding apparatus can perform the same operation when the image decoding apparatus operates based on the constraint condition (the number of reference pictures does not exceed the defined value). It is necessary to perform management and encoding.
  • the image decoding device has the same number of reference pictures as the image coding device.
  • additional memory space is required for the post ⁇ decoder ⁇ buffer.
  • the maximum number of post 'decoder' pictures is defined by equation (3).
  • N N R -2 (3)
  • N represents the maximum number of post-'decoder' picture
  • N R represents the maximum number of reference pictures defined by the profile and level definition
  • this post decoder's maximum number of pictures must be considered in the design of the image decoding device.
  • the maximum number of Posts, Decoders, and Pictures can be calculated from Equation 3 or specified by profile and level definitions. Once the maximum number of post-decoder 'pictures has been specified in the profile and level definitions, the value can be derived from the maximum number of backward predicted pictures based on equation (4).
  • N N + 1 (4)
  • N B represents the maximum number of backward prediction pictures in the reference picture buffer. In the present embodiment, this is the minimum memory requirement required by the image decoding device so that a stream conforming to the profile and level definition can be decoded.
  • the number of backward predictions can be limited in order to reduce the number of decoders and pictures added to the reference picture buffer on the image decoding device side. For example, if the maximum number of backward predictions is limited to two, then one additional post ⁇ Decoder ⁇ Only pictures need to be added to the reference picture buffer, It is possible to avoid the allocation of extra physical memory space to the post 1 decoder 2 picture on the coding device side.
  • FIG. 19 is an explanatory diagram of a case where the image encoding method and the image decoding method of each of the above embodiments are implemented by a computer system using a program recorded on a recording medium such as a flexible disk.
  • Fig. 19 (b) shows the appearance, cross-sectional structure, and flexible disk viewed from the front of the flexible disk
  • Fig. 19 (a) shows an example of the physical format of the flexible disk that is the recording medium body.
  • the flexible disk FD 1 is built in the case F.
  • On the surface of the disk a plurality of tracks Tr are formed concentrically from the outer circumference toward the inner circumference, and each track is formed in an angular direction. It is divided into 6 sectors Se. Therefore, in the flexible disk storing the above program, the flexible disk The above program is recorded in the area allocated on FD1.
  • FIG. 19 (c) shows a configuration for recording and reproducing the above program on the flexible disk FD1.
  • the program is written from the computer system Cs via the flexible disk drive FDD.
  • the program is executed by the flexible disk drive FDD. Is read from the flexible disk and transferred to the computer system Cs.
  • the description has been made using a flexible disk as a recording medium, but the same description can be made using an optical disk.
  • the recording medium is not limited to this, and any other recording medium such as an IC card, a ROM cassette, or the like can be used in the same manner.
  • FIG. 20 is a block diagram illustrating the overall configuration of a content supply system ex100 that realizes a content distribution service.
  • a communication service providing area is divided into desired sizes, and base stations ex107 to ex110, which are fixed wireless stations, are installed in each cell.
  • the content supply system ex100 is, for example, provided with an internet ex101 and an internet service provider ex102 and a telephone network ex104 , and base stations ex107 to ex111. 0 through the computer ex 1 1 1, PDA (personal
  • each device may be directly connected to the telephone network exl 04 without going through the base stations exl 07 to ex 110 which are fixed radio stations.
  • the camera ex113 is a device such as a digital video camera that can shoot moving images.
  • mobile phones are based on PDC (Personal Digital Communications), CDMA (Code Division Multiple Access), W-CDMA (Wideband-Code Division Multiple Access), or GSM (Global System for Mobile Communications). It is a mobile phone or a PHS (Personal Handyphone System), etc., and either type is acceptable.
  • the streaming server ex 103 is connected to the camera ex 113 via the base station exl 109 and the telephone network ex104, and the code transmitted by the user using the camera ex 113 is provided. Live distribution and the like based on the data that has been processed can be performed.
  • the encoding process of the photographed data may be performed by the camera exl 13 or may be performed by a server or the like that performs the data transmission process.
  • moving image data captured by the camera 116 may be transmitted to the streaming server ex103 via the computer ex111.
  • the camera ex116 is a device such as a digital camera that can shoot still images and moving images. In this case, encoding of the moving image data may be performed by the camera ex111 or the computer ex111.
  • the encoding process is performed in the LSI ex11 of the computer ex11 and the camera ex11-16.
  • the software for image coding and decoding may be incorporated in any storage medium (CD-ROM, flexible disk, hard disk, etc.) that is a recording medium readable by a computer ex111 or the like.
  • CD-ROM compact disc-read only memory
  • flexible disk flexible disk
  • hard disk etc.
  • the moving image data may be transmitted by the mobile phone ex 1 15.
  • the moving image data at this time is data encoded by the LSI included in the mobile phone exl 15.
  • the content (for example, a video of a live music shot) captured by the user with the camera ex113, the camera ex116, etc. is encoded in the same manner as in the above embodiment.
  • streaming server exl 03 While processing and sending it to streaming server exl 03, streaming server exl 03 distributes the above content data to requested clients in a stream.
  • the content supply system exl 00 can receive and reproduce the encoded data at the client, and further receive, decode, and reproduce the encoded data at the client in real time, thereby enabling personal broadcast. Is a system that can be realized.
  • each device constituting this system may be performed using the image encoding method or the image decoding method described in each of the above embodiments.
  • a mobile phone will be described as an example.
  • FIG. 21 is a diagram illustrating a mobile phone exl 15 using the image encoding method and the image decoding method described in the above embodiment.
  • the mobile phone exl 15 has an antenna ex210 for transmitting and receiving radio waves to and from the base station exl10, a camera unit ex203 capable of capturing images and still images from a CCD camera, and a camera unit. It consists of a display unit ex202, such as a liquid crystal display, that displays data obtained by decoding the video captured by ex203, the video received by the antenna ex201, etc., and operation keys eX204.
  • a display unit ex202 such as a liquid crystal display
  • the recording medium ex207 stores a flash memory element, which is a part of EEPROM Electrical V Erasable and Programmable Read Onlv Memory, a non-volatile memory that can be electrically rewritten and erased in a plastic case such as an SD card. It is.
  • the mobile phone ex 115 has a power supply circuit unit in contrast to a main control unit ex311, which controls all parts of the main unit equipped with a display unit ex202 and operation keys ex204.
  • the demultiplexing unit ex308, the recording / reproducing unit ex307, the modulation / demodulation circuit unit ex306, and the audio processing unit ex305 are connected to each other via the synchronous bus ex310.
  • the power supply circuit ex310 operates the digital camera-equipped mobile phone ex115 by supplying power from the battery pack to each unit when the call end and the power key are turned on by user operation. Start up to a possible state.
  • the mobile phone ex115 based on the control of the main control unit ex311, consisting of a CPU, ROM, RAM, etc., converts the voice signal collected by the voice input unit ex205 in the voice call mode into a voice processing unit.
  • the data is converted into digital voice data by ex305, subjected to spread spectrum processing by the modulation / demodulation circuit section ex306, and subjected to digital / analog conversion processing and frequency conversion processing by the transmission / reception circuit section ex301. After that, it transmits via antenna ex2 0 1.
  • the mobile phone ex115 also amplifies the received signal received by the antenna ex201 in the voice communication mode, performs frequency conversion processing and analog-to-digital conversion processing, and modulates and demodulates the signal.
  • the spectrum despreading processing is performed at 310, and the speech processing section ex305 converts the analog signal into an analog speech signal, and then outputs the analog signal via the audio output section eX208.
  • the text data of the e-mail input by operating the operation key eX204 on the main unit is controlled via the operation input control unit ex304. It is sent to the section ex 3 1 1.
  • the main control unit ex 311 performs the spread spectrum processing on the text data in the modulation and demodulation circuit unit ex 306, performs the digital-analog conversion processing and the frequency conversion processing in the transmission and reception circuit unit ex 310, and performs It transmits to the base station ex110 via ex210.
  • the image data captured by the camera unit ex203 is supplied to the image encoding unit ex312 via the camera interface unit ex303.
  • the image data captured by the camera unit ex203 is directly transmitted to the display unit ex202 via the camera interface unit ex303 and the LCD control unit ex302. It can also be displayed.
  • the image encoding unit ex3 12 has a configuration provided with the image encoding device described in the present invention, and converts the image data supplied from the camera unit ex203 into the image encoding device described in the above embodiment.
  • the image data is converted into encoded image data by performing compression encoding according to the encoding method used in (1), and is transmitted to the demultiplexing unit ex308.
  • the mobile phone ex115 simultaneously outputs the audio collected by the audio input unit ex205 through the audio processing unit ex305 while capturing images with the camera unit ex203.
  • the signal is sent to the demultiplexing unit ex308.
  • the demultiplexing unit ex308 multiplexes the encoded image data supplied from the image encoding unit ex310 and the audio data supplied from the audio processing unit ex305 in a predetermined manner, and obtains the result.
  • the spread multiplexed data is subjected to spread spectrum processing in the modulation and demodulation circuit section ex306, and digital / analog processing is performed in the transmission / reception circuit section ex301. After performing the conversion processing and the frequency conversion processing, the signal is transmitted via the antenna ex201.
  • the received signal received from the base station ex110 via the antenna ex201 is scanned by the modem circuit ex306.
  • the multiplexed data obtained by the despreading process is transmitted to the demultiplexing unit ex308.
  • the demultiplexing unit ex 308 separates the multiplexed data from the encoded stream of the image data to separate the coded data.
  • the stream is divided into an audio data encoding stream, the encoded image data is supplied to an image decoding unit ex309 via a synchronous bus ex313, and the audio data is ex- tracted to an audio processing unit ex305. To supply.
  • the image decoding unit ex309 has a configuration provided with the image decoding device described in the present invention, and corresponds to the encoding method described in the above-described embodiment.
  • Reproduced moving image data is generated by decoding by the decoding method, and this is supplied to the display unit ex202 via the LCD control unit ex302, whereby, for example, a moving image linked to a homepage
  • the moving image data included in the image file is displayed.
  • the audio processing unit ex305 converts the audio data into an analog audio signal, and then supplies the analog audio signal to the audio output unit ex208, thereby including, for example, a moving image file linked to the homepage. Audio data is reproduced.
  • the broadcasting station ex409 the coding stream of the video information is transmitted to the communication or the broadcasting satellite ex410 via radio waves.
  • the broadcasting satellite ex 4 10 that received it transmitted radio waves for broadcasting This radio wave is received by a home antenna ex406 equipped with satellite broadcasting reception equipment, and is coded by a device such as a television (receiver) ex401 or a set-top box (STB) ex407. And decrypt it and play it back.
  • the image decoding apparatus described in the above embodiment is also mounted on a reproducing apparatus ex 403 that reads and decodes an encoded stream recorded on a storage medium ex 002 such as a CD or DVD which is a recording medium. It is possible to do.
  • the reproduced video signal is displayed on the monitor ex404.
  • an image decoding device is installed in a set top box ex 407 connected to a cable TV cable ex 405 or a satellite terrestrial broadcasting antenna ex 406, and this is connected to a TV monitor ex 4 A configuration in which playback is performed with 08 is also conceivable. At this time, the image decoding device may be incorporated in the television instead of the set-box.
  • a signal is received from a satellite ex 4 10 or a base station exl 07 or the like by a car ex 4 12 having an antenna ex 4 11 1, and a signal ex 4 13 or the like of the car ex 4 12 is provided. It is also possible to play a moving image on the display device.
  • the image signal can be encoded by the image encoding device described in the above embodiment and recorded on a recording medium.
  • a recorder eX420 such as a DVD recorder for recording image signals on a DVD disk eX421 and a disc recorder for recording on a hard disk. It can also be recorded on an SD card e x 4 2 2. If the recorder eX420 has the image decoding apparatus shown in the above embodiment, the image signal recorded on the DVD disc ex421 or the SD card eX422 is reproduced, and the monitor It can be displayed with ex408.
  • the configuration of force navigation ex4 13 is, for example, the configuration shown in Fig. 22 excluding the camera section ex203, camera interface section ex303, and image coding section eX312. The same can be considered for the computer ex111 or the television (receiver) ex401.
  • terminals such as the above-mentioned mobile telephones ex114 include transmission / reception terminals having both an encoder and a decoder, as well as a transmission terminal having only an encoder and a reception terminal having only a decoder. There are several possible implementation formats.
  • the image encoding method or the image decoding method described in the above embodiment can be used in any of the above-described device systems, and by doing so, the effects described in the above embodiment can be obtained. Can be obtained. Further, the present invention is not limited to the above embodiment, and various changes or modifications can be made without departing from the scope of the present invention.
  • display means that the order of pictures is rearranged and output in the order to be displayed.
  • the process of outputting the decoded image to the display device is expressed as display.
  • the operation of outputting the decoded image for recording by another recording device is also considered to be a special case of this display.
  • the display device has an image memory
  • the decoded image can be transmitted to the display device earlier than the actual display time.
  • the present invention encodes a decoded image by predictive coding with reference to a decoded image stored in a decoded image buffer, and further decodes the encoded image to perform the decoding.
  • An image encoding device that stores an image in the decoded image buffer; and a decoding device that decodes the image that has been re-encoded by predictive encoding while referring to the decoded image stored in the decoded image buffer. It is used for an image encoding device that stores an image in the decoded image buffer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Reduction Or Emphasis Of Bandwidth Of Signals (AREA)
  • Color Television Systems (AREA)

Abstract

本発明の画像符号化方法は、ピクチャバッファに保持されている画像を参照しながら入力画像を予測符号化し、符号化された前記入力画像を復号化する画像符号化方法であって、復号化された画像について、参照用の画像であるか否か及び表示時刻まで保持が必要な出力用の画像であるか否かを判定し、判定結果に基づいて参照用の画像および出力用の画像を前記ピクチャバッファに格納する。

Description

明 細 書 画像符号化方法及び画像復号化方法 技術分野
本発明は、 動画像を効率良く圧縮する画像符号化方法とそれを正しく復 号化して表示する画像復号化方法に関する。 背景技術
近年、 音声, 画像, その他の画素値を統合的に扱うマルチメディア時代 を迎え、 従来からの情報メディア, つまり新聞, 雑誌, テレビ, ラジオ, 電話等の情報を人に伝達する手段がマルチメディアの対象と して取り上げ られるようになってきた。一般に、マルチメディアとは、文字だけでなく、 図形、 音声、 特に画像等を同時に関連づけて表すことをいうが、 上記従来 の情報メディアをマルチメディアの対象とするには、 その情報をディジタ ル形式にして表すことが必須条件となる。
ところが、 上記各情報メディァの持つ情報量をディジタル情報量として 見積もってみると、 文字の場合 1 文字当たりの情報量は 1 〜 2バイ トであ るのに対し、 音声の場合 1秒当たリ 64Kbits (電話品質)、 さらに動画につ いては 1 秒当たり lOOMbits (現行テレビ受信品質) 以上の情報量が必要 となり、 上記情報メディァでその膨大な情報をディジタル形式でそのまま 极うことは現実的では無い。 例えば、 テレビ電話は、 64Kbit/s~ 1.5Mbit/s の伝送速度を持つサービス総合ディジタル網(ISDN: Integrated Services Digital Network) によってすでに実用化されているが、 テレビ - カメラの 映像をそのまま ISDNで送ることは不可能である。 そこで、 必要となつ てく るのが情報の圧縮技術であリ、 例えば、 テレビ電話の場合、 ITU-T (国 際電気通信連合 電気通信標準化部門) で国際標準化された H.261 や H.263規格の動画圧縮技術が用いられている。 また、 MPEG- 1規格の情報 圧縮技術によると、 通常の音楽用 CD (コンパク ト ' ディスク) に音声情 報とともに画像情報を入れることも可能となる。
ここで、 MPEG ( Moving Picture Experts Group ) とは、 動画像信号圧 縮の国際規格であリ、 MPEG- 1 は、 動画像信号を 1 . 5 Mbit/sまで、 つま リテレビ信号の情報を約 1 0 0分の 1 にまで圧縮する規格である。 また、 MPEG- 1 規格を対象とする伝送速度が主と して約 1 . 5 Mbit/sに制限され ているこ とから、 さ らなる高画質化の 求をみたすべく規格化された MPEG- 2では、 動画像信号が 2 ~ 1 5 Mbit/sに圧縮される。 さらに現状で は、 MPEG- 1 , MPEG- 2 と標準化を進めてきた作業グループ (ISO/IEC JTC1/SC29/WG11 ) によって、 MPEG- 1 , MPEG- 2を上回る圧縮率を達 成し、 更に物体単位で符号化 ■ 復号化 , 操作を可能とし、 マルチメディア 時代に必要な新しい機能を実現する MPEG- 4が規格化された。 MPEG- 4 では、 当初、 低ビッ トレー卜の符号化方法の標準化を目指して進められた が、 現在はィンタ レース画像も含む高ビッ トレー卜も含む、 より汎用的な 符号化に拡張されている。
更に近年、 MPEG-4の 次世代符号化と して JVT と呼ばれる、 ITU-T と ISO/IEC共同による新しい画像符号化が檩準化中である。
図 2 4はピクチャの予測構造 ' 復号順序と表示順序を示す図である。 ピ クチャとはフレームもしくはフィールドのいずれかを指す用語であり、 本 明細書ではフレームもしくはフィールドの代わりにピクチャという表現を 用いる。 また、 画像もしくは画面という用語もピクチャと同義語である。 図 2 4で斜線のハッチングを施したピクチャは、 他のピクチャの符号化 - 復号化の際に参照されるため、 メモリに保存されるピクチャを表す。
10は画面内符号化ピクチャであり、 P3、 P 6、 P9は画面間予測符号化ピ クチャ (P ピクチャ) である。 JVT標準化案では画面間符号化では、 従来 の MPEG- 1/2/4と異なリ、 複数の符号化済ピクチャから任意のピクチャを 参照ピクチャと して 1 つ選択して、 参照ピクチャから予測画像を生成する ことができる。 たとえば、 P9 ピクチャは、 10、 P3、 P6の 3つのピクチャ から任意の 1 ピクチャを選択してそのピクチャから予測画像を生成するこ とができる。 これにより、 従来の MPEG- 1/2/4よりも適切な予測画像を選 択できる可能性が高まり、 圧縮率が向上する。 Bl、 B2、 B4、 B5、 B7、 B8 は画面間双予測符号化ピクチャ (B ピクチャ) であり、 画面間予測ピクチ ャの予測と異なり、 複数 ( 2つ) のピクチャを選択してその選択したピク チヤから予測画像を生成し符号化する。 特に、 時間的に前後の 2つのピク チヤの平均値を予測画像とする内挿予測をすることで、 予測画像の精度を 大幅に向上でき圧縮率が大幅に向上することが知られている。 以下、 画面 内符号化ピクチャを I、 画面間予測符号化ピクチャを P、 画面間双予測符 号化ピクチャを Bという記号を各ピクチャに付与し、 各ピクチャの符号化 方法を区別する。
B ピクチャで時間的に前後のピクチャを予測符号化で参照するためには、 時間的に後方のピクチャが先に符号化 '復号化されていなければならない。 これは、 ピクチャの並べ替え (リーオーダリ ング) と呼ばれ、 従来の MPEG-1/2/4からよく行われている。 従って、 符号化順序 (Stream Order) に対し、 符号化されたス トリームを復号化して表示する順序 ( Display Order) は図 2 4のピクチャの予測構造 ' 復号順序と表示順序を示す図の ように並べ替えられることになる。 なお、 図 2 4の例における B ピクチャ はス トリームを復号化した瞬間に表示されるため、 他の画像から参照され ない場合はメモリ等に蓄積する必要が無いが、 I ピクチャや P ピクチャは 復号化した後、 次の Bピクチャを復号化した後に表示されるため、 メ モ リ に保存する必要がある。 以下、 ピクチャの予測構造 '復号順序と表示順序を示す図においては、 用語およびピクチャの斜線のハッチングの意味は図 2 4と同じ意味で統一 する。
図 2 5は他のピクチャの予測構造 '復号順序と表示順序を示す図である。 同図において、 図 2 4との違いは、 ピクチャ 6が P ピクチヤで無く、 I ピ クチャであることである。
図 2 6は従来の画像符号化方法を実現するための画像符号化装置のプロ ック図である。 以下、 図 2 6の従来の画像符号化方法を実現する画像符号 化装置の動作について説明する。
ピクチャ構造決定ュニッ 卜 PicStruct は各ピクチャの符号化タイプ (I ピクチャ、 P ピクチャ、 B ピクチャ) を決定して参照ピクチャ管理ュニッ ト HefPicCtrl にその符号化タイプおよび符号化で参照可能なピクチャを 指示し、またピクチヤの符号化順序を並べ替えユニッ ト ReOrderに通知す る。並べ替えュニッ ト ReOrderは入力ピクチャ Piclnの順序を符号化順序 に並べ替えて、動き検出ュニッ ト MEおよび減算ュニッ ト Subに並べ替え たピクチャを出力する。動き検出ュニッ 卜 MEはピクチャメモリ PicMem l に保存されたピクチャを参照して適切な参照ピクチャとその画素位置を指 し示す動きべク トル MV とを導出し、 可変長符号化ュニッ ト VLC とピク チヤメモリ PicMeml、動き補償ュニッ 卜 MCに送出する。 ピクチャメモリ PicMeml は動きべク トル MV に対応する参照ピクチャの画素を動き補償 ユニッ ト MCに出力し、動き補償ュニッ ト MCはピクチャメモリ PicMeml から得た参照ピクチャの画素と動きベク トル M Vとから予測画像を生成す る。
減算ュニッ 卜 Sub は並べ替えュニッ ト ReOrderで並べ替えたピクチャ と予測画像の差を計算し、 その差を直交変換ュニッ ト Tで周波数係数に変 換し、 更に量子化ユニッ ト Qで周波数係数を量子化し、 量子化値 Coef と する。
逆量子化ュニッ ト IQは量子化値 Coef を逆量子化して周波数係数に復元 し、 更に逆直交変換ュニッ ト IT で周波数係数から画素差分値に逆周波数 変換する。加算ュニッ ト Addでは予測画像を画素差分値に加算して復号画 像を得る。
参照ピクチャ管理ユニッ ト RefPicCtrl はピクチャの符号化タイプに応 じ、 参照ピクチャと して参照するためにピクチャメモリ PicMeml に保存 すべき復号画像か、 ピクチャメモリ PicMeml から開放 (参照ピクチャと して以後参照されない) すべき復号画像があるかを判断し、 その動作をメ モリ管理コマン ド MMCO と して通知する。
スィ ッチ SW は、 当該復号画像がメ モリ管理コマン ド MMCO によって 保存が指示された場合に ON になり、 当該復号画像がピクチャメ モリ PicMem l に参照ピクチャと して保存される。 また、 ピクチャメ モ リ PicMeml は、 メ モ リ管理コ マ ン ド MMCO によ っ て ピク チャ メ モ リ PicMemlから開放すべき復号画像が指示された場合は、その復号画像を保 存していた領域を開放し他の復号画像をその領域に保存可能にする。 可変長符号化ュニッ ト VLC は、 量子化値 Coef、 動きべク トル MV、 メ モリ管理コマン ド MMCOを符号化し、符号化ス 卜リーム Strを出力する。 符号化として周波数変換と量子化を伴う例を示したが、 周波数変換や量 子化を伴わない符号化 (DPCMや ADPCM、 線形予測符号化など) でもよ い。 また、 周波数変換と量子化が一体化したものや、 ビッ トプレーン符号 化のように周波数変換の後に量子化を伴わない符号化でもよい。
図 2 7はメ モリ管理コマン ド MMCO の符号例である。 符号化 ■ 復号化 の最初や、 GOPの先頭ではピクチヤメモリを初期化するために、 可変長符 号化ユニッ ト VLC は全メモリ開放を意味する' 000'を符号化する。 また、 復号化した画像をピクチャメモリに保存する場合には、 可変長符号化ュニ ッ ト VLCは' 0 Γを符号化する。 ピクチャメモリに保存したピクチャを開放 する場合は、 開放するピクチャ番号を指示しなければならないので、 可変 長符号化ュニッ ト VLCは' 00 Γの次に開放するピクチャ番号を符号化する。 なお、 同時に複数ピクチャ開放する場合は開放するコマン ドを複数回符号 化する必要があり、 またピクチャを開放するコマンドに加えて、 ピクチャ を保存するコマン ドを符号化する場合もある。 そこで、 可変長符号化ュニ ッ ト VLCは複数のメモリ管理コマンド MMCOを続けて符号化し、 メモリ 管理コマンド MMCO が完了したことを示す Tを最後に符号化する。 以上 のようにして、 メモリ管理コマンド MMCO が符号化ス トリーム Str に符 号化される。
図 2 8は従来の画像復号化方法を実現する画像復号化装置のブロック図 である。 同図において、 図 2 6の従来の画像符号化方法を実現する画像符 号化装置のブロック図と同じ動作をする機器は同じ番号を付し、 説明を省 略する。
可変長復号化ュニッ ト VLD は符号化ス ト リーム Str を復号化し、 メモ リ管理コマン ド MMCO、 動きべク トル MV、 量子化値 Coef を出力する。 ピクチャ時刻 Time は外部から入力され、 表示するピクチャを指定する信 号である。 表示すべきピクチャが復号化した当該ピクチャであればセレク タ Selで加算ュニッ ト Addの出力が選択され、 表示ュニッ 卜 Dispに送出 される。 表示すべきピクチャがピクチャメモリ PicMeml に保存されてい るピクチャであればそれがピクチャメモリ PicMeml から読み出され、 レ クタ Selで選択され、 表示ュニッ ト Dispに送出される。
なお、 上述の通り、 ピクチャメモリ PicMeml は動きべク トル MVに対 応する画素を動き補償ュニッ ト MCに出力し、 動き補償ュニッ ト MCはピ クチャメモリ PicMeml から得た画素と動きべク トル M Vとから予測画像 を生成する。 また、 逆量子化ュニッ ト IQは量子化値 Coef を逆量子化して周波数係数 に復元し、 更に逆直交変換ユニッ ト IT で周波数係数から画素差分値に逆 周波数変換する。加算ュニッ 卜 Addはその画素差分値に予測画像を加算し て復号画像とする。
また、 ピクチャメモリ PicMemlは、 メモリ管理コマン ド MMCOによつ てピクチャメモ リ PicMem lでの開放すべき復号画像が指示された場合は、 その復号画像を保存していた領域を開放し他の復号画像をその領域に保存 可能にする。
復号化と して逆周波数変換と逆量子化を伴う例を示したが、 逆周波数変 換ゃ逆量子化を伴わない復号化 (DPCMや ADPCM、線形予測符号化など) でもよい。 また、 逆周波数変換と逆量子化が一体化したものや、 ビッ トプ レーン符号化のように周波数変換の後に逆量子化を伴わない復号化でもよ い。
以上の図 2 8の従来の画像復号化方法を実現する画像復号化装置により 図 2 4および図 2 5で示す従来のピクチャ符号化タイプの組み合わせは、 図 2 6の従来の画像符号化方法を実現する画像符号化装置で符号化した符 号化ス トリーム Strを正しく復号化できることは明らかである。
さて、ピクチャ符号化タイプとして、より柔軟な組み合わせを検討した。 図 1 はピクチャの従来にはない予測構造■ 復号順序と表示順序を示す図 である。 図 1ではピクチャ 4の前後で B ピクチャの予測構造が異なってい る。 即ち、 ピクチャ 2の Bピクチャは保存されてピクチャ 1 およびピクチ ャ 3の予測画像と して参照されるものである。 その結果、 各ピクチャの符 号化順序および表示順序は図 1 のようになる。
さて、 ピクチャ 5とピクチャ 6は予測符号化で参照されないので保存さ れない: B ピクチャである。 しかしながら、 図 2 4の場合と異なり、 復号化 時点では他のピクチャの表示時刻であり、 まだ表示する時刻になっていな い。 つまり、 ピクチャ B 5の復号化時点ではピクチャ P 4を表示しなけれ ばならず、 ピクチャ B 6の復号化時点ではピクチャ B 5を表示しなければ ならない。 一方、 ピクチャ B 5とピクチャ B 6は保存されないため、 ピク チヤメモリから表示時刻にピクチャ B 5 とピクチャ B 6を出力することも できない。 従って、 予測符号化で参照されないピクチャはピクチャメモリ に保存しないため、 従来の符号化 ■ 復号化の方法ではピクチャ B 5とピク チヤ B 6を復号化して表示できないことになる。 すなわち、 図 2 4に示す 例のように予測符号化で参照されないピクチャを保存しない場合ではピク チヤ 0、 ピクチャ 1 、 ピクチャ 2、 ピクチャ 4、 ピクチャ 7だけが表示で きることになる。
このように、 ピクチャ符号化タイプと して、 より柔軟な組み合わせを検 討すると、 復号化して表示できないピクチャが生じてしまうという問題が ある。 また、 表示用に別途、 ピクチャメモリを追加し、 ピクチャメモリ PicMeml に保存されていないピクチャを表示用の別のピクチャメモリに 保存すれば表示が可能になるが、 この場合、 別のピクチャメモリに大きな 余分なメモリが必要になる欠点がある。
更に、 表示用の別のピクチャメモリを導入したとしても、 ス トリーム途 中からの再生において新たな問題が発生する。 図 2はピクチャの予測構 造 ■ 復号順序と表示順序を示す図である。 同図において、 図 2 5との違い は、 ピクチャ 7の前後で完全に予測構造が独立となることである。 17以降 のピクチャは 17より前の時刻のピクチャを符号化 ■ 復号化で参照しない。 従って、 17 ピクチャから復号化を開始すれば 17 ピクチャ以降が正しく復 号化できるため、 17 ピクチャはス 卜リーム途中から再生可能であるという 特徴を有する。 このように、 ス ト リーム途中に I ピクチャを挿入すること が良く行われ、 この途中から再生できる構造を MPEG-2に準じて GOP (グ ループ ォブ ピクチャ) と呼ぶことにする。 さて、 ス トリーム途中から再生するためには、 途中から再生した時点で も再生画像が符号化装置と復号化装置との間で一致することを保証しなけ ればならず、 そのためにピクチャメモリの全ピクチャ領域を初期化するの が簡単な方法である。 しかしながら、 ピクチャ 6はピクチャ 7を復号化し た時点ではまだ表示されずにピクチャメモリに格納されているため、 単純 にピクチャ 6の表示前に全てのピクチャメモリを初期化してしまうとピク チヤ 6の表示時刻にピクチャメモリからピクチャ 6を表示できなくなって しまう。
そこで、 本発明では、 画像の符号化あるいは復号化において必要なメモ リ量を考慮しながら、 復号化して表示できないピクチャが生じないように することを目的とする。 発明の開示
上記目的を達成するため、 本発明の画像符号化方法は、 ピクチャバッフ ァに保持されている画像を参照しながら入力画像を予測符号化し、 符号化 された前記入力画像を復号化する画像符号化方法であって、 復号化された 画像について、 参照用の画像であるか否か及び表示時刻まで保持が必要な 出力用の画像であるかを判定し、 判定結果に基づいて参照用の画像および 出力用の画像を前記ピクチャバッファに保持させることを特徴とする。 ここで前記画像符号化方法は、 復号化された画像が参照用の画像である か否かを判定する第 1 の判定ステップと、 復号化された画像が参照用では なくかつ表示時刻まで保持が必要な出力用の画像であるか否かを判定する 第 2の判定ステップと、 第 1 の判定ステップにおいて参照用の画像と判定 された画像を前記ピクチャバッファに保持させ、 第 2の判定ステップにお いて出力用の画像と判定された画像を前記ピクチャバッファに保持させる ようピクチャバッファを管理する管理ステツプとを有する構成と しても良 い。
この構成によれば、 復号画像が参照用の画像であるかという判定に加え て、 出力用の画像であるかという判定も行って、 参照用の画像に加えて予 測符号化において参照されないが復号されると同時に表示又は出力するこ とができない画像を出力用画像としてピクチャバッファに格納する。 画像 符号化に際してこのような判定及ぴピクチャバッファ管理を行い復号動作 を検証しているので、 復号化装置において出力用の画像を確実にその表示 時刻に表示あるいは出力することができる。
ここで、 前記ピクチャバッファは一定のサイズを有し、 前記画像符号化 方法は、 さらに、 ピクチャバッファに保持されている参照用の画像が参照 済となったか否かを判定する第 3の判定ステップと、 ピクチャバッファに 保持されている出力用の画像が出力済となったか否かを判定する第 4の判 定ステップとを有し、 前記管理ステップにおいて、 第 3及び第 4の判定ス 亍ップにおける各判定結果に基づいて、 前記一定のサイズの範囲内でピク チヤバッファ中の画像を保持している領域を再利用する構成としてもよい, この構成によれば、 管理ステップにおいて、 前記ピクチャバッファの一 定のサイズの範囲内で、 参照用の画像と前記出力用の画像とを、 画像を保 持している領域を再利用して格納するので、 メモリを無駄に消費すること なく復号画像ピクチャバッファを必要最小限のサイズとすることができる, さらに、 前記画像符号化方法は、 複数の符号化画像からなるシーケンス 毎に、 当該シーケンスの符号化において一定となる前記サイズを示す情報 を符号化する符号化ステップを有するようにしてもよい。
この構成によれば、 シーケンス毎に前記サイズが一定となるので、 シー ケンス毎に予測符号化で用いる画像のタイプを柔軟に定めることができる また、 前記管理ステップにおいて、 前記ピクチャバッファ中に新たに画 像を格納可能な領域が存在しない場合に、 第 4の判定ステップにおいて出 力済になったと判定された出力用の画像を保持している領域に、 第 1 の判 定ステップにおいて参照用の画像と判定された画像および第 2の判定ステ ップにおいて参照用の画像と判定された画像の何れかを格納する構成とし てもよい。
この構成によれば、 ピクチャバッファに格納された出力用の画像の領域 のうち既に出力済の画像が格納されている領域に、新たな画像を格納する。 つまり出力済の画像が格納されている領域を再利用するので、 出力済でな ぃ復号画像の表示をより確実にすることができる。
さらに、 前記管理ステップにおいて、 前記ピクチャバッファ中に新たに 画像を格納可能な領域が存在しない場合、 前記ピクチャバッファに格納さ れた出力用の画像のうち表示順で古い画像を保持している領域に、 第 1 の 判定ステツプにおいて参照用の画像と判定された画像および第 2の判定ス テツプにおいて出力用の画像と判定された画像の何れかを保持させる構成 と してもよい。
この構成によれば、 出力用の画像のうち表示順で古い画像が格納されて いる領域には出力済の復号画像が格納されている可能性が高いので、 個々 の復号画像の表示時刻を正確に判断する構成でなくても、 出力済でない復 号画像の表示をよリ確実にすることができる。
また、 前記画像符号化方法は、 さらに、 複数の符号化画像を含むシ一ケ ンスの途中で入力画像のサイズ変更された場合、 出力用の画像を保持して いる領域のうち、 サイズ変更前の画像でかつ格納後に画像の全部又は一部 が変更されていない画像を保持している領域以外の領域を開放する開放ス テップを有する構成としてもよい。
この構成によれば、 サイズ変更があつたとき、 出力用の復号画像は復号 画像ピクチャバッファに残すことができるので、 サイズ変更の時点で出力 済でない画像を削除することなくできるだけ多く出力することができる。 以上の様に、 本発明によれば従来では正しく表示不可能であったピクチ ャも、 余分なメモリを持つことなく、 開放されたメモリ領域を有効に活用 することで表示可能となり、 その実用的価値は高い。
また本発明の画像復号化方法、 画像符号化装置、 画像復号化装置、 プロ グラムについても上記と同様の構成、 作用、 効果を有する。
また、 本発明の画像符号化方法又は画像復号化方法は、 以下の ( 1 ) か ら ( 1 6 ) の何れかの構成とすることができる。
( 1 ) 復号化されメモリ に保存されている復号化済画像を参照して画像信 号を予測符号化する画像符号化方法であって、 前記復号化済画像をメモリ から参照して予測画像を生成し、 前記予測画像と前記画像信号の差を符号 化して符号化ス トリ一ムとするステップと、 前記符号化した前記予測画像 と前記画像信号の差を復号化して前記予測画像を加算して復号画像とし、 所定の復号画像を前記メモリに格納するステップと、 前記メモリの全領域 を開放して再利用可能とするか否かを示す指示情報を前記符号化ス トリー ムに含めるステップとを含むことを特徴とする画像符号化方法。
( 2 ) 復号化済画像を参照して画像信号を予測符号化する画像符号化方法 であって、 復号化済画像をメモリから参照して予測画像を生成し、 前記予 測した前記予測画像と前記画像信号の差を符号化して符号化ス トリームと し、 前記符号化した前記予測画像と前記画像信号の差を復号化して前記予 測画像を加算して復号画像と し、 予測画像生成のために参照される画像お よび即座に表示不可能な画像は前記復号画像を前記メモリに格納する画像 符号化方法。
( 3 ) 復号化済画像を参照して画像信号を予測符号化する画像符号化方法 であって、 復号化済画像をメモリから参照して予測画像を生成し、 前記予 測した前記予測画像と前記画像信号の差を符号化して符号化ス ト リ一ムと し、 前記符号化した前記予測画像と前記画像信号の差を復号化して前記予 測画像を加算して復号画像と し、 前記復号画像を前記メモリに格納したリ 不要になった画像を前記メモリから開放し、 前記メモリに前記復号画像を 格納する際は前記メモリ内の開放された領域で表示済の画像が保存されて いた領域に格納する画像符号化方法。
( 4 ) 復号化されメモリに保存されている復号化済画像を参照して符号化 ス トリームを予測復号化する画像復号化方法であって、
前記復号化済画像を前記メモリから参照して予測画像を生成し、 前記符 号化ス トリ一ムを復号化して得られる画像信号に前記予測画像を加算して 復号画像と し、 所定の復号画像をメモリ に格納するステップと、
前記符号化ス トリ一ムを復号化して得られるメモリの全領域を開放して 再利用可能とするか否かを示す指示情報を基に、 前記指示情報が示す情報 に基づいた処理を行う処理ステップとを
含むことを特徴とする画像復号化方法。
( 5 ) 復号化済画像を参照して符号化ス トリームを予測復号化する画像復 号化方法であつて、復号化済画像をメモリから参照して予測画像を生成し、 前記符号化ス ト リームを復号化して前記予測画像を加算して復号画像と し. 前記復号画像を前記メモリに格納したリ不要になつた画像を前記メモリか ら開放し、 前記メモリに前記復号画像を格納する際は前記メモリ内の開放 された領域で表示済の画像が保存されていた領域に格納する画像復号化方 法。
( 6 ) 復号化済画像を参照して画像信号を予測符号化する画像符号化方法 であって、 復号化済画像をメモリから参照して予測画像を生成し、 前記予 測した前記予測画像と前記画像信号の差を符号化して符号化ス 卜リームと し、 前記符号化した前記予測画像と前記画像信号の差を復号化して前記予 測画像を加算して復号画像と し、 前記復号画像を前記メモリ に格納したり 不要になった画像を前記メモリから開放し、 前記メモリに前記復号画像を 格納する際は前記メモリ内の開放された領域で最も古い時刻の画像が保存 されていた領域に格納する画像符号化方法。
( 7 ) 復号化済画像を参照して符号化ス トリームを予測復号化する画像復 号化方法であって、復号化済画像をメモリから参照して予測画像を生成し、 前記符号化ス トリームを復号化して前記予測画像を加算して復号画像とし. 前記復号画像を前記メモリに格納したリ不要になった画像を前記メモリか ら開放し、 前記メモリに前記復号画像を格納する際は前記メモリ内の開放 された領域で最も古い時刻の画像が保存されていた領域に格納する画像復 号化方法。
( 8 ) 復号化済画像を参照して画像信号を予測符号化する画像符号化方法 であって、 復号化済画像をメモリから参照して予測画像を生成し、 前記予 測した前記予測画像と前記画像信号の差を符号化して符号化ス卜リームと し、 前記符号化した前記予測画像と前記画像信号の差を復号化して前記予 測画像を加算して復号画像とし、 前記復号画像を前記メモリに格納したり 不要になった画像を前記メモリから開放し、 前記メモリに前記復号画像を 格納する際は前記メモリ内で最初に開放された格納可能領域に格納する画 像符号化方法。
( 9 ) 復号化済画像を参照して符号化ス トリームを予測復号化する画像復 号化方法であって、復号化済画像をメモリから参照して予測画像を生成し、 前記符号化ス トリー厶を復号化して前記予測画像を加算して復号画像とし. 前記復号画像を前記メモリに格納したリ不要になった画像を前記メモリか ら開放し、 前記メモリに前記復号画像を格納する際は前記メモリ内で最初 に開放された格納可能領域に格納する画像復号化方法。
( 1 0 ) 復号化済画像を参照して画像信号を予測符号化する画像符号化装 置であって、 復号化済画像をメモリから参照して予測画像を生成する予測 手段と、 前記予測手段で予測した前記予測画像と前記画像信号の差を符号 化し符号化ス ト リームとする符号化手段と、 前記符号化した前記予測画像 と前記画像信号の差を復号化する復号化手段と、 前記復号化手段で復号化 した前記予測画像と前記画像信号の差と前記予測画像を加算する加算手段 と、 予測画像生成のために参照される画像および即座に表示不可能な画像 をメ モリに格納するよう判断する参照画像管理手段と、 前記参照画像管理 手段の判断に基づいて前記加算手段の加算結果を前記メモリ に格納するメ モリ手段を備えた画像符号化装置。
( 1 1 ) 復号化済画像を参照して画像信号を予測符号化する画像符号化装 置であって、 復号化済画像をメモリから参照して予測画像を生成する予測 手段と、 前記予測手段で予測した前記予測画像と前記画像信号の差を符号 化し符号化ス トリームとする符号化手段と、 前記符号化した前記予測画像 と前記画像信号の差を復号化する復号化手段と、 前記復号化手段で復号化 した前記予測画像と前記画像信号の差と前記予測画像を加算する加算手段 と、 前記加算手段の加算結果をメモリに格納したリ不要な画像をメモリか ら開放するよう判断する参照画像管理手段と、 前記参照画像管理手段の判 断に基づいて前記加算手段の加算結果をメモリ中の開放された領域であつ て復号化装置で復号化済画像と して外部に出力済である画像が保存されて いた領域に格納するメモリ手段を備えた画像符号化装置。
( 1 2 ) 復号化済画像を参照して符号化ス ト リームを予測復号化する画像 復号化装置であって、 前記符号化ス'トリ一厶を復号化する復号化手段と、 復号化済画像をメモリから参照して予測画像を生成する予測手段と、 前記 復号化手段で復号化した前記予測画像と前記画像信号の差と前記予測画像 を加算する加算手段と、 前記加算手段の加算結果をメモリに格納したリ不 要な画像をメモリから開放するよう判断する参照画像管理手段と、 前記参 照画像管理手段の判断に基づいて前記加算手段の加算結果をメモリ中の開 放された領域であって復号化済画像として外部に出力済の画像が保存され ていた領域に格納するメ モリ手段を備えた画像復号化装置。
( 1 3 ) 復号化済画像を参照して画像信号を予測符号化する画像符号化装 置であって、 復号化済画像をメモリから参照して予測画像を生成する予測 手段と、 前記予測手段で予測した前記予測画像と前記画像信号の差を符号 化し符号化ス トリームとする符号化手段と、 前記符号化した前記予測画像 と前記画像信号の差を復号化する復号化手段と、 前記復号化手段で復号化 した前記予測画像と前記画像信号の差と前記予測画像を加算する加算手段 と、 前記加算手段の加算結果をメモリに格納したリ不要な画像をメモリか ら開放するよう判断する参照画像管理手段と、 前記参照画像管理手段の判 断に基づいて前記加算手段の加算結果をメモリ中の開放された領域であつ て時刻が最も古い画像が保存されていた領域に格納するメモリ手段を備え た画像符号化装置。
( 1 4 ) 復号化済画像を参照して符号化ス トリームを予測復号化する画像 復号化装置であって、 前記符号化ス トリームを復号化する復号化手段と、 復号化済画像をメモリから参照して予測画像を生成する予測手段と、 前記 復号化手段で復号化した前記予測画像と前記画像信号の差と前記予測画像 を加算する加算手段と、 前記加算手段の加算結果をメモリに格納したリ不 要な画像をメモリから開放するよう判断する参照画像管理手段と、 前記参 照画像管理手段の判断に基づいて前記加算手段の加算結果をメモリ中の開 放された領域であって時刻が最も古い画像が保存されていた領域に格納す るメモリ手段を備えた画像復号化装置。
( 1 5 ) 復号化済画像を参照して画像信号を予測符号化する画像符号化装 置であって、 復号化済画像をメモリから参照して予測画像を生成する予測 手段と、 前記予測手段で予測した前記予測画像と前記画像信号の差を符号 化し符号化ス トリームとする符号化手段と、 前記符号化した前記予測画像 と前記画像信号の差を復号化する復号化手段と、 前記復号化手段で復号化 した前記予測画像と前記画像信号の差と前記予測画像を加算する加算手段 と、 前記加算手段の加算結果をメモリに格納したリ不要な画像をメモリか ら開放するよう判断する参照画像管理手段と、 前記参照画像管理手段の判 断に基づいて前記加算手段の加算結果をメモリ中の開放された領域であつ てで開放した順序が早い領域に格納するメモリ手段を備えた画像符号化装
( 1 6 ) 復号化済画像を参照して符号化ス トリームを予測復号化する画像 復号化装置であって、 前記符号化ス ト リームを復号化する復号化手段と、 復号化済画像をメモリから参照して予測画像を生成する予測手段と、 前記 復号化手段で復号化した前記予測画像と前記画像信号の差と前記予測画像 を加算する加算手段と、 前記加算手段の加算結果をメモリに格納したリ不 要な画像をメモリから開放するよう判断する参照画像管理手段と、 前記参 照画像管理手段の判断に基づいて前記加算手段の加算結果をメモリ中の開 放された領域であって開放した順序が早い領域に格納するメモリ手段を備 えた画像復号化装置。
また、 本発明の画像符号化方法及び画像復号化方法をコンピュータに実 行させるプログラムを格納する記憶媒体は、 以下の ( 1 7 ) から ( 2 3 ) の何れかと してもよい。
( 1 7 ) 上記プログラムはコンピュータに、 復号化済画像を参照して画像 信号を予測符号化させる画像符号化方法であって、 復号化済画像をメモリ から参照して予測画像を生成し、 前記予測した前記予測画像と前記画像信 号の差を符号化して符号化ス トリームと し、 前記符号化した前記予測画像 と前記画像信号の差を復号化して前記予測画像を加算して復号画像とし、 予測画像生成のために参照される画像および即座に表示不可能な画像は前 記復号画像を前記メモリ に格納する画像符号化方法を、 行わせるものであ ることを特徴とする記憶媒体。 ( 1 8 ) 上記プログラムはコンピュータに、 復号化済画像を参照して画像 信号を予測符号化させる画像符号化方法であって、 復号化済画像をメモリ から参照して予測画像を生成し、 前記予測した前記予測画像と前記画像信 号の差を符号化して符号化ス トリームとし、 前記符号化した前記予測画像 と前記画像信号の差を復号化して前記予測画像を加算して復号画像とし、 前記復号画像を前記メモリに格納したリ不要になつた画像を前記メ モリか ら開放し、 前記メ モ リに前記復号画像を格納する際は前記メ モリ内の開放 された領域で表示済の画像が保存されていた領域に格納する画像符号化方 法を、 行わせるものであることを特徴とする記憶媒体。
( 1 9 ) 上記プログラムはコンピュータに、 復号化済画像を参照して符号 化ス トリームを予測復号化させる画像復号化方法であって、 復号化済画像 をメモリから参照して予測画像を生成し、 前記符号化ス トリームを復号化 して前記予測画像を加算して復号画像とし、 前記復号画像を前記メ モリ に 格納したり不要になった画像を前記メモリから開放し、 前記メモリに前記 復号画像を格納する際は前記メモリ内の開放された領域で表示済の画像が 保存されていた領域に格納する画像復号化方法を、 行わせるものであるこ とを特徴とする記憶媒体。
( 2 0 ) 上記プログラムはコンピュータに、 復号化済画像を参照して画像 信号を予測符号化させる画像符号化方法であって、 復号化済画像をメ モリ から参照して予測画像を生成し、 前記予測した前記予測画像と前記画像信 号の差を符号化して符号化ス トリームと し、 前記符号化した前記予測画像 と前記画像信号の差を復号化して前記予測画像を加算して復号画像とし、 前記復号画像を前記メモリに格納したリ不要になつた画像を前記メモリか ら開放し、 前記メモリに前記復号画像を格納する際は前記メモリ内の開放 された領域で最も古い時刻の画像が保存されていた領域に格納する画像符 号化方法を、 行わせるものであることを特徴とする記憶媒体。 ( 2 1 ) 上記プログラムはコンピュータに、 復号化済画像を参照して符号 化ス トリームを予測復号化させる画像復号化方法であって、 復号化済画像 をメモリから参照して予測画像を生成し、 前記符号化ス トリ一ムを復号化 して前記予測画像を加算して復号画像と し、 前記復号画像を前記メモリ に 格納したり不要になった画像を前記メモリから開放し、 前記メモリ に前記 復号画像を格納する際は前記メモリ内の開放された領域で最も古い時刻の 画像が保存されていた領域に格納する画像復号化方法を、 行わせるもので あることを特徴とする記憶媒体。
( 2 2 ) 上記プログラムはコンピュータに、 復号化済画像を参照して画像 信号を予測符号化させる画像符号化方法であって、 復号化済画像をメモリ から参照して予測画像を生成し、 前記予測した前記予測画像と前記画像信 号の差を符号化して符号化ス トリー厶とし、 前記符号化した前記予測画像 と前記画像信号の差を復号化して前記予測画像を加算して復号画像とし、 前記復号画像を前記メモリに格納したリ不要になつた画像を前記メモリか ら開放し、 前記メモリに前記復号画像を格納する際は前記メモリ内で最初 に開放された格納可能領域に格納する画像符号化方法を、 行わせるもので あることを特徴とする記憶媒体。
( 2 3 ) 上記プログラムはコンピュータに、 復号化済画像を参照して符号 化ストリームを予測復号化させる画像復号化方法であって、 復号化済画像 をメモリから参照して予測画像を生成し、 前記符号化ス トリームを復号化 して前記予測画像を加算して復号画像とし、 前記復号画像を前記メモリに 格納したり不要になった画像を前記メモリから開放し、 前記メモリに前記 復号画像を格納する際は前記メモリ内で最初に開放された格納可能領域に 格納する画像復号化方法を、 行わせるものであることを特徴とする記憶媒 体。
また、 本発明の画像符号化装置においてス トリーム及び画像復号化装置 に対するメモリ拘束条件を定義し、ビデオを符号化する方法は、以下の( A 1 ) から ( A 2 6 ) の何れかであってもよい。
( A 1 ) ス トリーム及び画像復号化装置に対するメモリ拘束条件を定義す る、 画像符号化方法であって、 用いることができる參照ピクチャの最大数 を決定するステップと、 後方予測参照ピクチャの最大数を設定するステツ プと、 ス ト リームのヘッダーに後方予測参照ピクチャの前記最大数を入れ るステップと、 仮想ディスプレイ遅延バッファを生成するステップと、 デ イスプレイ · カウンタを生成するステツプと、 前記参照ピクチャに対して 十分な記憶空間を割り当てるステップと、 前記ビデオを符号化するステツ プと、 を含む画像符号化方法。 ここで、 仮想 ■ ディスプレイ遅延バッファ は、 画像符号化装置内のメモリに確保される表示用領域に格納されるべき 各表示用ピクチャに対応する仮想的なバッファであり、 その表示用ピクチ ャの出力する順序を示す情報 (ピクチャ順序番号等) を保持する。 デイス プレイ ■ カウンタは、 仮想的にディスプレイに出力されるべきピクチャの ピクチャ順序番号を記憶及び更新する。 また、 十分な記憶空間とは、 参照 ピクチャと表示用ピクチャを格納する領域をいう。
( A 2 ) 参照ピクチャの前記最大数は、 デコーダの能力を示すレベル値に 応じて決定される、 (A 1 ) に記載の画像符号化方法。
( A 3 ) 後方予測参照ピクチャの前記最大数は、 参照ピクチャの前記最大 数よりも少ない、 (A 1 ) または (A 2 ) に記載の画像符号化方法。
( A 4 ) ス トリーム全体の前記後方予測は、 後方予測参照ピクチャの前記 最大数によって制限される、 (A 1 )、 ( A 2 ) または (A 3 ) に記載の画像 符号化方法。
( A 5 ) 前記仮想 ' ディスプレイ遅延バッファのサイズは、 後方予測参照 ピクチャの前記最大数から 1 を引いたものである、 ( A 1 ) に記載の画像符 号化方法。 ( A 6 ) 前記仮想 ' ディスプレイ遅延バッファの物理メモリは、 ピクチャ の表示順序情報だけを含む、 (A 1 ) または (A 5 ) に記載の画像符号化方 法。
( A 7 ) 前記ディスプレイ ■ カウンタは、 仮想 - ディスプレイ遅延バッフ ァから除去されるピクチャの表示順序情報を記憶するために用いられる、 ( A 1 ) に記載の画像符号化方法。
( A 8 ) 前記画像符号化方法は、 利用可能な参照ピクチャを用いて符号化 対象ピクチャを予測するステップと、 前記符号化対象ピクチャを符号化す るステップと、 前記符号化したピクチャが予測に用いられるかどうかを決 定するステップと、 前記符号化したピクチャを復号化するステップと、 前 記復号化したピクチャを前記参照ピクチャ ■ バッファに記憶するステップ と、 前記仮想 ' ディスプレイ遅延バッファを更新するステップと、 前記デ イスプレイ ■ カウンタを更新するステップと、 を含む (A 1 ) に記載の画 像符号化方法。
( A 9 ) ピクチャの前記予測は、 前記ピクチヤが予測符号化される場合に は一つ又は複数の参照ピクチャを用いることができる、 ( A 1 ) または ( A 8 ) に記載の画像符号化方法。
( A 1 0 ) 前記参照ピクチャは、 前記参照ピクチャ ' バッファがメモリ拘 束条件を満足した場合にのみ用いることができる、 (A 1 ) または (A 8 ) に記載の画像符号化方法。
( A 1 1 ) 前記参照ピクチャは、 前記符号化対象ピクチャが参照ピクチャ と して用いられる場合に復号化される、 (A 1 ) または (A 8 ) に記載の画 像符号化方法。
( A 1 2 ) 前記復号化されたピクチャの記憶は、 次のピクチャに対する参 照ピクチャ数のメ モリ拘束条件を決定するステップと、 前記参照ピクチ ャ - バッファから未使用参照ピクチャを除去するステップと、 前記復号化 したピクチャを前記参照ピクチャ■バッファに加えるステップと、を含む、 ( A 1 )、 ( A 8 ) または (A 1 0 ) に記載の画像符号化方法。
( A 1 3 ) 次のピクチャに対する参照ピクチャの前記最大数は、 ス トリー 厶に対する参照ピクチヤの最大数から前記仮想 - ディスプレイ遅延バッフ ァのピクチャ数を引いた数に等しい、( A 1 )、( A 8 )、( A 1 0 )または( A
1 2 ) に記載の画像符号化方法。
( A 1 ) 前記未使用参照ピクチャのディスプレイに対する表示順序情報 は、 ディスプレイに対する前記表示順序情報が前記ディスプレイ ■ カウン タの値よりも大きい場合に仮想'ディスプレイ遅延バッファに移動される、 ( A 1 )、 ( A 8 )、 ( A 1 0 ) または (A 1 2 ) に記載の画像符号化方法。
( A 1 5 ) 前記仮想 ' ディスプレイ遅延バッファは、 前記表示順序情報が 前記ディスプレイ ■ カウンタの値より大きい場合には、 前記ピクチャの前 記時間的情報を記憶する、( A 1 )または(A 8 )に記載の画像符号化方法。
( A 1 6 ) 前記仮想 ' デイスプレイ遅延バッファは、 前記表示順序情報が 前記ディスプレイ ■ カウンタの値以下である場合には、 前記ピクチャの前 記表示順序情報を除去する、 ( A 1 )、 ( A 8 ) または (A 1 5 ) に記載の画 像符号化方法。
( A 1 7 ) 前記仮想 ■ デイスプレイ遅延バッファの前記ピクチャ数は、 前 記仮想 ■ ディスプレイ遅延バッファに存在するピクチャの表示順序情報の 合計数によって定義される、 (A 1 )、 (A 8 )、 ( A 1 0 )、 ( A 1 2 ) または ( A 1 3 ) に記載の画像符号化方法。
( A 1 8 ) 前記ディスプレイ ■ 力ゥンタの表示順序情報は、 前記仮想 ■ デ イスプレイ遅延バッファがフルであるときか又は符号化されたピクチャ数 が前記参照ピクチャの最大数に等しいときに更新を開始する、(A 1 ) また は (A 8 ) に記載の画像符号化方法。
( A 1 9 ) 前記ディスプレイ ' カウンタの表示順序情報は、 前記ディスプ レイ , カウンタが更新を開始した後に符号化された各ピクチャの表示順序 情報に基づいて更新される、 ( A 1 )、 ( A 8 ) または (A 1 8 ) に記載の画 像符号化方法。
( A 2 0 ) 前記画像符号化装置のための画像復号化装置は、 ス トリーム - ヘッダーから最大ボス ト ■ デコーダ ■ バッファ ■ サイズを決定するステツ プと、 必要な参照ピクチャの最小数を決定するステップと、 参照ピクチャ に対して十分な物理メモリ空間を割リ当てるステップと、 前記ス トリーム を復号化するステップと、 前記ス トリームを出力するステップと、 を含む ( A 1 ) に記載の画像符号化方法。
( A 2 1 ) 前記最大ポスト ' デコーダ ' バッファ ' サイズは、 前記画像符 号化装置によって設定された後方参照ピクチャの最大数である、 (A 1 ) ま たは (A 2 0 ) に記載の画像符号化方法。
( A 2 2 ) 必要な参照ピクチャの前記最小数は、 同じそのス トリームを復 号化できる画像復号化装置の能力レベルに対して固定される、(A 1 ) また は (A 2 0 ) に記載の画像符号化方法。
( A 2 3 ) 前記画像復号化装置で割り当てられた前記物理メモリ空間は、 参照ピクチャ及びボス 卜 ■ デコーダ " ピクチャの両方を記憶するために用 いることができる、 (A 1 ) または (A 2 0 ) に記載の画像符号化方法。
( A 2 4 )参照ピクチャ及びポス ト 'デコーダ "ピクチャの両方の合計は、 前記割り当てられた物理メモリ空間を超えない、 ( A 1 ) または ( A 2 0 ) に記載の画像符号化方法。
( A 2 5 ) 前記復号化は、 復号化されたピクチャの数が前記最大ポス ト - デコーダ■ バッファ ' サイズから 1 を引いた数に等しいときか又は復号化 されたピクチャの合計数が参照ピクチャの前記決定された最小数に等しい ときのいずれか早い方に、第 1 の復号化されたピクチャを出力する、(A 1 ) または (A 2 0 ) に記載の画像符号化方法。 ( A 2 6 ) 復号化されたピクチャは、 一旦それが出力のために送られたな らば前記ポス ト ■ デコーダ■バッファから除去される、 ( A 1 ) または ( A 2 0 ) に記載の画像符号化方法。
また、 本発明の画像復号化装置においてス 卜リーム及び画像復号化装置 に対するメモリ拘束条件に基づいてス トリームを復号化する方法は、 以下 の (A 2 7 ) から (A 3 7 ) の何れかであってもよい。
( A 2 7 ) ス 卜リーム及び画像復号化装置に対するメモリ拘束条件に基づ いてス トリー厶を復号化する方法であって、 ス トリ一ムに用いられる参照 ピクチャの最大数を決定するステツプと、 後方予測参照ピクチャの最大可 能数を決定するステップと、 ポス ト ■ デコーダ ■ バッファの最小サイズを 計算するステップと、 参照ピクチャ ■ バッファに対して十分な物理メモリ 空間を割り当てるステップと、 ボス 卜 ■ デコーダ ' バッファに対して十分 な物理メモリ空間を割リ当てるステップと、 ス トリ一ムを復号化するステ ップと、 参照ピクチャ ■ バッファに復号化したピクチャを記憶するステツ プと、 ポス ト ' デコーダ ' バッファに復号化したピクチャを記憶するステ ップと、 復号化したピクチャを出力するステップと、 を含む画像復号化方 法。 ここで、 ボス ト ■ デコーダ ■ バッファは、 画像復号化装置内の参照ピ クチャメモリにおける表示用領域をいう。
( A 2 8 ) 参照ピクチャの前記最大数は、 ス トリームを復号化できる能力 のレベルに応じて画像復号化装置に対して固定される、 (A 2 7 ) に記載の 画像復号化方法。
( A 2 9 ) 後方予測参照ピクチャの前記最大可能数は、 参照ピクチャの前 記最大数から 1 を引いた数として定義される、 (A 2 7 ) に記載の画像復号 化方法。
( A 3 0 ) ポス ト ' デコーダ ' バッファの前記最小サイズは、 後方予測参 照ピクチャの前記最大可能数から 1 を引いた数と して定義される、 (A 2 7 ) に記載の画像復号化方法。
( A 3 1 ) ポス 卜 ' デコーダ ' パッファの前記最小サイズをス トリ一ムか ら取得する、 (A 2 7 ) または (A 3 0 ) に記載の画像復号化方法。
( A 3 2 ) 後方予測参照ピクチャの前記最大可能数は、ポス ト ·デコーダ - バッファの前記最小サイズに 1 を加えた数によって定義される、 ( A 2 7 ) または ( A 3 1 ) に記載の画像復号化方法。
( A 3 3 ) 参照ピクチャ , バッファの前記最小サイズは、 参照ピクチャの 前記最大数と して定義される、 (A 2 7 ) に記載の画像復号化方法。
( A 3 4 ) 前記参照ピクチャ ■ バッファは、 参照ピクチャを記憶するため にだけ用いられる、 (A 2 7 ) または (A 3 3 ) に記載の画像復号化方法。
( A 3 5 ) 前記ポス ト - デコーダ ■ バッファは、 非参照ピクチャを記憶す るために用いられる、 (A 2 7 )、 ( A 3 0 ) または (A 3 1 ) に記載の画像 復号化方法。
( A 3 6 ) 参照ピクチャは、 それが非参照ピクチャと判定されたときに前 記参照ピクチャ 'バッファから除去される、( A 2 7 )、( A 3 2 ) または( A 3 3 ) に記載の画像復号化方法。
( A 3 7 ) ポス ト ' デコーダ ■ バッファのピクチャは、 それが出力された 際に前記ポス ト■デコーダ'バッファから除去される、(A 2 7 )、(A 3 0)、
( A 3 1 ) または ( A 3 5 ) に記載の画像復号化方法。
以上の構成によればス トリーム及び画像復号化装置の両方に対して同じ メモリ拘束条件で動作させることで、 ス トリームを正しく復号化できるこ とが保証できる。 もしそう しなければ、 画像復号化装置が復号化過程でス 卜リ一厶を復号化するために十分なメモリ空間を確保できない場合が発生 する。 図面の簡単な説明 図 1 は、 ピクチャの予測構造 ■ 復号順序と表示順序を示す図を示す。 図 2は、 ピクチャの予測構造 · 復号順序と表示順序を示す図を示す。 図 3は、 本発明の画像符号化方法を実現する画像符号化装置のブロッ ク図 (実施の形態 1 ) を示す。
図 4は、 本発明の参照ピクチャ管理ユニッ トの動作を示すフローチヤ ート (実施の形態 1 ) を示す。
図 5 ( a ) ( b ) ( c ) はいずれもメモリへのピクチャの保存状態を示 す状態図を示す。
図 6は、 本発明の画像符号化装置の動作を示すフローチャート (実施 の形態 2 ) を示す。
図 7は、 本発明の画像符号化装置の動作を示すフローチャート (実施 の形態 3 ) を示す。
図 8は、 本発明の画像符号化装置の動作を示すフローチャート (実施 の形態 4 ) を示す。
図 9は、 本発明の画像復号化方法を実現する画像復号化装置のブロッ ク図 (実施の形態 5 ) を示す。
図 1 0は、 本発明における画像復号化装置の動作を示すフローチヤ一 卜 (実施の形態 5 ) を示す。
図 1 1 は、 本発明における画像復号化装置の他の動作を示すフローチ ヤー ト (実施の形態 5 ) を示す。
図 1 2は、 本発明における画像復号化装置の更に他の動作を示すフロ —チャー ト (実施の形態 5 ) を示す。
図 1 3は、 本発明における画像復号化装置のまた更に他の動作を示す フローチャー ト (実施の形態 5 ) を示す。
図 1 4は、 画像符号化装置の仮想 ■ ディスプレイ遅延バッファの使用 のブロック図を示す。 図 1 5は、 符号化における、 ポス ト ■ デコーダ■ バッファ動作処理に おける本発明のブロック図を示す。
図 1 6は、 復号化における、 ボス ト ' デコーダ ■ バッファ動作処理に おける本発明のブロック図を示す。
図 1 7は、 参照ピクチャの最大数を制限するために画像符号化装置に おける仮想 ■ ディスプレイ遅延バッファを用いる一例を示す。
図 1 8は、 第 1 のピクチャをディスプレイするための時間を決定する ために仮想 ■ ディスプレイ遅延バッファを用いる一例を示す。
図 1 9は、 上記各実施の形態の画像符号化方法及び画像復号化方法を コンピュータシステムにより実現するためのプログラムを格納するための 記憶媒体についての説明図 (実施の形態 7 ) を示す。
図 2 0は、 コンテンツ供給システムの全体構成を示すブロック図 (実 施の形態 8 ) を示す。
図 2 1 は、 画像符号化方法及び画像復号化方法を用いた携帯電話の例 を示す外観図 (実施の形態 8 ) を示す。
図 2 2は、 携帯電話のブロック図 (実施の形態 8 ) を示す。
図 2 3は、 ディジタル放送用システムの例を示す構成図 (実施の形態 8 ) を示す。
図 2 4は、ピクチャの予測構造 '復号順序と表示順序を示す図を示す。 図 2 5は、ピクチャの予測構造-復号順序と表示順序を示す図を示す。 図 2 6は、 従来の画像符号化方法を実現する画像符号化装置のブロッ ク図を示す。
図 2 7は、メモリ管理コマン ド MMCOの符号例を示す対応図を示す。 図 2 8は、 従来の画像復号化方法を実現する画像復号化装置のブロッ ク図を示す。 発明を実施するための最良の形態
以下、 本発明の実施の形態について、 図面を用いて説明する。
(実施の形態 1 )
本発明の実施の形態 1 を説明する。
図 3は本発明の画像符号化方法を実現する画像符号化装置のブロック図 である。 同図において、 図 2 6の従来の画像符号化方法を実現する画像符 号化装置のブロック図と同じ動作をする機器は同じ番号を付し、 説明を省 略する。
図 2 6の従来の画像符号化方法を実現する画像符号化装置のプロック図 との違いは、図 3では表示ピクチャ管理ユニッ ト DispPicCtrlが追加され、 さらに表示ピクチャ管理ュニッ ト DispPicCtrlの指示が参照ピクチャ管理 ユニッ ト RefPicCtrlとピクチャメモリ PicMem2に出力されていることで おる。
また、 図 3に示される画像符号化装置 1 0 0では新たに、 外部から変更 されたピクチャサイズを取得するとともに、 ピクチャ構造決定ユニッ ト PicStruc から各ピクチャの符号化タイプ (Iピ クチャ、 Pピクチャ、 B ピ クチャ) を取得して、 I ピクチャのタイミングで、 変更するピクチャサイ ズを示す情報を参照ピクチャ管理ユニッ ト RefPicCtrl に出力するピクチ ャサイズ変更ュニッ 卜 PicSizeが設けられている。
ピクチャメモリ PicMem2はピクチャメモリ PicMemlと動作が殆ど同じ であるため、 異なる動作の部分のみ説明する。
表示ピクチャ管理ュニッ ト DispPicCtrlはピクチャ時刻 Timeを取得し、 参照されないために本来は保存されないピクチャが即座に表示可能かどう か (ピクチャメモリに表示時刻まで格納する必要があるかどうか) を判断 する。 ピクチャ時刻 Time は外部から入力され、 表示するピクチャを指定 する信号である。 ピクチャ時刻の取得は、 例えばピクチャをパケッ ト等の 伝送路で伝送するためのシステムが出力する時刻情報から取得してもよい し、 あるいは、 ビデオス トリームとオーディオス トリームとを多重化する ためのフォーマッ ト中の時刻情報から取得してもよく、 あるいは、 ビデオ ス トリームのフォーマッ ト中の時刻情報から取得してもよい。 また、 これ らはピクチャ毎に時刻がわかる絶対時刻であっても、 ピクチャ間で時間の 前後がわかる相対時刻であってもどちらでもよい。 更に、 通常はピクチャ の表示間隔は固定であるため、 ピクチャの表示の順序をその時刻と して考 えても良い。
なお、 即座に表示が可能である場合とは、 加算器 Addで加算して得られ たピクチャがピクチャ時刻 Time で指示された表示するピクチャと一致す る場合である。 この場合には、 ピクチャメモリ PicMem2 に、 未表示で且 つ符号化のために入力されたピクチャより前に表示されるべきピクチャが ない場合のことである。 即座に表示可能でなければ、 参照されない画像で あってもピクチャメモリ PicMem2 に保存するように、 表示ピクチャ管理 ユニッ ト DispPicCtrlは、参照ピクチャ管理ュニッ ト RefPicCtrlに指示を 出す。 その結果、 即座に表示されないピクチャは参照の有無に関わらず必 ずピクチャメモリ PicMem2 に格納されることになリ、 復号化装置でピク チヤメモリ PicMem2からピクチャを表示できるようになる。
図 4は本発明における参照ピクチャ管理ュニッ 卜 RefPicCtrl の動作の フローチャートである。
当該復号画像 (ピクチャ) が予測画像として参照されるために保存すベ きであるかどうかを判断する( Step lO)。参照されるならば Step l2に進み、 そうでなければ Step llに進む。
Step ll では当該復号画像が即座に表示可能であるかどうかを判断する。 即座に表示可能とは、復号化した時点でそのまま表示できることであり(例 えば図 1 に示すピクチャ 1 )、即座に表示不可能とは後で表示しなければな らない (例えば図 1 に示す B 5 ) ことである。 即座に表示可能であれば終 了し、 そうでなければ Step l2に進む。
Step l2 ではピクチャメモリ PicMem2 から保存可能な領域を取得し、 Stepl3で取得したピクチャメモリ PicMem2の領域に当該復号画像を保存 するようにメ モリ管理コマン ド MMCOで指示を出す。
以上のよ う にして、 即座に表示されないピクチャはピクチャメモリ PicMem2に保存し、 表示時刻になった時点でピクチャメモリ PicMem2か らピクチャを表示できるようにすることができる。 また、 表示用の余分な ピクチャメモリを必要とすることがなく 、 表示のために保存が必要なピク チヤを参照用のピクチャメモリに保存することができる。
上述したピクチャメモリ PicMem2 には、 予測画像の生成のために参照 される参照ピクチャが保存される参照用領域と、 表示用ピクチャが保存さ れる表示用領域が存在する。
ところで、 前述した GOP (グループ ォブ ピクチャ) 毎にピクチャサ ィズの変更を行うことも可能である。 このピクチャサイズの変更は、 不要 になった参照ピクチャの保存されたメ モリ の参照用領域を全て開放する (再利用可能の状態にする) 場合にのみ行われる。
しかしながら、 このようにピクチャサイズの変更が行われる場合に、 上 述したように、未表示の表示用ピクチャはメモリ領域に保存されているが、 この未表示の表示用ピクチャをどのように扱うべきか (消去すべきか、 そ のまま表示されるまで保存すべきか) に対する対処方法について明確に決 定する必要がある。
ここで、 ピクチャサイズの変更が行われるときの、 メモリへのピクチャ の保存状態について段階的に説明する。
図 5 ( a ) ( b ) ( c ) は、 メモリへのピクチャの保存状態を段階的に示 す状態図である。 図 5 ( a ) において、 ピクチャ 2 0 0 a、 2 0 0 b、 2 0 0 cは、 参照 用に保存された参照ピクチャ(予測画像生成のために参照されるピクチャ) であり、 ピクチャ 2 0 1 a, 2 0 1 b , 2 0 1 c , 2 0 1 d , 2 0 1 eは、 表示用に保存されている表示用ピクチャ (未表示のピクチャ) である。 ピクチャ 2 0 1 a , 2 0 1 b , 2 0 1 c , 2 0 1 d , 2 0 1 eは、 この 順番に表示される。
この図 5 ( a ) には、 参照ピクチャ 2 0 0 a 、 2 0 0 b、 2 0 0 cの保 存されているメモリ領域が全て開放されて再利用可能な状態とされた状態 が示されている。
図 5 ( b ) には、 図 5 ( a ) に示す状態の後にピクチャサイズが変更さ れ、 参照ピクチャ 2 0 0 aの保存されていたメモリ領域に、 ピクチャサイ ズが大きくなるよう変更された参照ピクチャ 2 0 2 aが保存され、 さらに 表示用ピクチャ 2 0 1 aが表示されて、 そのメモリ領域が開放された状態 が示されている。
図 5 ( c ) は、 図 5 ( b ) に示す状態の後、 さらに表示用ピクチャ 2 0 1 bの保存されたメモリ領域が開放され、 表示用ピクチャ 2 0 1 a , 2 0 1 bの保存されていた開放されたメモリ領域に、 画像サイズが大きくなる ように変更された参照ピクチャ 2 0 2 bが保存された状態を示しておリ、 小さなメモリ領域 2 0 3が残っている。 この状態で、 表示用ピクチャ 2 0 1 cが保存されているメモリ領域を開放しても、 新たに参照ピクチャ (ピ クチャサイズが大きくなるように変更された)を保存することはできない。 このように、 ピクチャサイズが変更されると、 メモリ内に異なるピクチ ャサイズのピクチャが混在する (ピクチャサイズが大きくなるように変更 された参照ピクチャと、 サイズ変更前の未表示の表示用ピクチャ) ことに なる。
それによつて、 メモリが断片的に使用されるようになり、 使用できない 小さなメモリ領域が発生してメモリの使用効率が劣化する。 また、 メモリ を断片的に使用しないように、 発生した小さなメモリ領域がなくなるよう にメモリ内でデータの再配置を行うと、 メモリアクセスが非常に大きくな つてその間の実時間で符号化 ' 復号化動作を実現することが困難である。 そのため、 ピクチャサイズが変更される場合は、 第 1 の方法として、 未 表示の表示用ピクチャの保存されている表示用領域と、 参照ピクチャの保 存されている参照用領域を開放して (再利用可能な状態と して)、未表示の 表示用ピクチャの表示をあきらめるようにする。 このようにすることによ リ、 サイズの異なるピクチャの混在により生じるメモリの断片的な使用を 防止することができ、 メモリの使用効率の劣化を抑えることができる。 上述したピクチャサイズの変更は次のタイミングで行われる。すなわち、 図 3に示すピクチャサイズ変更ュニッ ト PicSizeが、 ピクチャ構造決定ュ ニッ ト PicStructが決定した各ピクチャの符号化タイプ (I ピクチャ、 P ピ クチャ、 Bピクチャ) と、 外部から入力される変更するピクチャサイズと をうけて、 I ピクチャのタイミングでピクチャサイズの変更を行う指令を 参照ピクチャ管理ュニッ ト RefPicCtrlに出力する。 この I ピクチャは、 例 えば GOP の最初に挿入される特別な I ピクチャ ( I D Rピクチャ) であ る。
また、 ピクチャサイズが変更される場合は、 第 2の方法として、 メモリ の全領域を開放して、 未表示の表示用ピクチャをあきらめるようにする手 段と、 あるいは参照ピクチャが保存された参照用領域のみを開放して、 符 号化信号 (ス トリーム) を復号する後述する画像復号化装置 (デコーダ) の判断により、 サイズ変更前のピクチャで未表示の表示用ピクチャについ ては表示できるものを表示するようにし、 未表示の表示用ピクチャの表示 を義務付けないようにする手段とを.切り替えるようにしている。このとき、 画像復号化装置は、 未表示のピクチャについて例えば損傷していないピク チヤなどの表示可能なピクチャを表示順序に従って表示するようにする。 このような切り替えを行うとき、 メモリの全領域を開放する方法と、 参 照ピクチャが保存された参照用領域のみを開放する方法のいずれの方法で 行うかを示す指示情報 (フラグ) もしくは他の識別できるような情報を画 像符号化装置 1 0 0から出力されるス トリーム Strに含めて配置する。 画像復号化装置側では、 ス トリ一ムに配置された指示情報に基づいた処 理を行う。
この指示情報が示す 2つの方法を切り替える際の判断基準の例と しては, いずれの方法で行うかをアプリケーションによってコンテンツを作る人が 決めるようにするか、 メモリに余裕があれば参照用領域のみを開放して未 表示の表示用ピクチャが保存されている表示用領域を開放することはしな い (メモリの全領域を開放することはしない) か、 あるいは、 ピクチャサ ィズが小さく なるよう変更される場合は、 参照用領域のみを開放して未表 示の表示用ピクチャが保存されている表示用領域を開放することはしない (メモリの全領域を開放することはしない) などが考えられる。
以上の構成により、従来の課題を解決する画像符号化装置が実現できる。
(実施の形態 2 )
本発明の実施の形態 2について説明する。
本実施の形態では、 囡 3 で示 した表示 ピク チ ャ 管理ュニ ッ ト DispPicCtrlが、 ピクチャメモリ PicMem2に対して、 開放したメモリにピ クチャを保存する場合に、 表示していないピクチャの領域には新たなピク チヤを保存しないように指示する。通常、ピクチャの領域が開放されても、 その領域に新しいピクチャが保存 (上書き) されない限りは直前に保存し たピクチャが再生できる。 そこで、 仮に表示していないピクチャの保存さ れたメモリ領域が開放されたとしても、 そのメモリ領域には新しいピクチ ャを保存せず、 表示済のピクチャが保存されていた領域に新しいピクチャ を保存することで、 表示時刻になった時点で、 開放されているが、 まだ上 書きされずに残っている未表示のピクチャを表示することができる。 この ピクチャメモリの開放されたピクチャ領域にあるピクチャを表示用ピクチ ャと呼ぶことにする。 なお、 表示済とは、 表示装置への出力済と実質的に 同義であり、 復号化装置においては実際に表示したこと (あるいは表示装 置へ出力したこと) を意味し、 符号化装置においては実際には表示 (ある いは出力) するわけではなく ピクチャ時刻 Time に指定されたときに表示 したもの (あるいは出力したもの) とみなして扱うことを意味する。 図 6は本実施の形態における画像符号化装置 1 0 0の動作を示すフロー チャートである。 本実施の形態は、 開放領域のメモリ に保存されているピ クチャが表示済みかどうかで、 ピクチャの保存を決定することを特徴とす る。
まず、 Step20で当該復号画像がピクチャメモリ PicMem2に保存するも のかどうかをメモリ管理コマンド MMCOの指示に基づき判断する。
保存する場合には、 開放されたピクチャ領域を取得し (Step21 )、 開放 されたピクチャ領域に保存されていたピクチャが表示済であるかどうかを 確認する (SteP22)。 まだ表示されていなければ、 Step21に戻り表示済の ピクチャが保存されていた開放領域を見つけるまで処理を繰リ返す。 表示済のピクチャが保存されていた開放領域を見つけたならば、 その領 域に復号画像を保存する (Step23)。
このようにすることにより、 未表示のピクチャが表示済みになると、 そ の表示済のピクチャの保存されている領域が再利用されるため、 未表示の ピクチャは、 上書きされることなく表示されるまでメモリに保存される。 なお、 メモリに保存されているピクチャが表示済みかどうかは、 表示ピ クチャ管理ユニッ ト DispPicCtrlにおいて表示したかどうかの情報を管理 することによって判断することができる。 また、 ピクチャ領域が開放領域かどうかは、 ピクチャ領域毎に開放され ているかどうかの情報、例えば Γ u s e d (参照ピクチャとして使用可能) J か Γ u n u s e d (以後、 参照ピクチャと して参照されない)」 なのかをメ モリ管理コマンド MMCOに従ってピクチャメモリ PicMem2において保持 し、この保持されている情報を参照することにより判断することができる。 以上の構成によ り、従来の課題を解決する画像符号化装置が実現できる。 以上のようにして、 表示されていないピクチャへの新たなピクチャの上 書きを防止し、 表示時刻になった時点で開放済であるが上書きされていな い領域からピクチャを表示することができる。 また、 余分なメモリを必要 とすることがなく 、 表示のために保存が必要なピクチャを保存することが できる。
なお、 ピクチャサイズが変更になった場合の動作は、 実施の形態 1 と同 様なので説明を省略する。
(実施の形態 3 )
本発明の実施の形態 3を説明する。
図 7は本発明の実施の形態 3における画像符号化装置 1 0 0の動作を示 すフローチャー トである。 本実施の形態は、 メモリを開放した時刻によつ てピクチャの保存を決定することを特徴とする。
まず、 Step30で当該復号画像がピクチャメモリ PicMem2に保存するも のかどうかをメモリ管理コマン ド MMCOの指示に基づき判断する。
保存する場合には、 開放されたピクチャメモリ領域のうち表示時刻が最 も古いピクチャメ モリ領域を取得し (Step31 )、 その領域に復号画像を保 存する (Step32)。
また、 最も古い時刻に開放されたメモリ領域をピクチャの保存領域とす るのではなく 、 最も古い時刻にピクチャが復号化され保存されたメモリ領 域をピクチャの保存領域としてもよい。 これらのメモリ領域は、 そこに保 存されているピクチャが既に表示されている可能性が高いからである。 また、 これらの最も古い時刻は時刻である必要はなく、 最も古い順序で あってもよく、 例えば表示される順序が最も古い順序であってもよいのは 当然である。 例えば表示順序が古いピクチャが既に表示されている可能性 が高く、 表示されたか否かに関わらず、 表示順序が古いピクチャの保存さ れているメモリ領域から順にメモリの保存領域と して再利用される。更に、 通常はピクチャの表示間隔は固定であるため、 ピクチャの表示の順序をそ の時刻と して考えても良い。
以上のようにして、 表示されていないピクチャへの新たなピクチャの上 書きを防止し、 表示時刻になった時点で開放済であるが上書きされていな い領域からピクチャを表示することができる。 また、 余分なメモリを必要 とすることがなく、 表示のために保存が必要なピクチャを保存することが できる。 また、 ピクチャメモリ PicMem2 に保存されているピクチャが表 示されているかどうかに関係なく、 表示するために保存しておくべきピク チヤの保存の処理をすることができる。 なお、 最も古い時刻が表示の時刻 の最も 古い時刻で あ る場合、 例 え ば表示 ピク チ ャ管理ュニ ッ ト DispPicCtrl において表示したかどうかの情報を管理することによって、 最も古い時刻に保存されたピクチャかどうかを判断することができる。 なお、 ピクチャサイズが変更になった場合の動作は、 実施の形態 1 と同 様なので説明を省略する。
(実施の形態 4 )
本発明の実施の形態 4を説明する。
図 8は本発明の実施の形態 4における画像符号化装置 1 0 0の動作を示 すフローチャー トである。 本実施の形態は、 メモリを開放した順番によつ てピクチャの保存を決定することを特徴とする。
まず、 Step40で当該復号画像がピクチャメモリ PicMem2に保存するも のかどうかをメモリ管理コマンド MMCOの指示に基づき判断する。
保存する場合には、 開放された領域の中で、 最初に開放されたピクチャ 領域を取得し (Step41 )、 その領域に復号画像を保存する (Step42)。 表示時刻の情報はシステムが管理するため、 ビデオ復号化装置の作り方 によっては表示時刻を入手することが困難である。 最初に開放されたピク チヤの領域が、 後で開放された領域よリも古い表示時刻のピクチャが保存 されていた可能性が高い。 すなわち、 最初に開放されたピクチャは既に表 示されている可能性が高い。 従って、 最初に開放されたピクチャの領域に 当該復号画像を保存することで、 表示されていないピクチャに対して上書 きしない可能性が高くなる。
なお、 ピクチャ領域が最初に開放されたピクチャ領域かどうかは、 ピク チヤ領域毎に開放されているかどうかの情報、 例えば 「 u s e d : 開放さ れていない (参照ピクチャとして使用可能)」 か 「 u n u s e d : 開放済み (以後、 参照ピクチャと して参照されない)」 かをメモリ管理コマン ド MMCOに従ってピクチャメモリ PicMem2において開放した順序を含めて 保持し、 この保持されている情報を参照することにより判断することがで きる。 あるいは、 ピクチャ領域の使用方法を所定の手順に固定し、 その手 順に従って最初に開放されたピクチャ領域かどうかを判断すればよい。 例 えば、 ピクチャメモリ PicMem2 を、 新規のものが記憶されると記憶した 時刻が古い記憶内容が順に破棄され、 常に最新の一定フレーム数 (または ピクチャ数) の画像が保存される先入れ先出し方式 ( F I F O ) のメモリ として、 最初に開放されたピクチャ領域かどうかを判断すればよい。 以 上のようにして、 表示されていないピクチャへの新たなピクチャの上書き を防止し、 表示時刻になった時点で、 開放済であるが上書きされていない 領域からピクチャを表示することができる。
なお、 ピクチャサイズが変更になった場合の動作は、 実施の形態 1 と同 様なので説明を省略する。
(実施の形態 5 )
本発明の実施の形態 5を説明する。
図 9は本発明の画像復号化方法を実現する画像復号化装置のプロック図 である。 同図において、 図 3の本発明の画像符号化方法を実現する画像符 号化装置のブロック図および図 2 8の従来の画像復号化方法を実現する画 像復号化装置のブロック図と同じ動作をする機器は同じ番号を付し、 説明 を省略する。
図 9の画像復号化装置 1 5 0において、 従来例を示す図 2 8 と異なる点 は、 図 9では、 外部から取得した変更するピクチャサイズ、 および可変長 復号化ュニッ 卜 VLDから取得したメ モ リ管理コマン ド MMCOを基に、 特 另 IJな I ピクチャ (IDR(Instantaneous D ecoding Refresh)ピクチャ) のタ イ ミングでピクチャサイズを変更する指令をピクチャメモリ PicMem2 に 出力するピクチャサイズ変更検出ュニッ 卜 PicSizeDet と、 表示ピクチャ 管理ュニッ 卜 DispPicCtrlが新たに設けられている。
表示ピクチャ管理ュニッ ト DispPicCti'l はピクチャメモリ PicMem2 に おける開放した領域に対してピクチャを保存する場合に、 表示していない ピクチャの領域には新たなピクチャを保存しないように指示する。 通常、 ピクチャの領域が開放されても、 その領域に新しいピクチャが保存 (上書 き) されない限りは直前に保存したピクチャのデータがメモリ内に残って おり再生できる。 そこで、 仮に表示していないピクチャが開放されたとし ても、 表示済のピクチャが保存されていた領域に新しいピクチャを保存す ることで、 表示時刻になった時点で開放されているがまだ上書きされずに 残っている表示されていないピクチャを表示することができる。 なお、 表 示済は、 表示装置への出力済と実質的に同義である.
このようにすることにより、 未表示のピクチャが表示済みになると、 そ の表示済のピクチャの保存されているメモリ領域が再利用されるため、 未 表示のピクチャは、 上書きされることなく表示されるまでメモリに保存さ れる。
以上の構成によリ、従来の課題を解決する画像復号化装置が実現できる。 なお、 画像復号化装置 1 5 0は、 実施の形態 3、 および実施の形態 4に示 した画像符号化装置 1 0 0により符号化された符号化信号を復号するよう にしてもよい。 その場合にピクチャメモリの利用についての動作は、 実施 の形態 3および実施の形態 4に示された画像符号化装置と同様である。 即 ち、 このピクチャメモリで開放された (以後、 参照されない) ピクチャの 再利用については、 実施の形態 1 から実施の形態 3に記載した方法で新た にピクチャを保存する領域の決定方法のいずれかを使うこともできる。 上述した実施の形態 3および実施の形態 4に示された画像符号化装置に より符号化された符号化信号を復号するときのメモリへのピクチャの保存 方法について説明する。
最初に、 実施の形態 3に示された画像符号化装置により符号化された符 号化信号を復号するときのメモリへのピクチャの保存方法について説明す る。
まず、画像復号化装置 1 5 0における加算ユニッ ト Addより出力される 復号画像がピクチャメモリ PicMem2 に保存するものかどうかをメモリ管 理コマンド MMCOの指示に基づき判断する。
保存する場合には、 最も古い時刻に開放されたピクチャメモリ領域を取 得し、 その領域に復号画像を保存する。
このとき、 最も古い時刻に開放されたメモリ領域をピクチャの保存領域 とするのではなく、 最も古い時刻にピクチャが復号化され保存されたメモ リ領域、 あるいは最も表示時刻が古いピクチャの保存されているメモリ領 域をピクチャの保存領域と してもよい。 これらのメモリ領域は、 そこに保 存されているピクチャが既に表示されている可能性が高いからである。 表示時刻の情報はシステムが管理するため、 ビデオ復号化装置の作リ方 によっては表示時刻を入手することが困難である。 最も古い時刻に保存さ れたピクチャの領域が、 よリ新しい時刻に保存された領域よリも古い表示 時刻のピクチャが保存されていた可能性が高い。 古い表示時刻のピクチャ が既に表示されている可能性が高いのは当然であるため、 最も古い時刻に 保存されたピクチャは既に表示されている可能性が高い。 従って、 最も古 い時刻に保存されたピクチャの領域に当該復号画像を保存することで、 表 示されていないピクチャを上書きしない可能性が高くなる。 また、 最も古 い時刻がピクチャを符号化した時刻の最も古い時刻である場合、 例えば最 も古い時刻に符号化されたかどうかはピクチャの予測構造 ■ 復号順序から 判断することが可能である。
また、 これらの最も古い時刻は時刻である必要ばなく、 最も古い順序で あってもよく、 例えば表示される順序が最も古い順序であってもよいのは 当然である。 例えば表示順序が古いピクチャが既に表示されている可能性 が高く、 表示されたか否かに関わらず、 表示順序が古いピクチャの保存さ れているメモリ領域から順にメモリの保存領域と して再利用される。更に、 通常はピクチャの表示間隔は固定であるため、 ピクチャの表示の順序をそ の時刻として考えても良い。
以上のようにして、 表示されていないピクチャへの新たなピクチャの上 書きを防止し、 表示時刻になった時点で開放済であるが上書きされていな い領域からピクチャを表示することができる。 また、 余分なメモリを必要 とすることがなく 、 寧示のために保存が必要なピクチャを保存することが できる。
また、 ピクチャメモ リ PicMem2 に保存されているピクチャが表示され ているかどうかに関係なく、 表示するために保存しておくべきピクチャの 保存の処理をすることができる。 なお、 最も古い時刻が表示の時刻の最も 古い時刻である場合、 例えば表示ピクチャ管理ュニッ ト DispPicCtrlにお いて表示したかどうかの情報を管理することによって、 最も古い時刻に保 存されたピクチャかどうかを判断することができる。
次に、 実施の形態 4に示された画像符号化装置により符号化された符号 化信号を復号するときのメモリへのピクチャの保存方法について説明する まず、画像復号化装置 1 5 0の上述した加算ュニッ ト Addより出力され る復号画像がピクチャメモリ PicMem2 に保存するものかどうかをメモリ 管理コマン ド MMCOの指示に基づき判断する。
保存する場合には、 開放された領域の中で、 最初に開放されたピクチャ 領域を取得し、 その領域に復号画像を保存する。
表示時刻の情報はシステムが管理するため、 ビデオ復号化装置の作リ方 によっては表示時刻を入手することが困難である。 最初に開放されたピク チヤの領域が、 後で開放された領域よリも古い表示時刻のピクチャが保存 されていた可能性が高い。 すなわち、 最初に開放されたピクチャは既に表 示されている可能性が高い。 従って、 最初に開放されたピクチャの領域に 当該復号画像を保存することで、 表示されていないピクチャに対して上書 きしない可能性が高くなる。
なお、 ピクチャ領域が最初に開放されたピクチャ領域かどうかは、 ピク チヤ領域毎に開放されているかどうかの情報、 例えば Γ u s e d : 開放さ れていない (参照ピクチャと して使用可能)」 か Γ u n u s e d : 開放済み (以後、 参照ピクチャと して参照されない)」 かをメ モ リ管理コマン ド
MMCOに従ってピクチャメモリ PicMem2において開放した順序を含めて 保持し、 この保持されている情報を参照することにより判断することがで きる。 あるいは、 ピクチャ領域の使用方法を所定の手順に固定し、 その手 順に従って最初に開放されたピクチャ領域かどうかを判断すればよい。 例 えば、 ピクチャメモリ PicMem2 を、 新規のものが記憶されると記憶した 時刻が古い記憶内容が順に破棄され、 常に最新の一定フ レーム数 (または ピクチャ数) の画像が保存される先入れ先出し方式 ( F I F O ) のメモリ として、 最初に開放されたピクチャ領域かどうかを判断すればよい。
以上のようにして、 表示されていないピクチャへの新たなピクチャの上 書きを防止し、 表示時刻になった時点で、 開放済であるが上書きされてい ない領域からピクチャを表示することができる。
尚、 表示ュニッ 卜 Disp は画像復号化装置 1 5 0の中に備えるのではな く、 画像復号化装置 1 5 0からは表示ユニッ ト Disp でピクチャを表示す るために必要なデータのみを送出し、 表示ユニッ ト Disp を画像復号化装 置 1 5 0の外部に備えて実現してもよい。
ここで、 実施の形態 2で説明したピクチャサイズが変更される場合にお ける画像復号化装置 1 5 0の動作を説明する。 なお、 実施の形態 3および 4に対する以下の動作も同じなので、 説明を省略する。
実施の形態 2に示されたピクチャサイズが変更される場合における第 1 の方法に対応する方法として、 画像復号化装置 1 5 0は、 ピクチャサイズ の変更指令があつたときは、 メモリの参照ピクチャの保存された参照用領 域と表示用ピクチャの保存された表示用領域を含む全領域を開放して初期 化を行う。
図 1 0は、 画像符号化装置 1 5 0の動作を示すフローチャー トである。 ピクチャサイズ変更検出ュニッ 卜 PicSizeDet から出力される信号が、 ピクチャサイズの変更を示すものかを判定し (Step l00)、 ピクチャサイズ の変更がある場合は (Step lOOの Yes)、 ピクチャメモリ PicMem2の全メ モリ領域を開放して (再利用可能な状態として) 初期化し (Step l02)、 処 理を終了する。
一方、 ピクチャサイズの変更がない場合 (Step lOOの No)、 可変長復号 化ュニッ ト VLDから出力されるメ モリ管理コマンド MMCOが、 ピクチャ メモ リ PicMem2 の全メモリ領域を開放する (初期化する) ことを示すも のかを判定し (Step lOl )、 示すものである場合は (Step lO lの Yes)、 全メ モリ領域を開放し (Step l02)、 示すものでない場合は (Step lOl の No)、 参照ピクチャの保存された参照用領域のみを開放して ( Step l03)、 処理を 終了する。
このようにメモリの全領域を開放することで、 サイズの異なるピクチャ が混在することにより生じるメモリの断片的な使用を防止できるため、 メ モリの使用効率の劣化を抑えることができる。
次に、 実施の形態 2に示されたピクチャサイズが変更される場合の第 2 の方法に対応する方法として、 画像復号化装置 1 5 0が行う動作について 説明する。
ピクチャサイズを変更した場合に、 メモリの全領域を開放する方法か、 あるいは参照ピクチャが保存された参照用領域のみを開放して、 未表示の ピクチャについては画像復号化装置 1 5 0が判断して表示できるものを表 示する方法かを切り替える。
実施の形態 2で説明したように、 メモリの全領域を開放するか、 参照用 領域のみを開放するかを示す指示情報 (フラグ) は、 画像符号化装置 1 0 0から出力されるス トリーム Strのメモリ管理コマンド MMCO に含まれ る。
画像復号化装置 1 5 0は、 メモリ管理コマンド MMCO に含まれる指示 情報に基づいて、 上記 2つの方法のうちいずれを行うかを判断する。
図 1 1 は、 その判断動作を示すフローチャー トである。
まず、 指示情報 (フラグ) がメモリの全領域を初期化するか否かのいず れを示しているかを判断し (Stepl 50)、 全領域の初期化を示している場合 は (Step l 50の Yes)、 未表示の表示用ピクチャの保存された表示用領域を 含むメモリの全領域を開放して初期化を行い (Step l 51)、 そうでない場合 は (Step l 50の No)、 参照用領域のみ開放して初期化を行う (Step 152)。
この指示情報 (フラグ) が全領域の初期化を示していない場合は、 画像 復号化装置 1 5 0は、 参照用領域のみの開放を行い、 参照用領域以外の領 域にある未表示のピクチャについては画像復号化装置 1 5 0が判断して表 示できるものを表示するようにする。
この参照用領域のみの初期化を行う場合の画像復号化装置 1 5 0の動作 を、 フローチャートを用いて説明する。
図 1 2は画像復号化装置 1 5 0 (デコーダ) の動作を示すフローチヤ一 卜である。
ピクチャサイズ変更検出ュニッ 卜 Pic SizeD et から出力される信号が、 ピクチャサイズの変更を示すものかを判定し (Step200)、 ピクチャサイズ の変更でない場合は (Step 200の No)、 表示用領域に保存された表示すベ き未表示のピクチャを表示する (Step 203)。
一方、 ピクチャサイズの変更である場合は (Step 200の Yes)、 表示用領 域に保存されている表示用ピクチャがサイズ変更前のものであるかを判定 し (Step201)、 変更前のものでない場合は (Step201の No)、 表示すべき 未表示のピクチャを表示する (Step203 )。 変更前のものである場合は ( Step201の Yes )、 表示用ピクチャが表示可能か否かを判断し、 表示可能 なピクチャを表示する (Step202)。
この表示可能か否かの判断についての画像復号化装置 1 5 0の動作を説 明する。
図 1 3は、 画像復号化装置 1 5 0のピクチャの表示に関する動作を示す フローチヤ一トである。
図 1 3において図 1 2と同じものには同じ符号を付している。
表示用に保存されている表示用ピクチャがサイズ変更前のものであるか を判定し (Step201 )、 変更前のピクチャでない場合は (Step201 の No)、 そのピクチャを表示する。 一方、 変更前のピクチャである場合は (Step201 の Yes)、 表示するピクチャに損傷があるかを判定し (Step211)、 損傷がな い場合は (Step211 の No)、 そのピクチャが表示可能であると して表示す る (Step210)。 損傷がある場合は (Step211の Yes)、 そのピクチャを表示 せずに、 例えば前のピクチャを表示する。 ここで損傷が無いというのは、 表示すべきピクチャが格納されているピクチャの一部であっても新しいピ クチャのデータを保存するために上書きされていないことを意味する。 こ うすることで、 画像復号化装置 1 5 0は、 表示するピクチャに損傷がある かを判定し、 損傷がないピクチャを表示可能と判断して表示する。
このように、 図 1 1 、 図 1 2、 図 1 3のフローチャートで説明したよう に、 画像復号化装置 1 5 0は、 ピクチャサイズの変更があつたときに、 メ モリの全領域を初期化するか否かを示す指示情報 (フラグ) に応じた、 未 表示のピクチャに対する表示を行う。
以上のような画像復号化装置 1 5 0の画像復号化方法により、 ピクチャ サイズの変更があつたときでも、 メモリの全領域を初期化するか参照用領 域のみを初期化して未表示の表示用ピクチャを表示可能なものは表示する ようにするかを切り替えることで、適切な復号化が可能となる。すなわち、 例えばメモリの空き容量が少ないときは、 メモリの全領域を初期化して再 利用可能とし、 メモリの空き容量が大きいときは、 参照用領域のみを初期 化することで、 未表示のピクチャの表示を可能とするようにして柔軟に対 処することが可能である。
(実施の形態 6 )
実施の形態 6では、 次の用語を用いて説明する。 すなわち、 参照ピクチ ャバッファは、 画像符号化装置内のピクチャメモリ PicMem2 における参 照用領域と表示用領域とを合わせた領域をいう。 仮想 ■ ディスプレイ遅延 バッファは、 画像符号化装置内のピクチャメモリ PicMem2 に確保される 表示用領域に格納されるべき各表示用ピクチャに対応する仮想的なバッフ ァであり、 その表示用ピクチャの時間的参照番号 (ピクチャ番号等) を保 持する。 参照メモ リバッファは、 画像復号化装置内のピクチャメモリ PicMem2における参照用領域をいう。 ポス ト ' デコーダ - ノくッファは、 画 像復号化装置内のピクチャメモリ PicMem2 における表示用領域をいう。 時間的参照番号は、 表示時刻の順序に従ったピクチャの番号をいい、 ピク チヤ時刻 Timeに相当するものでもよい。
まず、 画像符号化装置について説明する。 仮想 ■ ディスプレイ遅延バッ ファは、 画像符号化装置での予測符号化に用いられる参照ピクチヤの最大 数を制限するために用いられる。
図 1 4は、 仮想 - ディスプレイ遅延バッファと後方参照ピクチャの最大 数との間の関係を決定する処理を示す。 図 1 4中の各モジュールは、 ピク チヤ構造決定ュニッ ト PicStruct、 参照ピクチャ管理ュニッ ト RefPicCtrl 及び表示ピクチャ管理ユニッ ト DispPicCtrlにおける機能ブロック又は処 理ステップを表す。 図に示すように、 このプロファイル及びレベルに対す る、 許容された参照ピクチャの最大数 N Rは、 モジュール 4 0 1 で決定さ れる。 この値は、 各プロファイル及びレベル定義されており、 エンコーダ は NRに相当するプロファイル ' レベルの値をス トリームの情報と して符 号化し、 デコーダはス ト リームのプロファイル ■ レベルの値から NR を取 得する。 次いで、 画像符号化装置は、 それがモジュール 4 0 2におけるビ デォ ' シーケンスを符号化するのに最適な後方参照ピクチャの最大数 N B を設定する。 この N B値に基づき、 仮想 ■ ディスプレイ遅延バッファのサ ィズを決定することができる。 N Bが 2よりも小さい場合には、 仮想 ■ デ イスプレイ遅延バッファを必要と しない。 しかしながら、 N Bが 2以上で ある場合には、 N B— 1 ピクチャの仮想 ' デイスプレイ遅延バッファがモ ジュール 4 0 4で生成される。 仮想 ■ ディスプレイ遅延バッファに格納さ れているピクチャの情報はメモリ中あるいは何れかのレジスタ中に確保さ れる。 この仮想 ' ディスプレイ遅延バッファは、 画像符号化装置に大きな 物理メモリ空間を必要と しない。 それは、 画像復号化装置で復号化した画 像を表示 (出力) する必要がなければ、 どのピクチャが表示のために仮想 ■ ディスプレイ遅延バッファに格納されているかを判断するだけでよいため. 再構成 (復号) ピクチャ ■ データ全体でなく、 どの再構成 (復号) ピクチ ャであるかを特定する参照ピクチャの記述(ピクチャ番号等)のみが仮想 - ディスプレイ遅延バッファに格納されるからである。 仮想 ■ ディスプレイ 遅延バッファ以外には、 ディスプレイ ■ カウンタがモジュール 4 0 5で生 成され、 その値がメモリ中あるいは何れかのレジスタ中に確保される。 こ のカウンタは、 仮想 " ディスプレイ遅延バッファから不要なピクチャを除 去する判断に用いられる。 プロファイル及びレベル定義に基づき、 画像符 号化装置は、 次いで、 モジュール 4 0 6に示すように参照ピクチャに対す るメモリ空間の 1\1 ピクチャ ' サイズを生成する。
最大仮想 ■ ディスプレイ遅延バッファ ' サイズ = N B - 1 ( 1 )
こ こで、 N B < N Rである。
図 1 5は、 画像符号化装置におけるポス 卜 ■ エンコーディング処理すな わち、 符号化後に復号化されたピクチャ (ェンコ一デッ ド ■ ピクチャ又は 単にピクチャと呼ぶ)について参照メモリバッファに格納する処理を示す。 図中のモジュールは、参照ピクチャ管理ュニッ ト RefPicCtrl及び表示ピク チヤ管理ュニッ ト DispPicCtrlにおける機能プロック又は処理ステツプを 表す。 一つのピクチャがモジュール 5 0 1 でエンコードされた後、 ピクチ ャは、 それがモジュール 5 0 2で参照ピクチャとして用いられるかどうか 判定される。 ピクチャが参照ピクチャである場合には、 可能な参照ピクチ ャの最大数が式 ( 2 ) に基づき計算される。 N M a x = N R - F v ( 2 )
ここで、 N M a xは、 可能な参照ピクチャの最大数を表し、 N Rは、 プ 口ファイル及びレベル定義で許容される参照ピクチャの最大数を表す。 F Vは、 仮想 ' ディスプレイ遅延バッファ ' フルネスつまり、 仮想 ■ デイス プレイ遅延バッファのサイズ (NB— 1 ) のうち現に使用されている数を表 す。
参照ピクチャ ■ バッファの参照ピクチャの数が N M a Xよりも小さい場 合には、 ェンコーデッ ド■ ピクチャは、 モジュール 5 0 6で再構成 (復号) されかつモジュール 5 0 7で参照ピクチャ ' バッファに記憶される。 十分 な空きが存在しない場合には、 画像符号化装置は、 モジュール 5 0 4に示 すようにバッファからある未使用参照ピクチャ runus ed (以降、 参照ピク チヤとして参照されない)」 を除去することによって参照ピクチャ■バッフ ァに必要な領域を確保する。 バッファから除去するような未使用参照ピク チヤが存在しない場合には、 ェンコ一デッ ド ' ピクチャは、 参照ピクチャ として使用しない。 ェンコーデッ ド ■ ピクチャが参照ピクチャではない場 合には、 ェンコ一デッ ド · ピクチャの時間的参照番号は、 モジュール 5 0 5でディスプレイ ■ カウンタと比較される。 非参照ピクチャの時間的参照 番号がディスプレイ ■ カウンタよりも小さい場合には、 仮想ディスプレイ 遅延バッファは、モジュール 5 0 8で更新される。モジュール 5 0 8では、 仮想 ■ ディスプレイ遅延バッファは、 ディスプレイ ■ カウンタに等しいか それ以前の時間的参照番号を有するピクチャを除去しかつ現行の非参照ピ クチャの時間的参照番号をバッファに加える。 ディスプレイ ■ カウンタよ リも小さい時間的参照番号を有する仮想 "バッファのピクチャ数が、 バッ ファのフルネスになる。 ディスプレイ · カウンタは、 ェンコ一デッ ド - ピ クチャの数が N Bに等しいか又は仮想ディスプレイ ■ カウンタがフルであ るか、 どちらかが早いときに、 最初に更新動作を開始する。 その後、 ディ スプレイ ■ カウンタは、 モジュール 5 0 9でエンコードされた全てのピク チヤに対して符号化される毎に更新される。
図 1 6は、 画像復号化装置におけるポス ト · デコーディ ング処理すなわ ち画像復号化装置において復号化されたピクチャ (復号化ピクチャ又は単 にピクチャと呼ぶ)について参照ピクチャバッファに格納する処理を示す。 図中のモジュールは、 表示ピクチャ管理ュニッ ト DispPicCtrlにおける機 能ブロック又は処理ステップを表す。 ピクチャは、 モジュール 6 0 1 で復 号化される。 モジュール 6 0 2では、 画像復号化装置は、 ピクチャを参照 ピクチャと して記憶することが必要かどうかを決定する。 復号化されたピ クチャを参照ピクチャとして記憶する場合には、 それは、 モジュール 6 0 6で参照ピクチャバッファに記憶される。 そうでなければ、 画像復号化装 置は、 モジュール 6 0 3でこのピクチャを表示 (出力) する時間であるか どうかをチェックする。 復号化されたピクチャをまだ表示 (出力) すべき 時刻でない場合には、 ピクチャは、 表示 (出力) する時刻までモジュール 6 0 4でポス ト ' デコーダ ' バッファに記憶される。 ポス ト ' デコーダ - バッファと参照ピクチャバッファは、物理的に同じメモリ領域を共用する。 換言すると、 同じメモリの各領域は、 参照ピクチャバッファと してあると きに用いる場合とポス ト ' デコーダ, バッファとして用いる場合とを切り 替えることができる。
モジュール 6 0 5では、 次いで画像復号化装置は、 それらのディスプレ ィ ■ タイミングに基づき参照ピクチャバッファ又はボス ト ■ デコーダ ■ バ ッファから表示 (出力) するピクチャを決定する。 一旦ポス ト 'デコーダ - バッファからのピクチャが表示 (出力) されると、 それは、 バッファから 除去される。 他方、 参照ピクチャは、 ス トリームによって今後参照されな いことが示されたときに参照ピクチャバッファから除去されるか又はボス 卜 · デコーダ ■ バッファに移動されるだけである。 図 1 7は、 各ピクチャ間隔で参照ピクチャの最大数を決定するために仮 想 - ディスプレイ遅延バッファを用いる方法の一例を示す。 この例につい て、 許容される参照ピクチャの最大数 N Rは、 4とする。 画像符号化装置 は、 後方参照ピクチャの最大数 N Bを 3に設定する。 それゆえに、 二つの ピクチャの仮想'ディスプレイ遅延バッファが生成される(領域が確保され る)。 ディスプレイ ' カウンタは、 仮想的に表示 (出力) されるピクチャの 時間的参照番号を記憶及び更新するために用いられる。 図中、 参照メモリ バッファにおける、 空白の領域は空きであることを、 ピクチャタイプ及び 番号が記載されている領域は参照用ピクチャが格納されていることを、 斜 線でハッチングされた領域は表示用ピクチャが格納されていることを示す < また、仮想'ディスプレイ遅延バッファにおける空白の領域は空きであるこ とを、 ピクチャタイプ及び番号が記載されている領域は参照メモリパッフ ァ中の表示用ピクチャに対応する時間的参照番号が格納されていることを. 斜線でハッチングされた領域は、 表示用ピクチャの格納領域が参照メモリ バッファ中に存在しないことを示す。 参照メモリバッファにおけるハッチ ングされた領域に対応した、 同数の仮想'ディスプレイ遅延バッファは、表 示用ピクチャの時間的参照番号を保持する。
図に示すように、 ピクチャ B 2及び B 3は、 参照ピクチャに対して用い られ、 それゆえにそれらは、 I 0及び P 4と一緒に参照メモリ ' バッファ に記憶されかつディスプレイ ■ カウンタは、 ピクチャ B 3が符号化された 後に更新が開始される。 時間 T 6において、 B 5は、 参照ピクチャと して 用いられないが、 それは、 その時間的参照番号がディスプレイ ■ カウンタ よりも大きいので、 仮想 ■ デイスプレイ遅延バッファに更新されることが 必要である。 それゆえに、 そのときにおける仮想 ■ ディスプレイ遅延バッ ファのフルネス f vは、 1 でありかつ可能な参照ピクチャの最大数 N M a Xは、 3である。 同様に時間 T 7において、 ディスプレイ ' カウンタよりも大きいその時 間的参照番号によリ Β 5をまだ除去することができないが、 Β 6は、仮想 - ディスプレイ遅延バッファに更新されることが必要である。 それゆえに、 そのときにおける N M a Xは、 2である。 参照ピクチャ 1 0は、 不十分な メモリによリ参照メモリ ' バッファから除去されなければならない。 従つ て、 そのときの B 7は、 P 4及び P 8からだけで予測することができる。 図 1 8は、 ディスプレイ ' カウンタが仮想 ' ディスプレイ遅延バッファ を用いて先に増分されるような一例を示す。 この例について、 N Rは、 5 であるとする。 画像符号化装置は、 複数の逆方向参照ピクチャの最大数 N Bを 3に設定する。 それゆえに、 二つのピクチャの仮想 ' ディスプレイ遅 延バッファが生成される。
図に示すように、 B 1、 B 2、 B 3及び B 4は、 参照ピクチャに用いら れないが、 B 7及び B 8が用いられる。 それゆえに、 B 1 及び B 2は、 デ イスプレイを待っために時間 T 3で仮想 ■ ディスプレイ遅延バッファに記 憶される。 仮想 - ディスプレイ遅延バッファは、 時間 T 3でフルなので、 ディスプレイ ' カウンタは、 時間 T 3で更新することを開始する。 デイス プレイ · カウンタが、 それが更新することを開始できる前に少なく とも仮 想-ディスプレイ遅延バッファがフルになるのを待つことが必要な理由は、 それが画像復号化装置で発生すると思われる Bピクチャのリオ一ダリング を処理することが必要だからである。
図 1 7に示すように、 画像復号化装置は、 ポス ト ' デコーダ ' バッファ と してその参照ピクチャバッファの一部をときどき用いる。 それゆえに参 照ピクチャバッファの固定物理メモリ ' サイズに基づき、 画像復号化装置 は、そのある部分が参照ピクチャに用いられかつ残りがポス ト 'デコーダ - バッファと して用いられるように参照ピクチャバッファを操作する。 例え ば、 時間 T 3で、 参照ピクチャバッファ全体は、 参照ピクチャを記憶する ために用いられる。 他方、 時間 T 7で、 参照ピクチャバッファの二つだけ が P 4及び P 8参照ピクチャを記憶するために用いられる。 残りは、 ポス ト - デコーダ ' ピクチャ B 5及び B 6を記憶するために用いられる。
画像復号化装置側で用いられる参照ピクチャの最大数は、 画像符号化装 置に対するプロファイル及びレベル定義で規定される。 それゆえに、 画像 符号化装置は、 プロファイル及びレベルによって定義された参照ピクチャ の最大数まで用いることができる。 従って、 画像符号化装置は画像復号化 装置がこの拘束条件に基づいて動作を行って場合に同様の動作が実現でき る (参照ピクチャ数が定義された値を超えない) ように、 参照ピクチャの 管理を行って符号化を行うことが必要である。
同様に、 画像復号化装置は、 画像符号化装置と同じ数の参照ピクチャを 有する。 さらに、 追加メ モリ空間がポス ト ■ デコーダ ■ ノくッファに対して 必要である。 ポス ト ' デコーダ ' ピクチャの最大数は、 式 ( 3 ) によって 定義される。
N = N R - 2 ( 3 )
ここで、 N は、 ポス ト ' デコーダ ' ピクチャの最大数を表し、 N Rは、 プロファイル及びレベル定義によって定義された参照ピクチャの最大数を 表す。
それゆえに、 プロファイル及びレベルに対して適合する画像復号化装置 に対して、 このポス ト ■ デコーダ ' ピクチャの最大数は、 画像復号化装置 の設計で考慮しなければならない。 このポス ト ■ デコーダ ■ ピクチャの最 大数は、式 3から計算することができるか又は プロファイル及びレベル定 義で特定することができる。 一旦ポス ト - デコーダ ' ピクチャの最大数が プロファイル及びレベル定義で特定されたならば、 値は、 式 ( 4 ) に基づ いて後方予測ピクチャの最大数が導出できる。
N = N + 1 ( 4 ) ここで、 N Bは、 参照ピクチャバッファの後方予測ピクチャの最大数を 表す。 本実施の形態では、 それがプロファイルおよびレベル定義に準拠し たス トリー厶を復号化できるように画像復号化装置によって要求される最 小メモリ要件になる。
後方予測の数は、 画像復号化装置側で参照ピクチャバッファに追加され た追加ボス 卜 ■ デコーダ , ピクチャの数を削減するために制限することも 可能である。 例えば、 後方予測の最大数が 2つに制限された場合には、 そ の場合には 1 つの追加ポス ト ■ デコーダ ■ ピクチャだけを参照ピクチャバ ッファに追加することが必要であり、 それは、 画像復号化装置側において ポス ト ■ デコーダ ■ ピクチャに余分な物理メモリ空間の割リ当てが行われ ることを避けることができる。
(実施の形態 7 ) - さらに、 上記各実施の形態で示した画像符号化方法及び画像復号化方法 を実現するためのプログラムを、 フレキシブルディスク等の記憶媒体に記 録するようにすることにより、 上記各実施の形態で示した処理を、 独立し たコンピュータシステムにおいて簡単に実施することが可能となる。 図 1 9は、 上記各実施の形態の画像符号化方法及び画像復号化方法を、 フレキシブルディスク等の記録媒体に記録されたプログラムを用いて、 コ ンピュータシステムにより実施する場合の説明図である。
図 1 9 ( b ) は、 フレキシブルディスクの正面からみた外観、断面構造、 及びフレキシブルディスクを示し、 図 1 9 ( a ) は、 記録媒体本体である フレキシブルディスクの物理フォーマツ 卜の例を示している。 フレキシブ ルディスク F D 1 はケース F内に内蔵され、 該ディスクの表面には、 同心 円状に外周からは内周に向かって複数の トラック T rが形成され、 各トラ ックは角度方向に 1 6のセクタ S eに分割されている。 従って、 上記プロ グラムを格納したフレキシブルディスクでは、 上記フレキシブルディスク F D 1 上に割リ当てられた領域に、 上記プログラムが記録されている。 また、 図 1 9 ( c ) は、 フレキシブルディスク F D 1 に上記プログラム の記録再生を行うための構成を示す。 画像符号化方法及び画像復号化方法 を実現する上記プログラムをフレキシブルディスク F D 1 に記録する場合 は、 コンピュータシステム C sから上記プログラムをフレキシブルデイス ク ドライブ FDD を介して書き込む。 また、 フレキシブルディスク内のプ ログラムにより画像符号化方法及び画像復号化方法を実現する上記画像符 号化方法及び画像復号 ^方法をコンピュータシステム Cs 中に構築する場 合は、 フレキシブルディスク ドライブ FDD によりプログラムをフレキシ ブルディスクから読み出し、 コンピュータシステム Csに転送する。
なお、 上記説明では、 記録媒体と してフレキシブルディスクを用いて説 明を行ったが、 光ディスクを用いても同様に行うことができる。 また、 記 録媒体はこれに限らず、 I Cカード、 R O Mカセッ ト等、 プログラムを記 録できるものであれば同様に実施することができる。
(実施の形態 8 )
さらにここで、 上記実施の形態で示した画像符号化方法や画像復号化方 法の応用例とそれを用いたシステムを説明する。
図 2 0は、 コンテンツ配信サービスを実現するコンテンツ供給システム ex 1 0 0の全体構成を示すブロック図である。 通信サービスの提供エリア を所望の大きさに分割し、各セル内にそれぞれ固定無線局である基地局 ex 1 0 7 〜 ex 1 1 0が設置されている。
このコンテンツ供給システム ex 1 0 0は、 例えば、 インタ一ネッ ト ex 1 0 1 にインタ一ネッ トサービスプロバイダ ex 1 0 2および電話網 ex 1 0 4、 および基地局 e x 1 0 7 ~ e x 1 1 0を介して、 コンピュータ ex 1 1 1 、 P D A (personal
digital assistant) e 1 1 2、 カメラ ex 1 1 3、 携帯電話 ex 1 1 4、 力 メラ付きの携帯電話 e x 1 1 5などの各機器が接続される。
しかし、 コンテンッ供給システム ex 1 0 0は図 2 0のような組合せに限 定されず、 いずれかを組み合わせて接続するようにしてもよい。 また、 固 定無線局である基地局 exl 0 7〜ex1 1 0を介さずに、 各機器が電話網 exl 0 4に直接接続されてもよい。
カメ ラ ex 1 1 3はデジタルビデオカメラ等の動画撮影が可能な機器で ある。 また、 携帯電話は、 P D C (Personal Digital Communications) 方式、 C D M A (Code Division Multiple Access) 方式、 W— C D M A ( Wideband-Code Division Multiple Access ) 方式、 若 し く は G S M (Global System for Mobile Communications) 方式の携帯電話機、 また は P H S (Personal Handyphone System) 等であり、 いずれでも構わな い。
また、 ス トリ一ミングサーバ ex 1 0 3は、 カメラ ex 1 1 3から基地局 exl 0 9、 電話網 exl 0 4を通じて接続されておリ、 カメラ ex 1 1 3を 用いてユーザが送信する符号化処理されたデータに基づいたライブ配信等 が可能になる。撮影したデータの符号化処理はカメラ exl 1 3で行っても. データの送信処理をするサーバ等で行ってもよい。 また、 カメラ 1 1 6で 撮影した動画データはコンピュータ exl 1 1 を介してス トリーミングサ ーバ ex 1 0 3に送信されてもよい。 カメラ ex 1 1 6はデジタルカメラ等 の静止画、 動画が撮影可能な機器である。 この場合、 動画データの符号化 はカメラ ex 1 1 6で行ってもコンピュータ ex 1 1 1 で行ってもどちらで もよい。 また、 符号化処理はコンピュータ ex 1 1 1 やカメラ ex 1 1 6が 有する L S I exl 1 7において処理することになる。 なお、 画像符号化 ■ 復号化用のソフ トウェアをコンピュータ ex 1 1 1 等で読み取り可能な記 録媒体である何らかの蓄積メディア ( C D— R O M、 フレキシブルデイス ク、 ハードディスクなど) に組み込んでもよい。 さらに、 カメラ付きの携 帯電話 ex 1 1 5で動画データを送信してもよい。 このときの動画データは 携帯電話 exl 1 5が有する L S I で符号化処理されたデータである。
このコンテンツ供給システム ex 1 0 0では、ユーザがカメラ ex 1 1 3、 カメラ ex 1 1 6等で撮影しているコンテンツ (例えば、 音楽ライブを撮影 した映像等) を上記実施の形態同様に符号化処理してス トリーミングサー バ exl 0 3に送信する一方で、 ス トリーミ ングサーバ exl 0 3は要求の あったクライアン 卜に対して上記コンテンツデータをス トリ一ム配信する < クライアン トと しては、 上記符号化処理されたデータを復号化することが 可能な、 コンピュータ exl 1 1 、 P D A ex 1 1 2、 カメラ exl 1 3、 携 帯電話 ex 1 1 4等がある。このようにすることでコンテンツ供給システム exl 0 0は、 符号化されたデータをクライアントにおいて受信して再生す ることができ、 さらにクライアントにおいてリアルタイムで受信して復号 化し、再生することにより、個人放送をも実現可能になるシステムである。
このシステムを構成する各機器の符号化、 復号化には上記各実施の形態 で示した画像符号化方法あるいは画像復号化方法を用いるようにすればよ い。
その一例として携帯電話について説明する。
図 2 1 は、 上記実施の形態で説明した画像符号化方法と画像復号化方法 を用いた携帯電話 exl 1 5を示す図である。 携帯電話 exl 1 5は、 基地 局 exl 1 0との間で電波を送受信するためのアンテナ ex2 0 1 、 C C D カメラ等の映像、 静止画を撮ることが可能なカメラ部 ex 2 0 3、 カメラ部 ex 2 0 3で撮影した映像、アンテナ ex2 0 1 で受信した映像等が復号化さ れたデータを表示する液晶ディスプレイ等の表示部 ex 2 0 2、操作キー e X 2 0 4群から構成される本体部、 音声出力をするためのスピーカ等の音 声出力部 ex 2 0 8、 音声入力をするためのマイク等の音声入力部 ex 2 0 5、 撮影した動画もしくは静止画のデータ、 受信したメールのデータ、 動 画のデータもしくは静止画のデータ等、 符号化されたデータまたは復号化 されたデータを保存するための記録メディア ex 2 0 7、 携帯電話 ex1 1 5に記録メディア ex2 0 7を装着可能とするためのスロッ ト部 ex2 0 6 を有している。記録メディア ex 2 0 7は S Dカード等のプラスチックケー ス内に電気的に書換えや消去が可能な不揮発性メモリである E E P R O M Electrical V Erasable and Programmable Read Onlv Memory の— であるフラッシュメモリ素子を格納したものである。
さらに、 携帯電話 ex 1 1 5について図 2 2を用いて説明する。 携帯電話 ex1 1 5は表示部 ex2 0 2及び操作キー e x 2 0 4を備えた本体部の各 部を統括的に制御するようになされた主制御部 ex3 1 1 に対して、電源回 路部 ex 3 1 0、 操作入力制御部 ex 3 0 4、 画像符号化部 ex 3 1 2、 カメ ラインターフェース部 ex 3 0 3、 L C D (Liquid Crystal Display) 制御 部 ex3 0 2、 画像復号化部 ex3 0 9、 多重分離部 ex 3 0 8、 記録再生部 ex 3 0 7、 変復調回路部 ex 3 0 6及び音声処理部 ex 3 0 5が同期バス ex 3 1 3を介して互いに接続されている。
電源回路部 ex3 1 0は、ユーザの操作により終話及び電源キーがオン状 態にされると、 バッテリパックから各部に対して電力を供給することによ リカメラ付ディジタル携帯電話 ex1 1 5を動作可能な状態に起動する。 携帯電話 ex 1 1 5は、 C P U、 R O M及び R A M等でなる主制御部 ex 3 1 1 の制御に基づいて、音声通話モード時に音声入力部 ex 2 0 5で集音 した音声信号を音声処理部 ex 3 0 5によってディジタル音声データに変 換し、 これを変復調回路部 ex 3 0 6でスぺク トラム拡散処理し、 送受信回 路部 ex 3 0 1 でディジタルアナログ変換処理及び周波数変換処理を施し た後にアンテナ ex2 0 1 を介して送信する。また携帯電話機 ex 1 1 5は、 音声通話モー ド時にアンテナ ex2 0 1 で受信した受信信号を増幅して周 波数変換処理及びアナログディジタル変換処理を施し、 変復調回路部 ex 3 0 6でスぺク トラム逆拡散処理し、音声処理部 ex 3 0 5によってアナ口 グ音声信号に変換した後、これを音声出力部 e X 2 0 8を介して出力する。 さらに、 データ通信モード時に電子メールを送信する場合、 本体部の操 作キ一 e X 2 0 4の操作によって入力された電子メールのテキス トデータ は操作入力制御部 ex 3 0 4を介して主制御部 ex 3 1 1 に送出される。 主 制御部 ex 3 1 1 は、 テキス トデータを変復調回路部 ex3 0 6でスぺク ト ラム拡散処理し、送受信回路部 ex 3 0 1 でディジタルアナログ変換処理及 び周波数変換処理を施した後にアンテナ ex 2 0 1 を介して基地局 ex1 1 0へ送信する。
データ通信モード時に画像データを送信する場合、カメラ部 ex 2 0 3で 撮像された画像データをカメラインターフェース部 ex 3 0 3を介して画 像符号化部 ex 3 1 2に供給する。また、画像データを送信しない場合には、 カメラ部 ex2 0 3で撮像した画像データをカメラインタ一フヱース部 ex 3 0 3及び L C D制御部 ex 3 0 2を介して表示部 ex 2 0 2に直接表示す ることも可能である。
画像符号化部 ex3 1 2は、本願発明で説明した画像符号化装置を備えた 構成であリ、カメラ部 ex2 0 3から供給された画像データを上記実施の形 態で示した画像符号化装置に用いた符号化方法によって圧縮符号化するこ とにより符号化画像データに変換し、 これを多重分離部 ex3 0 8に送出す る。 また、 このとき同時に携帯電話機 ex1 1 5は、 カメラ部 ex 2 0 3で 撮像中に音声入力部 ex 2 0 5で集音した音声を音声処理部 ex 3 0 5を介 してディジタルの音声データと して多重分離部 ex 3 0 8に送出する。
多重分離部 ex3 0 8は、 画像符号化部 ex 3 1 2から供給された符号化 画像データと音声処理部 ex 3 0 5から供給された音声データとを所定の 方式で多重化し、その結果得られる多重化データを変復調回路部 ex3 0 6 でスぺク 卜ラム拡散処理し、送受信回路部 ex 3 0 1 でディジタルアナログ 変換処理及び周波数変換処理を施した後にアンテナ ex 2 0 1 を介して送 信する。
データ通信モード時にホームページ等にリンクされた動画像ファイルの データを受信する場合、 アンテナ ex 2 0 1 を介して基地局 ex 1 1 0から 受信した受信信号を変復調回路部 ex 3 0 6でスぺク トラム逆拡散処理し、 その結果得られる多重化データを多重分離部 ex 3 0 8に送出する。
また、アンテナ ex 2 0 1 を介して受信された多重化データを復号化する には、 多重分離部 ex 3 0 8は、 多重化データを分離することにより画像デ ータの符号化ス トリームと音声データの符号化ス 卜リームとに分け、 同期 バス ex 3 1 3を介して当該符号化画像データを画像復号化部 ex 3 0 9に 供給すると共に当該音声データを音声処理部 ex 3 0 5に供給する。
次に、 画像復号化部 ex 3 0 9は、 本願発明で説明した画像復号化装置を 備えた構成であり、 画像データの符号化ス トリームを上記実施の形態で示 した符号化方法に対応した復号化方法で復号することにより再生動画像デ ータを生成し、 これを L C D制御部 ex 3 0 2を介して表示部 ex 2 0 2に 供給し、 これにより、 例えばホームページにリンクされた動画像ファイル に含まれる動画データが表示される。 このとき同時に音声処理部 ex 3 0 5 は、 音声データをアナログ音声信号に変換した後、 これを音声出力部 ex 2 0 8に供給し、 これにより、 例えばホームページにリンクされた動画像 ファイルに含まる音声データが再生される。
なお、 上記システムの例に限られず、 最近は衛星、 地上波によるディジ タル放送が話題となっており、 図 2 3に示すようにディジタル放送用シス テムにも上記実施の形態の少なく とも画像符号化装置または画像復号化装 置のいずれかを組み込むことができる。 具体的には、 放送局 ex 4 0 9では 映像情報の符号化ス トリームが電波を介して通信または放送衛星 ex 4 1 0に伝送される。 これを受けた放送衛星 ex 4 1 0は、 放送用の電波を発信 し、 この電波を衛星放送受信設備をもつ家庭のアンテナ ex4 0 6で受信し、 テレビ (受信機) ex4 0 1 またはセッ ト トップボックス ( S T B) ex 4 0 7などの装置により符号化ス トリ一厶を復号化してこれを再生する。また、 記録媒体である CDや DVD等の蓄積メディア ex4 0 2に記録した符号化 ス トリームを読み取り、復号化する再生装置 ex 4 0 3にも上記実施の形態 で示した画像復号化装置を実装することが可能である。 この場合、 再生さ れた映像信号はモニタ ex4 0 4に表示される。 また、 ケーブルテレビ用の ケーブル ex4 0 5または衛星 地上波放送のアンテナ ex4 0 6に接続さ れたセッ 卜 トップボックス ex 4 0 7内に画像復号化装置を実装し、 これを テレビのモニタ ex 4 0 8で再生する構成も考えられる。 このときセッ ト 卜 ップボックスではなく、 テレビ内に画像復号化装置を組み込んでも良い。 また、 アンテナ ex 4 1 1 を有する車 ex 4 1 2で衛星 ex 4 1 0からまたは 基地局 exl 0 7等から信号を受信し、 車 ex4 1 2が有する力一ナビゲー シヨン ex 4 1 3等の表示装置に動画を再生することも可能である。
更に、 画像信号を上記実施の形態で示した画像符号化装置で符号化し、 記録媒体に記録することもできる。具体例としては、 DVDディスク e X 4 2 1 に画像信号を記録する DVD レコーダや、 ハードディスクに記録する ディスク レコーダなどのレコーダ e X 4 2 0がある。更に SDカード e x 4 2 2に記録することもできる。 レコーダ e X 4 2 0が上記実施の形態で示 した画像復号化装置を備えていれば、 DVDディスク e x 4 2 1 や SD力一 ド e X 4 2 2に記録した画像信号を再生し、 モニタ e x 4 0 8で表示する ことができる。
なお、 力一ナビゲーション ex4 1 3の構成は例えば図 2 2に示す構成の うち、 カメラ部 ex 2 0 3とカメラインターフェース部 ex 3 0 3、 画像符 号化部 e X 3 1 2を除いた構成が考えられ、同様なことがコンピュータ ex 1 1 1 やテレビ (受信機) ex 4 0 1 等でも考えられる。 また、 上記携帯電話 ex 1 1 4等の端末は、 符号化器■復号化器を両方持 つ送受信型の端末の他に、 符号化器のみの送信端末、 復号化器のみの受信 端末の 3通りの実装形式が考えられる。
このように、 上記実施の形態で示した画像符号化方法あるいは画像復号 化方法を上述したいずれの機器■ システムに用いることは可能であり、 そ うすることで、 上記実施の形態で説明した効果を得ることができる。 また、 本発明はかかる上記実施形態に限定されるものではなく、 本発明 の範囲を逸脱することなく種々の変形又は修正が可能である。
なお、 本実施の形態では、 本実施では表示すべき順序にピクチャの順序 を並べ替えて出力することを表示と表現している。 すなわち、 復号化画像 を表示デバイスに出力するためのプロセスを表示と表現しており、 例えば 他の記録機器で記録するために復号化画像を出す動作もこの表示の特殊な 場合と考えられる。 また、 表示デバイスが画像メモリを有する場合には、 復号化画像を実際の表示時刻よりも早めに表示デバイスに送信することも 可能である。 産業上の利用可能性 本発明は、 復号画像バッファに保存されている復号化済の画像を参照し ながら予測符号化によリ画像を符号化し、 さらに符号化された画像を復号 化して当該復号画像を前記復号画像バッファに格納する画像符号化装置、 及び復号画像バッファに保存されている復号化済の画像を参照しながら、 予測符号化によリ符号化された画像を復号化して当該復号画像を前記復号 画像バッファに格納する画像符号化装置に利用される。

Claims

請 求 の 範 囲
1 ピクチャバッファに保持されている画像を参照しながら入力画像を予 測符号化し、 符号化された前記入力画像を復号化する画像符号化方法であ つて、
復号化された画像について、 参照用の画像であるか否か及び表示時刻ま で保持が必要な出力用の画像であるか否かを判定し、 判定結果に基づいて 参照用の画像および出力用の画像を前記ピクチャバッファに保持させる ことを特徴とする画像符号化方法。
2 前記画像符号化方法は、
復号化された画像が参照用の画像であるか否かを判定する第 1 の判定ス テツプと、
復号化された画像が表示時刻まで保持が必要な出力用の画像であるか否 かを判定する第 2の判定ステップと、
第 1 の判定ステップにおいて参照用の画像と判定された画像および第 2 の判定ステツプにおいて出力用の画像と判定された画像を前記ピクチャバ ッファに保持させるよぅピクチャバッファを管理する管理ス亍ップと を有することを特徴とする請求の範囲第 1項記載の画像符号化方法。
3 前記ピクチャバッファは一定のサイズを有し、
前記画像符号化方法は、 さらに、
ピクチャバッファに保持されている参照用の画像が参照済となったか否 かを判定する第 3の判定ステップと、
ピクチャバッファに保持されている画像が出力済となったか否かを判定 する第 4の判定ステップとを有し、 前記管理ステップにおいて、 第 3及び第 4の判定ステップにおける各判 定結果に基づいて、 前記一定のサイズの範囲内でピクチャバッファ中の画 像を保持している領域を再利用する
ことを特徴とする請求の範囲第 2項記載の画像符号化方法。
4 前記画像符号化方法は、 さらに、
複数の符号化画像からなるシーケンス毎に、 当該シーケンスの符号化に おいて一定となる前記サイズを示す情報を符号化する符号化ステップを有 する
ことを特徴とする請求の範囲第 3項に記載の画像符号化方法。
5 前記管理ステップにおいて、 前記ピクチャバッファ中に新たに画像を 格納可能な領域が存在しない場合に、 第 4の判定ステップにおいて出力済 になったと判定された参照用でない画像を保持している領域に、 第 1 の判 定ステップにおいて参照用の画像と判定された画像および第 2の判定ス亍 ップにおいて出力用の画像と判定された画像の何れかを格納する
ことを特徴とする請求の範囲第 3項に記載の画像符号化方法。
6 前記管理ステップにおいて、 前記ピクチャバッファ中に新たに画像を 格納可能な領域が存在しない場合、 前記ピクチャバッファに格納された参 照用でない画像のうち表示順で古い画像を保持している領域に、 第 1 の判 定ステップにおいて参照用の画像と判定された画像および第 2の判定ステ ップにおいて出力用の画像と判定された画像の何れかを保持させる ことを特徴とする請求の範囲第 3項に記載の画像符号化方法。
7 前記画像符号化方法は、 さらに、 複数の符号化画像を含むシーケンスの途中で入力画像のサイズが変更さ れた場合、 出力用の画像を保持している領域のうち、 サイズ変更前の画像 でかつ格納後に画像の全部又は一部が変更されていない画像を保持してい る領域以外の領域を開放する開放ステップを有する
ことを特徴とする請求の範囲第 1項に記載の画像符号化方法。
8 ピクチャバッファに保持されている画像を参照しながら予測符号化さ れた入力画像を復号化する画像復号化方法であって、
復号化された画像について、 参照用の画像であるか否か及び表示時刻ま で保持が必要な出力用の画像であるかを判定し、 判定結果に基づいて参照 用の画像および出力用の画像を前記ピクチャバッファに保持させる
ことを特徴とする画像復号化方法。
9 前記画像復号化方法は、
復号化された画像が参照用の画像であるか否かを判定する第 1 の判定ス テツプと、
復号化された画像が表示時刻まで保持が必要な出力用の画像であるか否 かを判定する第 2の判定ステップと、
第 1 の判定ステップにおいて参照用の画像と判定された画像および第 2 の判定ステツプにおいて出力用の画像と判定された画像を前記ピクチャバ ッファに保持させるようピクチャバッファを管理する管理ステップと を有することを特徴とする請求の範囲第 8項記載の画像復号化方法。
1 0 前記ピクチャバッファは一定のサイズを有し、
前記画像復号化方法は、 さらに、
ピクチャバッファに保持されている参照用の画像が参照済となつたか否 かを判定する第 3の判定手段と、
ピクチャバッファに保持されている画像が出力済となったか否かを判定 する第 4の判定ステップとを有し、
前記管理ステップにおいて、 第 3及び第 4の判定ステップにおける各判 定結果に基づいて、 前記一定のサイズの範囲内でピクチャバッファ中の画 像を保持している領域を再利用する
ことを特徴とする請求の範囲第 9項記載の画像復号化方法。
1 1 前記画像復号化方法は、 さらに、
複数の符号化画像からなるシーケンス毎に、 当該シーケンス単位の一定 となる前記サイズを取得する復号化ステップを有する
ことを特徴とする請求の範囲第 1 0項に記載の画像復号化方法。
1 2 前記管理ステップにおいて、 前記ピクチャバッファ中に新たに画像 を格納可能な領域が存在しない場合に、 第 4の判定ステップにおいて出力 済と判定された参照用で無い画像を保持している領域に、 第 1 の判定ステ ップにおいて参照用の画像と判定された画像および第 2の判定ステツプに おいて出力用の画像と判定された画像の何れかを格納する
ことを特徴とする請求の範囲第 1 0項に記載の画像復号化方法。
1 3 前記管理ステップにおいて、 前記ピクチャバッファ中に新たに画像 を格納可能な領域が存在しない場合、 前記ピクチャバッファに格納された 参照用でない画像のうち表示順で古い画像を保持している領域に、 第 1 の 判定ステップにおいて参照用の画像と判定された画像および第 2の判定ス テツプにおいて出力用の画像と判定された画像の何れかを保持させる ことを特徴とする請求の範囲第 1 0項に記載の画像復号化方法。 1 4 前記画像復号化方法は、 さらに、
複数の符号化画像を含むシーケンスの途中で入力画像のサイズが変更さ れた場合、 ピクチャバッファに保持されている参照用でない画像のうち、 サイズ変更前の画像でかつ格納後に画像の全部又は一部が変更されていな い画像を出力する出力ステップを有する
ことを特徴とする請求の範囲第 8項に記載の画像復号化方法。
1 5 ピクチャバッファに保持されている画像を参照しながら入力画像を 予測符号化し、 符号化された前記入力画像を復号化する画像符号化装置で あって、
復号化された画像について、 参照.用の画像であるか否か及び表示時刻ま で保持が必要な出力用の画像であるかを判定し、 判定結果に基づいて参照 用の画像および出力用の画像を前記ピクチャバッファに保持させる
ことを特徴とする画像符号化装置。
1 6 前記画像符号化装置は、
復号化された画像が参照用の画像であるか否かを判定する第 1 の判定手 段と、
復号化された画像が表示時刻まで保持が必要な出力用の画像であるか否 かを判定する第 2の判定手段と、
第 1 の判定手段によリ参照用の画像と判定された画像または第 2の判定 手段によリ出力用の画像と判定された画像を前記ピクチャバッファに保持 させるようピクチャバッファを管理する管理手段と
を有することを特徴とする請求の範囲第 1 5項記載の画像符号化装置。 1 7 前記ピクチャバッファは一定のサイズを有し、
前記画像符号化装置は、 さらに、
ピクチャバッファに保持されている参照用の画像が参照済となったか否 かを判定する第 3の判定手段と、
ピクチャバッファに保持されている画像が出力済となったか否かを判定 する第 4の判定手段とを有し、
前記管理手段は、 第 3及び第 4の判定手段における各判定結果に基づい て、 前記一定のサイズの範囲内でピクチャバッファ中の画像を保持してい る領域を再利用する
ことを特徴とする請求の範囲第 1 6項記載の画像符号化装置。
1 8 前記画像符号化装置は、 さらに、
複数の符号化画像からなるシーケンス毎に、 当該シーケンスの符号化に おいて一定となる前記サイズを示す情報を符号化する符号化手段を有する ことを特徴とする請求の範囲第 1 7項に記載の画像符号化装置。
1 9 前記管理手段は、 前記ピクチャバッファ中に新たに画像を格納可能 な領域が存在しない場合に、 第 4の判定手段により出力済になったと判定 された参照用でない画像を保持している領域に、 第 1 の判定手段によリ参 照用の画像と判定された画像および第 2の判定手段によリ出力用の画像と 判定された画像の何れかを格納する
ことを特徴とする請求の範囲第 1 7項に記載の画像符号化装置。
2 0 前記管理手段は、 前記ピクチャバッファ中に新たに画像を格納可能 な領域が存在しない場合、 前記ピクチャバッファに格納された参照用でな い画像のうち表示順で古い画像を保持している領域に、 第 1 の判定手段に よリ参照用の画像と判定された画像および第 2の判定手段によリ出力用の 画像と判定された画像の何れかを保持させる
ことを特徴とする請求の範囲第 1 7項に記載の画像符号化装置。 2 1 前記画像符号化装置は、 さらに、
複数の符号化画像を含むシーケンスの途中で入力画像のサイズが変更さ れた場合、 出力用の画像を保持している領域のうち、 サイズ変更前の画像 でかつ格納後に画像の全部又は一部が変更されていない画像を保持してい る領域以外の領域を開放する開放手段を有する
ことを特徴とする請求の範囲第 1 5項に記載の画像符号化装置。
2 2 ピクチャバッファに保持されている画像を参照しながら予測符号化 された入力画像を復号化する画像復号化装置であって、
復号化された画像について、 参照用の画像であるか否か及び表示時刻ま で保持が必要な出力用の画像であるかを判定し、 判定結果に基づいて参照 用の画像および出力用の画像を前記ピクチャバッファに保持させる ことを特徴とする画像復号化装置。
2 3 前記画像復号化装置は、
復号化された画像が参照用の画像であるか否かを判定する第 1 の判定手 段と、
復号化された画像が表示時刻まで保持が必要な出力用の画像であるか否 かを判定する第 2の判定手段と、
第 1 の判定手段によリ参照用の画像と判定された画像および第 2の判定 手段により出力用の画像と判定された画像を前記ピクチャバッファに保持 させるよう ピクチャバッファを管理する管理手段と を有することを特徴とする請求の範囲第 2 2項記載の画像復号化装置。
2 4 前記ピクチャバッファは一定のサイズを有し、
前記画像復号化装置は、 さらに、
ピクチャバッファに保持されている参照用の画像が参照済となつたか否 かを判定する第 3の判定手段と、
ピクチャバッファに保持されている画像が出力済となったか否かを判定 する第 4の判定手段とを有し、
前記管理手段は、 第 3及び第 4の判定手段における各判定結果に基づい て、 前記一定のサイズの範囲内でピクチャバッファ中の画像を保持してい る領域を再利用する
ことを特徴とする請求の範囲第 2 3項記載の画像復号化装置。
2 5 前記画像復号化装置は、 さらに、
複数の符号化画像からなるシーケンス毎に、 当該シーケンス単位の一定 となる前記サイズを取得する復号化手段を有する
ことを特徴とする請求の範囲第 2 4項に記載の画像復号化装置。
2 6 前記管理手段には、 前記ピクチャバッファ中に新たに画像を格納可 能な領域が存在しない場合に、 第 4の判定手段により出力済になったと判 定された参照用でない画像を保持している領域に、 第 1 の判定手段により 参照用の画像と判定された画像および第 2の判定手段により出力用の画像 と判定された画像の何れかを格納する
ことを特徴とする請求の範囲第 2 4項に記載の画像復号化装置。
2 7 前記管理手段は、 前記ピクチャバッファ中に新たに画像を格納可能 な領域が存在しない場合、 前記ピクチャバッファに格納された参照用でな い画像のうち表示順で古い画像を保持している領域に、 第 1 の判定手段に より参照用の画像と判定された画像および第 2の判定手段により出力用の 画像と判定された画像の何れかを保持させる
ことを特徴とする請求の範囲第 2 4項に記載の画像復号化装置。
2 8 前記画像復号化装置は、 さらに、
複数の符号化画像を含むシーケンスの途中で入力画像のサイズが変更さ れた場合、 ピクチャバッファに保持されている参照用でない画像のうち、 サイズ変更前の画像でかつ格納後に画像の全部又は一部が変更されていな い画像を出力する出力手段を有する
ことを特徴とする請求の範囲第 2 2項に記載の画像復号化装置。
2 9 請求の範囲第 1項から第 7項の何れかに記載の画像符号化方法又は 請求の範囲第 8項から第 1 4項の何れかに記載の画像復号化方法をコンビ ュ一タに実行させることを特徴とするプログラム。
PCT/JP2003/008576 2002-07-11 2003-07-07 画像符号化方法及び画像復号化方法 WO2004008774A1 (ja)

Priority Applications (23)

Application Number Priority Date Filing Date Title
CNB038010216A CN100361535C (zh) 2002-07-11 2003-07-07 解码方法和解码装置
DE2003610842 DE60310842T2 (de) 2002-07-11 2003-07-07 Verfahren zur Codierung und Decodierung von H.264 Bildern mittels eines virtuellen Anzeigepuffers.
EP20030741225 EP1406451B1 (en) 2002-07-11 2003-07-07 Image coding and decoding method for H.264 using a virtual display buffer.
CA2460471A CA2460471C (en) 2002-07-11 2003-07-07 Picture encoding method and picture decoding method
AU2003281129A AU2003281129B2 (en) 2002-07-11 2003-07-07 Picture encoding method and picture decoding method
US10/481,012 US7206347B2 (en) 2002-07-11 2003-07-07 Image coding method and image decoding method
SI200330629T SI1406451T1 (sl) 2002-07-11 2003-07-07 Postopek za kodiranje in dekodiranje slike za H.264, ki uporablja virtualni prikazovalni vmesni spomin
MXPA04001979A MXPA04001979A (es) 2002-07-11 2003-07-07 Metodo de codificacion de imagenes y metodo de decodificacion de imagenes.
DK03741225T DK1406451T3 (da) 2002-07-11 2003-07-07 Billedkodnings- og dekodningsfremgangsmåde til H.264 ved anvendelse af en virtuel visningsbuffer
DK06122279T DK1742479T3 (da) 2002-07-11 2003-07-07 Multihypotese B-billede virtuel displaybuffer med lån af plads i H.264 post-dekoder bufferen
BRPI0305432-2A BRPI0305432B1 (pt) 2002-07-11 2003-07-07 “Método e aparelho de decodificação para decodificar um sinal de imagem codificado preditivamente”
BR0305432A BR0305432A (pt) 2002-07-11 2003-07-07 Método de codificação de imagem e método de decodificação de imagem
US11/605,958 US7995658B2 (en) 2002-07-11 2006-11-30 Picture encoding method and picture decoding method
US11/976,271 US8155206B2 (en) 2002-07-11 2007-10-23 Picture encoding method and picture decoding method
US11/976,273 US8073059B2 (en) 2002-07-11 2007-10-23 Picture encoding method and picture decoding method
US11/976,272 US8189680B2 (en) 2002-07-11 2007-10-23 Picture encoding method and picture decoding method
US13/461,237 US8660192B2 (en) 2002-07-11 2012-05-01 Picture encoding method and picture decoding method
US14/156,986 US9088782B2 (en) 2002-07-11 2014-01-16 Picture encoding method and picture decoding method
US14/156,659 US9094666B2 (en) 2002-07-11 2014-01-16 Picture encoding method and picture decoding method
US14/156,769 US9088781B2 (en) 2002-07-11 2014-01-16 Picture encoding method and picture decoding method
US14/157,032 US9088783B2 (en) 2002-07-11 2014-01-16 Picture encoding method and picture decoding method
US14/727,951 US9390512B2 (en) 2002-07-11 2015-06-02 Picture encoding method and picture decoding method
US14/727,946 US9412177B2 (en) 2002-07-11 2015-06-02 Picture encoding method and picture decoding method

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP2002-202781 2002-07-11
JP2002202781 2002-07-11
JP2002207681 2002-07-17
JP2002-207681 2002-07-17
JP2003-6198 2003-01-14
JP2003006198 2003-01-14

Related Child Applications (3)

Application Number Title Priority Date Filing Date
US10/481,012 A-371-Of-International US7206347B2 (en) 2002-07-11 2003-07-07 Image coding method and image decoding method
US10481012 A-371-Of-International 2003-07-07
US11/605,958 Division US7995658B2 (en) 2002-07-11 2006-11-30 Picture encoding method and picture decoding method

Publications (1)

Publication Number Publication Date
WO2004008774A1 true WO2004008774A1 (ja) 2004-01-22

Family

ID=30118918

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2003/008576 WO2004008774A1 (ja) 2002-07-11 2003-07-07 画像符号化方法及び画像復号化方法

Country Status (18)

Country Link
US (12) US7206347B2 (ja)
EP (5) EP2278816B1 (ja)
JP (8) JP4651685B2 (ja)
KR (3) KR100959969B1 (ja)
CN (2) CN100361535C (ja)
AT (4) ATE443972T1 (ja)
AU (1) AU2003281129B2 (ja)
BR (2) BRPI0305432B1 (ja)
CA (1) CA2460471C (ja)
DE (3) DE60310842T2 (ja)
DK (3) DK2278816T3 (ja)
ES (4) ES2330555T3 (ja)
MX (1) MXPA04001979A (ja)
MY (1) MY135048A (ja)
PT (2) PT2278816E (ja)
SI (2) SI1742479T1 (ja)
TW (10) TWI379595B (ja)
WO (1) WO2004008774A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104396256A (zh) * 2012-06-29 2015-03-04 索尼公司 解码设备和解码方法

Families Citing this family (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7339955B2 (en) * 2000-09-25 2008-03-04 Pulse-Link, Inc. TDMA communication method and apparatus using cyclic spreading codes
ES2661697T3 (es) 2001-11-06 2018-04-03 Panasonic Intellectual Property Corporation Of America Método de codificación de imágenes en movimiento y método de decodificación de imágenes en movimiento
EP2278816B1 (en) * 2002-07-11 2013-04-24 Panasonic Corporation Post-decoder buffer management for an H.264-SVC MPEG bitstream.
JP3513148B1 (ja) * 2002-10-11 2004-03-31 株式会社エヌ・ティ・ティ・ドコモ 動画像符号化方法、動画像復号方法、動画像符号化装置、動画像復号装置、動画像符号化プログラム、及び動画像復号プログラム
US7400683B2 (en) * 2003-11-18 2008-07-15 Lsi Corporation Device with virtual tilized image memory
US7590059B2 (en) * 2004-05-21 2009-09-15 Broadcom Corp. Multistandard video decoder
US7751324B2 (en) * 2004-11-19 2010-07-06 Nokia Corporation Packet stream arrangement in multimedia transmission
TWI289997B (en) * 2004-12-02 2007-11-11 Sony Corp Encoding device, method, and program
BRPI0606627A2 (pt) * 2005-01-19 2009-07-07 Thomson Licensing método e aparelho para codificação paralela em tempo real
US8498340B2 (en) * 2006-04-04 2013-07-30 Himax Technologies Limited Method and device for decoding and displaying video frames
US7949054B2 (en) 2006-06-01 2011-05-24 Microsoft Corporation Flexible data organization for images
US8559510B2 (en) * 2006-08-10 2013-10-15 Canon Kabushiki Kaisha Image decoding apparatus
JP2008124772A (ja) * 2006-11-13 2008-05-29 Hitachi Ltd 符号化装置及び符号化方法
JP5008484B2 (ja) * 2007-07-11 2012-08-22 株式会社日立国際電気 映像処理方法
US8503527B2 (en) 2008-10-03 2013-08-06 Qualcomm Incorporated Video coding with large macroblocks
CN102118537B (zh) * 2009-12-31 2015-04-15 深圳富泰宏精密工业有限公司 图片错误隐藏系统及方法
JP2011199396A (ja) * 2010-03-17 2011-10-06 Ntt Docomo Inc 動画像予測符号化装置、動画像予測符号化方法、動画像予測符号化プログラム、動画像予測復号装置、動画像予測復号方法、及び動画像予測復号プログラム
US9451285B2 (en) * 2010-04-16 2016-09-20 Sk Telecom Co., Ltd. Inter-prediction method and video encoding/decoding method using the inter-prediction method
KR101750495B1 (ko) * 2010-04-16 2017-06-27 에스케이텔레콤 주식회사 인터 예측 방법 및 그 인터 예측 방법을 이용한 동영상 부호화/복호화 방법
EP2685706A4 (en) * 2011-03-10 2014-09-24 Panasonic Corp VIDEO PROCESSING DEVICE AND CORRESPONDING VIDEO DISPLAY DEVICE, AND SYNCHRONIZATION SIGNAL OUTPUT METHOD
PT3229474T (pt) 2011-06-30 2019-02-04 Ericsson Telefon Ab L M Sinalização de imagem de referência
WO2013036071A2 (ko) 2011-09-09 2013-03-14 엘지전자 주식회사 인터 예측 방법 및 그 장치
US9131245B2 (en) 2011-09-23 2015-09-08 Qualcomm Incorporated Reference picture list construction for video coding
JP5698644B2 (ja) * 2011-10-18 2015-04-08 株式会社Nttドコモ 動画像予測符号化方法、動画像予測符号化装置、動画像予測符号化プログラム、動画像予測復号方法、動画像予測復号装置及び動画像予測復号プログラム
US9264717B2 (en) 2011-10-31 2016-02-16 Qualcomm Incorporated Random access with advanced decoded picture buffer (DPB) management in video coding
US10158873B2 (en) 2011-11-30 2018-12-18 Qualcomm Incorporated Depth component removal for multiview video coding (MVC) compatible three-dimensional video coding (3DVC)
CN107197312B (zh) 2012-04-23 2020-09-01 Lg 电子株式会社 视频解码方法以及实现该方法的装置
CN103389879B (zh) 2012-05-10 2016-08-17 慧荣科技股份有限公司 电子装置以及由电子装置传送数据至显示设备的方法
US9762903B2 (en) * 2012-06-01 2017-09-12 Qualcomm Incorporated External pictures in video coding
US20160041996A1 (en) 2014-08-11 2016-02-11 Netapp, Inc. System and method for developing and implementing a migration plan for migrating a file system
WO2015180139A1 (zh) * 2014-05-30 2015-12-03 富士通株式会社 图像编码方法、装置以及图像处理设备
JP6858124B2 (ja) * 2015-08-25 2021-04-14 川崎重工業株式会社 遠隔操縦マニピュレータシステム及びその運転方法
US10404979B2 (en) * 2016-03-17 2019-09-03 Mediatek Inc. Video coding with interpolated reference pictures

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997004598A1 (en) * 1995-07-21 1997-02-06 Hitachi, Ltd. Device for decoding encoded video signal and storing and decoding device using it
JPH1013841A (ja) * 1996-06-20 1998-01-16 Oki Electric Ind Co Ltd 画像復号方法および画像復号装置
JPH1013791A (ja) * 1996-06-24 1998-01-16 Matsushita Electric Ind Co Ltd 映像信号復号化方法,及び映像信号復号化装置
JPH10271507A (ja) * 1997-03-24 1998-10-09 Oki Electric Ind Co Ltd 画像復号化装置
JP2003274412A (ja) * 2002-03-14 2003-09-26 Matsushita Electric Ind Co Ltd 画像符号化方法および画像復号化方法

Family Cites Families (55)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6230376A (ja) 1985-07-31 1987-02-09 Fujitsu Ltd 薄膜トランジスタの製造方法
JP2969782B2 (ja) * 1990-05-09 1999-11-02 ソニー株式会社 符号化データ編集方法及び符号化データ編集装置
JPH05137131A (ja) * 1991-11-13 1993-06-01 Sony Corp フレーム間動き予測方法
JPH05308622A (ja) * 1992-04-28 1993-11-19 Mitsubishi Electric Corp 画像符号化・復号化装置
JP3189257B2 (ja) * 1992-05-21 2001-07-16 ソニー株式会社 画像符号器
JPH0638197A (ja) * 1992-06-30 1994-02-10 Sony Corp 符号器、復号器、および符号化方法
US5398072A (en) * 1993-10-25 1995-03-14 Lsi Logic Corporation Management of channel buffer in video decoders
US5892882A (en) 1994-03-23 1999-04-06 Pioneer Electronic Corporation Moving picture decoding device having a compressed picture data memory
US6009231A (en) * 1994-09-05 1999-12-28 Sony Corporation Reproduction of information using a ring buffer with read and write pointers separated from each other by substantially half of the total ring buffer capacity
TW330263B (en) * 1994-10-12 1998-04-21 Winbond Electronics Corp Digital video decoding system and method
JP3694912B2 (ja) * 1995-02-23 2005-09-14 株式会社日立製作所 メモリ制御方法及び画像復号装置
US5724446A (en) * 1995-04-18 1998-03-03 Advanced Micro Devices, Inc. Video decoder apparatus using non-reference frame as an additional prediction source and method therefor
TW257848B (en) * 1995-04-19 1995-09-21 Silicon Integrated Sys Corp Adaptive display memory management system and method thereof
DE69615528T2 (de) 1995-09-20 2002-05-08 Koninkl Philips Electronics Nv Verfahren und vorrichtung zur dekodierung von digitalen videosignalen
US5764921A (en) * 1995-10-26 1998-06-09 Motorola Method, device and microprocessor for selectively compressing video frames of a motion compensated prediction-based video codec
JP3535297B2 (ja) * 1996-01-26 2004-06-07 ローム株式会社 画像データ復号方法およびこの方法を用いた画像データ復号装置
JP3183155B2 (ja) * 1996-03-18 2001-07-03 株式会社日立製作所 画像復号化装置、及び、画像復号化方法
WO1997035422A1 (en) * 1996-03-19 1997-09-25 Mitsubishi Denki Kabushiki Kaisha Encoder, decoder and methods used therefor
TW351903B (en) * 1996-07-03 1999-02-01 Matsushita Electric Ind Co Ltd Encoding method, encoding apparatus, decoding and compositing method, decoding and composition appratus, and record medium recorded with the aforesaid methods for multiple images
AU718453B2 (en) * 1996-07-17 2000-04-13 Sony Corporation Image coding and decoding using mapping coefficients corresponding to class information of pixel blocks
US6006231A (en) * 1996-09-10 1999-12-21 Warp 10 Technologies Inc. File format for an image including multiple versions of an image, and related system and method
US6104752A (en) 1996-10-01 2000-08-15 Victor Company Of Japan, Ltd. Apparatus and method of decoding high efficiency coded picture data with picture size resizing
US5909224A (en) * 1996-10-18 1999-06-01 Samsung Electronics Company, Ltd. Apparatus and method for managing a frame buffer for MPEG video decoding in a PC environment
US6002438A (en) * 1996-10-25 1999-12-14 Texas Instruments Incorporated Method and apparatus for storing decoded video information
JP3599942B2 (ja) * 1997-02-13 2004-12-08 三洋電機株式会社 動画像符号化方法、及び動画像符号化装置
JPH10257499A (ja) 1997-03-17 1998-09-25 Matsushita Electric Ind Co Ltd 動画像符号化装置および方法
JPH10322643A (ja) 1997-03-19 1998-12-04 Fujitsu Ltd 画像データ処理方法及び装置
DE19727542A1 (de) * 1997-06-28 1999-01-07 Thomson Brandt Gmbh Verfahren zur Regenerierung der Originaldaten eines digital codierten Videofilms und Vorrichtung zur Durchführung des Verfahrens
JPH1141605A (ja) 1997-07-17 1999-02-12 Nippon Telegr & Teleph Corp <Ntt> 画像符号化装置および画像復号装置
JP4010024B2 (ja) * 1997-09-02 2007-11-21 ソニー株式会社 圧縮動画像信号のデコード装置
KR100301826B1 (ko) * 1997-12-29 2001-10-27 구자홍 비디오디코더
US6959045B2 (en) * 1997-12-30 2005-10-25 Mediatek, Inc. Reduced cost decoder using bitstream editing for image cropping
JPH11275580A (ja) * 1998-03-24 1999-10-08 Sony Corp 画像データ処理装置、画像データ復号装置及び画像データ符号化装置並びにそれらの方法
KR100284696B1 (ko) * 1998-06-29 2001-03-15 윤종용 Mpeg 복호 블럭에서의 수평/수직 주파수 변환장치
JP2000050272A (ja) 1998-07-31 2000-02-18 Sony Corp 復号化装置及び方法
JP2000059794A (ja) 1998-08-14 2000-02-25 Nippon Telegr & Teleph Corp <Ntt> 画像符号化データ作成方法,そのプログラム記憶媒体,画像符号化データ作成装置,画像通信方法および画像通信システム
FR2782437B1 (fr) 1998-08-14 2000-10-13 Thomson Multimedia Sa Procede de commutation de flux mpeg
US6243140B1 (en) 1998-08-24 2001-06-05 Hitachi America, Ltd Methods and apparatus for reducing the amount of buffer memory required for decoding MPEG data and for performing scan conversion
US6490324B1 (en) * 1998-12-08 2002-12-03 Stmicroelectronics, Inc. System, method and apparatus for a variable output video decoder
JP2000232649A (ja) 1998-12-10 2000-08-22 Fujitsu Ltd Mpegビデオ復号器及びmpegビデオ復号方法
US6658056B1 (en) * 1999-03-30 2003-12-02 Sony Corporation Digital video decoding, buffering and frame-rate converting method and apparatus
JP2000324484A (ja) 1999-05-13 2000-11-24 Hitachi Ltd 画像データ処理装置
JP2001094941A (ja) * 1999-09-27 2001-04-06 Matsushita Electric Ind Co Ltd 圧縮画像処理装置及び圧縮画像処理方法
US6836273B1 (en) 1999-11-11 2004-12-28 Matsushita Electric Industrial Co., Ltd. Memory management method, image coding method, image decoding method, image display method, memory management apparatus, and memory management program storage medium
JP2001223987A (ja) * 1999-11-11 2001-08-17 Matsushita Electric Ind Co Ltd メモリ管理方法、画像符号化方法、画像復号化方法、画像表示方法、メモリ管理装置、メモリ管理プログラム記録媒体
US6697426B1 (en) * 2000-03-17 2004-02-24 Koninklijke Philips Electronics N.V. Reduction of layer-decoding complexity by reordering the transmission of enhancement layer frames
EP1156674A1 (en) * 2000-05-19 2001-11-21 THOMSON multimedia Method and device for decoding a video data stream in special reproduction modes
US20030012284A1 (en) 2000-12-20 2003-01-16 Masahiro Kazayama Method and apparatus for decoding motion video game
US6680973B2 (en) * 2001-03-29 2004-01-20 Koninklijke Philips Electronics N.V. Scalable MPEG-2 video decoder with selective motion compensation
EP2278816B1 (en) * 2002-07-11 2013-04-24 Panasonic Corporation Post-decoder buffer management for an H.264-SVC MPEG bitstream.
AU2003241696A1 (en) * 2002-07-26 2004-02-16 Matsushita Electric Industrial Co., Ltd. Moving picture encoding method, moving picture decoding method, and recording medium
JP3554729B2 (ja) * 2002-07-30 2004-08-18 沖電気工業株式会社 画像処理装置
KR100543453B1 (ko) * 2003-04-24 2006-01-23 삼성전자주식회사 디지털 비디오 스트림의 역재생시 비트율을 제어하기 위한 장치 및 그 방법
JP4281720B2 (ja) * 2004-10-26 2009-06-17 ソニー株式会社 データ処理装置、データ処理方法、データ処理システム、プログラムおよび記録媒体
JP5328329B2 (ja) 2008-12-10 2013-10-30 キヤノン株式会社 インクジェット記録装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997004598A1 (en) * 1995-07-21 1997-02-06 Hitachi, Ltd. Device for decoding encoded video signal and storing and decoding device using it
JPH1013841A (ja) * 1996-06-20 1998-01-16 Oki Electric Ind Co Ltd 画像復号方法および画像復号装置
JPH1013791A (ja) * 1996-06-24 1998-01-16 Matsushita Electric Ind Co Ltd 映像信号復号化方法,及び映像信号復号化装置
JPH10271507A (ja) * 1997-03-24 1998-10-09 Oki Electric Ind Co Ltd 画像復号化装置
JP2003274412A (ja) * 2002-03-14 2003-09-26 Matsushita Electric Ind Co Ltd 画像符号化方法および画像復号化方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104396256A (zh) * 2012-06-29 2015-03-04 索尼公司 解码设备和解码方法
CN104396256B (zh) * 2012-06-29 2018-11-06 威勒斯媒体国际有限公司 解码设备和解码方法

Also Published As

Publication number Publication date
US9088783B2 (en) 2015-07-21
US20120213287A1 (en) 2012-08-23
EP1742480B1 (en) 2008-10-29
KR100961036B1 (ko) 2010-06-01
US20070076801A1 (en) 2007-04-05
US20140133577A1 (en) 2014-05-15
CN101179733B (zh) 2011-11-02
CN100361535C (zh) 2008-01-09
EP2278816A3 (en) 2011-09-21
AU2003281129A1 (en) 2004-02-02
JP2014014142A (ja) 2014-01-23
AU2003281129B2 (en) 2007-12-06
JP2008172821A (ja) 2008-07-24
PT2278816E (pt) 2013-05-10
EP1406451A4 (en) 2004-07-07
ATE413067T1 (de) 2008-11-15
ES2330555T3 (es) 2009-12-11
ES2277092T3 (es) 2007-07-01
TW200723891A (en) 2007-06-16
US9412177B2 (en) 2016-08-09
US8660192B2 (en) 2014-02-25
SI1742479T1 (sl) 2009-12-31
TW201534110A (zh) 2015-09-01
US8189680B2 (en) 2012-05-29
JP5412538B2 (ja) 2014-02-12
JP4914459B2 (ja) 2012-04-11
EP2278816A2 (en) 2011-01-26
US8073059B2 (en) 2011-12-06
TWI638565B (zh) 2018-10-11
US20150262377A1 (en) 2015-09-17
TW200723890A (en) 2007-06-16
EP2053863A1 (en) 2009-04-29
EP1406451A1 (en) 2004-04-07
DE60310842T2 (de) 2007-10-11
TW201720167A (zh) 2017-06-01
EP2053863B1 (en) 2012-03-07
JP5602294B2 (ja) 2014-10-08
US20140133561A1 (en) 2014-05-15
TWI414187B (zh) 2013-11-01
DE60324480D1 (de) 2008-12-11
EP1742479A3 (en) 2007-03-14
EP1742479B1 (en) 2009-09-23
TWI573447B (zh) 2017-03-01
ATE548856T1 (de) 2012-03-15
JP2012124949A (ja) 2012-06-28
KR100959969B1 (ko) 2010-05-27
TWI492636B (zh) 2015-07-11
MY135048A (en) 2008-01-31
US20050058206A1 (en) 2005-03-17
EP1742480A3 (en) 2007-02-28
US9088782B2 (en) 2015-07-21
ES2420583T3 (es) 2013-08-26
CA2460471C (en) 2012-02-07
US9088781B2 (en) 2015-07-21
US20150262324A1 (en) 2015-09-17
JP5037657B2 (ja) 2012-10-03
TWI573446B (zh) 2017-03-01
DE60310842D1 (de) 2007-02-15
KR20050018795A (ko) 2005-02-28
JP2010283878A (ja) 2010-12-16
MXPA04001979A (es) 2004-08-02
EP2278816B1 (en) 2013-04-24
ATE350861T1 (de) 2007-01-15
US20140133572A1 (en) 2014-05-15
US20080056379A1 (en) 2008-03-06
CN1557097A (zh) 2004-12-22
KR20080073367A (ko) 2008-08-08
JP5647719B2 (ja) 2015-01-07
JP5647718B2 (ja) 2015-01-07
JP2014014144A (ja) 2014-01-23
BR0305432A (pt) 2004-09-28
US7206347B2 (en) 2007-04-17
TW200401568A (en) 2004-01-16
ES2317444T3 (es) 2009-04-16
JP2009153175A (ja) 2009-07-09
JP4914515B2 (ja) 2012-04-11
US9094666B2 (en) 2015-07-28
CA2460471A1 (en) 2004-01-22
ATE443972T1 (de) 2009-10-15
TW201534112A (zh) 2015-09-01
BRPI0305432B1 (pt) 2018-07-03
JP2014014143A (ja) 2014-01-23
US8155206B2 (en) 2012-04-10
EP1742480A2 (en) 2007-01-10
TW201105146A (en) 2011-02-01
DK1406451T3 (da) 2007-02-05
JP2010283880A (ja) 2010-12-16
US20140133578A1 (en) 2014-05-15
SI1406451T1 (sl) 2007-04-30
EP1406451B1 (en) 2007-01-03
PT1742479E (pt) 2009-11-17
TWI280058B (en) 2007-04-21
US20080056378A1 (en) 2008-03-06
DK1742479T3 (da) 2009-12-14
KR100961037B1 (ko) 2010-06-01
TWI575946B (zh) 2017-03-21
DE60329427D1 (de) 2009-11-05
KR20080073781A (ko) 2008-08-11
TW201404181A (zh) 2014-01-16
TWI379595B (en) 2012-12-11
US7995658B2 (en) 2011-08-09
US9390512B2 (en) 2016-07-12
TW201536033A (zh) 2015-09-16
DK2278816T3 (da) 2013-05-21
US20080056380A1 (en) 2008-03-06
EP1742479A2 (en) 2007-01-10
CN101179733A (zh) 2008-05-14
TWI320664B (en) 2010-02-11
TWI573442B (zh) 2017-03-01
TW201534111A (zh) 2015-09-01
JP4651685B2 (ja) 2011-03-16

Similar Documents

Publication Publication Date Title
JP5602294B2 (ja) 画像符号化復号化方法および画像符号化復号化装置
JP4562999B2 (ja) 画像復号化方法および画像復号化装置
JP2004088135A (ja) 画像符号化装置及び画像復号化装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2003741225

Country of ref document: EP

AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

WWE Wipo information: entry into national phase

Ref document number: 1020047001256

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 2003281129

Country of ref document: AU

WWE Wipo information: entry into national phase

Ref document number: PA/a/2004/001979

Country of ref document: MX

WWE Wipo information: entry into national phase

Ref document number: 20038010216

Country of ref document: CN

ENP Entry into the national phase

Ref document number: 2460471

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: 523/CHENP/2004

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2460471

Country of ref document: CA

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWP Wipo information: published in national office

Ref document number: 2003741225

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 10481012

Country of ref document: US

WWG Wipo information: grant in national office

Ref document number: 2003741225

Country of ref document: EP