WO2005115008A1 - 動画像符号化装置 - Google Patents
動画像符号化装置 Download PDFInfo
- Publication number
- WO2005115008A1 WO2005115008A1 PCT/JP2005/000645 JP2005000645W WO2005115008A1 WO 2005115008 A1 WO2005115008 A1 WO 2005115008A1 JP 2005000645 W JP2005000645 W JP 2005000645W WO 2005115008 A1 WO2005115008 A1 WO 2005115008A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- frame
- encoding
- code amount
- skip
- inter
- Prior art date
Links
Classifications
-
- 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/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/587—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal sub-sampling or interpolation, e.g. decimation or subsequent interpolation of pictures in a video sequence
-
- 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/115—Selection of the code volume for a coding unit prior to coding
-
- 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/136—Incoming video signal characteristics or properties
-
- 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/146—Data rate or code amount at the encoder output
- H04N19/149—Data rate or code amount at the encoder output by estimating the code amount by means of a model, e.g. mathematical model or statistical model
-
- 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/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
Definitions
- the present invention relates to video coding, and relates to a video coding device for performing video coding using a video coding system represented by ITU-T Recommendation H. 26x, ISOZIEC standard MPEG, and the like.
- the present invention relates to a moving image coding method, and particularly to a device mounted on a mobile phone or the like.
- MPEG-4 will be described as an example.
- a moving picture coding method represented by MPEG-4 compresses data using a spatial and temporal correlation with respect to an input image signal. Then, based on the data obtained by the spatial compression and the temporal compression, variable-length coding is further performed in a predetermined order to generate a bit stream.
- the entire displayed image (synthesized image) is composed of images (objects) of a plurality of image sequences, so the screen at each display time of each image sequence is displayed as a video object.
- 'It is called a plane and is distinguished from frames in MPEG-1 and MPEG-2.
- the entire display image is composed of one image sequence image
- the video 'object' plane and the frame match hereinafter, the entire display image is composed of one image sequence image).
- the video 'object' plane is referred to as a 'frame'.
- a frame has a luminance signal and a color difference signal, and is composed of a plurality of macroblock cards.
- a macroblock is composed of 16 pixels each in the vertical and horizontal directions with respect to the luminance signal.
- the amount of information is compressed by a method such as spatial compression and temporal compression in macroblock units. .
- DCT discrete cosine transform
- intra-frame coding Spatial intra-screen coding
- inter-screen coding inter-screen coding
- a moving picture coding apparatus must output a bit stream having a specified code amount according to a predetermined coding parameter.
- a VBV buffer is provided on the encoding device side so that overflow and underflow do not occur in the buffer (virtual buffer verifier, hereinafter referred to as “VBV buffer”) on the decoding device side that receives the bit stream.
- the amount of generated code must be controlled by assuming the occupation amount.
- the amount of generated code is controlled by a quantization parameter that is set for each macroblock that constitutes a frame and that is used to quantize a DCT coefficient. Therefore, the control of the generated code amount is performed on a frame basis. Generally, when the quantization parameter is increased, the generated code amount is reduced, and when the quantization parameter is reduced, the generated code amount is increased. In other words, the generated code amount and the quantization parameter are in inverse proportion. It is possible to change the amount of generated code using this property.
- the range that the quantization parameter can take is limited, it may be difficult to control the generated code amount to an appropriate amount using only the quantization parameter. Therefore, when the generated code amount is larger than the target value, the encoding process is not performed rather than performing the encoding process for all the frames. That is, a frame skip that skips the encoding process is created. If the generated code amount is smaller than the target value while suppressing the generated code amount, redundant bits are inserted into the bit stream to increase the generated code amount! ] Is performed.
- Patent Document 1 A technique for skipping the encoding process of some frames and suppressing the generated code amount as described above is described in Patent Document 1, for example.
- Patent Document 1 JP-A-2002-262297 (Pages 4-7, FIG. 3)
- Patent Document 2 JP-A-6-54319 (Pages 4-5, Fig. 2) Disclosure of the invention
- Patent Document 1 when the number of skipped frames exceeds a predetermined value, intra-frame encoding processing is performed in the immediately subsequent frame to suppress deterioration in image quality.
- the above-mentioned problems cannot be solved because the frame is skipped and the force is adjusted.
- frame skip does not occur and a change between frames is large, normal encoding processing is performed, and thus image quality may deteriorate.
- Patent Document 2 when it is detected that the correlation between frames is low, a large amount of code is added to the image immediately after that, and the deterioration of the image is prevented by performing intra-frame coding. The sign is being processed. However, when many frame changes are detected in consecutive frames, the code amount is increased continuously, and there is a problem that an appropriate code amount cannot be allocated as a whole.
- the present invention solves the above-mentioned problems, and an object of the present invention is to appropriately allocate a code amount and skip code conversion for a change in an image between frames. Accordingly, it is an object of the present invention to provide a moving picture coding apparatus capable of maintaining image quality.
- Input image analysis means for detecting an inter-frame change amount between the current frame and the previous frame of the input moving image
- Code encoding means for encoding the input moving image
- a generated code amount of encoded data output from the encoding means and a predetermined reference code amount With this, frame target code amount setting means for temporarily determining the target code amount of the frame to be encoded by the encoding means,
- a frame skip control unit for skipping the encoding by the encoding unit in the frame unit
- the input image analysis means determines the first frame skip insertion number based on the inter-frame change amount
- the frame target code amount setting means determines a second frame skip insertion number based on the inter-frame change amount and the provisionally determined target code amount
- the frame skip control means sets frame skip insertion enable / disable information based on the first frame skip insertion number and the second frame skip insertion number, whereby a frame unit of the code
- the feature is to control the skipping in.
- the inter-frame change amount (VA) when coding a frame, if the inter-frame change amount (VA) is large, a frame skip is intentionally generated, and the skipped frame is not encoded. Since the frame target code amount scheduled to be allocated to the skipped frame can be added to the frame target code amount planned to be allocated to the skipped frame, a sufficient target code amount should be set for the skipped frame.
- FIG. 1 is a block diagram showing an overall configuration of a video encoding device according to Embodiment 1.
- FIG. 2 is a diagram showing a configuration of a frame memory of FIG. 1.
- FIG. 3 is a block diagram showing a configuration of an input image analysis unit 7 in the video encoding device of FIG. 1.
- FIG. 4 is a block diagram showing a configuration of a change amount extraction unit 22 in the input image analysis unit 7 of FIG. 3.
- FIG. 5 shows a configuration of a frame target code amount setting unit 6 in the video encoding device of FIG. 1. It is a block diagram.
- FIG. 6 is a diagram illustrating a procedure of an operation of the encoding process in the video encoding device of the first embodiment.
- FIG. 7 is a diagram showing an inter-frame change amount VA in a frame sequence in which a code amount extra occurs in Embodiment 1 and a coding method for each frame.
- FIG. 8 is a diagram showing a target code amount at each time point in FIG. 7 in the first embodiment.
- FIG. 9 is a diagram showing an inter-frame change amount VA in a frame sequence in which a frame skip and an extra code amount occur in Embodiment 1, and an encoding method for each frame.
- FIG. 10 is a diagram showing a target code amount at each time point in FIG. 9 in the first embodiment.
- FIG. 11 is a diagram showing transition of a quantization parameter in the first embodiment.
- FIG. 12 is a block diagram illustrating an overall configuration of a video encoding device according to Embodiment 2.
- FIG. 13 is a block diagram showing a configuration of an input image analysis unit 7 in a video encoding device according to Embodiment 2.
- FIG. 14 is a block diagram illustrating a configuration of a complexity extraction unit 51 in the input image analysis unit 7 in FIG.
- FIG. 15 is a diagram showing an inter-frame change amount VA in a frame sequence in which a frame skip and a code amount increase occur in Embodiment 2, an intra-frame complexity FH of each frame, and an encoding method.
- FIG. 16 is a diagram showing a target code amount at each time point in FIG. 15 in the second embodiment.
- FIG. 17 is a diagram showing transition of a quantization parameter in the second embodiment.
- the moving picture coding apparatus includes a frame to be coded (hereinafter referred to as a "current frame picture") and N (N is an integer of 1 or more) temporally relative to the current frame. ) Judgment of whether or not the amount of change in the feature amount such as the luminance signal and the color difference signal between the frame before the frame (hereinafter, referred to as “N frame previous image”) is equal to or greater than a predetermined threshold value
- N frame previous image Judgment of whether or not the amount of change in the feature amount such as the luminance signal and the color difference signal between the frame before the frame (hereinafter, referred to as “N frame previous image”) is equal to or greater than a predetermined threshold value
- the frame skip insertion availability information SK, coding method, and target code amount QU are set by referring to the result.
- FIG. 1 is a block diagram showing a configuration of a moving picture coding apparatus according to the first embodiment.
- the moving picture coding apparatus 100 shown in FIG. 1 receives a picture signal transmitted by wire communication or wireless communication as a frame, and performs picture coding processing on the inputted frame.
- the frame memory 1 temporarily stores, for example, two frames of image signals sequentially input from the input terminal 11.
- FIG. 2 illustrates an example of the frame memory 1 and has a first area la and a second area lb.
- N l
- the first area la stores the i-th frame, that is, the data one frame before
- the second area lb stores the (i + 1) -th frame. That is, the data of the current frame is stored.
- a frame one frame before is referred to as a previous frame.
- the switch 2 opens and closes with input of frame skip insertion availability information SK described later. Specifically, when the frame skip insertion enable / disable information SK is “1” (when performing frame skipping), it is turned off (open state), and when the frame skip insert enable / disable information SK is “0” (frame skip). ) Is turned on (closed state).
- the encoder 3 performs encoding and quantization on the data supplied via the switch 2 using an encoding method and a quantization parameter specified by the encoding control unit 9.
- intra-frame encoding is specified as an encoding method
- intra-frame encoding intra-frame encoding is performed
- inter-frame encoding is specified, inter-frame encoding is performed.
- coding is DCT coding, and a quantized DCT coefficient is obtained as a code.
- a quantization step is determined based on the supplied quantization parameter, and the DCT coefficient is quantized accordingly.
- the notifier 4 temporarily stores the bit stream output from the encoder 3, and outputs the bit stream.
- the bit stream output from the buffer 4 is output via the output terminal 12.
- the code amount detection unit 5 detects the amount of code generated in each frame by calculating the bit stream output from the buffer 4 and stored in the buffer 4, and detects the detected value in the code amount control for encoding.
- the information is output to the frame target code amount setting unit 6 and the encoding control unit 9 as information for the purpose.
- the input image analysis unit 7 outputs the N-frame preceding image (N in this example) stored in the frame memory 1.
- the input image analysis unit 7 is configured as shown in FIG. 3, for example.
- An input terminal 26 for inputting the current frame image, an N-frame previous image input from the input terminal 25, and a change amount extracting unit 22 for extracting a change amount between the current frame images input from the input terminal 26.
- the change amount extraction unit 22 in FIG. 3 is configured, for example, as shown in FIG.
- the input terminal 35 for inputting the current frame image from the terminal 11 and the subtracter 37 for calculating the difference between the frame of the N-frame previous image input from the input terminal 34 and the frame of the current frame image input from the input terminal 35
- an absolute value calculator 31 for calculating the absolute value of the output of the subtractor 37
- an absolute value calculator 3 Sum calculator 32 for calculating the sum of the data representing the absolute values output from 1, average calculator 33 for calculating the average by dividing the input value by the number of data, and outputting the average luminance change between frames And an output terminal 36.
- the inter-frame luminance change average value output from the output terminal 36 is used as the inter-frame change amount VA.
- the input image analysis unit 7 further includes a threshold setting unit 23 for setting a first threshold (change amount threshold) TV, and an inter-frame change amount VA output from the change amount extraction unit 22, It has a comparator 24 for comparing with the first threshold value TV set in 23, an output terminal 27 for outputting the number of frame skip insertions NA, and an output terminal 28 for outputting the inter-frame variation VA. If the inter-frame change amount VA output from the change amount extraction unit 22 is equal to or greater than the first threshold TV, the number of frame skip insertions NA becomes “1”, and the inter-frame change amount VA is less than the first threshold value TV. If, the frame skip insertion count NA is “0”.
- the inter-frame change amount VA output from the change amount extraction unit 22 is output from the output terminal 28 as it is.
- the frame target code amount setting unit 6 includes an inter-frame change amount VA which is an output signal of the input image analysis unit 7, the code amount QB of the previous frame detected by the code amount detection unit 5, and a predetermined reference code.
- the target code amount QT is tentatively determined by using the QR code as an input (this tentatively determined target code amount may be referred to as a “temporary target code amount”), and the tentatively determined target code amount (temporary target code amount).
- the second frame skip insertion number NB is determined based on QT and the inter-frame change amount VA, the coding method of the current frame is determined, and the target code amount is determined as described later. Is finally determined.
- the determined number of frame skip insertions NB is supplied to the frame skip control unit 6, and the determined encoding method and the finally determined target code amount are supplied to the encoding control unit 9.
- FIG. 5 shows an example of the internal configuration of the frame target code amount setting section 6.
- the frame target code amount setting unit 6 includes a memory 61, a target code amount calculation unit 62, a determination unit 63, a multiplication unit 64, and a selection unit 65.
- the memory 61 stores a predetermined reference code amount QR and a target code amount of the previous frame.
- the target code amount of the previous frame is written to the memory 61 output from the selection unit 65 as described later when determining the target code amount of the previous frame.
- the target code amount calculation unit 62 includes, for example, a predetermined reference code amount QR stored in the memory 61, the target code amount of the previous frame also stored in the memory 61, and the previous frame detected by the code amount detection unit 5. Based on the code amount (also referred to as “generated code amount”) QB, a temporary target code amount QT for the current frame is calculated.
- the determination unit 63 performs the determination described below to determine whether to set the number of frame skip insertions NB to “1” or “0” and to determine whether to increase the code amount.
- the multiplication unit 64 generates a target code amount k X QT that is larger than “1” by the provisional target code amount QT and multiplied by a coefficient k.
- the selector 65 selects and selects the target code amount QT before the increase or the target code amount k X QT before the increase according to the signal WM indicating the necessity of the extra output from the determiner 63. Output the final target code amount QU. (The term “final target code amount” is used to distinguish it from the “temporary target code amount” described above, and when there is no confusion between the two, it may be simply referred to as the "target code amount.” )
- the determination unit 63 determines that the inter-frame change amount VA supplied from the input image analysis unit 7 is equal to or greater than a second threshold value (change amount threshold value) TW and the provisional target code amount QT is (Code amount threshold) When the number is less than TM, the number of frame skip insertions NB is set to “1”.
- the second threshold value TW is larger than the first threshold value TV.
- the second threshold value TW may be smaller than the first threshold value, or the second threshold value TW may be equal to the first threshold value TV.
- the frame skip insertion count NB is set to “0”.
- the determination unit 63 When the inter-frame change amount VA is equal to or larger than the first threshold value TV but smaller than the second threshold value TW, the determination unit 63 further sets the signal WM indicating whether or not extra is necessary to “1” (that extra is necessary). Is the value that indicates).
- the frame skip control unit 8 calculates the number N of frame skip insertions from the input image analysis unit 7 A and the number of frame skip insertions NB from the frame target code amount setting unit 6 are input, and frame skip insertion availability information SK is output.
- the frame skip control unit 8 calculates the average value of the number of frame skip insertions NA and the number of frame skip insertions NB, rounds down the decimal point, and outputs the result as frame skip insertion availability information SK. .
- the frame skip insertion enable / disable information SK is “1”; otherwise, the frame skip insert enable / disable information SK is It becomes "0".
- the encoding control unit 9 includes frame skip insertion availability information SK output from the frame skip control unit 8, a target code amount QU output from the frame target code amount setting unit 6, a code amount detection unit.
- the code amount detected in step 5 is input and the encoder 3 controls the frame skip and sets the coding method and the quantization parameter.
- the frame skip insertion availability information SK from the frame skip control unit 8 is
- intra-frame encoding is instructed in the next frame. Even when the frame skip by the frame skip insertion availability information SK is not performed, the intra-frame encoding is performed periodically, that is, every predetermined number of frames (sometimes referred to as “intra-frame encoding period”). Instruct.
- the encoding control unit 9 further determines a quantization parameter (quantization step size) as follows.
- the quantization parameter (initial value of the quantization parameter) of the first macroblock is determined as follows. That is, it is used for each macroblock of a frame that is intra-frame encoded before one intra-frame encoding period.
- the average of the quantization parameters is obtained and the integer is calculated, and this is set as the initial value of the quantization parameter of the frame.
- the generated code amount in the frame before the encoding period in one frame detected by the code amount detection unit 5 and the target code amount of the frame before the encoding period in the one frame are detected.
- the initial value of the quantization parameter is corrected. That is, if the generated code amount of the frame before the encoding cycle in one frame is larger than the target code amount. For example, a correction for reducing the quantization parameter is corrected, and a correction for increasing the quantization parameter is added if the generated code amount of the frame before the intra-frame coding cycle is smaller than the target code amount.
- a quantization parameter is initialized.
- a predetermined quantization parameter is used as an initial value.
- the initial value of the quantization parameter may be determined in the same manner as in the case of the intra-frame coding performed periodically as described above.
- the target code amount QU supplied from the frame target code amount setting unit 6, the target code amount of the previous frame, and the quantization parameter of the previous frame are used. To determine and output the quantization parameter.
- the encoding control unit 9 determines a quantization parameter for each macro block based on the quantization parameter thus determined, and instructs the encoder 3 on the quantization parameter.
- the encoder 3 When the encoder 3 is instructed to skip a frame by the encoding controller 9, the encoder 3 does not encode the frame.
- the encoder 3 also performs intra-frame encoding when instructed by the encoding controller 9 to perform intra-frame encoding, and performs inter-frame encoding when not instructed by intra-frame encoding. .
- the encoder 3 further performs quantization using the quantization parameter specified by the encoding control unit 9.
- the coding control unit 9 and the coder 3 code the moving image supplied via the switch 2 based on intra-frame coding or inter-frame coding to quantize DCT coefficients.
- the dangling means 10 is configured.
- the coding method and the coding method are determined by comparing the inter-frame variation amount VA with the threshold values TW and TV (TW, TV is an integer, TW ⁇ TV> 0).
- the quantization parameter is determined, and the necessity of frame skip insertion is determined.
- the inter-frame change amount VA is equal to or greater than the second threshold value TW (in this case, equal to or greater than the first threshold value TV in this example) and the provisional target code amount QT is less than the predetermined threshold value TM. If, the frame skip is performed, the intra-frame encoding is performed in the next frame, and the quantization Initialize the parameters.
- inter-frame change amount VA is equal to or greater than the first threshold value TV
- the inter-frame change amount VA is less than the second threshold value TW
- the provisional target code amount QT is equal to or greater than the threshold value TM.
- the target code amount is increased and inter-frame encoding is performed.
- inter-frame change amount VA is less than the first threshold TV
- inter-frame coding is performed without performing frame skipping or increasing the target code amount.
- N 1, and the frame before N frames is simply called the previous frame.
- Step S1 the previous frame and the current frame are stored in the frame memory 1 (Step S1).
- the input image analysis unit 7 detects an inter-frame variation VA between the current frame and the previous frame, and thereby quantitatively determines the difference between the frames. Then, the number of frame skip insertions NA is set and output based on the detected inter-frame variation VA (step S2). That is, if the inter-frame change amount VA is equal to or greater than the first threshold TV, the frame skip insertion number NA is set to “1”.
- the frame target code amount setting unit 6 calculates a provisional target code amount (can be used in the current frame) from the predetermined reference code amount QR, the target code amount QU of the previous frame, and the code amount QB actually generated. And the interim frame variation amount VA is taken into consideration for the obtained tentative target code amount, and if the tentative target code amount is smaller than a predetermined value, frame skipping is considered, and frame skipping is performed.
- the number of insertions NB is set (step S3). That is, if the inter-frame change amount VA is equal to or greater than the second threshold value TW and the provisional target code amount QT is less than the threshold value TM, the frame skip insertion count NB is set to “1”.
- step S4 by combining the frame skip insertion number NA calculated in step S2 and the frame skip insertion number NB calculated in step S3 into the frame skip control unit 8,! Set SK (step S4).
- the frame target code amount setting unit 6 and the coding control unit 9 determine the inter-frame change amount VA and the provisional target code amount QT based on the determination results. Based on this, control of the target code amount, determination of the necessity of extra charge, and the like are performed (steps S5 and S6). If the inter-frame change amount VA is less than the first threshold TV (NO in step S5), it is considered that the inter-frame change amount of the video is small, so it is not necessary to increase the code amount by inter-frame coding. There is no.
- a new quantization parameter is set based on the target code amount determined by the frame target code amount setting unit 6 with reference to the quantization parameter used in the previous frame. Then, the inter-frame coding is performed on the current frame by the coding unit 10 (step S12).
- the bit stream subjected to inter-frame coding by the coding unit 10 is stored in the buffer 4 (step S13), and the code amount detection unit 5 detects the code amount QB (step S14).
- step S5 The condition that the inter-frame change amount VA is equal to or larger than the first threshold value TV is satisfied (YES in step S5), but the force at which the inter-frame change amount VA is less than the second threshold value TW, If the target code amount QT is equal to or larger than the threshold value TM (NO in step S6), the code amount is added to the current frame, and based on the added target code amount, the quantization used in the previous frame is further performed. Referring to the parameters, inter-frame coding is performed (step S9). The amount of coding is increased because the amount of change in video between frames is large.
- the inter-frame encoded bit stream is stored in a buffer (step S10), the code amount QB is detected (step S11), the processing of the current frame is terminated, and the encoding processing of the next frame is performed. move on.
- the frame skip control is performed as described above. Since the frame skip insertion enable / disable information SK output from the unit 8 is “1”, based on this, the encoding unit 10 skips the encoding of the frame and does not perform the encoding process (step S7). ).
- the quantization parameter is set to a predetermined initial value without referring to the quantization parameter used in the previous frame, and intra-frame encoding is performed (step S8). .
- the necessity of frame skip insertion is determined in accordance with the inter-frame change amount VA, and a frame skip is intentionally generated according to the determination result, and the coding of the frame is not performed.
- the frame target code amount scheduled to be assigned is added to the frame target code amount scheduled to be assigned to the skipped frame, and code skipping with less image quality degradation is performed on the skipped frame.
- the number of frame skip insertions NA is not limited to “1”, and the number may be increased or decreased according to the magnitude of the inter-frame variation VA. Also, the number NB of frame skip insertions is not limited to “1”, and the number is increased or decreased according to the size of the provisional target code amount QT.
- the frame target code amount that is scheduled to be assigned to the skipped frame can be added to all the frames immediately after the skip so that the coding can be performed. Furthermore, the code amount can be evenly distributed and added over the frame number frame immediately after the skip. Also, the frame power immediately after skipping over several frames can be distributed and added with a different code amount for each frame. At this time, in consideration of the output of the input image analysis unit 7, a larger code amount can be distributed when the inter-frame change amount VA is large.
- a series of frames input through the input terminal 11 by a higher-level control system (not shown) that controls and controls each unit of the video encoding device 100 according to the first embodiment is sequentially stored in the frame memory 1.
- a higher-level control system (not shown) that controls and controls each unit of the video encoding device 100 according to the first embodiment is sequentially stored in the frame memory 1.
- the state where the current frame and the previous frame are stored in the areas lb and la, respectively, is maintained (step SI).
- the continuous current frame and the previous frame stored in the frame memory 1 are input to the input image analysis unit 7, and the change amount of the feature amount between both frames is calculated by the change amount extraction unit 22 in FIG.
- the detected and detected inter-frame change amount VA is compared with a first threshold value TV set in advance in the comparator 24, and based on the result, a frame skip insertion number NA is set.
- Output Step S2
- an inter-frame luminance change average is used for detecting the inter-frame change amount VA. Specifically, attention is paid only to the luminance signal between consecutive frames, the absolute value of the difference is calculated for each pixel, and the sum of all pixels is calculated to obtain the inter-frame variation VA.
- the detection of the continuous inter-frame change amount VA is not limited to the above method.
- the inter-frame change amount VA may be detected by, for example, a color signal.
- the frame to be compared with the current frame may be a plurality of frames. It is also possible to use screen characteristic values such as error variance between frames and the maximum, minimum, and median signal values within the screen. Also, the calculation of the amount of change between consecutive frames is performed for the entire screen. The screen is not limited to this, and the screen may be divided into several parts, and the calculation may be performed within the divided small areas and compared. . In addition, all of these inter-frame change detection methods may be combined, and in these combinations, a method of comparing the inter-frame change amount with a threshold value by a majority decision as to whether or not each method is applicable.
- a method of comparing the amount of change between frames with a threshold by a majority decision as to whether or not the method is applied a method of comparing the amount of change between frames VA with a threshold by a predetermined number or more, and a method of a specific method
- There are methods for comparing the amount of change between frames with a threshold and these methods are also included in the present invention.
- the frame target code amount setting unit 6 tentatively determines the target code amount QT of the current frame from the predetermined reference code amount QR and the code amount QB of the previous frame detected by the code amount detection unit 5. decide.
- an additional amount is determined by taking into account the inter-frame change amount VA obtained from the input image analysis unit 7 to determine the final target code amount. Further, it determines whether to perform a frame skip and outputs the frame skip insertion number NB to the frame skip control unit 8.
- the encoding controller 9 calculates a quantization parameter from the target code amount, and outputs the quantization parameter and the encoding method to the encoder 3 (step S3).
- the number of frame skip insertions NB is output as “1”.
- the setting of the number of frame skip insertions NB is not limited to the above-described method, and the number of frame skip insertions NB may be changed according to the magnitude of the inter-frame variation VA.
- step S4 the number of frame skip insertions NA output in step S2 and the number of frame skip insertions NB output in step S3 are input to the frame skip control unit 8, and the frame skip control unit 8 determines whether or not frame skip insertion is possible.
- the input image analysis unit 7 sends the frame skip insertion number NA to the frame skip control unit 8 as “ Output as "0" (step S2). Further, the frame target code amount setting unit 6 which has received the inter-frame change amount VA smaller than the first threshold TV from the input image analysis unit 7 receives the target amount based on the code amount QB of the previous frame from the code amount detection unit 5. The code amount is obtained, the obtained target code amount is transmitted to the encoding control unit 9, and the number NB of frame skip insertions is output to the frame skip control unit 8 as "0" (step S3).
- the encoding control unit 9 determines a quantization parameter based on the target code amount from the frame target code amount setting unit 6 and further refers to the previous frame, and sends the encoding method and the quantization method to the encoder 3.
- the encoding parameters are output, and the encoder 3 performs inter-frame encoding of the current frame according to the parameters (step S12).
- the notifier 4 outputs the coded bit stream (step S13), the code amount detector 5 detects the code amount QB of the bit stream received from the buffer 4, and outputs the detected value to the next buffer. It is output to the frame target code amount setting unit 6 as a detected code amount detection value for controlling the code amount in the frame coding (step S14).
- the inter-frame variation VA is less than the second threshold TW.
- the provisional target code amount QT is equal to or larger than the threshold value TM.
- the input image analysis unit 7 outputs the number of frame skip insertions NA to “1” to the frame skip control unit 8 (step S2).
- the amount is transmitted to the encoding control unit 9 and the number NB of frame skip insertions is output to the frame skip control unit 8 as “0” (step S3).
- the coding control unit 9 determines a quantization parameter based on the target code amount from the frame target code amount setting unit 6 and further refers to the previous frame, and sends the coding method and the quantization
- the encoding parameters are output, and the encoder 3 performs inter-frame encoding of the current frame according to the parameters (step S9).
- the notifier 4 outputs the encoded bit stream (step S10), the code amount detector 5 detects the code amount QB of the bit stream received from the buffer 4, and outputs the detected value to the next frame. It is output to the frame target code amount setting unit 6 as information for controlling the code amount in the coding process (step S11).
- the inter-frame change amount VA is larger than the second threshold value TW (in this example, TW> TV, so that if VA ⁇ TW, then VA> TV), and A description will be given when the target code amount QT is less than the threshold value TM.
- the input image analysis unit 7 Since the inter-frame variation VA is larger than the first threshold TV, the input image analysis unit 7 The number of frame skip insertions NA is output as “1” to the one-time skip control unit 8 (step S2).
- the frame target code amount setting unit 6 that receives the inter-frame change amount VA from the input image analysis unit 7 determines that the inter-frame change amount VA is larger than the second threshold value TW and the provisional target code amount QT is less than the threshold value TM. Therefore, the number NB of frame skip insertions is output as “1” to the frame skip control unit 8 (step S3).
- the encoding controller 9 causes the encoder 3 to perform frame skip without outputting the encoding method and the quantization parameter (step S7), and prepares for encoding of the next frame. (Step S8). Then, regarding the encoding of the next frame, an intra-frame encoding is instructed, and the quantization parameter is initialized (for example, without referring to the code amount QB of the previous frame input from the code amount detection unit 5). Is set to a predetermined initial value.
- the input image analysis unit 7 does not calculate the inter-frame variation amount VA, and the frame skip control unit 8 outputs “0” as the frame skip insertion enable / disable information SK. Then, switch 2 is turned on. Then, using the encoding method set in the previous frame, which is the output of the encoding control unit 9 (instructing intra-frame encoding), and the initially set quantization parameter, the encoder 3 will perform the encoding process.
- the notifier 4 outputs the encoded bit stream
- the code amount detection unit 5 detects the code amount QB of the bit stream received from the buffer 4, and outputs the detected value to the code in the code frame of the next frame.
- the method of determining the number of frame skip insertions NA, the number of frame skip insertions NB, and the frame skip insertion availability information SK is not limited to the above method.
- the number of frame skip insertions NA is Therefore, the number of times may be set in multiple stages based on the force between frames that takes “0” or “1”. That is, the number of frame skip insertions NA may be increased or decreased according to the magnitude of the inter-frame variation VA.
- the number of frame skip insertions NB is “0” by combining the inter-frame change amount VA and the provisional target code amount QT, or the force inter-frame change amount VA is set to “1”. Based on the combination with the provisional target code amount QT, the number of times of frame skip insertion may be set in multiple stages (one of a plurality of values is selected). Further, the number NB of frame skip insertions may be increased or decreased according to the size of the provisional target code amount QT. In addition, the number of frame skip insertions NA is always assumed to be “0”, and only the frame skip insertion number NB may be used, or vice versa. You can use!
- the average value of the number of frame skip insertions NA and the number of frame skip insertions NB was calculated and rounded down to the decimal point. It is also possible to perform a logical OR operation or the like by limiting the number of frame skip insertions NA and NB to “0” or “1”. These are all included in the present invention.
- FIG. 7 and 9 show an example of a frame sequence including a plurality of frames, an inter-frame variation VA with respect to a previous frame in the frame sequence, and an encoding method determined for each frame.
- FIG. 8 and FIG. 10 show the target code amount at each time point of the frame sequence as a bar-drag, together with the coding method.
- the inter-frame variation VA is 0 Zpixel, which is less than the first threshold TV.
- the inter-frame coding is performed with the frame target code amount without extra (the target target code amount without extra as the final target code amount).
- the inter-frame variation VA force OZpixel is equal to or higher than the first threshold TV and lower than the second threshold TW.
- the code amount is increased, and inter-frame coding is performed.
- the inter-frame coding is performed by doubling the frame target code amount.
- the inter-frame variation VA is lOZpixel, which is less than the first threshold TV.
- the encoding is performed by the normal processing, the deterioration of the image quality is small. Therefore, as shown in FIG. 8, in the same frame, inter-frame coding is performed with a frame target code amount without extra charge.
- the inter-frame variation VA is 15Zpixel, which is less than the first threshold TV. In this case, even if the encoding is performed by the normal processing, the deterioration of the image quality is small. Therefore, as shown in FIG. 8, in the same frame, inter-frame coding is performed with a frame target code amount without extra charge.
- the inter-frame variation VA is 15Zpixel, which is less than the first threshold TV. In this case, even if the encoding is performed by the normal processing, the deterioration of the image quality is small. Therefore, as shown in FIG. 8, in the same frame, inter-frame coding is performed with a frame target code amount without extra charge.
- the inter-frame variation VA is 15Zpixel, which is less than the first threshold TV. In this case, even if the encoding is performed by the normal processing, the deterioration of the image quality is small. Therefore, as shown in FIG. 10, in the same frame, inter-frame coding is performed with a frame target code amount without extra charge.
- the inter-frame variation VA is 15Zpixel, which is less than the first threshold TV. In this case, even if the encoding is performed by the normal processing, the deterioration of the image quality is small. Therefore, as shown in FIG. 10, in the same frame, inter-frame coding is performed with a frame target code amount without extra charge.
- the inter-frame change amount VA is lOOZpixel, which is equal to or greater than the second threshold value TW.
- the code amount at this time is transferred to the next frame without performing the encoding process.
- the code amount is “0” in the same frame.
- the quantization parameter is set to a predetermined initial value, and intra-frame encoding is performed.
- the correlation between the next frame after the frame where the inter-frame change amount VA is large and the previous frame is low, and it is not necessary to refer to the quantization parameter of the past frame. Then, an appropriate quantization parameter is given to the next frame, and intra-frame encoding is performed, thereby performing encoding with little deterioration in image quality.
- intra-frame coding requires a larger amount of code than inter-frame coding. Since the frame skip was intentionally performed in the previous frame, the available code amount has not decreased, and The code amount can be added to the encoding of the next frame, and a sufficient code amount can be allocated so that the deterioration of the image quality is reduced even if the intra-frame encoding is performed in the next frame.
- the inter-frame variation VA is lOZpixel, which is less than the first threshold TV. In this case, even if the encoding is performed by the normal processing, the deterioration of the image quality is small. Therefore, as shown in FIG. 10, in the same frame, inter-frame coding is performed with a target code amount without extra charge.
- the inter-frame variation VA force is 0Zpixel, which is equal to or higher than the first threshold TV and lower than the second threshold TW. In this case, it is necessary to perform an encoding process using a larger code amount than usual to suppress image quality deterioration. Therefore, in the same frame, the code amount is increased, and inter-frame coding is performed. For example, as shown in FIG. 10, the inter-frame coding is performed by doubling the frame target code amount.
- the thresholds for the inter-frame change amount VA are set in the order of the threshold from the lowest to the first through the second.
- the threshold values Ta, Tb, Tc, and Td of 4 are set, and if the inter-frame change amount VA is less than the first threshold value Ta, inter-frame coding is performed with a code amount without extra charge. If it is less than the second threshold value Tb, the coding amount is increased and inter-frame coding is performed. If it is equal to or more than the second threshold value Tb and less than the third threshold value Tc, the quantization parameter is initialized and the intra-frame coding is performed.
- the frame skip number is set to "1", if the fourth threshold Td or more, the frame skip number is set to "3", etc.
- the configuration is different from the one described above.
- a threshold value setting for the inter-frame change amount VA a plurality of threshold values may be prepared and selected for each frame. Furthermore, by changing the setting of the threshold value every several frames, it is also possible to use an appropriate threshold value every several frames.
- the quantization parameter is set to a predetermined initial value without referring to the quantization parameter used in the previous frame, and intraframe coding is performed.
- the quantization parameter is reduced to prevent the image quality from deteriorating.
- the code amount increases.
- the code amount of the previous frame is Obit, and the code amount allocated in the previous frame can be used in addition to the code amount allocated in the current frame. Even if the code is inserted, the overall code amount does not increase, and the deterioration of the image quality is small.
- the video is discontinuous with a large inter-frame variation VA, and the video does not look unnatural even if frame skipping is performed.
- inter-frame encoding is performed while periodically inserting intra-frame encoding.
- frame skipping is intentionally introduced using the inter-frame change amount VA as an index to perform encoding with less image quality degradation.
- Embodiment 1 when encoding a frame, if the inter-frame variation amount VA is large, a frame skip is intentionally generated, and the frame is skipped without encoding the frame. Since the frame target code amount scheduled to be allocated to the frame can be reduced to the frame target code amount planned to be allocated to the skipped frame, a sufficient code amount is required for the skipped frame. This makes it possible to perform coding with little deterioration in image quality, thereby achieving stable image quality and code amount control. [0108] Also, as described above, the number of frame skip insertions NA and the number of frame skip insertions NB can be set in multiple stages other than "1" or "0".
- the frame target code amount setting unit 6 For example, in the frame target code amount setting unit 6, Then, based on the temporarily determined target code amount QT, the number of frame skip insertions NB is determined to be one of multiple values, and the frame skip control means 8 sets the determined number of frame skip insertions NB to one. If the content of the frame skip insertion enable / disable information is determined so that the frame skip is performed based on the frame skip, the number of frame skips can be increased or decreased according to the value of the provisionally determined target code amount. Code amount control can be realized.
- the input image analysis means 7 determines the number of frame skip insertions NA to one multi-valued medium value based on the detected inter-frame change amount VA, and the frame skip control means 8 If the content of the frame skip insertion enable / disable information SK is determined so that the frame skip is performed based on the determined number of frame skip insertions NA, the frame skip is determined according to the value of the inter-frame variation (VA). The number of times can be increased or decreased, and stable image quality and code amount control can be realized.
- the frame target code amount setting section 6 sets the inter-frame change amount VA to be smaller than the first threshold value TV. If a larger amount of code is allocated as compared with the case where the code size is also small, coding can be performed with less deterioration in image quality, and as a result, stable image quality and code amount control can be realized.
- FIG. 12 shows the configuration of the moving picture coding apparatus according to the second embodiment.
- the device in FIG. 12 is generally the same as the device in FIG. 1, but the configurations of the input image analysis unit 7 and the frame skip control unit 8 are different.
- FIG. 13 shows a configuration of the input image analysis unit 7 of FIG.
- the input image analysis unit 7 shown in FIG. 13 is also capable of detecting the intra-frame complexity FH.
- the input image analysis unit 7 shown in FIG. A terminal 25, an input terminal 26 for inputting the current frame image, an N-frame previous image input from the input terminal 25, and a change amount between the current frame image input from the input terminal 26 are extracted.
- the change amount extraction unit 22, a threshold value setting unit 23 for setting a first threshold TV, and the change amount extraction unit 22 calculates the inter-frame change amount VA whose power is also output by the first threshold value set by the threshold value setting unit 23. It has a comparator 24 that outputs the number of frame skip insertions NA compared to TV, an output terminal 27 that outputs the number of frame skip insertions NA, and an output terminal 28 that outputs the inter-frame variation VA.
- the input image analysis unit 7 shown in FIG. 13 further includes a complexity extraction unit 51 for extracting the complexity FH of the current frame image input from the input terminal 26, and a threshold setting for setting a threshold (complexity threshold) TH.
- Unit 52 and compares the intra-frame complexity output from the complexity extraction unit 51 with the threshold TH output from the threshold setting unit 52, and outputs the number of frame skip insertions NC.
- the frame skip insertion number NA output from the comparator 53 and the frame skip insertion number NC output from the comparator 53 are input, and the frame skip insertion number ND is determined and output based on the input.
- an output terminal 29 for outputting the number ND of frame skip insertions.
- the number of frame skip insertions NA output from the output terminal 27 and the number of frame skip insertions ND output to the output terminal 29 are supplied to the frame skip control unit 8.
- the complexity extraction unit 51 of FIG. 13 includes an input terminal 71, an edge extraction unit 72, a sum operation unit 73, an average operation unit 74, and an output terminal 75. Prepare.
- the edge extraction unit 72 extracts an edge of the current frame image input from the input terminal 71. That is, the presence or absence of an edge is detected for each pixel.
- the sum adder 73 adds the edge extracted by the edge extractor 72 as an input. That is, the number of pixels detected as edges is obtained.
- the average calculator 74 divides the total number of edges output from the sum calculator 73 by the number of pixels in the frame, and outputs a value obtained by multiplying the result by 100. The reason for multiplying by 100 is to make the value easy to handle.
- the value output from the averaging unit 74 represents the ratio of the edges included in the current frame, that is, a value proportional to the number of edges per pixel (a value obtained by multiplying the number of edges per pixel by 100). This is output from the output terminal 75 as a signal indicating the intra-frame complexity FH.
- the frame power is temporarily stored in the frame memory 1 input by a higher-level control system that integrally controls each unit of the video encoding device 100.
- the continuous current frame and the previous frame stored in the frame memory 1 are input to the input image analysis unit 7, the amount of change in the feature amount between both frames is detected, and the number of frame skip insertions NA is calculated. And outputs it from the output terminal 27 to the frame skip control unit 8. Further, the complexity extraction unit 51 detects the intra-frame complexity FH for the current frame, and obtains the number of frame skip insertions NC. The frame skip insertion number provisional determination unit 54 determines the frame skip insertion number ND based on the frame skip insertion number NA and the frame skip insertion number NC, and outputs the frame skip insertion number ND from the output terminal 29 to the frame skip control unit 8.
- Embodiment 2 uses the number of edges included in one pixel of the current frame image for the luminance signal. For example, the chrominance signal is used without using the luminance signal. After performing detection processing on multiple small areas that can be detected within a small area that occupies a part of the frame, and then combining them (for example, by averaging), Can be considered. There are various methods for evaluating the intra-frame complexity, such as calculating the variance of the image and evaluating the high frequency range of the DCT coefficient.
- the intra-frame complexity FH is equal to or larger than the threshold TH (TH ⁇ 0, TH is an integer) and the inter-frame variation VA is equal to or larger than the first threshold TV
- the number of frame skip insertions ND is set to “1”
- a frame skip is intentionally generated for the current frame to perform frame coding.
- the frame target code amount scheduled to be allocated to the skipped frame is reduced to the frame target code amount scheduled to be allocated to the skipped frame. For this, intra-frame coding is applied to perform coding with little image quality degradation.
- Embodiment 2 if the number ND of frame skip insertions from the input image analysis unit 7 is "1", the frame skip control unit 8 determines the number of frame skip insertions from the frame target code amount setting unit 6. Regardless of the value of NB, the frame skip insertion enable / disable information SK is set to “1” and the frame is Make skips.
- the intra-frame complexity FH is not greater than or equal to the threshold value TH, the same encoding as in Embodiment 1 is performed. That is, the frame skip control unit 8 is described in Embodiment 1 based on the number of frame skip insertions NA from the input image analysis unit 7 and the number of frame skip insertions NB from the frame target code amount setting unit 6. A similar decision is made to skip the frame.
- the threshold TH for the intra-frame complexity FH is set to 20.
- the inter-frame variation VA is 15Zpixel and the intra-frame complexity FH, which is smaller than the threshold TV, is 3Zpixel and smaller than the threshold TH.
- the encoding is performed by the normal processing, the deterioration of the image quality is small. Therefore, as shown in FIG. 15, in the same frame, inter-frame coding is performed with a frame target code amount without extra charge.
- the inter-frame variation VA is 15Zpixel, which is smaller than the threshold TV
- the intra-frame complexity FH is 5Zpixel, which is smaller than the threshold TH.
- the inter-frame variation is equal to or greater than the second threshold TV at lOOZpixel, and the intra-frame complexity FH is 25Zpixel and is equal to or greater than the threshold TH.
- the frame skip is intentionally performed, and the encoding process is not performed, and the code amount at this time is transferred to the next frame.
- the code amount is “0” in the same frame.
- the intra-frame coding requires a larger code amount than the inter-frame coding, and the available code amount does not decrease because the frame skip was intentionally performed in the previous frame.
- the amount can be allocated to the encoding of the next frame, and a sufficient amount of code can be allocated so that the deterioration of the image quality is small even if the intra-frame encoding is performed in the next frame.
- the inter-frame variation VA is lOZ pixels, which is smaller than the threshold TV.
- the intra-frame complexity FH is also 15 / pixel, which is smaller than the threshold TH. In this case, even if the encoding is performed by the normal processing, the image quality degradation is small. Therefore, as shown in FIG. 15, in the same frame, inter-frame coding is performed with a frame target code amount without extra charge.
- the inter-frame change amount VA force OZpixel is equal to or more than the first threshold TV and less than the second threshold TW, and the intra-frame complexity FH is set to 20Zpixel and the threshold TH. Is over. In this case, unless a code amount larger than usual is used, it is considered that image quality degradation occurs. Therefore, as shown in FIG. 15, the inter-frame coding is performed by increasing the code amount to, for example, twice the normal amount.
- the threshold value TH in the intra-frame complexity FH an appropriate value can be selected for a frame that does not have a limited value. It is also possible to set the threshold value TH in multiple stages to increase or decrease the number of frame skip insertions.
- the time point T Ic takes a small value because of the quantization parameter used for intra-frame coding inserted periodically. That is, fine quantization is performed, and the code amount increases.
- the parameter is increased. In other words, coarse quantization is performed and the code amount is small. Also, the quantization parameter is obtained by referring to the quantization parameter used in the previous frame.
- the quantization parameter is set to a predetermined initial value without referring to the quantization parameter used in the previous frame, and intraframe coding is performed.
- the quantization parameter is reduced to prevent the image quality from deteriorating.
- the code amount increases.
- the code amount QB of the previous frame is Obit, and the code amount allocated in the previous frame can be used in addition to the code amount allocated in the current frame.
- the intra-frame coding is inserted, the overall code amount does not increase, and the image quality does not deteriorate much.
- the inter-frame variation VA is large and is a discontinuous image, and even if the frame skip is performed, the image does not become unnatural.
- the quantization parameter is similarly controlled to perform encoding.
- Embodiment 2 when encoding a frame, if frame-to-frame variation VA is larger than the threshold and intra-frame complexity FH is larger than the threshold, frame skipping is intentionally performed.
- the frame target code amount that is scheduled to be assigned to the skipped frame without performing coding of the frame is changed to the target frame code amount that is scheduled to be assigned to the skipped frame. Since it can be added, the effect described in the first embodiment can be added, and the code can be encoded with less image quality degradation on the skipped frame. As a result, a stable image quality can be obtained. Code amount control can be realized.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Algebra (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
Claims
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004-152915 | 2004-05-24 | ||
JP2004152915A JP3889013B2 (ja) | 2004-05-24 | 2004-05-24 | 動画像符号化装置及び動画像符号化方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2005115008A1 true WO2005115008A1 (ja) | 2005-12-01 |
Family
ID=35428690
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2005/000645 WO2005115008A1 (ja) | 2004-05-24 | 2005-01-20 | 動画像符号化装置 |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP3889013B2 (ja) |
WO (1) | WO2005115008A1 (ja) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100463526C (zh) * | 2006-12-11 | 2009-02-18 | 陈耀武 | 视频延时自适应矫正的解码装置 |
CN111193927A (zh) * | 2018-11-14 | 2020-05-22 | 腾讯科技(深圳)有限公司 | 编码数据处理方法、装置、计算机设备和存储介质 |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008236333A (ja) * | 2007-03-20 | 2008-10-02 | Toshiba Corp | 映像符号化装置及び映像符号化方法 |
JP5342391B2 (ja) * | 2009-09-25 | 2013-11-13 | 株式会社メガチップス | 画像処理装置 |
JP5451487B2 (ja) * | 2010-03-31 | 2014-03-26 | 株式会社メガチップス | 画像符号化装置 |
JP6066561B2 (ja) * | 2012-01-26 | 2017-01-25 | キヤノン株式会社 | 映像処理装置、映像処理方法およびプログラム |
JP5635673B2 (ja) * | 2013-12-05 | 2014-12-03 | 株式会社メガチップス | 画像符号化装置 |
WO2016002140A1 (ja) * | 2014-07-03 | 2016-01-07 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | 画像符号化方法、画像復号方法、画像符号化装置及び画像復号装置 |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0479587A (ja) * | 1990-07-20 | 1992-03-12 | Kokusai Denshin Denwa Co Ltd <Kdd> | 可変レートビデオ符号化制御方式 |
JPH04262694A (ja) * | 1991-02-15 | 1992-09-18 | Graphics Commun Technol:Kk | 画像信号符号化装置 |
JPH06268997A (ja) * | 1993-03-16 | 1994-09-22 | Olympus Optical Co Ltd | 動画像圧縮装置 |
JPH09168155A (ja) * | 1995-12-15 | 1997-06-24 | Kokusai Denshin Denwa Co Ltd <Kdd> | 可変フレームレート動画像符号化方法 |
JPH1023433A (ja) * | 1996-06-27 | 1998-01-23 | Sanyo Electric Co Ltd | 目標符号量計算装置及び符号量制御装置 |
JPH10229561A (ja) * | 1997-02-13 | 1998-08-25 | Nippon Telegr & Teleph Corp <Ntt> | 画像符号化制御方法 |
JPH11122612A (ja) * | 1997-10-17 | 1999-04-30 | Kdd | 動画像の圧縮符号化装置 |
JP2002101418A (ja) * | 2000-09-25 | 2002-04-05 | Canon Inc | 画像符号化装置及び方法並びに記憶媒体 |
JP2003153259A (ja) * | 2001-11-13 | 2003-05-23 | Kddi Corp | 動画像圧縮符号化レート制御装置 |
-
2004
- 2004-05-24 JP JP2004152915A patent/JP3889013B2/ja not_active Expired - Fee Related
-
2005
- 2005-01-20 WO PCT/JP2005/000645 patent/WO2005115008A1/ja not_active Application Discontinuation
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0479587A (ja) * | 1990-07-20 | 1992-03-12 | Kokusai Denshin Denwa Co Ltd <Kdd> | 可変レートビデオ符号化制御方式 |
JPH04262694A (ja) * | 1991-02-15 | 1992-09-18 | Graphics Commun Technol:Kk | 画像信号符号化装置 |
JPH06268997A (ja) * | 1993-03-16 | 1994-09-22 | Olympus Optical Co Ltd | 動画像圧縮装置 |
JPH09168155A (ja) * | 1995-12-15 | 1997-06-24 | Kokusai Denshin Denwa Co Ltd <Kdd> | 可変フレームレート動画像符号化方法 |
JPH1023433A (ja) * | 1996-06-27 | 1998-01-23 | Sanyo Electric Co Ltd | 目標符号量計算装置及び符号量制御装置 |
JPH10229561A (ja) * | 1997-02-13 | 1998-08-25 | Nippon Telegr & Teleph Corp <Ntt> | 画像符号化制御方法 |
JPH11122612A (ja) * | 1997-10-17 | 1999-04-30 | Kdd | 動画像の圧縮符号化装置 |
JP2002101418A (ja) * | 2000-09-25 | 2002-04-05 | Canon Inc | 画像符号化装置及び方法並びに記憶媒体 |
JP2003153259A (ja) * | 2001-11-13 | 2003-05-23 | Kddi Corp | 動画像圧縮符号化レート制御装置 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100463526C (zh) * | 2006-12-11 | 2009-02-18 | 陈耀武 | 视频延时自适应矫正的解码装置 |
CN111193927A (zh) * | 2018-11-14 | 2020-05-22 | 腾讯科技(深圳)有限公司 | 编码数据处理方法、装置、计算机设备和存储介质 |
US11431993B2 (en) | 2018-11-14 | 2022-08-30 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for processing encoded data, computer device, and storage medium |
CN111193927B (zh) * | 2018-11-14 | 2022-09-23 | 腾讯科技(深圳)有限公司 | 编码数据处理方法、装置、计算机设备和存储介质 |
Also Published As
Publication number | Publication date |
---|---|
JP3889013B2 (ja) | 2007-03-07 |
JP2005340896A (ja) | 2005-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100391027B1 (ko) | 비디오정보를예측부호화하는방법및장치 | |
KR100335052B1 (ko) | 프레임 레벨 속도 제어 방법 | |
KR100720842B1 (ko) | 비디오 코딩 방법 및 대응 비디오 코더 | |
US6956899B2 (en) | Precise bit control apparatus with look-ahead for MPEG encoding | |
WO2005115008A1 (ja) | 動画像符号化装置 | |
JP2000078588A (ja) | 動画像符号化装置 | |
EP1359764A2 (en) | Video encoding method with fading compensation | |
US7095784B2 (en) | Method and apparatus for moving picture compression rate control using bit allocation with initial quantization step size estimation at picture level | |
US6748114B1 (en) | Moving picture encoding method and moving picture encoding apparatus | |
JPH09154143A (ja) | ビデオデータ圧縮方式 | |
US8290041B2 (en) | Communication terminal | |
EP3073737B1 (en) | Video coding device, video coding program, video coding method, and video coding and decoding system | |
JP4073444B2 (ja) | 動画像符号化装置 | |
US7751474B2 (en) | Image encoding device and image encoding method | |
JPH10229563A (ja) | 動画像符号化方法、及び動画像符号化装置 | |
US7133448B2 (en) | Method and apparatus for rate control in moving picture video compression | |
US20040233984A1 (en) | Apparatus for variable bit rate control in video compression and target bit allocator thereof | |
US6922490B2 (en) | Image compression of selected regions based on transmission bit rate, motion, and/or region information, and bit selection before compression based on transmission bit rate | |
JP4399794B2 (ja) | 画像符号化装置及び画像符号化方法 | |
KR100613732B1 (ko) | 디지털 영상압축 시스템 및 그 방법 | |
KR20010104058A (ko) | 동영상 부호화기의 부호화 모드에 따른 적응적 양자화기 | |
JPH10224779A (ja) | 動画像のシーン変化検出方法及び装置 | |
US7327892B2 (en) | JPEG2000 encoder | |
JP4100067B2 (ja) | 画像情報変換方法及び画像情報変換装置 | |
GB2393060A (en) | Manipulation of video compression |
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 KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA 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): 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 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 | ||
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWW | Wipo information: withdrawn in national office |
Country of ref document: DE |
|
122 | Ep: pct application non-entry in european phase | ||
NENP | Non-entry into the national phase |
Ref country code: JP |
|
WWW | Wipo information: withdrawn in national office |
Country of ref document: JP |