[go: up one dir, main page]

WO1998026599A1 - Procede et dispositif de codage d'image numerisee et procede de transmission d'image numerisee - Google Patents

Procede et dispositif de codage d'image numerisee et procede de transmission d'image numerisee Download PDF

Info

Publication number
WO1998026599A1
WO1998026599A1 PCT/JP1997/004595 JP9704595W WO9826599A1 WO 1998026599 A1 WO1998026599 A1 WO 1998026599A1 JP 9704595 W JP9704595 W JP 9704595W WO 9826599 A1 WO9826599 A1 WO 9826599A1
Authority
WO
WIPO (PCT)
Prior art keywords
encoding
video
video data
rate
programs
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/JP1997/004595
Other languages
English (en)
French (fr)
Inventor
Nobuhisa Obikane
Kanji Mihara
Takuya Kitamura
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to DE69735307T priority Critical patent/DE69735307T2/de
Priority to US09/117,940 priority patent/US6243417B1/en
Priority to EP97947927A priority patent/EP0888009B1/en
Publication of WO1998026599A1 publication Critical patent/WO1998026599A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/24Systems for the transmission of television signals using pulse code modulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/2365Multiplexing of several video streams
    • H04N21/23655Statistical multiplexing, e.g. by controlling the encoder to alter its bitrate to optimize the bandwidth utilization
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/115Selection of the code volume for a coding unit prior to coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods 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/136Incoming video signal characteristics or properties
    • H04N19/137Motion inside a coding unit, e.g. average field, frame or block difference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods 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/136Incoming video signal characteristics or properties
    • H04N19/14Coding unit complexity, e.g. amount of activity or edge presence estimation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/17Methods 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/176Methods 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 block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/18Methods 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 a set of transform coefficients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods 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/146Data rate or code amount at the encoder output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods 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/146Data rate or code amount at the encoder output
    • H04N19/149Data 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods 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/146Data rate or code amount at the encoder output
    • H04N19/15Data rate or code amount at the encoder output by monitoring actual compressed data size at the memory before deciding storage at the transmission buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods 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/146Data rate or code amount at the encoder output
    • H04N19/152Data rate or code amount at the encoder output by measuring the fullness of the transmission buffer

Definitions

  • Video data encoding apparatus and method and video data transmission method
  • the present invention provides a video data code for encoding a plurality of n (n ⁇ 2) video programs so as to encode the plurality of n video programs so that the transmission rate is equal to or less than a predetermined value.
  • MC motion compensation processing
  • DCT discrete cosine transformation
  • MPEG moving picture experts group
  • MPEG-2 have become widely used.
  • digital broadcasting of video has been realized by combining the video compression coding technology of MPEG2 and the functions of communication satellites.
  • digital broadcasting of images using terrestrial waves will be realized.
  • Statistical multiplexing is a method of transmitting more programs by dynamically changing the transmission rate of each program, for example, by reducing the rate for a program that does not noticeably degrade image quality even if the transmission rate is reduced. is there.
  • Figure 1 shows an example of fixed rate multiplexing for three programs, for example, weather forecast, news, and drama, for comparison.
  • the horizontal axis indicates the flow of time, and the vertical axis indicates the assigned code rate for each program.
  • each program remains at the coding rate assigned by the initial value and does not change with time.
  • the initial assignment values are assigned so that the degradation in the part (time) where the degradation of image quality is noticeable in each program falls within the allowable range. In other words, other than that part, an unnecessary coding rate is assigned.
  • Fig. 2 shows an example in which four programs are multiplexed using the statistical multiplexing method described above.
  • the coding rates of weather forecast, news, dramas 1 and dramas 2 are dynamically changed. This takes advantage of the fact that the portions (time) where the deterioration of the image quality of each program is noticeable rarely overlap at the same time. Therefore, when a program is a part where image quality degradation is conspicuous, other programs are not conspicuous even if the coding rate is reduced.Therefore, it is necessary to allocate more coding rates for other programs to the program where the image quality degradation is conspicuous. it can. In this way, more programs can be transmitted than usual.
  • an encoding system that performs a compression encoding process on the video information is used.
  • the encoding difficulty (Diff iculty) of the image of the material is measured, and based on the encoding difficulty, each video is adjusted to fit into the given number of bytes in the storage capacity of the package media. Bit allocation processing was performed for each frame of information.
  • the amount of uncompressed video data is preliminarily compressed and encoded, and the amount of data after compression and encoding is estimated.
  • the compression rate is adjusted based on the estimated amount of data, and the data after compression and encoding is A two-pass coded process of performing compression encoding so that the amount becomes a value suitable for the transmission capacity of the transmission line was performed.
  • the present invention has been made in view of the above circumstances, and has an image data encoding apparatus and method for multiplexing and transmitting a plurality of image programs in a substantially real time within a predetermined transmission rate.
  • the purpose is to provide
  • the present invention has been made in view of the above circumstances, and It is an object of the present invention to provide a video data transmission method for multiplexing and transmitting a video program in real time within a predetermined transmission rate.
  • the video data encoding apparatus is configured such that the target encoding rate calculating means is configured to perform the encoding based on the encoding difficulty related information of a plurality of n video programs.
  • Independent target coding rates are calculated so that the total transmission rate of the above-mentioned plurality of n video programs is equal to or less than a predetermined transmission rate, and the plurality of n coding means perform the above-described target coding.
  • the plurality of n video programs are encoded based on the independent target encoding rates calculated by the rate calculating means.
  • the encoding difficulty related information used by the video data encoding device is parameter information pre-read by the plurality of n encoding units including delay units therein.
  • this delay means FIF0 which delays each of the above programs by the time for calculating the above parameter information is used.
  • the total transmission rate when multiplexing the plurality of n programs output by the plurality of n encoding means must exceed the predetermined transmission rate at any position in time series. Can be obtained almost in real time.
  • the flatness and intra AC data or either of them is calculated from the image compressed into an intra-frame coded image out of the video data of the video program as the above-mentioned parameter overnight information.
  • Compressed into forward prediction coded image and bidirectional prediction coded image The ME residual is calculated as the above parameter information of the image.
  • the encoding difficulty related information used by the video data encoding device is a code amount obtained by performing a quantization process on the plurality of n video programs in a fixed quantization step. This code amount may be obtained by a plurality of n other encoding units connected in parallel to the plurality of n encoding units.
  • the plurality of n other encoding means delays the video program by the time required to calculate the code amount from the plurality n video programs.
  • a plurality of n delay means are provided.
  • the video data encoding method according to the present invention may further comprise: determining a total transmission rate of the plurality of n video programs based on pre-read encoding difficulty related information of the plurality of n video programs.
  • the independent target encoding rate is calculated so as to be equal to or less than the predetermined transmission rate, and the plurality of n video programs are encoded based on the target encoding rate.
  • the target encoding rate calculating step includes the encoding difficulty related information read ahead from a plurality of n video programs. Based on the above, the different target encoding rates are calculated so that the total transmission rate of the plurality of n video programs is equal to or less than a predetermined transmission rate, and the encoding step is performed in the target encoding rate calculating step. Based on the calculated target coding rate Then, the plurality of n video programs are encoded, and the multiplexing step multiplexes the encoded video programs from the encoding step.
  • FIG. 1 is a diagram for explaining multiplexing at a fixed rate.
  • FIG. 2 is a diagram for explaining multiplexing by statistical multiplexing.
  • FIG. 3 is a block diagram of the video data transmission device according to the embodiment of the present invention.
  • FIG. 4 is a block diagram showing a detailed configuration of an encoder used in the video data transmission apparatus shown in FIG.
  • FIG. 5 is a diagram for explaining the flatness detected by the flatness detection circuit used in the encoder shown in FIG.
  • FIG. 6 is a professional / successful diagram showing a detailed configuration of the flatness detection circuit.
  • FIG. 7 is a block diagram showing a detailed configuration of an intra AC detection circuit used in the encoder shown in FIG.
  • FIG. 8 is a block diagram showing a detailed configuration of a controller used in the video data transmission device shown in FIG.
  • FIG. 9 is a flowchart for explaining an algorithm performed by the controller.
  • FIG. 10 is a block diagram showing a configuration of a video data transmission device according to another embodiment of the present invention.
  • FIG. 11 is a block diagram showing a detailed configuration of an encoder of the video data transmission apparatus shown in FIG.
  • FIG. 12 is a flowchart for explaining an algorithm performed by the controller of the video data transmission apparatus shown in FIG. BEST MODE FOR CARRYING OUT THE INVENTION
  • FIG. 12 is a flowchart for explaining an algorithm performed by the controller of the video data transmission apparatus shown in FIG. BEST MODE FOR CARRYING OUT THE INVENTION
  • This embodiment is a video data transmission apparatus that compresses and encodes video data of a plurality of video programs, and then multiplexes and transmits them.
  • this video data transmission apparatus has a configuration in which multiplexing means is provided to a video data encoding apparatus to which the video data encoding method according to the present invention is applied.
  • the video data transmitting apparatus as shown in FIG. 3, 1 1 2 - - -, and 1 eta this program supplied via the eta prog 1, 2 -.
  • parameters one Evening information is read in advance, and the controller 3 estimates the encoding difficulty related information diff i culty when encoding the image, and the controller 3 calculates the information based on the above parameter information.
  • the code amount allocated to each program target_rate # l, # 2Calculates #n and supplies it to encoder 2 2 2n above and controller 3 and encoder 2 3 2 2 ⁇ are the above-mentioned allocated code amount target_rate # l, # 2 ⁇ ⁇ ⁇ ⁇ Multiplexer 4 for multiplexing stream streams #l, # 2 ⁇ ⁇ ⁇ #n coded according to #n.
  • the multiplexed output MUXout from the multiplexer 4 is supplied to an output terminal 5.
  • the encoders 2, 2 2 ⁇ ⁇ ⁇ 2 n use the above programs prog. 1, 2- ⁇ ⁇ n as the above parameter information as the sum of the flatness in frames and the intra ( intra) Pre-read the AC sum, DC value, and ME residual, and supply them to controller 3.
  • the encoders 2 1 2 2 ... 2 n are based on the normal MPEG method, and the intra-frame coded image (I-picture), the inter-frame forward prediction coded image (P picture), and the bidirectional prediction coding
  • the video data of the video program is encoded in units of an image encoding group (GOP) including a predetermined number of images (B pictures).
  • GOP image encoding group
  • B pictures predetermined number of images
  • the code amount when an image is coded can be estimated to some extent without actually performing coding by fixed quantization or the like.
  • the above-described flatness, intra AC, DC value, and ME residual are used as parameter information for this estimation.
  • the encoder 2 includes an image rearrangement circuit 7, a scan conversion / block opening circuit 8, an FIF 09, an addition circuit 10, a DCT circuit 11, and a quantization circuit 1.
  • variable length coding circuit VLC 1 3
  • a noise control circuit a code amount control circuit, an inverse quantization circuit, an inverse DCT circuit, an adder circuit, a motion compensation circuit, and a FIF ⁇ 30
  • a flatness detection circuit 23 for detecting the flatness
  • an accumulator 24 for calculating the sum of the flatness for each frame
  • an intra for detecting the intra AC
  • An AC detection circuit 25 an accumulator 26 for calculating the sum of the intra AC for each frame, an accumulator 27 for calculating the DC value for each frame, and an ME residual from the motion detection circuit 28
  • An accumulator 29 for calculating the sum of the differences for each frame is also provided.
  • the video signal input from the input terminal 6 is rearranged by the image rearranging circuit 7 in the order of encoding.
  • the video signal in the encoding order is subjected to a field conversion by a scan conversion and macroblocking circuit 8 to be macroblocked.
  • the macroblocked video signal is sent to a flatness detection circuit 23, an intra AC detection circuit 25, an accumulator 27, and a motion detection circuit 28 to detect the above-mentioned parameter information. Supplied. It is also supplied to FIF09.
  • the delay at FIF09 is about several G0P.
  • the temporal length of G0P composed of 16 images is about 0.5 seconds, so the delay time is at most about 2 to 3 seconds. Even if you have a program that will be broadcast live from Suzio, a delay of about 2 to 3 seconds is almost the same as a broadcast in real time.
  • FIF030 may have a smaller capacity than FIF09.
  • the flatness detected by the flatness detection circuit 23 from the macroblocked video signal is parameter information indicating the spatial flatness of the image.
  • the flatness detection circuit 23 divides the image into 2 ⁇ 2 small blocks as shown in FIG. 5, and the smaller of the difference values obtained by crossing pixels in the small block is used as the threshold value. Compare. Calculate how many objects smaller than the threshold value exist in the MAC mouth block, and sum them for each frame. The numerical value decreases as the spatial complexity increases.
  • FIG. 6 shows a detailed configuration of the flatness detection circuit 23.
  • the video signals supplied to the flatness detection circuit 23 are connected in a macro block shape. That is, if one macroblock is shifted, data one line up or down is obtained.
  • the luminance value of the input video signal from the input terminal 40 is supplied to the FIF 41 and the register 42.
  • FIFO 41 delays the luminance value of the input video signal by one macro-procline.
  • the register 42 delays the luminance value of the input video signal by one pixel.
  • the subtracter 43 takes the difference between the luminance value delayed by one pixel in the register 42 and the luminance value delayed by one macroblock line in the FIF ⁇ 41 and supplies the difference to the absolute value unit (ABS) 46 .
  • the register 44 delays the luminance value delayed by one macroblock line in the FIFO 41 by one pixel.
  • the subtractor 45 takes the difference between the output from the register 44, that is, the luminance value delayed by one line + one pixel, and the input video signal, and supplies the difference to the absolute value calculator 47.
  • the absolute value output from the absolute value device 46 and the absolute value output from the absolute value device 47 are input to the minimum value selector (MIN) 48.
  • the minimum value selector 48 selects the smaller absolute value output and supplies it to a comparator (CMP) 49.
  • the comparator 49 compares the selected value with the threshold value Thresh supplied from the terminal 50, and when the selected value is smaller than the threshold value, adds “1” to the adder 51 And output to an accumulator consisting of 50.
  • the intra AC detected by the intra AC detection circuit 25 from the macro-blocked video signal is, as shown in the following equation (1), the average value of the luminance signal for each MAC block. Is calculated and the absolute value of the difference between each pixel in the macroblock and this average value is accumulated. macroblock ⁇ curr
  • Fig. 7 shows the configuration of the above-mentioned intra AC detection circuit 25.
  • Input terminal 6 The luminance value of the input video signal supplied from 0 is supplied to the FIF 061, and an accumulator composed of the adder 62 and the register 63. The accumulated value from the accumulator is divided by being shifted by the shift register 64 to obtain an average luminance value. This average is held by the enabled evening.
  • F I F ⁇ 61 compensates for the delay during the averaging.
  • the luminance value of the video signal via the FIF 061 and the average value held in the enable register 65 are supplied to a subtractor 66.
  • the subtracter 66 subtracts the average value from the delayed luminance value, and supplies the subtracted value to the absolute value device 67.
  • the absolute value of the difference output from the absolute value device 67 is supplied to an accumulator including an adder 68 and a register 69, and is output via an output terminal 70. If the intra AC is accumulated by the accumulator 26 for the number of frames, the sum of the intra AC is obtained. This intra AC sum is supplied to the controller 3 from the output terminal 32 shown in FIG. The code amount tends to increase as the intra AC sum increases.
  • the accumulator 27 calculates from the macro-blocked video signal, and the DC value supplied to the controller 3 from the output terminal 33 is the sum of the luminance signal for each frame on the screen.
  • the DC value DC sum is
  • the DC value can be realized by a simple accumulator 27 without requiring a particularly complicated operation.
  • the image quality tends to be visually noticeable.
  • the motion vector from the motion detection circuit 28 is accumulated by the accumulator 29, and the ME residual supplied to the controller 3 from the output terminal 34 is calculated based on the motion vector corresponding to the motion vector obtained for each macro block. This is the sum of the absolute values of the differences between the luminance signals of the block and the reference block. That is, if the block is f curr (x, y) ⁇ xs ⁇ x ⁇ x e , ys ⁇ y ⁇ ye ⁇ and the motion vector is (mv x, mv y ), the ME residual ME_resid is
  • the ME residual is calculated by the motion detection circuit 28 when performing ME. —Because it's evening, you can get it without any special hard ⁇ operation other than the accumulator 29 for one frame. As the ME residual increases, the code amount also tends to increase.
  • the parameter information PAR.1 is supplied from the encoder 2i to the controller 3 as described above.
  • the controller 3 calculates an allocated code amount target_rate for each program from the obtained parameter overnight information PAR.1 and supplies it to the encoder 2i.
  • the controller 3 includes, for example, ROM 71, a CPU 72, and a RAM 73, as shown in FIG.
  • the CPU 7 2 parameter Isseki from each encoder 2 l3 2 2 ⁇ ⁇ ⁇ 2 n as input through an input terminal 7 4 information PAR. # 1, # 2 ⁇ ⁇ ⁇ # ⁇ enters, CPU 7 2 from each encoder 2 l3 2 2 ⁇ ⁇ ⁇ 2 n as an output via an output terminal 7 5, target_rate # l, # 2 ⁇ ⁇ ⁇ # ⁇ is sent.
  • the CPU 72 executes the algorithm and the table stored in the R 71 while using the RAM 73 as a primary query.
  • FIG. 9 shows an example of the algorithm stored in R 0 M 71.
  • the target coding rate target-rate is proportionally distributed using the code amount rr estimated from the parameter information PAR. #I.
  • the rate of the entire communication channel be channel_rate and the number of programs be n.
  • step S1 0 is substituted as an initial value into a variable total in which the total of the estimated code amount is stored.
  • step S2 1 is substituted into loop count i as an initial value. If the value of the loop force i is larger than n in step S3, the process exits the loop and proceeds to step S8.
  • step S4 the code amount rr is estimated from the parameter PAiL #i sent from the encoder 2i. Then, in step S5, rr is substituted into an array trate [i] for storing the estimated amount.
  • step S6 rr is added to the sum total of the estimated amounts. Then, the loop count i is incremented in step S7, and the process returns to step S3, which is the head of the loop.
  • step S8 1 is substituted as an initial value into the loop force i. If the value of the loop force counter i is larger than n in step S9, the processing exits from the loop and ends.
  • step S10 the channel is calculated as the target code amount target_rate # i of the i-th encoder, and the rate is proportionally distributed by the estimated amount trate [i]. That is, the following equation is used.
  • step S11 target—rate # i is supplied to the encoder. Then, in step S12, the loop counter i is incremented, and the process returns to the beginning S9 of the loop.
  • a conventional encoder is provided with a detection circuit for detecting parameter overnight information as a substitute for the encoding difficulty level related information.
  • This video program is coded and multiplexed in real time and within a predetermined transmission rate, and this multiplexed data is transmitted. Also, since only one encoder is required for one program system, it is not necessary to easily provide two expensive encoders for each program system. For this reason, in this embodiment, an encoding by statistical multiplexing can be realized at low cost.
  • parameter information is used to estimate the degree of difficulty of encoding, it is also possible to use these parameters as parameters during encoding to obtain better image quality. In this case, FIF0 for adjusting the time of the parameter is required.
  • This other embodiment is also a video data transmission apparatus for compressing and coding video data of a plurality of video programs, and then multiplexing and transmitting the video data.
  • the video data transmission apparatus has a configuration in which a multiplexing unit is provided in a video data encoding apparatus to which the video data encoding method according to the present invention is applied.
  • the difficulty of the uncompressed video data is calculated from the code amount of the compressed video data obtained by preliminary compression encoding of the non-compressed video data, and the difficulty calculated by the preliminary compression encoding is Video data encoding method that adaptively controls the compression ratio of uncompressed video data that has been delayed for a predetermined time by, for example, FIF 0 memory, etc. This is a video data transmission device that multiplexes the encoded output from the ⁇ encoder and transmits it.
  • This video data transmission device can also adaptively compress and encode non-compressed video data in almost real time based on the difficulty of the picture in the uncompressed video data. It can be applied to applications that require real-time performance, and is suitable for transmission of multiple programs using the statistical multiplexing method described above.
  • This video data transmission device multiplexes and transmits ⁇ input programs prog.1,2-n as shown in Fig.10.
  • Each program via the input terminal 1 0 1 ⁇ 1 0 12 ⁇ ⁇ ⁇ and 1 0 1 eta, is supplied to Enko one da # 1 0 21 1 0 22 ⁇ ⁇ ⁇ and 1 0 2 n.
  • Each of the encoders #A 1 1 0 21, 1 0 2 2 ⁇ ⁇ and 1 0 2 n is the code amount when quantized with a fixed quantization step Fixed Q. difficulty # 1, # 2 ⁇ ⁇
  • the data that is actually encoded with 104 ⁇ is the amount of pre- reading by FIF 0 1 0 5 l5 1 0 5 2 Be delayed.
  • the delay in each FIF is about several G ⁇ .
  • the time length of a GOP composed of 16 images is about 0.5 seconds, so the delay time is at most about 2 to 3 seconds.
  • a delay of about 2 to 3 seconds is almost the same as a broadcast in real time.
  • the encoded streams # 1, # 2, ##, # ⁇ are multiplexed by a multiplexer 106 and supplied to an output terminal 107 as a multiplexed output MUXout, which is then output.
  • the image rearranging circuit 109 rearranges the video signal input from the input terminal 108 in the order of encoding.
  • the scan conversion 'macroblocking circuit 110 performs field-frame conversion to form a macroblock. For example, if the video signal input is a movie video signal, a 3: 2 pull-down process or the like is performed.
  • the adder circuit 111 subtracts the output data of the adder circuit 119 from the input video signal passed through the scan conversion / macroblocking circuit 110 and outputs the result to the DCT circuit 112.
  • the DCT circuit 112 performs a discrete cosine transform (DCT) process on the video data input from the adder circuit 111 into, for example, a macroblock of 16 pixels x 16 pixels, and converts the data in the time domain. The data is converted to frequency domain data and output to the quantization circuit 113.
  • DCT discrete cosine transform
  • the quantization circuit 113 quantizes the data in the frequency domain input from the DCT circuit 112 at a fixed or arbitrary quantization step, and generates variable-length coding circuits 114 and 104 as quantized data. Output to the inverse quantization circuit 1 17.
  • variable length coding circuit 114 performs variable length coding of the quantized data input from the quantization circuit 113 and buffers the compressed video data obtained as a result of the variable length coding. Supply 1 to 5.
  • the noise source 115 buffers the compressed video data and supplies a bit stream to the output terminal 123.
  • the inverse quantization circuit 117 dequantizes the quantized data input from the quantization circuit 113, and outputs the result to the inverse DCT circuit 118 as inverse quantized data.
  • the inverse DC C circuit 118 performs inverse DC C processing on the inverse quantized data input from the inverse quantization circuit 117, and outputs the result to the adder circuit 119.
  • the adder circuit 1 19 adds the output data of the motion compensation circuit 120 and the output data of the inverse DC ⁇ circuit 118 and outputs the result to the adder circuit 111 and the motion compensation circuit 120. .
  • the motion compensation circuit 120 performs a motion compensation process on the output data of the addition circuit 119 based on the motion vector calculated for the reference frame by the motion detection circuit 121. , Adder circuit 1 1 1 Output.
  • the quantization step determined by the code amount control circuit 1 16 is set as a fixed value, and the quantization circuit 1 13 performs quantization, and the buffer 1 Measure the generated code amount of 15. This data is supplied to the controller 103 as the encoding difficulty related information difficulty.
  • the target code amount determined by the controller 103 is given to the code amount control circuit 116.
  • the code amount control circuit 116 controls an arbitrary quantization step in the quantization circuit 113.
  • the controller 103 calculates the target code amount based on the encoding difficulty related information difficulty from the encoders #A 102 102 2 ⁇ and 102 n .
  • the controller 103 is composed of a ROM 71, a CPU 72, and a RAM 73, as shown in FIG.
  • the CPU 72 executes the algorithms and tables stored in the ROM 71 while using the RAM 73 as a work area.
  • FIG. 1 An example of the algorithm stored in R 0 M 71 is shown in FIG.
  • the target coding rate target-rate is proportionally distributed using the coding difficulty difficulty.
  • #I The entire channel The channel-rate and the number of programs as n.
  • step S1 0 is substituted as an initial value into a variable total in which the total of the estimated code amount is stored.
  • step S2 1 is substituted into loop count i as an initial value.
  • step S3 if the value of the loop force i is larger than n, the process exits the loop and proceeds to step S8.
  • step S 4 ′ the encoding difficulty. #I sent from the encoder 102 i is extracted, and in step S 5 ′, an array trate [i] storing the estimated amount is obtained. Substitute difficulty. # i. In step S6 ', difficulty. # I is added to the total sum of the estimated amounts. Then, in step S7, the loop count i is incremented, and the process returns to step S3, which is the beginning of the loop.
  • step S8 1 is substituted into the loop force i as an initial value. If the value of the loop force i is larger than n in step S9, the processing exits the loop and ends.
  • step S 10 the rate is channeled as the target code amount target-rate # i of the i-th encoder, and the rate is proportionally distributed with the estimated amount trate [i]. That is, it is the same as the above equation (4).
  • step S11 target—rate # i is supplied to the encoder. Then, in step S12, the loop count i is incremented, and the process returns to the beginning S9 of the loop.
  • encoder # A1 0 2 l5 1 0 2 2 ⁇ • ⁇ and 1 0 2 n and FIF for the determination of the encoding difficulty By using 0 1 0 5 ⁇ 1 0 52 ⁇ ⁇ ⁇ and 105 n , data can be read ahead and high precision Statistical multiplexing by rate allocation is possible in almost real time.
  • two encoders are required for one program system.
  • data is prefetched using FIF 0.
  • encoding difficulty diff iculty information is obtained in advance by a fixed quantization encoder and stored in an appropriate recording medium. And may be referred to when multiplexing.
  • a plurality of video programs can be multiplexed and transmitted in substantially real time so as to be within a predetermined transmission rate.
  • a plurality of video programs can be multiplexed and transmitted in substantially real time within a predetermined transmission rate.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

599
明 細 映像データ符号化装置及び方法並びに映像データ伝送方法
技 術 分 野 本発明は、 複数 n ( n≥ 2 ) 本の映像プログラムを多重化して伝 送レートを所定の値以下にするように上記複数 n本の映像プログラ ムを符号化する映像データ符号化装置及び方法、 並びに伝送レー ト を所定の値以下にするために、 複数 n ( n≥ 2 ) 本の映像プログラ ムに対して異なる目標符号化レー トを割り当てて符号化してから多 重化して伝送する映像データ伝送方法に関する。 背 景 技 術 近年、 映像デ一夕の圧縮符号化に、 動き補償処理 (M C ; mot ion compensation) と、 離散余弦変換 ( D C T ; discrete cos ine tra nsfer ) 等の直交変換による冗長度低減処理とを組み合わせた M P E G ( moving p icture experts group) や、 M P E G 2が広く用い られるようになった。 特に、 M P E G 2の映像圧縮符号技術と通信 衛星の機能を組み合わせることにより、 映像のディ ジタル放送が実 現した。 さらに今後地上波を使った映像のディ ジ夕ル放送も実現さ れようとしている。
ディ ジ夕ル放送の利点は、 アナログ放送に比べて同じ伝送路にお いて、 より多くの番組 (プログラム) を伝送することが可能である ことである。 これは、 映像を圧縮符号化できることによる。
さらに多くのプログラムを伝送する方法として、 「統計多重」 と いう手法が考えられている。 統計多重は、 各プログラムの伝送レー トを動的に変化させ、 例えば伝送レートを減らしても画質の劣化が 目立たないプログラムについてはレー トを減らすことによって、 よ り多くのプログラムを伝送する方法である。
図 1に、 比較のため 3つのプログラム、 例えば天気予報, ニュー ス, ドラマに対する固定レートによる多重化例を示す。 横軸は時間 の流れを示しており、 縦軸は各々のプログラムに対する割当て符号 ィ匕レートを示している。 この図 1では各プログラムは初期値で割り 当てられた符号化レー 卜のままで時間によって変動していない。 こ こでの初期割当て値はそれぞれのプログラムで画質の劣化が目立つ 部分 (時間) での劣化が許容範囲に収まるように割り当てられたも のである。 すなわち、 その部分以外は必要以上の符号化レー トを割 り当てていることになる。
これに対して、 上記統計多重の手法を用いて、 4つのプログラム を多重化した例を図 2に示す。 ここでは、 天気予報, ニュース, ド ラマ 1 , ドラマ 2の符号化レートを動的に変化させている。 これは、 各プログラムの画質の劣化が目立つ部分 (時間) が同一時に重なる ことが希であるという点を利用している。 そのため、 あるプログラ ムが画質劣化が目立つ部分のとき、 他のプログラムは符号化レート を落としても目立たないので、 他のプログラムの分の符号化レート を当該画質劣化が目立つプログラムに多く割り当てることができる。 このようにして、 通常よりも多くのプログラムを伝送できる。 ところで、 従来、 一つの映像プログラムを例えばディ ジタルビデ オデイスク (Digital Video Disk: D V D ) やビデオ C Dのような パッケージメディァに蓄積する際には、 上記ビデオ情報に圧縮符号 化処理を施すェンコ一 ドシステムでは、 最初に素材の画像の符号化 難易度 (D iff iculty) を測定し、 その符号化難易度に基づき、 パヅ ケージメディァの記録容量内の与えられたバイ ト数に収まるように、 各ビデオ情報のフレームごとにビッ ト配分処理を行っていた。
すなわち、 非圧縮映像データを予備的に圧縮符号化して圧縮符号 化後のデ一夕量を見積も り、 次に、 見積もったデータ量に基づいて 圧縮率を調整し、 圧縮符号化後のデータ量が伝送路の伝送容量に適 合する値になるように圧縮符号化するという 2パスェンコ一ド処理 を行っていた。
しかし、 この 2パスェンコ一ド処理により圧縮符号化を行うと、 同じ非圧縮映像データに対して同様な圧縮符号化処理を 2回施す必 要があり、 1回の圧縮符号化処理で最終的な圧縮映像データを算出 することができないために、 上記ディ ジタル放送時に、 上記統計多 重により複数の映像プログラムを所定の伝送レ一ト以内になるよう に、 圧縮符号化して伝送しょうとしても、 時間がかかり過ぎてしま う。 すなわち、 撮影した映像デ一夕をそのまま実時間 (リアルタイ ム) に圧縮符号化し、 伝送することができない。
本発明は、 上記実情に鑑みてなされたものであり、 複数の映像プ ログラムをほぼ実時間で、 所定の伝送レート以内に収まるように多 重化して伝送するための映像データ符号化装置及び方法の提供を目 的とする。
また、 本発明は、 上記実情に鑑みてなされたものであり、 複数の 映像プログラムをほぼ実時間で、 所定の伝送レート以内に収まるよ うに多重化して伝送する映像データ伝送方法の提供を目的とする。 発 明 の 開 示 本発明に係る映像データ符号化装置は、 上記課題を解決するため に、 目標符号化レート算出手段が、 複数 n本の映像プログラムの符 号化難易度関連情報に基づいて、 上記複数 n本の映像プログラムの 合計伝送レ一 卜が所定の伝送レート以下になるように、 それぞれ独 立した目標符号化レー トを算出し、 複数 n個の符号化手段が上記目 標符号化レ一ト算出手段で算出された上記独立した目標符号化レ一 トに基づいて上記複数 n本の映像プログラムを符号化する。
ここで上記映像データ符号化装置が用いる、 上記符号化難易度関' 連情報は、 内部に遅延手段を備えた上記複数 n個の符号化手段によ つて先読みされたパラメ一夕情報である。 この遅延手段としては、 上記パラメ一夕情報を算出する時間分だけ、 上記各プログラムを遅 延させる F I F 0を用いる。
このため、 上記複数 n個の符号化手段が出力する複数 n本のプロ グラムを多重化したときの合計伝送レー 卜が、 時系列的に見てどの 位置でも、 上記所定の伝送レートを超えることがない符号化データ をほぼ実時間で得ることができる。
また、 上記パラメ一夕情報としてフラッ トネス及びイ ン トラ A C データ又はこれらのいずれかを上記映像プログラムの映像デ一夕の うち、 フレーム内符号化画像に圧縮される画像から算出し、 フレー ム間順方向予測符号化画像及び双方向予測符号化画像に圧縮される 画像の上記パラメ一夕情報として M E残差を算出する。
また、 上記映像データ符号化装置が用いる、 上記符号化難易度関 連情報は、 上記複数 n本の映像プログラムに対して固定量子化ステ ップで量子化処理を施すことによって得られた符号量であり、 この 符号量は上記複数 n個の符号化手段に対して並列接続される複数 n 個の他の符号化手段により得られてもよい。
ここで、 上記複数 n個の符号化手段の各前段には、 上記複数 n個 の他の符号化手段が上記複数 n本の映像プログラムから上記符号量 を算出する時間分だけ上記映像プログラムを遅延させる複数 n個の 遅延手段が設けられる。
また、 本発明に係る映像デ一夕符号化方法は、 複数 n本の映像プ 口グラムの先読みされた符号化難易度関連情報に基づいて、 上記複 数 n本の映像プログラムの合計伝送レートが上記所定の伝送レート 以下になるように、 上記独立した目標符号化レートを算出し、 上記 目標符号化レートに基づいて上記複数 n本の映像プログラムを符号 化する。
このため、 上記複数 n本のプログラムを多重化したときの合計伝 送レートが、 時系列的に見てどの位置でも、 上記所定の伝送レート を超えることがない符号化デ一夕をほぼ実時間で得ることができる ( また、 本発明に係る映像データ伝送方法は、 上記課題を解決する ために、 目標符号化レート算出工程が、 複数 n本の映像プログラム から先読みされた符号化難易度関連情報に基づいて、 上記複数 n本 の映像プログラムの合計伝送レートが所定の伝送レート以下になる ように、 上記異なる目標符号化レー トを算出し、 符号化工程が上記 目標符号化レー ト算出工程で算出された上記目標符号化レートに基 づいて上記複数 n本の映像プログラムを符号化し、 多重化工程が上 記符号化工程からの上記符号化映像プログラムを多重化する。
このため、 上記複数 n個の符号化手段がほぼ実時間で符号化した 複数 n本のプログラムを多重化した多重化出力の合計伝送レートが、 時系列的に見てどの位置でも、 上記所定の伝送レートを超えること がない。 図 面 の 簡 単 な 説 明 図 1は、 固定レートによる多重化を説明するための図である。 図 2は、 統計多重による多重化を説明するための図である。
図 3は、 本発明の実施の形態となる映像データ伝送装置のプロッ ク図である。
図 4は、 上記図 3に示した映像デ一夕伝送装置に用いるェンコ一 ダの詳細な構成を示すプロック図である。
図 5は、 上記図 4に示したエンコーダに用いるフラヅ トネス検出 回路が検出するフラッ トネスを説明するための図である。
図 6は、 上記フラッ トネス検出回路の詳細な構成を示すプロ、ソク 図である。
図 7は、 上記図 4に示したエンコーダに用いるイン トラ A C検出 回路の詳細な構成を示すプロック図である。
図 8は、 上記図 3に示した映像データ伝送装置に用いるコン トロ ーラの詳細な構成を示すプロ ック図である。
図 9は、 上記コン トローラで行われるアルゴリズムを説明するた めのフローチャートである。 Ί 図 1 0は、 本発明の他の実施の形態となる映像データ伝送装置の 構成を示すブロック図である。
図 1 1は、 上記図 1 0に示した映像デ一夕伝送装置のエンコーダ の詳細な構成を示すブロック図である。
図 1 2は、 上記図 1 0に示した映像データ伝送装置のコン トロ一 ラが行うアルゴリズムを説明するためのフローチャートである。 発 明 を 実 施 す る た め の 最 良 の 形 態 以下、 本発明に係る映像データ符号化装置及び方法、 並びに映像 デ一夕伝送方法の実施の形態について図面を参照しながら説明する。
この実施の形態は、 複数の映像プログラムの映像データを圧縮符 号化してから多重化して伝送する映像データ伝送装置である。 なお、 この映像データ伝送装置は、 本発明に係る映像データ符号化方法を 適用した映像データ符号化装置に多重化手段を備えた構成となって いる。
この映像データ伝送装置は、 図 3に示すように、 1 1 2 · · · 及び 1 η を介して供給される η本のプログラム prog. 1 , 2 - · · nの それぞれに対して、 パラメ一夕情報の先読みを行い、 画像を符号化 するときの符号化難易度関連情報 diff i cultyを後述するコン トロ一 ラ 3に見積もらせると共に、 コン トローラ 3が上記パラメ一夕情報 を基に算出した目標符号化レートに基づいて上記複数 n本のプログ ラムを圧縮符号化する複数 n個のエンコーダ 2 2 2 · · · 2 η と、 複数 η個のエンコーダ 2 l 3 2 2 · · · 2 η からのパラメ一夕情報 PA R. #l , #2 · · · #nから各プログラム毎の割当符号量 target_rate#l, #2 · · · #n を算出して上記エンコーダ 2 22 · · · 2nに供給す る上述したコン トローラ 3と、 エンコーダ 2 ΐ322 · · · 2 η が上 記割当符号量 target_rate#l, #2 · · · #nに応じて符号化したス ト リーム stream#l, #2 · · · #nを多重化するマルチプレクサ 4とを備 えてなる。 このマルチプレクサ 4からの多重化出力 MUXoutは、 出力 端子 5に供給される。
エンコーダ 2 , 22 · · · 2 nは、 上記各プログラム prog.1, 2 - • · n から上記パラメ一夕情報として、 フ レーム単位のフラ ッ トネ ス (flatness) 総和と、 イ ン トラ (intra) AC総和と、 D C値と、 ME残差とを先読みして、 コン トローラ 3に供給する。
ここで、 エンコーダ 21 22 . · · 2n は、 通常の MPE G方式 により、 フレーム内符号化画像 ( Iビクチャ) 、 フレーム間順方向 予測符号化画像 (Pピクチャ) 、 双方向予測符号化画像 (Bピクチ ャ) を所定数含んでなる画像符号化グループ (GOP) 単位に上記 映像プログラムの映像データを符号化する。 この符号化の際に上記 パラメ一夕情報を得る。
画像の符号化したときの符号量は、 固定の量子化等で実際に符号 ィ匕しなくても、 ある程度見積もることができる。 この見積もるため のパラメ一夕情報として、 本発明では、 上述したような、 フラ ッ ト ネス、 イ ン トラ AC、 D C値、 ME残差を用いている。
エンコーダ 2 l522 · · · 2 n の構成について図 4を参照して説 明する。 ここでは、 エンコーダ 2 を代表させている。 図 4に示す ように、 エンコーダ 2 は、 画像並び変え回路 7と、 走査変換 · マ ク口プロヅク化回路 8と、 F I F 09と、 加算回路 1 0と、 D C T 回路 1 1と、 量子化回路 1 2と、 可変長符号化回路 ( V L C) 1 3 と、 ノ ソ フ ァ 1 4と、 符号量制御回路 1 5 と、 逆量子化回路 1 6 と、 逆 D C T回路 1 7 と、 加算回路 1 8 と、 動き補償回路 1 9 と、 F I F〇 3 0及び動き検出回路 1 9の他、 上記フラッ トネスを検出する フラッ トネス検出回路 2 3と、 フラッ トネスのフレーム毎の総和を 演算する累算器 2 4 と、 イ ン トラ A Cを検出するイ ン トラ A C検出 回路 2 5 と、 イ ン トラ A Cのフレーム毎の総和を演算する累算器 2 6 と、 フレーム毎の D C値を演算する累算器 2 7 と、 動き検出回路 2 8からの M E残差のフレーム毎の総和を演算する累算器 2 9 も備 えてなる。
入力端子 6からの映像信号入力は、 画像並び変え回路 7により、 符号化順に並び変えられる。 符号化順とされた映像信号は、 走査変 換 ' マクロブロヅク化回路 8で、 フィ一ル ドーフレーム変換され、 マクロブロ ック化される。 このマクロブロック化された映像信号は、 上記パラメ一夕情報の検出のために、 フラ ッ トネス検出回路 2 3、 イ ン トラ A C検出回路 2 5、 累算器 2 7、 動き検出回路 2 8に供給 される。 さらに、 F I F 0 9にも供給される。
上記パラメ一夕情報は、 このエンコーダ 2 i で先読みする必要が あるため、 実際に符号化するデ一夕は、 時間合わせをする必要があ る。 そこで画像デ一夕は、 上記 F I F 0 9により遅延される。
この F I F 0 9での遅延は、 数個程度の上記 G 0 P分である。 例 えば、 画像 1 6枚によ り構成される G 0 Pの時間的な長さは、 約 0 . 5秒であるので、 せいぜい遅延時間は 2〜 3秒程度となる。 ス夕ジ ォから生放送されるようなプログラムがあつたとしても、 ほぼ 2〜 3秒程度の遅延であれば、 ほぼ実時間での放送と変わりない。
また、 動きベク トルは、 F I F 0 3 0で遅延される。 ここで、 動 5 9 P JP
10 きベク トルは、 画像データよりも情報量が少ないため F I F 0 3 0 は F I F 0 9 よ りも小さい容量でよい。
フラ ッ トネス検出回路 2 3が上記マクロプロック化された映像信 号から検出するフラッ トネスは、 画像の空間的な平坦さを表すパラ メータ情報である。 フラ ッ トネス検出回路 2 3は、 画像を図 5に示 すように、 2 X 2の小ブロックに分割し、 その小ブロックにおいて 画素をたすき掛けした差分値のうち、 小さい方をしきい値と比較す る。 しきい値よ りも小さいものがマク口ブロック中にいく ら存在す るかを算出し、 これをフ レーム毎に総和をとる。 空間的に複雑であ るほど数値は小さくなる。
このフラ ッ トネス検出回路 2 3の詳細な構成を図 6に示す。 ここ で、 フラッ トネス検出回路 2 3に供給される上記映像信号は、 マク ロブロック状につながってく る。 すなわち、 1マクロブロックずれ ると 1ライ ン上あるいは下のデータが得られる。 入力端子 4 0から の入力映像信号の輝度値は F I F 0 4 1及びレジス夕 4 2に供給さ れる。 F I F O 4 1は、 上記入力映像信号の輝度値を 1マクロプロ ックライ ン遅延させる。 レジス夕 4 2は、 上記入力映像信号の輝度 値を 1画素分遅延させる。
減算器 4 3はレジス夕 4 2で 1画素分遅延された輝度値と F I F 〇 4 1で 1マクロブロ ヅクライン遅延された輝度値との差をと り、 絶対値器 (ABS) 4 6に供給する。
レジス夕 4 4は、 F I F O 4 1で 1マクロブロックライ ン遅延さ れた輝度値を 1画素分遅延させる。 減算器 4 5は、 レジス夕 4 4か らの出力、 すなわち 1 ライ ン + 1画素遅延された輝度値と、 上記入 力映像信号との差をと り、 絶対値器 4 7に供給する。 絶対値器 4 6からの絶対値出力と絶対値器 4 7からの絶対値出力 は、 最小値選択器 (MIN ) 4 8に入力される。 この最小値選択器 4 8は、 どちらか小さい方の絶対値出力を選択して比較器 (CMP ) 4 9に供給する。 この比較器 4 9は、 選択された値と端子 5 0から供 給されるしきい値 Threshとを比較し、 上記選択値がしきい値よりも 小さいときに、 " 1 " を加算器 5 1 とレジス夕 5 0で構成される累 算器に出力する。
実際にはライ ンの終わりは、 動作が適当でないので、 比較器 4 9 等でデ一夕を補正してやる必要がある。 このマクロブロック毎に算 出されたフラッ トネスを累算器 2 4でフレーム分累算すればフラッ トネス総和が求められる。 このフラッ トネス総和は、 図 4の出力端 子 3 1からコン トローラ 3に供給される。 このフラッ トネスは、 減 少するほど符号量は増加する傾向がある。
上記ィ ン トラ A C検出回路 2 5が上記マクロプロック化された映 像信号から検出するィ ン トラ A Cは、 下記の ( 1 ) 式に示すように、 各マク口ブロック毎に輝度信号の平均値を求め、 マクロブロック内 の各画素とこの平均値の差の絶対値を累算したものである。 macroblock† curr
Intra AC 二 curr (X, Υ) ― ~"
macroblock
( 1 )
上記ィ ン トラ A C検出回路 2 5の構成を図 7に示す。 入力端子 6 0から供給される入力映像信号の輝度値は、 F I F 0 6 1 と、 加算 器 6 2 とレジスタ 6 3からなる累算器に供給される。 累算器からの 累算値は、 シフ トレジス夕 6 4でシフ トされることにより除算が行 われ、 輝度の平均値が得られる。 この平均値はィネーブル付きのレ ジス夕 6 5によって保持される。
F I F〇 6 1は、 上記平均値を求める間の遅延を補償する。 この F I F 0 6 1 を介した映像信号の輝度値と、 ィネーブル付きのレジ ス夕 6 5で保持された平均値は減算器 6 6に供給される。 この減算 器 6 6は、 上記遅延輝度値から上記平均値を減算し、 減算値を絶対 値器 6 7に供給する。
絶対値器 6 7が出力した差分絶対値は、 加算器 6 8 とレジス夕 6 9 とからなる累算器に供給され、 出力端子 7 0を介して出力される。 このイ ン トラ A Cを累算器 2 6でフレーム分累算すればイ ン トラ A C総和が求められる。 このイ ン トラ A C総和は、 図 4に示した出 力端子 3 2からコン トローラ 3に供給される。 イ ン トラ A C総和は、 増加するほど符号量も増加する傾向にある。
累算器 2 7が上記マクロプロック化された映像信号から演算し、 出力端子 3 3からコン トローラ 3に供給する D C値は、 各フレーム 毎に輝度信号を画面で総和したものである。 D C値 DC sumは、
DC sum 二 fcurr (Χ,Υ)
Figure imgf000015_0001
frame x=xs y=ys
( 2 )
となる。 D C値は、 特に複雑な演算を必要とせず、 単純な累算器 2 7で実現できる。 D C値は減少すると視覚上画質劣化が目立ちやす くなる傾向がある。
動き検出回路 2 8からの動きベク トルを累算器 2 9で累算し、 出 力端子 34からコン トローラ 3に供給する ME残差は、 各マクロブ ロック毎に得られた動きベク トルに対する当該ブロックと参照プロ ックの輝度信号の差の絶対値の総和である。 すなわち、 当該ブロッ クを f curr(x、 y ) { x s≤ x≤ x e , y s≤ y≤ y e } 、 動きべク トルを (mv x, m v y) とすると、 M E残差 ME_residは、
ME一 res id =
Figure imgf000015_0002
となる。 ME残差は動き検出回路 2 8で MEを行う際に得られる丁 —夕なので、 1フレーム分の累算器 2 9以外には新たに特別なハー ドゃ演算を必要とせずに得ることができる。 M E残差は増加するほ ど符号量も増加する方向にある。
これらのパラメ一夕情報 PAR.1 は、 上述したように、 エンコーダ 2iからコン トローラ 3に供給される。 コン トローラ 3では、 得られ たパラメ一夕情報 PAR.1から各プログラム毎の割当符号量 target_ra teを算出し、 エンコーダ 2 i に供給する。
このコン トローラ 3は、 例えば、 図 8に示すように、 R 0 M 7 1 と、 C P U 7 2 と、 R AM 7 3とから構成される。 C P U 7 2には、 入力端子 7 4を介して入力として各エンコーダ 2 l322 · · · 2 n からのパラメ一夕情報 PAR. #1, #2 · · · #ιιが入り、 C P U 7 2から は出力端子 7 5を介して出力として各エンコーダ 2 l322 · · · 2 n へ、 target_rate#l , #2 · · · #η が送られる。 C P U 7 2は R〇 M 7 1に格納されているァルゴリズム及びテーブルを、 ヮ一クェリ ァとしての RAM 7 3を使用しながら実行する。
R 0 M 7 1に格納されるアルゴリズムの例を図 9に示す。 このァ ルゴリズムでは、 パラメ一夕情報 PAR. #iから見積もられて得た符号 量 rrを用いて目標符号化レート target— rate を比例分配している。 通信路全体のレートを channel_rateとし、 またプログラムの数を n とする。
先ず、 ステップ S 1で見積も り符号量の総和が入る変数 total に 初期値として 0を代入する。 次に、 ステップ S 2でループカウン夕 iに初期値として 1を代入する。 そして、 ステップ S 3でループ力 ゥン夕 iの値が nより も大きければループを抜けてステップ S 8に 進む。 次に、 ステップ S 4でエンコーダ 2 iから送られてく るパラメ一夕 PAiL #iから符号量 rrを見積もる。 そして、 ステップ S 5で見積も り 量を格納する配列 trate [ i ]に rrを代入する。
ステップ S 6では、 見積も り量の総和 total に rrを加算する。 そ して、 ステヅプ S 7でループカウン夕 iをイ ンク リメン ト し、 ル一 プの先頭であるステップ S 3に戻る。
次に、 ステップ S 8でループ力ゥン夕 iに初期値として 1 を代入 する。 ループ力ゥンタ iの値がステップ S 9で nよりも大きければ ループを抜けて終了する。
ステップ S 1 0では、 i番目のエンコーダの目標符号量 target_r ate#iとして、 chnneし rateを見積も り量 trate [ i ]で比例配分する。 すなわち、 次式数に示すものとする。
channel te氺 trsteLU
target rate #i ^
total
4 ステップ S 1 1では、 エンコーダに target— rate# i を供給する。 そして、 ステップ S 1 2でループカウンタ iをインク リメン ト し、 ループの先頭 S 9に戻る。 以上のように、 本発明の実施の形態と なる映像データ伝送装置では、 従来のエンコーダに符号化難易度関 連情報の代用となるパラメ一夕情報を検出する検出回路を付加する ことにより、 複数の映像プログラムをほぼ実時間で、 所定の伝送レ —ト以内に収まるように符号化してから多重化し、 この多重化デー 夕を伝送している。 また、 一つのプログラム系に対しては、 エンコーダは一つでよい ので、 高価なエンコーダを各プログラム系に二つ容易する必要がな い。 このため、 この実施の形態では、 低コス トで統計多重によるェ ンコードを実現できる。
なお、 上記実施の形態では、 パラメ一夕情報として、 M E残差、 D C値、 イ ン トラ A C、 フラッ トネスの 4つを用いたがその全てを 用いる必要はない。 また、 原画から得られる情報であれば他のもの でも構わない。
また、 パラメ一夕情報を符号化難易度を見積もるために用いたが、 これらのパラメ一夕を符号化時のパラメ一夕として用い、 さらに良 好な画質を得るようにしても構わない。 この場合にはパラメ一夕を 時間合わせするための F I F 0が必要となる。
次に、 本発明に係る映像データ符号化装置及び方法、 並びに映像 データ伝送方法の他の実施の形態について図面を参照しながら説明 する。
この他の実施の形態も、 複数の映像プログラムの映像データを圧 縮符号化してから多重化して伝送する映像デ一夕伝送装置である。 なお、 この映像データ伝送装置は、 本発明に係る映像データ符号化 方法を適用した映像データ符号化装置に多重化手段を備えた構成と なっている。
この他の実施の形態は、 非圧縮映像データを予備的に圧縮符号化 して得られる圧縮映像データの符号量から非圧縮映像データの難度 を算出し、 予備的な圧縮符号化により算出した難度に基づいて、 例 えば F I F 0メモリ等によ り所定の時間だけ遅延した非圧縮映像デ 一夕の圧縮率を適応的に制御する映像データ符号化方法を適用した π 符号化装置からの符号化出力を多重化して伝送する映像データ伝送 装置である。
この映像データ伝送装置によっても、 ほぼ実時間的に、 非圧縮映 像デ一夕の絵柄の難度に基づいて適応的に非圧縮映像デ一夕を圧縮 符号化することができるので、 実況放送といった実時間性を要求さ れる用途に応用可能であり、 上記統計多重の手法を用いた複数のプ 口グラムの伝送に適する。
この映像データ伝送装置は、 図 1 0に示すように、 η本の入力プ ログラム prog.1, 2 - · · nを多重化して伝送する。 各プログラムは、 入力端子 1 0 1 ^ 1 0 12 · · · 及び 1 0 1 η を介して、 ェンコ一 ダ# 1 0 21 , 1 0 22 · · · 及び 1 0 2 n に供給される。 各ェンコ —ダ #A 1 1 0 21 , 1 0 22 · · · 及び 1 0 2 n は、 固定の量子化ス テツプ Fixed Q で量子化した際の符号量 difficulty# 1 , # 2 · ·
• # nを測定する。 この測定された符号量 difficulty# 1, # 2 ·
• · # ηは、 コン トローラ 1 0 3に送られる。 コン トローラ 1 0 3 では、 それぞれの符号量 difficulty# 1 , # 2 · · · # ηをもとに 各プログラム prog.1, 2 - · · nの害 U当レー ト target_rate # 1 , #
2 · · · # nを計算し、 各エンコーダ #B 1 0 4 1 0 42 · · · 1
0 4 n に送る。
エンコーダ #B 1 0 41 , 1 0 42 . . · 1 04 η で実際に符号化さ れるデ一夕は先読みの時間分だけ F I F 0 1 0 5 l5 1 0 52 · · · 1 0 5 η によって遅らされる。
この各 F I F〇での遅延は、 数個程度の上記 G〇 Ρ分である。 例 えば、 画像 1 6枚によ り構成される G O Pの時間的な長さは、 約 0 5秒であるので、 せいぜい遅延時間は 2〜 3秒程度となる。 ス夕ジ ォから生放送されるようなプログラムがあつたとしても、 ほぼ 2〜 3秒程度の遅延であれば、 ほぼ実時間での放送と変わりない。
エンコーダ #81 0 4 ^ 1 0 42 · · · 1 0 4 n では与えられたレ 一ト target— rate # 1, # 2 · · · # nに基づいて入力プログラム prog.l, prog. - · · prog. nを符号化する。 符号化されたそれぞれ のス ト リーム stream# 1 , # 2 · · · # ηはマルチプレクサ 1 0 6 によって多重化され、 多重化出力 MUXoutとして出力端子 1 0 7に供 ϊΓ、口され 。
エンコーダ #A 1 0 2 ^ 1 0 22 . · ' 及び 1 0 2 n と、 ェンコ一 ダ 1 0 4 !, 1 0 42 · · · 1 0 4 η の詳細な構成を図 1 1 に示す c ここでは、 エンコーダ #Β 1 0 4! を代表させている。 画像並び変え 回路 1 0 9、 走査変換 ' マクロプロック化回路 1 1 0、 加算回路 1 1 1、 D C T回路 1 1 2、 量子化回路 1 1 3、 可変長符号化回路 ( V L C ) 1 1 4、 ノ ヅファ 1 1 5、 符号量制御回路 1 1 6、 逆量 子化回路 1 1 7、 逆 D C T回路 1 1 8、 加算回路 1 1 9、 動き補償 回路 1 2 0及び動き検出回路 1 2 1から構成される一般的な映像デ 一夕用圧縮符号化器である。
画像並び変え回路 1 0 9は、 入力端子 1 0 8からの映像信号入力 を符号化順に並び変える。 走査変換 ' マクロプロック化回路 1 1 0 は、 フィ ール ド-フ レーム変換を行い、 マクロブロックを構成する。 例えば、 上記映像信号入力が映画の映像信号である場合には 3 : 2 プルダウン処理等を行う。
加算回路 1 1 1は、 加算回路 1 1 9の出力デ一夕を上記走査変換 • マクロプロック化回路 1 1 0を介した入力映像信号から減算し、 D C T回路 1 1 2に対して出力する。 D C T回路 1 1 2は、 加算回路 1 1 1から入力される映像デ一夕 を、 例えば 1 6画素 X 1 6画素のマクロブロック単位に離散コサイ ン変換 (D C T ) 処理し、 時間領域のデータから周波数領域のデー 夕に変換して量子化回路 1 1 3に対して出力する。
量子化回路 1 1 3は、 D C T回路 1 1 2から入力された周波数領 域のデ一夕を、 固定又は任意の量子化ステップで量子化し、 量子化 データとして可変長符号化回路 1 1 4及び逆量子化回路 1 1 7に対 して出力する。
可変長符号化回路 1 1 4は、 量子化回路 1 1 3から入力された量 子化データを可変長符号化し、 可変長符号化の結果として得られた 圧縮映像デ一夕をバッ フ ァ 1 1 5に供給する。 ノ ソ フ ァ 1 1 5は、 上記圧縮映像デ一夕をバッフ ァ リ ングして、 ビッ トス ト リームを出 力端子 1 2 3に供給する。
逆量子化回路 1 1 7は、 量子化回路 1 1 3から入力された量子化 データを逆量子化し、 逆量子化データとして逆 D C T回路 1 1 8に 対して出力する。
逆 D C Τ回路 1 1 8は、 逆量子化回路 1 1 7から入力される逆量 子化データに対して逆 D C Τ処理を施し、 加算回路 1 1 9に対して 出力する。
加算回路 1 1 9は、 動き補償回路 1 2 0の出力デ一夕及び逆 D C Τ回路 1 1 8の出力データを加算し、 加算回路 1 1 1及び動き補償 回路 1 2 0に対して出力する。
動き補償回路 1 2 0は、 加算回路 1 1 9の出力デ一夕に対して、 動き検出回路 1 2 1がリ ファ レンスフ レームに対して計算した動き べク トルに基づいて動き補償処理を施し、 加算回路 1 1 1に対して 出力する。
エンコーダ #A1 02 i , 1 022 · · · 及び 1 02 n では、 符号量 制御回路 1 1 6で決定する量子化ステップを固定値として、 量子化 回路 1 1 3に量子化を行わせ、 バッファ 1 1 5の発生符号量を測定 する。 このデータは、 コン トローラ 1 03に上記符号化難易度関連 情報 difficultyとして供給される。
また、 エンコーダ #B 1 041 , 1 042 · · · 1 04 n では、 コン トロ一ラ 1 03で決定された目標符号量は符号量制御回路 1 1 6に 与えられる。 符号量制御回路 1 1 6は、 量子化回路 1 1 3での任意 の量子化ステツプを制御する。
コン トローラ 1 03は、 エンコーダ #A 1 02 1 022 · · · 及 び 1 02 n からの上記符号化難易度関連情報 difficultyに基づいて 上記目標符号量を算出する。 このコン トローラ 1 03は、 上記図 8 に示したの同様に、 ROM 7 1と、 CPU 72と、 RAM73とか ら構成される。 CPU 72には、 入力端子 74を介して入力として エンコーダ #A1 021 , 1 022 · · · 及び 1 02n からの上記符号 化難易度関連情報 difficulty#l, #2 - · ' 及び #3が入り、 CPU 7 2からは出力端子 7 5を介して出力としてエンコーダ #B1 041 , 1 042 · · ' 及び 1 04n へ target_rate#l, #2 · · · #nが送られ る。 CPU 72は ROM 7 1に格納されているァルゴリズム及びテ —ブルを、 ワークエリアとしての R A M7 3を使用しながら実行す る
R 0 M 7 1に格納されているアルゴリズムの例を図 1 2に示す。 このアルゴリズムでは、 符号化難易度 difficulty. #i を用いて目標 符号化レー ト target— rate を比例分配している。 通信路全体のレー トを channel— rateとし、 またプログラムの数を nとする。
先ず、 ステップ S 1で見積も り符号量の総和が入る変数 total に 初期値として 0を代入する。 次に、 ステップ S 2でループカウン夕 iに初期値として 1を代入する。 そして、 ステップ S 3でループ力 ゥン夕 iの値が nより も大きければループを抜けてステツプ S 8に 進む。
次に、 ステップ S 4 ' でエンコーダ 1 0 2 i から送られてく る符 号化難易度 difficulty. #i を取り出し、 そして、 ステップ S 5 ' で 見積も り量を格納する配列 trate[i]に difficulty.#i を代入する。 ステップ S 6 ' では、 見積も り量の総和 totalに difficulty. #iを 加算する。 そして、 ステップ S 7でループカウン夕 iをイ ンク リメ ン ト し、 ループの先頭であるステップ S 3に戻る。
次に、 ステップ S 8でループ力ゥン夕 iに初期値として 1を代入 する。 ループ力ゥン夕 iの値がステップ S 9で nよりも大きければ ループを抜けて終了する。
ステップ S 1 0では、 i番目のエンコーダの目標符号量 target— r ate#iとして、 chnneし rateを見積も り量 trate[i]で比例配分する。 すなわち、 上記式 ( 4 ) と同じにする。
ステップ S 1 1では、 エンコーダに target— rate#i を供給する。 そして、 ステップ S 1 2でループカウン夕 iをイ ンク リメン ト し、 ループの先頭 S 9に戻る。
以上のように、 本発明の他の実施の形態となる映像データ伝送装 置では、 符号化難易度の測定用のエンコーダ #A1 0 2 l5 1 0 22 · • · 及び 1 0 2 n と F I F 0 1 0 5 ^ 1 0 52 · · · 及び 1 0 5 n を用いることによって、 データを先読みすることができ、 高精度の レー ト割当による統計多重がほぼ実時間で可能となる。 ただし、 こ の他の実施の形態では、 一つのプログラム系についてエンコーダを 二つ必要としてしまう。
なお、 本発明では、 F I F 0を用いてデータの先読みを行ったが、 予め符号化難易度 diff iculty情報を固定量子化のエンコーダによつ て求めておき、 適当な記録媒体に保存しておいて、 多重化するとき に参照するようにしてもよい。
このようにしておけば、 上記図 3に示した映像デ一夕伝送装置と 同様に、 一つのプログラム系に対しては、 一つのエンコーダのみで よく、 高価なエンコーダを二つ必要とすることがなく、 コス ト上問 題となることがない。
産 業 上 の 利 用 可 能 性
本発明に係る映像データ符号化装置及び方法によれば、 複数の映 像プログラムをほぼ実時間で、 所定の伝送レー ト以内に収まるよう に多重化して伝送できるように符号化することができる。
また、 本発明に係る映像データ伝送方法によれば、 複数の映像プ 口グラムをほぼ実時間で、 所定の伝送レー ト以内に収まるように多 重化して伝送できる。

Claims

請 求 の 範 囲
1 . 複数 n ( n≥ 2 ) 本の映像プログラムを多重化して伝送する ときの伝送レー トを所定の値以下にするために、 上記複数 n本の映 像プログラムに対してそれぞれ独立した目標符号化レートを割り当 てて符号化する映像データ符号化装置であって、
上記複数 n本の映像プログラムの符号化難易度関連情報に基づい て、 上記複数 n本の映像プログラムの合計伝送レ一卜が上記所定の 伝送レー ト以下になるように、 上記独立した目標符号化レー トを算 出する目標符号化レー ト算出手段と、
上記目標符号化レー ト算出手段で算出された上記目標符号化レー トに基づいて上記複数 n本の映像プログラムを符号化する複数 n個 の符号化手段と
を備えることを特徴とする映像データ符号化装置。
2 . 上記複数 n個の符号化手段のそれぞれは、 フレーム内符号化 画像、 フレーム間順方向予測符号化画像、 双方向予測符号化画像を 所定数含んでなる画像符号化グループ単位に上記映像プログラムの 映像データを符号化することを特徴とする請求の範囲第 1項記載の 映像データ符号化装置。
3 . 上記複数 n個の符号化手段のそれぞれは、 上記符号化難易度 関連情報を遅延手段を用いた先読みにより得ることを特徴とする請 求の範囲第 1項記載の映像データ符号化装置。
4 . 上記複数 n個の符号化手段のそれぞれは、 上記符号化難易度 関連情報として、 フラッ トネス、 イ ン トラ A Cデ一夕、 D C値、 M E残差のような画像符号化時のパラメ一夕情報を先読みにより得る ことを特徴とする請求の範囲第 3項記載の映像デ一夕符号化装置。
5 . 上記符号化難易度関連情報は、 上記複数 n本の映像プログラ ムに対して固定量子化ステツプで量子化処理を施すことによって得 られた符号量であり、 この符号量は上記複数 n個の符号化手段に対 して並列接続される複数 n個の他の符号化手段により得られること を特徴とする請求の範囲第 1項記載の映像データ符号化装置。
6 . 上記複数 n個の符号化手段の各前段には、 上記複数 n個の他 の符号化手段が上記複数 n本の映像プログラムから上記符号量を算 出する時間分だけ上記映像プログラムを遅延させる複数 n個の遅延 手段が設けられることを特徴とする請求の範囲第 5項記載の映像デ 一夕符号化装置。
7 . 上記符号化難易度関連情報は、 上記複数 n本の映像プログラ ムに対して固定量子化ステツプで量子化処理を施すことによって得 られ、 記録媒体に記録されていることを特徴とする請求の範囲第 1 項記載の映像データ符号化装置。
8 . 複数 n ( n≥ 2 ) 本の映像プログラムを多重化して伝送する ときの伝送レー トを所定の値以下にするために、 上記複数 n本の映 像プログラムに対してそれぞれ独立した目標符号化レー 卜を割り当 てて符号化する映像データ符号化方法であって、
上記複数 n本の映像プログラムの符号化難易度関連情報に基づい て、 上記複数 n本の映像プログラムの合計伝送レートが上記所定の 伝送レ一 ト以下になるように、 上記独立した目標符号化レートを算 出する目標符号化レー ト算出工程と、
上記目標符号化レー ト算出工程で算出した上記目標符号化レート に基づいて上記複数 n本の映像プログラムを符号化する符号化工程 と
を備えることを特徴とする映像データ符号化方法。
9 . 上記符号化工程では、 フ レーム内符号化画像、 フ レーム間順 方向予測符号化画像、 双方向予測符号化画像を所定数含んでなる画 像符号化グループ単位に上記映像プログラムの映像データを符号化 することを特徴とする請求の範囲第 8項記載の映像データ符号化方 法。
1 0 . 上記符号化工程では、 上記各映像プログラムの上記符号化 難易度関連情報を遅延工程を用いた先読みにより得ることを特徴と する請求の範囲第 8項記載の映像データ符号化方法。
1 1 . 上記符号化工程は、 上記符号化難易度関連情報として、 フ ラヅ トネス、 イ ン トラ A Cデータ、 D C値、 M E残差のような画像 符号化時のパラメ一夕情報を先読みにより得ることを特徴とする請 求の範囲第 1 0項記載の映像データ符号化方法。
1 2 . 上記符号化難易度関連情報は、 上記複数 n本の映像プログ ラムに対して固定量子化ステツプで量子化処理を施すことによって 得られた符号量であり、 この符号量は上記符号化工程に対して並列 的に行われる他の符号化工程により得られることを特徴とする請求 の範囲第 8項記載の映像データ符号化方法。
1 3 . 上記符号化工程は、 上記他の符号化工程が上記複数 n本の 映像プログラムから上記符号量を算出する時間分だけ遅延させた上 記映像プログラムに対して、 上記符号化処理を施すことを特徴とす る請求の範囲第 1 2項記載の映像デ一夕符号化方法。
1 4 . 伝送レートを所定の値以下にするために、 複数 n ( n≥ 2 ) 本の映像プログラムに対してそれぞれ独立した目標符号化レー トを 割り当てて符号化してから、 多重化して伝送する映像デ一夕伝送方 法であって、
上記複数 n本の映像プログラムの符号化難易度関連情報に基づい て、 上記複数 n本の映像プログラムの合計伝送レー トが上記所定の 伝送レー ト以下になるように、 上記独立した目標符号化レ一トを算 出する目標符号化レー ト算出工程と、
上記目標符号化レー ト算出工程で算出した上記目標符号化レート に基づいて上記複数 n本の映像プログラムを符号化する符号化工程 と、
上記符号化工程からの上記符号化映像プログラムを多重化する多 重化工程と
を備えることを特徴とする映像データ伝送方法。 21
1 5 . 上記符号化工程は、 フ レーム内符号化画像、 フ レーム間順 方向予測符号化画像、 双方向予測符号化画像を所定数含んでなる画 像符号化グループ単位に上記映像プログラムの映像データを符号化 することを特徴とする請求の範囲第 1 4項記載の映像データ伝送方 法。
1 6 . 上記符号化難易度関連情報は、 上記符号化工程によって先 読みされるパラメ一夕情報であることを特徴とする請求の範囲第 1 4項記載の映像データ伝送方法。
1 7 . 上記符号化工程は、 上記映像プログラムの映像データのう ち、 フレーム内符号化画像に圧縮される画像の上記パラメ一夕情報 としてフラッ トネス及びィ ン トラ A Cデータ又はこれらのいずれか を算出し、 フレーム間順方向予測符号化画像及び双方向予測符号化 画像に圧縮される画像の上記パラメ一夕情報として M E残差を算出 することを特徴とする請求の範囲第 1 6項記載の映像データ伝送方 法。
1 8 . 上記符号化難易度関連情報は、 上記複数 n本の映像プログ ラムに対して固定量子化ステップで量子化処理を施すことによって 得られた符号量であり、 この符号量は上記符号化工程に対して並列 に行われる他の符号化工程により得られることを特徴とする請求の 範囲第 1 4項記載の映像データ伝送方法。
1 9 . 上記符号化工程の各前段には、 上記他の符号化工程が上記 複数 n本の映像プログラムから上記符号量を算出する時間分だけ上 記映像プログラムを遅延させる遅延工程が設けられることを特徴と する請求の範囲第 1 8項記載の映像データ伝送方法。
2 0 . 上記符号化難易度関連情報は、 上記複数 n本の映像プログ ラムに対して固定量子化ステップで量子化を施すことによって得ら れた符号量であり、 この符号量は記録媒体に記録されており、 多重 化時に参照されることを特徴とする請求の範囲第 1 4項記載の映像 データ伝送方法。
PCT/JP1997/004595 1996-12-12 1997-12-12 Procede et dispositif de codage d'image numerisee et procede de transmission d'image numerisee Ceased WO1998026599A1 (fr)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE69735307T DE69735307T2 (de) 1996-12-12 1997-12-12 Vorrichtung und verfahren zur kodierung von bilddaten sowie verfahren zur bilddatenübertragung
US09/117,940 US6243417B1 (en) 1996-12-12 1997-12-12 Device and method for encoding image data, and image data transmission method
EP97947927A EP0888009B1 (en) 1996-12-12 1997-12-12 Device and method for encoding image data, and image data transmission method

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP8/332082 1996-12-12
JP33208296 1996-12-12
JP17479797 1997-06-30
JP9/174797 1997-06-30

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US09/117,940 A-371-Of-International US6243417B1 (en) 1996-12-12 1997-12-12 Device and method for encoding image data, and image data transmission method
US09/739,058 Continuation US20010000675A1 (en) 1996-12-12 2000-12-18 Video data encoding apparatus, video data encoding method, and video data transmission method

Publications (1)

Publication Number Publication Date
WO1998026599A1 true WO1998026599A1 (fr) 1998-06-18

Family

ID=26496284

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1997/004595 Ceased WO1998026599A1 (fr) 1996-12-12 1997-12-12 Procede et dispositif de codage d'image numerisee et procede de transmission d'image numerisee

Country Status (4)

Country Link
EP (1) EP0888009B1 (ja)
KR (1) KR100571685B1 (ja)
DE (1) DE69735307T2 (ja)
WO (1) WO1998026599A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000032450A (ja) * 1998-07-15 2000-01-28 Toshiba Corp デジタル放送における複数情報信号のビットレート変更方式及び装置

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6643327B1 (en) * 2000-05-05 2003-11-04 General Instrument Corporation Statistical multiplexer and remultiplexer that accommodates changes in structure of group of pictures
JP2005203905A (ja) * 2004-01-13 2005-07-28 Sony Corp 画像符号化装置、画像符号化方法並びに画像符号化プログラム
US8275045B2 (en) 2006-07-12 2012-09-25 Qualcomm Incorporated Video compression using adaptive variable length codes
DE102007001379A1 (de) * 2007-01-09 2008-07-10 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Konzept zum Encodieren einer Mehrzahl von Informationssignalen für eine gemeinsame Übertragung in einem Zeitmultiplex
DE102007013026B4 (de) * 2007-03-19 2010-12-30 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Kodierung einer Mehrzahl von Informationssignalen unter Verwendung einer gemeinsamen Rechenleistung
EP2046063A1 (en) * 2007-10-02 2009-04-08 Alcatel Lucent Method for rate control of multimedia streams and apparatus for performing this method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04257185A (ja) * 1991-02-08 1992-09-11 Sony Corp 高能率符号化方法
JPH04329089A (ja) * 1991-04-30 1992-11-17 Olympus Optical Co Ltd 動画像符号化装置
JPH0541860A (ja) * 1991-08-05 1993-02-19 Oki Electric Ind Co Ltd 画像圧縮符号化装置
JPH06197329A (ja) * 1992-09-11 1994-07-15 Nec Corp 動画像符号化制御方式
JPH06253277A (ja) * 1991-05-23 1994-09-09 American Teleph & Telegr Co <Att> 可変ビット・レート・チャネルに対するバッファを制御する方法および装置
JPH06284401A (ja) * 1993-03-25 1994-10-07 Kodo Eizo Gijutsu Kenkyusho:Kk 画像符号化装置
JPH07264580A (ja) * 1994-03-17 1995-10-13 Toshiba Corp 映像信号伝送方法並びに映像信号送信装置及び映像信号受信装置
JPH07284096A (ja) * 1994-04-06 1995-10-27 Nec Corp 多チャンネル画像伝送装置
JPH07312754A (ja) * 1994-05-19 1995-11-28 Mitsubishi Electric Corp 動画像符号化装置
JPH07322254A (ja) * 1994-05-25 1995-12-08 Sony Corp 符号化装置
JPH0818960A (ja) * 1994-06-24 1996-01-19 Victor Co Of Japan Ltd 総符号量制御を行なう動画像符号化装置
JPH0818952A (ja) * 1994-06-27 1996-01-19 Nippon Telegr & Teleph Corp <Ntt> 画像信号符号化装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BE1007490A3 (nl) * 1993-09-10 1995-07-11 Philips Electronics Nv Inrichting voor het overdragen van een pluraliteit van televisie signalen over een transmissie kanaal.
US5506844A (en) * 1994-05-20 1996-04-09 Compression Labs, Inc. Method for configuring a statistical multiplexer to dynamically allocate communication channel bandwidth
TW374283B (en) * 1994-05-25 1999-11-11 Sony Corp A multiple coding device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04257185A (ja) * 1991-02-08 1992-09-11 Sony Corp 高能率符号化方法
JPH04329089A (ja) * 1991-04-30 1992-11-17 Olympus Optical Co Ltd 動画像符号化装置
JPH06253277A (ja) * 1991-05-23 1994-09-09 American Teleph & Telegr Co <Att> 可変ビット・レート・チャネルに対するバッファを制御する方法および装置
JPH0541860A (ja) * 1991-08-05 1993-02-19 Oki Electric Ind Co Ltd 画像圧縮符号化装置
JPH06197329A (ja) * 1992-09-11 1994-07-15 Nec Corp 動画像符号化制御方式
JPH06284401A (ja) * 1993-03-25 1994-10-07 Kodo Eizo Gijutsu Kenkyusho:Kk 画像符号化装置
JPH07264580A (ja) * 1994-03-17 1995-10-13 Toshiba Corp 映像信号伝送方法並びに映像信号送信装置及び映像信号受信装置
JPH07284096A (ja) * 1994-04-06 1995-10-27 Nec Corp 多チャンネル画像伝送装置
JPH07312754A (ja) * 1994-05-19 1995-11-28 Mitsubishi Electric Corp 動画像符号化装置
JPH07322254A (ja) * 1994-05-25 1995-12-08 Sony Corp 符号化装置
JPH0818960A (ja) * 1994-06-24 1996-01-19 Victor Co Of Japan Ltd 総符号量制御を行なう動画像符号化装置
JPH0818952A (ja) * 1994-06-27 1996-01-19 Nippon Telegr & Teleph Corp <Ntt> 画像信号符号化装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP0888009A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000032450A (ja) * 1998-07-15 2000-01-28 Toshiba Corp デジタル放送における複数情報信号のビットレート変更方式及び装置

Also Published As

Publication number Publication date
EP0888009B1 (en) 2006-02-22
DE69735307D1 (de) 2006-04-27
KR100571685B1 (ko) 2006-11-30
KR19990082486A (ko) 1999-11-25
DE69735307T2 (de) 2006-11-02
EP0888009A1 (en) 1998-12-30
EP0888009A4 (en) 2003-05-28

Similar Documents

Publication Publication Date Title
KR100610520B1 (ko) 비디오 데이터 부호화 장치, 비디오 데이터 부호화 방법, 비디오데이터 전송 장치 및 비디오 데이터 기록 매체
US6804301B2 (en) First pass encoding of I and P-frame complexity for compressed digital video
CA2456252C (en) Motion-adaptive noise reduction pre-processing for digital video signal
KR100599017B1 (ko) 영상 데이터 압축 장치 및 그 방법
US6956899B2 (en) Precise bit control apparatus with look-ahead for MPEG encoding
JP2001169281A (ja) 動画像符号化装置、および動画像符号化方法
KR19980018698A (ko) 영상 데이터 압축 장치 및 그의 방법
WO1999001987A1 (fr) Dispositif et procede de commande de codage d&#39;images, systeme de codage, systeme de transmission et systeme de diffusion
JPH0879766A (ja) 動画像符号化方法及び動画像符号化装置
US6243417B1 (en) Device and method for encoding image data, and image data transmission method
JPH10191343A (ja) 映像データ圧縮装置およびその方法
WO1998026599A1 (fr) Procede et dispositif de codage d&#39;image numerisee et procede de transmission d&#39;image numerisee
JP2001028753A (ja) 動画像符号化装置及びその方法
JPH0998427A (ja) 動画像符号化装置
JPH08149413A (ja) 可変ビットレート符号化装置および記録装置および記録媒体
JP3149673B2 (ja) 映像符号化装置、映像符号化方法、映像再生装置及び光ディスク
US20010000675A1 (en) Video data encoding apparatus, video data encoding method, and video data transmission method
JP2001008207A (ja) 動画像符号化装置及びその方法
JPH1066092A (ja) 映像データ圧縮装置およびその方法
JPH11205803A (ja) 符号化装置及び符号化方法
JP3765129B2 (ja) 符号化装置および符号化方法
JPWO1998026599A1 (ja) 映像データ符号化装置及び方法並びに映像データ伝送方法
JP4000581B2 (ja) 画像符号化装置および方法
JPH1127665A (ja) 映像データ符号化装置及び方法並びに映像データ伝送方法
JP4264790B2 (ja) 統計多重制御装置、画像符号化装置、統計多重システム、統計多重制御方法および符号化方法

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP KR US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FI FR GB GR IE IT LU MC NL PT SE

WWE Wipo information: entry into national phase

Ref document number: 1997947927

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 1019980706219

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 09117940

Country of ref document: US

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

Ref document number: 1997947927

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1019980706219

Country of ref document: KR

WWG Wipo information: grant in national office

Ref document number: 1019980706219

Country of ref document: KR

WWG Wipo information: grant in national office

Ref document number: 1997947927

Country of ref document: EP