KR101336820B1 - Apparatus and method for decoding specialized multi-channel trick mode - Google Patents

Apparatus and method for decoding specialized multi-channel trick mode Download PDF

Info

Publication number
KR101336820B1
KR101336820B1 KR1020110129226A KR20110129226A KR101336820B1 KR 101336820 B1 KR101336820 B1 KR 101336820B1 KR 1020110129226 A KR1020110129226 A KR 1020110129226A KR 20110129226 A KR20110129226 A KR 20110129226A KR 101336820 B1 KR101336820 B1 KR 101336820B1
Authority
KR
South Korea
Prior art keywords
frame
buffer
decoding
image
bitstream
Prior art date
Application number
KR1020110129226A
Other languages
Korean (ko)
Other versions
KR20130062787A (en
Inventor
홍유표
이화철
Original Assignee
동국대학교 산학협력단
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 동국대학교 산학협력단 filed Critical 동국대학교 산학협력단
Priority to KR1020110129226A priority Critical patent/KR101336820B1/en
Publication of KR20130062787A publication Critical patent/KR20130062787A/en
Application granted granted Critical
Publication of KR101336820B1 publication Critical patent/KR101336820B1/en

Links

Images

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
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • H04N19/426Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements using memory downsizing methods

Landscapes

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

Abstract

복호화 장치는 사용자의 역재생을 요청하는 입력에 따라, 비트스트림에 순차적으로 위치하는 프레임을 역순으로 선택하여 대상 프레임으로 선정하고 상기 대상 프레임을 부호화한 영상을 생성하는 부호화부 및 상기 영상을 출력하는 출력부를 포함하되, 상기 부호화부는 상기 대상 프레임이 P 프레임인 경우, 상기 대상 프레임의 이전에 위치한 I 프레임 중 대상 프레임과 가장 인접한 I 프레임을 부호화하여 참조 영상을 생성하고, 상기 참조 영상을 참조하여 상기 P 프레임을 부호화하는 것을 특징으로 한다.The decoding apparatus selects frames sequentially positioned in the bitstream in reverse order according to an input for requesting reverse playback of the user, selects the target frames, and outputs the encoder and the image generating the encoded images of the target frames. If the target frame is a P frame, the encoder includes an output unit to generate a reference image by encoding the I frame closest to the target frame among the I frames located before the target frame, and with reference to the reference image A P frame is encoded.

Description

다채널 트릭 모드에 특화된 복호화 장치 및 방법{APPARATUS AND METHOD FOR DECODING SPECIALIZED MULTI-CHANNEL TRICK MODE}Decoding apparatus and method specialized in multi-channel trick mode {APPARATUS AND METHOD FOR DECODING SPECIALIZED MULTI-CHANNEL TRICK MODE}

본 발명은 복호화 기술에 관한 것으로, 보다 상세하게는 배속 재생, 역재생을 지원하는 복호화 장치 및 방법에 관한 것이다.
The present invention relates to a decoding technique, and more particularly, to a decoding apparatus and method for supporting double speed playback and reverse playback.

H.264/AVC 등의 표준에 따른 코덱은 감시시스템에서 영상 압축을 위해 주로 사용되고 있다. DVR(Digital Video Recorder)은 감시를 목적으로 한 기록과 재생을 수행하는 장치이다. 최근 들어, 감시 시스템은 복수의 감시 카메라를 이용하도록 구축되고 있고, 카메라의 수가 증가할수록 복호화 장치의 메모리 용량이 크게 증가하는 점이 있다.
Codecs based on standards such as H.264 / AVC are mainly used for video compression in surveillance systems. The DVR (Digital Video Recorder) is a device that performs recording and playback for surveillance purposes. In recent years, a surveillance system has been constructed to use a plurality of surveillance cameras, and as the number of cameras increases, the memory capacity of the decoding apparatus increases significantly.

본 발명의 해결하고자 하는 과제는 배속 재생을 지원하는 복호화 장치 및 방법을 제공하는 것이다.An object of the present invention is to provide a decoding apparatus and method for supporting double speed playback.

본 발명의 해결하고자 하는 과제는 역재생을 지원하는 복호화 장치 및 방법을 제공하는 것이다.
An object of the present invention is to provide a decoding apparatus and method for supporting reverse playback.

본 발명의 일 측면에 따르면, 사용자의 역재생을 요청하는 입력에 따라, 비트스트림에 순차적으로 위치하는 프레임을 역순으로 선택하여 대상 프레임으로 선정하고 상기 대상 프레임을 부호화한 영상을 생성하는 부호화부; 및 상기 영상을 출력하는 출력부를 포함하되, 상기 부호화부는 상기 대상 프레임이 P 프레임인 경우, 상기 대상 프레임의 이전에 위치한 I 프레임 중 대상 프레임과 가장 인접한 I 프레임을 부호화하여 참조 영상을 생성하고, 상기 참조 영상을 참조하여 상기 P 프레임을 부호화하는 것을 특징으로 하는 복호화 장치가 제공된다.According to an aspect of the present invention, in accordance with an input for requesting the reverse playback of the user, an encoder for sequentially selecting the frames located in the bitstream in reverse order to select the target frame and to generate an image encoding the target frame; And an output unit configured to output the image, wherein when the target frame is a P frame, the encoder generates a reference image by encoding an I frame closest to the target frame among the I frames located before the target frame, There is provided a decoding apparatus characterized by encoding the P frame with reference to a reference image.

상기 참조 영상을 저장하는 제1 참조 버퍼 및 제2 참조 버퍼를 채널별로 구비하는 저장부를 더 포함하되, 상기 부호화부는 상기 참조 영상을 상기 제1 참조 버퍼 또는 상기 제2 참조 버퍼에 저장하고, 상기 P 프레임을 상기 제1 참조 버퍼 또는 상기 제2 참조 버퍼에 저장된 참조 영상을 참조하여 복호화할 수 있다.And a storage unit having a first reference buffer and a second reference buffer for storing the reference image for each channel, wherein the encoder stores the reference image in the first reference buffer or the second reference buffer, and A frame may be decoded by referring to a reference image stored in the first reference buffer or the second reference buffer.

상기 부호화부는 상기 제1 참조 버퍼 및 상기 제2 참조 버퍼 중 저장된 시점이 더 오래된 참조 영상을 저장하는 버퍼에 상기 참조 영상을 저장할 수 있다.The encoder may store the reference image in a buffer that stores a reference image having a later stored time point among the first reference buffer and the second reference buffer.

상기 저장부는 제1 복호화 버퍼 및 제2 복호화 버퍼를 더 포함하되, 상기 복호화부는 상기 대상 프레임을 상기 제1 복호화 버퍼에 저장하고, 상기 대상 프레임의 복호화 직후에 복호화될 프레임을 상기 제2 복호화 버퍼에 저장할 수 있다.
The storage unit may further include a first decoding buffer and a second decoding buffer, wherein the decoding unit stores the target frame in the first decoding buffer, and stores the frame to be decoded immediately after decoding the target frame in the second decoding buffer. Can be stored.

본 발명의 다른 측면에 따르면, 비트스트림에 순차적으로 위치하는 프레임 중 사용자가 요청한 배속 재생의 배율에 따라 건너뛴 위치에 해당하는 프레임을 대상 프레임으로 선정하고 상기 대상 프레임을 부호화한 영상을 생성하는 부호화부; 및 상기 영상을 출력하는 출력부를 포함하되, 상기 대상 프레임이 P 프레임인 경우, 상기 대상 프레임의 이전에 위치한 I 프레임 중 대상 프레임과 가장 인접한 I 프레임을 부호화하여 참조 영상을 생성하고, 상기 참조 영상을 참조하여 상기 P 프레임을 부호화하는 것을 특징으로 하는 복호화 장치가 제공된다.
According to another aspect of the present invention, a frame corresponding to a skipped position according to a magnification of double speed playback requested by a user among frames sequentially positioned in a bitstream is selected as a target frame, and encoding is performed to generate an image obtained by encoding the target frame. part; And an output unit configured to output the image, wherein when the target frame is a P frame, a reference image is generated by encoding an I frame closest to the target frame among I frames positioned before the target frame, and generating the reference image. There is provided a decoding apparatus characterized by encoding the P frame with reference.

본 발명의 또 다른 측면에 따르면, 제1 참조 버퍼 및 제2 참조 버퍼를 채널별로 구비하는 복호화 장치가 비트스트림을 복호화하는 방법에 있어서, 사용자의 역재생을 요청하는 입력에 따라, 비트스트림에 순차적으로 위치하는 프레임을 역순으로 선택하여 대상 프레임으로 선정하는 단계; 상기 대상 프레임이 P 프레임인 경우, 상기 대상 프레임의 이전에 위치한 I 프레임 중 대상 프레임과 가장 인접한 I 프레임을 부호화하여 참조 영상을 생성하는 단계; 상기 참조 영상을 참조하여 상기 P 프레임을 부호화하여 출력 영상을 생성하는 단계; 상기 출력 영상을 출력하는 단계를 포함하는 복호화 방법이 제공된다.According to another aspect of the present invention, in a decoding apparatus having a first reference buffer and a second reference buffer for each channel in decoding a bitstream, the bitstream is sequentially sequenced in accordance with an input for requesting reverse playback of a user. Selecting a frame located in reverse order to select the target frame; If the target frame is a P frame, generating a reference image by encoding an I frame closest to the target frame among the I frames located before the target frame; Generating an output image by encoding the P frame with reference to the reference image; A decoding method including outputting the output image is provided.

상기 복호화 방법은 상기 제1 참조 버퍼 또는 상기 제2 참조 버퍼에 상기 참조 영상을 저장하는 단계를 더 포함하되, 상기 출력 영상을 생성하는 단계는 상기 제1 참조 버퍼 또는 상기 제2 참조 버퍼에 저장된 상기 참조 영상을 참조하여 상기 P 프레임을 부호화하여 출력 영상을 생성하는 단계일 수 있다.The decoding method may further include storing the reference image in the first reference buffer or the second reference buffer, and generating the output image may include storing the reference image in the first reference buffer or the second reference buffer. The method may include generating an output image by encoding the P frame with reference to a reference image.

상기 참조 영상을 저장하는 단계는 상기 제1 참조 버퍼 및 상기 제2 참조 버퍼 중 저장된 시점이 더 오래된 참조 영상을 저장하는 버퍼에 상기 참조 영상을 저장하는 것 일 수 있다.The storing of the reference picture may include storing the reference picture in a buffer for storing a reference picture having an older stored time point among the first reference buffer and the second reference buffer.

본 발명의 또 다른 측면에 따르면, 복호화 장치가 비트스트림을 복호화하는 방법에 있어서, 상기 비트스트림에 순차적으로 위치하는 프레임 중 사용자가 요청한 배속 재생의 배율에 따라 건너뛴 위치에 해당하는 프레임을 대상 프레임으로 선정하는 단계; 상기 대상 프레임이 P 프레임인 경우, 상기 대상 프레임의 이전에 위치한 I 프레임 중 대상 프레임과 가장 인접한 I 프레임을 부호화하여 참조 영상을 생성하는 단계; 상기 참조 영상을 참조하여 상기 P 프레임을 부호화하여 출력 영상을 생성하는 단계; 상기 출력 영상을 출력하는 단계를 포함하는 복호화 방법이 제공된다.
According to still another aspect of the present invention, in a method of decoding a bitstream by a decoding apparatus, a frame corresponding to a position skipped according to a magnification of a double speed reproduction requested by a user among frames sequentially positioned in the bitstream is a target frame. Selecting a step; If the target frame is a P frame, generating a reference image by encoding an I frame closest to the target frame among the I frames located before the target frame; Generating an output image by encoding the P frame with reference to the reference image; A decoding method including outputting the output image is provided.

본 발명의 실시예에 따르면, 역재생을 위해 필요한 메모리의 용량을 줄일 수 있다.According to the embodiment of the present invention, the capacity of the memory required for reverse playback can be reduced.

본 발명의 실시예에 따르면, 배속 재생에 따른 계산 복잡도를 낮출 수 있다.According to the embodiment of the present invention, it is possible to reduce the computational complexity due to double speed reproduction.

본 발명의 실시예에 따르면, 자연스로운 움직임의 영상을 보이는 배속 재생 기능을 제공할 수 있다.
According to an embodiment of the present invention, it is possible to provide a double speed reproduction function for showing an image of natural movement.

도 1은 복호화 장치를 간략히 예시한 블록도.
도 2는 복호화 장치가 수신하는 비트스트림을 예시한 도면.
도 3은 복호화 장치의 저장부에 구비된 버퍼를 상세히 나타낸 도면.
도 4는 도 2에서 예시한 비트스트림을 복호화 장치가 역재생을 위해 복호화한 프레임의 순서를 나타낸 도면.
도 5는 복호화 장치가 2배속 재생을 수행할 경우 비트스트림의 프레임이 복호화되는 순서를 예시한 도면.
도 6은 복호화 장치가 비트스트림을 복호화하는 과정을 예시한 순서도.
1 is a block diagram schematically illustrating a decoding apparatus.
2 is a diagram illustrating a bitstream received by a decoding apparatus.
3 is a diagram illustrating in detail a buffer provided in a storage unit of a decoding apparatus.
4 is a diagram illustrating a sequence of frames decoded by the decoding apparatus for reverse reproduction in the bitstream illustrated in FIG. 2.
5 is a diagram illustrating an order in which frames of a bitstream are decoded when the decoding apparatus performs double speed reproduction.
6 is a flowchart illustrating a process of decoding a bitstream by a decoding apparatus.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 이를 상세한 설명을 통해 상세히 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.While the present invention has been described in connection with certain exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and similarities. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

또한, 본 명세서에서, 일 구성요소가 다른 구성요소로 신호를 “전송한다”로 언급된 때에는, 상기 일 구성요소가 상기 다른 구성요소와 직접 연결되어 신호를 전송할 수 있지만, 특별히 반대되는 기재가 존재하지 않는 이상, 중간에 또 다른 구성요소를 매개하여 신호를 전송할 수도 있다고 이해되어야 할 것이다.
Further, in this specification, when an element is referred to as " transmitting " a signal to another element, the element can be directly connected to the other element to transmit a signal, It should be understood that the signal may be transmitted by mediating another component in the middle.

도 1은 복호화 장치를 간략히 예시한 블록도이고, 도 2는 복호화 장치가 수신하는 비트스트림을 예시한 도면이고, 도 3은 복호화 장치의 저장부에 구비된 버퍼를 상세히 나타낸 도면이다.FIG. 1 is a block diagram briefly illustrating a decoding apparatus, FIG. 2 is a diagram illustrating a bitstream received by a decoding apparatus, and FIG. 3 is a diagram illustrating in detail a buffer provided in a storage unit of the decoding apparatus.

도 1을 참조하면, 복호화 장치는 수신부(110), 복호화부(120), 저장부(130) 및 출력부(140)를 포함한다.Referring to FIG. 1, the decoding apparatus includes a receiver 110, a decoder 120, a storage 130, and an output 140.

수신부(110)는 비트스트림을 외부로부터 수신한다. 이 때, 수신부(110)는 비트스트림을 생성한 부호화 장치 또는 비트스트림을 저장하는 저장 장치와 통신망을 통해 연결될 수 있으며, 통신망을 통해 부호화 장치 또는 저장 장치로부터 비트스트림을 수신할 수 있다. 이 때, 수신부(110)가 수신하는 비트스트림은 동영상을 키프레임 모드(Keyframe mode)로 부호화(encoding)한 비트스트림일 수 있다. 키프레임 모드는 I 프레임 및 P 프레임을 포함하는 비트스트림을 생성하되, P 프레임이 I 프레임만을 참조하여 부호화되는 모드이다. 도 2를 참조하면, 일반 재생(1배속 순방향 재생)시 표시되는 순서대로 키 프레임 모드로 부호화된 비트스트림의 각 프레임이 예시되어 있다. I 프레임 I1은 일반 재생시 비트스트림에서 처음 복호화되어 출력되는 프레임이고, I 프레임 I3는 가장 마지막에 출력되는 프레임이다. P 프레임인 P1 및 P2는 I1을 참조하여 부호화되는 프레임이다. 또한, I 프레임 I2는 일반 재생시 P1 바로 이후 출력되는 프레임이고, P3 및 P4는 I2를 참조하여 부호화되는 프레임이다. 또한, I1, P1 및 P2는 제1 채널에 해당하는 영상을 부호화한 프레임이고, I2, P3 및 P4는 제2 채널에 해당하는 동영상을 부호화한 프레임이다. 이 때, 제1 채널에 해당하는 영상은 복수의 카메라 중 제1 카메라를 통해 생성된 영상이고, 제2 채널에 해당하는 영상은 복수의 카메라 중 제2 카메라를 통해 생성된 영상일 수 있다.The receiver 110 receives the bitstream from the outside. In this case, the receiver 110 may be connected to the encoding device or the storage device storing the bitstream through the communication network, and may receive the bitstream from the encoding device or the storage device through the communication network. In this case, the bitstream received by the receiver 110 may be a bitstream obtained by encoding a video in a keyframe mode. The key frame mode is a mode in which a bitstream including an I frame and a P frame is generated, but the P frame is encoded by referring to only the I frame. 2, each frame of the bitstream encoded in the key frame mode in the order displayed in normal playback (1x forward playback) is illustrated. I frame I1 is a frame that is first decoded and output in the bitstream during normal playback, and I frame I3 is the last frame output. P frames P1 and P2 are frames encoded with reference to I1. In addition, I frame I2 is a frame immediately after P1 during normal playback, and P3 and P4 are frames encoded with reference to I2. In addition, I1, P1, and P2 are frames obtained by encoding an image corresponding to a first channel, and I2, P3, and P4 are frames encoded by a video corresponding to a second channel. In this case, the image corresponding to the first channel may be an image generated by the first camera among the plurality of cameras, and the image corresponding to the second channel may be an image generated by the second camera among the plurality of cameras.

복호화부(120)는 수신부(110)가 수신한 비트스트림에 포함된 프레임을 복호화하여 영상을 생성한다. 이 때, 복호화부(120)는 비트스트림을 일반 재생, 배속 재생 및 역재생 중 어느 하나의 방법으로 재생되도록 복호화할 수 있다. 복호화부(120)는 저장부(130)에 구비된 버퍼를 이용하여 복호화 과정에서 필요한 데이터를 저장할 수 있다. 추후 도 3 및 도 4를 참조하여 역재생 및 배속 재생을 수행하는 복호화부(120)를 상세히 설명하도록 한다. 복호화부(120)는 영상을 출력부(140)로 전송한다.The decoder 120 generates an image by decoding a frame included in the bitstream received by the receiver 110. In this case, the decoder 120 may decode the bitstream to be reproduced by any one of normal reproduction, double speed reproduction, and reverse reproduction. The decoder 120 may store data necessary for the decoding process by using the buffer provided in the storage 130. Hereinafter, the decoder 120 performing reverse playback and double speed playback will be described in detail with reference to FIGS. 3 and 4. The decoder 120 transmits the image to the output unit 140.

저장부(130)는 디코딩 버퍼 및 참조 버퍼를 구비하여 복호화부(120)의 복호화 과정에서 저장이 필요한 데이터를 저장한다. 도 3을 참조하면, 저장부(130)는 제1 디코딩 버퍼(310), 제2 디코딩 버퍼(315), 복수의 제1 참조 버퍼(320, 330, 340), 복수의 제2 참조 버퍼(325, 335, 345)를 포함할 수 있다. 제1 디코딩 버퍼(310) 및 제2 디코딩 버퍼(315)는 복호화부(120)가 비트스트림으로부터 추출한 I 프레임 또는 P 프레임을 저장한다. 예를 들어, 복호화부(120)는 비트스트림에서 디코딩할 프레임을 추출하여 제1 디코딩 버퍼(310)에 저장하고, 제1 디코딩 버퍼(310)에 저장된 프레임의 디코딩을 수행하며, 다음 디코딩이 될 프레임을 제2 디코딩 버퍼(320)에 저장할 수 있다. 이 때, 제1 디코딩 버퍼(310) 및 제2 디코딩 버퍼(315)는 I 프레임만을 저장하고, 별도의 제1 디코딩 버퍼(미도시) 및 제2 디코딩 버퍼(미도시)가 추가로 저장부(130)에 구비되어 P 프레임만이 저장되도록 변경 될 수 있다. 제1 참조 버퍼(320, 330, 340), 복수의 제2 참조 버퍼(325, 335, 345)는 채널 별로 매칭되어 구성될 수 있고, 해당 채널의 I 프레임을 디코딩한 영상을 각각 저장할 수 있다. 예를 들어, 제1 참조 버퍼(320) 및 제 2 참조 버퍼(325)는 제1 채널에 해당하는 I 프레임을 복호화한 영상을 저장할 수 있다. 이 때, 상술한 제1 디코딩 버퍼(310), 제2 디코딩 버퍼(315), 복수의 제1 참조 버퍼(320, 330, 340), 복수의 제2 참조 버퍼(325, 335, 345)는 하나의 버퍼 당 한 프레임에 대한 데이터를 저장할 수 있다. 도 4 및 도 5를 참조하여 복호화부(120)가 저장부(130)에 프레임에 대한 데이터를 저장하는 과정을 상세히 설명하도록 한다.The storage unit 130 includes a decoding buffer and a reference buffer to store data that needs to be stored in the decoding process of the decoder 120. Referring to FIG. 3, the storage unit 130 may include a first decoding buffer 310, a second decoding buffer 315, a plurality of first reference buffers 320, 330, and 340, and a plurality of second reference buffers 325. , 335, 345). The first decoding buffer 310 and the second decoding buffer 315 store the I frame or P frame extracted by the decoder 120 from the bitstream. For example, the decoder 120 extracts a frame to be decoded from the bitstream, stores the frame to be decoded in the first decoding buffer 310, decodes the frame stored in the first decoding buffer 310, and then decodes the frame. The frame may be stored in the second decoding buffer 320. In this case, the first decoding buffer 310 and the second decoding buffer 315 stores only I frames, and separate first decoding buffers (not shown) and second decoding buffers (not shown) further include a storage unit ( 130 may be changed to store only the P frame. The first reference buffers 320, 330, and 340 and the plurality of second reference buffers 325, 335, and 345 may be matched for each channel, and may store images decoded I frames of the corresponding channels. For example, the first reference buffer 320 and the second reference buffer 325 may store an image obtained by decoding an I frame corresponding to the first channel. In this case, the first decoding buffer 310, the second decoding buffer 315, the plurality of first reference buffers 320, 330, and 340, and the plurality of second reference buffers 325, 335, and 345 are one. You can store data for one frame per buffer. 4 and 5, the process of the decoder 120 storing data for a frame in the storage 130 will be described in detail.

출력부(140)는 복호화부(120)로부터 영상을 수신하고, 해당 영상을 출력한다. 이 때, 출력부(140)는 영상을 표시할 수 있는 디스플레이 모듈(예를 들어, 모니터 등)을 구비하여 영상을 출력할 수 있다. 또한 출력부(140)는 통신망을 통해 외부 디스플레이 모듈로 영상을 전송할 수 있다.
The output unit 140 receives an image from the decoder 120 and outputs the corresponding image. In this case, the output unit 140 may include a display module (eg, a monitor) capable of displaying an image and output the image. In addition, the output unit 140 may transmit an image to an external display module through a communication network.

도 4는 도 2에서 예시한 비트스트림을 복호화 장치가 역재생을 위해 복호화한 프레임의 순서를 나타낸 도면이다. 이하, 복호화 장치는 복호화부(120)가 비트스트림으로부터 프레임을 추출하여 제1 디코딩 버퍼(310) 또는 제2 디코딩 버퍼(315)에 저장하고, 저장된 프레임의 디코딩을 수행한다. 본 발명의 간결하고 명확한 설명을 위해 복호화 장치가 제1 디코딩 버퍼(310) 또는 제2 디코딩 버퍼(315)에 프레임을 저장하는 과정 및 해당 프레임을 복호화하는 과정을 복호화라고 설명하도록 한다.4 is a diagram illustrating a sequence of frames decoded by the decoding apparatus for reverse reproduction in the bitstream illustrated in FIG. 2. Hereinafter, the decoding apparatus 120 extracts a frame from the bitstream and stores the frame in the first decoding buffer 310 or the second decoding buffer 315 and decodes the stored frame. For the sake of brevity and clarity, the process of storing a frame in the first decoding buffer 310 or the second decoding buffer 315 and the process of decoding the frame will be described as decoding.

도 4를 참조하면, 복호화부(120)는 사용자로부터 역재생을 요청하는 입력을 받을 수 있다. 복호화부(120)는 역재생의 요청에 따라 비트스트림을 역순의 프레임 단위로 복호화한다. 즉, 복호화부(120)는 비트스트림의 최후단에 위치한 프레임 I3부터 I1 프레임까지의 순서로 복호화를 수행한다. Referring to FIG. 4, the decoder 120 may receive an input for requesting reverse playback from a user. The decoder 120 decodes the bitstream in reverse frame units in response to a request for reverse playback. That is, the decoder 120 performs decoding in the order of frames I3 to I1 frames located at the end of the bitstream.

예를 들어, 복호화부(120)는 비트스트림의 최후단에 위치한 프레임(비트스트림의 가장 마지막 프레임) I3을 복호화하여 출력부(140)로 전송한다. 이 때, 복호화부(120)는 I3가 I 프레임이므로, 타 프레임의 참조없이 I3을 복호화할 수 있다. 복호화부(120)는 I3를 복호화하여 생성한 영상을 제1 참조 버퍼(330)에 저장한다. 이후 복호화부(120)는 I3의 바로 이전 프레임인 P4의 복호화를 시도한다. 이 때, 복호화부(120)는 P4가 P 프레임이므로 P4를 부호화하기 위해 참조 프레임으로 사용한 I2 프레임이 복호화되지 않은 것을 확인한다. 복호화부(120)는 P4를 복호화하기 위해 I2 프레임을 우선적으로 복호화한다. 이 때, 복호화부(120)는 I2 프레임을 복호화한 영상을 제2 참조 버퍼(335)에 저장한다. 이후, 복호화부(120)는 제2 참조 버퍼(335)에 저장된 영상을 참조하여 P4를 복호화하여 출력부(140)로 전송한다. 복호화부(120)는 P4의 바로 이전 프레임인 P3를 복호화한다. 이 때, P3는 P4와 같이 I2를 참조하여 부호화된 프레임이고 I2를 복호화한 영상은 제2 참조 버퍼(335)에 저장되어 있으므로 복호화부(120)는 별도의 I 프레임을 부호화하는 과정 없이 P3를 복호화하여 출력부(140)로 전송한다. 이후 복호화부(120)는 P2의 복호화를 시도한다. 이 때, 복호화부(120)는 P2의 참조 프레임인 I1이 복호화되지 않았음을 확인하고 I1을 복호화한다. 복호화부(120)는 I1을 복호화한 영상을 제1 참조 버퍼(320)에 저장한다. 복호화부(120)는 제1 참조 버퍼(320)에 저장된 영상을 참조하여 P2를 복호화한다. 이어서, 복호화부(120)는 P2의 바로 이전 프레임인 I2를 제2 참조 버퍼(335)에서 추출하여 출력부(140)로 전송한다. 복호화부(120)는 P1을 제1 참조 버퍼(320)을 참조하여 복호화하여 출력부(140)로 전송한다. 복호화부(120)는 제1 참조 퍼버(320)에 저장된 영상을 출력부(140)로 전송한다.For example, the decoder 120 decodes the frame I3 located at the end of the bitstream (the last frame of the bitstream) and transmits the same to the output unit 140. At this time, the decoder 120 may decode I3 without reference to another frame since I3 is an I frame. The decoder 120 stores the image generated by decoding I3 in the first reference buffer 330. The decoder 120 then attempts to decode P4, which is the frame immediately before I3. At this time, the decoder 120 confirms that the I2 frame used as the reference frame for encoding P4 is not decoded because P4 is a P frame. The decoder 120 preferentially decodes the I2 frame in order to decode P4. At this time, the decoder 120 stores the image obtained by decoding the I2 frame in the second reference buffer 335. Thereafter, the decoder 120 decodes P4 by referring to the image stored in the second reference buffer 335 and transmits the decoded P4 to the output unit 140. The decoder 120 decodes P3, which is the frame immediately before P4. In this case, since P3 is a frame encoded with reference to I2 as in P4 and the image obtained by decoding I2 is stored in the second reference buffer 335, the decoder 120 may determine P3 without encoding an additional I frame. Decode and transmit to the output unit 140. The decoder 120 then attempts to decode P2. At this time, the decoder 120 confirms that I1 which is the reference frame of P2 is not decoded and decodes I1. The decoder 120 stores the image obtained by decoding I1 in the first reference buffer 320. The decoder 120 decodes P2 by referring to the image stored in the first reference buffer 320. Subsequently, the decoder 120 extracts I2, which is the frame immediately before P2, from the second reference buffer 335 and transmits the same to the output unit 140. The decoder 120 decodes P1 with reference to the first reference buffer 320 and transmits the P1 to the output unit 140. The decoder 120 transmits the image stored in the first reference buffer 320 to the output unit 140.

상술한 바와 같이 복호화 장치는 역재생을 위한 복호화 과정이 복수의 프레임을 전부 복호화한 후 역순으로 출력하는 방식이 아닌, 비트스트림에서 출력할 프레임만을 선정하여 복호화하는 과정을 수행한다. 따라서, 복호화 장치는 역재생을 위해 필요한 버퍼의 크기가 작아, 복호화 장치를 구성하는데 필요한 메모리를 줄일 수 있다.
As described above, the decoding apparatus performs a process of selecting and decoding only frames to be output from the bitstream, not a method of decoding the plurality of frames and outputting them in reverse order. Therefore, the decoding apparatus has a small size of the buffer required for reverse reproduction, so that the memory required for configuring the decoding apparatus can be reduced.

도 5는 복호화 장치가 2배속 재생을 수행할 경우 비트스트림의 프레임이 복호화되는 순서를 예시한 도면이다. 도 5에 예시된 비트스트림은 하나의 채널에 대한 프레임만을 포함하는 비트스트림인 것으로 가정하여 설명하도록 한다.FIG. 5 is a diagram illustrating an order in which frames of a bitstream are decoded when the decoding apparatus performs double speed reproduction. The bitstream illustrated in FIG. 5 is assumed to be a bitstream including only frames for one channel.

도 5를 참조하면, 복호화부(120)는 비트스트림의 첫 번째 프레임인 I1을 복호화하여 출력부(140)로 전송한다. 이 때, 복호화부(120)는 I1을 복호화한 영상을 제1 참조 버퍼(320)에 저장한다. 복호화부(120)는 배속 재생의 배율에 따라 프레임을 이전 복호화된 프레임에서 건너뛴 프레임의 복호화를 수행한다. 예를 들어, 복호화부(120)는 2배속 재생의 배율이 2배임에 따라 I1의 다음 프레임인 P1의 복호화를 건너뛰고 P2의 복호화를 수행한다. 복호화부(120)는 제1 참조 버퍼(320)에 저장된 영상을 참조하여 P2를 복호화하여 출력부(140)로 전송한다. 복호화부(120)는 P2의 다음 프레임인 I2를 건너뛰고 P3의 복호화를 시도한다. 이 때, 복호화부(120)는 P3의 복호화를 위해 필요한 I2의 복호화가 되지 않음을 확인하고 I2를 복호화한다. 복호화부(120)는 I2를 복호화한 영상을 제2 참조 버퍼(325)에 저장한다. 복호화부(120)는 제2 참조 버퍼(325)에 저장된 영상을 참조하여 P3를 복호화하여 출력부(140)로 전송한다. 복호화부(120)는 P3의 다음 프레임인 P4를 건너뛰고 I3를 복호화하여 출력부(140)로 전송한다. Referring to FIG. 5, the decoder 120 decodes I1, which is the first frame of the bitstream, and transmits the same to the outputter 140. At this time, the decoder 120 stores the image obtained by decoding I1 in the first reference buffer 320. The decoder 120 decodes a frame in which a frame is skipped from a previously decoded frame according to the magnification of the double speed reproduction. For example, the decoder 120 skips decoding of P1, which is the next frame of I1, and performs decoding of P2 as the magnification of the 2x reproduction is doubled. The decoder 120 decodes P2 with reference to the image stored in the first reference buffer 320 and transmits the P2 to the output unit 140. The decoder 120 skips I2, the next frame of P2, and attempts to decode P3. At this time, the decoder 120 confirms that I2 necessary for the decoding of P3 is not decoded and decodes I2. The decoder 120 stores the image obtained by decoding I2 in the second reference buffer 325. The decoder 120 decodes P3 by referring to the image stored in the second reference buffer 325 and transmits the P3 to the output unit 140. The decoder 120 skips P4, which is the next frame of P3, and decodes I3 to transmit it to the output unit 140.

도 5를 참조하여 상술한 바와 같이 복호화 장치는 배속 재생에서 출력이 되지 않는 프레임의 복호화를 생략함으로써, 복호화 과정에서 발생하는 부하를 줄일 수 있다. 또한 종래의 배속 재생을 위한 복호화 방식은 배율에 따라 출력될 프레임이 P 프레임인 경우, 해당 P 프레임에 가장 근접한 I 프레임을 출력하는 방식이다. 종래에 따른 복호화 방식이 출력하는 영상은 P 프레임 자체를 출력하지 않기 때문에, 출력되는 영상의 움직임이 일정하지 않아 배속 재생되는 영상이 부자연스러운 점이 있다. 본 발명의 일 실시예에 따른 복호화 장치는 배율에 따라 출력될 P 프레임 자체를 출력할 수 있다.As described above with reference to FIG. 5, the decoding apparatus may reduce the load generated during the decoding process by omitting decoding of a frame that is not output in double speed playback. In addition, the conventional decoding method for double speed reproduction is a method of outputting an I frame closest to the corresponding P frame when the frame to be output according to the magnification is a P frame. Since the video output by the conventional decoding method does not output the P frame itself, the motion of the output video is not constant, and thus the video that is double-speed reproduction is unnatural. The decoding apparatus according to an embodiment of the present invention may output the P frame itself to be output according to the magnification.

이 때, 도 5를 참조하여 상술한 사항은 2배속 재생의 경우를 설명하였으나, 배속 재생의 배율을 달리하는 경우, 복호화 장치는 배속 재생의 배율에 따라 프레임을 이전 복호화된 프레임에서 건너뛴 프레임의 복호화를 수행할 수 있음은 당업자에게 자명하다.
In this case, the above-described matter with reference to FIG. 5 has been described in the case of double-speed playback, but when the magnification of the double-speed playback is different, the decoding apparatus may determine that the frame skipped from the previously decoded frame according to the magnification of the double-speed playback. It will be apparent to those skilled in the art that decoding can be performed.

도 6은 복호화 장치가 비트스트림을 복호화하는 과정을 예시한 순서도이다. 이하 설명하는 복호화 장치는 사용자의 역재생 요청에 따라 비트스트림을 복호화하는 것으로 가정하여 설명하도록 한다.6 is a flowchart illustrating a process of decoding a bitstream by a decoding apparatus. The decoding apparatus described below is assumed to decode the bitstream in response to a reverse playback request of the user.

도 6을 참조하면, 단계 610에서 복호화 장치는 역재생을 위해 복호화하는 순서에 따라 비트스트림에 포함된 복수의 프레임 중 어느 하나를 대상 프레임으로 선정한다. 이 때, 대상 프레임은 복호화 장치가 복호화를 하려는 프레임을 지칭한다. 즉, 복호화 장치는 비트스트림에서 최후단에 위치한 프레임부터 최전단에 위치한 프레임까지의 순서대로 대상 프레임을 선정한다. Referring to FIG. 6, in step 610, the decoding apparatus selects any one of a plurality of frames included in the bitstream as a target frame in a decoding order for reverse playback. In this case, the target frame refers to a frame to be decoded by the decoding apparatus. That is, the decoding apparatus selects the target frame in the order from the frame located at the last end to the frame located at the foremost end of the bitstream.

단계 620에서 복호화 장치는 대상 프레임이 I 프레임인지 판단한다.In operation 620, the decoding apparatus determines whether the target frame is an I frame.

단계 620에서대상 프레임이 I 프레임이 아닌 경우, 단계 630에서 복호화 장치는 대상 프레임이 참조한 I 프레임을 복호화하였는지 판단한다.If the target frame is not an I frame in step 620, the decoding apparatus determines whether the I frame referenced by the target frame is decoded in step 630.

단계 630에서 대상 프레임이 참조한 I 프레임을 복호화하지 않은 경우, 단계 640에서 복호화 장치는 현재 대상 프레임인 P 프레임이 참조한 I 프레임을 대상 프레임으로 선정한다.If the I frame referenced by the target frame is not decoded in step 630, in step 640, the decoding apparatus selects the I frame referred to by the P frame that is the current target frame as the target frame.

단계 650에서 복호화 장치는 대상 프레임을 복호화하여 영상을 생성하고, 생성한 영상을 참조 버퍼에 저장한다. 이 때, 버퍼에 영상을 저장하는 과정은 도 4를 참조하여 상술하였다.In operation 650, the decoding apparatus decodes the target frame to generate an image, and stores the generated image in a reference buffer. At this time, the process of storing the image in the buffer has been described above with reference to FIG.

단계 660에서 복호화 장치는 단계 640에서 대상 프레임이었던 P 프레임을 대상 프레임으로 선정하고, 단계 620부터의 과정을 다시 수행한다.In operation 660, the decoding apparatus selects the P frame, which was the target frame, in operation 640 as the target frame, and performs the process from operation 620 again.

단계 630에서 대상 프레임이 참조한 I 프레임을 복호화한 경우, 복호화 장치는 단계 670에서 대상 프레임을 복호화하여 영상을 생성하고, 영상을 출력한다. 이 때, 복호화 장치는 대상 프레임이 단계 650에서 이미 복호화된 I 프레임인 경우, 별도의 복호화 과정을 수행하지 않고 참조 버퍼에서 해당 I 프레임에 상응하는 영상을 추출하여 출력할 수 있다.If the I frame referenced by the target frame is decoded in step 630, the decoding apparatus decodes the target frame in step 670 to generate an image and output the image. In this case, when the target frame is an I frame that is already decoded in operation 650, the decoding apparatus may extract and output an image corresponding to the I frame from the reference buffer without performing a separate decoding process.

단계 620에서 대상 프레임이 I 프레임인 경우, 복호화 장치는 상술한 단계 670을 수행한다.If the target frame is an I frame in step 620, the decoding apparatus performs step 670 described above.

단계 680에서 복호화 장치는 비트스트림 내에 복호화하지 않은 프레임이 존재하는지 판단한다. In operation 680, the decoding apparatus determines whether an undecoded frame exists in the bitstream.

단계 680에서 복호화하지 않은 프레임이 존재하는 경우, 단계 610부터의 과정을 반복 수행한다.If there is no frame decoded in step 680, the process from step 610 is repeated.

단계 680에서 복호화하지 않은 프레임이 존재하지 않는 경우, 복호화 장치는 복호화 과정을 종료한다.
If there is no frame that has not been decoded in step 680, the decoding apparatus ends the decoding process.

지금까지 도 6을 참조하여 사용자가 역재생을 요청하는 경우, 복호화 장치가 비트스트림을 복호화하는 과정을 설명하였다. 이하, 배속 재생을 요청하는 경우, 복호화 장치가 비트스트림을 복호화하는 과정을 도 6을 참조하여 설명하도록 한다. 이 때, 단계 620 내지 단계 680의 과정은 상술한 역재생에 따른 복호화 과정과 동일하므로 그 설명을 생략하기로 한다.So far, the process of decoding the bitstream by the decoding apparatus when the user requests reverse playback has been described with reference to FIG. 6. Hereinafter, a process of decoding the bitstream by the decoding apparatus when the double speed reproduction is requested will be described with reference to FIG. 6. At this time, since the processes of steps 620 to 680 are the same as the decoding process according to the reverse playback described above, description thereof will be omitted.

단계 610에서 복호화 장치는 배속 재생에 따라 비트스트림에 포함된 프레임 중 하나를 대상 프레임으로 선정한다. 즉, 복호화 장치는 비트스트림에 포함된 프레임 중 최근 출력된 영상에 상응하는 프레임으로부터 배속 재생의 배율에 따른 프레임 수만큼 후에 위치하는 프레임을 대상 프레임으로 선정한다.
In operation 610, the decoding apparatus selects one of the frames included in the bitstream as the target frame according to double speed reproduction. That is, the decoding apparatus selects, as a target frame, a frame positioned after the number of frames according to the magnification of the double speed reproduction from the frame corresponding to the recently output image among the frames included in the bitstream.

이제까지 본 발명에 대하여 그 실시 예를 중심으로 살펴보았다. 전술한 실시 예 외의 많은 실시 예들이 본 발명의 특허청구범위 내에 존재한다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시 예는 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.The present invention has been described above with reference to the embodiments thereof. Many embodiments other than the above-described embodiments are within the scope of the claims of the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. The disclosed embodiments should, therefore, be considered in an illustrative rather than a restrictive sense. The scope of the present invention is defined by the appended claims rather than by the foregoing description, and all differences within the scope of equivalents thereof should be construed as being included in the present invention.

Claims (9)

사용자의 역재생을 요청하는 입력에 따라, 비트스트림에 순차적으로 위치하는 프레임을 역순으로 선택하여 대상 프레임으로 선정하고 상기 대상 프레임을 복호화하여 영상을 생성하는 복호화부;
상기 영상을 출력하는 출력부; 및
참조 영상을 저장하는 제1 참조 버퍼 및 제2 참조 버퍼를 채널별로 구비하는 저장부를 더 포함하되,
를 포함하되,
상기 복호화부는 상기 대상 프레임이 P 프레임인 경우, 상기 비트스트림 내의 프레임 정렬 방향을 기준으로 상기 대상 프레임의 이전에 위치한 I 프레임 중 대상 프레임과 가장 인접한 I 프레임을 부호화하여 상기 참조 영상을 생성하고, 상기 참조 영상을 참조하여 상기 P 프레임을 복호화하고,
상기 복호화부는 상기 참조 영상이 제1 채널에 상응하는 영상일 경우, 상기 참조 영상을 상기 제1 참조 버퍼에 저장하고, 상기 참조 영상이 제2 채널에 상응하는 영상일 경우 상기 참조 영상을 상기 제2 참조 버퍼에 저장하고, 상기 P 프레임을 상기 제1 참조 버퍼 또는 상기 제2 참조 버퍼에 저장된 참조 영상을 참조하여 복호화하는 것을 특징으로 하는 복호화 장치.
A decoder configured to sequentially select frames sequentially positioned in the bitstream as a target frame according to an input for requesting reverse playback of a user, select a target frame, and decode the target frame to generate an image;
An output unit for outputting the image; And
The apparatus may further include a storage including a first reference buffer and a second reference buffer for storing a reference image for each channel.
Including,
When the target frame is a P frame, the decoder generates the reference image by encoding an I frame closest to the target frame among the I frames located before the target frame based on a frame alignment direction in the bitstream. The P frame is decoded with reference to a reference image,
The decoding unit stores the reference picture in the first reference buffer when the reference picture corresponds to the first channel, and stores the reference picture in the second reference buffer when the reference picture corresponds to the second channel. And a reference frame stored in the reference buffer and decoded with reference to the reference image stored in the first reference buffer or the second reference buffer.
삭제delete 삭제delete 제1 항에 있어서,
상기 저장부는 제1 복호화 버퍼 및 제2 복호화 버퍼를 더 포함하되,
상기 복호화부는 상기 대상 프레임을 상기 제1 복호화 버퍼에 저장하고, 상기 대상 프레임의 복호화 직후에 복호화될 프레임을 상기 제2 복호화 버퍼에 저장하는 것을 특징으로 하는 복호화 장치.
The method according to claim 1,
The storage unit further includes a first decoding buffer and a second decoding buffer,
And the decoding unit stores the target frame in the first decoding buffer and stores the frame to be decoded immediately after decoding the target frame in the second decoding buffer.
비트스트림에 순차적으로 위치하는 프레임 중 사용자가 요청한 배속 재생의 배율에 따라 건너뛴 위치에 해당하는 프레임을 대상 프레임으로 선정하고 상기 대상 프레임을 복호화하여 영상을 생성하는 복호화부;
상기 영상을 출력하는 출력부; 및
참조 영상을 저장하는 제1 참조 버퍼 및 제2 참조 버퍼를 채널별로 구비하는 저장부를 더 포함하되,
를 포함하되,
상기 복호화부는 상기 대상 프레임이 P 프레임인 경우, 상기 비트스트림 내의 프레임 정렬 방향을 기준으로 상기 대상 프레임의 이전에 위치한 I 프레임 중 대상 프레임과 가장 인접한 I 프레임을 복호화하여 상기 참조 영상을 생성하고, 상기 참조 영상을 참조하여 상기 P 프레임을 복호화하고,
상기 복호화부는 상기 참조 영상이 제1 채널에 상응하는 영상일 경우, 상기 참조 영상을 상기 제1 참조 버퍼에 저장하고, 상기 참조 영상이 제2 채널에 상응하는 영상일 경우 상기 참조 영상을 상기 제2 참조 버퍼에 저장하고, 상기 P 프레임을 상기 제1 참조 버퍼 또는 상기 제2 참조 버퍼에 저장된 참조 영상을 참조하여 복호화하는 것을 특징으로 하는 복호화 장치.
A decoder which selects a frame corresponding to a skipped position according to a magnification of double speed playback requested by a user among frames sequentially positioned in the bitstream as a target frame, and decodes the target frame to generate an image;
An output unit for outputting the image; And
The apparatus may further include a storage including a first reference buffer and a second reference buffer for storing a reference image for each channel.
Including,
When the target frame is a P frame, the decoder generates the reference image by decoding an I frame closest to the target frame among the I frames located before the target frame based on a frame alignment direction in the bitstream. The P frame is decoded with reference to a reference image,
The decoding unit stores the reference picture in the first reference buffer when the reference picture corresponds to the first channel, and stores the reference picture in the second reference buffer when the reference picture corresponds to the second channel. And a reference frame stored in the reference buffer and decoded with reference to the reference image stored in the first reference buffer or the second reference buffer.
제1 참조 버퍼 및 제2 참조 버퍼를 채널별로 구비하는 복호화 장치가 비트스트림을 복호화하는 방법에 있어서,
(a)사용자의 역재생을 요청하는 입력에 따라, 비트스트림에 순차적으로 위치하는 프레임을 역순으로 선택하여 대상 프레임으로 선정하는 단계;
(b)상기 대상 프레임이 P 프레임인 경우, 상기 비트스트림 내의 프레임 정렬 방향을 기준으로 상기 대상 프레임의 이전에 위치한 I 프레임 중 대상 프레임과 가장 인접한 I 프레임을 복호화하여 참조 영상을 생성하는 단계;
(c)상기 참조 영상이 제1 채널에 상응하는 영상인 경우, 상기 참조 영상을 상기 제1 참조 버퍼에 저장하는 단계;
(d)상기 참조 영상이 제2 채널에 상응하는 영상인 경우, 상기 참조 영상을 상기 제2 참조 버퍼에 저장하는 단계; 및
(e)상기 참조 영상을 참조하여 상기 P 프레임을 복호화하여 출력 영상을 생성하는 단계;
(f)상기 출력 영상을 출력하는 단계
를 포함하되,
상기 단계 (e)는
상기 제1 참조 버퍼 또는 상기 제2 참조 버퍼에 저장된 상기 참조 영상을 참조하여 상기 P 프레임을 복호화하여 출력 영상을 생성하는 단계인 것을 특징으로 하는 복호화 방법.
A decoding apparatus having a first reference buffer and a second reference buffer for each channel, the method for decoding a bitstream,
(a) selecting, in reverse order, frames sequentially positioned in the bitstream according to an input for requesting reverse playback of the user, and selecting the target frames;
(b) when the target frame is a P frame, generating a reference image by decoding an I frame closest to the target frame among I frames positioned before the target frame based on a frame alignment direction in the bitstream;
(c) if the reference picture is a picture corresponding to a first channel, storing the reference picture in the first reference buffer;
(d) if the reference picture is a picture corresponding to a second channel, storing the reference picture in the second reference buffer; And
generating an output image by decoding the P frame with reference to the reference image;
(f) outputting the output image
Including,
The step (e)
And decoding the P frame with reference to the reference image stored in the first reference buffer or the second reference buffer to generate an output image.
삭제delete 삭제delete 제1 참조 버퍼 및 제2 참조 버퍼를 채널별로 구비하는 복호화 장치가 비트스트림을 복호화하는 방법에 있어서,
(a)상기 비트스트림에 순차적으로 위치하는 프레임 중 사용자가 요청한 배속 재생의 배율에 따라 건너뛴 위치에 해당하는 프레임을 대상 프레임으로 선정하는 단계;
(b)상기 대상 프레임이 P 프레임인 경우, 상기 비트스트림 내의 프레임 정렬 방향을 기준으로 상기 대상 프레임의 이전에 위치한 I 프레임 중 대상 프레임과 가장 인접한 I 프레임을 복호화하여 참조 영상을 생성하는 단계;
(c)상기 참조 영상이 제1 채널에 상응하는 영상인 경우, 상기 참조 영상을 상기 제1 참조 버퍼에 저장하는 단계;
(d)상기 참조 영상이 제2 채널에 상응하는 영상인 경우, 상기 참조 영상을 상기 제2 참조 버퍼에 저장하는 단계; 및
(e)상기 참조 영상을 참조하여 상기 P 프레임을 복호화하여 출력 영상을 생성하는 단계;
상기 출력 영상을 출력하는 단계
를 포함하되,
상기 단계 (e)는
상기 제1 참조 버퍼 또는 상기 제2 참조 버퍼에 저장된 상기 참조 영상을 참조하여 상기 P 프레임을 복호화하여 출력 영상을 생성하는 단계인 것을 특징으로 하는 복호화 방법.
A decoding apparatus having a first reference buffer and a second reference buffer for each channel, the method for decoding a bitstream,
(a) selecting a frame corresponding to a skipped position according to a magnification of double speed reproduction requested by a user among frames sequentially positioned in the bitstream as a target frame;
(b) when the target frame is a P frame, generating a reference image by decoding an I frame closest to the target frame among I frames positioned before the target frame based on a frame alignment direction in the bitstream;
(c) if the reference picture is a picture corresponding to a first channel, storing the reference picture in the first reference buffer;
(d) if the reference picture is a picture corresponding to a second channel, storing the reference picture in the second reference buffer; And
generating an output image by decoding the P frame with reference to the reference image;
Outputting the output image
Including,
The step (e)
And decoding the P frame with reference to the reference image stored in the first reference buffer or the second reference buffer to generate an output image.
KR1020110129226A 2011-12-05 2011-12-05 Apparatus and method for decoding specialized multi-channel trick mode KR101336820B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110129226A KR101336820B1 (en) 2011-12-05 2011-12-05 Apparatus and method for decoding specialized multi-channel trick mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110129226A KR101336820B1 (en) 2011-12-05 2011-12-05 Apparatus and method for decoding specialized multi-channel trick mode

Publications (2)

Publication Number Publication Date
KR20130062787A KR20130062787A (en) 2013-06-13
KR101336820B1 true KR101336820B1 (en) 2013-12-16

Family

ID=48860412

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110129226A KR101336820B1 (en) 2011-12-05 2011-12-05 Apparatus and method for decoding specialized multi-channel trick mode

Country Status (1)

Country Link
KR (1) KR101336820B1 (en)

Also Published As

Publication number Publication date
KR20130062787A (en) 2013-06-13

Similar Documents

Publication Publication Date Title
US8275247B2 (en) Method and apparatus for normal reverse playback
US20090103630A1 (en) Image processing device
EP2642764B1 (en) Transcoding a video stream to facilitate accurate display
US11997302B2 (en) Encoding device, decoding device, streaming system, and streaming method
US9473790B2 (en) Inter-prediction method and video encoding/decoding method using the inter-prediction method
EP2907308B1 (en) Providing a common set of parameters for sub-layers of coded video
US10623735B2 (en) Method and system for layer based view optimization encoding of 360-degree video
CN110121065B (en) Multi-directional image processing in spatially ordered video coding applications
JP5766297B2 (en) Imaging device, video recording device, video display device, video monitoring device, video monitoring system, and video monitoring method
KR20180037186A (en) Method and system for reordering frames for video coding
KR101528269B1 (en) A method for playing a moving picture
US10298651B2 (en) Encoding device, decoding device, computer program product, and streaming system
JP2002218472A (en) Device and method for decoding variable image rate
KR101336820B1 (en) Apparatus and method for decoding specialized multi-channel trick mode
JP6221820B2 (en) Encoding apparatus, encoding method, and encoding program
US8649617B2 (en) Image decoding apparatus and non-transitory computer readable medium
KR101652095B1 (en) Realtime remote monitoring and playing system using digital video recoder, and method thereof
US11490121B2 (en) Transform device, decoding device, transforming method, and decoding method
KR101609798B1 (en) moving picture replay device
US20150222927A1 (en) Inter-prediction method and video encoding/decoding method using the inter-prediction method
US11197014B2 (en) Encoding apparatus, decoding apparatus, and image processing system
US20120051426A1 (en) Code amount reducing apparatus, encoder and decoder
JP2013219611A (en) Encoder and encoding method, and decoder and decoding method
JP5349638B2 (en) Signal processing apparatus and signal processing method
JP2019176500A (en) Encoding device, encoding program and streaming system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20161103

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20171103

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20181031

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20191030

Year of fee payment: 7