CN1783302A - Treating play back bit stream - Google Patents
Treating play back bit stream Download PDFInfo
- Publication number
- CN1783302A CN1783302A CN 200510113832 CN200510113832A CN1783302A CN 1783302 A CN1783302 A CN 1783302A CN 200510113832 CN200510113832 CN 200510113832 CN 200510113832 A CN200510113832 A CN 200510113832A CN 1783302 A CN1783302 A CN 1783302A
- Authority
- CN
- China
- Prior art keywords
- data
- sectors
- sector
- buffer
- mpeg
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012545 processing Methods 0.000 claims description 46
- 238000000034 method Methods 0.000 claims description 32
- 230000003287 optical effect Effects 0.000 claims description 25
- 230000008878 coupling Effects 0.000 claims description 7
- 238000010168 coupling process Methods 0.000 claims description 7
- 238000005859 coupling reaction Methods 0.000 claims description 7
- 239000000872 buffer Substances 0.000 abstract description 144
- 230000015654 memory Effects 0.000 abstract description 112
- 230000002441 reversible effect Effects 0.000 description 34
- 102100037812 Medium-wave-sensitive opsin 1 Human genes 0.000 description 23
- 238000012937 correction Methods 0.000 description 23
- 230000009286 beneficial effect Effects 0.000 description 15
- 230000006870 function Effects 0.000 description 12
- 238000004458 analytical method Methods 0.000 description 9
- 238000001514 detection method Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 9
- 230000033001 locomotion Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 8
- 230000006835 compression Effects 0.000 description 7
- 238000007906 compression Methods 0.000 description 7
- 238000012360 testing method Methods 0.000 description 7
- 230000003139 buffering effect Effects 0.000 description 5
- 238000007781 pre-processing Methods 0.000 description 5
- 238000009877 rendering Methods 0.000 description 5
- 230000001934 delay Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000003111 delayed effect Effects 0.000 description 3
- 238000013467 fragmentation Methods 0.000 description 3
- 238000006062 fragmentation reaction Methods 0.000 description 3
- 238000011084 recovery Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 239000012634 fragment Substances 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 102100036675 Golgi-associated PDZ and coiled-coil motif-containing protein Human genes 0.000 description 1
- 101001072499 Homo sapiens Golgi-associated PDZ and coiled-coil motif-containing protein Proteins 0.000 description 1
- 101100041816 Homo sapiens SCD gene Proteins 0.000 description 1
- 101100309604 Homo sapiens SCD5 gene Proteins 0.000 description 1
- 101000585359 Homo sapiens Suppressor of tumorigenicity 20 protein Proteins 0.000 description 1
- 101150097713 SCD1 gene Proteins 0.000 description 1
- 101100101423 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) UBI4 gene Proteins 0.000 description 1
- 101150042597 Scd2 gene Proteins 0.000 description 1
- 102100028897 Stearoyl-CoA desaturase Human genes 0.000 description 1
- 102100033930 Stearoyl-CoA desaturase 5 Human genes 0.000 description 1
- 102100029860 Suppressor of tumorigenicity 20 protein Human genes 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000003466 anti-cipated effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 238000011010 flushing procedure Methods 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000004091 panning Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000002028 premature Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
Description
本案是申请日为1998年5月6日、申请号为98814153.1、发明名称为“重放位流的处理”的发明专利申请的分案申请。This case is a divisional application of an invention patent application with an application date of May 6, 1998, an application number of 98814153.1, and an invention title of "Processing of Replay Bit Stream".
技术领域technical field
本发明涉及从介质再现数字编码信号,尤其涉及以多路复用格式重放数据的识别和处理。This invention relates to the reproduction of digitally encoded signals from media, and more particularly to the identification and processing of playback data in a multiplexed format.
背景技术Background technique
例如利用MPEG压缩协议采用数字压缩的音频和视频信号记录的光盘的引入为消费者提供的声音和图像质量基本上与原始的素材没有区别。然而,消费用户期望这种数字视盘或DVD提供的特征类似于他们的模拟式录像机或VCR的特征。例如,VCR能够以不同于记录速度的速度在正向或反向再现。这种非标准速度的重放特征也称为特技播放模式。由于将图像分成具有不同压缩级别组的压缩分级特性,MPEG编码的视频信号不能容易地提供特技播放特性。这些组称为图像组或GOP并且要求顺序地译码。MPEG 2标准的详细描述如ISO/IEC标准13818-2所公布的。简单地说,MPEG 2信号流可以包括三种具有不同内容压缩级别的图像类型。内部编码帧或I帧具有三种类型中最小的压缩,并且可以不参照任何其他帧来译码。预测帧或P帧是参照先前的I帧或P帧压缩的,并且获得比内部编码帧更高级别的压缩。第三种类型的MPEG帧称为双向编码帧或B帧,可以根据先前帧或随后帧的预测来压缩。双向编码帧具有最高级别的压缩。三种类型的MPEG帧安排在图像组或GOP中。GOP例如可以包含12个如图1A说明安排的帧。因为只有内部编码帧是可以不用参照任何其他帧来译码的,所以每个GOP只能在I帧译码之后译码。第一个预测帧或P帧可以根据存储的先前I帧的修改来译码和存储。随后的P帧可以由存储的先前P帧预测。P帧的预测在图1A中用弯曲的实线箭头表示。最后,双向编码帧或B帧可以借助于先前帧和/或随后帧,例如存储的I帧和P帧的预测来译码。在图1A中用弯曲的虚线箭头描述了由相邻存储帧的预测来译码B帧。The introduction of optical discs, for example using digitally compressed audio and video signals using the MPEG compression protocol, has provided consumers with sound and picture quality essentially indistinguishable from the original material. However, consumer users expect such digital video discs or DVDs to provide features similar to those of their analog video recorders or VCRs. For example, a VCR can reproduce in the forward or reverse direction at a speed different from the recording speed. This non-standard speed playback feature is also known as trick play mode. MPEG-encoded video signals cannot readily provide trick-play features due to the hierarchical nature of compression that divides pictures into groups with different levels of compression. These groups are called groups of pictures or GOPs and require sequential decoding. A detailed description of the
专利申请EP-A-0 696 798公开了一种记录数据的方法和设备,数据介质以及再现数据的方法和设备。申请EP-A-0 696 798讲授在各种类型盘介质上记录MPEG信号,此外公开了在记录介质的每一扇区中具有与作为子码的数据分开记录的附加信息的记录格式。这些子码提供与每扇区有用负载数据相关的信息并可用于在重放期间控制数据再现。在美国专利5,535,008中,公开了MPEG记录数据的“跳转模式”再现,例如利用CD-ROM。美国专利5,535,008讲授以预定间隔设置的多个数据的再现,并因此可通过“将整数倍的预定间隔减去第一固定值”找到下一要再现的数据。美国专利5,535,008利用I帧之间的平均距离使变换器迅速来回移动或迅速反向再现。在EPO申请A-737 975中,公开了用于光盘的一种MPEG记录方法。记录的格式包括管理区域和节目数据具有分层结构的节目区域。所公开的格式与数字通用盘或DVD采用的格式有些类似。在美国专利5,543,925中公开了一种数字重放设备,用于再现数字处理的摄影图像。数字化的图像写在小型光盘上,按照表示预记录序列或用户定义显示的所存储数据显示在屏幕上。美国专利5,543,925讲授了对于每一存储的数字化图像,图像文件含有多个子文件,它们定义具有不同分辩率的同一扫描图像。它指出同一图像的这些多分辩率型式有益地减小图像显示的等待时间。在EPO申请0651 391中公开了高速重放数字编码图像。EPO申请0651 391尤其公开了用于在“帧返回再现”期间存储多个GOP的两个帧存储器以及三个帧存储器的用途。输出信号选择在译码图像存储器之间替换。存储器选择和输出图像保持时间响应于译码图像可用性和检索下一所需图像的时间。Patent application EP-A-0 696 798 discloses a method and device for recording data, a data medium and a method and device for reproducing data. Application EP-A-0 696 798 teaches the recording of MPEG signals on various types of disc media, and moreover discloses a recording format with additional information recorded separately from the data as subcodes in each sector of the recording medium. These subcodes provide information related to the payload data per sector and can be used to control data reproduction during playback. In US Patent 5,535,008, "skip mode" reproduction of MPEG recorded data is disclosed, for example using a CD-ROM. US Patent No. 5,535,008 teaches reproduction of a plurality of data set at predetermined intervals, and thus data to be reproduced next can be found by "subtracting a first fixed value from an integer multiple of the predetermined interval". US Patent 5,535,008 uses the average distance between I-frames to cause the transformer to move back and forth rapidly or to reproduce rapidly in reverse. In EPO application A-737 975 a method of MPEG recording for optical discs is disclosed. The recorded format includes a management area and a program area in which program data has a hierarchical structure. The disclosed format is somewhat similar to that employed by Digital Versatile Discs or DVDs. In US Patent 5,543,925 a digital playback device is disclosed for reproducing digitally processed photographic images. The digitized images are written on a compact disc and displayed on the screen according to stored data representing pre-recorded sequences or user-defined displays. US Patent 5,543,925 teaches that for each stored digitized image, the image file contains multiple sub-files that define the same scanned image at different resolutions. It points out that these multi-resolution versions of the same image advantageously reduce the latency of image display. High speed playback of digitally encoded images is disclosed in EPO application 0651391. EPO application 0651 391 discloses inter alia the use of two frame memories and three frame memories for storing multiple GOPs during "frame return reproduction". The output signal selection alternates between decoded image memories. Memory selection and output picture retention times are responsive to decode picture availability and time to retrieve the next desired picture.
包括MPEG图像组的编码帧的分级特性需要每个GOP的I帧和P帧在正向译码。这样,通过有效地跳回到一个较早的、或先前的I帧并且然后在正向译码该GOP,可以提供反向模式特征。译码的帧被存储在帧缓冲存储器,用于以后的反向读出以获得所需的反向节目序列。图1B说明在正常速度下并且在时刻t0之前的时间的正向重放,选择特技模式下的反向、三倍速度模式。该特技播放模式在时刻t0启动,这里I帧I(25)被译码和显示。下一需要译码的帧是I帧I(13),这样,变换器被重新定位,如箭头J1指示,以获取帧I(13)。恢复和译码I帧I(13)后,变换器如箭头J2指示跟踪以获得和译码帧P(16)。该过程如箭头J3、J4指示的重复。在捕获和译码帧P(22)后,变换器如箭头Jn描述来移动以恢复帧I(1)。为了平滑地描绘场景运动要求译码和显示I、P以及可能的B帧。对于先前的GOP重复跳转和播放过程,因此,前进中止,往回通过该记录,同时以反向序列在视频输出平滑地描绘节目素材。The hierarchical nature of coded frames comprising MPEG groups of pictures requires that the I and P frames of each GOP be decoded in the forward direction. Thus, the reverse mode feature can be provided by effectively jumping back to an earlier, or previous, I frame and then decoding the GOP in the forward direction. The decoded frames are stored in frame buffer memory for later reverse readout to obtain the desired reverse program sequence. Figure 1B illustrates forward playback at normal speed and at a time prior to time t0, reverse, triple speed mode in trick mode selected. The trick-play mode starts at time t0, where I-frame I(25) is decoded and displayed. The next frame to be decoded is I frame I(13), so the converter is repositioned, as indicated by arrow J1, to acquire frame I(13). After recovering and decoding I frame I(13), the transformer traces as indicated by arrow J2 to obtain and decode frame P(16). This process is repeated as indicated by arrows J3, J4. After frame P(22) is captured and decoded, the transformer moves as depicted by arrow Jn to recover frame I(1). Decoding and displaying I, P and possibly B frames is required to smoothly depict scene motion. The jump-and-play process is repeated for the previous GOP, so forwarding is halted and the recording is rewinded while the program material is smoothly rendered on the video output in reverse sequence.
在特技模式再现期间提供可见的平滑再现要求及时地检索光盘并且从存储器存取特定的图像。虽然每个数字光盘在每个视频目标单元内采用提供图像进入点的导航(navigation)数据来编码,但是它们在数目上是有限的,并且可能固有地在时间上混淆图像运动。为了以多种速度在正向和反向获得时间上平滑的特技模式再现,要求存取和译码所有的编码图像。虽然能够以牺牲存储容量为代价获得这种性能,但是位流分析和缓冲存储器的选择为通过有效的存储器利用来改进特技模式再现提供了机会。Providing a visually smooth reproduction during trick mode reproduction requires timely retrieval of the disc and access of specific images from memory. Although each digital disc is encoded with navigation data within each video object unit that provides entry points for images, they are limited in number and may inherently confuse image motion in time. To obtain a temporally smooth trick mode reproduction in forward and reverse directions at multiple speeds requires accessing and decoding all coded pictures. While this performance can be achieved at the expense of memory capacity, the bitstream analysis and buffer memory selection provide an opportunity to improve trick mode rendering through efficient memory utilization.
发明内容Contents of the invention
一种设备从光盘再现位流信号。控制该位流以确保只有要求的位流数据被耦合用于MPEG译码。变换器被重新定位以在完成先前的MPEG图像译码之前获得要求的位流数据。在缓冲存储之前位流数据被读出以选择需要存储的数据并且拒绝不需要的数据。缓冲存储被重新分配用于特技播放操作并且被随机存取以便于特技播放图像选择。控制MPEG图像译码和存储以便于在一个字段周期内的帧译码。译码的图像基本上在字段周期内被同时存储和读出。A device reproduces a bit stream signal from an optical disc. The bitstream is controlled to ensure that only required bitstream data is coupled for MPEG decoding. The converter is repositioned to obtain the required bitstream data before completing the previous MPEG image decoding. Bit stream data is read out before buffer storage to select data to be stored and to reject unnecessary data. Buffer storage is reallocated for trick-play operations and accessed randomly to facilitate trick-play picture selection. Controls MPEG picture decoding and storage for frame decoding within a field period. The decoded image is stored and read out substantially simultaneously within a field period.
在一种本发明的配置中,一种设备从介质再现数字编码信号。该设备包括:变换器,用于转换数字编码信号并且从其中产生位流;处理器,被耦合以接收位流,用于可控地处理位流;存储器,耦合到处理器,用于存储处理的位流信息;控制器,被耦合以控制存储器和处理器,用于控制位流内信息的识别,其中控制器控制处理器以识别位流中特定的扇区类型,并且根据该特定的扇区识别,控制器控制存储器存储识别的特定扇区。In one arrangement of the invention, an apparatus reproduces a digitally encoded signal from a medium. The device includes: a converter for converting a digitally encoded signal and generating a bit stream therefrom; a processor coupled to receive the bit stream for controllably processing the bit stream; a memory coupled to the processor for storing the processing bit stream information; a controller, coupled to control the memory and a processor, for controlling identification of information within the bit stream, wherein the controller controls the processor to identify a particular sector type in the bit stream, and according to the specific sector For sector identification, the controller directs the memory to store the identified specific sector.
在一种本发明的方法中,通过数字光盘设备在再现期间转换的多个扇区中安排的数据流中多个开始代码获得一个开始代码。该方法包括搜索数据流以定位多个扇区中特定的扇区类型的步骤。搜索该特定的扇区类型以从多个开始代码定位一个开始代码。测试该开始代码以确定它是否是不完整的。搜索数据流以定位多个扇区中特定的扇区类型的第二个扇区。搜索特定的扇区类型的第二扇区以从多个开始代码的开始代码类型定位第二个开始代码。确定是否第二个开始代码是不完整开始代码的剩余部分。将不完整的开始代码值和剩余的开始代码值组合以形成完整的开始代码。In an inventive method, a start code is obtained from a plurality of start codes in a data stream arranged in a plurality of sectors switched by the digital disc device during reproduction. The method includes the step of searching the data stream to locate a particular sector type of the plurality of sectors. Search for that particular sector type to locate a start code from multiple start codes. Test the start code to determine if it is incomplete. The data stream is searched to locate a second sector of a particular sector type among the plurality of sectors. The second sector of the particular sector type is searched to locate the second start code from the start code type of the plurality of start codes. Determine if the second start code is the remainder of the incomplete start code. Combine the incomplete start code value and the remaining start code value to form the complete start code.
另一种从介质再现数字编码信号的本发明设备包括:变换器,用于转换数字编码信号并且从其中产生位流;第一存储器,耦合到变换器,用于存储该位流;用于存储数据的第二存储器,可控地从第一存储器耦合;控制器,被耦合以控制第一和第二存储器,用于控制位流内信息的识别,其中控制器控制第一存储器以从特定扇区地址输出其中的位流,以及该控制器控制第二存储器以存储从特定的扇区地址输出的位流的第一部分。Another inventive apparatus for reproducing a digitally encoded signal from a medium comprises: a converter for converting the digitally encoded signal and generating a bit stream therefrom; a first memory coupled to the converter for storing the bit stream; a second memory of data, controllably coupled from the first memory; a controller, coupled to control the first and second memory, for controlling identification of information within the bit stream, wherein the controller controls the first memory to read from a particular sector The sector address outputs the bit stream therein, and the controller controls the second memory to store the first part of the bit stream output from the specific sector address.
另一种从介质再现数字编码信号的本发明设备包括:变换器,用于转换数字编码信号并且从其中产生位流;存储器,耦合到变换器,用于存储位流;处理器,耦合到存储器,用于处理存储的位流以识别包含在其中的MPEG开始代码。处理器搜索存储的位流以识别存储的位流中的MPEG开始代码,并且根据MPEG开始代码标识,处理器指示该标识并且存储识别的MPEG开始代码中的扇区地址。Another inventive apparatus for reproducing a digitally encoded signal from a medium comprises: a converter for converting the digitally encoded signal and generating a bit stream therefrom; a memory coupled to the converter for storing the bit stream; a processor coupled to the memory , used to process the stored bitstream to identify the MPEG start codes contained within it. The processor searches the stored bitstream to identify an MPEG start code in the stored bitstream, and based on the MPEG start code identification, the processor indicates the identification and stores the sector address in the identified MPEG start code.
另一种再现数字光盘的设备中进行图像译码和显示的方法。该方法包括转换来自光盘的数字编码信号的步骤。将数字编码信号存储在第一存储器中。译码该数字编码信号以产生图像。将该图像存储在第二存储器中。耦合来自第二存储器的图像用于显示。控制第二存储器的存储和耦合用于显示基本上同时发生。Another method for decoding and displaying images in a device for reproducing digital discs. The method includes the step of converting a digitally encoded signal from an optical disc. The digitally encoded signal is stored in a first memory. The digitally encoded signal is decoded to generate an image. The image is stored in a second memory. The image from the second memory is coupled for display. Controlling storage and coupling of the second memory for display occurs substantially simultaneously.
在另一种本发明方法中,图像的一个字段存储在第二存储器的第一字段中并且来自所述第二存储器的第二字段的先前的图像被耦合用于显示。In a further inventive method, a field of an image is stored in a first field of a second memory and a previous image from the second field of said second memory is coupled for display.
在另一种本发明方法中,图像的一个字段存储在所述第二存储器的第一字段并且来自第二存储器的第一字段的先前的图像被耦合用于显示。所述第二存储器的所述第一字段的存储以及耦合用于显示被控制在字段周期内顺序地发生。In another inventive method, a field of an image is stored in a first field of said second memory and a previous image from the first field of the second memory is coupled for display. The storage and coupling of the first field of the second memory for display is controlled to occur sequentially within a field period.
在本发明的另一种配置中,用于从光盘介质再现数字编码信号的设备包括:变换器,用于转换数字编码信号;存储器,耦合到变换器,用于存储数字编码信号;译码器,根据数字编码信号来从其中译码图像;控制器,用于存储器,其中,在第一操作模式下,控制器根据第一序列,控制存储器以从存储器读出存储的数字编码信号,在第二操作模式下,控制器控制存储器以第二序列从存储器读出存储的数字编码信号。In another configuration of the invention, an apparatus for reproducing digitally encoded signals from an optical disc medium includes: a converter for converting the digitally encoded signals; a memory coupled to the converter for storing the digitally encoded signals; a decoder , to decode an image therefrom according to the digitally encoded signal; the controller is used for the memory, wherein, in the first operation mode, the controller controls the memory to read out the stored digitally encoded signal from the memory according to the first sequence, in the In the second operation mode, the controller controls the memory to read out the stored digital coded signal from the memory in a second sequence.
在本发明的另一种配置中,一种设备用于从光盘介质再现数字编码信号并且包括:表示数字编码信号的位流源;处理器,耦合到位流,用于处理该位流以提取其中表示的至少第一和第二数据类型;存储器,可控地耦合到处理器以存储第一和第二数据类型中的一个;控制器,耦合以控制存储器的分配,其中在第一再现模式下,控制器分配存储器存储第一数据类型,在第二再现模式下,控制器分配存储器存储第二数据类型。In another configuration of the invention, an apparatus for reproducing a digitally encoded signal from an optical disc medium and comprising: a source of a bitstream representing the digitally encoded signal; a processor, coupled to the bitstream, for processing the bitstream to extract the Representing at least first and second data types; a memory, controllably coupled to the processor to store one of the first and second data types; a controller, coupled to control allocation of the memory, wherein in the first rendering mode , the controller allocates the memory to store the first data type, and in the second reproduction mode, the controller allocates the memory to store the second data type.
在本发明的另一种配置中,一个用于从光盘介质再现数字编码信号的设备包括:变换器,用于转换数字编码信号;处理器,耦合以接收数字编码信号,用于处理和从其中产生图像;存储器,耦合到处理器,用于存储该图像;控制器,耦合以控制存储器和处理器,其中在第一模式下,图像被存储在存储器中,在第二个模式下该图像被二次采样并且存储在存储器中。In another configuration of the invention, an apparatus for reproducing a digitally encoded signal from an optical disc medium includes: a converter for converting the digitally encoded signal; a processor coupled to receive the digitally encoded signal for processing and extracting the digitally encoded signal from generating an image; a memory coupled to the processor for storing the image; a controller coupled to control the memory and the processor, wherein in a first mode the image is stored in the memory and in a second mode the image is stored subsampled and stored in memory.
在本发明的另一种配置中,避免了不必要地处理不需要的扇区数据。一种通过使用光读出的光盘播放机控制扇区中再现数据的方法,包括转换扇区组的步骤,这些扇区组包括需要处理的扇区和不需要处理的扇区。提供除了不需要扇区以外的需要的扇区到数据处理器来进行处理,并且处理需要的数据扇区以提取其中表示视频信息的数据。In another configuration of the invention, unnecessary processing of unneeded sector data is avoided. A method for controlling reproduction of data in sectors by an optical disc player using optical readout includes the step of switching sector groups including sectors requiring processing and sectors not requiring processing. The desired sectors other than the unnecessary sectors are provided to the data processor for processing, and the desired sectors of data are processed to extract data representing video information therein.
一种用于再现包含MPEG兼容数据的扇区的数字光盘播放机,包括:变换器,用于转换来自光盘的扇区组,这些扇区组包括具有处理所需的MPEG兼容数据的请求的扇区,以及具有处理所不需要的MPEG兼容数据的未请求的扇区;第一数据处理器,耦合到所述变换器,用于处理和耦合除了具有处理所不需要的MPEG兼容数据的所述未请求的扇区以外的具有MPEG兼容数据的所述请求的扇区;以及第二处理器,耦合到所述第一处理器,用于接收所述请求的数据扇区并且提取表示视频信息的所述请求的MPEG兼容的数据。A digital disc player for reproducing sectors containing MPEG compatible data, comprising: a converter for converting groups of sectors from an optical disc including sectors having requests for MPEG compatible data required for processing area, and an unrequested sector having MPEG compatible data not required for processing; a first data processor, coupled to the converter, for processing and coupling except for the sector having MPEG compatible data not required for processing said requested sector with MPEG compatible data other than unrequested sectors; and a second processor, coupled to said first processor, for receiving said requested sector of data and extracting The requested MPEG compatible data.
在本发明的一种方法中,控制以扇区再现的MPEG兼容数据,该方法包括下列步骤:转换扇区组,这些扇区组包括具有处理所需的MPEG兼容数据的请求的扇区,以及具有处理所不需要的MPEG兼容数据的未请求的扇区;传送除了所述未请求的扇区以外的所述请求的扇区到数据处理器,以供处理;以及处理所述请求的扇区以提取表示视频信息的所述请求的MPEG兼容数据。In a method of the present invention, MPEG compatible data reproduced in sectors is controlled, the method comprising the steps of: switching groups of sectors comprising sectors having requests for MPEG compatible data required for processing, and having unrequested sectors of MPEG compatible data not required for processing; transmitting said requested sectors other than said unrequested sectors to a data processor for processing; and processing said requested sectors to extract said requested MPEG compatible data representing video information.
在本发明的另一种配置中,从控制变换器位置的处理基本上免除了在转换的位流路径中的延迟。在数字光盘设备的重放期间,一种方法包括接收第一和第二变换器地址的步骤,用于根据重放地址来控制变换器位置。将重放的地址与第一变换器地址比较以检测它们之间是否相等。根据检测的是否相等,移动变换器到由第二变换器地址确定的新位置。In another configuration of the invention, delays in the converted bitstream path are substantially eliminated from the process of controlling the transducer position. During playback of a digital optical disc device, a method includes the step of receiving first and second changer addresses for controlling the position of the changer in dependence on the playback address. The replayed address is compared with the first translator address to detect equality between them. Depending on the detected equality, the transducer is moved to a new position determined by the address of the second transducer.
附图说明Description of drawings
图1A描述了MPEG 2图像组。Figure 1A depicts an
图1B说明了在重放和三倍速度的反向特技播放期间记录的图像组。Figure 1B illustrates a group of pictures recorded during playback and triple speed reverse trick play.
图2是包括本发明配置的示范数字光盘播放机的方框图。Figure 2 is a block diagram of an exemplary digital disc player including the arrangement of the present invention.
图3更详细地示出图2部分并且描述了各种本发明配置。Figure 3 shows parts of Figure 2 in more detail and depicts various inventive arrangements.
图4示出图2的数字光盘播放机,相对于图2而言包括了其他有益配置。Fig. 4 shows the digital disc player of Fig. 2, including other advantageous configurations relative to Fig. 2 .
图5A和5B描述在光道缓存之前的示范位流。Figures 5A and 5B depict an exemplary bitstream prior to track buffering.
图5C-5D描述了缓冲存储器中的示范数据。Figures 5C-5D depict exemplary data in the buffer memory.
图6是一个流程图,说明了用于经过扇区边界上分配的开始代码恢复的本发明配置。Fig. 6 is a flowchart illustrating the arrangement of the present invention for recovery across start codes allocated on sector boundaries.
图7是一个图表,说明了用于3倍播放速度(3倍)的反向特技播放模式的本发明序列。Figure 7 is a diagram illustrating the inventive sequence for reverse trick play mode at 3x playback speed (3x).
具体实施方式Detailed ways
图2描述了一种数字视盘播放机的示范方框图。块10描述了走盘机构,可以承受由电机12旋转的数字记录光盘14。响应各个信号数据位由8/16调制编码确定各个坑的长度,数字信号作为包含诸坑的螺旋光道记录在光盘14上。光盘14上的记录由收集反射的激光照度的拾取装置15读出。反射的激光由光检测器或光拾取装置收集。成像装置例如形成拾取装置15一部分的透镜或反射镜由电机11伺服控制和驱动以跟随记录的光道。可以通过快速地重新定位成像装置来进入记录的不同部分。伺服控制电机11和12由集成电路驱动放大器20驱动。拾取装置15耦合到光前置放大器块30,该块包括用于激光发光装置的驱动电路,前置放大器提供从光拾取装置输出的反射信号的放大和均衡。来自光前置放大器30的放大和均衡的重放信号连接到信道处理器块40,这里利用重放信号来同步锁相环,该锁相环被利用来解调记录中使用的8:16调制。Figure 2 depicts an exemplary block diagram of a digital video disc player.
借助于应用在16个扇区的块中的Reed Solomon乘积编码,MPEG编码位流被编码用于检错和纠错,这里每个扇区包含有用负载数据的2048个字节。这样,借助于图4的ECC缓冲存储器45和46中实现的Reed Solomon乘积校正,在8:16解调后重放数据流被解交织或反移(去混洗)和纠错。每个缓存器存储作为阵列安排的重放数据流的16个扇区,以便于解交织和允许所需的行和列乘积处理。级联的ECC缓冲存储器对于再现的顺序位流引入近似(2*16*1.4)毫秒的延迟,这里2表示ECC缓存器对,16表示应用校正的扇区,1.4毫秒表示在1倍旋转速度下的扇区周期。这样,再现的顺序位流被延迟近似于45毫秒的最小值。The MPEG coded bitstream is coded for error detection and correction by means of Reed Solomon product coding applied in blocks of 16 sectors, where each sector contains 2048 bytes of payload data. Thus, the playback data stream after 8:16 demodulation is de-interleaved or reverse-shifted (de-shuffled) and error-corrected by means of the Reed Solomon product correction implemented in the ECC buffer memories 45 and 46 of FIG. Each buffer stores 16 sectors of the playback data stream arranged as an array to facilitate deinterleaving and to allow the required row and column product processing. The cascaded ECC buffer memories introduce approximately (2*16*1.4) milliseconds of delay to the reproduced sequential bitstream, where 2 denotes the ECC buffer pair, 16 denotes the sector to which the correction is applied, and 1.4 milliseconds at 1x rotational speed sector cycle. Thus, the rendered sequential bitstream is delayed by a minimum of approximately 45 milliseconds.
纠错信号位流41经过链路处理器耦合到位流或机械/光道缓冲存储器60A。光道缓存器包括DRAM存储器类型并且用于存储重放数据量,使得在变换器或拾取装置15重新定位期间丢失的数据在译码时将不产生任何可见的缺陷。这样,最后的输出图像流对于观看者来说将表现为连续的或无缝的。位流缓冲存储器60A是示例性16兆位DRAM存储器的部分。另一个示例性16兆位SDRAM存储块可以被划分以提供帧缓存器60C和60D,它们为至少两个译码的图像帧提供存储,在译码之前压缩的视频位流存储在缓存器60B中,音频位流在缓存器60E以及其他的数据存储在60F、60G、60H。信道处理器40还包括定时控制电路,该电路控制通过链路505写到位流缓存器60A。由于在重放光道地址的变化,例如由于用户定义的重放视频内容如“导演剪接(Directors cut)”、基本(parental)指南选择、或者甚至用户可选择的替换镜头角度(shot angles),数据可以被间歇地写入位流缓存器。为了便于更迅速地存取和恢复记录的信号,光盘14能够以导致较高位速率的转换的位流并且可能间歇提供的增加的速度旋转。The error
如已经描述的,记录的数据流安排在16个扇区的ECC块中。每个扇区具有由图4的ECC块47处理的纠错位保护的唯一的扇区识别地址。然而,因为扇区地址是短的并且是扇区特定的,对于纠错处理块47产生的到扇区地址信号42的任何延迟是可忽略的。扇区地址信号42被耦合以提供位置信息到伺服控制集成电路50。集成电路50为伺服电机11和12提供驱动和控制信号。电机12旋转光盘14并且以多种速度提供伺服控制的旋转。光拾取装置或变换器15由电机11根据扇区地址信号42定位和伺服控制,另外,可以根据扇区地址请求被控制以快速地重新定位或跳到另一个扇区地址,或光盘表面上的位置,由I2C控制总线514传送,并且经过图4的部件54耦合。As already described, the recorded data stream is arranged in ECC blocks of 16 sectors. Each sector has a unique sector identification address protected by error correction bits processed by the ECC block 47 of FIG. 4 . However, because the sector addresses are short and sector specific, any delay to the sector address signal 42 generated by the error correction processing block 47 is negligible. Sector address signal 42 is coupled to provide position information to servo control integrated
数字视盘播放机由块500的中央处理单元或CPU、部件510控制,该部件接收来自信道IC 40的再现位流和错误标记,并且将控制指令提供到伺服IC 50。另外,CPU 510接收来自用户接口90的用户控制命令,以及来自块500的MPEG译码器部件530的MPEG译码器控制功能。系统缓冲存贮器80被寻址并且提供数据到CPU 510。例如,缓存器80可以包括RAM和PROM存贮器单元。RAM可以用于存储由CPU 510从位流41提取的各种数据,例如这种数据可以包括解扰或解密信息、位流和帧缓冲存储器管理数据以及导航数据。PROM可以例如包含有益的变换器跳转算法,该算法便于实现正向或反向速度中一选定速度的特技模式操作。The digital video disc player is controlled by the central processing unit or CPU of
在图3中,MPEG编码位流耦合到链路处理器505,它可以用作硬件去多路复用器以将MPEG编码的音频、视频和控制信息从DVD格式的位流分开。另一方面,通过图3的CPU 510对缓存器60A的直接存贮器存取或DMA的软件控制,可以完成位流去多路复用。在光道缓存器60A之前或内部的编码位流由微控制器510搜索以定位和读取标题并且提取导航数据。下面参照图6讨论有益的位流搜索。In FIG. 3, the MPEG-encoded bitstream is coupled to Link Processor 505, which may act as a hardware demultiplexer to separate the MPEG-encoded audio, video, and control information from the DVD-formatted bitstream. On the other hand, bit stream demultiplexing can be accomplished by direct memory access or software control of DMA by
微控制器510经过I2C控制总线信号514耦合到前端以控制或请求变换器重新定位来获得由特技播放序列请求的下一个扇区。变换器定位可以通过有益的存储序列或跳转播放模式来控制,该模式参照包含在每个视频目标单元或VOBU中的导航包数据读出的重放的扇区地址和GOP扇区地址来检索。在图5A中描述了示例性扇区地址和VOBU导航包。然而,在变换器重新定位后,从前端初始检索的扇区可以由示例性微控制器510识别,因为不是跳转指令所请求的。这样,微控制器510有益地重写这个不需要的数据在光道缓存器60A中并且确保只有请求的数据出现在缓存器中。
识别了扇区地址或标题后,微控制器510控制缓存器60A的直接存储器存取,它有效地将MPEG数据与存储在缓存器中的其他DVD格式的数据分开。这样,视频DMA 515将耦合用于存储在示例性视频位缓存器60B中的压缩的视频位分开。类似地,压缩的音频位从缓存器60A读出并且存储在音频缓存器60E中。子图像数据也通过DMA从光道缓存器60A检索并且存储在缓存器60F中。After identifying the sector address or header,
搜索视频位缓存器60B中的压缩视频位流以通过开始代码检测器520定位图像或较高级别的开始代码。检测的开始代码信号512耦合到微控制器510,该微控制器随后经过信号511与MPEG译码器530通讯,以指示下一个图像类型、均衡器设置以及启动译码。译码器状态信号513耦合回到微控制器510以指示完成译码以及该图像数据可用于显示或存储。如将描述的,可以认为压缩的视频位缓存器60B用作FIFO或环形缓存器,这里存储的位流被顺序地存取用于MPEG译码,然而,通过缓存器60B的随机存取可以有益地促进特技模式操作。The compressed video bitstream in
MPEG译码器530内的视频位流由可变长度译码器531处理,该译码器搜索位流以定位限幅以及宏块开始代码。当获取或构造其它图像例如GOP的P和B图像时,来自每个图像组的某些译码图像被写到帧缓存器60C和60D用于随后用作预测器。帧缓存器60C和60D具有至少两个视频帧的存储容量。分开的音频分组存储在音频位缓存器60E中,它被读出和耦合用于块110的音频译码。在MPEG或AC3音频译码后,数字音频信号产生,它耦合到音频后处理器130用于数模转换并且产生各种基带音频信号输出。从参考帧缓存器60C/D读出的译码块的数字视频输出信号由显示缓存器580转换为光栅扫描格式。然而,在特技模式操作期间,输出信号源可能是来自特技模式操作期间未使用的存储器并被有益地重新配置的字段存储器。这样,在显示缓存器580内的块到光栅扫描转换可以根据特技模式操作有益地控制。显示缓存器耦合到编码器590,该编码器提供数模信号转换并且产生基带视频分量和编码的视频信号。The video bitstream within the
可以参照图1B考虑图2中说明的示范视频播放机的操作,图1B说明正向播放和反向特技播放序列。如上所述,在每个GOP内存在的编码关系需要每个图像组以正向从I帧或图像开始译码。这样,通过有效地跳回以转换较早的或先前的I图像并且然后在正向译码该GOP,可以提供反向模式特性。译码的图像存储在帧缓冲存储器中用于随后以反向次序读出。然而,包括B图像的序列可以进一步利用将描述的有益的特征。在图1B中,假定在时间t0之前的某一时刻,例如在I图像I(1),示例性视频播放机假定根据用户命令在正向播放条件下。如图1A中箭头线连接的I、B和P帧说明的,在正向译码每个图像组。在时间t0之前的一个时刻,选择三倍播放速度的反向特技模式,并且在时间t0启动,这里I图像I(25)被译码和显示。如上所述,反向特技播放译码所需的下一个图像是I图像I(13),这样,如箭头J1指示的,变换器被移动以获得图像I(13)。然后,信号恢复和译码遵循图1B中指示的播放序列,由箭头J1获得I(13)、由箭头J2获得P(16)、由箭头J3获得P(19)、由箭头J4获得P(22)以及由箭头Jn获得...。如每个特技播放模式特别要求的,图1B示出的插入的B图像被转换,但可以例如通过重写缓存器或通过译码器禁止来丢弃。为了避免前面描述的对于附加的反向模式视频缓存的需求,对于MPEG译码器、缓冲存储器控制和分配使用了各种有益的方法。The operation of the exemplary video player illustrated in FIG. 2 may be considered with reference to FIG. 1B, which illustrates a forward play and reverse trick play sequence. As noted above, the coding relationships that exist within each GOP require each GOP to be decoded starting with an I frame or picture in the forward direction. In this way, the reverse mode feature can be provided by effectively jumping back to switch the earlier or previous I-picture and then decoding the GOP in the forward direction. The decoded images are stored in frame buffer memory for subsequent readout in reverse order. However, sequences comprising B-pictures can further exploit the beneficial features that will be described. In FIG. 1B , assume that at some point before time t0 , eg, at I picture I(1), the exemplary video player assumes a forward play condition according to user command. Each GOP is decoded in the forward direction, as illustrated by the I, B, and P frames connected by arrowed lines in FIG. 1A. At a time before time t0, the reverse trick mode at three times playback speed is selected and started at time t0, where the I picture I (25) is decoded and displayed. As mentioned above, the next picture required for reverse trick-play decoding is the I picture I(13), so, as indicated by arrow J1, the converter is moved to obtain picture I(13). Then, signal recovery and decoding follow the playback sequence indicated in Fig. 1B, I (13) is obtained by arrow J1, P (16) by arrow J2, P (19) by arrow J3, P (22) by arrow J4 ) and obtained by the arrow Jn . . . As specifically required by each trick-play mode, the inserted B-picture shown in Figure 1B is converted, but may be discarded, for example by overwriting the buffer or disabled by the decoder. To avoid the previously described need for an additional reverse mode video buffer, various beneficial methods are used for the MPEG decoder, buffer memory control and allocation.
可以位流41或光道缓存器60A中引用的扇区为单位完成图像数据的确定。然而,因为MPEG图像开始代码在DVD数据格式内埋藏并且不约束与扇区边界同时开始,以扇区为单位的图像开始代码的结果位置不可避免地包括一个先前的、可能的非视频扇区的段。图5A示出包括视频目标单元的示例性位流41部分,该单元包含音频视频和子图像数据扇区。每个扇区包含2048个有效负载字节,具有扇区边界阴影示出的扇区地址。在图5B中示出视频图像A在扇区54结束并且紧接着跟随有用于视频图像B的开始代码。然而,视频图像B开始代码的剩余部分在扇区65产生,插入的扇区55-64包含子图像和音频数据。在图5C中说明以扇区为单位的图像数据/视频扇区的确定或定位,这里,用于示范图像A的开始代码在扇区2中示出,下一个图像B的开始代码在扇区9产生。方程式1示出由扇区计数的图像数据位置,因为图像A在扇区2开始并且在扇区9结束,图像A具有8个扇区的持续时间。图5C说明了不需要的数据碎片,这里参照(视频)扇区编号描述视频数据。然而,这种视频扇区编号可能与再现位流中的地址或扇区编号直接相关。在图5C中,视频位流用描述的示范图像A示出,图像A具有在视频扇区2的字节1000启动的图像开始代码。很清楚,扇区2前面的999个字节相应于来自先前图像的数据。当图像数据以字节为单位定位时可能使用更详细的处理。字节精确处理可能要求比扇区级别精确度所需的更复杂的存储器控制。然而,如果使用字节精确处理,则只能将整个图像数据存储在视频位缓存器中,这样,这些碎片被清除并且避免了MPEG译码器530的挂起。在图5C中示出用于示范图像A的字节精确图像确定,这里,图像开始代码在视频扇区2的字节1000开始并且图像B开始代码在扇区9的字节500开始。因此,通过使用方程式2,图像A的大小可以计算为13,835个字节。这样,字节精确图像地址允许微处理器510指向示例性视频位缓存器60B中的特定字节,图3的可变长度译码器VLD531由此字节开始译码。Determination of image data may be done in units of sectors referenced in the
如果图像数据以扇区为单位确定,自视频位缓存器读取图像的MPEG译码器必须防止由于在需要的图像译码之前或之后产生的丢弃图像碎片而被挂起。图5D的示范视频位缓存器中描述了这种图像碎片,该图示出多个包含P和B图像的扇区,这里来自先前的或以后图像的不需要的数据以对角线阴影的方式示出。每个视频目标块单元或VOBU包括导航数据,该数据识别第一个I图像的结束扇区地址和VOBU的第一个GOP两个后面的参考或P图像的最后扇区地址。另外,导航数据包括在先前和随后VOBU中的I图像的扇区地址,因此,可以容易地提供仅用于特技模式的I图像。然而,如果能够识别所需图像的结束字节,则可以避免由图像碎片产生的问题。微处理器510/A例如ST20类型被有益地配置为硬件搜索引擎,它搜索存储在光道缓存器的数据以定位存储在缓存器60A的结束扇区内的I图像的结束字节。这样,通过识别I图像,它单独可以加载到视频位缓存器60B,因此,避免了可能引起译码器锁定问题的部分图像存储。示例性微处理器510/A可以用于找出仅在I图像模式下的开始代码,因为由导航数据已经知道结束扇区。然而,对于P、B或多个I图像,示例性微处理器不能提供实际的解决方案,因为必需完成对位流数据的每个字节的测试,它表示微处理器510的操作上的集中使用。If the picture data is specified in units of sectors, an MPEG decoder reading a picture from the video bit buffer must prevent being hung up due to discarded picture fragments occurring before or after the desired picture is decoded. Such picture fragmentation is depicted in the exemplary video bit buffer of Figure 5D, which shows multiple sectors containing P and B pictures, where unwanted data from previous or subsequent pictures is shaded diagonally Shows. Each Video Object Block Unit or VOBU includes navigation data identifying the ending sector address of the first I-picture and the last sector address of the two following reference or P-pictures of the first GOP of the VOBU. In addition, the navigation data includes sector addresses of I pictures in previous and subsequent VOBUs, so that only I pictures for trick mode can be easily provided. However, problems caused by image fragmentation can be avoided if the end byte of the desired image can be identified.
通过一种配置可以方便地实现译码之前开始代码的定位和确定,该配置利用图3的链路接口块505来搜索光道缓存器60A之前位流中的开始代码。链路接口505的这种使用有益地对图像和/或可能发送到微处理器510的音频标题提供早期的预处理或分析。这样,识别了光道缓存器之前输入位流的标题后,由特定的特技模式要求的图像和音频可以存储在示例性光道存储器60A中,同时不需要的图像和/或其它数据通过重写在缓存器中删除。Locating and determining the start code prior to decoding is conveniently accomplished by an arrangement that utilizes the link interface block 505 of FIG. 3 to search for the start code in the preceding bitstream of the
在第一种配置中,通过使用开始代码检测器520来定位开始代码,该检测器搜索机械/光道缓存器60A或视频位缓存器60B中的位流。虽然这种方法具有一个优点,即MPEG开始代码检测器的设计是公知的,然而检测器要求连续的数据。因此,只有视频位缓存器中的数据、除去DVD和传送数据结构可以被搜索。这样,搜索机械/光道缓存器内的MPEG数据可能很难实现,不能最优地使用存储器,示例性微处理器510可能由于一些中断而加重负担,这样,要求增加第二微处理器例如510A专用于实现开始代码检测。In a first configuration, the start code is located by using a
在一种有益的配置中,通过开始代码检测器便于实现开始代码检测,开始代码检测器在光道缓存器60A之前或之中搜索专用于MPEG开始代码的位流。这样,通过有益地对位流内MPEG视频标题提供早期的分析,可以预计特技播放图像需求并且可以完成专用于特技播放操作的存储器操作。在特技模式操作期间,同样有益的分析可以应用于视频位缓存器之前的视频分组流。例如,在反向重放模式下,这种预处理允许图像之间的特技播放的特定选择被缓存用于译码,并且那些不需要的图像在存储之前被丢弃。在特技播放操作期间,这种图像选择例如丢弃B帧可能近似于使存储在示例性视频位缓存器60B中的I和P图像的数量扩大一倍。这样,从不需要数据中识别出需要数据是在缓冲存储之前预处理或分析的直接结果,它允许视频位缓存器60B仅存储需要的或特技播放的特定图像。因此,可以存储更多的特技播放的特定视频目标单元或VOBU,以便于平滑特技播放运动的再现。In an advantageous arrangement, start code detection is facilitated by a start code detector which searches for a bitstream dedicated to the MPEG start code before or in the
在一种有益的配置中,通过仅选择随后使用的存储数据,在特技播放模式期间,光道缓存器60A和视频位缓存器60B的存储容量增加。例如,在示例性特技播放模式中,B帧可能不被译码,因此,不需要存储在光道或视频位缓存器中。这样,只有需要的图像被存储,不需要的图像或其它数据被丢弃。为了便于实现需要和不需要图像之间这种有益的选择,要求位流或视频分组流被预处理、分析或搜索,以在存储之前定位序列_标题、图像组_标题或图像_标题。这样,压缩位流的分析或预处理允许确定MPEG参数如时间_代码、闭合_图像组以及断开的_链路数据用于每个图像组或GOP。另外,通过预处理分组流,图像_开始_代码可以被定位,这样允许处理图像_标题,接下来,允许确定例如时间_参考、图像_编码_类型(I、P和B)。然而,如已经描述的,由于DVD将MPEG类型的数据分为2048个字节的扇区,这种有益的MPEG分析是很难的。另外,因为MPEG开始代码(4个字节)不是扇区对准的,可以经过扇区边界分配示例性图像开始代码。图5B说明光道缓存器60A之前的位流,这里视频图像A在扇区54结束并且后面立刻跟随了用于视频图像B的开始代码。然而,视频图像B开始代码的剩余部分在扇区65中产生,插入扇区55-64包含子图像和音频数据。图5C说明在视频位缓存器60B之前的去多路复用视频扇区位流,这里用于示范图像A的开始代码在扇区2中示出,下一个图像B的开始代码在扇区9中产生。用于图像C的分配的开始代码出现,它在扇区12的第2046个字节启动并且在扇区13继续。因此,开始代码的部分与下一个视频扇区的剩余部分在一个视频扇区中。In one advantageous configuration, the storage capacity of
为了能够分析具有分配的开始代码的位流,图6示出一种本发明的示范方法。该示范方法识别并且存储扇区类型和地址,另外,识别和存储需要的开始代码。通过使用本发明部分开始代码标记,该标记表示开始代码出现,识别和存储分配的或部分的开始代码。发生在下一个视频扇区的开始代码剩余部分被识别并恢复以完成开始代码。图6的本发明方法描述了应用于光道缓存之前的位流41的搜索和MPEG分析。搜索位流,用于需要的扇区例如视频扇区,然后搜索分配的开始代码。通过包含例如音频、子图像、导航数据等的其他非视频扇区可以与分配的开始代码分开。这样,位流被搜索并且随后的视频扇区被识别和处理,同时当前不需要的插入的非视频扇区例如在特定的特技模式期间不被处理,并且在示例性光道缓存器60A上存储或重写之前可以被丢弃。这样,识别了下一个视频扇区后,搜索分组数据以定位下一个开始代码。然而,因为部分开始代码被设置,部分开始代码的剩余部分被搜索,同时这个剩余部分与先前视频扇区的代码组合以完成开始代码。In order to be able to analyze a bit stream with assigned start codes, FIG. 6 shows an exemplary method according to the invention. The exemplary method identifies and stores the sector type and address, and additionally identifies and stores the required start code. Allocated or partial start codes are identified and stored using the present invention's partial start code markers, which indicate start code occurrences. The remainder of the start code that occurs in the next video sector is recognized and restored to complete the start code. The inventive method of Figure 6 describes the search and MPEG analysis of the
图6的示范图说明用于位流搜索以识别需要的扇区地址、图像类型和地址以及用于检测和重新装配分配的开始代码的本发明方法。该方法在步骤10开始,这里搜索纠错位流以从多个扇区定位特定的需要扇区,这些扇区包括导航、音频视频扇区、子图像数据扇区。在步骤100检测视频扇区,这里,”否”的结果形成继续位流搜索的环路。类似地,音频扇区可以在步骤105检测到并且它的扇区地址因此被存储。如果步骤100测试为”是”,则检测到视频扇区并且该扇区地址在步骤101被存储。检测的视频扇区在步骤200启动另一个测试以检测视频扇区内的开始代码。步骤200描述了图像开始代码,然而,可能存在各种开始代码,例如序列标题、GOP标题或图像标题都在视频扇区内存在,因此,任何一个都可能经过扇区边界分配。在步骤200的”否”形成继续搜索视频扇区内开始代码的环路。在步骤200的”是”表示检测开始代码,该代码启动另一个测试以在步骤250检测部分开始代码。如图5B和5C说明的,当由于扇区边界和扇区地址出现而中断时,可以认为同时和顺序地发生步骤200和250描述的部分和整个开始代码之间的确定,因为任何开始代码变为部分的或不完整的。在步骤250的”否”形成等待部分开始代码发生的环路。另外,在步骤250的”否”也表示完整开始代码的检测,它在步骤255测试以确定是否为需要的类型。在步骤255需要的开始代码测试为”是”导致在步骤260存储扇区地址内的类型和字节位置。Figure 6 is an exemplary diagram illustrating the method of the present invention for bitstream searching to identify required sector addresses, image types and addresses and start codes for detection and reassembly allocations. The method begins at
在步骤250的部分开始代码检测得到”是”,它使得该序列重新开始搜索位流以通过环路返回步骤100来定位下一个视频扇区。在步骤250的”是”也启动步骤300的测试以确定是否设置了部分开始代码标记。直到检测到第一个分配的或部分的开始代码才设置部分开始代码标记。这样,在步骤300的”否”使得在步骤350设置部分开始代码标记,另外,在步骤400存储部分开始代码的值。在步骤300的”是”表示检测到分配的开始代码的剩余部分并且在步骤500导致复位部分开始代码标记。在步骤300的”是”还导致在步骤450存储检测的开始代码剩余部分。在步骤550,来自步骤400的部分开始代码值和来自步骤450它的剩余部分被组合以改进分配的开始代码。最后,在步骤575,存储改进的开始代码类型、字节和扇区地址。因此,描述的本发明方法识别和存储特定的扇区类型和地址,识别和存储扇区内的开始代码类型和字节地址,以及识别和重新装配分配的开始代码段。这样,在缓冲存储之前,可以分析DVD格式位流以确定例如特定的MPEG编码的图像类型。The partial start code at step 250 detects "Yes", which causes the sequence to restart searching the bitstream to locate the next video sector by looping back to step 100. "YES" at step 250 also initiates the test of step 300 to determine if the partial start code flag is set. The partial start code flag is not set until the first assigned or partial start code is detected. Thus, "NO" at step 300 causes the partial start code flag to be set at step 350 and, additionally, the value of the partial start code at step 400 to be stored. A "YES" at step 300 indicates that the remainder of the assigned start code was detected and at
根据已知的在视频位缓存器中图像开始和停止的位置,可以有益地控制MPEG图像译码次序。这样,由已知的视频位缓存器60B中图像位置,例如图5C说明的或如图6的位流搜索所确定的,允许开始代码检测器520和可变长度检测器531中的存储器开始指针有益地指向例如特技模式操作期间所需的随机存取图像。在播放速度和/或慢运动重放的反向操作要求再现B帧。通过反向相邻B图像译码的次序,根据缓冲存储器要求,可以有益地简化这种反向模式操作。通过设置存储器开始指针有益地获得这种反向的译码次序,使得能够译码特技模式所需的图像。另外,在特技播放模式期间,通过如特定的特技播放算法要求的有益地跳过或不读视频位缓存器中的图像,可以简化缓冲存储器的大小和控制。在特技播放缓存期间,通过有益地使多个图像译码立即或如特技播放算法特别要求的进行,可以进一步最佳化存储器大小和控制。提供这些有益的特征要求小心地控制读/写功能和它们之间的同步。The MPEG picture decoding order can be advantageously controlled based on the known positions in the video bit buffer where pictures start and stop. Thus, from a known picture position in
在特技模式操作期间,特别在反向播放速度操作期间,要求最大的图像缓存器容量以存储图像组用于以反向次序读出。在这种特技模式期间,某些播放机功能或特征可能不被要求、可以是无用的或不可用。这种功能或特性包括音频、多种语言、子图像和屏幕显示并且都利用缓冲存储器容量。这样,在特技模式操作期间可以重新分配这些功能或特征未使用的缓冲存储器容量以提供另外的图像存储。然而,在某些特技模式,例如快速播放模式期间,可能对于以高速再现的伴随音频以及被校正帮助场景定位的间距存在一有益的要求。另外,可能要求一个有限的屏幕显示以指示特技播放速度和方向。这样,未使用的缓冲存储器容量可以动态地重新配置以有益地便于特技模式下缓存压缩的图像、译码的帧预测器以及视频显示字段。During trick mode operation, particularly during reverse play speed operation, the maximum picture buffer capacity is required to store groups of pictures for readout in reverse order. During this trick mode, certain player functions or features may not be required, may be useless or unavailable. Such functions or features include audio, multiple languages, sub-images, and on-screen displays and all utilize buffer memory capacity. In this way, buffer memory capacity not used by these functions or features can be reallocated to provide additional image storage during trick mode operation. However, during certain trick modes, such as fast play mode, there may be a beneficial requirement for the accompanying audio to be reproduced at high speed and the pitch corrected to aid scene positioning. Additionally, a limited on-screen display may be required to indicate trick-play speed and direction. In this way, unused buffer memory capacity can be dynamically reconfigured to advantageously facilitate caching compressed images, decoded frame predictors, and video display fields in trick modes.
在一个本发明配置中,SDRAM缓冲存储器60E-60H在正向和特技播放模式操作之间在功能上重新分配。在正向播放模式期间分配给音频60E、子图像60G的存储器容量可以在特技播放期间使用以提供另外的压缩图像存储,以增大视频位缓存器60B并且提供另外的预测器帧用于译码。类似地,例如缓冲存储器可以被重新分配,对于某些特技播放模式可能不要求存储多余的压缩图像,这样,未使用或不要求的缓冲存储器容量被重新配置以提供如图3的60H描述的输出显示缓冲存储器。输出显示缓冲存储器可以存储视频数据的帧或字段用于显示。该动态分配的存储器便于输出图像并且不用作预测器,这样,简化了特技模式操作期间的存储管理。如已经描述的,通过用户选择可以启动存储器重新分配,然而,通过有益存储的特技播放序列要求和/或使用从压缩图像类型的位流分析识别得到的有益的图像预测,可以确定动态分配。In one inventive configuration, SDRAM buffer memory 60E-60H is functionally reallocated between forward and trick play mode operation. The memory capacity allocated to audio 60E, sub-image 60G during forward play mode can be used during trick play to provide additional compressed image storage, to augment
在另一种有益的配置中,在特技播放操作期间,通过在缓冲存储之前对译码的图像数据水平二次采样,帧缓冲存储器容量可以被有效地扩大一倍。根据来自控制器510的特技模式控制命令,例如通过示范块62实现的水平二次采样对相邻的像素对的值进行水平地平均。在图3中,信号S1表示耦合到二次采样器62的全带宽数据,信号S2表示二次采样输出数据。这样,二次采样图像包含近似一半的原始像素数量,因此,要求一半的存储器容量允许图像或视频帧按字段的容量存储。这样,通过在特技播放操作期间水平的二次采样,可以如特技播放算法要求的使用另外的帧缓冲存储器。另外,为了增加特技模式存储器容量,本发明二次采样的使用有益地减少了在特技模式存储器存取期间存储管理器的数据和地址总线控制。例如,只有一半的数据在一半的时间内传送,因此,简化了存储器控制和管理。In another advantageous arrangement, the frame buffer memory capacity can be effectively doubled during trick play operation by horizontally subsampling the decoded image data prior to buffer storage. According to trick mode control commands from the
水平的二次采样图像从例如60C、60D或本发明重新分配的缓存器60H读出由二次采样器62恢复。在图3中,信号S3表示从存储器读出的二次采样的参考图像数据用于像素计数恢复。二次采样器62可以寻址每个二次采样存储器单元两次,然而,这个动作使数据和地址总线利用增加一倍,该利用在存储处理期间被有益地降低。因此,二次采样图像通过复制每个像素值被恢复并且作为信号S4输出用于在MPEG译码之前直接耦合MPEG译码器530。虽然这种方法使缓存器容量扩大一倍并且减少了数据和地址总线利用,但水平空间分辨率降低了。然而,这种水平分辨率的降低发生在特技播放操作期间,但由于增加的图像运动速率,人的心理视觉感觉可能难以觉察这种降低。The horizontally subsampled image is retrieved by
图4的方框图示出如图2描述的相同的功能和部件标号,然而,图4包括将解释的另外的本发明配置。The block diagram of Fig. 4 shows the same functions and part numbers as described in Fig. 2, however, Fig. 4 includes an additional inventive configuration which will be explained.
可以认为图2、图3和图4示出的示例性数字视频光盘播放机包括两个称为前端和后端的部件。前端控制光盘和变换器,后端提供MPEG译码和整个控制。这种功能划分可能表示协调的、稳定状态的MPEG译码的明显的解决方案。然而,例如在特技模式操作期间以及特别当以反向播放时,用后端的这种处理和控制的划分,微处理器可能变得过载。The exemplary DVD player shown in Figures 2, 3 and 4 can be considered to comprise two components referred to as the front end and the back end. The front end controls the disc and the converter, and the back end provides MPEG decoding and overall control. This functional division may represent an obvious solution for coordinated, steady-state MPEG decoding. However, with this division of processing and control at the back end, the microprocessor may become overloaded, for example during trick mode operation and especially when playing in reverse.
如已经描述的,要求微控制器510管理从前端接收的输入位流41并且从不需要的数据中识别出需要的。在第一种有益的装置中,位流41可控地耦合在前端和后端之间。如已经描述的,在图2的示范播放机中,光拾取装置或变换器15可以重新定位。在后端获得的扇区地址经过I2C控制总线514传送到前端伺服系统50以重新定位变换器15。然而,光拾取装置或变换器15根据扇区地址被伺服控制,该地址被舍位以去除最低有效位。该地址舍位允许捕获组中的扇区或16个扇区的块。需要该分组以便于在记录期间借助于ReedSolomon乘积编码和应用在16个扇区上的有效负载数据交织进行纠错(ECC)。这样,从光盘的16个扇区组的ECC获得该信息,一般地,包含需要的扇区地址的检索数据是提前的或先前的由后端处理请求的地址。另外,变换器采用径向或切线运动相对于旋转光盘移动,以得到包含扇区ECC块的光道,需要的扇区地址驻留在这些扇区内。这样,在重新定位后,随着光盘朝向包含要求的或需要的扇区地址的ECC扇区块旋转,变换器重新聚焦并且扇区被转换。因此,如果考虑变换器和需要的扇区地址的定位最不好的情况,可能转换几百个不需要的扇区。因为随着增加的光盘半径扇区的数量增加,再现的不需要扇区的数量也增加。另外,较早的或先前地址的捕获可能要求完整的光盘旋转,它会产生不需要扇区再现。这样,在需要的扇区地址发生之前产生大量的不需要数据。该位流在图4中描述为信号44,并且包含被耦合用于ECC块45和46纠错的需要和不需要的数据。纠错位流从ECC处理输出作为信号41,该信号耦合到后端,这里微控制器510从不需要数据中识别需要的数据。As already described, the
图4示出一种本发明的配置,这里数据信号44从8:16代码解调器输出并且经过控制部件45A例如传输门或逻辑功能,耦合到Reed Solomon纠错块45和46。控制部件45A由部件43控制,部件43的功能是将在块47中纠错并且作为地址信号42输出的、恢复的当前重放扇区地址与表示下一个需要的数据例如图像类型的后端获得的扇区地址53A相比较。通过比较器或逻辑功能可以方便地实现该比较。这样,当重放扇区地址42等于后端要求的地址53A时,信号43A允许解调数据输出耦合到纠错缓存器块ECC 45和46。因为纠错应用于16个扇区组,执行要求地址与实际地址的比较,使得包含需要扇区的ECC扇区块能够用于Reed Solomon校正。例如,采用舍位的最低有效位的地址便于实现扇区地址比较。Figure 4 shows an arrangement of the present invention where a data signal 44 is output from the 8:16 code demodulator and coupled to Reed Solomon error correction blocks 45 and 46 via control elements 45A such as transmission gates or logic functions. The control section 45A is controlled by a section 43 whose function is to obtain the recovered current playback sector address, which is error-corrected in block 47 and output as address signal 42, with the back end representing the next required data, such as the image type. Compared with the sector address 53A. This comparison is conveniently accomplished by a comparator or logic function. Thus, signal 43A allows the demodulated data output to be coupled to error correction buffer blocks ECC 45 and 46 when playback sector address 42 is equal to address 53A required by the backend. Because error correction is applied to groups of 16 sectors, a comparison of the requested address with the actual address is performed so that the ECC sector block containing the requested sector can be used for Reed Solomon correction. For example, addresses with truncated least significant bits facilitate sector address comparisons.
例如,因为B类型的MPEG图像可能占用3个扇区,这里作为I类型MPEG图像可能要求30个或更多的扇区,所以所需的扇区地址表示需要的图像类型的初始数据扇区。另外,表示需要和重放扇区地址基本上相等的信号43A可以被认为表示锁定功能,这里逻辑状态被保持直到需要的地址被改变即直到要求另一个变换器跳转为止。新扇区地址的接收改变了信号43A的状态,它阻止再现的数据直到新的需要的地址在重放信号中出现并且被比较器43检测到为止。换句话说,信号44保持使能纠错,ECC块45和46被使能并且输出信号41被保持,或者简单地说,光盘继续播放直到请求不同的变换器位置为止。For example, since an MPEG picture of type B may occupy 3 sectors, where an MPEG picture of type I may require 30 or more sectors, the required sector address indicates the initial data sector of the desired picture type. Alternatively, signal 43A indicating that the required and playback sector addresses are substantially equal may be considered to represent a lockout function, where the logic state is held until the required address is changed, ie until another converter jump is required. Receipt of a new sector address changes the state of signal 43A, which blocks reproduced data until the new desired address is present in the reproduced signal and detected by comparator 43. In other words, signal 44 remains enabling error correction, ECC blocks 45 and 46 are enabled and
通过比较舍位的扇区地址可以执行需要的扇区的检测重放发生,以确保纠错缓存器45和46填满RS校正所需的扇区数量。在另一个实施例中,利用信号45B可以采用相同的检测重放发生,以控制或使能纠错缓冲存储器45和46的操作。在本发明的另一种配置中,只有要求的扇区被使能经过输出控制部件46A。部件46A的选择与部件45A和45B提供的控制不同,因为交织或混洗的数据格式,使能包含所需扇区的ECC块。通过比较实际的重放扇区地址和要求的或需要的地址可以完成需要的重放扇区的检测。然而,因为这个控制功能基本上在纠错和利用缓冲存储器去混洗之后完成,最后的输出信号41被延迟至少一个ECC块的时间周期。因此,纠错的输出信号相应于作为在ECC缓存器输入端出现识别的需要的数据(地址)之前转换的扇区组。很清楚,因为缓冲延迟是已知的,例如通过使用作为t描述的延迟方法,该延迟可以在到部件46A的信号43A的控制耦合中被补偿。控制部件46A被描述为一个串联型开关部件,它能够使能或禁止提供到后端的位流。这样,适当定时来补偿处理和缓冲延迟的信号43A可以应用于选择地使能解交织位流41传输到处理块500。先前的本发明实施例的使用允许只有来自要求扇区的转换数据耦合到后端用于存储和译码,这样,减少了微处理器510的工作负担。Detection of the required sectors for replay to occur can be performed by comparing the truncated sector addresses to ensure that the error correction buffers 45 and 46 are filled with the number of sectors required for RS correction. In another embodiment, the same detect replay occurrence may be employed using signal 45B to control or enable operation of error correction buffer memories 45 and 46 . In another configuration of the present invention, only required sectors are enabled through output control section 46A. The selection of component 46A differs from the control provided by components 45A and 45B because of the interleaved or shuffled data format, enabling the ECC block containing the desired sector. Detection of the desired replay sector can be accomplished by comparing the actual replay sector address with the desired or desired address. However, since this control function is basically performed after error correction and deshuffling with the buffer memory, the
如已经描述的,转换信号31在块40中解调以去除8:16调制,并且产生输出信号44和44A。信号44被耦合用于解交织和纠错,信号44A被单独纠错以产生重放扇区地址。在图4的ECC缓冲存储器45和46中完成解交织和纠错。每个缓存器存储按照阵列安排的重放数据流的16个扇区以便于解交织和/或使能要求的行和列乘积处理。级联的ECC缓冲存储器对于以1倍的旋转速度的再现的串行位流引入一个延迟,它可以近似为下面计算的(2*16*1.4)毫秒,这里2表示ECC缓存器45和46,16表示应用校正的扇区,1.4毫秒表示在1倍旋转速度的扇区周期。这样,再现的顺序位流被延迟近似45毫秒的最小值。As already described, the converted
在ECC块47处理位流44A以纠错扇区识别地址。然而,因为扇区地址较短并且是扇区特有的,纠错块47对于重放扇区地址信号42引入一个可忽略的延迟。Bitstream 44A is processed at ECC block 47 to correct sector identification addresses for errors. However, since sector addresses are short and sector specific, error correction block 47 introduces a negligible delay in replaying sector address signal 42 .
如已经描述的,纠错位流经历一个纠错延迟。在后端接收位流41,这里各种MPEG分组与DVD数据分开。视频分组存储在示例性缓存器60B中以由MPEG译码器530译码。如上所述,译码器530传送信号513到控制器510以表示每个译码图像的完成,它接着捕获要被译码的下一个图像。因此,在特定图像例如在图5A标记为A的视频扇区中包含的图像结束时,由译码器产生信号513。需要用于译码的示例性下一个图像必须从光盘中恢复,因此,变换器15必须重新定位到包含需要图像的扇区地址。图5A示出耦合到缓存器60A的位流41部分,包括由多个扇区组成的视频目标单元,每个扇区包含视频、音频、子图像和导航数据。由于下一个扇区地址出现,或者在如信号513指示的MPEG译码之后,在光道缓存器60A中或之前可以有益地确定扇区A的结束。因此,图5A中标记”下一个”的箭头示出从微处理器510到前端的下一个扇区地址请求的近似定时的发生。通过根据中断优先级延迟发出需要的扇区请求的I2C控制总线传送这个地址和跳转请求。As already described, an error correcting bitstream undergoes an error correction delay. The
在另一种有益的配置中,微控制器510中断的中断优先级在操作模式之间重新排序。例如,在正向播放模式下,存储器寻址和控制请求与特技模式操作下以及特别在反向播放速度操作期间的要求是不同的。在特技模式操作期间某些特征以及因此它们的存储器和MPEG译码器控制是不需要的。例如,在特技模式操作期间音频译码和子图像处理是不需要的,因此,地址、数据和控制总线中断优先级可以分配较低的优先级,而较高的优先级分配给从光道和视频位缓存器存取图像。In another advantageous configuration, the interrupt priorities of
在特技模式操作期间请求扇区的及时捕获是特别重要的。然而,如已经描述的,根据后端处理的需要扇区捕获的执行形成具有多个延迟部件的控制环路。图4示出一个本发明配置,它减少了在扇区捕获中的延迟,简单地说,它允许最后的需要扇区的检测重放出现以启动变换器运动到先前接收的新扇区地址。图5A示出的箭头B被定位来指示重放的位流41或光道缓存器60A与向本发明下一个/结束扇区地址的伺服机构的发出之间的近似时间关系。在图5A中,所示箭头B在阴影示出的导航包已经从位流中读出之后很短时间内发生。在图像A,示出的箭头”下一个”说明信号513近似于七个扇区以后发生(译码完成)。然而,实际上,I和P类型图像包含了比图5A描述的多很多的扇区,因此,相应于地址和跳转请求发出的箭头”下一个”发生的比说明的晚很多。这样,在导航包捕获和/或有益的图像/扇区地址确定和表格结造后,本发明下一个/结束扇区地址由微控制器510产生。使用下一个/结束扇区地址识别出需要的扇区地址可以在时间上与跳转的变换器指令分开。采用根据第一个不需要扇区地址再现执行的变换器跳转,下一个/结束扇区地址被有效地预加载在变换器伺服系统中。因为扇区地址不经历位流41的冗长的ECC延迟,在最后的不需要扇区从ECC块45和46出现之前移动变换器。Timely capture of requested sectors is especially important during trick mode operation. However, as already described, the execution of required sector acquisition according to the back-end processing forms a control loop with multiple delay components. Figure 4 shows an inventive arrangement which reduces the delay in sector acquisition, simply by allowing detection replay of the last required sector to occur to initiate the changer movement to the previously received new sector address. Arrow B shown in FIG. 5A is positioned to indicate the approximate timing relationship between replayed
在图4中,通过I2C控制总线514传送控制数据,该总线将下一个需要的重放扇区地址传递到伺服控制系统50。下一个需要的重放扇区地址由微控制器510产生,该控制器处理来自存储的特技播放、特定速度序列、重放的和存储的导航数据或者来自有益确定的重放图像数据的地址数据。下一个地址从I2C总线读出并且存储在部件53中。I2C数据还包括本发明的结束/最后的扇区地址,或第一个不需要的扇区地址。结束/最后的扇区地址可以由恢复和存储的导航数据获得,然而,这仅仅提供了有限数量的预定图像地址,这样,对于特技模式,采用有益确定的图像扇区地址的结束。结束/最后的扇区地址从I2C总线读出并且存储在部件52中。最后的扇区地址可以在总线传输之前或在接收后修改,以防止需要扇区丢失,通过例如对扇区地址加上一个单位计数,这样确保寻址和检测第一个不需要扇区。最后的扇区地址或修改的地址52A被耦合用于与示例性比较器51中的重放扇区地址信号42相比较。这样,当重放扇区地址42等于地址52A时,第一个不需要扇区将要被转换并且比较器51产生控制信号51A。控制信号51A使能自部件53的耦合,例如通过加载或移动存储的地址数据到伺服机构,或如描述的由示例性选择器开关54,该开关耦合下一个扇区地址到伺服系统并且启动变换器15的重新定位。如已经描述的,变换器移动到包含下一个需要图像的光道并且当再现需要的图像时数据输出信号41被有益地由部件43使能。In FIG. 4, the control data is communicated via the I2C
变换器继续跟随再现由后端处理的需要扇区的光道。根据从这些扇区恢复的数据,产生一对新的下一个和结束扇区地址并且经过I2C传送。这些新的地址如前面一样被接收和存储在部件52和53中。然而,为了避免在新的结束扇区地址被部件51重放和检测之前启动变换器跳转,示例性选择器54被复位或打开,防止过早地启动和捕获新的扇区地址。The changer continues to follow the tracks rendering the required sectors for processing by the backend. Based on the data recovered from these sectors, a new pair of next and end sector addresses are generated and transmitted via I2C . These new addresses are received and stored in
通过比较基本上不延迟的重放扇区地址和预加载的需要扇区地址,上面描述的本发明变换器控制序列启动变换器运动,这样,避免了捕获新的重放位流中的延迟,便于增强特技模式操作。The inventive transducer control sequence described above initiates transducer motion by comparing the substantially undelayed replay sector address with the preloaded desired sector address, thus avoiding delays in capturing a new replay bitstream, Facilitates enhanced trick mode operation.
如公知的,通过编码图像分级,确定MPEG图像译码次序,因此,遵循正向模式操作的译码序列。然而,根据预定的特技播放算法要求的图像序列和已知的视频位缓存器中图像开始和停止的情况,通过控制MPEG图像译码次序,可以有益地实现特技播放操作。这样,例如图5C计算的或如图6的位流搜索确定的,已知视频位缓存器60B中图像位置允许开始代码检测器520和可变长度检测器531中的存储器开始指针有益地指向例如在特技模式操作期间要求的随机存取图像。图5D所示的示范视频位缓存器包含如上所述的图像碎片。开始代码检测器存储器指针如箭头SCD描述,该箭头搜索示例性视频位缓存器以定位MPEG开始代码。然而,在第一个P图像的第三个扇区,开始代码检测器存储器指针SCD1指示来自下一个、但不需要的图像的开始代码的检测。因此,如图5D的箭头SCD2表示的,通过有益地引导开始代码存储器指针到已知的字节准确的存储器位置,避免了不需要的图像和不合乎需要的译码器的挂起。As is known, the MPEG picture decoding order is determined by the coded picture hierarchy, thus following the decoding sequence for forward mode operation. However, trick-play operation can be advantageously implemented by controlling the MPEG picture decoding order based on the sequence of pictures required by the predetermined trick-play algorithm and known picture starts and stops in the video bit buffer. Thus, knowing the picture position in
在另一种有益的特技模式配置中,来自先前图像的不需要数据被清除输入和输出FIFO,开始代码检测器(SCD)520和可变长度译码器(VLD)531的先进先出寄存器。图3描述的信号521/532清除或复位相应的FIFO以清除来自先前译码操作的剩余数据。这种FIFO的清除或冲洗确保SCD和VLD采用来自示范位缓存器60B的新数据开始下一个译码操作,这样,消除了由剩余的先前数据产生的译码器误操作的另一个源。In another advantageous trick mode configuration, unneeded data from previous pictures is flushed into and out of the FIFO, start code detector (SCD) 520 and variable length decoder (VLD) 531 first-in-first-out registers.
在播放速度的反向操作要求再现B帧,并且在另一个特技模式下,根据与译码相邻的B图像次序相反的缓冲存储器请求,有益地简化了最佳化反向模式操作。通过设置或控制存储器开始指针以使能特技模式要求的特定图像的译码,有益地反向了译码次序。在另一个特技模式最佳化中,根据如特定的特技播放算法要求的寻址操作,通过有益地跳过或不读出视频位缓存器的图像,在特技播放操作期间可以简化缓冲存储器大小和控制。通过立即的或如特技播放算法特别要求的,有益地使能多个图像的译码,可以在特技播放期间进一步最佳化存储器大小和控制。提供的这些有益的特征要求认真地控制读/写功能和它们之间的同步。Reverse operation at playback speed requires rendering of B frames and, in another trick mode, buffer memory requests in reverse order from decoding adjacent B pictures, advantageously simplifying optimized reverse mode operation. By setting or controlling the memory start pointer to enable the decoding of the particular picture required by the trick mode, the decoding order is advantageously reversed. In another trick mode optimization, buffer memory size and control. Memory size and control can be further optimized during trick-play by advantageously enabling the decoding of multiple images immediately or as specifically required by the trick-play algorithm. The beneficial features provided require careful control of read/write functions and synchronization between them.
在另一种特技模式最佳化中,通过跳过图像译码促进音频视频同步或声像吻合的译码器控制能力在特技模式操作期间在控制范围内有利增加并且被利用,以允许在2个和至少6个之间可选择的多个图像被跳过或不译码。通过跳过每个GOP内的B图像,这种图像操作有利促进在六倍播放速度下的特技播放操作。In another trick mode optimization, the controllability of decoders to facilitate audio-video synchronization or panning by skipping picture decoding is advantageously increased over the control range and exploited during trick mode operation to allow A selectable number of pictures between 1 and at least 6 is skipped or not decoded. This picture manipulation advantageously facilitates trick-play operation at six times playback speed by skipping B-pictures within each GOP.
除了对于特技模式操作的存储器控制和分配要求以外,通过例如在字段周期内译码I或P图像和写译码结果以显示和/或存储器存储的基本上同时的操作,可以有益地最佳化MPEG译码。假定具有不使用缓冲存储器译码B类型图像的能力。这种B类型图像译码称之为空中B帧(Bframes-on-the-fly)(BOF)。另外,通过将译码字段写入存储器并且同时从同一个存储器内交织单元读出显示字段,可以有益地增强特技播放操作。显示字段可以来自时间上分开的图像。这种基本上同时的读写操作可以在显示字段周期内完成。然而,译码的字段不必重写或与显示字段读出冲突。由于能够不用缓冲存储器来译码,B图像不需要这种交织的读写操作。In addition to the memory control and allocation requirements for trick mode operation, it can be beneficially optimized by substantially simultaneous operations such as decoding an I or P picture within a field period and writing the decoded result for display and/or memory storage MPEG decoding. Assume the ability to decode B-type pictures without using buffer memory. This B-type image decoding is called Bframes-on-the-fly (BOF) in the air. Additionally, trick-play operations can be beneficially enhanced by writing decoded fields to memory and simultaneously reading display fields from the same in-memory interleaving unit. Display fields can be from temporally separated images. Such substantially simultaneous read and write operations can be performed within a display field period. However, decoded fields do not have to overwrite or conflict with display field reads. B-pictures do not require such interleaved read and write operations because they can be decoded without a buffer memory.
在一个具有反向特技播放译码的示范播放机中,位流或光道缓存器60A用于存储从介质恢复的压缩的MPEG视频位流。光道缓存器60A或压缩的视频位缓存器60B可以用于促进多个单独的MPEG图像的存取。译码的特技播放输出信号必须与TV信号标准相符以允许正常TV接收机的显示。下面的例子说明用于DVD播放机中MPEG译码的本发明控制序列。图7是说明本发明配置的图表,用于视频播放机中3倍播放速度(3倍)的反向特技播放模式。该示例性图表具有表示MPEG编码的I图像和P图像的列,这些图像包括图像组或GOPA、B、C和D。每个GOP包含十二个不是从影片源获得的图像。In an exemplary player with reverse trick-play decoding, bitstream or
在这个示例性特技播放序列中,采用提供反向次序译码和显示译码视频的MPEG译码器和两个帧缓存器的有益配置可以方便地实现反向译码。在这个例子中,只有I图像和P图像被译码,因此,只有它们在图表上列出。图7说明了37个编码图像的序列,括号中表示图像编号。最右列标记为“输出字段#”,表示以字段周期为单位递增的时间轴。第一个字段,输出字段#1标记特技播放再现的开始。图表中每一行示出发生在相应字段周期内的本发明处理。图7中使用了下面的缩写。帧缓存器被编号为1和2。大写体“D”表示译码特定列的顶部指示的图像/帧。译码图像并且存储其结果的过程由“D>1”描述,这里该数字表示目的地帧缓存器号码即1。小写体“d”表示来自特定列的帧的字段的显示。可以选择输出字段以保存输出信号交织序列。为了提供连续的输出字段序列,很清楚要求图表的每行包含一个字段显示指令“d”。In this exemplary trick-play sequence, reverse decoding is conveniently accomplished with an advantageous configuration of an MPEG decoder and two frame buffers that provide reverse order decoding and display of the decoded video. In this example, only I-pictures and P-pictures are decoded, so only they are listed on the diagram. Figure 7 illustrates a sequence of 37 encoded images, with image numbers indicated in parentheses. The rightmost column is labeled "Output Field #" and represents the time axis incrementing in field periods. The first field,
图7说明的序列在输出字段#1开始,这里I图像I(37)被译码和存储在帧缓存器1即60C中。在译码I图像(37)的同时显示一个字段例如I帧(37)的顶部字段。使用有益的译码器530以便于译码和同时显示译码的视频信号。在输出字段#2期间,MPEG图像I(25)从位流缓存器60B中检索、译码和存储在帧缓存器2即60D中。同时,另一个字段例如从帧缓存器1即60C读出的I(37)的底部字段被显示。The sequence illustrated in Figure 7 begins at
在输出字段#3周期期间,举例说明本发明一个方面的动作发生。在字段#3期间,通过从帧缓存器1即60C读出,重复示例性I(37)的顶部字段。在I(37)的重复的顶部字段读出的同时,参照I(25)译码预测的图像P(28)并且存储在帧缓存器1即60C中。用准确地同步定时,译码帧P(28)被写入帧缓存器1即60C中。通过图像I(37)显示字段读出后在逐行基础上顺序地译码图像P(28),获得这种同时操作。帧缓存器1的顺序读出和写入是这个示例性译码器和存储器管理系统提供的另一个有益的性能。During the
在输出字段#3结束时,GOP C的图像I(25)和P(28)分别存储在帧缓存器1(60C)和1(60D)中。然而,这些帧表示时间上较早的事件并且要求能够译码顺序产生的帧例如帧P(31)和P(34)。驻留在存储器2(60D)中的内部编码图像I(25)用于译码帧P(28),但当前不需要。这样,为了提供用于输出字段#4的显示,采用帧I(37)重写帧存储器2,从视频缓存器60B重读并且译码。为了保持输出交织字段序列,帧I(37)的适当的字段从帧缓存器2取出用于显示。在输出字段#5,重复在字段#3完成的有益的同时处理。通过从帧缓存器2读出图像I(37)的字段,获得输出字段#5。同时,图像P(31)参照来自帧缓存器1的图像P(28)来译码,并且译码结果存储在缓存器2中。这样,这个示例性三倍反向重放的前五个输出字段包括静止的、或冻结的I图像(37)的图像。然而,在输出字段#5结束时,采用分别存储在帧缓存器1和2的图像I(28)和P(31)开始,产生特技播放输出信号。At the end of
在输出字段#6,预测的图像P(34)从位流缓存器60A或视频位缓存器60B读出、译码以及没有存储的适当的字段显示。这样,字段#6启动3倍速度反向运动的显示。在输出字段#7,图像P(34)被再次检索、译码并且其他选择的字段被用于显示。先前译码并且存储在帧缓存器2的图像P(31)被读出并且分别地提供输出字段#8和#9。In
在输出字段#9结束时,不再要求存储图像P(31),这样,下一个前面的GOP B的内部编码图像I(13)被获得、译码和存储在帧缓存器2中。输出字段#10和#11从包含预测图像P(28)的帧缓存器1中读出。在读出字段#11的同时,预测的图像P(16)从位流缓存器60B获得、译码并且顺序地存储在帧缓存器1中。因为两个帧缓存器包含下一个前面的GOP B的锚帧,输出字段#12和#13以输出字段#6和#7相同的方式获得。预测的图像P(25)从位流缓存器60B中读出、译码以及在不存储的情况下适当的字段被显示。At the end of
这样,如对GOP C描述的处理包含图像I(13)、P(16)、P(19)和P(22)的下一个前面的GOP B。Thus, processing as described for GOP C encompasses the next preceding GOP B of pictures I(13), P(16), P(19) and P(22).
Claims (3)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510113832 CN1783302B (en) | 1998-05-06 | 1998-05-06 | Method for reproducing data in sectors and digital disc player |
HK06109590.9A HK1089282A1 (en) | 1998-05-06 | 2001-09-18 | Method for controlling data reproduced in sectors and digital disk player |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510113832 CN1783302B (en) | 1998-05-06 | 1998-05-06 | Method for reproducing data in sectors and digital disc player |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB988141531A Division CN1274145C (en) | 1998-05-06 | 1998-05-06 | Bit stream processing for replay |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1783302A true CN1783302A (en) | 2006-06-07 |
CN1783302B CN1783302B (en) | 2010-09-29 |
Family
ID=36773356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200510113832 Expired - Fee Related CN1783302B (en) | 1998-05-06 | 1998-05-06 | Method for reproducing data in sectors and digital disc player |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN1783302B (en) |
HK (1) | HK1089282A1 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5502570A (en) * | 1990-02-13 | 1996-03-26 | Canon Kabushiki Kaisha | Images reproducing method capable of skipping reproduction of collateral information during reproduction in a special mode |
JP3161614B2 (en) * | 1991-11-30 | 2001-04-25 | ソニー株式会社 | Video decoding device |
PL180012B1 (en) * | 1994-02-28 | 2000-11-30 | Sony Corp | Method of and apparatus for reproducing data form a data record carrier |
JP3329979B2 (en) * | 1995-02-24 | 2002-09-30 | 株式会社日立製作所 | Optical disk and optical disk reproducing device |
-
1998
- 1998-05-06 CN CN 200510113832 patent/CN1783302B/en not_active Expired - Fee Related
-
2001
- 2001-09-18 HK HK06109590.9A patent/HK1089282A1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
HK1089282A1 (en) | 2006-11-24 |
CN1783302B (en) | 2010-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6222979B1 (en) | Memory control in trick play mode | |
US6154603A (en) | Picture decoding for trick mode operation | |
US7519266B1 (en) | Eliminating picture format artifacts in MPEG trick modes | |
US6298195B1 (en) | Information storage medium, recording method used therefor and reproducing apparatus | |
US6229951B1 (en) | Digital video picture and ancillary data processing and storage | |
WO2004084220A1 (en) | Cpi data for steam buffer channels | |
US6463209B2 (en) | Controlled data flow | |
CN100447883C (en) | Replay Bitstream Processing | |
US6377748B1 (en) | Replay bit stream searching | |
CN1293754C (en) | Changing a playback speed for video presentation recorded in a modified film format | |
US6453114B2 (en) | Random picture decoding | |
US7043584B2 (en) | Interrupt prioritization in a digital disk apparatus | |
CN1134156C (en) | Digital signal reproduction method and device | |
KR20010101566A (en) | Reverse playback of a MPEG video stream | |
JPH10271449A (en) | Data reproducing device and data reproducing method | |
US6320826B1 (en) | Transducer repositioning | |
CN1783302B (en) | Method for reproducing data in sectors and digital disc player | |
CN1783300B (en) | Player and method for producing stunt broadcasting mode video frequency image | |
JP2007104703A (en) | Playback bitstream processing | |
MXPA00010836A (en) | Bit stream processing for replay | |
PL207381B1 (en) | Device for reproduction of digitally coded signal from a carrier | |
JP2000101970A (en) | Device and method of reproducing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1089282 Country of ref document: HK |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: GR Ref document number: 1089282 Country of ref document: HK |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100929 Termination date: 20160506 |