摘要:
A detection circuit detects a slice start code from an input stream. Based on a result of the detection and a frame pulse, a reference macroblock (MB) address generated by a timing generator is sent to an address comparator. The input stream which has been phase-adjusted by a delay circuit is supplied to a variable length decoder (VLD) for decoding a variable length code to detect an MB address. The address comparator compares the reference MB address with the MB address to check the continuity of the MB address. If it is discontinuous, the stream output from the VLD is temporarily interrupted, and a selector selects a replacement data generating circuit in response to a control signal output from the address comparator. The input stream is replaced at a discontinuous macroblock portion with macroblock data which has a correct macroblock address and which is prepared in advance by the replacement data generating circuit. This provides stable processing of macroblock discontinuities when I-pictures in an MPEG stream are input.
摘要:
When a stream encoded with a variable length code is output, a stream containing a syntax error and a format violation is prevented from being output.A checker checks encoding parameter for a stream that is reproduced from a magnetic tape and a stream that is output through an EE path and determines an occurrence of a syntax error or a format violation. When the output stream contains it, a switch circuit stops outputting the stream in the unit of a GOP or a picture and adds a code representing the end to the immediately preceding stream. The checker continuously checks the stream. When the output stream does not contain an error, etc, the output of the stream is resumed from the beginning of a GOP. At that point, flag representing that there is a picture that has not been used due to the stop of the stream is added.
摘要:
MPEG streams of different chroma formats are recorded and reproduced without need to recognize their formats. In an MPEG stream, a header is followed by DCT blocks. Time slots are generated in such a manner that when the chroma format detected from the header is 4:2:2, in all periods of DCT blocks, a process is performed and that when the chroma format detected from the header is 4:2:0, a process is not performed in periods for DCT blocks Cb2 and Cr2 that are not present in the chroma format 4:2:2. The read order of a stream is changed in a memory so as to improve an error resistance. DCT coefficients are rearranged in the order of DC components and AC components from the lowest order component to the highest order component over all DCT blocks. After the stream has been rearranged, time slots are generated in such as manner that when the chroma format is 4:2:0, the process is stopped in the periods for Cb2 and Cr2. With the time slots, corresponding to the chroma format, the process is controlled so that the chroma formats 4:2:2 and 4:2:0 can be processed in common.
摘要:
The header of the sequence layer of an input sequence is written to a RAM. Information of a typical header is pre-stored to a ROM. The selecting operation of a selector is controlled by an output of a detecting portion. When the input sequence contains the header of the sequence layer, the selector selects as an output stream the stream of which the header has been added to each frame. In contrast, when the stream does not contain the header, the header stored in the RAM or the ROM is added to each frame of the stream. In this case, the header stored in the RAM is added to each frame with higher priority than the header stored in the ROM. The header has been always added to each frame of a stream that is output from the selector.
摘要:
An apparatus and method for processing a stream compressed and encoded with a variable length code (VLC) in a predetermined unit by detecting an error flag that has been set. The flag corresponds to a position of an error when the error is contained in the stream. Adding information representing an end of the VLC, based on the error flag, to the position corresponding to the error flag in a string of the VLC containing the error flag. Thus, the VLC after the error flag can be discarded. Additionally, an apparatus and method for processing a stream encoded with a VLC by detecting a code symbol that does not match a parameter representing the VLC from the VLC stream. Correcting the stream based on the detected result, and designating the start of the next process after the detected result has been obtained. Thus, even if a stream containing an irregular VLC is input, the apparatus can be operated in a stable mode.
摘要:
A signal processing apparatus that enables while a significant video signal is not being output, a stream that is decoded to a black picture signal is output along with a base band signal that causes a block picture to be displayed. The signal is reproduced, as an MPEG stream. The MPEG stream is input to a first input terminal of a switch. The MPEG stream is supplied to a black stream generating circuit. A non-signal detector detects a non-signal state of the stream. In a non-signal period, a second input terminal of the switch is selected. A stream generator generates a black stream that causes a black screen to be displayed, which is input to the second input terminal of the switch, and is obtained from a stream output terminal through a switch.
摘要:
A selector has both a function for creating a header of a sequence layer and a header of a picture layer corresponding to reproduced data of a system area and a function for outputting one of an input stream and a stream of which a created header has been added to the header of the input stream as an output stream. When the mode is not high speed reproducing mode, the selector outputs the header contained in the input stream as a header of the output stream. When the mode is high speed reproducing mode, a header (the header of the sequence layer and the header of the picture layer) is created corresponding to data reproduced from the system area. The selector outputs an output stream of which the created header has been added to the input stream.
摘要:
MPEG streams of different chroma formats are recorded and reproduced without need to recognize their formats. In an MPEG stream, a header is followed by DCT blocks. Time slots are generated in such a manner that when the chroma format detected from the header is 4:2:2, in all periods of DCT blocks, a process is performed and that when the chroma format detected from the header is 4:2:0, a process is not performed in periods for DCT blocks Cb2 and Cr2 that are not present in the chroma format 4:2:2. The read order of a stream is changed in a memory so as to improve an error resistance. DCT coefficients are rearranged in the order of DC components and AC components from the lowest order component to the highest order component over all DCT blocks. After the stream has been rearranged, time slots are generated in such as manner that when the chroma format is 4:2:0, the process is stopped in the periods for Cb2 and Cr2. With the time slots, corresponding to the chroma format, the process is controlled so that the chroma formats 4:2:2 and 4:2:0 can be processed in common.
摘要:
Method and apparatus for performing data conversion between first-format encoded data in which orthogonal transform coefficients are arranged in an order of DC components and AC components from a low spatial frequency order to a high spatial frequency order in each orthogonal transform block when compression encoding which includes orthogonal transform is applied to video data and second-format encoded data in which orthogonal transform coefficients are arranged in an order of DC components and AC components from a low spatial frequency order to a high spatial frequency order in each block assembly member formed of a plurality of orthogonal transform blocks when compression encoding which includes orthogonal transform is applied to video data. The second-format encoded data may be decoded to obtain orthogonal transform coefficients which may be re-arranged from a low spatial frequency order to a high spatial frequency order in each orthogonal transform block of the first format. Such orthogonal transform coefficients may be encoded to form encoded data having the first format.
摘要:
A stream processing apparatus and method for replacing a macroblock having a syntax error in an encoded stream with a marcroblock having an acceptable syntax. In such apparatus and method, a plurality of coding parameters may be extracted from the source encoded stream, an error macroblock having a syntax error in the source encoded stream may be detected, the source encoded stream may be variable-length decoded so as to generate a variable-length-decoded stream, a predetermined macroblock having an acceptable syntax may be generated which conforms to a MPEG (motion picture image coding experts group) standard, and the error macroblock of the variable-length decoded stream may be replaced with the predetermined macroblock.