WO2007122898A1 - Transcoding apparatus, decoding apparatus and encoding apparatus - Google Patents

Transcoding apparatus, decoding apparatus and encoding apparatus Download PDF

Info

Publication number
WO2007122898A1
WO2007122898A1 PCT/JP2007/054830 JP2007054830W WO2007122898A1 WO 2007122898 A1 WO2007122898 A1 WO 2007122898A1 JP 2007054830 W JP2007054830 W JP 2007054830W WO 2007122898 A1 WO2007122898 A1 WO 2007122898A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
type
decoding
encoded
pictures
Prior art date
Application number
PCT/JP2007/054830
Other languages
French (fr)
Japanese (ja)
Inventor
Takeshi Tanaka
Original Assignee
Panasonic Corporation
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 Panasonic Corporation filed Critical Panasonic Corporation
Publication of WO2007122898A1 publication Critical patent/WO2007122898A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/40Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream

Definitions

  • Transcoding device decoding device, and encoding device
  • the present invention relates to a picture that is encoded within a frame, a picture that is encoded with reference to another frame and also referred to itself, and is encoded with reference to another frame and referred to itself.
  • the present invention relates to a transcoding device that transcodes a coded video image including a picture and a decoding device that decodes the encoded video image.
  • the present invention also relates to an encoding device that encodes a moving image.
  • Transcoding is the re-encoding of encoded data encoded in a certain encoding format in a different encoding format.
  • transcoding that re-encodes encoded data encoded in the 8 Mbps (Bits Per Second) format of the MEPG2 standard in the 4 Mbps format of the MPEG2 standard, or encoded data encoded in the MPEG2 format.
  • transcoding that re-encodes in the form.
  • Such transcoding processing is a high-load operation of re-encoding a moving image generated by decoding each picture constituting the encoded moving image. It takes a long time to complete.
  • Patent Document 1 a method for high-speed transcoding has been proposed.
  • Patent Document 1 discloses a technique for dividing a file to be transcoded in order to perform transcoding processing in parallel by a plurality of devices.
  • Patent Document 1 Japanese Patent No. 3550651
  • Non-Patent Document 1 ITU-T Recommendation H. 262 rinformation technology-Generic coding of moving pictures and associated audio information: videoj Disclosure of the invention
  • an encoded moving image encoded in the MPEG2 format is encoded with reference to an I picture that is intra-frame encoded, a P-picture that is encoded with other frame codes, and other frames.
  • picture power There are also three types of picture power that are not referenced by themselves.
  • An I picture is a picture that can be reproduced independently.
  • a P picture is a picture that is played back using the difference between the preceding I picture or P picture power. Therefore, when decoding a P picture, it is necessary to decode with reference to the preceding I picture or P picture. Also, when generating a P picture by encoding a moving image, it is necessary to encode it by referring to the preceding I picture or P picture.
  • a B picture is a picture that is reproduced using a difference from the preceding and following I or P pictures. Therefore, when decoding a B picture, it is necessary to decode it with reference to the preceding and following I or P pictures. In addition, when a B picture is generated by encoding a moving picture, it is necessary to perform encoding by referring to the previous or next I picture or P picture. In the MPEG2 standard, B pictures are not referenced.
  • the I picture, the P picture, and the B picture are mutually dependent.
  • the unit of I picture, P picture, and B picture as a group is GOP (Group Of Pictures) t ⁇ , and the MPEG encoded moving picture is expressed as a GOP aggregate.
  • GOP Group Of Pictures
  • the MPEG encoded moving picture is expressed as a GOP aggregate.
  • an object of the present invention is to provide a transcoding device and a decoding device that can divide code-motion images having mutually dependent picture powers that refer to each other and decode them at high speed.
  • Another object of the present invention is to provide an encoding device that can divide a moving image and encode it at a high speed into an encoded moving image composed of pictures having interdependencies.
  • a transcoding device is a coded video image including a plurality of picture groups composed of a plurality of picture frames.
  • An encoded moving image encoded in the first encoding format which includes one or more third-type pictures that are encoded with reference to other frames in the frame and are not referred to themselves.
  • a transcoding device for encoding in a coded format comprising: a plurality of decoding means for sharing and decoding the encoded moving image; and a video obtained as a result of decoding by the plurality of decoding means.
  • Each of the means includes a third type picture that is different from the encoded moving image, and all the first type pictures and second type pictures that require decoding results for decoding the third type picture. It is characterized by decoding.
  • the first type picture that is encoded in the frame the second type picture that is encoded with reference to another frame and is also referred to, and the other frame is referred to
  • the other frame is referred to
  • a plurality of decoding means and encoding means can be used to transcode different type 3 pictures in a distributed manner. As a result, the transcoding process can be performed at high speed.
  • the first encoding format and the second encoding format may be different encoding standards, or may be the same encoding standards with different bit rates! /.
  • the first type picture, the second type picture, and the third type picture correspond to an I picture, a P picture, and a B picture defined by the MPEG2 standard, respectively.
  • the transcoding device includes a distribution unit that distributes and supplies the encoded moving image to each of the plurality of decoding units, and each of the plurality of decoding units includes a portion of the supplied encoded moving image.
  • the third type pictures that require the same decoding result of the first type picture and the second type picture are grouped together, and the decoding result is decoded into the grouped third type picture and the third type picture. All necessary type 1 pictures and type 2 pictures may be decoded.
  • the transcoding apparatus divides the encoded moving image into third type pictures that require decoding results of the same first type picture and second type picture, and divides the encoded moving images into one group.
  • Each of the decoding means may decode the supplied third picture, first picture, and second picture.
  • a plurality of third-type pictures that refer to the same first-type picture and second-type picture are grouped, and each group, first-type picture, and second-type picture are decoded by each decoding unit.
  • each decoding means only needs to decode the input picture, so it is more efficient. It is possible to transcode a sign video image well.
  • the transcoding device of the present invention includes:
  • the first type picture that is intraframe encoded the second type picture that is encoded with reference to other frames and that is also referred to itself, and that is encoded with reference to other frames and is not referred to itself.
  • a transcoding device that encodes an encoded moving image encoded in a first encoding format, composed of a plurality of GOPs including a third type picture, in a different second encoding format.
  • each of the decoding means being a first in a different GOP of the plurality of GOPs.
  • the decoding result is necessary for decoding the first type picture, the second type picture, and the third type picture together with the first type picture, the second type picture, and the third type picture. Decoding the first kind picture and the second kind picture of Features.
  • Each of the transcoding devices described above conforms to the MPEG2 standard, and the first type picture is an I picture defined by the MPEG2 standard, and the second type picture is a P defined by the MPE G2 standard. It is a picture, and the third type picture may be a B picture as defined in the MPEG2 standard!
  • the decoding device of the present invention is a coded video image including a plurality of picture groups that generate a plurality of pictures, and each frame is encoded with an intra-frame code.
  • a decoding device that decodes an MPEG encoded encoded moving image that includes one or more third-type pictures that are encoded with reference to other frames but are not referred to themselves.
  • Each of the decoding means includes a part of a different third type picture in the encoded moving image and all of the first types that require a decoding result for decoding the third type picture. It is characterized by decoding the seed picture and the second kind picture.
  • the first type picture that is intra-frame coded the second type picture that is encoded with reference to another frame and is also referred to, and the other frame is referred to.
  • transcoding a coded video image including a third type picture that is encoded and not referenced by itself it can be decoded while maintaining the interdependence between the pictures.
  • the encoding apparatus is a coded moving image including a plurality of picture groups each having a plurality of picture powers.
  • a decoding unit comprising: a plurality of encoding units that share and encode the moving image; and a combining unit that combines the encoded moving images that are the results of encoding by each of the encoding units.
  • a moving picture is encoded with a first type picture that is encoded within a frame, a second type picture that is encoded with reference to another frame and is also referred to, and the like. Encoded with reference to this frame and not referenced by itself ⁇
  • encoding is performed while maintaining the interdependence between the pictures. Can do. Brief Description of Drawings
  • FIG. 1 is a conceptual diagram showing interdependencies between pictures.
  • FIG. 2 is a conceptual diagram showing a data structure of an encoded moving image encoded according to the MPEG2 standard.
  • FIG. 3 is a block diagram showing a configuration of transcoding apparatus 100.
  • FIG. 4 is a block diagram showing a configuration of an image conversion unit 103.
  • FIG. FIG. 5 is a flowchart showing a picture analysis process performed by the transcoding apparatus 100.
  • FIG. 6 is a conceptual diagram showing transcoding processing performed by transcoding apparatus 100 in the first embodiment.
  • FIG. 8 is a conceptual diagram showing transcoding processing performed by transcoding apparatus 100 in the third embodiment.
  • FIG. 9 is a block diagram showing a configuration of decoding apparatus 200.
  • FIG. 10 is a block diagram showing a configuration of an image decoding unit 203.
  • FIG. 11 is a conceptual diagram showing a decoding process performed by an image decoding unit 203.
  • FIG. 12 is a block diagram showing a configuration of the sign key device 300.
  • FIG. 13 is a block diagram showing a configuration of an image code key unit 303.
  • FIG. 14 is a conceptual diagram showing a sign key process performed by the sign key device 303.
  • Embodiment 1 will be described with reference to FIGS.
  • transcoding Recoding a moving picture encoded at one bit rate between the same standards at a different bit rate is called transcoding.
  • transcoding an encoded moving image encoded according to one standard according to a different standard is also referred to as transcoding.
  • the transcoding device 100 decodes the encoded video that has been encoded at one bit rate according to the MPEG2 standard, and re-encodes at a different bit rate according to the MPEG2 standard.
  • a transcoding device that generates a code motion image.
  • encoded stream an encoded moving image (hereinafter referred to as “encoded stream”) encoded according to the MPEG2 standard will be described with reference to FIGS.
  • each GOP of an encoded stream encoded in accordance with the MPEG2 standard has a continuous picture power.
  • I picture There are three types of pictures: I picture, P picture, and B picture.
  • An I picture is a picture that can be played independently, and is always included in one GOP. Here, 10 I-pictures are shown.
  • a P picture is a picture that is reproduced using a difference between the preceding I picture or P picture power. Therefore, when decoding a P picture, it is necessary to decode with reference to the preceding I picture or P picture.
  • five P pictures are shown: Pl referring to 10, P4 referring to PI, P7 referring to P4, P10 referring to P7, and P13 referring to P10.
  • a B picture is a picture that is played back using a difference from the preceding or following I picture or P picture. Therefore, when decoding a B picture, it is necessary to decode it with reference to the preceding and following I or P pictures.
  • B2 and B3 refer to 10 and P1
  • B5 and B6 refer to 10 and P4
  • B8 and B9 refer to 10 and P7
  • B11 and B12 refer to 10 and P10
  • 10 And 10 pictures of B14 and B15 referring to P13.
  • each picture 10 includes a start code 11 and a picture header 12 at the head, and is followed by a slice to be decoded.
  • the start code 11 is an identifier indicating a break between pictures.
  • the picture header 12 is an identifier for identifying whether the picture is a power picture, a P picture, or a B picture.
  • the slice 13 is a data structure obtained by further fragmenting the picture 10, and is decoded at the slice layer.
  • the transcoding device 100 includes a storage unit 101, a stream unit 102, an image conversion unit # 1 (103A), an image conversion unit # 2 (103B), and an image conversion unit # 3 (103C). It has.
  • the storage unit 101 is an HDD (Hard Disk Drive) having a function of recording data, and stores an encoded stream encoded at a bit rate of 8 Mbps (Mega Bits Per Second) in accordance with the MPEG2 standard. is there. Also, the encoded stream transcoded by the stream device 102 is stored.
  • HDD Hard Disk Drive
  • 8 Mbps Mega Bits Per Second
  • the stream unit 102 includes a stream analysis unit 102a, a stream combination unit 102b, and a control unit 102c.
  • the stream analysis unit 102a inputs an encoded stream from the storage unit 101 via the input bus, refers to the picture header of each picture with respect to the input encoded stream, and sets the picture type, GOP delimiter, and It has a function to analyze.
  • the stream combining unit 102b generates a single encoded stream by combining the encoded stream pieces generated by the image conversion units # 1 (103A) to # 3 (103C) respectively transcoding. It has the function to do.
  • the control unit 102c assigns decoding of each of the plurality of pictures to any of the image conversion units # 1 (103A) to # 3 (103C), and performs image conversion via the control bus. Enter the allocation information in parts # 1 (103A) to # 3 (103C) It has a function. Further, it has a function of sending a stream from the storage unit 101 to the image conversion units # 1 (103A) to # 3 (103C) via the input stream bus.
  • control unit 102c collects B pictures that refer to the same I picture and P picture together, and refers to the grouped B picture groups and the decoding of these B picture groups. All the I pictures and P pictures that must be assigned are assigned to each image conversion unit 103.
  • the image conversion units # 1 (103A) to # 3 (103C) are assigned to their own from the encoded stream input from the storage unit 101 via the incoming stream node based on the assignment of the control unit 102c. It has a function to decode and re-encode the B picture, I picture, and P picture.
  • each of the image conversion units # 1 (103A) to # 3 (103C) includes an input stream buffer 103a, a decoder 103b, a frame memory 103c, an encoder 103d, an output stream buffer 103e, and a controller 103f. Is provided.
  • the input stream buffer 103a has a function of buffering an 8 Mbps encoded stream input from the storage unit 101 via the input stream node.
  • the decoder 103b has a function of reading and decoding the encoded stream buffered in the input stream buffer 103a and writing the decoded moving image in the frame memory 103c.
  • the encoder 103d has a function of reading a moving image written in the frame memory 103c, encoding it at 4 Mbps according to the MPEG2 standard, and writing the encoded stream into the output stream buffer 103e.
  • the encoded stream written in the output stream buffer 103e is sent to the storage unit 101 via the output stream bus.
  • the controller 103f has a function of managing input / output of an encoded stream by controlling the input stream buffer 103a, the decoder 103b, the frame memory 103c, the encoder 103d, and the output stream buffer 103e.
  • the controller 103f based on the control information from the control unit 102c, Function to instruct the decoder 103b to decode the specific B picture specified in the stream's central control information and all the I and P pictures required to decode the specific B picture.
  • step S100 when an encoded stream is input from storage section 101 to the stream apparatus (step S100), first, stream analysis section 102a performs each picture of the encoded stream.
  • the start code is searched (step S101). When the start code looks strong (S101: YES), if the subsequent stream is a picture header, the stream analysis unit 102a reads identification information (picture_coding_type) indicating the picture type included in the picture header. (Step S102), I picture, P picture, or B picture is discriminated and the result is notified to the control unit 102c. If GOP header is detected, it is judged that the GOP has moved to a new GOP. This is notified (step S1 03).
  • Steps S100 to S103 are repeated until the discrimination of the picture type is completed for all pictures (step S104).
  • control unit 102c grasps the picture type and GOP delimiter of all pictures.
  • control unit 102c collects a plurality of B pictures referring to the same I picture and P picture based on the determination results in steps S100 to S104 shown in FIG. Are assigned to the image conversion units # 1 (103A) to # 3 (103C), respectively.
  • B2 and B3 are grouped together and assigned to image conversion unit # 1 (103A) together with 10 and P1 that must be referenced.
  • B5 and B6 are collectively assigned to P1 and P4 that must be referred to, and 10 that P1 refers to, and assigned to the image conversion unit # 2 (103B).
  • B8 and B9 are collectively assigned to image conversion unit # 3 (103C) together with P4 and P7 that must be referred to, P1 that P4 refers to, and 10 that P1 refers to.
  • B14 and B15 are collectively assigned to the image conversion unit # 2 (103B) together with P10 and P13 that must be referred to and P7 that P10 refers to.
  • B17 and B18 are collectively assigned to the image conversion unit # 3 (103C) together with P13 and P16 that must be referred to and P10 referred to by P13.
  • B pictures are sequentially assigned to the image conversion units # 1 (103A) to # 3 (103C).
  • the image conversion unit # 1 (103A) has 10, 10, Pl, B2, B3, assigned to itself from among the encoded streams input from the storage unit 101 via the input stream bus.
  • P4, P7, P10, Bl1, B12, P13... are sequentially decoded by the decoder 103b.
  • the image conversion unit # 1 uses the encoder 103d to sequentially encode each picture with the picture power after decoding.
  • the image conversion unit # 2 (103B) sequentially decodes 10 / Pl, P4, B5, B6, P7, P10, P13, B14, ⁇ 15,.
  • the image conversion unit # 2 uses the encoder 103d to sequentially encode each picture with the picture power after decoding.
  • Image conversion unit # 3 sequentially decodes 10, Pl, P4, P7, B8, B9, P10, P13, P16, B17, ⁇ 18,. Go.
  • image conversion unit # 3 (103C) decodes each picture by encoder 103d.
  • the stream combination unit 102b combines the transcoded encoded stream pieces, and 1 One encoding storm is stored in the storage unit 101.
  • the image conversion units # 1 (103A) to # 3 (103C) have different B pictures, and transcoding all the I and P pictures required for decoding the B pictures. Transcoding can be performed by distributed processing while maintaining the interdependence of I, P, and B pictures.
  • the encoded stream can be transcoded at high speed.
  • the transfer bit rate You can use a small network configuration, or use a high-speed bus on the same board or a bus on the same chip! /.
  • the stream analysis unit 102b designates only the assignment to each image conversion unit # 1 (103A) to # 3 (10 3C), and each image conversion unit # 1 (103A) to # 3 (103C)
  • the second embodiment only the stream to be transcoded is included in the image conversion units # 1 (103A) to # 3 (103C). Is different in that it is supplied.
  • control unit 102c assigns decoding of each of a plurality of pictures to any one of the image conversion units # 1 (103A) to # 3 (103C) based on the analysis result of the stream analysis unit 102b.
  • the stream in the storage unit 101 is divided according to the allocation, and the divided pictures are sent to the image conversion units # 1 (103A) to # 3 (103C) according to the allocation.
  • the allocation referred to here is a group of B pictures that collectively refer to the B pictures that refer to the same I picture and P picture, All I pictures and P pictures that must be referred to when decoding these B pictures are assigned to the image converter 103.
  • the image conversion units # 1 (103A) to # 3 (103C) have a function of decoding pictures sent via the input stream bus.
  • transcoding apparatus 100 Next, the operation of transcoding apparatus 100 according to Embodiment 2 will be described. Note that the picture analysis process is the same as the process described in the first embodiment based on FIG. 5, and thus the description thereof will be omitted. The transcoding operation will be described below.
  • B2 and B3 are collectively sent to the image conversion unit # 1 (103A) together with 10 and P1 that must be referred to.
  • B5 and B6 are collectively sent to image conversion unit # 2 (103B) together with P1 and P4 that must be referred to, and 10 that P1 refers to.
  • B8 and B9 are collected and sent to the image conversion unit # 3 (103C) together with P4 and P7 that must be referenced, P1 that P4 refers to, and 10 that P1 refers to.
  • B17 and B18 are collected and sent to the image conversion unit # 3 (103C) together with P13 and P16 that must be referred to and P10 referred to by P13.
  • B pictures are assigned sequentially to image converters # 1 (103A) to # 3 (103C), and the assigned B picture and the I picture and B picture referenced by the B picture are transmitted. .
  • the image conversion unit # 1 (103A) converts the 10, Pl, B2, B3, P4, P7, P10, Bl1, B12, P13,... Received via the input stream bus into the decoder 103b. Decode sequentially.
  • the image conversion word # 2 (103B) sequentially decodes the received 10, Pl, P4, B5, B6, P7, P10, P13, B14, ⁇ 15... By the decoder 103b.
  • Image conversion ⁇ # 3 (103C) sequentially decodes received 10, Pl, P4, P7, B8, B9, P10, P13, P16, B17, ⁇ 18 ⁇ by decoder 103b. Go.
  • Each image conversion unit # 1 (103A) to # 3 (103C) encodes the picture with the encoder 103d in parallel with the decoding, and when transcoding is completed, the encoded stream fragment is converted into a stream combination unit.
  • the combination in 102b and the storage in the storage unit 101 are the same as in the first embodiment.
  • the stream is divided and each image conversion unit # 1 (103A) to
  • the picture (B picture, I picture, and P picture) to be transcoded by # 3 (103C) is sent in advance to each image conversion unit # 1 (103A) to # 3 (103C).
  • each image conversion unit # 1 (103A) to # 3 (103C) can simply decode the received picture, and each image conversion unit # 1 (103A) to # 3 ( The amount of input / output data between 103C) and the stream unit 102 can be reduced.
  • Embodiment 3 will be described with reference to FIGS.
  • each image conversion unit 103 in units of pictures.
  • an I picture or P picture in another adjacent GOP is also referred to. The difference is that each image conversion unit 103 is assigned in units of open GOP pictures.
  • the encoded stream includes a plurality of GOPs (GOP0, GOPl, GOP2, GOP3, GOP4-..., And each GOP includes at least one I picture and a plurality of B pictures. It is out.
  • Each GOP refers to an I picture or P picture in another neighboring GOP as well as referring to an I picture and P picture in the GOP.
  • GOP0 contains a Pl referring to 10, 10 and B2 and B3 referring to 10 and PI.
  • GOP1 includes one sheet 14, and B5 and B6 referring to 14 and P1 in GOP0.
  • GOP2 includes B8 and B9 that refer to a single 17 and 17 and 14 in GOP1.
  • GOP3 includes B11 and B12 which refer to one 110, and 110 and 17 in GOP2.
  • GOP4 includes B113 and B15 that refer to a single 113, and 113 and 110 in GOP3.
  • GOPs that have interdependencies among multiple GOPs between I-pictures, P-pictures, and B-pictures are called open GOPs.
  • control unit 102c based on the result of analysis by the stream analysis unit 102a, and a GOP and an I picture and a P picture in another adjacent GOP that must be referred to when decoding the GOP. Is assigned to each image conversion unit 103.
  • the control unit 102c collects a plurality of B pictures included in the same GOP based on the determination result in steps S100 to S104 shown in FIG. 5, and refers to each B picture.
  • B5 and B6 in GOP1 are collectively assigned to image conversion unit # 2 (103B) together with 14 in GOP1 and P1 in GOP0 that must be referenced, and 10 that P1 refers to.
  • B8 and B9 in GOP2 are collectively assigned to image conversion unit # 3 (103C) together with 17 in GOP2 and 14 in GOP1 that must be referred to.
  • B14 and B15 in GOP4 are collectively assigned to image conversion unit # 2 (103B) together with 113 in GOP4 and 110 in GOP3 to be referred to.
  • B17 and B18 in GOP5 are collectively assigned to image conversion unit # 3 (103C) together with 116 in GOP5 and 113 in GOP4 to be referred to.
  • B pictures are sequentially assigned to the image conversion units # 1 (103A) to # 3 (103C).
  • the image conversion unit # 1 (103A) is assigned with 10, 10, Pl, B2 from the encoded stream input from the storage unit 101 via the input stream bus. , B3, 17, 110, Bl1, ⁇ 12,... Are sequentially decoded by the decoder 103b.
  • the image conversion unit # 1 uses the encoder 103d to sequentially code each picture with the decoded picture power.
  • the image conversion unit # 2 (103B) is assigned with 10, 10, Pl, 14, B, from the encoded stream input from the storage unit 101 via the input stream bus. 5, B6, 110, 113, ⁇ 14, ⁇ 15 ... are sequentially decoded by the decoder 103b.
  • the image conversion unit # 2 (103B) uses the encoder 103d to convert each picture into a picture power code after decoding.
  • the image conversion unit # 3 (103C) is assigned with its own unit among the encoded streams input from the storage unit 101 via the input stream bus 14, 17, B8, B 9, 113, 116, ⁇ 17, ⁇ 18 ⁇ are sequentially decoded by the decoder 103b.
  • the image conversion unit # 3 uses the encoder 103d to sequentially encode each picture with the picture power after decoding.
  • the stream combination unit 102b combines the transcoded encoded stream pieces, and 1 One encoded stream is stored in the storage unit 101.
  • the image conversion units # 1 (103B) to # 3 (103C) have different B pictures across multiple GOPs and all I pictures included in adjacent GOPs necessary for decoding the B pictures.
  • transcoding and P pictures transcoding can be performed by distributed processing while maintaining the interdependence of I pictures, P pictures, and B pictures across GOPs.
  • an encoded stream including an open GOP can be transcoded at high speed.
  • Embodiment 4 will be described with reference to FIGS.
  • the transcoding apparatus transcodes the encoded stream encoded according to the MPEG2 standard.
  • the encoded stream encoded according to the MPEG2 standard is simply decoded and output. It differs in that it is a decoding device.
  • the decoding device 200 includes a storage unit 201, a stream unit 202, an image decoding unit #
  • the storage unit 201 has the same configuration as that of the storage unit 101 shown in the first embodiment, and stores an encoded stream encoded at a bit rate of 8 Mbps according to the MPEG2 standard.
  • the stream unit 202 includes a stream analysis unit 202a and a control unit 202b.
  • the stream analysis unit 202a has the same configuration as the stream analysis unit 102a shown in the first embodiment, and refers to the picture header of each picture with respect to the input encoded stream, the type of the picture, the GOP delimiter, and It has a function to analyze.
  • the control unit 202b has the same configuration as that of the control unit 102bc shown in the first embodiment.
  • the B pictures that refer to the same I picture and P picture are grouped together, and this group of B pictures is grouped. And a function of allocating all pictures and P pictures, which must be referred to when decoding these B picture groups, to each image decoding unit 203.
  • the image decoding units # 1 (103 8) to # 2 (103) decode the encoded stream input from the storage unit 101 via the input stream node based on the assignment of the control unit 202, and the image switching unit 204 It has a function to send to.
  • each of the image decoding units # 1 (103 8) to # 2 (103) includes an input stream buffer 203a, a decoder 203b, a frame memory 203c, an output image buffer 203d, and a controller 203e.
  • the input stream buffer 203a has a function of buffering an 8 Mbps encoded stream input from the storage unit 101 via the input stream bus.
  • the decoder 203b has a function of reading and decoding the encoded stream buffered in the input stream buffer 203a, and writing the decoded moving image to the frame memory 203c.
  • the output image buffer 203d has a function of receiving the moving image written in the frame memory 203c and sending it to the image switching unit 204.
  • the controller 203f has a function of controlling the input stream buffer 203a, the decoder 203b, the frame memory 203c, and the output image buffer 203d to manage input / output of the encoded stream and the moving image of the decoding result.
  • control unit 202b collects a plurality of B pictures that refer to the same I picture and P picture together based on the determination result in steps S100 to S104 shown in FIG. Assign to # 1 (103A) to # 2 (103B).
  • B2 and B3 are collectively assigned to image decoding unit # 1 (103A) together with 10 and P1 that must be referred to.
  • B5 and B6 are collectively assigned to the image decoding unit # 2 (103B) together with P1 and P4 that must be referred to, and 10 that P1 refers to.
  • B11 and B12 are collectively assigned to image decoding unit # 2 (103B) together with P7 and P10 that must be referred to.
  • the image decoding unit # 1 (103A) is assigned to itself from among the encoded streams input from the storage unit 101 via the input stream bus 10, Pl, B2, B3, P4, P7, B8, ⁇ 9... Are sequentially decoded by the decoder 103b.
  • the image decoding unit # 2 (103B) is assigned with 10, 10, Pl, P4, B5 from the encoded stream input from the storage unit 101 via the input stream bus. , B6, P7, P10, Bl1, B12,... Are sequentially decoded by the decoder 103b.
  • the decoded moving images are alternately switched by the image switching unit 204 and sent to the display unit 205 to be displayed on the display unit. In 205, it is displayed as one moving image.
  • the image decoding units # 1 (103 8) to # 2 (103) each decode different B pictures and all I pictures and P pictures necessary for decoding the B pictures.
  • decoding can be performed by distributed processing while maintaining the interdependence of I picture, P picture, and B picture.
  • the encoded stream can be decoded and output at high speed.
  • Embodiment 5 will be described with reference to FIGS.
  • the configuration shown in the first to fourth embodiments is applied to a coding apparatus. That is, the fifth embodiment is different in that it is a coding device that performs coding of moving images by distributed processing.
  • a configuration of the sign key device 300 according to the fifth embodiment will be described with reference to FIG.
  • the encoding device 300 includes a storage unit 301, a stream unit 302, an image encoding unit # 1 (303A), an image encoding unit # 2 (303B), and a camera imaging unit 304.
  • Prepare for The storage unit 301 has the same configuration as that of the storage unit 101 shown in the first embodiment, and stores the encoded stream encoded by the image encoding unit 303.
  • the stream unit 302 includes a stream combining unit 302a and a control unit 302b.
  • the stream combining unit 202a has a function of generating one encoded stream by combining the encoded stream pieces encoded by the image encoding units # 1 (303A) to # 2 (303B).
  • the control unit 302b encodes each moving image signal obtained by the camera imaging unit 304 based on the MPEG2 standard picture structure (I picture, P picture, B picture). It has a function of assigning the B picture to the image encoding units # 1 (303A) to # 2 (303B). Specifically, a plurality of B pictures that refer to the same I picture and P picture are grouped together, and the group of B pictures grouped together with all of the B picture group codes that must be referred to. The I picture and P picture are assigned to each image code key section 303.
  • the image encoding unit # 1 (103 8) to # 2 (103) encodes the moving image input from the power imaging unit 304 in accordance with the MPEG2 standard and inputs it. It has a function of sending to the stream coupling unit 302a via the bus.
  • the camera imaging unit 304 is a camera having an imaging unit that also has a CCD (Charge Coupled Device) element force, for example.
  • CCD Charge Coupled Device
  • each of the image code sections # 1 (303 8) to # 2 (303) includes an input image buffer 303a, an encoder 303b, a frame memory 303c, an output stream buffer 303d, and a controller 303e. Prepare.
  • the input image buffer 303a has a function of buffering a moving image signal input from the camera imaging unit 304 via the input image bus.
  • the encoder 303b has a function of reading out the moving image buffered in the input image buffer 303a, encoding it according to the MPEG2 standard, and writing the encoded stream into the frame memory 303c.
  • the output stream buffer 303d is a coded stream written in the frame memory 303c. A function of reading a program and sending it to the storage unit 301.
  • the controller 303f has a function of managing input / output of moving image signals and encoded streams by controlling the input image buffer 303a, the encoder 303b, the frame memory 303c, and the output stream buffer 303d.
  • control section 302b collects a plurality of B pictures that refer to the same I picture and P picture, and sends them to image coding sections # 1 (303A) to # 2 (303B), respectively. assign.
  • B2 and B3 are grouped together and assigned to image coding unit # 1 (303A) together with 10 and P1 that must be referenced.
  • B5 and B6 are collectively assigned to P1 and P4 which must be referred to, and further to 10 referred to by P1, and assigned to image code key # 2 (303B).
  • B11 and B12 are collectively assigned to the image encoding unit # 2 (303B) together with P7 and P10 that must be referred to.
  • the image encoding unit # 1 (303A) is assigned with the I allocated to the own unit from the encoded streams input from the storage unit 101 via the input stream bus.
  • the image encoding unit # 2 (303B), based on the assignment, stores the storage unit 10 via the input image bus.
  • the encoded encoded stream force S is combined by the S stream combining unit 302a.
  • image code key sections # 1 (303 8) to # 2 (303) are different B pictures, and all I pictures and P pictures necessary for the B picture code key.
  • By encoding it is possible to perform encoding by distributed processing while maintaining the interdependence of I picture, P picture, and B picture.
  • the moving picture can be MPEG-coded at high speed.
  • the decoding device that performs transcoding based on Embodiments 1 to 3 has been described above, the decoding device that performs decoding based on Embodiment 4, and the encoding device that performs encoding based on Embodiment 5 has been described.
  • the present invention is not limited to the configuration shown in the above embodiment, and can be modified as follows.
  • the stream analysis unit 102b has been described by taking an example in which the picture type is determined for all pictures.
  • the present invention is not limited to this, and is necessary for determining the allocation. Try to determine the number of picture types.
  • the stream analysis unit 102b designates only the picture assignment to each image decoding unit # 1 (203A) to # 3 (2 03C), and each image decoding unit # 1 (203A) to # 3 (203 C) has been described with an example of selectively decoding a specified picture, but the stream analysis unit 102b is not limited to this.
  • the stream is divided and sent to each image decoding unit # 1 (203A) to # 3 (203C), and each image decoding unit # 1 (203A) to # 3 (203C) decodes the divided stream pieces. Please do it.
  • the transcoding apparatus 100 includes the three image conversion units 103.
  • the number of the image conversion units 103 is not limited to this and may be arbitrarily determined. .
  • FIG. 15 shows two image conversion units 103 (image conversion units # 1 (103 8) to # 2 (103 ) Shows the processing when it is reduced.
  • the number of encoding units 303 ⁇ may be determined arbitrarily.
  • Embodiments 1 to 5 have been described by taking the encoded stream conforming to the MPEG2 standard as an example, but the present invention is not limited to this. That is, a picture that is coded within an frame, a picture that is coded with reference to another frame and that is also referred to itself, and that is coded with reference to another frame and is not referred to itself.
  • the present invention is applicable to any standard that handles pictures that have a mutually dependent relationship with pictures.
  • Embodiments 1 to 5 the configuration of the storage units 101, 201, and 301 is described as an example of an HDD. However, the present invention is not limited to this. Reading from RAM (Random Access Memory) or the like Z writing Any storage device can be used.
  • RAM Random Access Memory
  • Embodiments 1 to 3 the power described in the example of transcoding a 4 bit stream encoded in accordance with the MPEG2 standard at 4 Mbps according to the same standard. It is only an illustration and is not limited to this.
  • the stream analysis unit 202a refers to the GOP header included in the GOP layer and analyzes the GOP delimiter for each picture for the input encoded stream.
  • the GOP delimiter may be analyzed by referring to the picture header.
  • the force of including the display unit 205 in the configuration of the decoding device 200 is not limited to this.
  • the video decoded by the image decoding units # 1 (203 8) to # 2 (203) can be output, an interface is provided in place of the display unit 205, and an arbitrary external unit is provided via this interface. It may be connected to an output device such as a display device.
  • the force of including the camera imaging unit 304 in the configuration of the encoding device 300 is not limited to this.
  • an interface is provided instead of the camera imaging unit 304, and this interface is used. It may be connected to a moving image acquisition device such as an optional digital camera via the outside.
  • the decoding device is a useful technique in that it can decode an MPEG-encoded moving image at high speed.
  • the encoding device according to the present invention is a useful technique in that a moving image can be MPEG encoded at high speed.

Abstract

A control part (102c) assigns a plurality of B-pictures, which refer to the same I- and P-pictures, to the respective ones of image converting parts #1 through #3 (103A-103C) at a time, each of which sequentially transcodes, based on the assignment, the assigned B-picture and all of the I- and P-pictures, which are required for decoding that B-picture, from among encoded streams received from a storing part (101) via an input stream bus.

Description

明 細 書  Specification
トランスコーディング装置、復号装置、及び符号化装置  Transcoding device, decoding device, and encoding device
技術分野  Technical field
[0001] 本発明は、フレーム内符号ィ匕されるピクチャと、他のフレームを参照して符号ィ匕され 自身も参照されるピクチャと、他のフレームを参照して符号化され自身が参照されな ぃピクチャとを含んで成る符号化された符号ィ匕動画像をトランスコーディングするトラ ンスコーディング装置、及び復号する復号装置に関する。また、本発明は、動画像を 符号化する符号化装置に関する。  [0001] The present invention relates to a picture that is encoded within a frame, a picture that is encoded with reference to another frame and also referred to itself, and is encoded with reference to another frame and referred to itself. The present invention relates to a transcoding device that transcodes a coded video image including a picture and a decoding device that decodes the encoded video image. The present invention also relates to an encoding device that encodes a moving image.
背景技術  Background art
[0002] 従来、フレーム間差分を用いた圧縮符号化 (以下、単に「符号化」と呼ぶ)技術とし て、 MPEG (Moving Picture Expert Group)符号化技術がある(非特許文献 1参照)。 ある符号化形式で符号化された符号化データを異なる符号化形式で再符号化す ることをトランスコーディングと 、う。  Conventionally, there is MPEG (Moving Picture Expert Group) coding technology as compression coding (hereinafter simply referred to as “coding”) technology using inter-frame differences (see Non-Patent Document 1). Transcoding is the re-encoding of encoded data encoded in a certain encoding format in a different encoding format.
例えば、 MEPG2規格の 8Mbps (Bits Per Second)形式で符号化されている符号 化データを MPEG2規格の 4Mbps形式で再符号化するトランスコーディングや、 M PEG2形式で符号化されている符号化データを MPEG4形式で再符号化するトラン スコーディングがある。  For example, transcoding that re-encodes encoded data encoded in the 8 Mbps (Bits Per Second) format of the MEPG2 standard in the 4 Mbps format of the MPEG2 standard, or encoded data encoded in the MPEG2 format. There is transcoding that re-encodes in the form.
[0003] このようなトランスコーディングの処理は、符号ィ匕動画像を構成する各ピクチャをい つたん復号して生成した動画像を再度符号ィ匕するという高負荷の作業であるため、 処理が完了するまでに長 、時間を要してしまう。  [0003] Such transcoding processing is a high-load operation of re-encoding a moving image generated by decoding each picture constituting the encoded moving image. It takes a long time to complete.
そこで、トランスコーディングを高速ィ匕する手法が提案されて!ヽる (特許文献 1参照)  Therefore, a method for high-speed transcoding has been proposed (see Patent Document 1).
[0004] 特許文献 1記載の手法には、複数の装置で並列してトランスコーディング処理を行 うために、トランスコーディング対象のファイルを分割する技術が開示されている。 特許文献 1:特許 3550651号公報 [0004] The technique described in Patent Document 1 discloses a technique for dividing a file to be transcoded in order to perform transcoding processing in parallel by a plurality of devices. Patent Document 1: Japanese Patent No. 3550651
非特許文献 1 :ITU— T勧告 H. 262 rinformation technology - Generic coding of moving pictures and associated audio information: videoj 発明の開示 Non-Patent Document 1: ITU-T Recommendation H. 262 rinformation technology-Generic coding of moving pictures and associated audio information: videoj Disclosure of the invention
発明が解決しょうとする課題  Problems to be solved by the invention
[0005] ところが、 MPEG2規格などの規格では、複数のピクチャ間に相互依存関係があり 、特許文献 1に記載されて 、るような手法で分割してしまうと依存関係を保ったまま正 しく復号することができな 、と 、う課題がある。  [0005] However, in standards such as the MPEG2 standard, there are interdependencies between a plurality of pictures, and as described in Patent Document 1, if division is performed by such a method, decoding is performed correctly while maintaining the dependencies. There is a problem that cannot be done.
すなわち、 MPEG2形式で符号化された符号化動画像は、フレーム内符号化され る Iピクチャ、他のフレーム符号ィ匕され自身も参照される Pピクチヤ、及び他のフレーム を参照して符号化され自身が参照されな 、 ピクチャの 3種類のピクチャ力も構成さ れている。  In other words, an encoded moving image encoded in the MPEG2 format is encoded with reference to an I picture that is intra-frame encoded, a P-picture that is encoded with other frame codes, and other frames. There are also three types of picture power that are not referenced by themselves.
[0006] Iピクチャは、単独で再生可能なピクチャである。  [0006] An I picture is a picture that can be reproduced independently.
Pピクチャは、先行する Iピクチャ又は Pピクチャ力もの差分を用いて再生するピクチ ャである。したがって、 Pピクチャを復号する際は、先行する Iピクチャ又は Pピクチャを 参照して復号する必要がある。また、動画像を符号ィ匕して Pピクチャを生成する際、 先行する Iピクチャ又は Pピクチャを参照して符号ィ匕する必要がある。  A P picture is a picture that is played back using the difference between the preceding I picture or P picture power. Therefore, when decoding a P picture, it is necessary to decode with reference to the preceding I picture or P picture. Also, when generating a P picture by encoding a moving image, it is necessary to encode it by referring to the preceding I picture or P picture.
[0007] Bピクチャは、前後の Iピクチャ又は Pピクチャからの差分を用いて再生するピクチャ である。したがって、 Bピクチャを復号する際は、前後の Iピクチャ又は Pピクチャを参 照して復号する必要がある。また、動画像を符号化して Bピクチャを生成する際、前 後の Iピクチャ又は Pピクチャを参照して符号ィ匕する必要がある。 MPEG2規格では、 Bピクチャは参照されない。  [0007] A B picture is a picture that is reproduced using a difference from the preceding and following I or P pictures. Therefore, when decoding a B picture, it is necessary to decode it with reference to the preceding and following I or P pictures. In addition, when a B picture is generated by encoding a moving picture, it is necessary to perform encoding by referring to the previous or next I picture or P picture. In the MPEG2 standard, B pictures are not referenced.
[0008] このように、 Iピクチャ、 Pピクチャ、及び Bピクチャは相互に依存関係がある。  [0008] Thus, the I picture, the P picture, and the B picture are mutually dependent.
また、 Iピクチャ、 Pピクチャ、及び Bピクチャをひとまとめにした単位を GOP (Group Of Pictures) t\ ヽ、 MPEG符号化された動画像は GOPの集合体で表現される。 このように GOP内外のピクチャは、互いに参照する必要があって相互依存関係の あるため、単純に分割してトランスコーディング処理を行うことができず、処理の高速 化を図るのが難しい。  In addition, the unit of I picture, P picture, and B picture as a group is GOP (Group Of Pictures) t \, and the MPEG encoded moving picture is expressed as a GOP aggregate. In this way, pictures inside and outside the GOP need to be referenced to each other and have interdependencies. Therefore, transcoding cannot be performed simply by dividing them, and it is difficult to increase the processing speed.
[0009] また、さらに、逆に、動画像を相互依存関係のあるピクチャ力も成る符号ィ匕動画像 に符号化する場合も、動画像を単純に分割して符号化処理を行うと、ピクチャ間の相 互依存関係を破綻させてしまう恐れがあるため、処理の高速ィ匕を図るのが難し 、。 そこで、本発明は、互いに参照する相互依存関係のあるピクチャ力 成る符号ィ匕動 画像を分割して高速に復号できるトランスコーディング装置、及び復号装置を提供す ることを目的とする。 [0009] Further, conversely, even when a moving image is encoded into a code-moving image having interdependent picture power, if the moving image is simply divided and encoded, It is difficult to achieve high-speed processing because there is a risk of breaking the interdependencies between the two. Therefore, an object of the present invention is to provide a transcoding device and a decoding device that can divide code-motion images having mutually dependent picture powers that refer to each other and decode them at high speed.
[0010] また、さらに、本発明は、動画像を分割して高速に、相互依存関係のあるピクチャか ら成る符号化動画像に符号化できる符号化装置を提供することを目的とする。  [0010] Furthermore, another object of the present invention is to provide an encoding device that can divide a moving image and encode it at a high speed into an encoded moving image composed of pictures having interdependencies.
課題を解決するための手段  Means for solving the problem
[0011] 上記課題を解決するために、本発明に係るトランスコーディング装置は、複数のピク チヤカゝら成るピクチャグループを複数含む符号ィ匕動画像であり、各ピクチャグループ において、フレーム内符号ィ匕される第 1種ピクチャと、自ピクチャグループ内又は他ピ クチャグループ内の他のフレームを参照して符号ィ匕され自身も参照される第 2種ピク チヤと、自ピクチャグループ内又は他ピクチャグループ内の他のフレームを参照して 符号化され自身が参照されない 1以上の第 3種ピクチャとを含んで成る、第 1符号ィ匕 形式で符号化された符号化動画像を、異なる第 2符号化形式で符号化するトランス コーディング装置であって、前記符号化動画像を分担して復号する複数の復号手段 と、前記複数の復号手段で復号した結果である動画像を分担して第 2符号化形式で 符号化する複数の符号化手段と、前記各符号化手段が符号化した結果である符号 化動画像を結合する結合手段とを備え、前記複数の復号手段の夫々は、前記符号 化動画像のうち、互いに異なる第 3種ピクチャと、当該第 3種ピクチャの復号にその復 号結果が必要な全ての第 1種ピクチャと第 2種ピクチャと、を復号することを特徴とす る。  [0011] In order to solve the above-described problem, a transcoding device according to the present invention is a coded video image including a plurality of picture groups composed of a plurality of picture frames. The first type of picture, the second type of picture that is coded with reference to other frames in the own picture group or other picture group and is also referred to by itself, and in the own picture group or other picture group An encoded moving image encoded in the first encoding format, which includes one or more third-type pictures that are encoded with reference to other frames in the frame and are not referred to themselves. A transcoding device for encoding in a coded format, comprising: a plurality of decoding means for sharing and decoding the encoded moving image; and a video obtained as a result of decoding by the plurality of decoding means. A plurality of encoding means for sharing an image and encoding in the second encoding format; and a combining means for combining the encoded moving images that are the results of encoding by each of the encoding means, Each of the means includes a third type picture that is different from the encoded moving image, and all the first type pictures and second type pictures that require decoding results for decoding the third type picture. It is characterized by decoding.
発明の効果  The invention's effect
[0012] 上記の構成によれば、フレーム内符号ィ匕される第 1種ピクチャと、他のフレームを参 照して符号化され自身も参照される第 2種ピクチャと、他のフレームを参照して符号 ィ匕され自身が参照されな 、第 3種ピクチャとを含んで成る符号ィ匕動画像をトランスコ ーデイングする際、各ピクチャ間の相互依存関係を保ちつつトランスコーディングする ことができる。  [0012] According to the above configuration, the first type picture that is encoded in the frame, the second type picture that is encoded with reference to another frame and is also referred to, and the other frame is referred to Thus, when transcoding a coded moving image including a third type picture that has been coded and not referenced, it is possible to transcode while maintaining the interdependence between the pictures.
[0013] このため、複数の復号手段と符号化手段を使って、分散して異なる第 3種ピクチャ をトランスコーディングすることができる。 これにより、トランスコーディング処理を高速ィ匕することができる。 [0013] For this reason, a plurality of decoding means and encoding means can be used to transcode different type 3 pictures in a distributed manner. As a result, the transcoding process can be performed at high speed.
なお、第 1符号化形式と第 2符号化形式とは、互いに異なる符号化規格であっても よ!、し、互いに異なるビットレートの同じ符号ィ匕規格であってもよ!/、。  The first encoding format and the second encoding format may be different encoding standards, or may be the same encoding standards with different bit rates! /.
[0014] なお、第 1種ピクチャ、第 2種ピクチャ、及び第 3種ピクチャはそれぞれ、 MPEG2規 格で定められている Iピクチャ、 Pピクチャ、及び Bピクチャに相当する。  Note that the first type picture, the second type picture, and the third type picture correspond to an I picture, a P picture, and a B picture defined by the MPEG2 standard, respectively.
また、上記トランスコーディング装置は、前記複数の復号手段の夫々に前記符号化 動画像を分配して供給する分配手段を備え、前記複数の復号手段の夫々は、供給 された符号化動画像のうち、同一の第 1種ピクチャと第 2種ピクチャとの復号結果が必 要な第 3種ピクチャをひとまとめにし、当該ひとまとめにした第 3種ピクチャと、当該第 3種ピクチャの復号にその復号結果が必要な全ての第 1種ピクチャと第 2種ピクチャと 、を復号することとしてもよい。  In addition, the transcoding device includes a distribution unit that distributes and supplies the encoded moving image to each of the plurality of decoding units, and each of the plurality of decoding units includes a portion of the supplied encoded moving image. The third type pictures that require the same decoding result of the first type picture and the second type picture are grouped together, and the decoding result is decoded into the grouped third type picture and the third type picture. All necessary type 1 pictures and type 2 pictures may be decoded.
[0015] この構成によれば、同一の第 1種ピクチャと第 2種ピクチャを参照する複数の第 3種 ピクチャをまとめて、各まとまりを各復号手段が分担して復号するので、より効率よく符 号ィ匕動画像をトランスコーディングすることができる。  [0015] According to this configuration, a plurality of third-type pictures that refer to the same first-type picture and second-type picture are collected, and each group is decoded by each decoding unit, so that decoding is performed more efficiently. Coded video can be transcoded.
また、上記トランスコーディング装置は、前記符号化動画像を、同一の第 1種ピクチ ャと第 2種ピクチャとの復号結果が必要な第 3種ピクチャをひとまとめにし分割し、当 該ひとまとめにした第 3種ピクチャと、当該第 3種ピクチャの復号にその復号結果が必 要な全ての第 1種ピクチャと第 2種ピクチャと、を前記復号手段の夫々に供給する分 割手段を備え、前記複数の復号手段の夫々は、供給された第 3ピクチャ、第 1ピクチ ャ、及び第 2ピクチャとを復号することとしてもよい。  In addition, the transcoding apparatus divides the encoded moving image into third type pictures that require decoding results of the same first type picture and second type picture, and divides the encoded moving images into one group. The plurality of types of pictures, and a dividing unit that supplies all of the first type pictures and the second type pictures that require decoding results to decode the third type pictures to each of the decoding units. Each of the decoding means may decode the supplied third picture, first picture, and second picture.
[0016] この構成によれば、同一の第 1種ピクチャと第 2種ピクチャを参照する複数の第 3種 ピクチャをまとめて、各まとまりと第 1種ピクチャ及び第 2種ピクチャとを各復号手段に 予め供給しておくことで、符号ィ匕動画像の全ピクチャをコピーして各復号手段に供給 する必要がなぐまた、各復号手段は単に入力されたピクチャを復号するだけでよい のでより効率よく符号ィ匕動画像をトランスコーディングすることができる。  [0016] According to this configuration, a plurality of third-type pictures that refer to the same first-type picture and second-type picture are grouped, and each group, first-type picture, and second-type picture are decoded by each decoding unit. In advance, it is not necessary to copy all the pictures of the encoded video and supply them to each decoding means. Also, each decoding means only needs to decode the input picture, so it is more efficient. It is possible to transcode a sign video image well.
[0017] さら〖こ、上記課題を解決するために、本発明のトランスコーディング装置は,  [0017] In order to solve the above problem, the transcoding device of the present invention includes:
フレーム内符号化される第 1種ピクチャと、他のフレームを参照して符号化され自身も 参照される第 2種ピクチャと、他のフレームを参照して符号化され自身が参照されな い第 3種ピクチャとを含んで成る複数の GOPから構成される、第 1符号化形式で符号 化された符号化動画像を異なる第 2符号化形式で符号化するトランスコーディング装 置であって、前記符号化動画像を分担して復号する複数の復号手段と、前記複数の 復号手段で復号した結果である動画像を分担して第 2符号化形式で符号化する複 数の符号化手段と、前記各符号化手段が符号化した結果である符号化動画像を結 合する結合手段とを備え、前記復号手段の夫々は、前記複数の GOPのうち、互いに 異なる一の GOP内の第 1種ピクチャと第 2種ピクチャと第 3種ピクチャとともに、当該 第 1種ピクチャと第 2種ピクチャと第 3種ピクチャの復号にその復号結果が必要な、当 該一の GOPと隣接する GOP内の第 1種ピクチャと第 2種ピクチャとを復号することを 特徴とする。 The first type picture that is intraframe encoded, the second type picture that is encoded with reference to other frames and that is also referred to itself, and that is encoded with reference to other frames and is not referred to itself. A transcoding device that encodes an encoded moving image encoded in a first encoding format, composed of a plurality of GOPs including a third type picture, in a different second encoding format. A plurality of decoding means for sharing and decoding the encoded moving picture; and a plurality of encoding means for sharing the moving picture obtained as a result of decoding by the plurality of decoding means and encoding in the second encoding format. And combining means for combining the encoded moving images that are the results of encoding by each of the encoding means, each of the decoding means being a first in a different GOP of the plurality of GOPs. In the GOP adjacent to the one GOP, the decoding result is necessary for decoding the first type picture, the second type picture, and the third type picture together with the first type picture, the second type picture, and the third type picture. Decoding the first kind picture and the second kind picture of Features.
[0018] この構成によれば、隣接する他の GOP内の第 1種ピクチャと第 2種ピクチャを参照 して復号する第 3種ピクチャを、各ピクチャ間の相互依存関係を保ちつつ複数の復号 手段と符号ィ匕手段で分散してトランスコーディングすることができる。  [0018] According to this configuration, a plurality of types of third type pictures to be decoded with reference to the first type pictures and the second type pictures in other adjacent GOPs are maintained while maintaining interdependence between the pictures. The means and the sign key means can be distributed and transcoded.
また、上述した各トランスコーディング装置は、 MPEG2規格に準拠し、前記第 1種 ピクチャは、 MPEG2規格で定められている Iピクチャであり、第 2種ピクチャは、 MPE G2規格で定められている Pピクチャであり、第 3種ピクチャは、 MPEG2規格で定めら れて!、る Bピクチャであることとしてもよ!/、。  Each of the transcoding devices described above conforms to the MPEG2 standard, and the first type picture is an I picture defined by the MPEG2 standard, and the second type picture is a P defined by the MPE G2 standard. It is a picture, and the third type picture may be a B picture as defined in the MPEG2 standard!
[0019] この構成によれば、 MPEG2規格で定められた Iピクチャと Pピクチャと、 Bピクチャと を含んで成る符号ィ匕動画像をトランスコーディングする際、各ピクチャ間の相互依存 関係を保ちつつトランスコーディングすることができる。  [0019] According to this configuration, when transcoding a coded moving image including an I picture, a P picture, and a B picture defined in the MPEG2 standard, the interdependence between the pictures is maintained. Can be transcoded.
さらに、上記課題を解決するために、本発明の復号装置は、複数のピクチャ力 成 るピクチャグループを複数含む符号ィ匕動画像であり、各ピクチャグループにお 、て、 フレーム内符号ィ匕される第 1種ピクチャと、自ピクチャグループ内又は他ピクチャダル ープ内の他のフレームを参照して符号化され自身も参照される第 2種ピクチャと、自 ピクチャグループ内又は他ピクチャグループ内の他のフレームを参照して符号化さ れ自身が参照されない 1以上の第 3種ピクチャとを含んで成る MPEG符号ィ匕された 符号化動画像を復号する復号装置であって、前記符号化動画像を分担して復号す る複数の復号手段と、前記各復号手段が復号した結果である動画像を結合する結 合手段とを備え、前記復号手段の夫々は、前記符号化動画像のうち、互いに異なる 第 3種ピクチャの一部と、当該第 3種ピクチャの復号にその復号結果が必要な全ての 第 1種ピクチャと第 2種ピクチャと、を復号することを特徴とする。 Furthermore, in order to solve the above-described problem, the decoding device of the present invention is a coded video image including a plurality of picture groups that generate a plurality of pictures, and each frame is encoded with an intra-frame code. A first type picture, a second type picture that is encoded with reference to other frames in the own picture group or in another picture group, and is also referred to by itself, and in the own picture group or another picture group A decoding device that decodes an MPEG encoded encoded moving image that includes one or more third-type pictures that are encoded with reference to other frames but are not referred to themselves. A combination of a plurality of decoding means for sharing and decoding an image and a moving image obtained as a result of decoding by each of the decoding means. Each of the decoding means includes a part of a different third type picture in the encoded moving image and all of the first types that require a decoding result for decoding the third type picture. It is characterized by decoding the seed picture and the second kind picture.
[0020] この構成によれば、フレーム内符号ィ匕される第 1種ピクチャと、他のフレームを参照 して符号化され自身も参照される第 2種ピクチャと、他のフレームを参照して符号化さ れ自身が参照されな 、第 3種ピクチャとを含んで成る符号ィ匕動画像をトランスコーデ イングする際、各ピクチャ間の相互依存関係を保ちつつ復号することができる。  [0020] According to this configuration, the first type picture that is intra-frame coded, the second type picture that is encoded with reference to another frame and is also referred to, and the other frame is referred to. When transcoding a coded video image including a third type picture that is encoded and not referenced by itself, it can be decoded while maintaining the interdependence between the pictures.
さらに、上記課題を解決するために、本発明の符号化装置は、動画像を、複数のピ クチャ力も成るピクチャグループを複数含む符号ィ匕動画像であって、各ピクチャダル ープにおいて、フレーム内符号ィ匕される第 1種ピクチャと、自ピクチャグループ内又は 他グループピクチャ内の他のフレームを参照して符号ィ匕され自身も参照される第 2種 ピクチャと、自ピクチャグループ内又は他ピクチャグループ内の他のフレームを参照 して符号ィ匕され自身が参照されない 1以上の第 3種ピクチャとを含んで成る MPEG符 号化された符号ィ匕動画像に符号ィ匕する符号ィ匕装置であって、前記動画像を分担し て符号化する複数の符号化手段と、前記各符号化手段が符号化した結果である符 号化動画像を結合する結合手段とを備え、前記復号手段の夫々は、前記動画像のう ち、互いに異なる第 3種ピクチャと、当該第 3種ピクチャの符号ィ匕にその符号ィ匕結果 が必要な全ての第 1種ピクチャと第 2種ピクチャと、を符号化することを特徴とする。  Furthermore, in order to solve the above-described problem, the encoding apparatus according to the present invention is a coded moving image including a plurality of picture groups each having a plurality of picture powers. The first type picture that is inner coded and the second type picture that is coded with reference to other frames in the own picture group or other group pictures and is also referred to itself, and in the own picture group or other Codes that are coded with reference to other frames in the picture group and that are one or more third type pictures that are not referred to themselves. A decoding unit comprising: a plurality of encoding units that share and encode the moving image; and a combining unit that combines the encoded moving images that are the results of encoding by each of the encoding units. Means Among the moving images, there are different third-type pictures, and all the first-type pictures and second-type pictures that require the result of the sign key of the third-type picture. It is characterized by encoding.
[0021] この構成によれば、動画像を、フレーム内符号ィ匕される第 1種ピクチャと、他のフレ ームを参照して符号化され自身も参照される第 2種ピクチャと、他のフレームを参照し て符号化され自身が参照されな ヽ第 3種ピクチャとを含んで成る符号化動画像に符 号化する際、各ピクチャ間の相互依存関係を保ちつつ符号ィ匕することができる。 図面の簡単な説明  [0021] According to this configuration, a moving picture is encoded with a first type picture that is encoded within a frame, a second type picture that is encoded with reference to another frame and is also referred to, and the like. Encoded with reference to this frame and not referenced by itself ヽ When encoding an encoded moving image including a third type picture, encoding is performed while maintaining the interdependence between the pictures. Can do. Brief Description of Drawings
[0022] [図 1]ピクチャ間の相互依存関係を示す概念図である。 [0022] FIG. 1 is a conceptual diagram showing interdependencies between pictures.
[図 2]MPEG2規格に従って符号化された符号化動画像のデータ構造を示す概念図 である。  FIG. 2 is a conceptual diagram showing a data structure of an encoded moving image encoded according to the MPEG2 standard.
[図 3]トランスコーディング装置 100の構成を示すブロック図である。  FIG. 3 is a block diagram showing a configuration of transcoding apparatus 100.
[図 4]画像変換部 103の構成を示すブロック図である。 [図 5]トランスコーディング装置 100が行うピクチヤの解析処理を示すフローチャートで ある。 4 is a block diagram showing a configuration of an image conversion unit 103. FIG. FIG. 5 is a flowchart showing a picture analysis process performed by the transcoding apparatus 100.
[図 6]実施形態 1において、トランスコーディング装置 100が行うトランスコーディング 処理を示す概念図である。  FIG. 6 is a conceptual diagram showing transcoding processing performed by transcoding apparatus 100 in the first embodiment.
圆 7]複数の GOPに跨るピクチャ間の相互依存関係を示す概念図である。 [7] This is a conceptual diagram showing the interdependence between pictures across multiple GOPs.
[図 8]実施形態 3において、トランスコーディング装置 100が行うトランスコーディング 処理を示す概念図である。  FIG. 8 is a conceptual diagram showing transcoding processing performed by transcoding apparatus 100 in the third embodiment.
[図 9]復号装置 200の構成を示すブロック図である。  FIG. 9 is a block diagram showing a configuration of decoding apparatus 200.
[図 10]画像復号部 203の構成を示すブロック図である。  FIG. 10 is a block diagram showing a configuration of an image decoding unit 203.
[図 11]画像復号部 203が行う復号処理を示す概念図である。  FIG. 11 is a conceptual diagram showing a decoding process performed by an image decoding unit 203.
[図 12]符号ィ匕装置 300の構成を示すブロック図である。  FIG. 12 is a block diagram showing a configuration of the sign key device 300.
[図 13]画像符号ィ匕部 303の構成を示すブロック図である。  FIG. 13 is a block diagram showing a configuration of an image code key unit 303.
圆 14]符号ィ匕装置 303が行う符号ィ匕処理を示す概念図である。 FIG. 14 is a conceptual diagram showing a sign key process performed by the sign key device 303.
圆 15]変形例を示す概念図である。 [15] It is a conceptual diagram showing a modification.
符号の説明 Explanation of symbols
100 トランスコーディング装置  100 transcoding equipment
101  101
102 ストリーム部  102 Stream part
102a ストリーム解析部  102a Stream analyzer
103b ストリーム結合部  103b Stream coupling part
103c 制御部  103c Control unit
103 画像変換部  103 Image converter
103a 入力ストリームバッファ  103a Input stream buffer
103b 復号器  103b decoder
103c フレームメモリ  103c frame memory
103d 符号器  103d encoder
103e 出力ストリームバッファ  103e Output stream buffer
103f コントローラ 200 復号装置 103f controller 200 Decryptor
201  201
202 ストリーム部  202 Stream part
202a ストリーム解析部  202a stream analyzer
202b 制御部  202b Control unit
203 画像復号部  203 Image decoding unit
203a 入力ストリームパ  203a Input stream path
203b 復号器  203b decoder
203c フレームメモリ  203c frame memory
203d 出力画像バッファ  203d output image buffer
203e コントローラ  203e controller
204 画像切り替え部  204 Image switching section
205 表示部  205 Display
300 符号化装置  300 Encoder
301  301
302 ストリーム部  302 Stream part
302a ストリーム結合部  302a Stream combiner
302b 制御部  302b Control unit
303 画像符号化部  303 Image encoder
303a 入力画像バッファ  303a Input image buffer
303b 符号器  303b encoder
303c フレームメモリ  303c frame memory
303d 出力ストリームバッ  303d Output stream buffer
303e コントローラ  303e controller
304 カメラ撮像部  304 Camera imaging unit
発明を実施するための最良の形態 BEST MODE FOR CARRYING OUT THE INVENTION
以下、本発明の実施形態について、図面を参照しながら説明する Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<実施形態 1 > まず、実施形態 1について、図面 1〜6を参照しながら説明する。 <Embodiment 1> First, Embodiment 1 will be described with reference to FIGS.
(1.概要)  (1. Overview)
同一の規格間で一のビットレートで符号化された符号ィ匕動画像を異なるビットレート で再符号化することを、トランスコーディングと呼ぶ。  Recoding a moving picture encoded at one bit rate between the same standards at a different bit rate is called transcoding.
[0025] また、一の規格で符号化された符号化動画像を異なる規格で再符号化することも、 同様にトランスコーディングと呼ぶ。 [0025] In addition, re-encoding an encoded moving image encoded according to one standard according to a different standard is also referred to as transcoding.
実施形態 1では、トランスコーディング装置 100は、 MPEG2規格に従って一のビッ トレートで符号ィ匕された符号ィ匕動画像をいつたん復号し、さらに MPEG2規格に従つ て異なるビットレートで再符号ィ匕して符号ィ匕動画像を生成するトランスコーディング装 置である。  In the first embodiment, the transcoding device 100 decodes the encoded video that has been encoded at one bit rate according to the MPEG2 standard, and re-encodes at a different bit rate according to the MPEG2 standard. Thus, a transcoding device that generates a code motion image.
(2.データ)  (2.Data)
ここで、 MPEG2規格に従って符号化された符号化動画像 (以下、「符号化ストリー ム」と呼ぶ)のデータ構造につ!、て、図 1〜2を参照しながら説明する。  Here, the data structure of an encoded moving image (hereinafter referred to as “encoded stream”) encoded according to the MPEG2 standard will be described with reference to FIGS.
[0026] 図 1を参照すると、 MPEG2規格に従って符号ィ匕された符号化ストリームの各 GOP は、連続したピクチャ力 構成されている。 [0026] Referring to FIG. 1, each GOP of an encoded stream encoded in accordance with the MPEG2 standard has a continuous picture power.
ピクチャには、 Iピクチャ、 Pピクチャ、及び Bピクチャの 3種類の種別がある。 Iピクチャは、単独で再生可能なピクチャであり、 1つの GOP内に必ず 1枚含まれて いる。ここでは、 10の 1枚の Iピクチャを示す。  There are three types of pictures: I picture, P picture, and B picture. An I picture is a picture that can be played independently, and is always included in one GOP. Here, 10 I-pictures are shown.
[0027] Pピクチャは、先行する Iピクチャ又は Pピクチャ力もの差分を用いて再生するピクチ ャである。したがって、 Pピクチャを復号する際は、先行する Iピクチャ又は Pピクチャを 参照して復号する必要がある。ここでは、 10を参照する Pl、 PIを参照する P4、 P4を 参照する P7、 P7を参照する P10、及び P10を参照する P13の 5枚の Pピクチャを示 す。 [0027] A P picture is a picture that is reproduced using a difference between the preceding I picture or P picture power. Therefore, when decoding a P picture, it is necessary to decode with reference to the preceding I picture or P picture. Here, five P pictures are shown: Pl referring to 10, P4 referring to PI, P7 referring to P4, P10 referring to P7, and P13 referring to P10.
[0028] Bピクチャは、前後の Iピクチャ又は Pピクチャからの差分を用いて再生するピクチャ である。したがって、 Bピクチャを復号する際は、前後の Iピクチャ又は Pピクチャを参 照して復号する必要がある。ここでは、 10と P1とを参照する B2及び B3、 10と P4とを 参照する B5及び B6、 10と P7とを参照する B8及び B9、 10と P10とを参照する B11及 び B12、並びに 10と P13とを参照する B14及び B15の 10枚のピクチャを示す。 [0029] 次に、図 2に参照すると、各ピクチャ 10は、先頭にスタートコード 11とピクチャヘッダ 12とを含み、復号対象となるスライスが続いている。 [0028] A B picture is a picture that is played back using a difference from the preceding or following I picture or P picture. Therefore, when decoding a B picture, it is necessary to decode it with reference to the preceding and following I or P pictures. Here, B2 and B3 refer to 10 and P1, B5 and B6 refer to 10 and P4, B8 and B9 refer to 10 and P7, B11 and B12 refer to 10 and P10, and 10 And 10 pictures of B14 and B15 referring to P13. [0029] Next, referring to FIG. 2, each picture 10 includes a start code 11 and a picture header 12 at the head, and is followed by a slice to be decoded.
スタートコード 11は、各ピクチャの区切りを示す識別子である。  The start code 11 is an identifier indicating a break between pictures.
ピクチャヘッダ 12は、ピクチャ 10力 ピクチャ、 Pピクチャ、 Bピクチャのいずれのピク チヤであるかを識別する識別子である。  The picture header 12 is an identifier for identifying whether the picture is a power picture, a P picture, or a B picture.
[0030] スライス 13は、ピクチャ 10をさらに断片化したデータ構造であり、スライスレイヤで復 号処理される。 [0030] The slice 13 is a data structure obtained by further fragmenting the picture 10, and is decoded at the slice layer.
(3.構成)  (3. Configuration)
次に、トランスコーディング装置 100の構成について、図 3を参照しながら説明する  Next, the configuration of transcoding apparatus 100 will be described with reference to FIG.
[0031] 図 3を参照すると、トランスコーディング装置 100は、記憶部 101、ストリーム部 102 、画像変換部 # 1 (103A)、画像変換部 # 2 (103B)、及び画像変換部 # 3 (103C) を備えている。 Referring to FIG. 3, the transcoding device 100 includes a storage unit 101, a stream unit 102, an image conversion unit # 1 (103A), an image conversion unit # 2 (103B), and an image conversion unit # 3 (103C). It has.
記憶部 101は、データを記録する機能を有する HDD (Hard Disk Drive)であって、 MPEG2規格に従って 8Mbps (Mega Bits Per Second)のビットレートで符号化され た符号化ストリームを記憶しているものである。また、ストリーム装置 102でトランスコー デイングされた符号化ストリームを記憶するものである。  The storage unit 101 is an HDD (Hard Disk Drive) having a function of recording data, and stores an encoded stream encoded at a bit rate of 8 Mbps (Mega Bits Per Second) in accordance with the MPEG2 standard. is there. Also, the encoded stream transcoded by the stream device 102 is stored.
[0032] ストリーム部 102は、内部にストリーム解析部 102a、ストリーム結合部 102b、及び制 御部 102cを備える。 [0032] The stream unit 102 includes a stream analysis unit 102a, a stream combination unit 102b, and a control unit 102c.
ストリーム解析部 102aは、入力バスを介して記憶部 101から符号化ストリームを入 力し、入力した符号化ストリームに対して各ピクチャのピクチャヘッダを参照し、ピクチ ャの種別と、 GOPの区切りとを解析する機能を有する。  The stream analysis unit 102a inputs an encoded stream from the storage unit 101 via the input bus, refers to the picture header of each picture with respect to the input encoded stream, and sets the picture type, GOP delimiter, and It has a function to analyze.
[0033] ストリーム結合部 102bは、画像変換部 # 1 (103A)〜 # 3 (103C)がそれぞれトラ ンスコーディングを行って生成した符号化ストリーム片を結合して 1つの符号化ストリ ームを生成する機能を有する。 [0033] The stream combining unit 102b generates a single encoded stream by combining the encoded stream pieces generated by the image conversion units # 1 (103A) to # 3 (103C) respectively transcoding. It has the function to do.
制御部 102cは、ストリーム解析部 102aが解析した結果に基づき、複数のピクチャ それぞれの復号を画像変換部 # 1 (103A)〜 # 3 (103C)のいずれかに割り当て、 制御バスを介して画像変換部 # 1 (103A)〜 # 3 (103C)に割り当て情報を入力す る機能を有する。また、記憶部 101から入力ストリームバスを介して、ストリームを画像 変換部 # 1 (103A)〜 # 3 (103C)に送出させる機能を有する。 Based on the result of analysis by the stream analysis unit 102a, the control unit 102c assigns decoding of each of the plurality of pictures to any of the image conversion units # 1 (103A) to # 3 (103C), and performs image conversion via the control bus. Enter the allocation information in parts # 1 (103A) to # 3 (103C) It has a function. Further, it has a function of sending a stream from the storage unit 101 to the image conversion units # 1 (103A) to # 3 (103C) via the input stream bus.
[0034] 具体的には、制御部 102cは、同一の Iピクチャ及び Pピクチャを参照する Bピクチヤ 同士をひとまとめにして、このひとまとめにした Bピクチャ群と、これら Bピクチャ群の復 号に際して参照しなければならない全ての Iピクチャ及び Pピクチャとを各画像変換部 103に割り当てる。 [0034] Specifically, the control unit 102c collects B pictures that refer to the same I picture and P picture together, and refers to the grouped B picture groups and the decoding of these B picture groups. All the I pictures and P pictures that must be assigned are assigned to each image conversion unit 103.
画像変換部 # 1 (103A)〜 # 3 (103C)は、制御部 102cの割り当てに基づき、入 カストリームノ スを介して記憶部 101から入力した符号化ストリームの中から、自部に 割り当てられている Bピクチャ、 Iピクチャ、及び Pピクチャを復号し、さらに再符号化す る機能を有する。  The image conversion units # 1 (103A) to # 3 (103C) are assigned to their own from the encoded stream input from the storage unit 101 via the incoming stream node based on the assignment of the control unit 102c. It has a function to decode and re-encode the B picture, I picture, and P picture.
[0035] 詳細な構成を、図 4を参照しながら説明する。 A detailed configuration will be described with reference to FIG.
図 4を参照すると、画像変換部 # 1 (103A)〜 # 3 (103C)のそれぞれは、入力スト リームノ ッファ 103a、復号器 103b、フレームメモリ 103c、符号器 103d、出カストリー ムバッファ 103e、及びコントローラ 103fを備える。  Referring to FIG. 4, each of the image conversion units # 1 (103A) to # 3 (103C) includes an input stream buffer 103a, a decoder 103b, a frame memory 103c, an encoder 103d, an output stream buffer 103e, and a controller 103f. Is provided.
入力ストリームバッファ 103aは、入力ストリームノ スを介して記憶部 101から入力し た 8Mbpsの符号化ストリームをバッファリングする機能を有する。  The input stream buffer 103a has a function of buffering an 8 Mbps encoded stream input from the storage unit 101 via the input stream node.
[0036] 復号器 103bは、入力ストリームバッファ 103aにバッファリングされた符号化ストリー ムを読み出して復号し、復号した動画像をフレームメモリ 103cに書き込む機能を有 する。 [0036] The decoder 103b has a function of reading and decoding the encoded stream buffered in the input stream buffer 103a and writing the decoded moving image in the frame memory 103c.
符号器 103dは、フレームメモリ 103cに書き込まれた動画像を読み出し、 MPEG2 規格に従って 4Mbpsで符号ィ匕して、符号化ストリームを出力ストリームバッファ 103e に書き込む機能を有する。  The encoder 103d has a function of reading a moving image written in the frame memory 103c, encoding it at 4 Mbps according to the MPEG2 standard, and writing the encoded stream into the output stream buffer 103e.
[0037] 出力ストリームバッファ 103eに書き込まれた符号化ストリームは、出力ストリームバス を介して記憶部 101に送出される。 [0037] The encoded stream written in the output stream buffer 103e is sent to the storage unit 101 via the output stream bus.
コントローラ 103fは、入力ストリームバッファ 103a、復号器 103b、フレームメモリ 10 3c、符号器 103d、及び出力ストリームバッファ 103eを制御して、符号化ストリームの 入出力を管理する機能を有する。  The controller 103f has a function of managing input / output of an encoded stream by controlling the input stream buffer 103a, the decoder 103b, the frame memory 103c, the encoder 103d, and the output stream buffer 103e.
[0038] 具体的には、コントローラ 103fは、制御部 102cからの制御情報に基づき、符号ィ匕 ストリームの中力 制御情報で指定された特定の Bピクチャと、当該特定の Bピクチャ を復号するのに必要となる全ての Iピクチャと Pピクチャとを復号するよう、復号器 103 bに指示する機能を有する。 [0038] Specifically, the controller 103f, based on the control information from the control unit 102c, Function to instruct the decoder 103b to decode the specific B picture specified in the stream's central control information and all the I and P pictures required to decode the specific B picture. Have
(4.動作)  (4. Operation)
続いて、トランスコーディング装置 100の動作について、図 5〜6を参照しながら説 明する。  Next, the operation of the transcoding device 100 will be described with reference to FIGS.
(4- 1.ピクチャの解析処理の動作)  (4-1. Picture analysis processing operation)
まず、トランスコーディング装置 100が符号化ストリームの解析を行う処理動作につ いて、図 5を参照しながら説明する。  First, a processing operation in which the transcoding apparatus 100 analyzes an encoded stream will be described with reference to FIG.
[0039] 図 5を参照すると、トランスコーディング装置 100において、符号化ストリームが記憶 部 101からストリーム装置に入力されると (ステップ S100)、まず、ストリーム解析部 10 2aが、符号化ストリームの各ピクチャのスタートコードを検索する(ステップ S 101)。 スタートコードが見つ力ると(S101 : YES)、ストリーム解析部 102aは、続くストリー ムがピクチャヘッダの場合は、ピクチャヘッダに含まれて 、るピクチャ種別を示す識 別情報(picture_coding_type)を読み出し (ステップ S102)、 Iピクチャ、 Pピクチャ、 Bピ クチャのいずれかを判別してその結果を制御部 102cに通知するとともに、 GOPへッ ダを検出した場合は新たな GOPに移ったと判断してその旨を通知する (ステップ S1 03)。 Referring to FIG. 5, in transcoding apparatus 100, when an encoded stream is input from storage section 101 to the stream apparatus (step S100), first, stream analysis section 102a performs each picture of the encoded stream. The start code is searched (step S101). When the start code looks strong (S101: YES), if the subsequent stream is a picture header, the stream analysis unit 102a reads identification information (picture_coding_type) indicating the picture type included in the picture header. (Step S102), I picture, P picture, or B picture is discriminated and the result is notified to the control unit 102c.If GOP header is detected, it is judged that the GOP has moved to a new GOP. This is notified (step S1 03).
[0040] 全ピクチャに対してピクチャ種別の判別が完了するまで、ステップ S100〜S103を 繰り返す (ステップ S 104)。  [0040] Steps S100 to S103 are repeated until the discrimination of the picture type is completed for all pictures (step S104).
以上ステップ S100〜S104の処理を行うことで、制御部 102cは全ピクチャのピクチ ャ種別及び GOPの区切りを把握する。  By performing the processing of steps S100 to S104, the control unit 102c grasps the picture type and GOP delimiter of all pictures.
(4- 2.トランスコーディングの動作)  (4-2.Transcoding operation)
次に、画像変換部 103がトランスコーディングを行う処理動作について、図 6を参照 しながら説明する。  Next, the processing operation in which the image conversion unit 103 performs transcoding will be described with reference to FIG.
[0041] 図 6を参照すると、制御部 102cは、図 5で示したステップ S100〜S104での判別 結果に基づき、同一の Iピクチャと Pピクチャとを参照する複数の Bピクチャをひとまと めにして、それぞれ画像変換部 # 1 (103A)〜 # 3 (103C)に割り当てる。 ここでは、 B2及び B3をひとまとめにして、参照しなければならない 10と P1とともに画 像変換部 # 1 (103A)に割り当てる。 [0041] Referring to FIG. 6, the control unit 102c collects a plurality of B pictures referring to the same I picture and P picture based on the determination results in steps S100 to S104 shown in FIG. Are assigned to the image conversion units # 1 (103A) to # 3 (103C), respectively. Here, B2 and B3 are grouped together and assigned to image conversion unit # 1 (103A) together with 10 and P1 that must be referenced.
[0042] また、 B5及び B6をひとまとめにして、参照しなければならない P1と P4と、さらに P1 が参照する 10とともに画像変換部 # 2 (103B)に割り当てる。 [0042] Further, B5 and B6 are collectively assigned to P1 and P4 that must be referred to, and 10 that P1 refers to, and assigned to the image conversion unit # 2 (103B).
また、 B8及び B9をひとまとめにして、参照しなければならない P4と P7と、さらに P4 が参照する P1と、 P1が参照する 10とともに画像変換部 # 3 (103C)に割り当てる。  Also, B8 and B9 are collectively assigned to image conversion unit # 3 (103C) together with P4 and P7 that must be referred to, P1 that P4 refers to, and 10 that P1 refers to.
[0043] さらに、 B9以降は再び画像変換部 # 1 (103A)に戻り、 B11及び B12をひとまとめ にして、参照しなければならない P7と P10と、 P7が参照する P4とともに画像変換部 # 1 (103A)に割り当てる。 [0043] Further, after B9, the process returns to the image conversion unit # 1 (103A) again, and B11 and B12 are collectively referred to as P7 and P10 that must be referred to, and the image conversion unit # 1 ( 103A).
また、 B14及び B15をひとまとめにして、参照しなければならない P10と P13と、 P1 0が参照する P7とともに画像変換部 # 2 (103B)に割り当てる。  Also, B14 and B15 are collectively assigned to the image conversion unit # 2 (103B) together with P10 and P13 that must be referred to and P7 that P10 refers to.
[0044] また、 B17及び B18をひとまとめにして、参照しなければならない P13と P16と、 P1 3が参照する P10とともに画像変換部 # 3 (103C)に割り当てる。 [0044] B17 and B18 are collectively assigned to the image conversion unit # 3 (103C) together with P13 and P16 that must be referred to and P10 referred to by P13.
B18以降についても、同様に画像変換部 # 1 (103A)〜 # 3 (103C)に逐次 Bピク チヤを割り当てる。  Similarly for B18 and later, B pictures are sequentially assigned to the image conversion units # 1 (103A) to # 3 (103C).
この結果、画像変換部 # 1 (103A)は割り当てに基づき、入力ストリームバスを介し て記憶部 101から入力した符号化ストリームの中から、自部に割り当てられている 10、 Pl、 B2、 B3、 P4、 P7、 P10、 Bl l、 B12、 P13…を、復号器 103bで逐次復号して いく。  As a result, based on the assignment, the image conversion unit # 1 (103A) has 10, 10, Pl, B2, B3, assigned to itself from among the encoded streams input from the storage unit 101 via the input stream bus. P4, P7, P10, Bl1, B12, P13... Are sequentially decoded by the decoder 103b.
[0045] また、これと並行して、画像変換部 # 1 (103A)は符号器 103dで、各ピクチャを、 復号が終わったピクチャ力 逐次符号ィ匕して 、く。  In parallel with this, the image conversion unit # 1 (103A) uses the encoder 103d to sequentially encode each picture with the picture power after decoding.
画像変換部 # 2 (103B)は割り当てに基づき、復号器 103bで、 10、 Pl、 P4、 B5、 B6、 P7, P10、 P13、 B14、 Β15 · · ·を逐次復号して!/ヽく。  Based on the assignment, the image conversion unit # 2 (103B) sequentially decodes 10 / Pl, P4, B5, B6, P7, P10, P13, B14, Β15,.
また、これと並行して、画像変換部 # 2 (103B)は符号器 103dで、各ピクチャを、復 号が終わったピクチャ力 逐次符号ィ匕して 、く。  In parallel with this, the image conversion unit # 2 (103B) uses the encoder 103d to sequentially encode each picture with the picture power after decoding.
[0046] 画像変換部 # 3 (103C)は割り当てに基づき、復号器 103bで、 10、 Pl、 P4、 P7、 B8、 B9、 P10、 P13、 P16、 B17、 Β18 · · ·を逐次復号していく。 [0046] Image conversion unit # 3 (103C) sequentially decodes 10, Pl, P4, P7, B8, B9, P10, P13, P16, B17, Β18,. Go.
また、これと並行して、画像変換部 # 3 (103C)は符号器 103dで、各ピクチャを、復 号が終わったピクチャ力 逐次符号ィ匕して 、く。 In parallel with this, image conversion unit # 3 (103C) decodes each picture by encoder 103d. The picture power when the issue ends.
[0047] 画像変換部 # 1 (103A)〜 # 3 (103C)それぞれが割り当てられたピクチャのトラン スコーディングが完了すると、トランスコーディングされた符号化ストリーム片をストリー ム結合部 102bが結合し、 1つの符号化ストームとして記憶部 101に記憶する。  [0047] When the transcoding of the pictures to which image conversion units # 1 (103A) to # 3 (103C) are assigned is completed, the stream combination unit 102b combines the transcoded encoded stream pieces, and 1 One encoding storm is stored in the storage unit 101.
以上のように、画像変換部 # 1 (103A)〜 # 3 (103C)力 それぞれ異なる Bピクチ ャと、 Bピクチャの復号に必要となる全ての Iピクチャ及び Pピクチャをトランスコーディ ングすることで、 Iピクチャ、 Pピクチャ、及び Bピクチャの相互依存関係を維持したまま 分散処理によってトランスコーディングを行うことができる。  As described above, the image conversion units # 1 (103A) to # 3 (103C) have different B pictures, and transcoding all the I and P pictures required for decoding the B pictures. Transcoding can be performed by distributed processing while maintaining the interdependence of I, P, and B pictures.
[0048] これによつて、符号化ストリームを高速にトランスコーディングすることができる。  [0048] Thereby, the encoded stream can be transcoded at high speed.
実施形態 1の例では、図 6に示すように、画像変換部が 1つしかないと仮定した場合 に 6ピクチャ分(Pl、 B2、 B3、 P4、 B5、 B6)トランスコーディングできる期間(図中矢 印で示す期間)で、画像変換部 # 1 (103A)〜 # 3 (103C)が分担することにより 10 ピクチャ分(Pl、 B2、 B3、 P4、 B5、 B6、 P7、 P8、 B9、 P10)トランスコーディングす ることがでさる。  In the example of the first embodiment, as shown in FIG. 6, when it is assumed that there is only one image conversion unit, it is possible to transcode 6 pictures (Pl, B2, B3, P4, B5, B6) (arrows in the figure). 10 picture (Pl, B2, B3, P4, B5, B6, P7, P8, B9, P10) by sharing the image conversion unit # 1 (103A) to # 3 (103C) Transcoding can be done.
[0049] また、各画像変換部 # 1 (103A)〜 # 3 (103C)と記憶部を含む制御部 102との間 は、圧縮されたストリームの形式で入出力が行われるため、転送ビットレートの小さい ネットワーク等の構成を利用しても、同一基板上の高速バス、あるいは同一チップ上 のバスなどを利用しても構わな!/、。  [0049] In addition, since the input / output is performed in the form of a compressed stream between each of the image conversion units # 1 (103A) to # 3 (103C) and the control unit 102 including the storage unit, the transfer bit rate You can use a small network configuration, or use a high-speed bus on the same board or a bus on the same chip! /.
<実施形態 2>  <Embodiment 2>
次に、実施形態 2について説明する。  Next, Embodiment 2 will be described.
(1.概要)  (1. Overview)
実施形態 1では、ストリーム解析部 102bが、各画像変換部 # 1 (103A)〜 # 3 (10 3C)への割り当てのみを指定し、各画像変換部 # 1 (103A)〜 # 3 (103C)が指定さ れたピクチャをストリーム力も選択的にトランスコーディングするようになっていたが、 実施形態 2では、画像変換部 # 1 (103A)〜 # 3 (103C)にはトランスコードすべきス トリームのみが供給される点で異なる。  In the first embodiment, the stream analysis unit 102b designates only the assignment to each image conversion unit # 1 (103A) to # 3 (10 3C), and each image conversion unit # 1 (103A) to # 3 (103C) However, in the second embodiment, only the stream to be transcoded is included in the image conversion units # 1 (103A) to # 3 (103C). Is different in that it is supplied.
[0050] 以下、実施形態 1と異なる点に着目して説明する。 [0050] The following description will be focused on differences from the first embodiment.
(2.構成) 実施形態 2においては、制御部 102cは、ストリーム解析部 102bが解析した結果に 基づき、複数のピクチャそれぞれの復号を画像変換部 # 1 (103A)〜 # 3 (103C)の いずれかに割り当て、この割り当てに応じて記億部 101内のストリームを分割し、分割 したピクチャを割り当てに応じて各画像変換部 # 1 (103A)〜 # 3 (103C)に送出さ せる機能を有する。 (2. Configuration) In the second embodiment, the control unit 102c assigns decoding of each of a plurality of pictures to any one of the image conversion units # 1 (103A) to # 3 (103C) based on the analysis result of the stream analysis unit 102b. The stream in the storage unit 101 is divided according to the allocation, and the divided pictures are sent to the image conversion units # 1 (103A) to # 3 (103C) according to the allocation.
[0051] ここでいう割り当てとは、実施形態 1で示した割り当てと同様に、同一の Iピクチャ及 び Pピクチャを参照する Bピクチヤ同士をひとまとめにして、このひとまとめにした Bピク チヤ群と、これら Bピクチャ群の復号に際して参照しなければならな 、全ての Iピクチャ 及び Pピクチャとを画像変換部 103に割り当てる。  [0051] Similar to the allocation shown in the first embodiment, the allocation referred to here is a group of B pictures that collectively refer to the B pictures that refer to the same I picture and P picture, All I pictures and P pictures that must be referred to when decoding these B pictures are assigned to the image converter 103.
画像変換部 # 1 (103A)〜 # 3 (103C)は、入力ストリームバスを介して送出された ピクチャを復号する機能を有する。  The image conversion units # 1 (103A) to # 3 (103C) have a function of decoding pictures sent via the input stream bus.
(3.動作)  (3. Operation)
次に、実施形態 2に係るトランスコーディング装置 100の動作について説明する。 なお、ピクチャの解析処理については、図 5に基づき実施形態 1で示した処理と同様 であるため、説明は省略し、以下、トランスコーディングの動作について説明する。  Next, the operation of transcoding apparatus 100 according to Embodiment 2 will be described. Note that the picture analysis process is the same as the process described in the first embodiment based on FIG. 5, and thus the description thereof will be omitted. The transcoding operation will be described below.
[0052] 図 5で示したステップ S100〜S104での判別結果に基づき、同一の Iピクチャと Pピ クチャとを参照する複数の Bピクチャをひとまとめにし、ひとまとめにした Bピクチャと参 照が必要な Iピクチャ及び Pピクチャごとにストリームを分割して各画像変換部 # 1 (10[0052] Based on the discrimination results in steps S100 to S104 shown in FIG. 5, a plurality of B pictures that refer to the same I picture and P picture are grouped, and the grouped B pictures and references are required. Each image converter # 1 (10
3A)〜 # 3 (103C)に入力バスを介して送出する。 Send to 3A) to # 3 (103C) via the input bus.
ここでは、実施形態 1同様、 B2及び B3をひとまとめにして、参照しなければならな い 10と P1とともに画像変換部 # 1 (103A)に送出する。  Here, as in the first embodiment, B2 and B3 are collectively sent to the image conversion unit # 1 (103A) together with 10 and P1 that must be referred to.
[0053] また、 B5及び B6をひとまとめにして、参照しなければならない P1と P4と、さらに P1 が参照する 10とともに画像変換部 # 2 (103B)に送出する。 [0053] Further, B5 and B6 are collectively sent to image conversion unit # 2 (103B) together with P1 and P4 that must be referred to, and 10 that P1 refers to.
また、 B8及び B9をひとまとめにして、参照しなければならない P4と P7と、さらに P4 が参照する P1と、 P1が参照する 10とともに画像変換部 # 3 (103C)に送出する。  Also, B8 and B9 are collected and sent to the image conversion unit # 3 (103C) together with P4 and P7 that must be referenced, P1 that P4 refers to, and 10 that P1 refers to.
[0054] さらに、 B9以降は再び画像変換部 # 1 (103A)に戻り、 B11及び B12をひとまとめ にして、参照しなければならない P7と P10と、 P7が参照する P4とともに画像変換部[0054] Further, after B9, the process returns to the image conversion unit # 1 (103A) again, and B11 and B12 must be collectively referred to as P7 and P10, and the image conversion unit together with P4 referred to by P7.
# 1 (103A)に送出する。 また、 B14及び B15をひとまとめにして、参照しなければならない P10と P13と、 P1 0が参照する P7とともに画像変換部 # 2 (103B)に送出する。 Send to # 1 (103A). Also, B14 and B15 are sent together to P10 and P13 that must be referenced, and P7 that P10 refers to, and sent to the image conversion unit # 2 (103B).
[0055] また、 B17及び B18をひとまとめにして、参照しなければならない P13と P16と、 P1 3が参照する P10とともに画像変換部 # 3 (103C)に送出する。 [0055] Also, B17 and B18 are collected and sent to the image conversion unit # 3 (103C) together with P13 and P16 that must be referred to and P10 referred to by P13.
B18以降についても、同様に画像変換部 # 1 (103A)〜 # 3 (103C)に逐次 Bピク チヤを割り当て、割り当てた Bピクチャと当該 Bピクチャが参照する Iピクチャ及び Bピク チヤとを送出する。  Similarly for B18 and later, B pictures are assigned sequentially to image converters # 1 (103A) to # 3 (103C), and the assigned B picture and the I picture and B picture referenced by the B picture are transmitted. .
[0056] この結果、画像変換部 # 1 (103A)は、入力ストリームバスを介して受け取った 10、 Pl、 B2、 B3、 P4、 P7、 P10、 Bl l、 B12、 P13…を、復号器 103bで逐次復号して いく。  As a result, the image conversion unit # 1 (103A) converts the 10, Pl, B2, B3, P4, P7, P10, Bl1, B12, P13,... Received via the input stream bus into the decoder 103b. Decode sequentially.
画像変換言 # 2 (103B)は、受け取った 10、 Pl、 P4、 B5、 B6、 P7, P10、 P13、 B 14、 Β15 · · ·を、復号器 103bで逐次復号していく。  The image conversion word # 2 (103B) sequentially decodes the received 10, Pl, P4, B5, B6, P7, P10, P13, B14, Β15... By the decoder 103b.
[0057] 画像変換咅 # 3 (103C)は、受け取った 10、 Pl、 P4、 P7、 B8、 B9、 P10、 P13、 P 16、 B17、 Β18 · · ·を、復号器 103bで逐次復号していく。 [0057] Image conversion 咅 # 3 (103C) sequentially decodes received 10, Pl, P4, P7, B8, B9, P10, P13, P16, B17, Β18 ··· by decoder 103b. Go.
各画像変換部 # 1 (103A)〜 # 3 (103C)が復号と並行してピクチャを符号器 103 dで符号ィ匕していき、トランスコーディングが完了すると、符号化ストリーム片をストリー ム結合部 102bで結合して記憶部 101に記憶するのは、実施形態 1と同様である。  Each image conversion unit # 1 (103A) to # 3 (103C) encodes the picture with the encoder 103d in parallel with the decoding, and when transcoding is completed, the encoded stream fragment is converted into a stream combination unit. The combination in 102b and the storage in the storage unit 101 are the same as in the first embodiment.
[0058] 以上のように、実施形態 2では、ストリームを分割し、各画像変換部 # 1 (103A)〜 As described above, in the second embodiment, the stream is divided and each image conversion unit # 1 (103A) to
# 3 (103C)がトランスコードすべきピクチャ(Bピクチャ、 Iピクチャ、及び Pピクチャ)を 事前に各画像変換部 # 1 (103A)〜 # 3 (103C)に送出しておく。  The picture (B picture, I picture, and P picture) to be transcoded by # 3 (103C) is sent in advance to each image conversion unit # 1 (103A) to # 3 (103C).
こうすることで、各画像変換部 # 1 (103A)〜 # 3 (103C)は、受け取ったピクチャを 単純に復号していくだけでよぐまた、各画像変換部 # 1 (103A)〜 # 3 (103C)とス トリーム部 102との間での入出力データ量を低減することができる。  In this way, each image conversion unit # 1 (103A) to # 3 (103C) can simply decode the received picture, and each image conversion unit # 1 (103A) to # 3 ( The amount of input / output data between 103C) and the stream unit 102 can be reduced.
<実施形態 3 >  <Embodiment 3>
次に、実施形態 3について、図 7〜8を参照しながら説明する。  Next, Embodiment 3 will be described with reference to FIGS.
(1.概要)  (1. Overview)
実施形態 1では、ピクチャ単位で各画像変換部 103に割り当てを行っていた力 実 施形態 3では、隣接する他の GOP内の Iピクチャ又は Pピクチャも参照する形態であ るオープン GOPのピクチャ単位で各画像変換部 103に割り当てを行う点で異なる。 In the first embodiment, the power assigned to each image conversion unit 103 in units of pictures. In the third embodiment, an I picture or P picture in another adjacent GOP is also referred to. The difference is that each image conversion unit 103 is assigned in units of open GOP pictures.
[0059] 以下、実施形態 1と異なる点に着目して説明する。 Hereinafter, the description will be made focusing on differences from the first embodiment.
(2.データ)  (2.Data)
ここで、実施形態 3に係るトランスコーディング装置 100が取り扱う GOPのデータ構 造について、図 7を参照しながら説明する。  Here, a GOP data structure handled by the transcoding apparatus 100 according to the third embodiment will be described with reference to FIG.
図 7を参照すると、符号化ストリームは、複数の GOP (GOP0、 GOPl、 GOP2、 G OP3、 GOP4- · を含んでおり、各 GOPは少なくとも、 1枚の Iピクチャと複数の Bピク チヤを含んでいる。  Referring to FIG. 7, the encoded stream includes a plurality of GOPs (GOP0, GOPl, GOP2, GOP3, GOP4-..., And each GOP includes at least one I picture and a plurality of B pictures. It is out.
[0060] ここでは説明を単純ィ匕するために、 1枚の Iピクチャと 2枚の Bピクチャを含んでいる 場合を示している。  [0060] Here, in order to simplify the description, a case in which one I picture and two B pictures are included is shown.
各 GOPは、 Bピクチャが自 GOP内の Iピクチャと Pピクチャを参照するだけでなぐ隣 接する他の GOP内の Iピクチャや Pピクチヤを参照する。  Each GOP refers to an I picture or P picture in another neighboring GOP as well as referring to an I picture and P picture in the GOP.
GOP0は、 1枚の 10、 10を参照する Pl、並びに 10と PIとを参照する B2及び B3を含 む。  GOP0 contains a Pl referring to 10, 10 and B2 and B3 referring to 10 and PI.
[0061] GOP1は、 1枚の 14、並びに 14と GOP0内の P1とを参照する B5及び B6を含む。  [0061] GOP1 includes one sheet 14, and B5 and B6 referring to 14 and P1 in GOP0.
GOP2は、 1枚の 17、並びに 17と GOP1内の 14とを参照する B8及び B9を含む。 GOP3は、 1枚の 110、並びに 110と GOP2内の 17とを参照する B11及び B12を含 む。  GOP2 includes B8 and B9 that refer to a single 17 and 17 and 14 in GOP1. GOP3 includes B11 and B12 which refer to one 110, and 110 and 17 in GOP2.
[0062] GOP4は、 1枚の 113、並びに 113と GOP3内の 110とを参照する B14及び B15を含 む。  [0062] GOP4 includes B113 and B15 that refer to a single 113, and 113 and 110 in GOP3.
このように、複数の GOP間で、 Iピクチャ、 Pピクチャ、 Bピクチャの間に相互依存関 係がある GOPを、オープン GOPと呼ぶ。  In this way, GOPs that have interdependencies among multiple GOPs between I-pictures, P-pictures, and B-pictures are called open GOPs.
(3.構成)  (3. Configuration)
実施形態 3においては、制御部 102cは、ストリーム解析部 102aが解析した結果に 基づき、ある GOPと、この GOPの復号に際して参照しなければならない、隣接する他 の GOP内の Iピクチャ及び Pピクチャとを各画像変換部 103に割り当てる。  In the third embodiment, the control unit 102c, based on the result of analysis by the stream analysis unit 102a, and a GOP and an I picture and a P picture in another adjacent GOP that must be referred to when decoding the GOP. Is assigned to each image conversion unit 103.
(4.動作)  (4. Operation)
続いて、トランスコーディング装置 100の動作について、図 8を参照しながら説明す る。 Next, the operation of the transcoding device 100 will be described with reference to FIG. The
[0063] なお、ピクチャの解析処理については、図 5に基づき実施形態 1で示した処理と同 様であるため、説明は省略し、以下、トランスコーディングの動作について説明する。 図 8を参照すると、制御部 102cは、図 5で示したステップ S100〜S104での判断 結果に基づき、同一の GOP内に含まれる複数の Bピクチャをひとまとめにして、各 B ピクチャが参照する Iピクチャと Pピクチャとともに、それぞれ画像変換部 # 1 (103A) Note that the picture analysis process is the same as the process described in the first embodiment based on FIG. 5, and thus the description thereof will be omitted. Hereinafter, the transcoding operation will be described. Referring to FIG. 8, the control unit 102c collects a plurality of B pictures included in the same GOP based on the determination result in steps S100 to S104 shown in FIG. 5, and refers to each B picture. Image conversion part # 1 (103A) with picture and P picture
〜# 3 (103C)に割り当てる。 Assign to ~ # 3 (103C).
[0064] ここでは、 GOPO内の B2及び B3をひとまとめにして、参照しなければならない GO[0064] Here, B2 and B3 in GOPO must be referred to collectively. GO
P0内の 10と PIとともに画像変換部 # 1 (103A)に割り当てる。 Assigned to image converter # 1 (103A) together with 10 and PI in P0.
また、 GOP1内の B5及び B6をひとまとめにして、参照しなければならない GOP1 内の 14と GOP0内の P1と、さらに P1が参照する 10とともに画像変換部 # 2 (103B)に 割り当てる。  Also, B5 and B6 in GOP1 are collectively assigned to image conversion unit # 2 (103B) together with 14 in GOP1 and P1 in GOP0 that must be referenced, and 10 that P1 refers to.
[0065] また、 GOP2内の B8及び B9をひとまとめにして、参照しなければならない GOP2 内の 17と GOP1内の 14とともに画像変換部 # 3 (103C)に割り当てる。  [0065] Also, B8 and B9 in GOP2 are collectively assigned to image conversion unit # 3 (103C) together with 17 in GOP2 and 14 in GOP1 that must be referred to.
さらに、 B9以降は再び画像変換部 # 1 (103A)に戻り、 GOP3内の B11及び B12 をひとまとめにして、参照すべき GOP3内の 110と GOP2内の 17とともに画像変換部 # 1 (103A)に割り当てる。  After B9, the process returns to the image converter # 1 (103A) again, and B11 and B12 in GOP3 are grouped together, together with 110 in GOP3 and 17 in GOP2, to image converter # 1 (103A). assign.
[0066] また、 GOP4内の B14及び B15をひとまとめにして、参照すべき GOP4内の 113と G OP3内の 110とともに画像変換部 # 2 (103B)に割り当てる。 [0066] Further, B14 and B15 in GOP4 are collectively assigned to image conversion unit # 2 (103B) together with 113 in GOP4 and 110 in GOP3 to be referred to.
また、 GOP5内の B17及び B18をひとまとめにして、参照すべき GOP5内の 116と G OP4内の 113とともに画像変換部 # 3 (103C)に割り当てる。  Further, B17 and B18 in GOP5 are collectively assigned to image conversion unit # 3 (103C) together with 116 in GOP5 and 113 in GOP4 to be referred to.
B18以降についても、同様に画像変換部 # 1 (103A)〜 # 3 (103C)に逐次 Bピク チヤを割り当てる。  Similarly for B18 and later, B pictures are sequentially assigned to the image conversion units # 1 (103A) to # 3 (103C).
[0067] この結果、画像変換部 # 1 (103A)は割り当てに基づき、入力ストリームバスを介し て記憶部 101から入力した符号化ストリームの中から、自部に割り当てられている 10、 Pl、 B2、 B3、 17、 110、 Bl l、 Β12· · ·を、復号器 103bで逐次復号していく。  As a result, based on the assignment, the image conversion unit # 1 (103A) is assigned with 10, 10, Pl, B2 from the encoded stream input from the storage unit 101 via the input stream bus. , B3, 17, 110, Bl1, Β12,... Are sequentially decoded by the decoder 103b.
また、これと並行して、画像変換部 # 1 (103A)は符号器 103dで、各ピクチャを、 復号が終わったピクチャ力 逐次符号ィ匕して 、く。 [0068] 画像変換部 # 2 (103B)は割り当てに基づき、入力ストリームバスを介して記憶部 1 01から入力した符号化ストリームの中から、自部に割り当てられている 10、 Pl、 14、 B 5、 B6, 110、 113、 Β14、 Β15 · · ·を、復号器 103bで逐次復号していく。 In parallel with this, the image conversion unit # 1 (103A) uses the encoder 103d to sequentially code each picture with the decoded picture power. [0068] Based on the assignment, the image conversion unit # 2 (103B) is assigned with 10, 10, Pl, 14, B, from the encoded stream input from the storage unit 101 via the input stream bus. 5, B6, 110, 113, Β14, Β15 ... are sequentially decoded by the decoder 103b.
また、これと並行して、画像変換部 # 2 (103B)は符号器 103dで、各ピクチャを、復 号が終わったピクチャ力 符号ィ匕して 、く。  In parallel with this, the image conversion unit # 2 (103B) uses the encoder 103d to convert each picture into a picture power code after decoding.
[0069] 画像変換部 # 3 (103C)は割り当てに基づき、入力ストリームバスを介して記憶部 1 01から入力した符号化ストリームの中から、自部に割り当てられている 14、 17、 B8、 B 9、 113、 116、 Β17、 Β18 · · ·を、復号器 103bで逐次復号していく。  [0069] Based on the assignment, the image conversion unit # 3 (103C) is assigned with its own unit among the encoded streams input from the storage unit 101 via the input stream bus 14, 17, B8, B 9, 113, 116, Β17, Β18 ··· are sequentially decoded by the decoder 103b.
また、これと並行して、画像変換部 # 3 (103C)は符号器 103dで、各ピクチャを、復 号が終わったピクチャ力 逐次符号ィ匕して 、く。  In parallel with this, the image conversion unit # 3 (103C) uses the encoder 103d to sequentially encode each picture with the picture power after decoding.
[0070] 画像変換部 # 1 (103B)〜 # 3 (103C)それぞれが割り当てられたピクチャのトラン スコーディングを完了すると、トランスコーディングされた符号化ストリーム片をストリー ム結合部 102bが結合し、 1つの符号化ストリームとして記憶部 101に記憶する。 以上のように、画像変換部 # 1 (103B)〜 # 3 (103C)力 複数の GOPに跨って、 異なる Bピクチャと、 Bピクチャの復号に必要となる隣接 GOPに含まれる全ての Iピク チヤ及び Pピクチャをトランスコーディングすることで、 GOP間に跨る Iピクチャ、 Pピク チヤ、及び Bピクチャの相互依存関係を維持したまま分散処理によってトランスコーデ イングを行うことができる。  [0070] Upon completion of transcoding of the pictures to which image conversion units # 1 (103B) to # 3 (103C) have been assigned, the stream combination unit 102b combines the transcoded encoded stream pieces, and 1 One encoded stream is stored in the storage unit 101. As described above, the image conversion units # 1 (103B) to # 3 (103C) have different B pictures across multiple GOPs and all I pictures included in adjacent GOPs necessary for decoding the B pictures. By transcoding and P pictures, transcoding can be performed by distributed processing while maintaining the interdependence of I pictures, P pictures, and B pictures across GOPs.
[0071] これによつて、オープン GOPを含む符号化ストリームを高速にトランスコーディング することができる。  [0071] Thereby, an encoded stream including an open GOP can be transcoded at high speed.
実施形態 3の例では、図 8に示すように、画像変換部が 1つしかないと仮定した場合 に 6ピクチャ分(Pl、 B2、 B3、 14、 B5、 B6)トランスコーディングできる期間(図中矢 印で示す期間)で、画像変換部 # 1 (103B)〜 # 3 (103C)が分担することにより 17 ピクチャ分(Pl、 B2、 B3、 14、 B5、 B6、 17、 B8、 B9、 110、 Bl l、 B12、 113、 B14、 B15、 116、 B17)トランスコーディングすることができる。  In the example of the third embodiment, as shown in FIG. 8, when it is assumed that there is only one image conversion unit, it is possible to transcode 6 pictures (Pl, B2, B3, 14, B5, B6) (arrows in the figure). In the period indicated by the mark), the image converters # 1 (103B) to # 3 (103C) share 17 pictures (Pl, B2, B3, 14, B5, B6, 17, B8, B9, 110, Bl1, B12, 113, B14, B15, 116, B17) can be transcoded.
<実施形態 4>  <Embodiment 4>
次に、実施形態 4について、図 9〜11を参照しながら説明する。  Next, Embodiment 4 will be described with reference to FIGS.
(1.概要) 実施形態 1〜3では、 MPEG2規格に従って符号化された符号化ストリームをトラン スコーディングするトランスコーディング装置であった力 実施形態 4では、 MPEG2 規格に従って符号化された符号化ストリームを単に復号して出力する復号装置であ る点で異なる。 (1. Overview) In Embodiments 1 to 3, the transcoding apparatus transcodes the encoded stream encoded according to the MPEG2 standard. In Embodiment 4, the encoded stream encoded according to the MPEG2 standard is simply decoded and output. It differs in that it is a decoding device.
[0072] 以下、実施形態 1〜3と異なる点に着目して説明する。  Hereinafter, the description will be given focusing on differences from the first to third embodiments.
(2.構成)  (2. Configuration)
実施形態 4に係る復号装置 200の構成について、図 9を参照しながら説明する。 図 9を参照すると、復号装置 200は、記憶部 201、ストリーム部 202、画像復号部 # The configuration of the decoding device 200 according to Embodiment 4 will be described with reference to FIG. Referring to FIG. 9, the decoding device 200 includes a storage unit 201, a stream unit 202, an image decoding unit #
1 (203A)、画像復号部 # 2 (203B)、画像切り替え部 204、及び表示部 205を備え ている 1 (203A), image decoding unit # 2 (203B), image switching unit 204, and display unit 205
記憶部 201は、実施形態 1で示した記憶部 101と同様の構成であり、 MPEG2規格 に従って 8Mbpsのビットレートで符号ィ匕された符号化ストリームを記憶しているもので ある。  The storage unit 201 has the same configuration as that of the storage unit 101 shown in the first embodiment, and stores an encoded stream encoded at a bit rate of 8 Mbps according to the MPEG2 standard.
[0073] ストリーム部 202は、内部にストリーム解析部 202a及び制御部 202bを備える。  [0073] The stream unit 202 includes a stream analysis unit 202a and a control unit 202b.
ストリーム解析部 202aは、実施形態 1で示したストリーム解析部 102aと同様の構成 であり、入力した符号化ストリームに対して各ピクチャのピクチャヘッダを参照してピク チヤの種別と、 GOPの区切りとを解析する機能を有する。  The stream analysis unit 202a has the same configuration as the stream analysis unit 102a shown in the first embodiment, and refers to the picture header of each picture with respect to the input encoded stream, the type of the picture, the GOP delimiter, and It has a function to analyze.
[0074] 制御部 202bは、実施形態 1で示した制御部 102bcと同様の構成であり、同一の Iピ クチャ及び Pピクチャを参照する Bピクチヤ同士をひとまとめにして、このひとまとめに した Bピクチャ群と、これら Bピクチャ群の復号に際して参照しなければならな ヽ全ピク チヤ及び Pピクチャとを各画像復号部 203に割り当てる機能を有する。 [0074] The control unit 202b has the same configuration as that of the control unit 102bc shown in the first embodiment. The B pictures that refer to the same I picture and P picture are grouped together, and this group of B pictures is grouped. And a function of allocating all pictures and P pictures, which must be referred to when decoding these B picture groups, to each image decoding unit 203.
画像復号部# 1 (103八)〜# 2 (103 )は、制御部 202の割り当てに基づき、入力 ストリームノ スを介して記憶部 101から入力した符号化ストリームを復号し、画像切り 替え部 204に送出する機能を有する。  The image decoding units # 1 (103 8) to # 2 (103) decode the encoded stream input from the storage unit 101 via the input stream node based on the assignment of the control unit 202, and the image switching unit 204 It has a function to send to.
[0075] 詳細な構成を、図 10を参照しながら説明する。 A detailed configuration will be described with reference to FIG.
図 10を参照すると、画像復号部# 1 (103八)〜# 2 (103 )のそれぞれは、入カス 卜リームノ ッファ 203a、復号器 203b、フレームメモリ 203c、出力画像バッファ 203d、 及びコントローラ 203eを備える。 入力ストリームバッファ 203aは、入力ストリームバスを介して記憶部 101から入力し た 8Mbpsの符号化ストリームをバッファリングする機能を有する。 Referring to FIG. 10, each of the image decoding units # 1 (103 8) to # 2 (103) includes an input stream buffer 203a, a decoder 203b, a frame memory 203c, an output image buffer 203d, and a controller 203e. . The input stream buffer 203a has a function of buffering an 8 Mbps encoded stream input from the storage unit 101 via the input stream bus.
[0076] 復号器 203bは、入力ストリームバッファ 203aにバッファリングされた符号化ストリー ムを読み出して復号し、復号した動画像をフレームメモリ 203cに書き込む機能を有 する。 The decoder 203b has a function of reading and decoding the encoded stream buffered in the input stream buffer 203a, and writing the decoded moving image to the frame memory 203c.
出力画像バッファ 203dは、フレームメモリ 203cに書き込まれた動画像を受け取り、 画像切り替え部 204に送出する機能を有する。  The output image buffer 203d has a function of receiving the moving image written in the frame memory 203c and sending it to the image switching unit 204.
[0077] コントローラ 203fは、入力ストリームバッファ 203a、復号器 203b、フレームメモリ 20 3c、及び出力画像バッファ 203dを制御して、符号化ストリームと復号結果の動画像 の入出力を管理する機能を有する。 [0077] The controller 203f has a function of controlling the input stream buffer 203a, the decoder 203b, the frame memory 203c, and the output image buffer 203d to manage input / output of the encoded stream and the moving image of the decoding result.
(3.動作)  (3. Operation)
続いて、復号装置 200の動作について、図 11を参照しながら説明する。  Next, the operation of the decoding device 200 will be described with reference to FIG.
[0078] なお、ピクチャの解析処理については、図 5に基づき実施形態 1で示した処理と同 様であるため、説明は省略し、以下、復号動作について説明する。 Note that the picture analysis process is the same as the process described in the first embodiment based on FIG. 5, and thus the description thereof is omitted. Hereinafter, the decoding operation will be described.
図 11を参照すると、制御部 202bは、図 5で示したステップ S100〜S104での判断 結果に基づき、同一 Iピクチャと Pピクチャとを参照する複数の Bピクチャをひとまとめ にして、それぞれ画像復号部 # 1 (103A)〜 # 2 (103B)に割り当てる。  Referring to FIG. 11, the control unit 202b collects a plurality of B pictures that refer to the same I picture and P picture together based on the determination result in steps S100 to S104 shown in FIG. Assign to # 1 (103A) to # 2 (103B).
[0079] ここでは、 B2及び B3をひとまとめにして、参照しなければならない 10と P1とともに画 像復号部 # 1 (103A)に割り当てる。 [0079] Here, B2 and B3 are collectively assigned to image decoding unit # 1 (103A) together with 10 and P1 that must be referred to.
また、 B5及び B6をひとまとめにして、参照しなければならない P1と P4と、さらに P1 が参照する 10とともに画像復号部 # 2 (103B)に割り当てる。  B5 and B6 are collectively assigned to the image decoding unit # 2 (103B) together with P1 and P4 that must be referred to, and 10 that P1 refers to.
さらに、 B6以降は再び画像復号部 # 1 (103A)に戻り、 B8及び B9をひとまとめに して、参照しなければならない P4と P7とともに画像復号部 # 1 (103A)に割り当てる  Further, after B6, the process returns to the image decoding unit # 1 (103A) again, and B8 and B9 are collectively assigned to the image decoding unit # 1 (103A) together with P4 and P7 that must be referred to.
[0080] また、 B11及び B12をひとまとめにして、参照しなければならない P7と P10とともに 画像復号部 # 2 ( 103B)に割り当てる。 [0080] B11 and B12 are collectively assigned to image decoding unit # 2 (103B) together with P7 and P10 that must be referred to.
この結果、画像復号部 # 1 (103A)は割り当てに基づき、入力ストリームバスを介し て記憶部 101から入力した符号化ストリームの中から、自部に割り当てられている 10、 Pl、 B2、 B3、 P4、 P7、 B8、 Β9 · · ·を、復号器 103bで逐次復号していく。 As a result, based on the assignment, the image decoding unit # 1 (103A) is assigned to itself from among the encoded streams input from the storage unit 101 via the input stream bus 10, Pl, B2, B3, P4, P7, B8, Β9... Are sequentially decoded by the decoder 103b.
[0081] 画像復号部 # 2 (103B)は割り当てに基づき、入力ストリームバスを介して記憶部 1 01から入力した符号化ストリームの中から、自部に割り当てられている 10、 Pl、 P4、 B5、 B6、 P7、 P10、 Bl l、 B12- · ·を、復号器 103bで逐次復号していく。 [0081] Based on the assignment, the image decoding unit # 2 (103B) is assigned with 10, 10, Pl, P4, B5 from the encoded stream input from the storage unit 101 via the input stream bus. , B6, P7, P10, Bl1, B12,... Are sequentially decoded by the decoder 103b.
画像復号部 # 1 (103A)〜 # 2 (103B)それぞれが割り当てられたピクチャの復号 が完了すると、復号した動画像が画像切り替え部 204によって交互に切り替わって表 示部 205に送出され、表示部 205には一つの動画像として表示される。  When decoding of the picture assigned to each of the image decoding units # 1 (103A) to # 2 (103B) is completed, the decoded moving images are alternately switched by the image switching unit 204 and sent to the display unit 205 to be displayed on the display unit. In 205, it is displayed as one moving image.
[0082] 以上のように、画像復号部# 1 (103八)〜# 2 (103 )カ それぞれ異なる Bピクチ ャと、 Bピクチャの復号に必要となる全ての Iピクチャ及び Pピクチャを復号することで、 Iピクチャ、 Pピクチャ、及び Bピクチャの相互依存関係を維持したまま分散処理によつ て復号することができる。 [0082] As described above, the image decoding units # 1 (103 8) to # 2 (103) each decode different B pictures and all I pictures and P pictures necessary for decoding the B pictures. Thus, decoding can be performed by distributed processing while maintaining the interdependence of I picture, P picture, and B picture.
これによつて、符号化ストリームを高速に復号して出力することができる。  As a result, the encoded stream can be decoded and output at high speed.
[0083] 実施形態 4の例では、図 11に示すように、画像復号部が 1つしかないと仮定した場 合 4ピクチャ分 (B2、 B3、 P4、 B5)復号できる期間(図中矢印で示す期間)で、画像 復号部 # 1 (103A)〜 # 2 (103B)が分担することにより 6ピクチャ分 (B2、 B3、 P4、 B5、 B6、 P7)復号することができる。 In the example of the fourth embodiment, as shown in FIG. 11, assuming that there is only one image decoding unit, four pictures (B2, B3, P4, B5) can be decoded (indicated by arrows in the figure). In the period shown, the image decoding units # 1 (103A) to # 2 (103B) can share 6 pictures (B2, B3, P4, B5, B6, P7).
<実施形態 5 >  <Embodiment 5>
次に、実施形態 5について、図 12〜14を参照しながら説明する。  Next, Embodiment 5 will be described with reference to FIGS.
[0084] (1.概要) [0084] (1. Overview)
実施形態 5は、実施形態 1〜4で示した構成を、符号ィ匕装置に応用したものである。 すなわち、実施形態 5は、分散処理により動画像の符号ィ匕を行う符号ィ匕装置である 点で異なる。  In the fifth embodiment, the configuration shown in the first to fourth embodiments is applied to a coding apparatus. That is, the fifth embodiment is different in that it is a coding device that performs coding of moving images by distributed processing.
以下、実施形態 1〜4と異なる点に着目して説明する。  Hereinafter, description will be made focusing on differences from the first to fourth embodiments.
(2.構成)  (2. Configuration)
実施形態 5に係る符号ィ匕装置 300の構成について、図 12を参照しながら説明する  A configuration of the sign key device 300 according to the fifth embodiment will be described with reference to FIG.
[0085] 図 12を参照すると、符号ィ匕装置 300は、記憶部 301、ストリーム部 302、画像符号 化部 # 1 (303A)、画像符号化部 # 2 (303B)、及びカメラ撮像部 304を備えて ヽる 記憶部 301は、実施形態 1で示した記憶部 101と同様の構成であり、画像符号ィ匕 部 303で符号ィ匕した符号化ストリームを記憶するものである。 Referring to FIG. 12, the encoding device 300 includes a storage unit 301, a stream unit 302, an image encoding unit # 1 (303A), an image encoding unit # 2 (303B), and a camera imaging unit 304. Prepare for The storage unit 301 has the same configuration as that of the storage unit 101 shown in the first embodiment, and stores the encoded stream encoded by the image encoding unit 303.
[0086] ストリーム部 302は、内部にストリーム結合部 302a及び制御部 302bを備える。 [0086] The stream unit 302 includes a stream combining unit 302a and a control unit 302b.
ストリーム結合部 202aは、画像符号化部 # 1 (303A)〜 # 2 (303B)がそれぞれ符 号ィ匕した符号化ストリーム片を結合して 1つの符号化ストリームを生成する機能を有 する。  The stream combining unit 202a has a function of generating one encoded stream by combining the encoded stream pieces encoded by the image encoding units # 1 (303A) to # 2 (303B).
[0087] 制御部 302bは、 MPEG2規格のピクチャ構造 (Iピクチャ、 Pピクチャ、 Bピクチャ)に 基づ ヽて、カメラ撮像部 304で撮像して得た動画像信号を符号ィ匕する際の各 Bピク チヤを画像符号化部 # 1 (303A)〜 # 2 (303B)に割り当てる機能を有する。具体的 には、同一の Iピクチャと Pピクチャとを参照する複数の Bピクチャをひとまとめにして、 このひとまとめにした Bピクチャ群と、これら Bピクチャ群の符号ィ匕に際して参照しなけ ればならない全ての Iピクチャと Pピクチャとを各画像符号ィ匕部 303に割り当てる。  [0087] The control unit 302b encodes each moving image signal obtained by the camera imaging unit 304 based on the MPEG2 standard picture structure (I picture, P picture, B picture). It has a function of assigning the B picture to the image encoding units # 1 (303A) to # 2 (303B). Specifically, a plurality of B pictures that refer to the same I picture and P picture are grouped together, and the group of B pictures grouped together with all of the B picture group codes that must be referred to. The I picture and P picture are assigned to each image code key section 303.
[0088] 画像符号ィ匕部# 1 (103八)〜# 2 (103 )は、制御部 302の割り当てに基づき、力 メラ撮像部 304から入力した動画像を MPEG2規格に従って符号ィ匕し、入力バスを 介してストリーム結合部 302aに送出する機能を有する。  [0088] Based on the assignment of the control unit 302, the image encoding unit # 1 (103 8) to # 2 (103) encodes the moving image input from the power imaging unit 304 in accordance with the MPEG2 standard and inputs it. It has a function of sending to the stream coupling unit 302a via the bus.
カメラ撮像部 304は、例えば CCD (Charge Coupled Device)素子力も成る撮像部を 有するカメラである。  The camera imaging unit 304 is a camera having an imaging unit that also has a CCD (Charge Coupled Device) element force, for example.
[0089] 詳細な構成を、図 13を参照しながら説明する。  A detailed configuration will be described with reference to FIG.
図 13を参照すると、画像符号ィ匕部# 1 (303八)〜# 2 (303 )のそれぞれは、入力 画像バッファ 303a、符号器 303b、フレームメモリ 303c、出力ストリームノ ッファ 303d 、及びコントローラ 303eを備える。  Referring to FIG. 13, each of the image code sections # 1 (303 8) to # 2 (303) includes an input image buffer 303a, an encoder 303b, a frame memory 303c, an output stream buffer 303d, and a controller 303e. Prepare.
入力画像バッファ 303a、入力画像バスを介してカメラ撮像部 304から入力した動画 像信号をバッファリングする機能を有する。  The input image buffer 303a has a function of buffering a moving image signal input from the camera imaging unit 304 via the input image bus.
[0090] 符号器 303bは、入力画像バッファ 303aにバッファリングされた動画像を読み出し て MPEG2規格に従って符号ィ匕し、符号ィ匕した符号化ストリームをフレームメモリ 303 cに書き込む機能を有する。  [0090] The encoder 303b has a function of reading out the moving image buffered in the input image buffer 303a, encoding it according to the MPEG2 standard, and writing the encoded stream into the frame memory 303c.
出力ストリームバッファ 303dは、フレームメモリ 303cに書き込まれた符号化ストリー ムを読み取り、記憶部 301に送出する機能を有する。 The output stream buffer 303d is a coded stream written in the frame memory 303c. A function of reading a program and sending it to the storage unit 301.
[0091] コントローラ 303fは、入力画像バッファ 303a、符号器 303b、フレームメモリ 303c、 及び出力ストリームバッファ 303dを制御して、動画像信号と符号化ストリームの入出 力を管理する機能を有する。 The controller 303f has a function of managing input / output of moving image signals and encoded streams by controlling the input image buffer 303a, the encoder 303b, the frame memory 303c, and the output stream buffer 303d.
(3.動作)  (3. Operation)
続いて、符号ィ匕装置 300の符号ィ匕処理の動作について、図 14を参照しながら説明 する。  Next, the operation of the sign key processing of the sign key device 300 will be described with reference to FIG.
[0092] 図 14を参照すると、制御部 302bは、同一 Iピクチャと Pピクチャとを参照する複数の Bピクチャをひとまとめにして、それぞれ画像符号化部 # 1 (303A)〜 # 2 (303B)に 割り当てる。  Referring to FIG. 14, control section 302b collects a plurality of B pictures that refer to the same I picture and P picture, and sends them to image coding sections # 1 (303A) to # 2 (303B), respectively. assign.
ここでは、 B2及び B3をひとまとめにして、参照しなければならない 10と P1とともに画 像符号化部 # 1 (303A)に割り当てる。  Here, B2 and B3 are grouped together and assigned to image coding unit # 1 (303A) together with 10 and P1 that must be referenced.
[0093] また、 B5及び B6をひとまとめにして、参照しなければならない P1と P4と、さらに P1 が参照する 10とともに画像符号ィ匕部 # 2 (303B)に割り当てる。 [0093] Further, B5 and B6 are collectively assigned to P1 and P4 which must be referred to, and further to 10 referred to by P1, and assigned to image code key # 2 (303B).
さらに、 B6以降は再び画像符号ィ匕部 # 1 (303A)に戻り、 B8及び B9をひとまとめ にして、参照しなければならない P4と P7とともに画像符号ィ匕部 # 1 (303A)に割り当 てる。  After B6, it returns to image code part # 1 (303A), and B8 and B9 are collectively assigned to image code part # 1 (303A) together with P4 and P7 that must be referenced. .
[0094] また、 B11及び B12をひとまとめにして、参照しなければならない P7と P10とともに 画像符号化部 # 2 (303B)に割り当てる。  [0094] Also, B11 and B12 are collectively assigned to the image encoding unit # 2 (303B) together with P7 and P10 that must be referred to.
この結果、画像符号化部 # 1 (303A)は割り当てに基づき、入力ストリームバスを介 して記憶部 101から入力した符号化ストリームの中から、自部に割り当てられている I As a result, based on the allocation, the image encoding unit # 1 (303A) is assigned with the I allocated to the own unit from the encoded streams input from the storage unit 101 via the input stream bus.
0、 Pl、 B2、 B3、 P4、 P7、 B8、 Β9 · · ·を、符号器 303bで逐次符号ィ匕していく。 0, Pl, B2, B3, P4, P7, B8, Β9... Are sequentially encoded by the encoder 303b.
[0095] 画像符号化部 # 2 (303B)は割り当てに基づき、入力画像バスを介して記憶部 10[0095] The image encoding unit # 2 (303B), based on the assignment, stores the storage unit 10 via the input image bus.
1力も入力した符号化ストリームの中から、自部に割り当てられている 10、 Pl、 P4、 BOut of the encoded stream that is input as much as possible, 10, Pl, P4, B assigned to its own part
5、 B6、 P7、 P10、 Bl l、 B12- · ·を、符号器 303bで逐次符号ィ匕していく。 5, B6, P7, P10, Bl1, B12,... Are sequentially encoded by the encoder 303b.
画像符号化部 # 1 (303A)〜 # 2 (303B)それぞれが割り当てられたピクチャの符 号化が完了すると、符号ィ匕した符号化ストリーム力 Sストリーム結合部 302aで結合され When the encoding of the picture to which each of the image encoding units # 1 (303A) to # 2 (303B) has been assigned is completed, the encoded encoded stream force S is combined by the S stream combining unit 302a.
、記憶部 301に記憶される。 [0096] 以上のように、画像符号ィ匕部# 1 (303八)〜# 2 (303 )カ それぞれ異なる Bピク チヤと、 Bピクチャの符号ィ匕に必要となる全ての Iピクチャ及び Pピクチャを符号ィ匕する ことで、 Iピクチャ、 Pピクチャ、及び Bピクチャの相互依存関係を維持したまま分散処 理によって符号ィ匕することができる。 And stored in the storage unit 301. [0096] As described above, image code key sections # 1 (303 8) to # 2 (303) are different B pictures, and all I pictures and P pictures necessary for the B picture code key. By encoding, it is possible to perform encoding by distributed processing while maintaining the interdependence of I picture, P picture, and B picture.
これによつて、動画像を高速に MPEG符号ィ匕することができる。  As a result, the moving picture can be MPEG-coded at high speed.
[0097] 実施形態 5の例では、図 14に示すように、画像符号ィ匕部が 1つしかないと仮定した 場合 4ピクチャ分 (B2、 B3、 P4、 B5)符号化できる期間(図中矢印で示す期間)で、 画像符号化部 # 1 (303A)〜 # 2 (303B)が分担することにより 6ピクチャ分 (B2、 B3 、 P4、 B5、 B6、 P7)符号ィ匕すること力 Sできる。  In the example of the fifth embodiment, as shown in FIG. 14, when it is assumed that there is only one image code key part, four pictures (B2, B3, P4, B5) can be encoded (in the figure). Image encoding units # 1 (303A) to # 2 (303B) share 6 pictures (B2, B3, P4, B5, B6, P7) during the period indicated by the arrow). it can.
<変形例>  <Modification>
以上、実施形態 1〜3に基きトランスコーディングを行う復号装置について説明し、 実施形態 4に基づき復号を行う復号装置について説明し、実施形態 5に基づき符号 化を行う符号ィ匕装置について説明したが、本発明は上記実施形態で示した構成に 限定されるものではなぐ以下のように変形することも可能である。  The decoding device that performs transcoding based on Embodiments 1 to 3 has been described above, the decoding device that performs decoding based on Embodiment 4, and the encoding device that performs encoding based on Embodiment 5 has been described. The present invention is not limited to the configuration shown in the above embodiment, and can be modified as follows.
(1)実施形態 1〜3では、ストリーム解析部 102bは、全ピクチャに対してピクチャ種別 の判別を行う例を挙げて説明したが、これに限定されるものではなぐ割り当ての判 断に必要な枚数のピクチャ種別を判別するようにしてもょ 、。  (1) In Embodiments 1 to 3, the stream analysis unit 102b has been described by taking an example in which the picture type is determined for all pictures. However, the present invention is not limited to this, and is necessary for determining the allocation. Try to determine the number of picture types.
(2)実施形態 4では、ストリーム解析部 102bは、各画像復号部 # 1 (203A)〜 # 3 (2 03C)へのピクチヤの割り当てのみを指定し、各画像復号部 # 1 (203A)〜 # 3 (203 C)がストリーム力 指定されたピクチャを選択的に復号する例を挙げて説明したが、 これに限定されるものではなぐストリーム解析部 102bが、ピクチャの割り当てに基づ V、てストリームを分割して各画像復号部 # 1 (203A)〜 # 3 (203C)に送出し、各画 像復号部 # 1 (203A)〜 # 3 (203C)は分割されたストリーム片を復号するようにして ちょい。  (2) In the fourth embodiment, the stream analysis unit 102b designates only the picture assignment to each image decoding unit # 1 (203A) to # 3 (2 03C), and each image decoding unit # 1 (203A) to # 3 (203 C) has been described with an example of selectively decoding a specified picture, but the stream analysis unit 102b is not limited to this. The stream is divided and sent to each image decoding unit # 1 (203A) to # 3 (203C), and each image decoding unit # 1 (203A) to # 3 (203C) decodes the divided stream pieces. Please do it.
(3)実施形態 1において、トランスコーディング装置 100が画像変換部 103を 3っ備 える例を挙げたが、これに限定されるものではなぐ画像変換部 103の数は任意に決 めればよい。  (3) In the first embodiment, the transcoding apparatus 100 includes the three image conversion units 103. However, the number of the image conversion units 103 is not limited to this and may be arbitrarily determined. .
[0098] 例えば、図 15は、画像変換部103を2っ(画像変換部部# 1 (103八)〜# 2 (103 )に減らした場合の処理を示している。 For example, FIG. 15 shows two image conversion units 103 (image conversion units # 1 (103 8) to # 2 (103 ) Shows the processing when it is reduced.
すると、画像復号部が 1つしかないと仮定した場合 4ピクチャ分 (B2、 B3、 P4、 B5) 復号できる期間(図中矢印で示す期間)で、画像変換部部 # 1 (103A)〜 # 2 (103 B)が分担することにより 6ピクチャ分 (B2、 B3、 P4、 B5、 B6、 P7)復号することができ る。  Then, assuming that there is only one image decoding unit, 4 picture (B2, B3, P4, B5) image conversion unit # 1 (103A) ~ # in the period that can be decoded (period shown by the arrow in the figure) 2 (103 B) can share 6 pictures (B2, B3, P4, B5, B6, P7).
同様に、実施形態 2及び 3におけるトランスコーディング装置 100が備える画像変換 部 103の数、実施形態 4における復号装置 200が備える画像復号部 203の数、及び 実施形態 5における符号化装置 300が備える画像符号化部 303η数は、それぞれ任 意に決めればよい。  Similarly, the number of image conversion units 103 included in the transcoding device 100 according to Embodiments 2 and 3, the number of image decoding units 203 included in the decoding device 200 according to Embodiment 4, and the images included in the encoding device 300 according to Embodiment 5. The number of encoding units 303η may be determined arbitrarily.
(4)実施形態 1〜5において、 MPEG2規格に準拠した符号化ストリームを例に挙げ て説明したが、これに限定されるものではない。すなわち、フレーム内符号ィ匕されるピ クチャと、他のフレームを参照して符号ィ匕され自身も参照されるピクチャと、他のフレ ームを参照して符号化され自身が参照されな 、ピクチャと 、う相互依存関係のあるピ クチャを扱う規格であれば本発明は適用可能である。  (4) Embodiments 1 to 5 have been described by taking the encoded stream conforming to the MPEG2 standard as an example, but the present invention is not limited to this. That is, a picture that is coded within an frame, a picture that is coded with reference to another frame and that is also referred to itself, and that is coded with reference to another frame and is not referred to itself. The present invention is applicable to any standard that handles pictures that have a mutually dependent relationship with pictures.
(5)実施形態 1〜5において、記憶部 101、 201、 301の構成を HDDである例につ いて説明したが、これに限定されるものではなぐ RAM (Random Access Memory)等 の読み出し Z書き込みが行える記憶装置であればよい。  (5) In Embodiments 1 to 5, the configuration of the storage units 101, 201, and 301 is described as an example of an HDD. However, the present invention is not limited to this. Reading from RAM (Random Access Memory) or the like Z writing Any storage device can be used.
(6)実施形態 1〜3にお 、て、 MPEG2規格に従 ヽ 8Mbpsで符号化されて ヽる符号 ィ匕ストリームを同規格に従って 4Mbpsでトランスコーディングする例について説明し た力 これらの値は単なる例示に過ぎず、これに限定されるものではない。  (6) In Embodiments 1 to 3, the power described in the example of transcoding a 4 bit stream encoded in accordance with the MPEG2 standard at 4 Mbps according to the same standard. It is only an illustration and is not limited to this.
(7)実施形態 1〜3にお 、て、 MPEG2規格に従 ヽ 8Mbpsで符号化されて ヽる符号 ィ匕ストリームを同規格に従って 4Mbpsでトランスコーディングする例について説明し たが、このように同規格間でビットレートを変えて再符号ィ匕する例に限定されるもので はない。すなわち、一の規格に従って符号化された符号化ストリームを別の規格に従 つてトランスコーディングするようにしてもよぐ例えば、 MPEG2規格に従って符号化 された符号化ストリームを H. 264/AVC (ITU-T H. 264/MPEG4 Part 10 Advanced Video Coding)規格や WMV (Windows (登録商標) Media Video)規 格に従ってトランスコーディングするようにしてもょ 、。 (8)実施形態 3において、ストリーム解析部 202aは、 GOPレイヤに含まれる GOPへ ッダを参照して GOPの区切りを解析するようになっている力 入力した符号化ストリー ムに対して各ピクチャのピクチャヘッダを参照して GOPの区切りとを解析するようにし てもよい。 (7) In the first to third embodiments, an example in which a code stream that is encoded at 8 Mbps according to the MPEG2 standard is transcoded at 4 Mbps according to the standard has been described. The present invention is not limited to an example in which re-encoding is performed by changing the bit rate between standards. That is, an encoded stream encoded in accordance with one standard may be transcoded in accordance with another standard. For example, an encoded stream encoded in accordance with the MPEG2 standard may be converted to H.264 / AVC (ITU- You may transcode according to the T H.264 / MPEG4 Part 10 Advanced Video Coding) standard or the WMV (Windows (registered trademark) Media Video) standard. (8) In the third embodiment, the stream analysis unit 202a refers to the GOP header included in the GOP layer and analyzes the GOP delimiter for each picture for the input encoded stream. The GOP delimiter may be analyzed by referring to the picture header.
(9)実施形態 4において、復号装置 200の構成に表示部 205を含んでいる力 これ に限定されるものではない。すなわち、画像復号部# 1 (203八)〜# 2 (203 )が復 号した動画像を出力できれば 、 、ため、表示部 205の代わりにインターフェースを設 け、このインターフェースを介して外部にある任意のディスプレイ装置等の出力装置 と接続するようにしてもよい。  (9) In Embodiment 4, the force of including the display unit 205 in the configuration of the decoding device 200 is not limited to this. In other words, if the video decoded by the image decoding units # 1 (203 8) to # 2 (203) can be output, an interface is provided in place of the display unit 205, and an arbitrary external unit is provided via this interface. It may be connected to an output device such as a display device.
(10)実施形態 5において、符号ィ匕装置 300の構成にカメラ撮像部 304を含んでいる 力 これに限定されるものではない。すなわち、画像符号ィ匕部# 1 (303八)〜# 2 (3 03B)が符号ィ匕する対象となる動画像を入力できればいいため、カメラ撮像部 304の 代わりにインターフェースを設け、このインターフェースを介して外部にある任意のデ ジタルカメラ等の動画像取得装置と接続するようにしてもょ ヽ。  (10) In Embodiment 5, the force of including the camera imaging unit 304 in the configuration of the encoding device 300 is not limited to this. In other words, since it is only necessary to input the moving image to be encoded by the image encoding unit # 1 (303 8) to # 2 (3 03B), an interface is provided instead of the camera imaging unit 304, and this interface is used. It may be connected to a moving image acquisition device such as an optional digital camera via the outside.
産業上の利用可能性 Industrial applicability
本発明に係る復号装置は、 MPEG符号化された符号化動画像を高速に復号する ことができる点で有用な技術である。また、本発明に係る符号ィ匕装置は、動画像を高 速に MPEG符号ィ匕することができる点で有用な技術である。  The decoding device according to the present invention is a useful technique in that it can decode an MPEG-encoded moving image at high speed. The encoding device according to the present invention is a useful technique in that a moving image can be MPEG encoded at high speed.

Claims

請求の範囲 The scope of the claims
[1] 複数のピクチャ力 成るピクチャグループを複数含む符号ィ匕動画像であり、各ピク チヤグループにおいて、フレーム内符号ィ匕される第 1種ピクチャと、自ピクチャグルー プ内又は他ピクチャグループ内の他のフレームを参照して符号ィ匕され自身も参照さ れる第 2種ピクチャと、自ピクチャグループ内又は他ピクチャグループ内の他のフレー ムを参照して符号化され自身が参照されない 1以上の第 3種ピクチャとを含んで成る 、第 1符号化形式で符号化された符号化動画像を、異なる第 2符号化形式で符号ィ匕 するトランスコーディング装置であって、  [1] A coded video including a plurality of picture groups each having a plurality of picture powers. In each picture group, the first type picture that is coded in the frame and within the own picture group or another picture group. Second type picture that is coded with reference to other frames and is also referred to itself, and is coded with reference to other frames in the own picture group or other picture group, and is not referred to itself 1 or more A transcoding device that encodes an encoded moving image encoded in the first encoding format, in a different second encoding format, comprising:
前記符号化動画像を分担して復号する複数の復号手段と、  A plurality of decoding means for sharing and decoding the encoded moving image;
前記複数の復号手段で復号した結果である動画像を分担して第 2符号化形式で符 号化する複数の符号化手段と、  A plurality of encoding means for sharing a moving image obtained as a result of decoding by the plurality of decoding means and encoding in a second encoding format;
前記各符号化手段が符号化した結果である符号化動画像を結合する結合手段と を備え、  Combining means for combining the encoded moving images that are the results of encoding by each of the encoding means,
前記複数の復号手段の夫々は、前記符号化動画像のうち、互いに異なる第 3種ピ クチャと、当該第 3種ピクチャの復号にその復号結果が必要な全ての第 1種ピクチャ と第 2種ピクチャと、を復号する  Each of the plurality of decoding means includes a third type picture different from the encoded moving image, and all first type pictures and second type that require decoding results for decoding the third type picture. Decode picture and
ことを特徴とするトランスコーディング装置。  A transcoding device characterized by the above.
[2] 前記複数の復号手段の夫々に前記符号化動画像を分配して供給する分配手段を 備え、 [2] Distributing means for distributing and supplying the encoded moving image to each of the plurality of decoding means,
前記複数の復号手段の夫々は、供給された符号化動画像のうち、同一の第 1種ピ クチャと第 2種ピクチャとの復号結果が必要な第 3種ピクチャをひとまとめにし、当該 ひとまとめにした第 3種ピクチャと、当該第 3種ピクチャの復号にその復号結果が必要 な全ての第 1種ピクチャと第 2種ピクチャと、を復号する  Each of the plurality of decoding means collects the third type pictures that require decoding results of the same first type picture and the second type picture from the supplied encoded moving images, and collects them together. Decode the type 3 picture and all the type 1 and type 2 pictures that require decoding results for decoding the type 3 picture.
ことを特徴とする請求項 1記載のトランスコーディング装置。  The transcoding device according to claim 1, wherein:
[3] 前記符号化動画像を、同一の第 1種ピクチャと第 2種ピクチャとの復号結果が必要 な第 3種ピクチャをひとまとめにし分割し、当該ひとまとめにした第 3種ピクチャと、当 該第 3種ピクチャの復号にその復号結果が必要な全ての第 1種ピクチャと第 2種ピク チヤと、を前記復号手段の夫々に供給する分割手段を備え、 前記複数の復号手段の夫々は、供給された第 3ピクチャ、第 1ピクチャ、及び第 2ピ クチャとを復号する [3] The encoded moving picture is divided into a group of third type pictures that require decoding results of the same first type picture and second type picture, and the grouped third type picture Dividing means for supplying all the first type pictures and second type pictures that require decoding results for decoding the third type pictures to each of the decoding means; Each of the plurality of decoding means decodes the supplied third picture, first picture, and second picture.
ことを特徴とする請求項 1記載のトランスコーディング装置。  The transcoding device according to claim 1, wherein:
[4] フレーム内符号化される第 1種ピクチャと、他のフレームを参照して符号化され自身 も参照される第 2種ピクチャと、他のフレームを参照して符号化され自身が参照され ない第 3種ピクチャとを含んで成る複数の GOPから構成される、第 1符号ィ匕形式で符 号化された符号化動画像を異なる第 2符号化形式で符号化するトランスコーディング 装置であって、 [4] The first type picture that is intra-frame encoded, the second type picture that is encoded with reference to other frames and is also referred to, and is encoded with reference to other frames and is referred to itself A transcoding device that encodes an encoded moving image encoded in the first code format, which is composed of a plurality of GOPs including a third type picture that is not included, in a different second encoding format. And
前記符号化動画像を分担して復号する複数の復号手段と、  A plurality of decoding means for sharing and decoding the encoded moving image;
前記複数の復号手段で復号した結果である動画像を分担して第 2符号化形式で符 号化する複数の符号化手段と、  A plurality of encoding means for sharing a moving image obtained as a result of decoding by the plurality of decoding means and encoding in a second encoding format;
前記各符号化手段が符号化した結果である符号化動画像を結合する結合手段と を備え、  Combining means for combining the encoded moving images that are the results of encoding by each of the encoding means,
前記復号手段の夫々は、前記複数の GOPのうち、互いに異なる一の GOP内の第 1種ピクチャと第 2種ピクチャと第 3種ピクチャとともに、当該第 1種ピクチャと第 2種ピク チヤと第 3種ピクチャの復号にその復号結果が必要な、当該一の GOPと隣接する G OP内の第 1種ピクチャと第 2種ピクチャとを復号する  Each of the decoding means includes the first type picture, the second type picture, the third type picture, the first type picture, the second type picture, and the first type picture in one different GOP among the plurality of GOPs. Decode the first and second type pictures in the GOP that is adjacent to the one GOP that requires the decoding result to decode the three types of picture.
ことを特徴とするトランスコーディング装置。  A transcoding device characterized by the above.
[5] MPEG2規格に準拠し、 [5] Conforms to MPEG2 standard,
前記第 1種ピクチャは、 MPEG2規格で定められている Iピクチャであり、第 2種ピク チヤは、 MPEG2規格で定められている Pピクチャであり、第 3種ピクチャは、 MPEG 2規格で定められて 、る Bピクチャである  The first type picture is an I picture defined by the MPEG2 standard, the second type picture is a P picture defined by the MPEG2 standard, and the third type picture is defined by the MPEG 2 standard. It is a B picture
ことを特徴とする請求項 1又は 4記載のトランスコーディング装置。  The transcoding device according to claim 1 or 4, wherein
[6] 複数のピクチャ力 成るピクチャグループを複数含む符号ィ匕動画像であり、各ピク チヤグループにおいて、フレーム内符号ィ匕される第 1種ピクチャと、自ピクチャグルー プ内又は他ピクチャグループ内の他のフレームを参照して符号ィ匕され自身も参照さ れる第 2種ピクチャと、自ピクチャグループ内又は他ピクチャグループ内の他のフレー ムを参照して符号化され自身が参照されない 1以上の第 3種ピクチャとを含んで成る MPEG符号ィヒされた符号ィヒ動画像を復号する復号装置であって、 [6] Coded video including multiple picture groups consisting of multiple picture powers. In each picture group, the first type picture that is coded within the frame and within the own picture group or other picture group Second type picture that is coded with reference to other frames and is also referred to itself, and is coded with reference to other frames in the own picture group or other picture group, and is not referred to itself 1 or more And comprising the third kind of picture A decoding device for decoding an MPEG encoded video image, comprising:
前記符号化動画像を分担して復号する複数の復号手段と、  A plurality of decoding means for sharing and decoding the encoded moving image;
前記各復号手段が復号した結果である動画像を結合する結合手段とを備え、 前記復号手段の夫々は、前記符号化動画像のうち、互いに異なる第 3種ピクチャの 一部と、当該第 3種ピクチャの復号にその復号結果が必要な全ての第 1種ピクチャと 第 2種ピクチャと、を復号する  Combining means for combining moving images obtained as a result of decoding by each of the decoding means, wherein each of the decoding means includes a part of a third type picture different from the encoded moving image, and the third picture. Decodes all first-type and second-type pictures that require decoding results to decode them
ことを特徴とする復号装置。  A decoding device characterized by the above.
[7] 動画像を、複数のピクチャカゝら成るピクチャグループを複数含む符号ィ匕動画像であ つて、各ピクチャグループにおいて、フレーム内符号ィ匕される第 1種ピクチャと、自ピ クチャグループ内又は他グループピクチャ内の他のフレームを参照して符号化され 自身も参照される第 2種ピクチャと、自ピクチャグループ内又は他ピクチャグループ内 の他のフレームを参照して符号ィ匕され自身が参照されない 1以上の第 3種ピクチャと を含んで成る MPEG符号化された符号ィ匕動画像に符号ィ匕する符号ィ匕装置であって 前記動画像を分担して符号化する複数の符号化手段と、 [7] A moving image is a coded moving image including a plurality of picture groups consisting of a plurality of picture cameras, and in each picture group, the first type picture that is coded in the frame and the own picture group Or a second type picture that is encoded with reference to another frame in another group picture and is also referred to itself, and a second picture that is encoded with reference to another frame in the own picture group or in another picture group. An encoding apparatus that encodes an MPEG-encoded code video including at least one third type picture that is not referenced, and a plurality of encodings that share and encode the video Means,
前記各符号化手段が符号化した結果である符号化動画像を結合する結合手段と を備え、  Combining means for combining the encoded moving images that are the results of encoding by each of the encoding means,
前記復号手段の夫々は、前記動画像のうち、互いに異なる第 3種ピクチャと、当該 第 3種ピクチャの符号ィ匕にその符号ィ匕結果が必要な全ての第 1種ピクチャと第 2種ピ クチャと、を符号化する  Each of the decoding means includes a third-type picture different from the moving picture, and all first-type pictures and second-type pictures that require a code result of the third-type picture. Encode
ことを特徴とする符号化装置。  An encoding apparatus characterized by that.
[8] 複数のピクチャ力 成るピクチャグループを複数含む符号ィ匕動画像であり、各ピク チヤグループにおいて、フレーム内符号ィ匕される第 1種ピクチャと、自ピクチャグルー プ内又は他ピクチャグループ内の他のフレームを参照して符号ィ匕され自身も参照さ れる第 2種ピクチャと、自ピクチャグループ内又は他ピクチャグループ内の他のフレー ムを参照して符号化され自身が参照されない 1以上の第 3種ピクチャとを含んで成る 、第 1符号化形式で符号化された符号化動画像を、異なる第 2符号化形式で符号ィ匕 するトランスコーデイング装置に用いられる集積回路であって、 前記符号化動画像を分担して復号する複数の復号手段と、 前記複数の復号手段で復号した結果である動画像を分担して第 2符号化形式で符 号化する複数の符号化手段と、 [8] This is a coded video that includes multiple picture groups with multiple picture powers. In each picture group, the first type picture that is coded within the frame and within the own picture group or other picture group Second type picture that is coded with reference to other frames and is also referred to itself, and is coded with reference to other frames in the own picture group or other picture group, and is not referred to itself 1 or more An integrated circuit for use in a transcoding device that encodes an encoded moving image encoded in a first encoding format in a different second encoding format. , A plurality of decoding means for sharing and decoding the encoded moving picture; and a plurality of encoding means for sharing a moving picture obtained as a result of decoding by the plurality of decoding means and encoding in a second encoding format; ,
前記各符号化手段が符号化した結果である符号化動画像を結合する結合手段と を備え、  Combining means for combining the encoded moving images that are the results of encoding by each of the encoding means,
前記復号手段の夫々は、前記符号化動画像のうち、互いに異なる第 3種ピクチャと 、当該第 3種ピクチャの復号にその復号結果が必要な全ての第 1種ピクチャと第 2種 ピクチャと、を復号する  Each of the decoding means includes, among the encoded moving images, different third type pictures, all first type pictures and second type pictures that require decoding results for decoding the third type pictures, Decrypt
ことを特徴とする集積回路。  An integrated circuit characterized by that.
複数のピクチャ力も成るピクチャグループを複数含む符号ィ匕動画像であり、各ピク チヤグループにおいて、フレーム内符号ィ匕される第 1種ピクチャと、自ピクチャグルー プ内又は他ピクチャグループ内の他のフレームを参照して符号ィ匕され自身も参照さ れる第 2種ピクチャと、自ピクチャグループ内又は他ピクチャグループ内の他のフレー ムを参照して符号化され自身が参照されない 1以上の第 3種ピクチャとを含んで成る 、第 1符号化形式で符号化された符号化動画像を、異なる第 2符号化形式で符号化 するためのトランスコーデイング手段を複数有するトランスコーデイング装置における トランスコーディング方法であって、  It is a coded video that includes multiple picture groups that also have multiple picture powers. In each picture group, the first type picture that is coded within the frame and other pictures in the own picture group or other picture groups. A second type picture that is coded with reference to a frame and is also referred to itself, and one or more third pictures that are coded with reference to other frames in the own picture group or other picture group and are not referred to themselves. Transcoding in a transcoding device having a plurality of transcoding means for encoding a coded moving picture encoded in a first encoding format, including a seed picture, in a different second encoding format A method,
前記複数のトランスコーディング手段の夫々に、前記符号化動画像のうち、互いに 異なる第 3種ピクチャと、当該第 3種ピクチャの復号にその復号結果が必要な全ての 第 1種ピクチャと第 2種ピクチャと、を復号させる復号ステップと、  In each of the plurality of transcoding means, among the encoded moving images, different third type pictures and all first type pictures and second types that require decoding results for decoding the third type pictures. A decoding step for decoding a picture;
前記複数のトランスコーディング手段の夫々に、前記復号ステップでの復号の結果 である動画像を第 2符号化形式で符号化させる符号化ステップと、  An encoding step in which each of the plurality of transcoding means encodes a moving image, which is a result of decoding in the decoding step, in a second encoding format;
前記符号化ステップでの符号ィ匕の結果である符号ィ匕動画像を結合する結合ステツ プとを含む  A combining step for combining the encoded video images that are the result of the encoded key in the encoding step.
ことを特徴とするトランスコーデイング方法。  A transcoding method characterized by the above.
PCT/JP2007/054830 2006-04-21 2007-03-12 Transcoding apparatus, decoding apparatus and encoding apparatus WO2007122898A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006-118268 2006-04-21
JP2006118268 2006-04-21

Publications (1)

Publication Number Publication Date
WO2007122898A1 true WO2007122898A1 (en) 2007-11-01

Family

ID=38624810

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2007/054830 WO2007122898A1 (en) 2006-04-21 2007-03-12 Transcoding apparatus, decoding apparatus and encoding apparatus

Country Status (1)

Country Link
WO (1) WO2007122898A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004159079A (en) * 2002-11-06 2004-06-03 Ntt Data Corp Video data processor, system, and computer program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004159079A (en) * 2002-11-06 2004-06-03 Ntt Data Corp Video data processor, system, and computer program

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
AZUMA T. ET AL.: "Bunsan Shori o Mochiita Video no Transcoding System no Kento", PICTURE CODING SYMPOSIUM OF JAPAN DAI 17 KAI SYMPOSIUM SHIRYO, 11 November 2002 (2002-11-11), pages 3 - 4, XP003018600 *
KE SHEN ET AL.: "A Parallel Implementation of an MPEG1 Encoder: Faster Than Real-Time!", PROCEEDINGS OF THE SPIE CONFERENCE ON DIGITAL VIDEO COMPRESSION: ALGORITHMS AND TECHNOLOGIES 1995, vol. 2419, 7 February 1995 (1995-02-07), pages 407 - 418, XP002452303 *
SAMBE Y. ET AL.: "Bunsan Shori ni yoru Kosoku Video Transcoding no Kento", IEICE TECHNICAL REPORT, vol. 102, no. 468, 14 November 2002 (2002-11-14), pages 13 - 18, XP003018598 *
SAMBE Y. ET AL.: "Bunsan Shori ni yoru Kosoku Video Transcoding no Kento", ITE TECHNICAL REPORT, vol. 26, no. 76, 21 November 2002 (2002-11-21), pages 13 - 18, XP003018599 *
SAMBE Y. ET AL.: "Scene Tekio na Kosoku Dogazo Bunsan Transcoding", TRANSACTIONS OF INFORMATION PROCESSING SOCIETY OF JAPAN, vol. 45, no. 12, 15 December 2004 (2004-12-15), pages 2760 - 2772, XP003012933 *
TIWARI P. ET AL.: "A Parallel MPEG-2 Video Encoder with Look-Ahead Rate Control", PROCEEDINGS OF THE IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, 1996. ICASSP-96, vol. 4, 7 May 1996 (1996-05-07), pages 1994 - 1997, XP000681643 *

Similar Documents

Publication Publication Date Title
KR101215615B1 (en) Method and apparatus for changing codec to reproduce video and audio data stream encoded by different codec within the same channel
TW527836B (en) Processing mode selection for channels in a video multi-processor system
TW200810563A (en) Encoding apparatus, decoding apparatus, encoding method, decoding method, program of encoding method, program of decoding method, recording medium in which program of encoding method is recorded, and recording medium in which program of deocding method i
KR100983832B1 (en) Encoding device and method, and recording medium
KR20070029072A (en) Moving picture signal encoding apparatus, moving picture signal encoding method, and computer-readable recording medium
JP2008236120A (en) Decoder and coder
JP4826533B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP3748234B2 (en) MPEG data recording method
WO2007122898A1 (en) Transcoding apparatus, decoding apparatus and encoding apparatus
WO2004112397A1 (en) Image processing device, image processing method, information processing device, information processing method, information recording device, information recording method, information reproduction device, information reproduction method, recording medium, and program
JP2003052040A (en) Mpeg data reproduction equipment
JP2007174207A (en) Moving image processing apparatus
KR100935493B1 (en) Apparatus and method for transcoding based on distributed digital signal processing
WO2021054439A1 (en) Image conversion device and image decoding device
JP4148200B2 (en) MPEG image data recording apparatus and MPEG image data recording method
JP4192861B2 (en) MPEG image data recording apparatus and MPEG image data recording method
JP3748243B2 (en) MPEG data recording device
JP2004297829A (en) Mpeg data reproduction equipment
JP3748245B2 (en) MPEG data recording device
JP3748244B2 (en) MPEG data recording device
JP3748240B2 (en) MPEG data recording method
JP3748242B2 (en) MPEG data recording method
JP3748241B2 (en) MPEG data recording method
JP2004007571A (en) Coding instrument and methodology, decoding instrument and method, compiling apparatus and method, record medium, as well as program
JP2008005520A (en) Mpeg data recording and reproducing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07738302

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07738302

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP