WO2006030694A1 - 画像符号化装置、画像復号装置、画像符号化プログラム、及び画像復号プログラム - Google Patents
画像符号化装置、画像復号装置、画像符号化プログラム、及び画像復号プログラム Download PDFInfo
- Publication number
- WO2006030694A1 WO2006030694A1 PCT/JP2005/016536 JP2005016536W WO2006030694A1 WO 2006030694 A1 WO2006030694 A1 WO 2006030694A1 JP 2005016536 W JP2005016536 W JP 2005016536W WO 2006030694 A1 WO2006030694 A1 WO 2006030694A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- frame
- frames
- decoding
- coding
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/78—Television signal recording using magnetic recording
- H04N5/782—Television signal recording using magnetic recording on tape
- H04N5/783—Adaptations for reproducing at a rate different from the recording rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/103—Selection of coding mode or of prediction mode
- H04N19/107—Selection of coding mode or of prediction mode between spatial and temporal predictive coding, e.g. picture refresh
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods 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/132—Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N19/159—Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/162—User input
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/172—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
- H04N5/915—Television signal processing therefor for field- or frame-skip recording or reproducing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/79—Processing of colour television signals in connection with recording
- H04N9/80—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
- H04N9/804—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components
- H04N9/8042—Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving pulse code modulation of the colour picture signal components involving data reduction
Definitions
- Image encoding device image decoding device, image encoding program, and image decoding program
- the present invention relates to an image coding apparatus, an image decoding apparatus, an image coding program, and an image decoding program, and in particular, is suitable for high-speed reproduction of image data subjected to interframe or interfield prediction coding.
- the present invention relates to an image coding device, an image decoding device, an image coding program, and an image decoding program, and more specifically, the I frame and the P frame only become effective, and the B frame (bidirectional predictive coding frame)
- the present invention relates to an image coding apparatus and an image decoding apparatus using an image prediction method suitable for high-speed reproduction of a coded bit stream that does not contain H. Further, an image coding program and an image decoding program.
- Image coding methods include MPEG-1, MPEG-2, MPEG-4, H. 263, and the like. In these methods, three types are named: I frame (intra coded frame), P frame (one direction predictive coded frame), B frame (bidirectional predictive coded frame)
- I frame intra coded frame
- P frame one direction predictive coded frame
- B frame bidirectional predictive coded frame
- a bit stream is constructed by coding a frame having a prediction type of.
- the target is a frame, but it is the same as a field.
- FIG. 14 is a schematic diagram for explaining the high-speed reproduction operation in the prior art shown in Patent Document 1.
- FIG. 14 (A) shows an example of a bit stream when the encoding method is an MPEG-2 main profile. In this example, two frames of B frame are inserted in each frame between I frame and P frame or between two P frames!
- reference symbols I, P, and B represent prediction code types of frames, and numbers represent display order. For example, 12 indicates the I-frame displayed second, and P5 indicates the P-frame displayed fifth. Also, in FIG. 14, the images are decoded sequentially from left to right It shows that it will be. In high-speed playback of this bit stream, as shown in FIG. 14 (B), the decoding process of B frame which is not used for reference from other frames is skipped and only I and P frames are decoded. It is possible to achieve high-speed playback by displaying the
- the reference image of a P frame is an I or P frame, and can only refer to the immediately preceding I or P frame.
- Patent Document 1 Japanese Patent Application Laid-Open No. 11 155129
- Patent Document 2 Japanese Patent Application Laid-Open No. 63-310293
- Patent Document 3 Japanese Patent Application Laid-Open No. 7-154743 Disclosure of the invention
- the present invention has been made to solve the power-related problem, and an increase in processing amount and image quality at the time of high-speed reproduction even for a bit stream that does not include a B frame.
- An object of the present invention is to provide an image coding apparatus, an image decoding apparatus, an image coding program, and an image decoding program which are free from deterioration.
- a first technical means is an image coding apparatus for coding an image as a bit stream by intra coding and uni-directional predictive coding only, and the image is coded with the intra coding only.
- Predicted first data indicating whether or not an I-frame or an P-frame in which an image is an intra-code pair and a one-way prediction code is another subsequent frame force is also used as a reference image
- the image of the frame number indicated by the second data is referred to among the reference images indicated by the first data, and a bit stream for high speed reproduction is obtained.
- High-speed playback coding means for setting the first data and instructing the predicted use information coding means to code the first data It is characterized by having.
- a second technical means is the image coding apparatus according to the first technical means, wherein the high speed reproduction coding means is a frame set for high speed reproduction according to the set double speed. For each of the P frames in the range divided by intervals, an image to be referred to from among the reference images when coding a P frame of a frame number for each frame interval set for high speed reproduction The frame is set for high-speed playback, and indicates that the reference image of the same frame number is to be referred to from among the reference images when coding p frames of the remaining frame numbers.
- the second data may be set as the reference information, and the reference information encoding unit may be instructed to encode the second data.
- a third technical means in the image coding apparatus according to the first or second technical means, arranges the reference image at a periodic position, and includes the I frame.
- An image of every N frames (N is an integer of 2 or more) starting from the I frame is used as the reference image represented by the first data.
- a fourth technical means is the image coding apparatus according to the first technical means, wherein the high speed reproduction coding means is a frame set for high speed reproduction according to the set double speed. For each of the P frames in the range divided by intervals, an image to be referred to from among the reference images when coding a P frame of a frame number for each frame interval set for high speed reproduction This is set for high-speed playback, and indicates that images with different frame numbers are referred to among the reference images when coding the p frames of the remaining frame numbers.
- the second data may be set as the reference information, and the reference information encoding unit may be instructed to encode the second data.
- a fifth technical means is the image coding apparatus according to the fourth technical means, wherein the P-frame of the frame number for each frame interval set for high-speed reproduction is coded.
- An image to be referred to from among the images is an image every N frames (N is an integer of 2 or more) starting from the I frame, including the I frame, and the remaining frames not set for high speed reproduction.
- N is an integer of 2 or more
- the image strength code to be referred to is characterized by being an image of a frame at an arbitrary position among the already-completed images.
- a sixth technical means is the image coding apparatus according to the fifth technical means, wherein the P-frame of the frame number for each frame interval set for high-speed reproduction is coded.
- An interval of every N frames indicating a reference image to be referenced from among the images is a frame interval set in accordance with the set double speed instructed in advance to create a high speed reproduction bit stream, and for high speed reproduction.
- a seventh technical means is the image coding apparatus according to the fifth or sixth technical means, wherein the high speed reproduction coding means uses other subsequent frame power as a reference image.
- the frame number for each frame interval set for high speed reproduction is used for an image used as a reference image for the subsequent other frame cover.
- the first data may be set to different values for the image and the image of the remaining frame numbers not set for high-speed playback.
- An eighth technical means is the image coding apparatus according to any one of the first to seventh technical means, wherein when coding the image of each of the P frames, each of the P frames is encoded.
- the present invention is characterized in that it is possible to refer to coded images of a plurality of frames as a reference image to be referred to.
- a ninth technical means relates to, in the image coding apparatus according to the eighth technical means, referring to any one of coded images of a plurality of frames for each of the P frames.
- the encoded image of a different frame can be referred to as the reference image in units of slice units, macroblock units, or block units in each of the P frames to be encoded.
- a frame number indicating the reference image in each unit is encoded as header information of a bit stream.
- a tenth technical means relates to the image coding apparatus according to the eighth or ninth technical means, wherein a plurality of frames can be referred to as a reference picture for each of the P frames.
- the coded image is at least at every frame interval located immediately before the frame to be encoded. It is characterized by including an image of a frame number.
- An eleventh technical means is an image decoding apparatus for decoding a bit stream obtained by encoding an image by intra coding and unidirectional prediction coding only, and the image is coded by intra coding only.
- I-frame or P-frame force in which an image is an intra code and a one-way prediction code is followed by another frame force
- First data indicating whether or not image power used as a reference image is used as prediction usage information
- the prediction use information decoding means for decoding and the reference information decoding means for decoding the second data indicating the frame number to which the P frame refers are used as the reference information.
- the image of the frame number indicated by the second data is referred to, and is set for high-speed reproduction according to the previously designated reproduction speed. It characterized in that it has a high-speed reproduction decoding means for decoding the P frame of the frame number of each frame interval is.
- a twelfth technical means is the image decoding apparatus according to the eleventh technical means, wherein the decoding means for high speed reproduction is a code in accordance with a preset double speed instructed in advance for high speed reproduction.
- the second data of the frame to be decoded is indicated as reference information among the reference images indicated by the first data as predicted usage information. It is characterized in that the P frame can be decoded by referring to the image of the frame number, using the reproduction double speed of an arbitrary value different from the set double speed.
- a thirteenth technical means relates to the image decoding apparatus according to the eleventh or twelfth technical means, wherein the reference image indicated by the first data as predicted usage information is periodically located. It is a limited arrangement, and is a decoded image for every N frames (N is an integer of 2 or more) starting from the I frame, including the I frame, and the reproduction double designated in advance.
- N is an integer of 2 or more
- a fourteenth technical means relates to the image decoding apparatus according to the thirteenth technical means, wherein the coded bit stream coded according to the set double speed instructed in advance for high speed reproduction is the above.
- the interval of every N frames serving as the reference image is a frame interval set in accordance with the set double speed.
- a fifteenth technical means is the image decoding apparatus according to any one of the eleventh to fourteenth technical means, wherein when decoding the image of each P frame, each of the P frames is:
- the present invention is characterized in that decoded images of a plurality of frames can be referenced as a reference image to be referenced.
- a sixteenth technical means is the image decoding device according to the fifteenth technical means, in the case of referring to any one of decoded images of a plurality of frames for each of the P frames, A different decoded image can be referred to as the reference image for each slice unit, macroblock unit, or block unit in the P frame, and it is possible to refer to the unit for each unit.
- a frame number indicating a reference image is acquired with reference to header information of a coded bit stream, and a decoded image of the acquired frame number is used to decode an image of a corresponding unit in each frame. Do.
- a seventeenth technical means is the image decoding apparatus according to the fifteenth or sixteenth technical means, wherein the coded bit stream coded according to the set double speed instructed in advance for high speed reproduction.
- decoded images of a plurality of frames that can be referred to as the reference image for each P frame are frames for each frame interval set according to the set speed.
- the images of the numbers it is characterized in that it includes at least an image of a frame number for each frame interval located in the immediate vicinity of the P frame to be decoded.
- An eighteenth technical means relates to an image coding program for executing, as a program, a function of an image coding apparatus for coding an image by intra coding and uni-directional predictive coding only, as a program. It is characterized in that it is an image coding program that executes the function of the image coding device according to any one of the first to tenth technical means as a program.
- a nineteenth technical means relates to an image decoding program for executing, as a program, a function of an image decoding apparatus for decoding a bit stream obtained by encoding an image by intra coding and unidirectional prediction coding only.
- a reference image is designated by designating a limited image among the already coded images for each P frame as a reference image.
- a P-frame predictively encoded using a limited image of the encoded image as a reference image at the time of image encoding is input together with the reference image. Even in the case of bitstreams of only I and P frames, high-speed reproduction without degradation of image quality and increase in throughput becomes possible.
- FIG. 1 is a block diagram showing the configuration of an embodiment of an image coding apparatus according to the present invention.
- FIG. 2 is a block diagram showing the configuration of an embodiment of an image decoding apparatus according to the present invention.
- FIG. 3 is a schematic view showing an example of an inter-frame prediction structure in the case of generating and decoding a bit stream for double-speed reproduction as Embodiment 1 of an image coding apparatus and an image decoding apparatus according to the present invention.
- FIG. 4 is a schematic view showing an example of an inter-frame prediction structure in the case of generating and decoding a bit stream for quadruple-speed reproduction as Embodiment 1 of an image encoding device and an image decoding device according to the present invention.
- FIG. 5 is a schematic view showing an example of an inter-frame prediction structure in the case of variable-speed reproduction of a bit stream for quadruple-speed reproduction as Example 1 of an image coding apparatus and an image decoding apparatus according to the present invention.
- FIG. 6 Quadruple-speed reproduction as an embodiment 1 of the image coding device and the image decoding device according to the present invention
- FIG. 16 is a schematic view showing a different example of the inter-frame prediction structure in the case of variable-speed playback of the bitstream for the video stream.
- FIG. 7 is a schematic view showing an example of an inter-frame prediction structure in the case of variable-speed reproduction of a bit stream for quadruple-speed reproduction as a second embodiment of the image coding apparatus and the image decoding apparatus according to the present invention.
- FIG. 8 is a schematic view showing an example of an inter-frame prediction structure when quadruple-speed bit stream reproduction is performed at quadruple-speed speed as a third embodiment of the image coding apparatus and the image decoding apparatus according to the present invention.
- FIG. 9 is a schematic view showing a different example of the inter-frame prediction structure when quadruple-speed bit stream reproduction is performed at quadruple-speed speed as a third embodiment of the image coding apparatus and the image decoding apparatus according to the present invention.
- FIG. 10 is a flowchart for explaining an example of the processing procedure in the image coding apparatus according to the present invention.
- FIG. 11 is a flowchart for explaining an example of the processing procedure in the image decoding apparatus according to the present invention.
- FIG. 12 is a flowchart for explaining a different example of the processing procedure in the image coding apparatus according to the present invention.
- FIG. 13 is a flowchart for describing a different example of the processing procedure in the image decoding device according to the present invention.
- FIG. 14 is a schematic view for explaining a high speed reproduction operation in the prior art.
- 100 image code device, 101 ... block division unit, 102 ... subtraction unit, 103 ... orthogonal transformation unit, 104 ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ ⁇ variable length coding 106, 202 ⁇ inverse quantum ⁇ ⁇ , 107, 203 ... inverse orthogonal transformation unit, 108, 204 ⁇ calo calculation unit, 109, 205 ⁇ frame memory, 110, 206 ⁇ motion compensation unit, 111 ... motion detection unit, 112, 207 ... control unit, 200 ⁇ ⁇ ⁇ image decoding device, 201 ⁇ ⁇ ⁇ variable length decoding unit.
- Embodiment 1 will be described as a first embodiment of an image coding apparatus, an image decoding apparatus, an image coding program, and an image decoding program according to the present invention.
- the functions of the image coding apparatus and the functions of the image decoding apparatus which will be described in detail below, are respectively executed as a computer program.
- FIG. 1 is a block diagram showing the configuration of a first embodiment of the image coding apparatus according to the present invention. In the image coding apparatus 100 shown in FIG.
- 101 is a block division unit that divides an input image into blocks
- 102 is a subtraction unit that calculates the difference between the block of the current input image and the predicted image for the block
- 103 is a subtraction unit
- Orthogonal transformation unit which orthogonally transforms the difference value calculated in 102
- 104 is a quantization unit which quantizes the transformation coefficient from the orthogonal transformation unit 103
- 105 is variable length coding of the quantization coefficient from the quantization unit 104 It is a variable-length code block, and is output from the image coding apparatus 100 to the outside as a coded bit stream.
- 106 is an inverse quantization unit that inversely quantizes the quantization coefficient from the quantization unit 104
- 107 is inverse orthogonal transform of the inverse quantized transform coefficient output from the inverse quantization unit 106
- An inverse orthogonal transformation unit that generates a difference value of blocks
- an addition unit that adds a difference value of each block obtained by the inverse orthogonal transformation output from the inverse quantization unit 107 to a predicted image, and generates a decoded image.
- a frame memory for storing the decoded image output from the adding unit 108, a motion compensation unit 110 for creating a predicted image from the decoded image stored in the frame memory 109, and 111 for the current image output from the block dividing unit 101.
- a motion detection unit that compares each block with each block of the decoded image from the frame memory 109 and detects a motion between two images.
- 112 is a high-speed setting according to a setting speed for high-speed reproduction instructed beforehand by the user.
- the frame memory 109 of the image coding apparatus 100 shown in FIG. 1 is an image according to the present invention.
- a memory capable of storing a plurality of frames of decoded image is prepared, and a plurality of decoded images stored in a frame memory 109 as a target decoded image by the motion detection unit 111.
- the images it is possible to switch between V and shifted decoded images under control of the control unit 112.
- a prediction use flag indicating that it is a reference image used for prediction coding of another subsequent frame (ie, , And a reference image number indicating the frame number of the decoded image used by the motion detection unit 111 (that is, second data to be reference information) It is configured to be added by control, that is, by predictive use information coding control and reference information coding control.
- FIG. 2 is a block diagram showing a configuration of Embodiment 1 of the image decoding apparatus according to the present invention, which decodes the bit stream from the image coding apparatus 100 shown in FIG. 1 and outputs a reproduced image.
- 201 is a variable length decoding unit that performs variable length decoding of an input bit stream
- 202 is an inverse quantization unit that inversely quantizes quantization coefficients after variable length decoding
- 203 is inverse quantization.
- An inverse orthogonal transformation unit that performs inverse orthogonal transformation on the inverse quantized transform coefficient output from the unit 202 and creates a difference value of each block, and 204 predicts a difference value of each block output from the inverse orthogonal transformation unit 203 It is an addition unit that generates a decoded image, that is, a reproduced image, by adding the signal to an external display unit (not shown) as a reproduced image.
- Reference numeral 205 denotes a frame memory for storing the decoded image output from the adding unit 204
- reference numeral 206 denotes a motion compensation unit for creating a predicted image from the decoded image stored in the frame memory 205
- reference numeral 207 denotes in advance user power
- a memory capable of storing a plurality of frames of decoded images is prepared to realize the image decoding apparatus according to the present invention, It is stored in the frame memory 205 as a decoded image to be processed by the motion compensation unit 206. It is possible to switch which of the plurality of decoded images is to be used under the control of the control unit 207.
- the information output from the variable-length decoding unit 201 includes a prediction use flag and a reference image number in addition to the quantization coefficient after variable-length decoding input to the inverse quantization unit 202.
- Frame number obtained by decoding the prediction use flag included in the bit stream (that is, prediction use information indicating whether or not the image is to be used as a reference image following another frame)
- the image of the first data is output to the frame memory 205 as a reference image, and among the decoded images stored in the frame memory 205, information indicating a decoded image to be used as a reference image is Control of the control unit 207 to decode the reference image number (that is, the second data to be used as reference information) contained therein and to output it to the motion compensation unit 206 (that is, predictive use information decoding control) And reference information decoding control).
- the control unit 112 of the image encoding device 100 shown in FIG. Instructions (hereinafter referred to as “set double speed”) and instructions to the control unit 207 of the image decoding apparatus 200 shown in FIG. 2 (hereinafter referred to as “reproduction double speed”). May be different. For example, at the time of coding, creation of a bit stream for quadruple speed reproduction may be designated, and at the time of reproduction, designation of double speed reproduction may be performed.
- FIG. 3 is a schematic view showing an example of an inter-frame prediction structure in the case of generating and decoding a bit stream for double-speed reproduction as a first embodiment of the image encoding device and the image decoding device according to the present invention.
- FIG. 3 (A) shows the state of the bit stream for double-speed playback created by the image encoding device 100
- FIG. 3 (B) shows the image of the bit stream created in FIG. 3 (A). It shows the situation of double speed playback and decoding on the side.
- FIG. 3 shows the state of the bit stream for double-speed playback created by the image encoding device 100
- FIG. 3 (B) shows the image of the bit stream created in FIG. 3 (A). It shows the situation of double speed playback and decoding on the side.
- the codes I and P respectively indicate an I frame coded by the intra code ⁇ , a P frame coded by the intra code ⁇ and the unidirectional prediction code ⁇ , and bidirectional prediction It does not include the B frame that is coded according to the code i. Also, after the sign I or P The numbers represent the frame numbers of the target image. Such notation is the same as in the drawings of the following embodiments and the description thereof.
- the frame number is counted on the assumption that I frame is frame 0.
- the frame number is reset every I-frame to become frame 0 and until the next I-frame appears, ie, P-frames. While continuing, the frame number will increase by one.
- P frame uses only an image one frame before as a reference image.
- the reference image of the P frame is not limited to only the image one frame before, and is arbitrarily selected from the already encoded I frame and P frame images. be able to.
- the frame number of the image to which P frame refers is referred to as “reference image number” (reference information), and it is indicated whether the current frame is to be referred to as a reference image or not (that is, the frame follows)
- the flag indicating whether or not it is used as a reference image of another frame force is encoded as a "predictive use flag" (predictive use information), and is configured to be added and inserted into the bit stream. It! /.
- the image shown in FIG. 2 is inserted by inserting two pieces of data such as “reference image number” and “prediction use flag” into the bit stream.
- the variable length decoding unit 201 of the decoding apparatus 200 decodes the input bit stream and refers to the "prediction use flag" to decode the decoded image of the current frame obtained by decoding the input bit stream into the frame memory 205.
- the reference image number it is possible to determine which frame should be used to predict and decode the current frame, by referring to the “reference image number”.
- the frame number of the image to be referred to for each frame is described as being added and inserted into the bit stream as the “reference image number”.
- the unit used to refer to the reference image is a slice (packet) unit, a macroblock (MB) unit, or each slice (packet) header, MB header, or block header, which is not frame by frame. Refer to the part The frame number of the image may be written.
- the difference value between the frame numbers of the current image and the reference image, the time information of the reference image, etc. may be used.
- the “predictive use flag” is set to “10” for the frame 10, P2, P4,.., And the frame of the frame number L of the 2f-th frame, which indicates the reference image, and the frames PI, P3, P5,
- the image of the (2f + 1) -th frame with the frame number of ... is a reference image, and it is left with "0" indicating that it is not a reference image.
- the (2f + 1) -th image of frame number L is not used as a reference image, there is no need to display it at the time of high-speed playback on the image decoding device 200 side! There is no That is, on the image decoding apparatus 200 side, in the case of normal reproduction, the power of decoding and displaying the images of all the frames in the case of double-speed reproduction, the frame number L is the (2 f + 1) -th image.
- the processing amount is reduced at the time of high-speed reproduction in the image decoding apparatus 200, and the image quality of the high-speed reproduction image is the normal reproduction image. It is possible to create a bit stream that has features that are not relatively degraded.
- the control unit 112 stores only the image with the 2f-th frame number L in the frame memory 109. Notice. Also, for the 2f-th image, a “prediction use flag” indicating whether or not the current frame is to be used as a reference image at the time of coding of subsequent frames is set to the variable-length coding unit 105. " And the (2f + 1) th image is notified as “0”.
- the motion detection unit 111 is notified that the image of the frame number used by the current frame (or slice, MB or block) as a reference image is read from the frame memory 109 to detect motion.
- it instructs the variable length coding unit 105 to notify the frame number used by the current frame (or slice, MB or block) as a reference image, that is, the “reference image number”.
- the frame number L power (2f + 1) -th image uses the 2f-th already encoded image that is the immediately preceding frame as the reference image, and the image with the frame number L-2f is The 2 (f 1) -th already encoded image before the frame is predictively encoded as a reference image.
- Each P frame of (2f + 1) is encoded, and the pre-coded picture of frame number 2f every 2 frame intervals set for high-speed playback is stored in the frame memory 109 and subsequently The “predictive use flag” is set to “1” to indicate that the reference image is also referred to by another frame force.
- P frames of frame number 2f at every two frame intervals set for high speed reproduction according to the set speed instructed in advance from the user and for high speed reproduction are set. No remaining frame number (2f + 1) P frame and force
- the "reference image number" is set so that it is predicted using the image of the same frame number, ie the 2f frame image. It is done.
- the 2f-th frame indicated by 10, P2, P4, P6,... is used as a reference image. Therefore, in the “reference image number”, frame PI, P2 is frame number 0 (10), frames P3 and P4 are frame number 2 (P2), frames P5 and P6 are frame number 4 (P4),.
- the "predictive use flag” is that the frame number L is the 2f-th 10, P2, P4, P6, ... "1” and the frame number L is the (2f + 1) -th PI, P3, P5, P7 , ... become “0".
- a frame whose “prediction use flag” is “1” is used as a reference image, meaning that a frame “0” is not used as a reference image.
- N frames (where N is 2) are set starting from I frame so that the reference image for which the "predictive use flag” is set to "1” is limited to cyclic positions.
- the above-mentioned image of each integer value, including the I-frame image is used as a reference image.
- the control unit 207 instructs the variable-length decoding unit 201 that the “prediction use flag” of the input bit stream is “0”. If it is a frame of 0 ", it notifies to skip to the header of the image of the next frame. Then, the frame memory 205 is notified that the image of the frame whose “prediction use flag” is “1” is stored.
- the variable-length decoding unit 201 decodes and displays the frame 10, skips the frame P1, and thereafter similarly, the frame number L is the 2f-th frame Decode and display only P2, P4, P6,.
- the frame number L is the (2f + l) -th frame Even though PI, P3, P5,... Are skipped, it is possible to correctly decode the frames P2, P4, P6,.
- a frame number indicating a reference image as “reference image number” always indicates “predictive use flag” so as to indicate that the frame is a reference image to which another frame follows. Is set to '1' and is set to use a frame! Therefore, when a reference image is periodically arranged every N frames (N is an integer value of 2 or more) at the time of encoding, the “prediction use flag” is also set to “1” at the same period. In other words, P frame prediction decoding can be performed using a more reliable reference image by confirming that the “prediction code flag” is set to “1” for each N frames. it can.
- N is an integer value of 2 or more
- N frame interval
- the “prediction use flag” of the frames 10, P2, P4, P6,... Is “1” each decoded image is stored in the frame memory 205 after decoding, and the subsequent frames are used. It is used as a reference image of In this way, the decoding process can be reduced to about half of normal reproduction, so double speed reproduction can be performed without increasing the processing amount and without the deterioration of the image quality.
- FIG. 4 is a schematic diagram showing an example of an inter-frame prediction structure in the case of generating and decoding a bitstream for quadruple-speed reproduction as a first embodiment of the image encoding device and the image decoding device according to the present invention.
- This figure shows an example of the inter-frame prediction structure of a bitstream created using the image coding apparatus 100 shown in FIG. 1 and the inter-frame prediction structure of a decoded image decoded using the image decoding apparatus 200 shown in FIG. is there.
- FIG. 4 (A) shows the creation status of the bit stream for quadruple-speed reproduction created by the image encoding device 100
- Fig. 4 (B) shows the image decoding device for the bitstream created in Fig. 4 (A). The situation at the time of decoding at quadruple speed on the 200 side is shown.
- frames PI, P2, P3 and P4 are both predictively encoded using frame 10 as a reference image
- frames P5, P6, P7 and P8 are both predictively encoded using frame P4 as a reference image
- P11 and P12 are both predictively encoded using the frame P8 as a reference image, and thereafter, the reference image is sequentially moved by 4 frames in the same manner!
- “reference image number” is that frames PI, P2, P3 and P4 are all 0, and frames P5, P6, P7, and 8 are all four, and frames ⁇ 9, P10, P11, ⁇ 12 This is 8 and so on. Also, the “prediction use flag” is set to “10” indicating the frame 10, ⁇ 4, ⁇ 8,..., And the frame number of the fourth frame is “1” indicating the reference image, and the frames PI, P2, P3, P5, P6, P7, P9, P10, P11, ... and the frame numbers other than the f-th frame number The image of the frame is left as "0" indicating that it is not a reference image.
- the image decoding apparatus 200 since an image other than the 4f-th frame number L is not used as a reference image, the image decoding apparatus 200 does not need to display it at the time of high-speed reproduction! There is no need. That is, on the side of the image decoding apparatus 200, in the case of normal reproduction, the ability to decode and display the images of all the frames in the case of quadruple-speed reproduction, processing any image having a frame number L other than the 4f-th. By decoding and displaying only the nth frame number L power fth image, the processing amount is reduced at the time of high speed reproduction in the image decoding apparatus 200, and the image quality of the high speed reproduction image is deteriorated compared to the normal reproduction image. It is possible to create a bitstream with the! ⁇ feature.
- the control unit 112 notifies the frame memory 109 to store only the f-th frame number image.
- the 4f-th image is used as the "prediction use flag" to indicate to the variable-length coding unit 105 whether or not the current frame is used as a reference image when coding subsequent frames. ",” "0" is notified to images other than the 4th image.
- the motion detection unit 111 is notified that the image of the frame number used by the current frame (or slice, MB or block) as a reference image is read from the frame memory 109 to detect motion.
- it instructs the variable-length coding unit 105 to notify the frame number used by the current frame (or slice, MB or block) as a reference image, that is, the reference image number.
- an image with a frame number L other than the 4f-th image is referred to as the previous 4f-th already encoded image, and a frame number L with a 4f-th image is 4 frames earlier.
- the second already encoded image is used as a reference image for prediction coding.
- the 4f-th frame indicated by 10, P4, P8, ⁇ is used as a reference image. Therefore, “reference image number” means that frame PI, P2, P3, P4 is frame number 0 (10), frame P5, P6, P7, P8 is frame number 4 (P4), frame P9, P10, Pl l, P12 is frame number 8 (P8), ...
- the “predictive use flag” is that the frame number L is 4fth 10, P4, P8, ... “1”, and the frame number L other than fth PI, P2, P3, P5, P6, P7, ... It becomes “0".
- a frame with a "predictive use flag" of "1” is used as a reference image, and a frame of "0" is not used as a reference image. It means that.
- the control unit 207 instructs the variable-length decoding unit 201 to use the “predictive use flag” power of the input bit stream when instructed by the user to perform quadruple-speed reproduction of the bit stream as reproduction double speed. If the frame is "0", it is notified to skip to the header of the image of the next frame. Then, the frame memory 205 is notified to store an image of a frame whose “prediction use flag” is “1”.
- the frame 10 is decoded and displayed, and the frames PI, P2, and P3 are skipped.
- Decrypt only the 4f-th (f 0, 1, 2, ...) frames P4, P8, P12, ...
- the frame number PI other than f th frame number PI, Even though processing is performed to skip P2, P3, P5, P6, P7, P9, P10, P11, ..., frame number L power fth frame P4, P8, P12, ... is decoded normally It is possible to do.
- the respective decoded images are stored in the frame memory 205 after decoding, and subsequent frame Used as a reference image of the In this way, since the decoding process can be reduced to about (1Z4) of normal reproduction, quadruple-speed reproduction becomes possible without increasing the processing amount and without degrading the image quality.
- the bit stream for quadruple speed reproduction is generated and decoded at the quadruple speed at the same speed.
- the present invention It is not limited to the case. Even in the case of a bit stream generated with reference to only the image of frame number L 4f for quadruple speed reproduction, it is also possible to reproduce at a double speed different from quadruple speed. That is, in the present invention, for example, as shown in FIG. 5, it is possible to perform variable-speed reproduction other than quadruple-speed bit stream encoded at quadruple-speed.
- FIG. 5 shows the first embodiment of the image encoding device and the image decoding device according to the present invention.
- FIG. 18 is a schematic diagram showing an example of an inter-frame prediction structure in the case of variable-speed reproduction of a bit stream for quadruple-speed reproduction, and as an example for variable-speed reproduction, a variable-speed reproduction bit stream encoded at quadruple speed is variable; Describes the operation in the case of reproduction at double speed (double speed, triple speed and quintuple speed). Furthermore, when coding in the image coding apparatus 100, the set double speed instructed by the user for high speed reproduction and the double speed for reproduction specified by the user when decoding the coded bit stream in the image decoding apparatus 200. And when it comes to different speeds, explain and explain.
- an image of a frame number at the same interval as the frame interval set by the set double speed from the user is encoded in a form to be used as a reference image.
- Number L Force Only f th frame 10, P4, P8, ... is set to "1".
- variable speed reproduction in the present invention the image coding process in the image coding apparatus 100 shown in FIG. 1 is the same coding operation as in the case of bit stream creation for same-speed reproduction,
- the image decoding process in the image decoding apparatus 200 shown in FIG. 2 is variably changed and decoded in accordance with the double speed of the variable speed designation.
- the variable speed reproduction example shown in FIG. 5A shows a case where a bit stream encoded as high speed reproduction at quadruple speed as the set speed is decoded and reproduced at double speed for reproduction at double speed.
- FIG. 5 (B) shows the case where a bit stream encoded for high speed reproduction at quadruple speed is decoded and reproduced at triple speed
- the variable speed reproduction example shown in FIG. 5 (C) Shows a case where a bit stream encoded for high speed reproduction at quadruple speed is decoded at five times speed and reproduced. The operation in each variable speed reproduction example will be described below.
- the frame P2 is used as the reference image, and the frames P2 and P4 are decoded, and then the frame P4 is used as the reference image. Is displayed, and the same processing is repeated thereafter to perform decoding and display processing every two frames as in the case of double-speed playback described with reference to FIG. That is, when the control unit 207 of the image decoding apparatus 200 shown in FIG.
- variable-length decoding unit 201 receives an instruction from the user to perform double-speed playback of a bit stream as the double-speed playback, the variable-length decoding unit 201 On the other hand, it decodes the image of the 2f-th frame (including the image of the frame of “prediction use flag” power S “1” frame number L of the input bit stream) and decodes it in a ratio of 1 frame to 2 frames. It notifies to skip to the header of the image of the next frame without doing. Then, the frame memory 205 is notified that the image of the frame whose “prediction use flag” is “1” is to be stored.
- the “prediction use flag” is set to “1” for each frame corresponding to the f-th frame number L in the bit stream input to the image decoding apparatus 200.
- the frame 10 is decoded and displayed, and the frame P1 is skipped.
- the frame number L is the 2f-th frame Decode 'display only P2, P4, P6, P8, ...
- the frame number L is (2f + 1). Even though processing is performed to skip the second frame PI, P3, P5, P7, ..., the power of successfully decoding the frames P2, P4, P6, P8, ... with the frame number L of 2f It is stylish.
- frames P3 and P4 are decoded using frame 10 as a reference image, frame P3 is displayed, and frame P4 is stored in frame memory 205.
- the frames P6 and P8 are decoded using the frame P4 stored in the frame memory 205 as a reference image, the frame P6 is displayed, and the frame P8 is stored in the frame memory 205.
- the frames P9 and P12 are decoded using the frame P8 stored in the frame memory 205 as a reference image, the frames P9 and P12 are displayed, and the frame P12 is stored in the frame memory 205.
- the frames P15 and P16 are decoded using the frame P12 stored in the frame memory 205 as a reference image, the frame P15 is displayed, and the frame P16 is stored in the frame memory 205.
- the frame is stored in the frame memory 205, and decoding and display processing of only the frame necessary for triple-speed reproduction are performed.
- the control unit 207 of the image decoding apparatus 200 shown in FIG. 2 receives an instruction from the user to perform triple-speed playback of a bit stream as playback double-speed
- the variable-length decoding unit 201 On the other hand, decoding is performed on the ratio of the 3fth frame and the 4fth frame of the input bit stream, and skipping to the header of the picture of the next applicable frame as the 3f and 4fth without decoding the other frames. To notify. Then, the frame memory 205 is notified to store the image of the frame number L of the “predictive use flag” force S “1”.
- control unit 207 when the control unit 207 receives an instruction for triple-speed playback as variable-speed playback, the control unit 207 instructs the variable-length decoding unit 201 to use the 3f-th frame power of the frame number L to be displayed or “1”, which is to be decoded and stored in the frame memory 205, only the image of the frame of frame number L 4f is decoded, and notification is given to skip other frames. Then, the frame memory 205 is notified that the frame number L whose “prediction use flag” is “1” stores the 4f-th image, that is, the frames 10, P4, P8, P12,.
- the frame number L is 3f or not 4f-th! /, Frame PI, P2, Skip P5, P7, P10, P11,.
- the control unit 207 is illustrated between the decoding completion of the next frame. To the non-display part to display only the frames 10, P3, P6, P9, P12, ⁇ ⁇ ⁇ that correspond to the 3f-th image among the decoded frame images.
- frame P4 is decoded with frame 10 as a reference image, and the decoded frame P4 is stored in frame memory 205 and then stored in frame memory 205.
- the frame P4 is used as a reference image to decode the frames P5 and P8, the frame number L indicates the 5f-th frame P5, and the frame number L 4f-th frame P8 is stored in the frame memory 205.
- the frames PIO and P12 are decoded to display the frame P10 with the frame number L 5f and the frame P12 with the frame number L 4f. Store in 205.
- the variable-length decoding unit 201 when the control unit 207 of the image decoding apparatus 200 shown in FIG. 2 receives an instruction from the user to perform 5-fold speed reproduction of the bit stream as the double-speed for reproduction, the variable-length decoding unit 201 On the other hand, decoding is performed at the ratio of the 5fth frame and the 4fth frame of the input bit stream, and skipping to the header of the picture of the next applicable frame as the 5f and 4fth without decoding the other frames. To notify. Then, the frame memory 205 is notified to store the image of the frame number L of the “predictive use flag” force S “1”.
- unit 207 requests the variable-length decoding unit 201 that the frame number L to display an image should be the 5f-th frame power or that the “use prediction flag” is “1”. And the frame number L is to be stored in the frame memory 205, and only the image of the 4th frame is decoded, and notification is given to skip other frames. Then, the frame memory 205 is notified that the frame number L whose “prediction use flag” is “1” stores the 4f-th image, that is, the frames 10, P4, P8, P12,.
- the frame number L is 5f or 4f, and is not a frame! PI, P2, P3, P6, P7 , P9, Pl l, P13, P14, ⁇ ⁇ ⁇ Skips.
- the control unit 207 performs the decoding completion of the next frame,
- the display unit (not shown) is notified to display only the frames 10, P5, P10, P15,... Corresponding to the 5f-th image among the decoded frame images, and the frame memory 205 is notified.
- the image of the decoded frame it is notified that only the frames 10, P4, P8, P12,... Corresponding to the 4f-th image whose “prediction use flag” is “1” are stored.
- the reference images of the frames P4, P5, P8, P10, P12, P15,... Are the frames 10, P4, P4, P8, P8, P12 respectively enclosed in the frame memory 205. , And so, even though the frame number L force 5f, frames other than the 4f-th frame PI, P2, P3, P6, P7, P9, Pl1, P13, P14, ... are skipped in spite of processing It is possible to decode the frames P4, P5, P8, P10, P12, P15, ... with the frame number L of 5f normally.
- FIG. 10 shows a procedure for executing the image coding processing described above by the control unit 112 of the image coding apparatus 100 shown in FIG.
- FIG. 10 is a flow chart for explaining an example of the processing procedure in the image coding apparatus according to the present invention.
- the processing unit that is directly related to the control unit 112 is not a processing unit, but it is used as a reference to represent the entire processing flow. It is added and stated.
- the set double speed at the time of code coding for high speed reproduction When a user instruction to create a bitstream for playback at N double speed (N: a positive integer of 2 or more) is input (step S11), a variable L for counting the number of frames of the input image is initialized first. It is set to "0" (step S12).
- a variable that counts the number of input frames that is, a frame number L is initialized to “0” each time a frame corresponding to an I frame appears.
- step S13 it is determined whether the value (LZN) obtained by dividing the frame number L by the designated double speed N is 0 or an integer, ie, whether the number of input frames is 0 or a multiple of N. Do it (step S13).
- step S13 If (L / N) is 0 or an integer (YES in step S13), it is determined whether or not (L / N) force ⁇ (step S14), and (L / N) is 0. Is an image of a frame to be encoded as an I frame (YES in step S14), the contents of the frame memory 109 are cleared, and the variable-length coding unit 105 is used as a "reference image number". Instructs the motion detection unit 111 to encode as an I frame without outputting any data (step S15).
- (LZN) is not 0 (NO in step S14)
- (L / N) is an integer
- the frame power that follows is the reference image to be referenced and the code as a P frame to be referenced Therefore, referring to the N (L-1) th frame, that is, the Nth previous frame, the prediction code is generated as a P frame, and N (L-1) is referred to as a "reference image number”.
- the motion detection unit 111 is instructed to notify the variable length coding unit 105 (step S16).
- variable-length coding unit 105 is set so that “predictive use flag” indicating that it is a reference image to which a subsequent frame force is also referred is set to “1”.
- the current frame of the frame number L is subjected to orthogonal transformation 'quantization, encoded by the variable length coding unit 105, and encoded.
- the "prediction use flag" (step S18). Further, it is notified that the decoded image after the inverse quantization and inverse quantization of the quantization coefficient is stored in the frame memory 109 (step S 19).
- (LZN) is not 0 or an integer (NO in step S13)
- (LZN) is a non-integer and is not referred to as a subsequent frame reference image as a P frame.
- the ⁇ N '[LZN] ⁇ th (where [X] is rounded off
- the prediction code is referred to as a p frame with reference to the frame of the integer value), that is, the immediately preceding frame at the position of an integral multiple of the designated double speed N, and ⁇ N '[LZN] ⁇ is referred to as "reference image number". Instruct the motion detection unit 111 to notify the variable length code unit 105 (step S 20)
- “predictive use flag” is set to “0” to indicate to the variable length coding unit 105 that the subsequent frame force is not a reference image to be referred to.
- the current frame of the frame number L is subjected to 'orthogonal transformation' quantization, and encoded by the variable-length coding unit 105 and encoded.
- the reference image number and the "prediction use flag” are output (step S22). Thereafter, the process proceeds to step S23. That is, unlike the case where (LZN) is 0 or an integer, the current frame of frame number L is an image of a frame not referred to as a reference image, and therefore the decoded image need not be stored in frame memory 109.
- step S23 it is judged whether or not all the images to be coded are finished (step S23), and if finished (YES in step S23), the image coding process is finished. On the other hand, if it is not yet finished (NO in step S23), it is determined whether or not it is an image of a frame to be encoded as the next frame power frame (step S24). If there is (YES at step S24), the process returns to step S12 to reset the frame number L to 0 and return to the initial state, while the frame to be predictively encoded as a P frame instead of an I frame. If it is (NO at step S24), the frame number L is updated by one (step S25), and the process returns to step S13 to continue the prediction code of P frame.
- FIG. 11 shows a procedure for executing the image decoding process described above by the control unit 207 of the image decoding apparatus 200 shown in FIG.
- FIG. 11 is a flowchart for explaining an example of the processing procedure in the image decoding apparatus according to the present invention. Note that the processing (decoding) shown in steps S35 and S39 in FIG. 11 is not processing means directly related to the control unit 207, but is additionally described as a reference to represent the entire processing flow. There is.
- the reproduction double speed is used for decoding for high speed reproduction.
- N positive integer
- the current frame power of the input bit frame, frame number L, "predictive use flag” and “reference image number” Decrypt (Step S32).
- the frame number L is set to “0” for each frame corresponding to the I frame.
- the “prediction reference flag” is set to “1” for the image of the frame referred to by the subsequent P frame
- the “reference image number” is the frame number of the image referred to by the P frame. Is shown.
- step S33 it is judged whether or not the decoded “predictive use flag” force is “1” (step S33), and the “predictive use flag” force is “1” (YES in step S33) If the current frame is a P frame, the motion compensation unit 206 is notified of the frame indicated by the “reference image number” of the current frame (step S34). Thereafter, the bit stream is subjected to inverse quantization and inverse orthogonal transformation to generate a decoded image (step S35).
- the subsequent frame is a frame to be referred to as a reference image, and the frame memory 205 is instructed to store the decoded image of the current frame (step S36). ), Shift to step S41.
- the frame to which the subsequent frame refers is not a frame to be referenced as a reference image! It is not necessary to store in frame memory 205, and the value (LZN) of frame number L divided by designated double speed (LZN) is 0 or an integer, that is, corresponds to the image of the frame to be reproduced as N double speed. It is determined whether or not the power is on (step S37).
- step S37 If (L / N) is 0 or an integer (YES in step S37), since it is an image of P frame to be reproduced as N-times speed, the frame indicated by “reference image number” of the current frame The motion compensation unit 206 is notified (step S38). Thereafter, the bit stream is subjected to inverse quantization and inverse orthogonal conversion to generate a decoded image (step S39), and then the process proceeds to step S41.
- step S40 the variable length decoding unit 201 is instructed (step S40), and the process proceeds to step S43.
- step S41 first, it is determined whether (LZN) is 0 or an integer, that is, whether or not the image strength of a frame to be displayed on the screen as a reproduced image for N-time speed reproduction (step S41) If L / N) is 0 or an integer (YES in step S41), the display unit is instructed to display the decoded image of the current frame on the screen as shown in FIG. S4 2).
- step S43 the next frame is taken out from the bit stream (step S43), and it is judged whether or not the bit stream to be decoded is finished (step S44), and if it is finished (YES in step S44). If the input bit stream is still continuing (NO in step S44), the process returns to step S32 to continue the decoding process.
- FIG. 6 is a schematic diagram showing a different example of the inter-frame prediction structure in the case of variable-speed reproduction of a bit stream for quadruple-speed reproduction as Embodiment 1 of the image coding apparatus and the image decoding apparatus according to the present invention. It shows a case where a bit stream for quadruple speed reproduction for variable speed reproduction is reproduced at 1.5 times speed as an example of variable speed.
- the image coding process in the image coding apparatus 100 shown in FIG. 1 is completely the same as in the case of bit stream creation for double speed reproduction, and the image decoding apparatus shown in FIG.
- the image decoding process in 200 is variably changed and executed according to the double speed of the variable speed designation.
- Frames PI, P 3 and P 4 are decoded with 0 as a reference image, frames PI, P 3 and P 4 are displayed, and frame P 4 is stored in frame memory 205.
- the frames P6, P7 and P8 are decoded, the frames P6 and P7 are displayed, and the frame P8 is stored in the frame memory 205.
- frames P 9, P 10 and P 12 are decoded using frame P 8 stored in frame memory 205 as a reference image, frames P 9, P 10 and P 12 are displayed, and frame P 12 is stored in frame memory 205.
- Decoding for each frame is performed, the decoded [(3Z2) f] -th frame is displayed, the decoded 4f-th frame is stored in the frame memory 205, and 1. decoding of only the frame necessary for 5-fold speed reproduction is performed. And display processing.
- variable-length decoding is performed.
- decoding is performed at the ratio of the [(3Z2) f] th frame and the 4fth frame of the input bit stream, and the other frames are decoded as [(3Z2) f], 4fth.
- it is notified to skip to the header of the image of the corresponding frame.
- the frame memory 205 is notified that the frame number L of the “prediction use flag” force “1” stores the 4f-th image.
- the “prediction use flag” is “1”, and decoding is to be stored in the frame memory 205.
- the frame number L decodes only the 4f-th frame image, and skips other frames. Tell them to skip to 2 frames in 3 frames. And the frame The memory 205 is notified that the frame number “L” of the “prediction use flag” is “1”, the f-th image data frame 10, P4, P8, P12,...
- the control unit 207 causes the display unit (not shown) to display a frame 10, PI, P3, P4 corresponding to the [(3Z2) f] th image among the images of the decoded frame.
- the reference images of frames PI, P3, P4, P6, P7, P8, P9, P10, P12, P13, ... are respectively stored in frames 10, 10, 10 stored in frame memory 205.
- P4, P4, P4, P8, P8, P12, ... so the frame number L skips frames P2, P5, Pl l, P14, ... other than the [(3/2) f], 4th frame.
- Frame number L force [(3Z2) f], 4f th frame PI, P3, P4, P6, P7, P8, P9, P10, P12, P13, ... normal It is possible to decode
- the set double speed N instructed for high speed reproduction is (aZb) in fractional form
- the image can be displayed at high speed at (aZb) speed.
- a frame of a randomly selected position in b frame is extracted and decoded ⁇ displayed
- the subsequent encoding process of the image encoding device 100 shown in FIG. Speed for playback by encoding a "predictive use flag" indicating that the frame to be referenced refers to and a "reference image number” specifying the frame number of the reference image to which the current P frame refers. It is also possible to create a bit stream capable of high-speed reproduction, and it is possible to perform high-speed reproduction at any double speed as decoding processing of the image decoding apparatus 200 shown in FIG. Ru.
- the set double speed designated by the user on the image coding apparatus 100 side is the highest speed when the bit stream created on the image coding apparatus 100 side is reproduced at high speed on the image decoding apparatus 200 side.
- the image decoding apparatus 200 side is used for the bit stream coded for quadruple-speed reproduction on the image coding apparatus 100 side.
- the bit stream can be reproduced at any double speed for reproduction such as 2 ⁇ , 3 ⁇ , 5 ⁇ , 1.5 ⁇ without limiting to only 4 ⁇ .
- the configurations of the image encoding device and the image decoding device in the second embodiment may be the same as the configurations of the image encoding device 100 and the image decoding device 200 shown in FIGS. 1 and 2.
- a bit stream that can be reproduced at high speed is generated on the image coding device 100 side using a plurality of reference images, and the image decoding device 200 side is generated. An example of high speed reproduction will be described.
- the P frame of the frame number of each frame interval set for high speed reproduction is set according to the set double speed from the user at the time of encoding.
- the image to be referenced to the intermediate image of the reference image when the A case will be described in which an image of a different frame number is referred to as a reference image with an image to be referenced from among the reference images when coding P frames of the remaining frame numbers not set.
- an image of a far-off frame is referred to as a reference image.
- the frame 10 and the frame P3 are separated by an interval of three frames.
- FIG. 7 is a schematic view showing an example of an inter-frame prediction structure in the case of variable-speed reproduction of a bit stream for quadruple-speed reproduction as a second embodiment of the image coding apparatus and the image decoding apparatus according to the present invention. It shows an example of the operation of performing predictive coding using different frame images for each frame image, that is, using a plurality of frame images as reference images.
- Fig. 7 (A) shows the creation status of the bit stream for quadruple-speed reproduction created by the image coding apparatus 100
- Fig. 7 (B) shows an image of the bit stream created in Fig. 7 (A). It shows a situation in which quadruple speed reproduction and decoding are performed on the decoding apparatus 200 side.
- the reference image of the frames P2 and P3 is not coded using the reference image as an example, but the prediction coding is performed with reference to the frames P1 and P2 and the immediately preceding P frame, respectively. Is shown. That is, the frames PI, P2, and P3 are predictively encoded using the immediately preceding frame 10, PI, and P2 as a reference image, and the frame P4 is encoded using the frame 10 four frames earlier as a reference image. Be Frames P5, P6, and P7 are predicted by using the immediately preceding frames P4, P5, and P6 as reference images, and frame P8 uses the frame P4 four frames earlier as the reference image. And predictively coded.
- the reference image moves four frames at a time in the same manner.
- the “reference image number” is that frames PI, P2, P3, P4 are 0, 1, 2, 0, frames P5, P6, P7, P8 are 4, 5, 6, 4, frame P9, PIO, Pl l, P12 are 8, 9, 10, 8 and so on.
- the "predictive use flag” is a frame 10, PI, P2, P4, P5, P6, P8, P9, P10, ..., and a frame number L force f, (4f + l), (4f + 2) th frame
- Each of the images is set to “1” indicating the reference image, and the frames P3, P7, P11,... And the frame number of the (4f + 3) -th frame are “0” indicating that they are not reference images. It is left as it is.
- the control unit 112 transmits a frame to the frame memory 109. It is notified that the number L stores the image of the 4f, (4f + 1), (4f + 2) th frame.
- a prediction use flag indicating whether or not the current frame is used as a reference image at the time of coding of the subsequent frames is 4f, (4f + l), (4f + 2) Notify the image of the second frame.
- the motion detection unit 111 is notified that the image of the frame number used by the current frame (or slice, MB or block) as a reference image is read from the frame memory 109 to detect motion. At the same time, it instructs the variable-length coding unit 105 to notify the frame number used by the current frame (or slice, MB or block) as a reference image, that is, the reference image number.
- the image with the frame number L of (4f + 1), (4f + 2), (4f + 3) is the already encoded image of the previous frame as the reference image, and the frame number L power f
- the fourth image is to be predictively encoded as the reference image by the fourth (f 1) -th encoded image four frames earlier.
- the control unit 207 notifies the variable length decoding unit 201 to skip to the header of the image of the next frame if the “prediction use flag” of the input bit stream is a frame of “0”. Do. And for the frame memory 205, the "predictive use flag" It notifies to store the image of the 1 'frame.
- a reference image at the time of coding the subsequent frame P4 and Two frames worth of images are stored in the frame memory 109, that is, the frame 10 and the frame P1 or P2 serving as a reference image when coding the frame P2 or P3. That is, for example, an image of a frame which is always used for quadruple-speed high-speed reproduction (that is, an image of a frame whose frame number L is the 4f-th frame) is an encoded image used for quadruple-speed high-speed reproduction.
- a high-speed playback image and other images are selected, such as selecting an already-coded image of the previous frame.
- the selection method of the reference image is changed with the image.
- variable length decoding unit 201 decodes the frame 10, P1, displays the frame 10, and stores the frame 10, P1 in the frame memory 205.
- the frame P2 is decoded and displayed with reference to P1 stored in the frame memory 205, and the frame P3 is skipped.
- the frame P 4 is decoded and displayed with reference to 10 stored in the frame memory 205, and is stored in the frame memory 205.
- the image to be referred to when coding the P frame of the frame number for each frame interval designated as the set speed N for high speed reproduction is a frame.
- the reference image may be selected from any already encoded image which is not limited to the case where the immediately preceding frame is referred to.
- an image for high speed reproduction which is always used when reproducing at a set double speed designated at the time of encoding that is, an image of a frame number for each frame interval set for high speed reproduction according to the set double speed;
- the image decoding device 200 As a method of notifying that the selection method is an image of a different frame as a reference image, the “prediction use flag” described above in the first embodiment is expanded, and the image encoding device 100 is always used for high speed reproduction.
- the "use prediction flag” is set to "2" for the already encoded image of the high-speed playback image, and "1" is set for the other encoded images to be used for predictive coding. Sign It is possible to adopt a method of notifying the image decoding apparatus 200 by setting “0” for an image not to be used for the issue.
- the control unit 112 when an instruction to create a bit stream for quadruple speed reproduction by the user is received, the control unit 112 performs quadruple speed for the image of the f-th frame number frame number L.
- the “prediction use flag” is set to “2”, and the 4f-th current frame reference image number and To do this, specify 4 (f 1), which is the frame number 4 frames earlier. Also, a reference image for an image of a frame other than the 4f-th frame number L and an image of a subsequent frame (in the example of FIG.
- an image of the (4f + 1), (4f + 2) th frame) The frame image is stored in the frame memory 109, and the “prediction use flag” is set to “1”, and the reference image number of the current frame other than the 4f-th frame is the reference image number of the already encoded image to be referred to.
- the frame number in the example of Fig. 7 (A), 4f, (4f + 1), which is one frame before the (4f + 1), (4f + 2) frame).
- the “prediction use flag” which is not stored in the frame memory 109 is set to “0” and (4f + 3)
- the reference image number of the th current frame the frame number of the already encoded image to be referred to (in the example of FIG. 7 (A), it is 1 frame before the (4f + 3) th frame (4f + 2))
- FIG. 12 shows a procedure for executing the image coding process in the second embodiment described above by the control unit 112 of the image coding apparatus 100 shown in FIG.
- FIG. 12 is a flowchart for explaining a different example of the processing procedure in the image coding apparatus according to the present invention as the second embodiment.
- the processing of (quantum ⁇ ′ encoding) shown in steps S58 and S65 in FIG. 12 is not a processing means directly related to the control unit 112, it is added as a reference to represent the flow of the entire processing. Write it.
- step S17 the “prediction use flag” has been set to “1”.
- the processing in step S57 is different in that the “prediction use flag” is set to “2”.
- step S53 when (L / N) is not 0 or an integer (NO in step S53), (LZN) is a non-integer and is an image of a frame in the case of not being reproduced at N-times speed. Then, it is determined whether the image of the Lth frame of the current frame is an image referred to as a reference image from the subsequent frame (step S60).
- step S of FIG. At 60 in order to explain the case of the bit stream shown in FIG. 7A, as a bit stream for quadruple-speed reproduction, only the image of the frame positioned one frame before the 4f frame is referred to from the subsequent frame. Nah !, show me that.
- the determination process in step S60 is not limited to such a case.
- a frame number of an image not referred to from a subsequent frame among a plurality of frames (or The frame number of the image to be referred to as the subsequent frame force reference image or the frame number of the image referred to as the reference image (or the rule regarding the frame number) is illustrated in the control unit 112 as shown in FIG.
- the control unit 112 refers to the information registered in the memory so that the image of the current frame is an image in which the subsequent frame force is also referred to as a reference image. You may decide to
- step S60 If it is determined in step S60 that the image of the Lth frame of the current frame is the image to be referred to as the reference image from the subsequent frame, ie, it is positioned one frame before the 4f frame If it is not a frame image (NO in step S60), it is a reference image to be referenced from the subsequent frame, and it is coded as a P frame, so the (L 1) th frame, ie, one
- the motion detection unit 111 is instructed to predict the prediction code as a P frame with reference to the previous frame and to notify the variable length coding unit 105 of (L 1) as a reference image number (step S 61) ).
- variable length coding unit 105 indicates that it is not a frame of the image for N-fold speed reproduction but that it is a reference image to which the subsequent frame power is referred. Is notified to the variable-length coding unit 105 so as to set “1” to “1” (step S62), the process proceeds to step S58, and the current frame of frame number L is subjected to orthogonal transformation 'quantization, Further, coding is performed (step S58), and it is notified that the decoded image after inverse quantization / inverse orthogonal transformation of the quantization coefficient is stored in the frame memory 109 (step S59).
- step S60 determines whether the image of the Lth frame of the current frame is not the image to be referred to as the reference image, that is, one frame before the 4f frame. If it is an image of a frame located at (YES in step S60), as in step S61, since it is encoded as a P frame, the (L-1) th frame, ie, the current frame.
- the motion detection unit 111 is instructed to perform prediction encoding as a P frame with reference to the frame one frame before the frame, and to notify the variable length coding unit 105 of (L-1) as a reference image number. Show (step S61).
- “predictive use flag” is set to “0” to indicate to the variable length coding unit 105 that the subsequent frame force is not a reference image to be referred to.
- the current frame of the frame number L is subjected to orthogonal transformation 'quantizing and further coded (step S65), and the process proceeds to step S66. That is, since the current frame of frame number L is an image of a frame without reference to the subsequent frame power, it is not necessary to store the decoded image in the frame memory 109.
- step S60 in the process of steps S61 and S63 described above, in order to describe the case of the bit stream of FIG. 7 (A), in the bit stream for N-times speed reproduction,
- the present invention is not limited to the case of force, and it is a frame of an encoded image.
- an image of a frame specified arbitrarily may be used as a reference image.
- reference is made to a memory (not shown) in the control unit 112.
- the frame number of the image to be referred to as the image (or the rule regarding the frame number) may be registered in advance.
- an image for high speed reproduction which is always used when reproducing at the N-times speed specified as the set speed at the time of encoding, and other subsequent frames.
- the image decoding device 200 is notified that the prediction code is changed by changing the reference image selection method with other images that are referenced but are not set for high-speed playback.
- the “predictive use flag” described above in the first embodiment is expanded and changed to “2” and “1”, respectively, but the present invention is limited to the case where it is difficult to set.
- the "predictive use flag” may be set to "1" only to indicate that it is a reference image to which the subsequent frame power is referred.
- the image coding apparatus 100 may notify the image decoding apparatus 200 of the value of the setting double speed “N” as auxiliary information other than the coding / bit stream.
- variable length decoding is performed.
- the unit 201 decodes the image of the frame number L power f-th frame of the input bit stream (the image where the “prediction use flag” is set to “2”!), And the frame number L is the 4th It does not decode the image of the frame which does not correspond to, and it notifies to skip to the header of the image of the next frame. Then, the frame memory 205 is notified that the “prediction use flag” stores the image of the 4f-th frame of “2”.
- variable-length decoding unit 201 in the variable-length decoding unit 201, the frame 10 is decoded and displayed, and the frames PI, P2, and P3 are skipped. Next, decode and display frame P4 and skip frames P5, P6 and P7. Subsequently, similarly, only the frames P4, P8, P12, P16,... Of the 4f-th frame number L are decoded and displayed.
- the control unit 207 instructs the variable length decoding unit 201 to decode and display only frame number L power fth frame P4, P8, P12, P16, ...
- FIG. 13 shows a procedure of executing the image decoding process in the second embodiment described above by the control unit 207 of the image decoding apparatus 200 shown in FIG.
- FIG. 13 is a flowchart for explaining a different example of the processing procedure in the image decoding apparatus according to the present invention as the second embodiment.
- Steps S75, S79, and S82 in FIG. 13 [Process of (decoding) shown here]
- the control unit 207 is not a processing means directly related, it is used as a reference to represent the entire processing flow. Add and describe! /.
- the processing of steps S71 and S72, the processing of steps S74 to S76, and the processing of steps S80 to S87 are respectively the steps S31 and S31 in the example of the decoding processing procedure shown in FIG.
- the process of S32, the process of steps S34 to S36, and the process of steps S37 to S44 are the same as the processes of S32, and thus detailed description thereof will be omitted.
- step S 73 the “prediction use flag” indicates whether the frame strength is a reference image to be always used in the case of high-speed reproduction of N double speed set as the set double speed at the time of the above-mentioned random code. If the "predicted use flag" is "2" (YES in step S73), the process proceeds to steps S74 to S76, and the process proceeds to FIG.
- the motion compensation unit 206 is notified of the frame indicated by the “reference image number” of the current frame (step S 74). Thereafter, the L-th frame is decoded (step S75), and the decoded image is stored in the frame memory 205 as a reference image to be referenced in the subsequent frame (step S76).
- step S 73 determines whether or not the frame is a frame of the image to be referenced. If the “predictive use flag” is not “1” (NO in step S77), the image of a frame not used as a reference image of the subsequent frame is transferred to the processing of steps S80 to S87. Step 11 The same skip processing as the processing of steps S37 to S44 is performed.
- step S77 If the "predictive use flag" is "1" (YES in step S77), the motion compensation unit 206 is notified of the frame indicated by "reference image number" of the current frame (step S78). After de-quantizing the stream and inverse orthogonal transform to generate a decoded image (step S79), the process moves to step S76, and the process moves to a process of instructing the frame memory 205 to store the decoded image.
- the already-coded image to be referred to in the prediction decoding of the P frame in steps S 78 and S 81 is the coded bit stream in FIG.
- the frame number located one frame before the current frame of frame number L is the image of the (L ⁇ 1) -th frame!
- the frame memory 205 includes the frame number. It is sufficient to store only one frame of image corresponding to the Nf-th, but when normal playback (equal-speed playback) or bit stream for N-speed playback is to be played back at high speed different from N-speed.
- the frame memory 205 is required to store an image of two frames as described in the above-mentioned encoding procedure. That is, when a bit stream for N-time speed reproduction is to be reproduced at a high speed different from the N-time speed or normal reproduction (equal-speed speed reproduction) or some! Another image of one frame is used as a reference image.
- a plurality of reference images are stored in the frame memory 205 in the bit stream in which only I frame and P frame forces are also included.
- the frame interval between the image of the current frame to be coded and the reference image can be reduced, high speed reproduction can be realized, and the decrease in prediction code efficiency can be suppressed. It is possible to prevent the deterioration of the image quality.
- the configuration of the image coding device and the image decoding device in the third embodiment may be the same as the configuration of the image coding device 100 and the image decoding device 200 shown in FIGS. 1 and 2, but in the case of the third embodiment.
- the bit stream in the prediction code of each P-frame image, the bit stream can be reproduced at high speed by coding using images of a plurality of frames as reference images. Also, the prediction coding efficiency can be further improved.
- FIG. 8 is a schematic view showing an example of an inter-frame prediction structure when quadruple-speed bit stream is reproduced at quadruple-speed as a third embodiment of the image encoding device and the image decoding device according to the present invention.
- Fig. 8 (A) shows the creation status of the bit stream for quadruple-speed reproduction created by the image coding device 100
- Fig. 8 (B) shows an image of the bit stream created in Fig. 8 (A). It shows a situation where the decoding device 200 side performs quadruple speed reproduction and decoding.
- the frame number of the already encoded frame is a multiple of 4 for the images of frames other than frame number L power f th ⁇ 4 ([L / 4]-n) ⁇
- the reference image is not limited to only one frame image, and Refers to images of already encoded multiple frames Is configured.
- L 4th frame number
- the code is used, unlike in the case of FIG. 4 described above as the f column 1, the reference images of the frames P5, P6, P7, and P8 have frame numbers that are multiples of 4 when the f column is used.
- An example is shown in which encoding is performed with reference to frame 10 four frames earlier, not only the image of frame P4 of.
- Frames P9, PIO, Pl l and P12 are not only the image of the nearest frame P8 that is a multiple of the frame number power, but the frame P4 four frames before that is also a prediction code as a reference image. Thereafter, similarly, the reference image power frame is sequentially moved one by one.
- the reference image power frame is sequentially moved one by one.
- at least the position closest to the P frame of frame number L among the frame numbers ⁇ 4 ([LZ 4] ⁇ n) ⁇ for each frame interval set by the set double speed. make the frame number of the frame number ⁇ 4 ([L / 4] 1) ⁇ to include!
- PI, P2, P3, P4 Force Exceptionally, only 1 piece is 0, 2 pieces are frame P5, P6, P7, P8 force ⁇ ) and 4. 2 pieces are 4 and 8 pieces of frame P9, PIO, Pl1, P12. And so on.
- the “prediction use flag” is set to frame 10, P4, P8, P12,...
- the frame number L force f-th frame image is set to “1” to indicate a reference image, and frames PI, P2 , P3, P5, P6, P7, P9, PIO, P11,..., And “0” indicating that the image of the frame other than the 4th frame number L is not a reference image.
- the present invention is not limited to only two, and it is possible to use two or more arbitrary number of frames already.
- the encoded image may be used as a reference image.
- FIG. 9 is a schematic diagram showing a different example of the inter-frame prediction structure when quadruple-speed bit stream is reproduced at quadruple-speed as a third embodiment of the image coding device and the image decoding device according to the present invention.
- FIG. 10 is a diagram different from FIG. 8 showing an operation in which an image of one frame is predicted by using images of a plurality of frames as a reference image.
- FIG. 8 when creating a bit stream for quadruple-speed reproduction, an image of the nearest frame which is a multiple of the frame number power and a frame four more previous are used as two reference images.
- FIG. 9 when the frame number L is not a multiple of four, the frame image! Using the image of the image as the reference image is the same as the case of Fig. 8. Instead of using the image of the fourth frame, use the image of the immediately preceding frame as the reference image. Is shown.
- Fig. 9 (A) shows the bit for quadruple speed reproduction created by the image coding device 100.
- FIG. 9 (B) shows a situation where the bit stream created in FIG. 9 (A) is reproduced at quadruple speed on the side of the image decoding apparatus 200 and is decoded.
- the image of the frame other than the 4th frame only the image of the previous frame is encoded using the already encoded image only four frames earlier as the reference image and not the frame number L power multiple.
- An example of coding using the above as a reference image is shown.
- FIG. 9 (A) when creating a bit stream for quadruple-speed reproduction, in addition to the case of FIG. 7 in order to make it possible to use two reference images for each frame. As described in Fig.
- the image of the frame four frames before is not a frame number L power other than 4f.
- the image of the frame the example of using the image of the nearest frame that is a multiple of the frame number power S4 as the reference image is shown.
- FIG. 9 (A) is different from the case of FIG. 7 described above as the second embodiment when creating a bit stream for quadruple-speed reproduction, for example, as a multiple of 4 which is a set double speed.
- Frame number L is the reference image of frame P4. Since only one of the already encoded images to be referenced is one of frame 10 four frames earlier, only frame 10 is used, and frame number L is a multiple of power
- the reference image of frame P1 located one behind is also frame 10 of the previous frame, which is a multiple of 4, and the reference images of remaining frames P2 and P3 that are not multiples of frame number L
- An example is shown in which not only the immediately preceding frames PI and P2 but also the nearest frame 10 which is a multiple of 4 are used.
- the reference image of frame P8 in which frame number L is a multiple of 4 uses not only frame P4 four frames earlier, but also frame 10 four frames earlier, and frame number L multiple
- the reference image of frame P5 located after one is the frame P4 which is a multiple of 4 and the reference images of the remaining frames P6 and P7 whose frame number L is not a multiple of 4 are Not only the immediately preceding frames P5 and P6 but also the nearest frame P4 which is a multiple of 4 is used.
- Frames P12 which are multiples of frame number L, are frames P8 and P4 four frames before and four frames before, respectively, and one after multiples of frame number L, respectively.
- the frame P9 located in the frame is a multiple of 4 and the previous frame P8 which is not a multiple of the frame number L power.
- the remaining frames P10 and P11 are each a frame P9 of the previous frame.
- the prediction code is calculated using P10 and the nearest frame P8 which is a multiple of 4 as a reference image. Thereafter, similarly, the reference image moves four frames at a time in the same manner.
- the “reference image number” is 0, 0 and 1, 0 and 2, 0 for the frames PI, P2, P3 and P4 respectively, and the frames P5, P6, P7 and P8 are respectively 4, 4 and 5, 4 and 6, 0 and 4, frames P9, P10, Pl1, P12 force 8, 8 and 9, 8 and 10, 4 and 8, respectively, and so on.
- the "predictive use flag” is a frame 10, PI, P2, P4, P5, P6, P8, P9, P10, P12, ..., and a frame number L force 4f, (4f + l), (4f + 2) th
- the image of the frame is set to “1” indicating the reference image, and the frame P3, P7, P11,...
- the frame number L indicates that the image of the (4f + 3) th frame is not the reference image “0 It is assumed that
- the force showing the case where two frames are used as a reference image is not limited to only two. Two or more arbitrary numbers may be used. Of course, it is also possible to use the pre-coded image of the frame of as the reference image. Further, in the present embodiment shown in FIG. 9, with regard to an image of a frame in which the frame number L is not a multiple of 4, the image of the immediately preceding frame and the nearest frame which is a multiple of the frame number power
- the present invention is not limited to the case of force, for example, instead of the image of the nearest frame in which the frame number is a multiple of four.
- An image of a frame two frames before may be used as a reference image, and further, a plurality of arbitrarily designated already-coded images may be used.
- the prediction code of the P frame in which a plurality of (two in the present embodiment) reference image numbers are set the reference image numbers are obtained as in the case of FIG. 8 described above.
- prediction is made by referring to any already encoded image as slice image, MB unit, or block unit as a reference image. It is possible to perform coding, record the frame number (reference image number) of the already-coded image referred to in each unit in the header portion of the bit stream, and carry out coding.
- FIG. As shown in (B), only the image of the f-th frame (frames 10, P4, P8, P12, ⁇ ⁇ ⁇ ) of frame number L power will be decoded and displayed, but the frames P4, P8, P12 As reference images to be referred to when prediction codes are used, reference is made to frames 10, 10 and P4, P4, P4 and P8, ... from the reference image numbers, and further recorded in the header portion of the bit stream etc. Predictive decoding is performed using the reference image number for each unit being processed.
- the reference image is selected between the high-speed playback image and the other images, which are always used when the playback is performed at the double speed specified at the time of encoding.
- the “prediction use flag” described above in the second embodiment the "prediction use flag” is set to "2" for the already-coded picture of the image for high speed reproduction which is always used for high speed reproduction in the same manner as the extension method of Set to “1” and set “1” for the other encoded images to be used for predictive coding, and “0” for images not to be used for predictive coding.
- the "prediction use flag” is set to "2" for the already-coded picture of the image for high speed reproduction which is always used for high speed reproduction in the same manner as the extension method of Set to “1” and set “1” for the other encoded images to be used for predictive coding, and “0” for images not to be used for predictive coding.
- the image decoding apparatus 200 performs high speed as in the case described above in the second embodiment. Since it can not be inferred from the value of the "predictive use flag” whether the force is a reference image which is always used for reproduction, it is necessary to separately prepare the relevant bit stream in the bit stream to prepare for the case where it is strong. It is also possible to store and encode the value of the set double-speed "N" indicating that N is created for N-fold speed reproduction. Alternatively, the image code device 100 notifies the image decoding device 200 of the value of the set double-speed "N” as auxiliary information other than the code / bit stream. Also good.
- the reference image number notified in step S56 is changed according to the example of the code processing procedure shown in FIG. There is a need. That is, as the reference image number to be referred to in step S56, not only the frame number of ⁇ N (L-1) ⁇ but also the frame number of ⁇ N (L-2) ⁇ may be added. In some cases, the encoded image represented by the frame number (where m is a positive integer of 2 or more) of ⁇ N (L ⁇ m) ⁇ stored in the frame memory 109 You can also select and add any 1 frame from inside.
- the reference image numbers to be referred to in steps S61 and S63 are not limited to the frame number of (L-1), and are frames of multiples of 4 located closest to the current frame of frame number L.
- a frame number of ⁇ N [LZN] ⁇ (here, [X] is an integer value with rounded decimal places) may be added, or in some cases, it may already be stored in frame memory 109. Any one frame may be selected from the code image and added.
- the coded bit stream generated by the image coding apparatus 100 is used for double speed reproduction and quadruple speed reproduction as the set speed for which user power is also specified.
- the image coding device and the image decoding device according to the present invention in general, arbitrary double-speed or N-fold speed reproduction is designated as specification of the set double speed (here, N is It can be easily understood from the above detailed description that it is possible to extend to real numbers greater than one).
- Embodiments 1, 2 and 3 the case where the I frame encoded by intra coding only appears periodically appears.
- the image coding apparatus according to the present invention has been described. Also, in the image decoding apparatus, even if the I-frame is randomly included in the middle of the bit stream, or even in the case of only the first frame, it is possible to extend in the same way. It can be easily understood from the detailed description of.
- control unit 207 of the image decoding apparatus 200 transmits a bit stream to the variable-length decoding unit 201 for a frame that does not need to be decoded.
- An example of notifying a system skip is the process for skipping this bitstream
- variable length decoding unit 201 is not limited to only V, located in the previous stage of the variable length decoding unit 201, V, and illustrated in FIG.
- the demultiplexer unit skips the bit stream of the frame that does not need to be decoded, and does not pass the bit stream of the skipped frame to the image decoding apparatus 200 side. But it is possible.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Description
Claims
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/662,068 US20080019445A1 (en) | 2004-09-13 | 2005-09-08 | Image Coding Device, Image Decoding Device, Image Coding Program, And Image Decoding Program |
JP2006535821A JP4416796B2 (ja) | 2004-09-13 | 2005-09-08 | 画像符号化装置、画像復号装置、画像符号化プログラム、及び画像復号プログラム |
EP05782309A EP1802126A4 (en) | 2004-09-13 | 2005-09-08 | PICTURE CODING DEVICE, IMAGE DECODING DEVICE, IMAGE CODING PROGRAM AND PICTURE DECODING PROGRAM |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004-265874 | 2004-09-13 | ||
JP2004265874 | 2004-09-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2006030694A1 true WO2006030694A1 (ja) | 2006-03-23 |
Family
ID=36059947
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2005/016536 WO2006030694A1 (ja) | 2004-09-13 | 2005-09-08 | 画像符号化装置、画像復号装置、画像符号化プログラム、及び画像復号プログラム |
Country Status (4)
Country | Link |
---|---|
US (1) | US20080019445A1 (ja) |
EP (1) | EP1802126A4 (ja) |
JP (1) | JP4416796B2 (ja) |
WO (1) | WO2006030694A1 (ja) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007306160A (ja) * | 2006-05-09 | 2007-11-22 | Canon Inc | 画像符号化装置及び符号化方法並びに画像復号化装置及び復号化方法 |
JP2007306161A (ja) * | 2006-05-09 | 2007-11-22 | Canon Inc | 画像符号化装置及び符号化方法 |
JP2008022532A (ja) * | 2006-06-16 | 2008-01-31 | Casio Comput Co Ltd | 動画符号化装置および動画符号化方法と、動画復号化装置および動画復号化方法と、動画記録装置 |
US8254766B2 (en) * | 2007-09-27 | 2012-08-28 | Intel Corporation | Method and apparatus for media playback |
US8279928B2 (en) | 2006-05-09 | 2012-10-02 | Canon Kabushiki Kaisha | Image encoding apparatus and encoding method, image decoding apparatus and decoding method |
Families Citing this family (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ES2895384T3 (es) * | 2007-11-16 | 2022-02-21 | Divx Llc | Encabezado de fragmentos que incorpora indicadores binarios y campos de longitud variable correlacionados |
US8428145B2 (en) * | 2008-12-31 | 2013-04-23 | Entropic Communications, Inc. | System and method for providing fast trick modes |
US9607655B2 (en) | 2010-02-17 | 2017-03-28 | JBF Interlude 2009 LTD | System and method for seamless multimedia assembly |
US9001895B2 (en) | 2011-06-08 | 2015-04-07 | Panasonic Intellectual Property Management Co., Ltd. | Image display device and image processing device |
MX342314B (es) | 2011-08-25 | 2016-09-26 | Panasonic Ip Corp America | Metodos y aparatos para codificar y decodificar video utilizando una descripcion de memoria intermedia periodica. |
ES2625097T3 (es) | 2011-09-07 | 2017-07-18 | Sun Patent Trust | Método de codificación de imágenes y aparato de codificación de imágenes |
CN103688539B (zh) | 2011-09-19 | 2017-09-05 | 太阳专利托管公司 | 图像编码方法、图像解码方法、图像编码装置、图像解码装置和图像编码解码装置 |
IN2014CN02604A (ja) | 2011-10-19 | 2015-08-07 | Panasonic Corp | |
US9565476B2 (en) * | 2011-12-02 | 2017-02-07 | Netzyn, Inc. | Video providing textual content system and method |
US9009619B2 (en) | 2012-09-19 | 2015-04-14 | JBF Interlude 2009 Ltd—Israel | Progress bar for branched videos |
US9257148B2 (en) | 2013-03-15 | 2016-02-09 | JBF Interlude 2009 LTD | System and method for synchronization of selectably presentable media streams |
US10448119B2 (en) | 2013-08-30 | 2019-10-15 | JBF Interlude 2009 LTD | Methods and systems for unfolding video pre-roll |
US9520155B2 (en) * | 2013-12-24 | 2016-12-13 | JBF Interlude 2009 LTD | Methods and systems for seeking to non-key frames |
US9653115B2 (en) | 2014-04-10 | 2017-05-16 | JBF Interlude 2009 LTD | Systems and methods for creating linear video from branched video |
US9792026B2 (en) | 2014-04-10 | 2017-10-17 | JBF Interlude 2009 LTD | Dynamic timeline for branched video |
US9792957B2 (en) | 2014-10-08 | 2017-10-17 | JBF Interlude 2009 LTD | Systems and methods for dynamic video bookmarking |
US11412276B2 (en) | 2014-10-10 | 2022-08-09 | JBF Interlude 2009 LTD | Systems and methods for parallel track transitions |
US9672868B2 (en) | 2015-04-30 | 2017-06-06 | JBF Interlude 2009 LTD | Systems and methods for seamless media creation |
US10582265B2 (en) | 2015-04-30 | 2020-03-03 | JBF Interlude 2009 LTD | Systems and methods for nonlinear video playback using linear real-time video players |
US10460765B2 (en) | 2015-08-26 | 2019-10-29 | JBF Interlude 2009 LTD | Systems and methods for adaptive and responsive video |
US11128853B2 (en) | 2015-12-22 | 2021-09-21 | JBF Interlude 2009 LTD | Seamless transitions in large-scale video |
US11164548B2 (en) | 2015-12-22 | 2021-11-02 | JBF Interlude 2009 LTD | Intelligent buffering of large-scale video |
US10462202B2 (en) | 2016-03-30 | 2019-10-29 | JBF Interlude 2009 LTD | Media stream rate synchronization |
US11856271B2 (en) | 2016-04-12 | 2023-12-26 | JBF Interlude 2009 LTD | Symbiotic interactive video |
US10218760B2 (en) | 2016-06-22 | 2019-02-26 | JBF Interlude 2009 LTD | Dynamic summary generation for real-time switchable videos |
US11050809B2 (en) | 2016-12-30 | 2021-06-29 | JBF Interlude 2009 LTD | Systems and methods for dynamic weighting of branched video paths |
US10257578B1 (en) | 2018-01-05 | 2019-04-09 | JBF Interlude 2009 LTD | Dynamic library display for interactive videos |
US11601721B2 (en) | 2018-06-04 | 2023-03-07 | JBF Interlude 2009 LTD | Interactive video dynamic adaptation and user profiling |
US11490047B2 (en) | 2019-10-02 | 2022-11-01 | JBF Interlude 2009 LTD | Systems and methods for dynamically adjusting video aspect ratios |
US11245961B2 (en) | 2020-02-18 | 2022-02-08 | JBF Interlude 2009 LTD | System and methods for detecting anomalous activities for interactive videos |
US11882337B2 (en) | 2021-05-28 | 2024-01-23 | JBF Interlude 2009 LTD | Automated platform for generating interactive videos |
US11934477B2 (en) | 2021-09-24 | 2024-03-19 | JBF Interlude 2009 LTD | Video player integration within websites |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63310293A (ja) * | 1987-06-12 | 1988-12-19 | Nec Corp | 圧縮記録画像の再生方式 |
JPH07154743A (ja) * | 1993-11-30 | 1995-06-16 | Sanyo Electric Co Ltd | 高速画像再生システム |
JPH1042255A (ja) * | 1996-07-24 | 1998-02-13 | Sanyo Electric Co Ltd | 動画像記録装置、記録媒体および動画像再生装置 |
JPH11155129A (ja) * | 1997-11-19 | 1999-06-08 | Nec Corp | Mpeg画像再生装置およびmpeg画像再生方法 |
JP2000013790A (ja) * | 1998-06-19 | 2000-01-14 | Sony Corp | 画像符号化装置および画像符号化方法、画像復号装置および画像復号方法、並びに提供媒体 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3884992T2 (de) * | 1987-04-30 | 1994-05-19 | Nippon Denki Home Electronics | Bildverarbeitungssystem für eine Folge kodierter Signale, die einer Prädiktionskodierung verschiedener Arten unterworfen sind. |
US6738980B2 (en) * | 2001-11-15 | 2004-05-18 | Industrial Technology Research Institute | Methods and systems for video streaming with VCR functionality |
JP3825719B2 (ja) * | 2002-06-13 | 2006-09-27 | 三洋電機株式会社 | 画像再生方法、画像再生装置、および画像記録装置 |
-
2005
- 2005-09-08 EP EP05782309A patent/EP1802126A4/en not_active Withdrawn
- 2005-09-08 US US11/662,068 patent/US20080019445A1/en not_active Abandoned
- 2005-09-08 JP JP2006535821A patent/JP4416796B2/ja not_active Expired - Fee Related
- 2005-09-08 WO PCT/JP2005/016536 patent/WO2006030694A1/ja active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63310293A (ja) * | 1987-06-12 | 1988-12-19 | Nec Corp | 圧縮記録画像の再生方式 |
JPH07154743A (ja) * | 1993-11-30 | 1995-06-16 | Sanyo Electric Co Ltd | 高速画像再生システム |
JPH1042255A (ja) * | 1996-07-24 | 1998-02-13 | Sanyo Electric Co Ltd | 動画像記録装置、記録媒体および動画像再生装置 |
JPH11155129A (ja) * | 1997-11-19 | 1999-06-08 | Nec Corp | Mpeg画像再生装置およびmpeg画像再生方法 |
JP2000013790A (ja) * | 1998-06-19 | 2000-01-14 | Sony Corp | 画像符号化装置および画像符号化方法、画像復号装置および画像復号方法、並びに提供媒体 |
Non-Patent Citations (1)
Title |
---|
See also references of EP1802126A4 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007306160A (ja) * | 2006-05-09 | 2007-11-22 | Canon Inc | 画像符号化装置及び符号化方法並びに画像復号化装置及び復号化方法 |
JP2007306161A (ja) * | 2006-05-09 | 2007-11-22 | Canon Inc | 画像符号化装置及び符号化方法 |
US8279928B2 (en) | 2006-05-09 | 2012-10-02 | Canon Kabushiki Kaisha | Image encoding apparatus and encoding method, image decoding apparatus and decoding method |
JP2008022532A (ja) * | 2006-06-16 | 2008-01-31 | Casio Comput Co Ltd | 動画符号化装置および動画符号化方法と、動画復号化装置および動画復号化方法と、動画記録装置 |
EP2033446A2 (en) * | 2006-06-16 | 2009-03-11 | Casio Computer Co., Ltd. | Motion picture encoding device, motion picture encoding method, motion picture decoding device, motion picture decoding method, motion picture recording device, program and data structure |
US8699569B2 (en) | 2006-06-16 | 2014-04-15 | Casio Computer Co., Ltd. | Motion picture encoding device and method, motion picture decoding device and method, motion picture recording device, program, and data structure |
US8254766B2 (en) * | 2007-09-27 | 2012-08-28 | Intel Corporation | Method and apparatus for media playback |
Also Published As
Publication number | Publication date |
---|---|
JP4416796B2 (ja) | 2010-02-17 |
EP1802126A4 (en) | 2010-03-31 |
EP1802126A1 (en) | 2007-06-27 |
US20080019445A1 (en) | 2008-01-24 |
JPWO2006030694A1 (ja) | 2008-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4416796B2 (ja) | 画像符号化装置、画像復号装置、画像符号化プログラム、及び画像復号プログラム | |
US20090028246A1 (en) | Moving-picture coding device and moving-picture coding method | |
JP2005532768A (ja) | ビデオ・データのイントラ符号化方法及び装置 | |
WO1993013626A1 (en) | Image data coding method, image data decoding method, image data coding device, image data decoding device, and image recording medium | |
JP4875008B2 (ja) | 動画像符号化方法、動画像復号化方法、動画像符号化装置及び動画像復号化装置 | |
EP1438847A1 (en) | User selectable variable trick mode speed | |
EP2154900A1 (en) | Dynamic image decoding method, dynamic image decoding device, and electronic apparatus | |
JP2005124091A (ja) | 復号装置及び復号方法 | |
JP2007067526A (ja) | 画像処理装置 | |
JP2004242008A (ja) | 画像信号再生装置および画像信号再生方法 | |
JP4192149B2 (ja) | データ処理装置およびデータ処理方法 | |
JP2004350152A (ja) | 映像再生装置および映像再生方法 | |
JP3233232B2 (ja) | 動画像復号化方法および装置 | |
JP3870930B2 (ja) | 映像再生方法および装置 | |
JP5248583B2 (ja) | 動画像復号装置及び動画像復号方法 | |
JP6874844B2 (ja) | 動画像符号化装置、動画像符号化方法、及び、動画像符号化プログラム | |
JP2006319645A (ja) | 映像再生装置及び方法及びプログラム及び記憶媒体 | |
JPWO2005101829A1 (ja) | 符号化データ復号再生装置 | |
JP3869389B2 (ja) | 映像再生方法、映像再生装置、および映像符号化方法 | |
JP2010206463A (ja) | 動画像符号化方法、動画像符号化装置及び動画像符号化プログラム | |
JP2005159832A (ja) | 信号処理装置 | |
JPH0898138A (ja) | ディジタル映像信号記録再生装置 | |
JP2009232370A (ja) | 動画像復号装置 | |
JP2007235271A (ja) | 映像復号装置 | |
JP2006025105A (ja) | 動画像再生装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A1 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM 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): BW GH GM KE LS MW MZ NA 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 IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2006535821 Country of ref document: JP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 11662068 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2005782309 Country of ref document: EP |
|
WWP | Wipo information: published in national office |
Ref document number: 2005782309 Country of ref document: EP |
|
WWP | Wipo information: published in national office |
Ref document number: 11662068 Country of ref document: US |