WO2020060312A1 - 영상 신호를 처리하기 위한 방법 및 장치 - Google Patents

영상 신호를 처리하기 위한 방법 및 장치 Download PDF

Info

Publication number
WO2020060312A1
WO2020060312A1 PCT/KR2019/012273 KR2019012273W WO2020060312A1 WO 2020060312 A1 WO2020060312 A1 WO 2020060312A1 KR 2019012273 W KR2019012273 W KR 2019012273W WO 2020060312 A1 WO2020060312 A1 WO 2020060312A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
candidate
merge
motion vector
merge candidate
Prior art date
Application number
PCT/KR2019/012273
Other languages
English (en)
French (fr)
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 US17/278,481 priority Critical patent/US20220038734A1/en
Publication of WO2020060312A1 publication Critical patent/WO2020060312A1/ko

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/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/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • H04N19/517Processing of motion vectors by encoding
    • H04N19/52Processing of motion vectors by encoding by predictive encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4821End-user interface for program selection using a grid, e.g. sorted out by channel and broadcast time

Definitions

  • the present specification relates to a method and apparatus for processing a video signal, and more particularly, to a method and apparatus for encoding or decoding a video signal using prediction.
  • Compression coding refers to a series of signal processing techniques for transmitting digitized information through a communication line or storing it in a form suitable for a storage medium.
  • Media such as video, image, and audio may be the subject of compression encoding, and a technique for performing compression encoding on an image is referred to as video image compression.
  • Next-generation video content will have the characteristics of high spatial resolution, high frame rate and high dimensionality of scene representation. In order to process such content, a huge increase in terms of memory storage, memory access rate and processing power will be produced.
  • the video codec standard after the high efficiency video coding (HEVC) standard requires a prediction technique capable of generating prediction samples accurately while using resources more efficiently.
  • Embodiments of the present specification provide a method and apparatus for efficiently constructing a merge candidate list in inter prediction for performing prediction on a current picture using another picture.
  • a method for decoding an image signal includes generating a merge candidate list including a plurality of motion vectors derived from spatial merge candidates or temporal merge candidates of the current block, and the merge candidate list When the number of merge candidates of is smaller than the maximum number of merge candidates, adding an additional motion vector determined as an average value of the motion vectors to the merge candidate list, and the motion vector indicated by the merge index in the merge candidate list. And generating a predictive sample of the current block.
  • adding the additional motion vector to the merge candidate list may include:
  • the method may include adding an average value of a first motion vector corresponding to a first index and a second motion vector corresponding to a second index as the additional motion vector in the merge candidate list.
  • generating the merge candidate list may include performing a search for a motion vector for the temporal merge candidate after a motion vector search for the spatial merge candidate.
  • the motion vector search for the spatial candidate may be performed in the order of the left block, the upper block, the upper right block, the lower left block, and the upper left block of the current block.
  • the video signal processing method further includes adding a zero motion vector to the merge candidate list when the number of merge candidates in the merge candidate list to which the additional motion vector is added is less than the maximum number of merge candidates. can do.
  • motion vectors may refer to the same reference picture.
  • the additional vector may refer to the reference picture that is identically referenced by the motion vectors.
  • An apparatus for decoding an image signal includes a memory for storing the image signal and a processor coupled with the memory, wherein the processor is a spatial merge candidate or a temporal merge candidate of the current block
  • the processor is a spatial merge candidate or a temporal merge candidate of the current block
  • a merge candidate list including a plurality of motion vectors derived from is generated, and when the number of merge candidates in the merge candidate list is smaller than the maximum number of merge candidates, the additional motion vector determined as an average value of the motion vectors is the merge candidate It is set to generate a prediction sample of the current block using a motion vector indicated by a merge index in the merge candidate list.
  • a coding efficiency may be improved without increasing coding complexity by constructing a merge candidate list including additional merge candidates generated from a combination of existing merge candidates.
  • FIG. 1 shows an example of a video coding system according to an embodiment of the present specification.
  • FIG. 2 is an embodiment to which the present specification is applied, and shows a schematic block diagram of an encoding device in which encoding of a video / image signal is performed.
  • FIG. 3 is an embodiment to which the present specification is applied, and shows a schematic block diagram of a decoding apparatus in which decoding of a video signal is performed.
  • FIG. 4 is an embodiment to which the present specification is applied, and is a structural diagram of a content streaming system.
  • FIG. 5 shows an example of a picture divided into coding tree units (CTUs).
  • FIG 6 shows an example of multi-type tree splitting modes according to an embodiment of the present specification.
  • FIG. 7 shows an example of a signaling mechanism of partition partition information of a quadtree with nested multi-type tree structure with a multitype tree.
  • CU 8 exemplarily shows that a CTU is divided into multiple coding units (CUs) based on a quadtree and nested multi-type tree structure.
  • FIG. 9 shows an example of a case where TT (ternary tree) partitioning is restricted for a 128x128 coding block.
  • 11 and 12 illustrate a video / video encoding procedure based on inter prediction and an inter prediction unit in an encoding device.
  • FIG. 13 and 14 illustrate a video / video decoding procedure based on inter prediction and an inter prediction unit in a decoding apparatus.
  • 16 shows an example of a flowchart for configuring a merge candidate list according to an embodiment of the present specification.
  • FIG 17 shows an example of a method for performing adaptive temporal motion vector prediction (ATMVP).
  • ATMVP adaptive temporal motion vector prediction
  • MVP candidate list shows an example of a flowchart for constructing a prediction candidate list (MVP candidate list).
  • 19 and 20 show an example of a method of constructing a merge candidate list.
  • 21 illustrates another example of a method of constructing a merge candidate list according to an embodiment of the present specification.
  • FIG. 22 shows another example of a method for constructing a merge candidate list according to an embodiment of the present specification.
  • FIG. 23 shows another example of a method for constructing a merge candidate list according to an embodiment of the present specification.
  • FIG. 24 shows an example of a flowchart for performing prediction according to an embodiment of the present specification.
  • FIG. 25 shows an example of a block diagram of an apparatus for processing an image signal according to an embodiment of the present specification.
  • 26 is a diagram schematically showing an example of a service system including a digital device.
  • 27 is a block diagram illustrating a digital device in an embodiment.
  • FIG. 28 is a configuration block diagram illustrating another embodiment of a digital device.
  • 29 is a block diagram illustrating a digital device according to another embodiment.
  • FIGS. 27 to 29 are block diagrams illustrating a detailed configuration of the control unit of FIGS. 27 to 29 to illustrate an embodiment.
  • FIG. 31 is a diagram illustrating an example in which a screen of a digital device displays a main image and a sub image simultaneously, according to an embodiment.
  • the term 'processing unit' in the present specification means a unit in which encoding / decoding processing processes such as prediction, transformation, and / or quantization are performed.
  • the processing unit may be interpreted to include a unit for a luminance component and a unit for a chroma component.
  • the processing unit may correspond to a block, a coding unit (CU), a prediction unit (PU), or a transform unit (TU).
  • the processing unit may be interpreted as a unit for a luminance component or a unit for a color difference component.
  • the processing unit may correspond to a coding tree block (CTB), a coding block (CB), a PU or a transform block (TB) for the luminance component.
  • the processing unit may correspond to CTB, CB, PU or TB for the color difference component.
  • the present invention is not limited thereto, and the processing unit may be interpreted to include a unit for a luminance component and a unit for a color difference component.
  • processing unit is not necessarily limited to square blocks, and may be configured in a polygonal shape having three or more vertices.
  • a pixel, a pixel, or a coefficient transformation coefficient or transformation coefficient that has undergone first-order transformation
  • a sample a pixel value, a pixel value, or a coefficient (a transform coefficient or a transform coefficient that has undergone first-order transformation) is used.
  • FIG. 1 shows an example of a video coding system according to an embodiment of the present specification.
  • the video coding system can include a source device 10 and a receiving device 20.
  • the source device 10 may transmit the encoded video / video information or data to the receiving device 20 through a digital storage medium or a network in a file or streaming form.
  • the source device 10 may include a video source 11, an encoding device 12, and a transmitter 13.
  • the receiving device 20 may include a receiver 21, a decoding device 22 and a renderer 23.
  • the encoding device 10 may be referred to as a video / video encoding device, and the decoding device 20 may be referred to as a video / video decoding device.
  • the transmitter 13 may be included in the encoding device 12.
  • the receiver 21 may be included in the decoding device 22.
  • the renderer 23 may include a display unit, and the display unit may be configured as a separate device or an external component.
  • the video source may acquire a video / image through a capture, synthesis, or generation process of the video / image.
  • the video source may include a video / image capture device and / or a video / image generation device.
  • the video / image capture device may include, for example, one or more cameras, a video / image archive including previously captured video / images, and the like.
  • the video / image generating device may include, for example, a computer, a tablet and a smart phone, and the like (electronically) to generate the video / image.
  • a virtual video / image may be generated through a computer or the like, and in this case, the video / image capture process may be replaced by a process in which related data is generated.
  • the encoding device 12 may encode an input video / image.
  • the encoding apparatus 12 may perform a series of procedures such as prediction, transformation, and quantization for compression and coding efficiency.
  • the encoded data (encoded video / video information) may be output in the form of a bitstream.
  • the transmitting unit 13 may transmit the encoded video / video information or data output in the form of a bitstream to a receiving unit of a receiving device through a digital storage medium or a network in a file or streaming format.
  • Digital storage media include universal serial bus (USB), secure digital (SD), compact disk (CD), digital video disk (DVD), bluray, hard disk drive (HDD), and solid state drive (SSD). It may include various storage media.
  • the transmission unit 13 may include an element for generating a media file through a predetermined file format, and may include an element for transmission through a broadcast / communication network.
  • the receiver 21 may extract the bitstream and transmit it to the decoding device 22.
  • the decoding apparatus 22 may decode a video / image by performing a series of procedures such as inverse quantization, inverse transformation, and prediction corresponding to the operation of the encoding apparatus 12.
  • the renderer 23 may render the decoded video / image.
  • the rendered video / image may be displayed through the display unit.
  • FIG. 2 is an embodiment of the present specification, and shows a schematic block diagram of an encoding device in which encoding of a video / image signal is performed.
  • the encoding device 100 of FIG. 2 may correspond to the encoding device 12 of FIG. 1.
  • the encoding apparatus 100 includes an image segmentation unit 110, a subtraction unit 115, a conversion unit 120, a quantization unit 130, an inverse quantization unit 140, and an inverse conversion unit 150, Includes an adder 155, a filtering unit 160, a decoded picture buffer (DPB) 170, an inter prediction unit 180, an intra prediction unit 185, and an entropy encoding unit 190 Can be.
  • the inter prediction unit 180 and the intra prediction unit 185 may be collectively called a prediction unit. That is, the prediction unit may include an inter prediction unit 180 and an intra prediction unit 185.
  • the transform unit 120, the quantization unit 130, the inverse quantization unit 140, and the inverse transform unit 150 may be included in a residual processing unit.
  • the residual processing unit may further include a subtraction unit 115.
  • the inter prediction unit 180, the intra prediction unit 185 and the entropy encoding unit 190 may be configured by one hardware component (for example, an encoder or processor) according to an embodiment.
  • the decoded picture buffer 170 may be configured by one hardware component (eg, a memory or digital storage medium) according to an embodiment.
  • the image splitter 110 may divide the input image (or picture, frame) input to the encoding apparatus 100 into one or more processing units.
  • the processing unit may be referred to as a coding unit (CU).
  • the coding unit may be recursively divided according to a quad-tree binary-tree (QTBT) structure from a coding tree unit (CTU) or a largest coding unit (LCU).
  • QTBT quad-tree binary-tree
  • CTU coding tree unit
  • LCU largest coding unit
  • one coding unit may be divided into a plurality of coding units of a deeper depth based on a quad tree structure and / or a binary tree structure.
  • a quad tree structure may be applied first, and a binary tree structure may be applied later.
  • a binary tree structure may be applied first.
  • the coding procedure according to the present specification may be performed based on the final coding unit that is no longer split.
  • the maximum coding unit may be directly used as a final coding unit based on coding efficiency according to image characteristics, or the coding unit may be recursively divided into coding units having a lower depth than optimal if necessary.
  • the coding unit of the size of can be used as the final coding unit.
  • the coding procedure may include procedures such as prediction, transformation, and reconstruction, which will be described later.
  • the processing unit may further include a prediction unit (PU) or a transformation unit (TU).
  • the prediction unit and transform unit may be partitioned or partitioned from the above-described final coding unit, respectively.
  • the prediction unit may be a unit of sample prediction
  • the transformation unit may be a unit for deriving a transform coefficient and / or a unit for deriving a residual signal from the transform coefficient.
  • the unit may be used interchangeably with terms such as a block or area depending on the case.
  • the MxN block may represent samples of M columns and N rows or a set of transform coefficients.
  • the sample may generally represent a pixel or a pixel value, and may indicate only a pixel / pixel value of a luma component or only a pixel / pixel value of a saturation component.
  • the sample may be used as a term for one picture (or image) corresponding to a pixel or pel.
  • the encoding apparatus 100 subtracts a prediction signal (a predicted block, a prediction sample array) output from the inter prediction unit 180 or the intra prediction unit 185 from the input image signal (original block, original sample array)
  • a signal residual block, residual sample array
  • a unit that subtracts a prediction signal (a prediction block, a prediction sample array) from an input image signal (original block, original sample array) in the encoding apparatus 100 may be referred to as a subtraction unit 115.
  • the prediction unit may perform prediction on a block to be processed (hereinafter referred to as a current block), and generate a predicted block including prediction samples for the current block.
  • the prediction unit may determine whether intra prediction or inter prediction is applied in units of a current block or CU. As described later in the description of each prediction mode, the prediction unit may generate various information regarding prediction, such as prediction mode information, and transmit it to the entropy encoding unit 190.
  • the prediction information may be encoded by the entropy encoding unit 190 and output in the form of a bitstream.
  • the intra prediction unit 185 may predict the current block by referring to samples in the current picture.
  • the referenced samples may be located in the neighborhood of the current block or may be located apart depending on a prediction mode.
  • prediction modes may include a plurality of non-directional modes and a plurality of directional modes.
  • the non-directional mode may include, for example, a DC mode and a planar mode (planar mode).
  • the directional mode may include, for example, 33 directional prediction modes or 65 directional prediction modes depending on the degree of detail of the prediction direction. However, this is an example, and more or less directional prediction modes may be used depending on the setting.
  • the intra prediction unit 185 may determine a prediction mode applied to the current block using a prediction mode applied to neighboring blocks.
  • the inter prediction unit 180 may derive a predicted block for the current block based on a reference block (reference sample array) specified by a motion vector on the reference picture.
  • motion information may be predicted in units of blocks, subblocks, or samples based on the correlation of motion information between a neighboring block and a current block.
  • the motion information may include a motion vector and a reference picture index.
  • the motion information may further include inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information.
  • the neighboring block may include a spatial neighboring block existing in the current picture and a temporal neighboring block present in the reference picture.
  • the reference picture including the reference block and the reference picture including the temporal neighboring block may be the same or different.
  • the temporal neighboring block may be referred to by a name such as a collocated reference block or a colCU, and a reference picture including a temporal neighboring block may also be called a collocated picture (colPic).
  • the inter prediction unit 180 constructs a motion information candidate list based on neighboring blocks, and generates information indicating which candidates are used to derive a motion vector and / or reference picture index of the current block. can do. Inter prediction may be performed based on various prediction modes. For example, in the case of the skip mode and the merge mode, the inter prediction unit 180 may use motion information of neighboring blocks as motion information of the current block.
  • the residual signal may not be transmitted.
  • a motion vector of a current block is obtained by using a motion vector of a neighboring block as a motion vector predictor and signaling a motion vector difference. I can order.
  • the prediction signal generated by the inter prediction unit 180 or the intra prediction unit 185 may be used to generate a reconstructed signal or may be used to generate a residual signal.
  • the transform unit 120 may generate transform coefficients by applying a transform technique to the residual signal.
  • the transformation technique may include at least one of a discrete cosine transform (DCT), a discrete sine transform (DST), a Karhunen-Loeve transform (KLT), a graph-based transform (GBT), or a conditionally non-linear transform (CNT).
  • DCT discrete cosine transform
  • DST discrete sine transform
  • KLT Karhunen-Loeve transform
  • GBT graph-based transform
  • CNT conditionally non-linear transform
  • the transform process may be applied to pixel blocks having the same size of a square, or may be applied to blocks of variable sizes other than squares.
  • the quantization unit 130 quantizes the transform coefficients and transmits them to the entropy encoding unit 190, and the entropy encoding unit 190 encodes a quantized signal (information about quantized transform coefficients) and outputs it as a bitstream. have.
  • Information about the quantized transform coefficients may be referred to as residual information.
  • the quantization unit 130 may rearrange block-type quantized transform coefficients into a one-dimensional vector form based on a coefficient scan order, and the quantized transform based on the one-dimensional vector form quantized transform coefficients Information about coefficients may be generated.
  • the entropy encoding unit 190 may perform various encoding methods such as exponential Golomb (CAVLC), context-adaptive variable length coding (CAVLC), and context-adaptive binary arithmetic coding (CABAC).
  • the entropy encoding unit 190 may encode information necessary for video / image reconstruction (eg, values of syntax elements, etc.) together with the quantized transform coefficients together or separately.
  • the encoded information (eg, video / video information) may be transmitted or stored in the unit of a network abstraction layer (NAL) unit in the form of a bitstream.
  • NAL network abstraction layer
  • the bitstream can be transmitted over a network or stored on a digital storage medium.
  • the network may include a broadcasting network and / or a communication network
  • the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD.
  • the signal output from the entropy encoding unit 190 may be configured as an internal / external element of the encoding apparatus 100 by a transmitting unit (not shown) and / or a storing unit (not shown) for storing, or the transmitting unit It may be a component of the entropy encoding unit 190.
  • the quantized transform coefficients output from the quantization unit 130 may be used to generate a prediction signal.
  • the residual signal may be reconstructed by applying inverse quantization and inverse transform to the quantized transform coefficients through the inverse quantization unit 140 and the inverse transform unit 150 in the loop.
  • the adder 155 adds the reconstructed residual signal to the predicted signal output from the inter predictor 180 or the intra predictor 185, so that the reconstructed signal (restored picture, reconstructed block, reconstructed sample array) Can be created. If there is no residual for the block to be processed, such as when the skip mode is applied, the predicted block may be used as a reconstructed block.
  • the adding unit 155 may be called a restoration unit or a restoration block generation unit.
  • the generated reconstructed signal may be used for intra prediction of the next processing target block in the current picture, or may be used for inter prediction of the next picture through filtering as described below.
  • the filtering unit 160 may apply subjective filtering to the reconstructed signal to improve subjective / objective image quality.
  • the filtering unit 160 may generate a modified reconstructed picture by applying various filtering methods to the reconstructed picture, and may transmit the modified reconstructed picture to the decoded picture buffer 170.
  • Various filtering methods may include, for example, deblocking filtering, sample adaptive offset, adaptive loop filter, bilateral filter, and the like.
  • the filtering unit 160 may generate various information regarding filtering as described later in the description of each filtering method and transmit it to the entropy encoding unit 190.
  • the filtering information may be encoded by the entropy encoding unit 190 and output in the form of a bitstream.
  • the modified reconstructed picture transmitted to the decoded picture buffer 170 may be used as a reference picture in the inter prediction unit 180.
  • inter prediction When the inter prediction is applied through the encoding apparatus 100, prediction mismatches in the encoding apparatus 100 and the decoding apparatus 200 may be avoided, and encoding efficiency may be improved.
  • the decoded picture buffer 170 may store the corrected reconstructed picture for use as a reference picture in the inter prediction unit 180.
  • FIG. 3 is an embodiment of the present specification, and shows a schematic block diagram of a decoding apparatus in which decoding of a video signal is performed.
  • the decoding device 200 of FIG. 3 may correspond to the decoding device 22 of FIG. 1.
  • the decoding apparatus 200 includes an entropy decoding unit 210, an inverse quantization unit 220, an inverse transform unit 230, an adding unit 235, a filtering unit 240, and a decoded picture buffer (DPB). 250, an inter prediction unit 260, and an intra prediction unit 265.
  • the inter prediction unit 260 and the intra prediction unit 265 may be collectively called a prediction unit. That is, the prediction unit may include an inter prediction unit 180 and an intra prediction unit 185.
  • the inverse quantization unit 220 and the inverse conversion unit 230 may be collectively referred to as a residual processing unit. That is, the residual processing unit may include an inverse quantization unit 220 and an inverse conversion unit 230.
  • the entropy decoding unit 210, the inverse quantization unit 220, the inverse transform unit 230, the addition unit 235, the filtering unit 240, the inter prediction unit 260, and the intra prediction unit 265 described above are embodiments. It may be configured by one hardware component (for example, a decoder or processor). Also, the decoded picture buffer 250 may be implemented by one hardware component (eg, a memory or digital storage medium) according to an embodiment.
  • the decoding apparatus 200 may restore an image in response to a process in which the video / image information is processed by the encoding apparatus 100 of FIG. 2.
  • the decoding apparatus 200 may perform decoding using a processing unit applied by the encoding apparatus 100.
  • the processing unit may be, for example, a coding unit, and the coding unit may be divided according to a quad tree structure and / or a binary tree structure from a coding tree unit or a largest coding unit. Then, the decoded video signal decoded and output through the decoding apparatus 200 may be reproduced through the reproduction apparatus.
  • the decoding apparatus 200 may receive the signal output from the encoding apparatus 100 of FIG. 2 in the form of a bitstream, and the received signal may be decoded through the entropy decoding unit 210.
  • the entropy decoding unit 210 may parse the bitstream to derive information (eg, video / image information) necessary for image reconstruction (or picture reconstruction).
  • the entropy decoding unit 210 decodes information in a bitstream based on a coding method such as exponential Golomb coding, CAVLC, or CABAC, and quantizes a value of a syntax element required for image reconstruction and a transform coefficient for residual.
  • the CABAC entropy decoding method receives bins corresponding to each syntax element in a bitstream, and decodes syntax information of the decoding target syntax elements and surrounding and decoding target blocks, or symbols / bins decoded in the previous step.
  • the context model is determined using the information of, and the probability of occurrence of the bin is predicted according to the determined context model to perform arithmetic decoding of the bin to generate a symbol corresponding to the value of each syntax element. have.
  • the CABAC entropy decoding method may update the context model using the decoded symbol / bin information for the next symbol / bin context model after determining the context model.
  • a prediction unit inter prediction unit 260 and intra prediction unit 265
  • the entropy decoding unit 210 performs entropy decoding.
  • the dual value that is, quantized transform coefficients and related parameter information may be input to the inverse quantization unit 220.
  • information related to filtering among information decoded by the entropy decoding unit 210 may be provided to the filtering unit 240.
  • a receiving unit (not shown) receiving a signal output from the encoding apparatus 100 may be further configured as an internal / external element of the decoding apparatus 200, or the receiving unit may be a component of the entropy decoding unit 210. It might be.
  • the inverse quantization unit 220 may inverse quantize the quantized transform coefficients to output transform coefficients.
  • the inverse quantization unit 220 may rearrange the quantized transform coefficients in a two-dimensional block form. In this case, reordering may be performed based on the coefficient scan order performed by the encoding apparatus 100.
  • the inverse quantization unit 220 may perform inverse quantization on the quantized transform coefficients by using a quantization parameter (for example, quantization step size information), and obtain transform coefficients.
  • a quantization parameter for example, quantization step size information
  • the inverse transform unit 230 inversely transforms the transform coefficients to obtain a residual signal (residual block, residual sample array).
  • the prediction unit may perform prediction on the current block and generate a predicted block including prediction samples for the current block.
  • the prediction unit may determine whether intra prediction or inter prediction is applied to the current block based on information about prediction output from the entropy decoding unit 210, and may determine a specific intra / inter prediction mode.
  • the intra prediction unit 265 may predict the current block by referring to samples in the current picture.
  • the referenced samples may be located in the neighborhood of the current block or spaced apart according to the prediction mode.
  • prediction modes may include a plurality of non-directional modes and a plurality of directional modes.
  • the intra prediction unit 265 may determine a prediction mode applied to the current block using a prediction mode applied to neighboring blocks.
  • the inter prediction unit 260 may derive the predicted block for the current block based on a reference block (reference sample array) specified by a motion vector on the reference picture.
  • motion information may be predicted in units of blocks, subblocks, or samples based on the correlation of motion information between a neighboring block and a current block.
  • the motion information may include a motion vector and a reference picture index.
  • the motion information may further include inter prediction direction (L0 prediction, L1 prediction, Bi prediction, etc.) information.
  • the neighboring block may include a spatial neighboring block existing in the current picture and a temporal neighboring block present in the reference picture.
  • the inter prediction unit 260 may construct a motion information candidate list based on neighboring blocks, and derive a motion vector and / or reference picture index of the current block based on the received candidate selection information.
  • Inter prediction may be performed based on various prediction modes, and information about prediction may include information indicating a mode of inter prediction for a current block.
  • the adding unit 235 adds the obtained residual signal to the prediction signal (predicted block, prediction sample array) output from the inter prediction unit 260 or the intra prediction unit 265, thereby restoring signals (restored pictures, reconstructed blocks). , A reconstructed sample array). If there is no residual for the block to be processed, such as when the skip mode is applied, the predicted block may be used as a reconstructed block.
  • the adding unit 235 may be called a restoration unit or a restoration block generation unit.
  • the generated reconstructed signal may be used for intra prediction of the next processing target block in the current picture, or may be used for inter prediction of the next picture through filtering as described below.
  • the filtering unit 240 may improve subjective / objective image quality by applying filtering to the reconstructed signal. For example, the filtering unit 240 may generate a modified reconstructed picture by applying various filtering methods to the reconstructed picture, and may transmit the modified reconstructed picture to the decoded picture buffer 250.
  • Various filtering methods may include, for example, deblocking filtering, sample adaptive offset (SAO), adaptive loop filter (ALF), bilateral filter, and the like.
  • the corrected reconstructed picture transmitted to the decoded picture buffer 250 may be used as a reference picture by the inter prediction unit 260.
  • the embodiments described in the filtering unit 160, the inter prediction unit 180, and the intra prediction unit 185 of the encoding device 100 are respectively the filtering unit 240 and the inter prediction unit 260 of the decoding device.
  • the intra prediction unit 265 may be applied to the same or corresponding.
  • FIG. 4 is an embodiment of the present specification, and is a structural diagram of a content streaming system.
  • the content streaming system to which the present specification is applied may largely include an encoding server 410, a streaming server 420, a web server 430, a media storage 440, a user device 450, and a multimedia input device 460. have.
  • the encoding server 410 serves to compress a content input from multimedia input devices such as a smartphone, camera, camcorder, etc. into digital data to generate a bitstream and transmit it to the streaming server 420.
  • multimedia input devices 460 such as a smartphone, camera, and camcorder directly generate a bitstream
  • the encoding server 410 may be omitted.
  • the bitstream may be generated by an encoding method or a bitstream generation method to which the present specification is applied, and the streaming server 420 may temporarily store the bitstream in the process of transmitting or receiving the bitstream.
  • the streaming server 420 transmits multimedia data to the user device 450 based on a user request through the web server 430, and the web server 430 serves as an intermediary to inform the user of the service.
  • the web server 430 delivers it to the streaming server 420, and the streaming server 420 transmits multimedia data to the user.
  • the content streaming system may include a separate control server, in which case the control server serves to control commands / responses between devices in the content streaming system.
  • Streaming server 420 may receive content from media storage 440 and / or encoding server 410. For example, when content is received from the encoding server 410, the content may be received in real time. In this case, in order to provide a smooth streaming service, the streaming server 420 may store the bitstream for a predetermined time.
  • Examples of the user device 450 include mobile phones, smart phones, laptop computers, digital broadcasting terminals, personal digital assistants (PDAs), portable multimedia players (PMPs), navigation, and slate PCs. ), Tablet PC, ultrabook, wearable device (e.g., smartwatch, smart glass, head mounted display (HMD), digital TV) , Desktop computers, digital signage, and the like.
  • PDAs personal digital assistants
  • PMPs portable multimedia players
  • slate PCs slate PC
  • Tablet PC ultrabook
  • wearable device e.g., smartwatch, smart glass, head mounted display (HMD), digital TV
  • Desktop computers digital signage, and the like.
  • Each server in the content streaming system can be operated as a distributed server, and in this case, data received from each server can be distributed.
  • the video / image coding method according to this document may be performed based on various detailed technologies, and the detailed description of each detailed technology is as follows.
  • the techniques described below may be related to related procedures such as prediction, residual processing (transformation, quantization, etc.), syntax element coding, filtering, partitioning / segmentation, etc. in the video / image encoding / decoding procedure described above and / or described below. It is apparent to those skilled in the art.
  • Pictures may be divided into a sequence of coding tree units (CTUs).
  • the CTU may correspond to a coding tree block (CTB).
  • CTU may include a coding tree block of luma samples and two coding tree blocks of corresponding chroma samples.
  • the CTU may include two corresponding blocks of chroma samples and an NxN block of luma samples.
  • FIG. 5 shows an example of a picture divided into CTUs.
  • the maximum allowable size of the CTU for coding and prediction may be different from the maximum allowable size of the CTU for transformation.
  • the maximum allowable size of a luma block in a CTU may be 128x128 (even if the maximum size of luma CTUs is 64x64).
  • FIG 6 shows an example of multi-type tree splitting modes according to an embodiment of the present specification.
  • the CTU may be divided into CUs based on a quad-tree (QT) structure.
  • the quadtree structure may be referred to as a quaternary tree structure. This is to reflect various local characteristics.
  • the CTU can be divided based on multi-type tree structure division including a binary tree (BT) and a ternary tree (TT) as well as a quad tree.
  • BT binary tree
  • TT ternary tree
  • the QTBT structure may include a quadtree and binary tree based partitioning structure
  • the QTBTTT may include a quadtree, binary tree and ternary tree based partitioning structure.
  • the QTBT structure may include a quadtree, binary tree, and ternary tree based splitting structure.
  • the CU can have a square or rectangular shape.
  • the CTU can be first divided into a quadtree structure. Thereafter, leaf nodes having a quadtree structure may be further divided by a multitype tree structure. For example, as shown in FIG. 6, in the multi-type tree structure, four division types may be schematically included.
  • the four split types shown in FIG. 6 are vertical binary splitting (SPLIT_BT_VER), horizontal binary splitting (SPLIT_BT_HOR), vertical ternary splitting (SPLIT_TT_VER), horizontal ternary splitting (horizontal ternary) splitting, SPLIT_TT_HOR).
  • Leaf nodes of a multitype tree structure may be called CUs. These CUs can be used for prediction and transformation procedures.
  • CU, PU, and TU may have the same block size. However, when the maximum supported transform length is smaller than the width or height of the color component of the CU, the CU and the TU may have different block sizes.
  • FIG. 7 shows an example of a signaling mechanism of partition partition information of a quadtree with nested multi-type tree structure with a multitype tree.
  • the CTU is treated as a root of a quadtree, and is first divided into a quadtree structure.
  • Each quadtree leaf node may then be further divided into a multitype tree structure.
  • a first flag eg, mtt_split_cu_flag
  • a second flag eg, mtt_split_cu_vertical_flag
  • a third flag eg, mtt_split_cu_binary_flag
  • a multi-type tree splitting mode (MttSplitMode) of a CU may be derived as shown in Table 1 below.
  • FIG. 8 exemplarily shows that a CTU is divided into multiple CUs based on a quadtree and nested multi-type tree structure.
  • the CU may correspond to a coding block (CB).
  • the CU may include a coding block of luma samples and two coding blocks of corresponding chroma samples.
  • the size of the CU may be as large as the CTU, or may be configured in 4x4 units in luma sample units. For example, in the case of a 4: 2: 0 color format (or chroma format), the maximum chroma CB size may be 64x64 and the minimum chroma CB size may be 2x2.
  • the maximum allowed luma TB size may be 64x64 and the maximum allowed chroma TB size may be 32x32. If the width or height of the CB divided according to the tree structure is greater than the maximum conversion width or height, the CB may be automatically (or implicitly) divided until the horizontal and vertical TB size limitations are satisfied.
  • SPS sequence parameter set
  • -CTU size the root node size of a quaternary tree
  • the CTU size may be set to 64x64 blocks of 128x128 luma samples and two corresponding chroma samples (in 4: 2: 0 chroma format).
  • MinOTSize can be set to 16x16
  • MaxBtSize is set to 128x1208
  • MaxTtSzie can be set to 64x64
  • MinBtSize and MinTtSize (for width and height) can be set to 4x4x4
  • MaxMttDepth can be set to 4.
  • Quadtree splitting can be applied to CTU to generate quadtree leaf nodes.
  • the quadtree leaf node may be referred to as a leaf QT node.
  • Quadtree leaf nodes may have a size of 16x16 (ie MinOTSize) to a size of 128x128 (ie CTU size). If the leaf QT node is 128x128, it may not be additionally divided into a binary tree / ternary tree. This is because, even in this case, it exceeds MaxBtsize and MaxTtszie (ie, 64x64). In other cases, the leaf QT node may be further divided into a multi-type tree. Therefore, the leaf QT node is a root node for the multitype tree, and the leaf QT node may have a multitype tree depth (mttDepth) 0 value.
  • mttDepth multitype tree depth
  • MaxMttdepth eg 4
  • additional horizontal splitting may no longer be considered.
  • height of the multitype tree node is equal to MinBtSize and less than or equal to 2xMinTtSize, additional vertical splitting may not be considered any more.
  • TT segmentation can be forbidden in certain cases. For example, if the width or height of the luma coding block is greater than 64, as shown in FIG. 9, TT splitting may be prohibited. Also, for example, if the width or height of the chroma coding block is greater than 32, TT splitting may be prohibited.
  • the coding tree scheme may support luma and chroma blocks having a separate block tree structure.
  • luma and chroma CTBs in one CTU can be restricted to have the same coding tree structure.
  • luma and chroma blocks may have a separate block tree structure from each other. If the individual block tree mode is applied, the luma CTB may be divided into CUs based on a specific coding tree structure, and the chroma CTB may be divided into chroma CUs based on another coding tree structure. This may mean that a CU in an I slice is composed of a coding block of luma components or coding blocks of two chroma components, and a CU of a P or B slice can be composed of blocks of three color components.
  • the quadtree coding tree structure with a multi-type tree was described, but the structure in which the CU is divided is not limited to this.
  • the BT structure and the TT structure may be interpreted as a concept included in a multiple partitioning tree (MPT) structure, and a CU may be divided through a QT structure and an MPT structure.
  • MPT multiple partitioning tree
  • a CU may be divided through a QT structure and an MPT structure.
  • a syntax element eg, MPT_split_type
  • a splitting structure may be determined by signaling a syntax element (eg, MPT_split_mode) including information on which direction to split.
  • the CU may be divided in a different way from the QT structure, BT structure or TT structure. That is, according to the QT structure, the CU of the lower depth is divided into 1/4 the size of the CU of the upper depth, or the CU of the lower depth is divided into 1/2 the size of the CU of the upper depth according to the BT structure, or according to the TT structure Unlike the CU of the lower depth, which is divided into 1/4 or 1/2 the size of the CU of the upper depth, the CU of the lower depth may be 1/5, 1/3, 3/8, 3 of the CU of the upper depth depending on the case. It may be divided into / 5, 2/3, or 5/8 size, and the method in which the CU is divided is not limited thereto.
  • the tree node block is such that all samples of all coded CUs are within the picture boundaries. It can be restricted to be located. In this case, for example, the partitioning rule shown in Table 2 below may be applied.
  • the quadtree coding block structure with a multi-type tree can provide a very flexible block partitioning structure. Due to the division types supported in the multitype tree, different division patterns can potentially result in the same coding block structure in some cases. By limiting the occurrence of such redundant partition patterns, the data amount of partitioning information can be reduced.
  • two levels of consecutive binary splits in one direction have the same coding block structure as binary partitions for the center partition after ternary splitting. .
  • binary tree partitioning to the center partition of the ternary tree partitioning is prohibited.
  • This prohibition can be applied to CUs of all pictures.
  • signaling of the corresponding syntax elements can be modified to reflect this prohibited case, thereby reducing the number of bits signaled for partitioning. For example, as in the example shown in FIG.
  • the mtt_split_cu_binary_flag syntax element indicating whether the partition is a binary partition or a ternary partition is not signaled, and its value is It can be inferred by the decoder to zero.
  • inter prediction described below may be performed by the inter prediction unit 180 of the encoding apparatus 100 of FIG. 2 or the inter prediction unit 260 of the decoding apparatus 200 of FIG. 3.
  • the prediction unit of the encoding apparatus 100 / decoding apparatus 200 may perform inter prediction in block units to derive prediction samples.
  • Inter prediction can represent a prediction derived in a manner dependent on data elements (eg, sample values, or motion information) of a picture (s) other than the current picture (Inter prediction can be a prediction derived in a manner that is dependent on data elements (eg, sample values or motion information) of picture (s) other than the current picture).
  • motion information of the current block may be predicted in units of blocks, subblocks, or samples based on the correlation of motion information between a neighboring block and a current block.
  • the motion information may include a motion vector and a reference picture index.
  • the motion information may further include inter prediction type (L0 prediction, L1 prediction, Bi prediction, etc.) information.
  • the neighboring block may include a spatial neighboring block existing in the current picture and a temporal neighboring block present in the reference picture.
  • the reference picture including the reference block and the reference picture including the temporal neighboring block may be the same or different.
  • the temporal neighboring block may be referred to as a name such as a collocated reference block or a colCU, and a reference picture including a temporal neighboring block may also be referred to as a collocated picture (colPic).
  • a motion information candidate list may be constructed based on neighboring blocks of the current block, and a flag indicating which candidate is selected (used) to derive a motion vector and / or reference picture index of the current block, or Index information may be signaled.
  • Inter prediction may be performed based on various prediction modes. For example, in the case of the skip mode and the merge mode, motion information of a current block may be the same as motion information of a selected neighboring block.
  • the residual signal may not be transmitted.
  • a motion vector prediction (MVP) mode a motion vector of a selected neighboring block is used as a motion vector predictor, and a motion vector difference can be signaled.
  • a motion vector of the current block may be derived using a sum of motion vector predictors and motion vector differences.
  • the video / video encoding procedure based on inter prediction and the inter prediction unit 180 in the encoding apparatus 100 may include, for example, the following.
  • 11 and 12 illustrate a video / video encoding procedure based on inter prediction and an inter prediction unit 180 in the encoding apparatus 100.
  • the encoding apparatus 100 performs inter prediction on the current block (S1110).
  • the encoding apparatus 100 may derive the inter prediction mode and motion information of the current block, and generate prediction samples of the current block.
  • the procedure for determining the inter prediction mode, deriving motion information, and generating prediction samples may be performed at the same time, or one procedure may be performed before the other procedure.
  • the inter prediction unit 180 of the encoding apparatus 100 may include a prediction mode determination unit 181, a motion information derivation unit 182, and a prediction sample derivation unit 183, and the prediction mode determination unit
  • the prediction mode for the current block may be determined at 181, the motion information of the current block may be derived from the motion information derivation unit 182, and the prediction samples of the current block may be derived from the prediction sample derivation unit 183.
  • the inter prediction unit 180 of the encoding apparatus 100 searches for a block similar to the current block within a certain area (search area) of reference pictures through motion estimation, and It is possible to derive a reference block in which the difference is minimum or below a certain criterion.
  • a reference picture index indicating a reference picture in which the reference block is located may be derived, and a motion vector may be derived based on a position difference between the reference block and the current block.
  • the encoding apparatus 100 may determine a mode applied to a current block among various prediction modes.
  • the encoding apparatus 100 may compare the RD cost for various prediction modes and determine the optimal prediction mode for the current block.
  • the encoding apparatus 100 configures a merge candidate list, which will be described later, and the current block among the reference blocks indicated by the merge candidates included in the merge candidate list.
  • a reference block in which the difference from the current block is less than or equal to a certain criterion can be derived.
  • a merge candidate associated with the derived reference block is selected, and merge index information indicating the selected merge candidate may be generated and signaled to the decoding apparatus 200.
  • Motion information of a current block may be derived using motion information of a selected merge candidate.
  • the encoding apparatus 100 configures the (A) MVP candidate list, which will be described later, and (A) the motion vector predictor (MVP) candidates included in the MVP candidate list.
  • the motion vector of the selected MVP candidate can be used as the MVP of the current block.
  • a motion vector indicating a reference block derived by the above-described motion estimation may be used as a motion vector of the current block, and among the MVP candidates, a motion vector having the smallest difference from the motion vector of the current block may be used.
  • the MVP candidate to have may be the selected MVP candidate.
  • a motion vector difference (MVD) which is a difference obtained by subtracting MVP from the motion vector of the current block, may be derived.
  • information about the MVD may be signaled to the decoding device 200.
  • the value of the reference picture index may be configured and reference signal index information may be separately signaled to the decoding apparatus 200.
  • the encoding apparatus 100 may derive residual samples based on the predicted samples (S1120). The encoding apparatus 100 may derive residual samples through comparison of original samples and prediction samples of the current block.
  • the encoding apparatus 100 encodes video information including prediction information and residual information (S1130).
  • the encoding apparatus 100 may output encoded image information in the form of a bitstream.
  • Prediction information is information related to a prediction procedure, and may include prediction mode information (eg, skip flag, merge flag, or mode index) and motion information.
  • the motion information may include candidate selection information (eg, merge index, mvp flag, or mvp index) that is information for deriving a motion vector.
  • the motion information may include information on the MVD and / or reference picture index information.
  • the motion information may include information indicating whether L0 prediction, L1 prediction, or bi prediction is applied.
  • the residual information is information about residual samples.
  • the residual information may include information about quantized transform coefficients for residual samples.
  • the output bitstream may be stored in a (digital) storage medium and transmitted to a decoding device, or may be delivered to a decoding device through a network.
  • the encoding apparatus may generate a reconstructed picture (including reconstructed samples and reconstructed blocks) based on the reference samples and the residual samples. This is because the encoding apparatus 100 derives the same prediction result as that performed by the decoding apparatus 200, and thus, it is possible to increase coding efficiency. Accordingly, the encoding apparatus 100 may store the reconstructed picture (or reconstructed samples, reconstructed block) in a memory and use it as a reference picture for inter prediction. As described above, an in-loop filtering procedure or the like may be further applied to the reconstructed picture.
  • FIG. 13 and 14 illustrate a video / video decoding procedure based on inter prediction and an inter prediction unit in a decoding apparatus.
  • the decoding apparatus 200 may perform an operation corresponding to an operation performed in the encoding apparatus 100.
  • the decoding apparatus 200 may perform prediction on the current block based on the received prediction information and derive prediction samples.
  • the decoding apparatus 200 may determine a prediction mode for the current block based on the received prediction information (S1310). The decoding apparatus 200 may determine which inter prediction mode is applied to the current block based on the prediction mode information in the prediction information.
  • the decoding apparatus 200 may determine whether a merge mode is applied to the current block or (A) MVP mode is determined based on a merge flag.
  • the decoding apparatus 200 may select one of various inter prediction mode candidates based on the mode index.
  • the inter prediction mode candidates may include skip mode, merge mode, and / or (A) MVP mode, or various inter prediction modes described below.
  • the decoding apparatus 200 derives motion information of the current block based on the determined inter prediction mode (S1320). For example, when the skip mode or the merge mode is applied to the current block, the decoding apparatus 200 may configure a merge candidate list, which will be described later, and select one of the merge candidates included in the merge candidate list. . The selection of the merge candidate may be performed based on a merge index. Motion information of a current block may be derived from motion information of a selected merge candidate. Motion information of the selected merge candidate may be used as motion information of the current block.
  • the decoding apparatus 200 configures the (A) MVP candidate list, which will be described later, and (A) the MVP candidate selected from among the MVP candidates included in the MVP candidate list
  • the motion vector of can be used as the MVP of the current block.
  • the selection of the MVP may be performed based on the selection information (MVP flag or MVP index) described above.
  • the decoding apparatus 200 may derive the MVD of the current block based on information about the MVD, and may derive a motion vector of the current block based on the MVP and MVD of the current block.
  • the decoding apparatus 200 may derive a reference picture index of the current block based on the reference picture index information.
  • the picture indicated by the reference picture index in the reference picture list for the current block may be derived as a reference picture referenced for inter prediction of the current block.
  • motion information of the current block may be derived without configuring a candidate list, and in this case, motion information of the current block may be derived according to a procedure disclosed in the prediction mode described below.
  • the candidate list configuration as described above may be omitted.
  • the decoding apparatus 200 may generate prediction samples for the current block based on the motion information of the current block (S1330). In this case, the decoding apparatus 200 may derive a reference picture based on the reference picture index of the current block, and derive predictive samples of the current block using samples of the reference block indicated by the motion vector of the current block on the reference picture. . In this case, as described later, a prediction sample filtering procedure for all or a part of the prediction samples of the current block may be further performed depending on the case.
  • the inter prediction unit 260 of the decoding apparatus 200 may include a prediction mode determination unit 261, a motion information derivation unit 262, and a prediction sample derivation unit 263, and the prediction mode determination unit
  • the prediction mode for the current block is determined based on the prediction mode information received at (181), and the motion information (motion vector) of the current block is based on the motion information received from the motion information deriving unit 182. And / or a reference picture index, etc.), and predicted samples of the current block may be derived from the predicted sample deriving unit 183.
  • the decoding apparatus 200 generates residual samples for the current block based on the received residual information (S1340).
  • the decoding apparatus 200 may generate reconstructed samples for the current block based on the predicted samples and residual samples, and generate a reconstructed picture based on the reconstructed samples. (S1350). As described above, an in-loop filtering procedure may be further applied to the reconstructed picture.
  • the inter prediction procedure may include a step of determining an inter prediction mode, a step of deriving motion information according to the determined prediction mode, and performing a prediction (generating a predictive sample) based on the derived motion information.
  • inter prediction modes may be used for prediction of a current block in a picture.
  • various modes such as merge mode, skip mode, MVP mode, and affine mode may be used.
  • Decoder side motion vector refinement (DMVR) mode, adaptive motion vector resolution (AMVR) mode, and the like may be further used as ancillary modes.
  • the affine mode may also be called aaffine motion prediction mode.
  • the MVP mode may also be called AMVP (advanced motion vector prediction) mode.
  • Prediction mode information indicating the inter prediction mode of the current block may be signaled from the encoding device to the decoding device 200.
  • the prediction mode information may be included in the bitstream and received by the decoding apparatus 200.
  • the prediction mode information may include index information indicating one of a plurality of candidate modes.
  • the inter prediction mode may be indicated through hierarchical signaling of flag information.
  • the prediction mode information may include one or more flags.
  • the encoding apparatus 100 signals whether a skip mode is applied by signaling a skip flag, and when a skip mode is not applied, indicates whether to apply a merge mode, and when a merge mode is not applied. It may be indicated that the MVP mode is applied or may further signal a flag for additional classification.
  • the affine mode may be signaled in an independent mode, or may be signaled in a mode dependent on a merge mode or an MVP mode.
  • the affine mode may be configured as one candidate of the merge candidate list or the MVP candidate list, as described later.
  • the encoding apparatus 100 or the decoding apparatus 200 may perform inter prediction using motion information of a current block.
  • the encoding apparatus 100 may derive optimal motion information for the current block through a motion estimation procedure.
  • the encoding apparatus 100 may search for a similar reference block having high correlation within a predetermined search range in a reference picture by using the original block in the original picture for the current block, in the unit of fractional pixels, through which motion information Can be derived.
  • the similarity of the block can be derived based on the difference of phase-based sample values.
  • the similarity of a block may be calculated based on a sum of absolute difference (SAD) between a current block (or a template of the current block) and a reference block (or a template of a reference block).
  • SAD sum of absolute difference
  • motion information may be derived based on a reference block having the smallest SAD in the search area.
  • the derived motion information may be signaled to the decoding apparatus according to various methods based on the inter prediction mode
  • the encoding apparatus 100 may indicate motion information of the current prediction block by transmitting flag information indicating that the merge mode is used and a merge index indicating which prediction block is used.
  • the encoding apparatus 100 must search a merge candidate block used to derive motion information of a current prediction block in order to perform a merge mode. For example, up to five merge candidate blocks may be used, but the present specification is not limited thereto. In addition, the maximum number of merge candidate blocks may be transmitted in the slice header, and the present specification is not limited thereto. After finding the merge candidate blocks, the encoding apparatus 100 may generate a merge candidate list, and may select a merge candidate block having the smallest cost as a final merge candidate block.
  • This specification provides various embodiments of a merge candidate block constituting a merge candidate list.
  • the merge candidate list may use 5 merge candidate blocks, for example. For example, four spatial merge candidates and one temporal merge candidate can be used.
  • the merge candidate list for the current block may be configured based on the procedure as shown in FIG. 16.
  • 16 shows an example of a flowchart for configuring a merge candidate list according to an embodiment of the present specification.
  • the coding device searches for spatial neighboring blocks of the current block and inserts the derived spatial merge candidates into the merge candidate list (S1610).
  • the spatial peripheral blocks may include blocks around the lower left corner of the current block, blocks around the left corner, blocks around the upper right corner, blocks around the upper corner, and blocks around the upper left corner.
  • additional peripheral blocks such as a right peripheral block, a lower peripheral block, and a lower right peripheral block may be further used as the spatial peripheral blocks.
  • the coding apparatus may detect available blocks by searching for spatial neighboring blocks based on priority, and derive motion information of the detected blocks as spatial merge candidates.
  • the encoding apparatus 100 or the decoding apparatus 200 searches the five blocks shown in FIG. 15 in the order of A1, B1, B0, A0, and B2, and sequentially indexes available candidates to merge candidates. It can be configured as a list.
  • the coding apparatus searches for temporal neighboring blocks of the current block and inserts the derived temporal merge candidate into the merge candidate list (S1620).
  • the temporal peripheral block may be located on a reference picture that is a different picture from the current picture in which the current block is located.
  • the reference picture in which the temporal neighboring block is located may be referred to as a collocated picture or a coll picture.
  • the temporal neighboring blocks may be searched in the order of the lower right corner peripheral block and the lower right center block of the co-located block for the current block on the call picture. Meanwhile, when motion data compression is applied, specific motion information may be stored as representative motion information for each predetermined storage unit in a call picture.
  • the predetermined storage unit may be predetermined in units of 16x16 sample units, 8x8 sample units, or the like, or size information for a predetermined storage unit may be signaled from the encoding device 100 to the decoding device 200. have.
  • motion information of a temporal peripheral block may be replaced with representative motion information of a certain storage unit in which the temporal peripheral block is located.
  • a temporal merge candidate may be derived based on motion information of a prediction block.
  • the constant storage unit is 2nx2n sample units, and the coordinates of the temporal peripheral block are (xTnb, yTnb), the corrected position ((xTnb >> n) ⁇ n), (yTnb >> n) Motion information of a prediction block located at ⁇ n)) may be used for temporal merge candidates.
  • the constant storage unit is 16x16 sample units, and the coordinates of the temporal peripheral block are (xTnb, yTnb), the corrected position ((xTnb >> 4) ⁇ 4), (yTnb >> 4) Motion information of the prediction block located at ⁇ 4)) can be used for temporal merge candidates.
  • the constant storage unit is 8x8 sample units
  • the coordinates of the temporal peripheral block are (xTnb, yTnb)
  • the corrected position ((xTnb >> 3) ⁇ 3), (yTnb >> 3 ) ⁇ 3)) motion information of the prediction block located at may be used for temporal merge candidate.
  • the coding apparatus may check whether the number of current merge candidates is smaller than the maximum number of merge candidates (S1630).
  • the maximum number of merge candidates may be predefined or signaled from the encoding device 100 to the decoding device 200.
  • the encoding apparatus 100 may generate information on the number of maximum merge candidates, encode, and transmit the encoded information to the decoding apparatus 200 in the form of a bitstream.
  • the subsequent candidate addition process may not proceed.
  • the coding apparatus inserts an additional merge candidate into the merge candidate list (S1640).
  • Additional merge candidates are, for example, adaptive temporal motion vector prediction (ATMVP), combined bi-predictive merge candidates (if the slice type of the current slice is of type B) and / or zero vector merge. Candidates may be included.
  • ATMVP adaptive temporal motion vector prediction
  • bi-predictive merge candidates if the slice type of the current slice is of type B
  • / or zero vector merge. Candidates may be included.
  • FIG 17 shows an example of a method for performing ATMVP.
  • ATMVP is a method of correcting temporal similarity information in consideration of spatial similarity of neighboring blocks as shown in FIG. 17.
  • ATMVP can be proposed as a method to improve the existing TMVP method. That is, TMVP using the motion vector of the right-bottom block of the current block or the colPB of the center position of the current block does not reflect the motion in the screen, so the motion vector of the colPB at the position indicated by the motion vector of the neighboring block Can be used as MVP.
  • the method of applying ATMVP is shown in FIG. 17.
  • the motion vector or temporal vector of the first available spatial neighbor block is found, and then the temporal vector is referenced in the reference picture. Set the location to point to col-PB.
  • a motion vector of a current block may be derived in units of subblocks by using a temporal vector.
  • the motion vector of the block located at the center of the current block is used as a motion vector for a sub-block that is not usable, and this motion vector can be stored as a representative motion vector.
  • the number of merge candidates can be increased, and no additional syntax is used.
  • the maximum number of merge candidates is increased to 6, and the process of checking the candidate list of the existing ⁇ A1, B1, B0, A0, B2, Combined bi-pred, Zero vector ⁇ is ⁇ A1, B1, B0 , A0, ATMVP, B2, Combined bi-pred, Zero vector ⁇ .
  • the coding apparatus may end the configuration of the merge candidate list.
  • the encoding apparatus 100 may select an optimal merge candidate among merge candidates composing a list of merge candidates based on a rate-distortion (RD) cost, and selection information indicating a selected merge candidate (for example, a merge index) )) To the decoding device 200.
  • the decoding apparatus 200 may select an optimal merge candidate based on the merge candidate list and selection information.
  • RD rate-distortion
  • the motion information of the selected merge candidate may be used as motion information of the current block, and prediction samples of the current block may be derived based on the motion information of the current block.
  • the encoding apparatus 100 may derive residual samples of the current block based on the predicted samples, and may signal residual information about the residual samples to the decoding apparatus 200.
  • the decoding apparatus 200 may generate reconstructed samples based on residual samples and prediction samples derived based on residual information, and may generate a reconstructed picture based on the residual samples.
  • motion information of the current block may be derived in the same way as when the merge mode is applied.
  • a residual signal for a corresponding block is omitted, and thus prediction samples can be directly used as reconstructed samples.
  • a motion vector corresponding to the reconstructed spatial neighboring block eg, the neighboring block of FIG. 15
  • a motion vector corresponding to the temporal neighboring block or Col block
  • a motion vector predictor (MVP) candidate list may be generated. That is, the motion vector of the reconstructed spatial neighboring block and / or the motion vector corresponding to the temporal neighboring block may be used as a motion vector predictor candidate.
  • the prediction information may include selection information (eg, an MVP flag or an MVP index) indicating an optimal motion vector predictor candidate selected from among motion vector predictor candidates included in the list.
  • the prediction unit may select a motion vector predictor of the current block from among motion vector predictor candidates included in the motion vector candidate list using selection information.
  • the prediction unit of the encoding apparatus 100 may obtain a motion vector difference (MVD) between a motion vector of a current block and a motion vector predictor, encode the MVD, and output it in the form of a bitstream. That is, the MVD may be obtained by subtracting the motion vector predictor from the motion vector of the current block.
  • the prediction unit of the decoding apparatus 200 may obtain the MVD included in the information about the prediction, and derive the motion vector of the current block through the addition of the MVD and the motion vector predictor.
  • the prediction unit of the decoding apparatus 200 may obtain or derive a reference picture index indicating a reference picture from information regarding prediction. For example, the configuration of the MVP candidate list may be performed as shown in FIG. 17.
  • MVP candidate list shows an example of a flowchart for constructing a prediction candidate list (MVP candidate list).
  • the coding apparatus searches for a spatial candidate block for motion vector prediction and inserts it into a prediction candidate list (S1810).
  • the coding apparatus may search for neighboring blocks according to a predetermined search order, and add information of neighboring blocks satisfying the condition for the spatial candidate block to the prediction candidate list (MVP candidate list).
  • the coding apparatus After constructing the spatial candidate block list, the coding apparatus compares the number of spatial candidate lists included in the prediction candidate list with a preset reference number (eg, 2) (S1820). If the number of spatial candidate lists included in the prediction candidate list is greater than or equal to the reference number (for example, 2), the coding apparatus may end the construction of the prediction candidate list.
  • a preset reference number eg, 2
  • the coding apparatus searches for the temporal candidate block and inserts it into the prediction candidate list (S1830), and the temporal candidate block is used If it is not possible, the zero motion vector is added to the prediction candidate list (S1840).
  • the coding device may derive the predicted block for the current block based on the motion information derived according to the prediction mode.
  • the predicted block may include predictive samples (predictive sample array) of the current block.
  • an interpolation procedure may be performed, and through this, predictive samples of the current block may be derived based on reference samples in the fractional sample unit in the reference picture.
  • predictive samples may be generated based on MV in a sample / subblock unit.
  • pair prediction or bi-directional prediction
  • final prediction samples may be derived through weighting (depending on phase) of prediction samples derived based on L0 prediction and prediction samples derived based on L1 prediction .
  • reconstruction samples and reconstruction pictures may be generated based on the derived prediction samples, and then procedures such as in-loop filtering may be performed.
  • An embodiment of the present specification relates to a still image or video encoding / decoding method and apparatus, and relates to a merge candidate generation method and a merge candidate configuration in a merge mode or a skip mode during inter prediction.
  • an embodiment of the present specification relates to a method of generating a merge candidate and a structure of a merge list, and aims to improve encoding efficiency without increasing coding complexity (pruning process, scaling process).
  • 19 and 20 show an example of a method of constructing a merge candidate list.
  • the merge mode is described as a specific embodiment of the merge mode or the skip mode (hereinafter, the merge mode and the skip mode are used as a merge mode), and the specific merge candidate list configuration (or merge list configuration) is as follows. It is performed in order (see FIGS. 19 and 20).
  • TMVP temporary motion vector predictor
  • the scanning order of spatial motion vector predictors A1, B1, A0, and B0 may be A1-B1-B0-A0, but embodiments of the present disclosure are not limited thereto, and other scanning order may be applied.
  • Embodiments 2 to 6 of the present specification may be applied for merge candidate list construction and may also be applied to other merge list construction methods.
  • the encoder / decoder can confirm whether the same candidate exists in the candidate list by performing a pruning process with respect to spatial candidate blocks A1, B1, A0, B0, and B2.
  • the pruning process may include comparing a motion vector (MV) and a reference index of two candidate blocks. If the same candidate exists in the candidate list, the candidate is not selected (or determined) as a merge candidate. Meanwhile, in the case of the remaining candidates (ATMVP, TMVP, combined candidate, zero candidate), the pruning process may not be performed.
  • the encoder / decoder can perform a scaling process for TMVP and / or ATMVP. For example, the encoder / decoder may scale the motion vector (MV) of each candidate of TMVP and / or ATMVP according to a value when the reference index is 0.
  • MV motion vector
  • merge candidate list construction considers various candidates, and for this, a number of pruning processes and / or scaling processes are performed.
  • the pruning process and / or scaling process includes comparison, multiplication, and / or division operation, which is a factor that increases coding complexity. Therefore, a method capable of minimizing the scaling process and the pruning process is required when considering additional candidates.
  • the coding apparatus searches and inserts spatial candidates ⁇ A1, B1, B0, and A0 ⁇ (S2010), searches and inserts merge candidates according to ATMVP (S2020), and spatial candidates ⁇ B2 ⁇ Search and insert for (S2030), merge candidate search and insertion according to TMVP (S2040), combined candidate determination and insertion (S2050), and zero candidate insertion (S2060) may be performed and the merge candidate list configuration may be terminated.
  • the scanning order of A1, B1, A0, and B0 may be A1-B1-B0-A0, but this embodiment is not limited thereto, and other scanning order may be applied.
  • This embodiment relates to a method of generating merge candidates that can be additionally considered in merge mode.
  • this embodiment relates to a method of determining a merge candidate, it may be performed in the same manner in the encoding device 100 and the decoding device 200.
  • L-predictor The first valid candidate among ⁇ A1, A0 ⁇ candidates
  • A-predictor The first valid candidate among ⁇ B1, B0 ⁇ candidates
  • T-predictor a valid TMVP candidate
  • 'effective' means that the candidate is considered as a merge candidate and exists in the merge candidate list.
  • a valid B2 candidate means a case where the B2 candidate exists in the merge candidate list through the merge candidate construction process. If no valid candidate exists, the predictor does not exist.
  • the scan order for finding the first valid candidate on the L-predictor and A-predictor may be A1-A0, B1-B0 in the same way as the scan order in the merge list configuration, but the present invention is not limited thereto and other scan order (A0-A1 or B1-B0) is not limited.
  • merge candidates may be additionally generated to construct a merge candidate list.
  • L / A candidate When the L-predictor & A-predictor exist and the reference frame or reference index of the two predictors is the same, The encoder / decoder may generate merge candidates, which are defined as L / A candidates. At this time, the MV of the L / A candidate may be determined (or set) as an average value of MVs of the L-predictor and the A-predictor. In addition, the reference indices of L / A candidates may be determined (or set) as reference indices of the L-predictor and the A-predictor.
  • the L / A candidate may be determined after confirmation of A1 and B1 blocks (case 1) or may be determined after confirmation of A1, B1, B0, and A0 blocks (case 2).
  • the L-predictor may be the A1 candidate and the A-predictor may be the B1 candidate.
  • Case 1 may be effective when the L / A candidate is a better candidate than B0, A0, and Case 2 may be effective when the L / A candidate is a better candidate than B0, A0.
  • AL / L candidate If there are AL-predictors and L-predictors and the reference frames or reference indices of the two predictors are the same, the encoder / decoder Merge candidates can be generated and defined as AL / L candidates. At this time, the MV of the AL / L candidate may be determined (or set) as the average value of the MVs of the AL-predictor and L-predictor. In addition, the reference indices of the AL / L candidates may be determined (or set) as reference indices of the AL-predictor and L-predictor.
  • AL / A candidate If there are AL-predictor & A-predictor and the reference frame or reference index of two predictors is the same, the encoder / decoder Merge candidates can be generated and are defined as AL / A candidates. At this time, the MV of the AL / A candidate may be determined (or set) as the average value of the MVs of the AL-predictor and the A-predictor. In addition, the reference indices of the AL / A candidates may be determined (or set) by reference indices of the AL-predictor and the A-predictor.
  • T / AL candidate If there are T-predictor & AL-predictor and the reference frame or reference index of the two predictors is the same, the encoder / decoder Merge candidates can be generated and are defined as T / AL candidates. At this time, the MV of the T / AL candidate may be determined (or set) as an average value of MVs of the T-predictor and the AL-predictor. And, the reference index of the T / AL candidate may be determined (or set) by the reference index of the T-predictor and the AL-predictor.
  • T / L candidate If there are T-predictor & L-predictor and the reference frame or reference index of the two predictors is the same, the encoder / decoder Merge candidates can be generated and are defined as T / L candidates. At this time, the MV of the T / L candidate may be determined (or set) as the average value of the MVs of the T-predictor and the L-predictor. Further, the reference index of the T / L candidate may be determined (or set) as the reference index of the T-predictor and the L-predictor.
  • T / A candidate If there are T-predictor & A-predictor and the reference frame or reference index of the two predictors is the same, the encoder / decoder Merge candidates can be generated, which are defined as T / A candidates.
  • the MV of the T / A candidate may be determined (or set) as an average value of MVs of the T-predictor and the A-predictor.
  • the reference index of the T / A candidate may be determined (or set) as the reference index of the T-predictor and the A-predictor.
  • L / A / AL / T candidates L-predictor, A-predictor, AL-predictor, and T-predictor & A-predictor & AL-predictor & T-predictor) and references of L-predictor, A-predictor, AL-predictor & A-predictor & AL-predictor & T-predictor If the frame or reference index is the same, the average value of MVs of L-predictor, A-predictor, AL-predictor & AL-predictor & T-predictor Let MV be the reference index of L-predictor, A-predictor, AL-predictor, and T-predictor (L-predictor & A-predictor & AL-predictor & T-predictor). It is created as a merge candidate and is defined as an L / A / AL / T candidate.
  • the current block motion is the motion of block A1, the motion of block B1, or the motion with the average value of blocks A1 and B1, or between blocks A1 and B1. It is most likely a movement. Therefore, this movement can be expressed by using L / A candidates.
  • the pruning process for the candidate generated by the method proposed in this embodiment is not performed. Since the average value is determined using a predictor that has already been determined to be a different candidate, since there are at least two candidates different from those included in the merge candidate list, there is little deterioration due to not performing a pruning check in probability.
  • L / A candidates can be determined when the L-predictor and A-predictor are already included in the candidate list.
  • the meaning that the L-predictor and the A-predictor are included in the candidate list means that the two predictors have different values. It means to have. Therefore, the L / A candidate generated by the two predictors has different values from the two predictors, so the pruning process need not be performed.
  • the merge candidate that can be additionally generated may be used together with an existing merge candidate list construction method or another merge candidate list construction method.
  • an MV may be generated by applying a predefined weight instead of a method obtained through the average of MVs of two predictors.
  • all or only a total of 7 candidates may be considered in the merge candidate list.
  • This embodiment relates to a method for constructing a merge candidate list.
  • This embodiment relates to a method of specifically constructing a merge candidate list using the candidates proposed in the second embodiment.
  • This embodiment can be performed in the same manner in the encoder and decoder.
  • 21 illustrates another example of a method of constructing a merge candidate list according to an embodiment of the present specification.
  • the merge candidate list may be configured as shown in FIG. 21 in consideration of the candidates proposed in the second embodiment.
  • the order between the AL / L candidate and the AL / A candidate may be the AL / L candidate-AL / A candidate or the AL / A candidate-AL / L candidate.
  • the order between T / AL candidate, T / L candidate, and T / A candidate is T / AL candidate-T / L candidate-T / A candidate or T / A candidate-T / L candidate-T / AL candidate or T / L candidate-T / A candidate-T / AL candidate. This can be equally applied to all the embodiments described below (Examples 3 to 6).
  • the scanning order of A1, B1, A0, and B0 may be A1-B1-B0-A0, but embodiments of the present disclosure are not limited thereto, and other scanning order may be applied.
  • This embodiment relates to a method for constructing a merge candidate list of Embodiment 1.
  • This embodiment relates to a method of specifically constructing a merge candidate list using the candidates proposed in the second embodiment.
  • This embodiment can operate in the same manner in the encoder and decoder.
  • FIG. 22 shows another example of a method for constructing a merge candidate list according to an embodiment of the present specification.
  • the merge candidate list may be constructed in the following order (see FIG. 22). Since A1 and B1 candidates are more important than other candidates, the L-predictor and A-predictor for L / A candidates are determined by the A1 and B1 candidates, respectively, so that the coding performance can be expected to improve. will be.
  • the sequence of constructing a merge candidate list according to this embodiment is as follows.
  • This embodiment relates to a method for constructing a merge candidate list of Embodiment 1.
  • This embodiment relates to a method of specifically constructing a merge candidate list using the candidates proposed in the second embodiment.
  • the present embodiment relates to a method of specifically constructing a merge candidate list by selecting and / or using some of the candidates proposed in the second embodiment.
  • This embodiment can operate in the same manner in the encoder and decoder.
  • the merge candidate list may be constructed as follows.
  • merge candidate list construction may be performed as follows.
  • the merge candidate list construction may be performed as follows.
  • merge candidate list construction may be performed as follows.
  • the merge candidate list configuration may be performed as follows.
  • the T-predictor is also an effective predictor similarly to the L-predictor or A-predictor, encoding efficiency can be sufficiently increased even if only the corresponding combination is considered.
  • T / L candidates and T / A candidates can be used after TMVP, so a small number of candidates before TMVP may be advantageous in considering the candidate.
  • the order of T / L candidates and T / A candidates may be changed and applied as described in Example 2.
  • the present embodiment relates to a method of generating a merge candidate that can be considered in the merge mode of Example 1, and provides a method of generating an additional candidate (average candidate) from the average value of candidates already present in the merge candidate list.
  • the average candidate can be considered before the determination / insertion of the combined candidate after the determination / insertion of the TMVP candidate.
  • the average candidate may be considered when candidates present in the candidate list have the same reference index or reference frame.
  • the reference index of the first candidate in the current candidate list is referred to as a target reference index
  • the reference indexes of the two candidates are obtained while having the average value of MVs of the two candidates as the MV
  • a merge candidate having a reference index can be generated and defined as an average candidate.
  • the encoder / decoder may construct an average candidate using merge candidates having the same reference index (or reference frame) among merge candidates existing in the merge candidate list.
  • the MV of the average candidate is determined as the average value of the candidate and the MV of the first candidate having the same reference index as the target reference index (or derivation, calculation) ).
  • the reference index of the average candidate may be determined as the reference index of the first candidate.
  • the encoder / decoder may generate an average candidate having an MV that is an average value of MVs of a candidate having the same reference index as the first candidate and the first candidate in the candidate list, and having the same reference index as the reference index of both candidates.
  • up to three average candidates may be considered. Specifically, if an average candidate using a first candidate and a q-th candidate among candidates present in the candidate list is expressed as 1q-candidate, candidates such as Equation 1 below are average candidates. Can be considered.
  • the encoder / decoder may insert (or add) valid (or available) candidates into the merge candidate list in the order of Equation 1 as an average candidate. At this time, whether the candidate is valid may be determined according to whether the reference indices of the two candidates are the same.
  • the embodiment of the present specification is not limited to the order of Equation 1, and two merge candidates in the merge candidate list used for generating average candidates may be considered (or selected) in various orders.
  • FIG. 23 shows another example of a method for constructing a merge candidate list according to an embodiment of the present specification.
  • an average candidate may be determined in the merge candidate list configuration as shown in FIG. 23.
  • the encoder / decoder may generate an average candidate using merge candidates having the same reference index among merge candidates existing in the merge candidate list and insert the average candidate into the merge candidate list.
  • the average candidate insertion step (S2325) of FIG. 23 may include identifying merge candidates having the same reference index among merge candidates existing in the merge candidate list. Also, the average candidate insertion step (S2325) of FIG. 23 may include determining whether the reference indexes between the two merge candidates are the same in a predetermined order (for example, in the order of Equation 1).
  • the present embodiment relates to a method of generating a merge candidate that can be additionally considered in the merge mode of Example 2, and specifically provides a method of generating an average candidate of candidates already existing in the merge candidate list.
  • the average candidate can be considered after the determination / insertion of the TMVP candidate and before the determination / insertion of the combined candidate.
  • the average candidate may be considered when a candidate existing in the candidate list has the same reference index or reference frame, and specifically, when there is a candidate having the same reference index as the reference index of the first candidate in the current candidate list, the MV of the two candidates Merge candidates having reference values of two candidates as reference indices having an average value of and as the MVs can be generated and defined as an average candidate.
  • the encoder / decoder may generate an average candidate using merge candidates having the same reference index (or reference frame) among merge candidates existing in the merge candidate list.
  • the MV of the average candidate is determined (or derived, calculated) as the average value of the candidate candidate having the same reference index as the target reference index and the MV of the first candidate ). Further, the reference index of the average candidate may be determined as the reference index of the first candidate.
  • the encoder / decoder can generate an average candidate having an MV of a first candidate in a candidate list and a candidate MV having the same reference index as the first candidate, and having the same reference index as the reference index of both candidates.
  • the encoder / decoder may insert (or add) valid candidates (or available candidates) to the merge candidate list in the order of Equation 2 as an average candidate, wherein whether the candidate is valid is a reference index of two candidates. Can be determined according to whether or not is the same.
  • the embodiments of the present specification are not limited to the order of Equation 2, and two merge candidates in the merge candidate list used for generating an average candidate may be considered (or selected) in various orders.
  • the average candidate may be determined in the merge candidate configuration as follows.
  • the encoded information (eg, encoded video / video information) derived by the encoding apparatus 100 based on the above-described embodiments of the present invention (Examples 2 to 8) is in the form of a bitstream. Can be output.
  • the encoded information may be transmitted or stored in units of network abstraction layer (NAL) units in the form of a bitstream.
  • NAL network abstraction layer
  • the bitstream can be transmitted over a network, or it can be stored in a non-transitory digital storage medium.
  • the bitstream is not directly transmitted from the encoding device 100 to the decoding device 200, and may be streamed / downloaded through an external server (for example, a content streaming server).
  • the network may include a broadcasting network and / or a communication network
  • the digital storage medium may include various storage media such as USB, SD, CD, DVD, Blu-ray, HDD, SSD.
  • FIG. 24 shows an example of a flowchart for performing prediction according to an embodiment of the present specification. Each process of FIG. 24 may be performed by the inter prediction unit 180 of the encoding device 100 or the inter prediction unit 260 of the decoding device 200.
  • the coding apparatus generates a merge candidate list including a plurality of motion vectors derived from spatial merge candidates or temporal merge candidates of the current block.
  • the merge candidate list may be performed by searching for a motion vector for a temporal merge candidate after searching for a motion vector for a spatial merge candidate.
  • the motion vector search for the spatial candidate is based on FIG. 19, the left block A0, the upper block B1, the upper right block B0, the lower left block A0, and the upper left block ( B2).
  • step S2420 when the number of merge candidates in the merge candidate list is smaller than the maximum number of merge candidates, the coding apparatus adds an additional motion vector determined as an average value of the motion vectors to the merge candidate list.
  • the coding apparatus adds the average value of the first motion vector corresponding to the first index (index 0) and the second motion vector corresponding to the second index (index 1) in the merge candidate list. And adding as a vector.
  • the coding apparatus may add a zero motion vector to the merge candidate list.
  • an additional motion vector when motion vectors refer to the same reference picture, an additional motion vector may be determined as an average value of existing motion vectors. Also, an additional motion vector may be set to refer to a reference picture that is identically referenced by existing motion vectors.
  • step S2430 the coding apparatus generates a prediction sample of the current block using the motion vector indicated by the merge index in the merge candidate list.
  • FIG. 25 shows an example of a block diagram of an apparatus for processing an image signal according to an embodiment of the present specification.
  • the video signal processing device of FIG. 25 may correspond to the encoding device 100 of FIG. 2 or the decoding device 200 of FIG. 3.
  • the image processing apparatus 2500 for processing an image signal includes a memory 2520 for storing an image signal, and a processor 2510 for processing an image signal while being combined with the memory.
  • the processor 2510 may be composed of at least one processing circuit for processing an image signal, and may process an image signal by executing instructions for encoding or decoding the image signal. That is, the processor 2510 may encode the original image data or decode the encoded image signal by executing the above-described encoding or decoding methods.
  • the embodiments described herein may be implemented and implemented on a processor, microprocessor, controller, or chip.
  • the functional units illustrated in each drawing may be implemented and implemented on a computer, processor, microprocessor, controller, or chip.
  • the processing method to which the present specification is applied may be produced in the form of a program executed by a computer, and may be stored in a computer readable recording medium.
  • Multimedia data having a data structure according to the present specification may also be stored in a computer-readable recording medium.
  • the computer-readable recording medium includes all kinds of storage devices and distributed storage devices in which computer-readable data is stored.
  • the computer-readable recording medium includes, for example, Blu-ray Disc (BD), Universal Serial Bus (USB), ROM, PROM, EPROM, EEPROM, RAM, CD-ROM, magnetic tape, floppy disk and optical. It may include a data storage device.
  • the computer-readable recording medium includes media implemented in the form of a carrier wave (for example, transmission via the Internet).
  • the bitstream generated by the encoding method may be stored in a computer-readable recording medium or transmitted through a wired or wireless communication network.
  • embodiments of the present specification may be implemented as a computer program product using program codes, and the program codes may be executed on a computer by the embodiments of the present specification.
  • the program code can be stored on a computer readable carrier.
  • the decoding device and the encoding device to which the present specification is applied may be included in a digital device.
  • digital device includes, for example, all digital devices capable of performing at least one of transmission, reception, processing, and output of data, content, and services.
  • the processing of the data, content, service, etc. by the digital device includes an operation of encoding and / or decoding data, content, service, and the like.
  • These digital devices are paired or connected (hereinafter referred to as 'pairing') with other digital devices, external servers, etc. through a wire / wireless network to transmit and receive data. Convert accordingly.
  • Digital devices include, for example, standing devices such as network TV, HBBTV (Hybrid Broadcast Broadband TV), smart TV (Smart TV), IPTV (internet protocol television), PC (Personal Computer), and the like. , PDA (Personal Digital Assistant), smart phones (Smart Phone), tablet PCs (Tablet PC), notebooks, mobile devices (mobile devices or handheld devices).
  • a digital TV is illustrated in Figure 2.3-4, which will be described later, and a mobile device is illustrated and described as an example of a digital device in Figure 2.3-3.
  • wired / wireless network refers to a communication network that supports various communication standards or protocols for interconnection and / or data transmission and reception between digital devices or digital devices and external servers.
  • a wired / wireless network may include both a communication network to be supported in the current or future by a standard and a communication protocol therefor, for example, Universal Serial Bus (USB), Composite Video Banking Sync (CVBS), component, S-Video (Analog), communication standards or protocols for wired connections such as DVI (Digital Visual Interface), HDMI (High Definition Multimedia Interface), RGB, D-SUB, Bluetooth, Radio Frequency Identification (RFID), and infrared communication (Infrared Data Association (IrDA), Ultra Wideband (UWB), ZigBee, Digital Living Network Alliance (DLNA), Wireless LAN (WLAN) (Wi-Fi), Wireless broadband (Wibro), World Interoperability for Microwave (Wimax) Access), HSDPA (High Speed Downlink Packet Access), LTE (Long Term
  • a digital device in the case of merely referring to a digital device in the present specification, it may mean a fixed device or a mobile device or include both depending on context.
  • the digital device is an intelligent device that supports, for example, a broadcast reception function, a computer function or support, and at least one external input, e-mail, web browsing through a wired / wireless network described above ( It can support web browsing, banking, games, and applications.
  • the digital device may include an interface for supporting at least one input or control means (hereinafter referred to as an input means) such as a handwritten input device, a touch screen, and a space remote control.
  • the digital device can use a standardized general-purpose operating system (OS). For example, a digital device can add, delete, modify, and update various applications on a general-purpose OS kernel. You can configure and provide a user-friendly environment.
  • OS general-purpose operating system
  • the external input described in this specification includes external input devices, that is, all input means or digital devices connected to the above-mentioned digital devices by wire / wireless and capable of transmitting / receiving related data through them.
  • the external input is, for example, a high-definition multimedia interface (HDMI), a game device such as a play station or an X-box, a smart phone, a tablet PC, a printer, a digital digital device such as a smart TV. Includes all devices.
  • HDMI high-definition multimedia interface
  • server described in this specification means a client (client), that is, includes all digital devices or systems that supply data to the digital devices described above, and is also called a processor. do.
  • client client
  • Examples of such a server include a web page or a portal server that provides web content, an advertising server that provides advertising data, a content server that provides content, and a social media server (SNS).
  • SNS social media server
  • Social Network Service may include an SNS server providing a service, a service server provided by a manufacturer, or a manufacturing server.
  • channel (channel) refers to a path (path), means (means), etc. for transmitting and receiving data, for example, a broadcasting channel (broadcasting channel).
  • the broadcast channel is expressed in terms of a physical channel, a virtual channel, and a logical channel according to the activation of digital broadcasting.
  • a broadcast channel can be called a broadcast network.
  • a broadcast channel refers to a channel for providing or accessing broadcast content provided by a broadcasting station, and the broadcast content is mainly based on real-time broadcasting and is also called a live channel.
  • live channels include not only real-time broadcasting, but also non-real-time broadcasting in some cases. It may be understood as a term meaning the entire channel.
  • arbitrary channel is further defined in relation to a channel in addition to the above-described broadcast channel.
  • the arbitrary channel may be provided together with a service guide such as an electronic program guide (EPG) along with a broadcast channel, or a service guide, a graphical user interface (GUI), or an on-screen display (OS) with only an arbitrary channel. screen).
  • EPG electronic program guide
  • GUI graphical user interface
  • OS on-screen display
  • a random channel is a channel randomly allocated by a receiver, and a channel number that is not basically overlapped with a channel number for expressing the broadcast channel is allocated.
  • the receiver receives a broadcast signal that transmits broadcast content and signaling information therefor through the tuned channel.
  • the receiver parses channel information from the signaling information, and configures a channel browser, an EPG, and the like based on the parsed channel information and provides it to the user.
  • the receiver responds accordingly.
  • the broadcast channel is a content previously promised between the transmitting and receiving terminals
  • a random channel when a random channel is repeatedly allocated with the broadcast channel, it may cause confusion or confusion of the user, so it is preferable not to repeatedly allocate as described above.
  • the random channel number is not duplicated with the broadcast channel number as described above, there is still a possibility of confusion in the channel surfing process of the user, and it is required to allocate the random channel number in consideration of this.
  • any channel according to the present specification can also be implemented to be accessed as a broadcast channel in the same manner in response to a user's request to switch a channel through an input means in the same way as a conventional broadcast channel.
  • the random channel number is a type in which characters are written in parallel, such as random channel-1, random channel-2, and the like, for the convenience of discrimination or identification of the user's random channel access and broadcast channel number. It can be defined and marked as.
  • the display of an arbitrary channel number may be implemented by recognizing in a numeric form, such as the number of the broadcasting channel, in a form in which characters are written in parallel as in random channel-1.
  • an arbitrary channel number may be provided in a numeric form, such as a broadcast channel, and a channel number may be defined and displayed in various ways distinguishable from a broadcast channel, such as video channel-1, title-1, and video-1. have.
  • the digital device executes a web browser for a web service, and provides various types of web pages to the user.
  • the web page also includes a web page including a video (video content), in this specification, the video is processed separately or independently from the web page.
  • the separated video can be implemented to allocate an arbitrary channel number as described above, provide it through a service guide, or the like, and be output according to a channel switching request by a user in a service guide or broadcast channel viewing process.
  • predetermined content, images, audio, items, etc. are separately processed from the broadcast content, games, and the application itself, and for playback, processing, etc. Any channel number can be assigned and implemented as described above.
  • 26 is a diagram schematically showing an example of a service system including a digital device.
  • Service systems including digital devices include a content provider (CP) 2610, a service provider (SP) 2620, a network provider (NP) 2630, and a home network end user (HNED). ) (customer) 2640.
  • the HNED 2640 is, for example, a client 2600, that is, a digital device.
  • the content provider 2610 produces and provides various content. As shown in FIG. 26 as such a content provider 2610, a terrestrial broadcaster, a cable operator (System Operator) or MSO (Multiple SO), a satellite broadcaster (satellite broadcaster) , Various Internet broadcasters, and private content providers (Private CPs). Meanwhile, the content provider 2610 provides various applications in addition to broadcast content.
  • the service provider 2620 provides the content provided by the content provider 2610 as a service package to the HNED 2640.
  • the service provider 2620 of FIG. 26 packages the first terrestrial broadcast, the second terrestrial broadcast, the cable MSO, the satellite broadcast, various Internet broadcasts, applications, etc., and provides them to the HNED 2640.
  • the service provider 2620 provides services to the client 2600 in a uni-cast or multi-cast manner. Meanwhile, the service provider 2620 may transmit data to a plurality of pre-registered clients 2600 at a time, and for this, an Internet group management protocol (IGMP) may be used.
  • IGMP Internet group management protocol
  • the above-described content provider 2610 and service provider 2620 may be the same entity (same or single entity). For example, by providing the content produced by the content provider 2610 as a service package and providing it to the HNED 2640, the function of the service provider 2620 may be performed together or vice versa.
  • the network provider 2630 provides a network for data exchange between the content provider 2610 or / and the service provider 2620 and the client 2600.
  • the client 2600 can establish a home network to transmit and receive data.
  • the content provider 2610 or / and the service provider 2620 in the service system may use conditional access or content protection means to protect transmitted content.
  • the client 2600 may use a processing means such as a cable card (point of deployment, POD), a downloadable CAS (DCAS) in response to the restriction or content protection.
  • a processing means such as a cable card (point of deployment, POD), a downloadable CAS (DCAS) in response to the restriction or content protection.
  • the client 2600 may also use a bidirectional service through a network (or communication network). In this case, rather, the client 2600 may perform the function of the content provider, and the existing service provider 2620 may receive it and transmit it back to another client.
  • FIG. 27 is a block diagram illustrating a digital device in an embodiment.
  • FIG. 27 may correspond to, for example, the client 2600 of FIG. 26, and refers to the digital device described above.
  • the digital device 2700 includes a network interface 2701, a TCP / IP manager 2702, a service delivery manager 2703, an SI decoder 2704, Demultiplexer (demux) 2705, audio decoder 2706, video decoder 2707, display A / V and OSD module 2708, service control manager control manager (2709), service discovery manager (service discovery manager) 2610, SI & metadata database (SI & Metadata DB) 2711, metadata manager 2712, service manager 2613, UI And a manager 2714 and the like.
  • SI & metadata database SI & Metadata DB
  • the network interface unit 2701 receives or transmits Internet protocol (IP) packets through a network. That is, the network interface unit 2701 receives services, content, and the like from the service provider 2620 through the network.
  • IP Internet protocol
  • the TCP / IP manager 2702 may transmit packets between the source and destination of IP packets received by the digital device 2700 and IP packets transmitted by the digital device 2700. Get involved. Then, the TCP / IP manager 2702 classifies the received packet (s) to correspond to an appropriate protocol, and the service delivery manager 2705, the service discovery manager 2710, the service control manager 2709, and the metadata manager 2712 ), And the like.
  • the service delivery manager 2703 is in charge of controlling received service data. For example, the service delivery manager 2703 may use RTP / RTCP when controlling real-time streaming data.
  • the service delivery manager 2703 parses the received data packet according to RTP and transmits it to the demultiplexing unit 2705 or the control of the service manager 2613 Accordingly, it is stored in the SI & metadata database 2711. Then, the service delivery manager 2703 uses the RTCP to feed back the network reception information to a server providing a service.
  • the demultiplexer 2705 demultiplexes the received packets into audio, video, and system information (SI) data, and transmits them to the audio / video decoder 2706/2707 and the SI decoder 2704, respectively.
  • SI system information
  • the SI decoder 2704 decodes service information such as program specific information (PSI), program and system information protocol (PSIP), and digital video broadcasting-service information (DVB-SI).
  • PSI program specific information
  • PSIP program and system information protocol
  • DVB-SI digital video broadcasting-service information
  • the SI decoder 2704 stores the decoded service information, for example, in the SI & metadata database 2711.
  • the service information stored in this way may be read and used by the corresponding configuration, for example, at the request of a user.
  • the audio / video decoder 2706/2707 decodes each audio data and video data demultiplexed by the demultiplexing unit 2705.
  • the audio data and video data thus decoded are provided to the user through the display unit 2708.
  • the application manager may include, for example, a UI manager 2714 and a service manager 2713.
  • the application manager may manage the overall state of the digital device 2700, provide a user interface, and manage other managers.
  • the UI manager 2714 provides a graphical user interface (GUI) for a user using an on-screen display (OSD) or the like, and receives key input from a user to perform device operation according to the input. For example, when the UI manager 2714 receives a key input for channel selection from a user, the UI manager 2714 transmits the key input signal to the service manager 2713.
  • GUI graphical user interface
  • OSD on-screen display
  • the service manager 2713 controls a manager associated with a service, such as a service delivery manager 2703, a service discovery manager 2710, a service control manager 2709, and a metadata manager 2712.
  • the service manager 2713 creates a channel map and selects a channel using the channel map according to a key input received from the user interface manager 2714. Then, the service manager 2713 receives channel service information from the SI decoder 2704 and sets the audio / video packet identifier (PID) of the selected channel to the demultiplexer 2705.
  • PID audio / video packet identifier
  • the PID set in this way is used in the demultiplexing process described above. Accordingly, the demultiplexer 2705 filters audio data, video data, and SI data using PID.
  • the service discovery manager 2710 provides information necessary to select a service provider that provides a service. When a signal regarding channel selection is received from the service manager 2713, the service discovery manager 2710 finds a service using the information.
  • the service control manager 2709 is responsible for selecting and controlling services.
  • the service control manager 2709 uses IGMP or RTSP when a user selects a live broadcasting service such as an existing broadcasting method, and selects a service such as video on demand (VOD).
  • the RTSP is used to select and control services.
  • the RTSP protocol may provide a trick mode for real-time streaming.
  • the service control manager 2709 may initialize and manage a session through the IMS gateway 2750 using an IP multimedia subsystem (IMS) and a session initiation protocol (SIP).
  • IMS IP multimedia subsystem
  • SIP session initiation protocol
  • the protocols are one embodiment, and other protocols may be used according to implementation examples.
  • the metadata manager 2712 manages metadata associated with a service and stores the metadata in the SI & metadata database 2711.
  • the SI & metadata database 2711 stores service information decoded by the SI decoder 2704, metadata managed by the metadata manager 2712, and information necessary to select a service provider provided by the service discovery manager 2710. To save.
  • the SI & metadata database 2711 can store set-up data and the like for the system.
  • the SI & metadata database 2711 may be implemented using non-volatile RAM (NVRAM), flash memory, or the like.
  • NVRAM non-volatile RAM
  • the IMS gateway 2750 is a gateway that collects functions necessary for accessing an IMS-based IPTV service.
  • FIG. 28 is a configuration block diagram illustrating another embodiment of a digital device.
  • FIG. 28 illustrates a block diagram of a mobile device as another embodiment of a digital device.
  • the mobile device 2800 includes a wireless communication unit 2810, an audio / video (A / V) input unit 2820, a user input unit 2830, a sensing unit 2840, and an output unit 2850. It may include a memory 2860, an interface unit 2870, a control unit 2880, and a power supply unit 2890.
  • the components shown in FIG. 28 are not essential, so a mobile device with more or fewer components may be implemented.
  • the wireless communication unit 2810 may include one or more modules that enable wireless communication between the mobile device 2800 and a wireless communication system or between a mobile device and a network in which the mobile device is located.
  • the wireless communication unit 2810 may include a broadcast reception module 2811, a mobile communication module 2812, a wireless Internet module 2813, a short-range communication module 2814 and a location information module 2815. .
  • the broadcast receiving module 2811 receives a broadcast signal and / or broadcast-related information from an external broadcast management server through a broadcast channel.
  • the broadcast channel may include a satellite channel and a terrestrial channel.
  • the broadcast management server may mean a server that generates and transmits broadcast signals and / or broadcast-related information or a server that receives previously generated broadcast signals and / or broadcast-related information and transmits them to a terminal.
  • the broadcast signal may include a TV broadcast signal, a radio broadcast signal, and a data broadcast signal, and may also include a TV broadcast signal or a radio broadcast signal combined with a data broadcast signal.
  • the broadcast related information may mean information related to a broadcast channel, broadcast program, or broadcast service provider. Broadcast-related information may also be provided through a mobile communication network. In this case, it may be received by the mobile communication module 2812.
  • Broadcast-related information may exist in various forms, for example, an electronic program guide (EPG) or an electronic service guide (ESG).
  • EPG electronic program guide
  • ESG electronic service guide
  • the broadcast reception module 2811 includes, for example, ATSC, digital video broadcasting-terrestrial (DVB-T), satellite (DVB-S), media forward link only (MediaFLO), handheld (DVB-H), ISDB-T (Digital broadcasting signals can be received using digital broadcasting systems such as integrated services digital broadcast-terrestrial.
  • the broadcast receiving module 2811 may be configured to be suitable for other broadcasting systems as well as the digital broadcasting system described above.
  • the broadcast signal and / or broadcast-related information received through the broadcast receiving module 2811 may be stored in the memory 2860.
  • the mobile communication module 2812 transmits and receives wireless signals to and from at least one of a base station, an external terminal, and a server on a mobile communication network.
  • the wireless signal may include various types of data according to transmission and reception of a voice signal, a video call signal, or a text / multimedia message.
  • the wireless Internet module 2813 may include a module for wireless Internet access, or may be built in or external to the mobile device 2800.
  • Wireless Internet technology may include wireless LAN (WLAN) (Wi-Fi), wireless broadband (Wibro), world interoperability for microwave access (Wimax), and high speed downlink packet access (HSDPA).
  • the short-range communication module 2814 refers to a module for short-range communication.
  • Bluetooth radio frequency identification (RFID), infrared data association (IrDA), ultra wideband (UWB), ZigBee, RS-232, RS-485, etc. may be used as short range communication technology. You can.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra wideband
  • ZigBee ZigBee
  • RS-232 RS-485, etc.
  • the location information module 2815 is a module for obtaining location information of the mobile device 2800, and may use a global positioning system (GPS) module as an example.
  • GPS global positioning system
  • the A / V input unit 2820 is for audio or / and video signal input, and may include a camera 2821, a microphone 2822, and the like.
  • the camera 2821 processes image frames such as still images or moving images obtained by an image sensor in a video call mode or a shooting mode.
  • the processed image frame may be displayed on the display unit 2851.
  • the image frames processed by the camera 2821 may be stored in the memory 2860 or transmitted to the outside through the wireless communication unit 2810. Two or more cameras 2821 may be provided according to the use environment.
  • the microphone 2822 receives an external sound signal by a microphone in a call mode or a recording mode, a voice recognition mode, and processes it as electrical voice data.
  • the processed voice data may be converted and output in a form that can be transmitted to the mobile communication base station through the mobile communication module 2812 in the call mode.
  • Various noise reduction algorithms for removing noise generated in the process of receiving an external sound signal may be implemented in the microphone 2822.
  • the user input unit 2830 the user generates input data for controlling the operation of the terminal.
  • the user input unit 2830 may be configured with a key pad, a dome switch, a touch pad (static pressure / power outage), a jog wheel, a jog switch, or the like.
  • the sensing unit 2840 displays the current state of the mobile device 2800, such as the open / closed state of the mobile device 2800, the location of the mobile device 2800, presence or absence of user contact, orientation of the mobile device, acceleration / deceleration of the mobile device, and the like. It senses and generates a sensing signal for controlling the operation of the mobile device 2800. For example, when the mobile device 2800 is moved or tilted, the position or tilt of the mobile device may be sensed. In addition, whether power is supplied to the power supply unit 2890 or whether external devices are coupled to the interface unit 2870 may be sensed. Meanwhile, the sensing unit 2840 may include a proximity sensor 2841 including near field communication (NFC).
  • NFC near field communication
  • the output unit 2850 is for generating output related to visual, auditory, or tactile senses, and may include a display unit 2851, an audio output module 2852, an alarm unit 2853, and a haptic module 2854. have.
  • the display unit 2851 displays (outputs) information processed by the mobile device 2800. For example, when the mobile device is in a call mode, a user interface (UI) or a graphic user interface (GUI) related to the call is displayed. When the mobile device 2800 is in a video call mode or a shooting mode, the photographed and / or received video or UI, GUI is displayed.
  • UI user interface
  • GUI graphic user interface
  • the display unit 2851 includes a liquid crystal display (LCD), a thin film transistor-liquid crystal display (TFT LCD), an organic light-emitting diode (OLED), and a flexible display ( flexible display) and a 3D display.
  • LCD liquid crystal display
  • TFT LCD thin film transistor-liquid crystal display
  • OLED organic light-emitting diode
  • flexible display flexible display and a 3D display.
  • Some of these displays may be of a transparent type or a light transmissive type so that the outside can be seen through them. This may be referred to as a transparent display, and a typical example of the transparent display is a transparent OLED (TOLED).
  • the rear structure of the display unit 2851 may also be configured as a light transmissive structure. With this structure, the user can see an object located behind the terminal body through an area occupied by the display unit 2851 of the terminal body.
  • Two or more display units 2851 may exist depending on the implementation form of the mobile device 2800.
  • a plurality of display units may be spaced apart or integrally disposed on one surface, or may be disposed on different surfaces.
  • the display unit 2851 and a sensor detecting a touch operation form a mutual layer structure (hereinafter referred to as a 'touch screen')
  • the display unit 2851 inputs other than an output device. It can also be used as a device.
  • the touch sensor may have, for example, a form of a touch film, a touch sheet, a touch pad, and the like.
  • the touch sensor may be configured to convert changes in pressure applied to a specific portion of the display portion 2851 or capacitance generated in a specific portion of the display portion 2851 into an electrical input signal.
  • the touch sensor may be configured to detect not only the touched position and area, but also pressure at the time of touch.
  • the corresponding signal (s) is sent to the touch controller.
  • the touch controller processes the signal (s) and then transmits corresponding data to the controller 2880.
  • the control unit 2880 can know which area of the display unit 2851 has been touched.
  • a proximity sensor 2841 may be disposed in an inner region of the mobile device wrapped by the touch screen or near the touch screen.
  • the proximity sensor refers to a sensor that detects the presence or absence of an object approaching a predetermined detection surface or an object present in the vicinity without mechanical contact using electromagnetic force or infrared rays.
  • Proximity sensors have a longer lifespan and higher utilization than contact sensors.
  • the proximity sensor examples include a transmission type photoelectric sensor, a direct reflection type photoelectric sensor, a mirror reflection type photoelectric sensor, a high frequency oscillation type proximity sensor, a capacitive type proximity sensor, a magnetic type proximity sensor, and an infrared proximity sensor.
  • the touch screen When the touch screen is capacitive, it is configured to detect the proximity of the pointer due to a change in electric field according to the proximity of the pointer. In this case, the touch screen (touch sensor) may be classified as a proximity sensor.
  • the act of causing the pointer to be recognized as being located on the touch screen without being touched by the pointer on the touch screen is referred to as a “proximity touch”, and on the touch screen
  • the act of actually touching the pointer is referred to as "contact touch.”
  • the location on the touch screen that is a proximity touch with the pointer means a location where the pointer is perpendicular to the touch screen when the pointer is touched close.
  • the proximity sensor detects a proximity touch and a proximity touch pattern (eg, proximity touch distance, proximity touch direction, proximity touch speed, proximity touch time, proximity touch position, proximity touch movement state, etc.). Information corresponding to the sensed proximity touch operation and the proximity touch pattern may be output on the touch screen.
  • a proximity touch pattern eg, proximity touch distance, proximity touch direction, proximity touch speed, proximity touch time, proximity touch position, proximity touch movement state, etc.
  • the audio output module 2852 may output audio data received from the wireless communication unit 2810 or stored in the memory 2860 in a call signal reception, a call mode or a recording mode, a voice recognition mode, a broadcast reception mode, or the like.
  • the sound output module 2852 may also output sound signals related to functions (for example, call signal reception sound, message reception sound, etc.) performed by the mobile device 2800.
  • the sound output module 2852 may include a receiver, a speaker, and a buzzer.
  • the alarm unit 2853 outputs a signal for notifying the occurrence of the event of the mobile device 2800. Examples of events generated in the mobile device include call signal reception, message reception, key signal input, and touch input.
  • the alarm unit 2853 may output a signal for notifying the occurrence of an event in a form other than a video signal or an audio signal, for example, vibration.
  • the video signal or the audio signal may also be output through the display unit 2851 or the audio output module 2852, so that the display unit and the audio output modules 2851 and 2852 may be classified as part of the alarm unit 2853.
  • the haptic module 2854 generates various tactile effects that the user can feel.
  • a typical example of the tactile effect generated by the haptic module 2854 is vibration.
  • the intensity and pattern of vibration generated by the haptic module 2854 can be controlled. For example, different vibrations may be synthesized and output or sequentially output.
  • the haptic module 2854 includes, in addition to vibration, a pin arrangement that vertically moves with respect to the contact skin surface, a jet or suction force of air through a jet or intake, a grazing on the skin surface, contact with an electrode, and stimulation such as electrostatic force.
  • Various tactile effects can be generated, such as an effect caused by an effect and an effect of reproducing a feeling of cold and warm using an element capable of absorbing heat or generating heat.
  • the haptic module 2854 can not only transmit the tactile effect through direct contact, but also implement it so that the user can feel the tactile effect through muscle sensations such as fingers or arms. Two or more haptic modules 2854 may be provided according to a configuration aspect of the mobile device 2800.
  • the memory 2860 may store a program for the operation of the control unit 2880, and may temporarily store input / output data (eg, a phone book, a message, a still image, a video, etc.).
  • the memory 2860 may store data related to various patterns of vibration and sound output when a touch is input on the touch screen.
  • the memory 2860 includes a flash memory type, a hard disk type, a multimedia card micro type, and a card type memory (for example, SD or XD memory, etc.), Random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, It may include a storage medium of at least one of a magnetic disk and an optical disk.
  • the mobile device 2800 may operate in connection with a web storage that performs a storage function of the memory 2860 on the Internet.
  • the interface unit 2870 serves as a path to all external devices connected to the mobile device 2800.
  • the interface unit 2870 receives data from an external device, receives power, and transmits data to each component inside the mobile device 2800, or allows data inside the mobile device 2800 to be transmitted to the external device.
  • wired / wireless headset port, external charger port, wired / wireless data port, memory card port, port for connecting devices equipped with an identification module, audio input / output (I / O) port, A video I / O port, an earphone port, and the like may be included in the interface unit 2870.
  • the identification module is a chip that stores various information for authenticating the usage rights of the mobile device 2800, a user identification module (UIM), a subscriber identification module (SIM), and a universal user authentication module ( universal subscriber identity module, USIM).
  • the device provided with the identification module (hereinafter referred to as an 'identification device') may be manufactured in a smart card format. Accordingly, the identification device may be connected to the terminal 2800 through a port.
  • Interface unit 2870 when the mobile terminal 2800 is connected to an external cradle (cradle), power from the cradle is a passage to be supplied to the mobile terminal 2800, or various command signals input from the cradle by the user It can be a passage to the mobile terminal.
  • Various command signals or power input from the cradle may be operated as signals for recognizing that the mobile terminal is correctly mounted on the cradle.
  • the control unit 2880 typically controls the overall operation of the mobile device. For example, it performs related control and processing for voice calls, data communication, video calls, and the like.
  • the control unit 2880 may include a multimedia module 2881 for multimedia playback.
  • the multimedia module 2801 may be implemented in the control unit 2880, or may be implemented separately from the control unit 2880.
  • the control unit 2880, in particular the multimedia module 2801, may include the encoding device 100 and / or the decoding device 200 described above.
  • the control unit 2880 may perform pattern recognition processing capable of recognizing handwriting input or picture drawing input performed on a touch screen as characters and images, respectively.
  • the power supply unit 2890 receives external power and internal power under the control of the control unit 2880 to supply power required for the operation of each component.
  • the embodiments described herein include application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), It may be implemented using at least one of a processor, a controller, micro-controllers, microprocessors, and electrical units for performing other functions.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGAs field programmable gate arrays
  • It may be implemented using at least one of a processor, a controller, micro-controllers, microprocessors, and electrical units for performing other functions.
  • the embodiments described herein may include a control unit ( 2880) can be implemented by itself.
  • embodiments such as procedures and functions described herein may be implemented as separate software modules.
  • Each of the software modules can perform one or more functions and operations described herein.
  • Software code can be implemented in a software application written in an appropriate programming language.
  • the software code is stored in the memory 2860 and can be executed by the control unit 2880.
  • 29 is a block diagram illustrating a digital device according to another embodiment.
  • the digital device 2900 include a broadcast receiving unit 2905, an external device interface unit 2935, a storage unit 2940, a user input interface unit 2950, a control unit 2970, a display unit 2980, audio It may include an output unit 2985, a power supply unit 2990 and a photographing unit (not shown).
  • the broadcast reception unit 2905 may include at least one tuner 2910, a demodulation unit 2920, and a network interface unit 2930.
  • the broadcast receiving unit 2905 may include a tuner 2910 and a demodulator 2920, but may not include the network interface unit 2930, and vice versa.
  • a multiplexer is provided to multiplex the signal demodulated from the demodulator 2920 through the tuner 2910 and the network interface unit 2930. It might be.
  • a demultiplexer may be provided to demultiplex the multiplexed signal or demultiplex the demodulated signal or the signal that has passed through the network interface unit 2930. have.
  • the tuner 2910 receives an RF broadcast signal by tuning a channel selected by a user or all pre-stored channels among radio frequency (RF) broadcast signals received through an antenna. In addition, the tuner 2910 converts the received RF broadcast signal into an intermediate frequency (IF) signal or a baseband signal.
  • IF intermediate frequency
  • the tuner 2910 can process both digital broadcast signals or analog broadcast signals.
  • the analog baseband video or audio signal (CVBS / SIF) output from the tuner 2910 may be directly input to the controller 2970.
  • the tuner 2910 may receive a single carrier RF broadcast signal according to an advanced television system committee (ATSC) method or a multiple carrier RF broadcast signal according to a digital video broadcasting (DVB) method.
  • ATSC advanced television system committee
  • DVD digital video broadcasting
  • the tuner 2910 may sequentially tune and receive RF broadcast signals of all broadcast channels stored through a channel storage function among RF broadcast signals received through an antenna, and convert them into an intermediate frequency signal or a baseband signal. .
  • the demodulator 2920 receives and demodulates the digital IF signal DIF converted by the tuner 2910. For example, when the digital IF signal output from the tuner 2910 is ATSC, the demodulator 2920, for example, performs 8-vestigal side band (8-VSB) demodulation. Also, the demodulator 2920 may perform channel decoding. To this end, the demodulator 2920 is equipped with a trellis decoder, a de-interleaver, a Reed-Solomon decoder, and the like, trellis decoding, deinterleaving, and Reed Soloman decoding can be performed.
  • the demodulator 2920 when the digital IF signal output from the tuner 2910 is a DVB method, the demodulator 2920, for example, performs coded orthogonal frequency division modulation (COFDMA) demodulation. Also, the demodulator 2920 may perform channel decoding. To this end, the demodulator 2920 is equipped with a convolution decoder, a deinterleaver, and a Reed-Soloman decoder, and can perform convolution decoding, deinterleaving, and Reed Soloman decoding.
  • COFDMA coded orthogonal frequency division modulation
  • the demodulator 2920 may output a stream signal TS after demodulation and channel decoding.
  • the stream signal may be a signal in which a video signal, an audio signal or a data signal is multiplexed.
  • the stream signal may be an MPEG-2 transport stream (TS) in which an MPEG-2 standard video signal and a Dolby AC-3 standard audio signal are multiplexed.
  • the MPEG-2 TS may include a header of 4 bytes and a payload of 184 bytes.
  • the demodulator 2920 described above may be separately provided according to the ATSC method and the DVB method. That is, the digital device may separately include an ATSC demodulator and a DVB demodulator.
  • the stream signal output from the demodulator 2920 may be input to the controller 2970.
  • the control unit 2970 may control demultiplexing, video / audio signal processing, and the like, and control an image output through the display unit 2980 and an audio output unit through the audio output unit 2985.
  • the external device interface unit 2935 provides an environment in which various external devices are interfaced to the digital device 2900.
  • the external device interface unit 2935 may include an A / V input / output unit (not shown) or a wireless communication unit (not shown).
  • the external device interface unit 2935 includes digital versatile disk (DVD), blu-ray, game device, camera, camcorder, computer (laptop, tablet), smartphone, Bluetooth device, and cloud It can be connected to external devices such as (cloud) by wire / wireless.
  • the external device interface unit 2935 transmits a video, audio, or data (including image) signal input from the outside through the connected external device to the control unit 2970 of the digital device.
  • the controller 2970 may control the processed video, audio, or data signal to be output to a connected external device.
  • the external device interface unit 2935 may further include an A / V input / output unit (not shown) or a wireless communication unit (not shown).
  • the A / V input / output unit includes a USB terminal, a composite video banking sync (CVBS) terminal, a component terminal, an S-video terminal (analog), and a DVI (so that video and audio signals from external devices can be input to the digital device 2900).
  • digital visual interface (HDMI) terminal a high definition multimedia interface (HDMI) terminal, an RGB terminal, a D-SUB terminal, and the like.
  • the wireless communication unit may perform short-range wireless communication with other electronic devices.
  • the digital device 2900 includes, for example, Bluetooth, radio frequency identification (RFID), infrared data association (IrDA), ultra wideband (UWB), ZigBee, digital living network alliance (DLNA). Networks may be connected to other electronic devices according to a communication protocol.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra wideband
  • ZigBee wireless living network alliance
  • DLNA digital living network alliance
  • the external device interface unit 2935 may be connected to at least one of various set-top boxes and various terminals described above, and perform input / output operations with the set-top box.
  • the external device interface unit 2935 may receive an application or a list of applications in an adjacent external device and transmit it to the control unit 2970 or the storage unit 2940.
  • the network interface unit 2930 provides an interface for connecting the digital device 2900 to a wired / wireless network including an Internet network.
  • the network interface unit 2930 may include, for example, an Ethernet terminal or the like for connection with a wired network, for example, a wireless LAN (WLAN) (Wi-) for connection with a wireless network.
  • WLAN wireless LAN
  • Wi- wireless broadband
  • Wimax world interoperability for microwave access
  • HSDPA high speed downlink packet access
  • the network interface unit 2930 may transmit or receive data with other users or other digital devices through a connected network or another network linked to the connected network.
  • some content data stored in the digital device 2900 may be transmitted to another user registered in advance in the digital device 2900 or a selected user among other digital devices or a selected digital device.
  • the network interface unit 2930 may access a predetermined web page through a connected network or another network linked to the connected network. That is, it is possible to connect to a predetermined web page through a network, and transmit or receive data with the corresponding server.
  • content or data provided by a content provider or a network operator may be received. That is, it is possible to receive content such as a movie, advertisement, game, VOD, broadcast signal, and related information provided by a content provider or a network provider through a network.
  • the network interface unit 2930 may select and receive a desired application from among applications that are open to the public through a network.
  • the storage unit 2940 may store a program for processing and controlling each signal in the control unit 2970, or may store a signal-processed image, audio, or data signal.
  • the storage unit 2940 may perform a function for temporarily storing video, audio, or data signals input from the external device interface unit 2935 or the network interface unit 2930.
  • the storage unit 2940 may store information regarding a predetermined broadcast channel through a channel storage function.
  • the storage unit 2940 may store an application or a list of applications input from the external device interface unit 2935 or the network interface unit 2930.
  • the storage unit 2940 may store various platforms described later.
  • the storage unit 2940 includes, for example, a flash memory type, a hard disk type, a multimedia card micro type, and a card type memory (for example, SD or XD) Memory, etc.), RAM (RAM), and ROM (EEPROM, etc.).
  • the digital device 2900 may play and provide content files (video files, still image files, music files, document files, application files, etc.) stored in the storage unit 2940 to the user.
  • FIG 29 illustrates an embodiment in which the storage unit 2940 is provided separately from the control unit 2970, the scope of the present invention is not limited thereto. That is, the storage unit 2940 may be included in the control unit 2970.
  • the user input interface unit 2950 transmits a signal input by the user to the controller 2970 or a signal from the controller 2970 to the user.
  • the user input interface unit 2950 controls power on / off, channel selection, and screen setting from the remote control device 3000 according to various communication methods such as an RF communication method and an infrared (IR) communication method.
  • the signal may be received and processed, or may be processed to transmit the control signal of the control unit 2970 to the remote control device 3000.
  • the user input interface unit 2950 may transmit a control signal input from a local key (not shown) such as a power key, a channel key, a volume key, and a set value to the control unit 2970.
  • a local key such as a power key, a channel key, a volume key, and a set value
  • the user input interface unit 2950 transmits a control signal input from a sensing unit (not shown) that senses a user's gesture to the control unit 2970 or senses a signal from the control unit 2970 (Not shown).
  • the sensing unit may include a touch sensor, a voice sensor, a position sensor, and a motion sensor.
  • the control unit 2970 demultiplexes the stream input through the tuner 2910, demodulator 2920, or external device interface unit 2935 or processes demultiplexed signals to generate a signal for video or audio output. And output.
  • the control unit 2970 may include the aforementioned encoding device and / or decoding device.
  • the image signal processed by the control unit 2970 may be input to the display unit 2980 and displayed as an image corresponding to the corresponding image signal. Also, the image signal processed by the control unit 2970 may be input to the external output device through the external device interface unit 2935.
  • the audio signal processed by the control unit 2970 may be audio output to the audio output unit 2985. Also, the audio signal processed by the control unit 2970 may be input to the external output device through the external device interface unit 2935.
  • control unit 2970 may include a demultiplexing unit, an image processing unit, and the like.
  • the controller 2970 may control the overall operation of the digital device 2900.
  • the controller 2970 may control the tuner 2910 to tune an RF broadcast corresponding to a channel selected by a user or a pre-stored channel.
  • the controller 2970 may control the digital device 2900 by a user command input through the user input interface unit 2950 or an internal program. In particular, it is possible to access a network and download a desired application or application list into the digital device 2900.
  • control unit 2970 controls the tuner 2910 to input a signal of a selected channel according to a predetermined channel selection command received through the user input interface unit 2950. And it processes the video, audio or data signal of the selected channel.
  • the control unit 2970 allows the channel information or the like selected by the user to be output through the display unit 2980 or the audio output unit 2985 together with the processed image or audio signal.
  • control unit 2970 may be input from an external device input through the external device interface unit 2935, for example, a camera or camcorder, according to an external device image playback command received through the user input interface unit 2950.
  • the video signal or the audio signal can be output through the display unit 2980 or the audio output unit 2985.
  • control unit 2970 may control the display unit 2980 to display an image.
  • It can be controlled to be displayed on the display unit 2980.
  • the image displayed on the display unit 2980 may be a still image or a video, and may be a 2D image or a 3D image.
  • control unit 2970 may control to play content.
  • the content at this time may be content stored in the digital device 2900, or received broadcast content, or external input content input from the outside.
  • the content may be at least one of a broadcast image, an external input image, an audio file, a still image, a connected web screen, and a document file.
  • the controller 2970 may control to display a list of applications or applications that can be downloaded from the digital device 2900 or from an external network.
  • the control unit 2970 may control to install and operate an application downloaded from an external network, along with various user interfaces. Also, an image related to an application to be executed may be controlled to be displayed on the display unit 2880 by a user's selection.
  • a channel browsing processing unit for generating a thumbnail image corresponding to a channel signal or an external input signal is further provided.
  • the channel browsing processing unit receives a stream signal (TS) output from the demodulator 2920 or a stream signal output from the external device interface unit 2935, extracts an image from the input stream signal, and generates a thumbnail image. You can.
  • TS stream signal
  • the generated thumbnail image can be input as it is or as encoded. Also, the generated thumbnail image may be encoded in a stream form and input to the control unit 2970.
  • the controller 2970 may display a list of thumbnails having a plurality of thumbnail images on the display unit 2980 using the input thumbnail images. Meanwhile, the thumbnail images in the thumbnail list can be updated sequentially or simultaneously. Accordingly, the user can easily grasp the contents of a plurality of broadcast channels.
  • the display unit 2980 converts image signals, data signals, OSD signals, or image signals received from the external device interface unit 2935 processed by the control unit 2970 into R, G, and B signals, respectively. Generate a drive signal.
  • the display unit 2980 may be a PDP, LCD, OLED, flexible display, 3D display, or the like.
  • the display unit 2980 may be configured as a touch screen and used as an input device in addition to an output device.
  • the audio output unit 2985 receives a signal processed by the control unit 2970, for example, a stereo signal, a 3.1 channel signal, or a 5.1 channel signal, and outputs the audio.
  • the voice output unit 2985 may be implemented as various types of speakers.
  • a sensing unit having at least one of a touch sensor, a voice sensor, a position sensor, and a motion sensor may be further provided in the digital device 2900. .
  • the signal sensed by the sensing unit may be transmitted to the control unit 2970 through the user input interface unit 2950.
  • a photographing unit (not shown) for photographing a user may be further provided. Image information photographed by the photographing unit (not shown) may be input to the control unit 2970.
  • the control unit 2970 may detect a user's gesture by individually or in combination with an image captured by a photographing unit (not shown) or a detected signal from a sensing unit (not shown).
  • the power supply 2990 supplies the corresponding power across the digital device 2900.
  • control unit 2970 that can be implemented in the form of a system on chip (SOC), a display unit 2980 for image display, and an audio output unit 2985 for audio output. You can.
  • SOC system on chip
  • the power supply 2990 may include a converter (not shown) that converts AC power into DC power.
  • a PWM-operable inverter (not shown) may be further provided for luminance variation or dimming driving. have.
  • the remote control device 3000 transmits a user input to the user input interface unit 2950.
  • the remote control device 3000 may use Bluetooth, radio frequency (RF) communication, infrared (IR) communication, Ultra Wideband (UWB), ZigBee, or the like.
  • the remote control device 3000 may receive an image, audio, or data signal output from the user input interface unit 2950, display it on the remote control device 3000, or output voice or vibration.
  • the digital device 2900 described above may be a digital broadcast receiver capable of processing a fixed or mobile ATSC or DVB digital broadcast signal.
  • a digital device may further omit some components or further include components that are not illustrated, as necessary.
  • the digital device does not have a tuner and a demodulator, and may receive and play content through a network interface unit or an external device interface unit.
  • FIGS. 27 to 29 are block diagrams illustrating a detailed configuration of the control unit of FIGS. 27 to 29 to illustrate an embodiment.
  • control unit is a demultiplexing unit 3010, an image processing unit 3020, an on-screen display (OSD) generating unit 3040, a mixer 3050, a frame rate converter, FRC ) 3055, and a formatter 3060.
  • control unit may further include a voice processing unit and a data processing unit.
  • the demultiplexing unit 3010 demultiplexes the input stream.
  • the demultiplexer 3010 may demultiplex the input MPEG-2 TS video, audio, and data signals.
  • the stream signal input to the demultiplexer 3010 may be a stream signal output from a tuner or demodulator or an external device interface.
  • the image processing unit 3020 performs image processing of the demultiplexed image signal.
  • the image processing unit 3020 may include an image decoder 3025 and a scaler 3035.
  • the video decoder 3025 decodes the demultiplexed video signal, and the scaler 3035 scales the resolution of the decoded video signal to be output from the display unit.
  • the video decoder 3025 may support various standards.
  • the video decoder 3025 performs the function of the MPEG-2 decoder when the video signal is encoded in the MPEG-2 standard, and the video signal is encoded in the digital multimedia broadcasting (DMB) method or the H.264 standard.
  • DMB digital multimedia broadcasting
  • H.264 the function of the H.264 decoder can be performed.
  • the video signal decoded by the video processing unit 3020 is input to the mixer 3050.
  • the OSD generation unit 3040 generates OSD data according to a user input or by itself. For example, the OSD generating unit 3040 generates data for displaying various data on the screen of the display unit in the form of a graphic or text based on the control signal of the user input interface unit.
  • the generated OSD data includes various data such as a user interface screen of a digital device, various menu screens, widgets, icons, and viewing rate information.
  • the OSD generator 3040 may generate data for displaying subtitles of broadcast images or broadcast information based on EPG.
  • the mixer 3050 mixes the OSD data generated by the OSD generator 3040 and the image signal processed by the image processor to provide the formatter 3060. Because the decoded video signal and OSD data are mixed, the OSD is displayed overlaid on the broadcast video or the external input video.
  • a frame rate converter (FRC) 3055 converts a frame rate of an input video.
  • the frame rate converter 3055 may convert the input 60 Hz image frame rate to have a frame rate of, for example, 120 Hz or 240 Hz according to the output frequency of the display unit.
  • various methods may exist in the method for converting the frame rate. For example, when the frame rate converter 3055 converts the frame rate from 60 Hz to 120 Hz, the same first frame is inserted between the first frame and the second frame, or the first frame and the second frame are predicted from the first frame. It can be converted by inserting 3 frames.
  • the frame rate converter 3055 converts the frame rate from 60 Hz to 240 Hz, three or more identical frames or predicted frames may be inserted between existing frames and converted. Meanwhile, when a separate frame conversion is not performed, the frame rate conversion unit 3055 may be bypassed.
  • the formatter 3060 changes the output of the input frame rate conversion unit 3055 to match the output format of the display unit.
  • the formatter 3060 may output R, G, and B data signals, and these R, G, and B data signals may be output as low voltage differential signaling (LVDS) or mini-LVDS. Can be.
  • the formatter 3060 may support 3D service through the display unit by configuring and outputting a 3D format according to the output format of the display unit.
  • a voice processing unit (not shown) in the control unit may perform voice processing of a demultiplexed voice signal.
  • the voice processing unit (not shown) may support various audio formats. For example, even when an audio signal is encoded in formats such as MPEG-2, MPEG-4, AAC, HE-AAC, AC-3, BSAC, a decoder corresponding thereto may be provided and processed.
  • the voice processing unit (not shown) in the control unit may process a base, treble, volume control, and the like.
  • the data processing unit (not shown) in the control unit may perform data processing of the demultiplexed data signal.
  • the data processing unit can decode the demultiplexed data signal even when it is encoded.
  • the encoded data signal may be EPG information including broadcast information such as a start time and an end time of a broadcast program broadcast on each channel.
  • each component may be integrated, added, or omitted depending on the specification of the actual digital device. That is, if necessary, two or more components may be combined into one component, or one component may be subdivided into two or more components.
  • the function performed in each block is for explaining an embodiment of the present invention, the specific operation or device does not limit the scope of the present invention.
  • the digital device may be an image signal processing device that performs signal processing of an image stored in the device or an input image.
  • the display unit 2980 and the audio output unit 2985 shown in FIG. 29 are set-top box (STB), DVD player, Blu-ray player, game device, computer And the like can be further exemplified.
  • FIG. 31 is a diagram illustrating an example in which a screen of a digital device displays a main image and a sub image simultaneously, according to an embodiment.
  • the digital device may simultaneously display the main image 3110 and the auxiliary image 3120 on the screen 3100.
  • the main image 3110 may be called a first image, and the auxiliary image 3120 may be called a second image.
  • the main image 3110 and the auxiliary image 3120 may include a video, still images, an electronic program guide (EPG), a graphical user interface (GUI), an on-screen display (OSD), and the like.
  • EPG electronic program guide
  • GUI graphical user interface
  • OSD on-screen display
  • the main image 3110 may be displayed on the screen 3100 of the electronic device at the same time as the auxiliary image 3120, and may mean an image that is relatively smaller in size than the screen 3100 of the electronic device, as a picture in picture (PIP). Also referred to as.
  • PIP picture in picture
  • the main image 3110 is shown as being displayed on the upper left of the screen 3100 of the digital device, but the location where the main image 3110 is displayed is not limited thereto, and the main image 3110 is a digital device. Can be displayed at any location within the screen 3100.
  • the main image 3110 and the auxiliary image 3120 may be directly or indirectly related to each other.
  • the main video 3110 is a streaming video
  • the auxiliary video 3120 may be a GUI that sequentially displays thumbnails of videos including information similar to the streaming video.
  • the main image 3110 may be a broadcasted image
  • the auxiliary image 3120 may be an EPG.
  • the main image 3110 may be a broadcast image
  • the auxiliary image 3120 may be a GUI. Examples of the main image 3110 and the auxiliary image 3120 are not limited thereto.
  • the main image 3110 is a broadcast image received through a broadcasting channel
  • the auxiliary image 3120 may be information related to a broadcast image received through a broadcast channel.
  • Information related to a broadcast video received through a broadcast channel may include, for example, EPG information including a comprehensive channel schedule, broadcast program detailed information, and broadcast program review information, but is not limited thereto.
  • the main image 3110 is a broadcast image received through a broadcast channel
  • the auxiliary image 3120 may be an image generated based on information pre-stored in a digital device.
  • the image generated based on the information pre-stored in the digital device may include, for example, a basic user interface (UI) of the EPG, basic channel information, an image resolution manipulation UI, and a bedtime reservation UI. Does not work.
  • UI basic user interface
  • the main image 3110 is a broadcast image received through a broadcast channel
  • the auxiliary image 3120 may be information related to a broadcast image received through a network.
  • the information related to the broadcast image received through the network may be, for example, information obtained through a network-based search engine. More specifically, for example, information related to a character currently being displayed on the main image 3110 may be obtained through a network-based search engine.
  • information related to a broadcast image received through a network may be obtained by using, for example, an artificial intelligence (AI) system.
  • AI artificial intelligence
  • an estimated-location in map of a place currently being displayed on the main image 3110 may be obtained using network-based deep-learning, and digital The device may receive information about the estimated location on the map of the place currently being displayed on the main image 3110 through the network.
  • the digital device may receive at least one of image information of the main image 3110 and image information of the auxiliary image 3120 from the outside.
  • the video information of the main video 3110 includes, for example, a broadcast signal received through a broadcasting channel, a source code information of the main video 3110, and a main received through a network network. IP packet (internet protocol packet) information of the image 3110 may be included, but is not limited thereto.
  • the video information of the secondary video 3120 includes, for example, broadcast signals received through a broadcast channel, source code information of the secondary video 3120, IP packet information of the secondary video 3120 received through a network, and the like. It may include, but is not limited to.
  • the digital device may decode and use video information of the main video 3110 or video information of the auxiliary video 3120 received from the outside. However, in some cases, the digital device may store image information of the main image 3110 or image information of the auxiliary image 3120 internally.
  • the digital device may display the main image 3110 and the auxiliary image 3120 on the screen 3100 of the digital device based on the image information of the main image 3110 and information related to the auxiliary image 3120.
  • the decoding apparatus 200 of the digital device includes a main image decoding apparatus and an auxiliary image decoding apparatus, and the main image decoding apparatus and the auxiliary image decoding apparatus respectively include image information and auxiliary images 3120 of the main image 3110.
  • Can decode video information includes a main video renderer (first renderer) and an auxiliary video renderer (second renderer), and the main video renderer displays the main video 3110 on the screen of the digital device 3100 based on the information decoded by the main video decoding apparatus. ), And the auxiliary image renderer may display the auxiliary image 3120 on the second area of the screen 3100 of the digital device based on the information decoded by the auxiliary image decoding device. .
  • the decoding apparatus 200 of the digital device may decode image information of the main image 3110 and image information of the auxiliary image 3120. Based on the information decoded by the decoding apparatus 200, the renderer may process the main image 3110 and the auxiliary image 3120 together to be simultaneously displayed on the screen 3100 of the digital device.
  • the image service processing method receiving image information, decoding a (main) image based on the image information, rendering or displaying the decoded image in a first area on the display, and second in the display And rendering or displaying an auxiliary image in the area.
  • the step of decoding the first image may follow the decoding procedure in the decoding apparatus 200 according to FIG. 3 described above.
  • decoding the first image may include deriving prediction samples for the current block based on inter or intra prediction, and residual samples for the current block based on the received residual information. And generating reconstruction samples based on predictive samples and / or residual samples.
  • decoding the first image may include performing an in-loop filtering procedure on the reconstructed picture including the reconstructed samples.
  • the auxiliary image may be an electronic program guide (EPG), an on-screen display (OSD), or a graphical user interface (GUI).
  • EPG electronic program guide
  • OSD on-screen display
  • GUI graphical user interface
  • the video information may be received through a broadcast network, and information on the auxiliary video may be received through the broadcast network.
  • the image information may be received through a communication network, and information regarding the auxiliary image may be received through the communication network.
  • the video information may be received through a broadcast network, and information regarding the auxiliary video may be received through a communication network.
  • the image information may be received through a broadcasting network or a communication network, and information regarding the auxiliary image may be stored in a storage medium in the digital device.
  • an embodiment of the present specification may be implemented in the form of a module, procedure, function, etc. that performs the functions or operations described above.
  • the software code can be stored in memory and driven by a processor.
  • the memory is located inside or outside the processor, and can exchange data with the processor by various means already known.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 명세서의 실시예들은 비디오 신호 처리 방법 및 장치를 제공한다. 본 명세서의 실시예에 따른 영상 신호의 처리 방법은, 현재 블록의 공간적 머지 후보 또는 시간적 머지 후보로부터 제1 움직임 벡터와 제2 움직임 벡터를 포함하는 머지 후보 리스트를 생성하는 단계와, 상기 머지 후보 리스트의 머지 후보 개수가 최대 머지 후보 개수보다 작은 경우, 상기 제1 움직임 벡터와 상기 제2 움직임 벡터의 평균 값으로 결정되는 제3 움직임 벡터를 상기 머지 후보 리스트에 추가하는 단계와, 상기 머지 후보 리스트에서 머지 인덱스에 의해 지시되는 움직임 벡터를 사용하여 상기 현재 블록의 예측 샘플을 생성하는 단계를 포함한다.

Description

영상 신호를 처리하기 위한 방법 및 장치
본 명세서는 영상 신호를 처리하기 위한 방법 및 장치에 관한 것으로서, 특히 예측을 사용하여 영상 신호를 인코딩 또는 디코딩하기 위한 방법 및 장치에 관한 것이다.
압축 부호화란 디지털화한 정보를 통신 회선을 통해 전송하거나, 저장 매체에 적합한 형태로 저장하기 위한 일련의 신호 처리 기술을 의미한다. 영상, 이미지, 음성 등의 미디어가 압축 부호화의 대상이 될 수 있으며, 특히 영상을 대상으로 압축 부호화를 수행하는 기술을 비디오 영상 압축이라고 일컫는다.
차세대 비디오 컨텐츠는 고해상도(high spatial resolution), 고프레임율(high frame rate) 및 영상 표현의 고차원화(high dimensionality of scene representation)라는 특징을 갖게 될 것이다. 그러한 컨텐츠를 처리하기 위해서는 메모리 저장(memory storage), 메모리 액세스율(memory access rate) 및 처리 전력(processing power) 측면에서 엄청난 증가를 가져올 것이다.
따라서, 차세대 영상 컨텐츠를 보다 효율적으로 처리하기 위한 코딩 툴을 디자인할 필요가 있다. 특히, HEVC(high efficiency video coding) 표준 이후의 비디오 코덱 표준은 보다 자원을 효율적으로 사용하면서 정확하게 예측 샘플을 생성할 수 있는 예측 기술을 요구한다.
본 명세서의 실시예들은, 다른 픽처를 사용하여 현재 픽처에 대한 예측을 수행하는 인터 예측(inter prediction)에 있어서 효율적으로 머지 후보 리스트(merge candidate list)를 구성하기 위한 방법 및 장치를 제공한다.
본 명세서에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 명세서가 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
본 명세서의 일 실시예에 따른 영상 신호를 디코딩하기 위한 방법은, 현재 블록의 공간적 머지 후보 또는 시간적 머지 후보로부터 도출되는 복수의 움직임 벡터들을 포함하는 머지 후보 리스트를 생성하는 단계와, 상기 머지 후보 리스트의 머지 후보 개수가 최대 머지 후보 개수보다 작은 경우, 상기 움직임 벡터들의 평균 값으로 결정되는 추가적인 움직임 벡터를 상기 머지 후보 리스트에 추가하는 단계와, 상기 머지 후보 리스트에서 머지 인덱스에 의해 지시되는 움직임 벡터를 사용하여 상기 현재 블록의 예측 샘플을 생성하는 단계를 포함한다.
또한, 상기 추가적인 움직임 벡터를 상기 머지 후보 리스트에 추가하는 단계는,
상기 머지 후보 리스트에서 제1 인덱스에 대응하는 제1 움직임 벡터와 제2 인덱스에 대응하는 제2 움직임 벡터의 평균 값을 상기 추가적인 움직임 벡터로서 추가하는 단계를 포함할 수 있다.
또한, 상기 머지 후보 리스트를 생성하는 단계는, 상기 공간적 머지 후보에 대한 움직임 벡터 탐색 이후 상기 시간적 머지 후보에 대한 움직임 벡터에 대한 탐색을 수행하는 단계를 포함할 수 있다.
또한, 상기 공간적 후보에 대한 움직임 벡터 탐색은, 상기 현재 블록의 좌측 블록, 상측 블록, 우상측 블록, 좌하측 블록, 좌상측 블록의 순서로 수행될 수 있다.
또한, 본 명세서에 따른 영상 신호 처리 방법은 상기 추가적인 움직임 벡터가 추가된 머지 후보 리스트의 머지 후보 개수가 상기 최대 머지 후보 개수보다 작은 경우, 제로 움직임 벡터를 상기 머지 후보 리스트에 추가하는 단계를 더 포함할 수 있다.
또한, 상기 움직임 벡터들은 동일한 참조 픽처를 참조할 수 있다.
또한, 상기 추가적은 벡터는, 상기 움직임 벡터들에 의해 동일하게 참조되는 상기 참조 픽처를 참조할 수 있다.
본 명세서의 다른 실시예에 따른 영상 신호를 디코딩하기 위한 장치는, 상기 영상 신호를 저장하는 메모리와, 상기 메모리와 결합된 프로세서를 포함하고, 상기 프로세서는, 현재 블록의 공간적 머지 후보 또는 시간적 머지 후보로부터 도출되는 복수의 움직임 벡터들을 포함하는 머지 후보 리스트를 생성하고, 상기 머지 후보 리스트의 머지 후보 개수가 최대 머지 후보 개수보다 작은 경우, 상기 움직임 벡터들의 평균 값으로 결정되는 추가적인 움직임 벡터를 상기 머지 후보 리스트에 추가하고, 상기 머지 후보 리스트에서 머지 인덱스에 의해 지시되는 움직임 벡터를 사용하여 상기 현재 블록의 예측 샘플을 생성하도록 설정된다.
본 명세서의 실시예에 따르면, 기존의 머지 후보들의 조합으로부터 생성되는 추가적인 머지 후보를 포함하는 머지 후보 리스트를 구성함으로써 부호화 복잡도를 증가 없이 부호화 효율을 향상시킬 수 있다.
본 명세서에서 얻을 수 있는 효과는 이상에서 언급한 효과로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 명세서가 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
본 명세서에 관한 이해를 돕기 위해 상세한 설명의 일부로 포함되는, 첨부 도면은 본 명세서에 대한 실시예를 제공하고, 상세한 설명과 함께 본 명세서의 기술적 특징을 설명한다.
도 1은 본 명세서의 실시예에 따른 비디오 코딩 시스템의 예를 도시한다.
도 2는 본 명세서가 적용되는 실시예로서, 비디오/이미지 신호의 인코딩이 수행되는 인코딩 장치의 개략적인 블록도를 나타낸다.
도 3은 본 명세서가 적용되는 실시예로서, 영상 신호의 디코딩이 수행되는 디코딩 장치의 개략적인 블록도를 나타낸다.
도 4는 본 명세서가 적용되는 실시예로서, 컨텐츠 스트리밍 시스템의 구조도이다.
도 5는 CTU(coding tree unit)들로 분할된 픽처의 예를 나타낸다.
도 6은 본 명세서의 실시예에 따른 멀티타입 트리 분할 모드들의 예를 도시한다.
도 7은 멀티타입 트리를 수반한 쿼드트리(quadtree with nested multi-type tree) 구조의 파티션 분할 정보의 시그널링 메커니즘의 예를 나타낸다.
도 8은 쿼드트리 및 수반되는 멀티타입 트리(quadtree and nested multi-type tree) 구조를 기반으로 CTU가 다중 CU(coding unit)들로 분할되는 것을 예시적으로 도시한다.
도 9는 128x128 코딩 블록에 대하여 TT(ternary tree) 분할이 제한되는 경우의 예를 도시한다.
도 10은 바이너리 트리 분할 및 터너리 트리 분할에서 발생할 수 있는 리던던트 분할 패턴들을 예시적으로 나타낸다.
도 11 및 도 12는 인터 예측에 기반한 비디오/영상 인코딩 절차 및 인코딩 장치 내 인터 예측부를 도시한다.
도 13 및 도 14는 인터 예측에 기반한 비디오/영상 디코딩 절차 및 디코딩 장치 내 인터 예측부를 도시한다.
도 15는 현재 블록에 대한 공간적 머지 후보 구성의 예를 도시한다.
도 16은 본 명세서의 실시예에 따른 머지 후보 리스트 구성을 위한 흐름도의 예를 도시한다.
도 17은 ATMVP(adaptive temporal motion vector prediction)를 수행하기 위한 방법의 예를 도시한다.
도 18은 예측 후보 리스트(MVP 후보 리스트)를 구성하기 위한 흐름도의 예를 도시한다.
도 19 및 도 20은 머지 후보 리스트 구성 방법의 일 예를 도시한다.
도 21은 본 명세서의 실시예에 따른 머지 후보 리스트 구성 방법의 다른 예를 도시한다.
도 22는 본 명세서의 실시예에 따른 머지 후보 리스트를 구성하기 위한 방법의 또 다른 예를 도시한다.
도 23은 본 명세서의 실시예에 따른 머지 후보 리스트를 구성하기 위한 방법의 또 다른 예를 도시한다.
도 24는 본 명세서의 실시예에 따른 예측을 수행하는 흐름도의 예를 도시한다.
도 25는 본 명세서의 실시예에 따른 영상 신호를 처리하기 위한 장치의 블록도의 예를 도시한다.
도 26은 디지털 기기를 포함한 서비스 시스템(service system)의 일 예를 개략적으로 나타낸 도면이다.
도 27은 디지털 기기의 일 실시예를 설명하기 위해 도시한 구성 블록도이다.
도 28은 디지털 기기의 다른 실시예를 설명하기 위해 도시한 구성 블록도이다.
도 29는 디지털 기기의 또 다른 실시 예를 설명하기 위해 도시한 구성 블록도이다.
도 30는 도 27 내지 도 29의 제어부의 상세 구성의 일 실시예를 설명하기 위해 도시한 구성 블록도이다.
도 31은 일 실시예에 따른 디지털 기기의 스크린이 메인 영상(main image)과 보조 영상(sub image)을 동시에 디스플레이 하는 일 예시를 도시하는 도면이다.
이하, 본 명세서에 따른 바람직한 실시 형태를 첨부된 도면을 참조하여 상세하게 설명한다. 첨부된 도면과 함께 이하에 개시될 상세한 설명은 본 명세서의 예시적인 실시형태를 설명하고자 하는 것이며, 본 명세서가 실시될 수 있는 유일한 실시형태를 나타내고자 하는 것이 아니다. 이하의 상세한 설명은 본 명세서의 완전한 이해를 제공하기 위해서 구체적 세부사항을 포함한다. 그러나, 당업자는 본 명세서가 이러한 구체적 세부사항 없이도 실시될 수 있음을 안다.
몇몇 경우, 본 명세서의 개념이 모호해지는 것을 피하기 위하여 공지의 구조 및 장치는 생략되거나, 각 구조 및 장치의 핵심기능을 중심으로 한 블록도 형식으로 도시될 수 있다.
아울러, 본 명세서에서 사용되는 용어는 가능한 한 현재 널리 사용되는 일반적인 용어를 선택하였으나, 특정한 경우는 출원인이 임의로 선정한 용어를 사용하여 설명한다. 그러한 경우에는 해당 부분의 상세 설명에서 그 의미를 명확히 기재하므로, 본 명세서의 설명에서 사용된 용어의 명칭만으로 단순 해석되어서는 안 될 것이며 그 해당 용어의 의미까지 파악하여 해석되어야 함을 밝혀두고자 한다.
이하의 설명에서 사용되는 특정 용어들은 본 명세서의 이해를 돕기 위해서 제공된 것이며, 이러한 특정 용어의 사용은 본 명세서의 기술적 사상을 벗어나지 않는 범위에서 다른 형태로 변경될 수 있다. 예를 들어, 신호, 데이터, 샘플, 픽처, 프레임, 블록 등의 경우 각 코딩 과정에서 적절하게 대체되어 해석될 수 있을 것이다.
이하 본 명세서에서 '처리 유닛'은 예측, 변환 및/또는 양자화 등과 같은 인코딩/디코딩의 처리 과정이 수행되는 단위를 의미한다. 또한, 처리 유닛은 휘도(luma) 성분에 대한 단위와 색차(chroma) 성분에 대한 단위를 포함하는 의미로 해석될 수 있다. 예를 들어, 처리 유닛은 블록(block), 코딩 유닛(coding unit, CU), 예측 유닛(prediction unit, PU) 또는 변환 블록(transform unit, TU)에 해당될 수 있다.
또한, 처리 유닛은 휘도 성분에 대한 단위 또는 색차 성분에 대한 단위로 해석될 수 있다. 예를 들어, 처리 유닛은 휘도 성분에 대한 CTB(coding tree block), CB(coding block), PU 또는 TB(transform block)에 해당될 수 있다. 또는, 처리 유닛은 색차 성분에 대한 CTB, CB, PU 또는 TB에 해당할 수 있다. 또한, 이에 한정되는 것은 아니며 처리 유닛은 휘도 성분에 대한 단위와 색차 성분에 대한 단위를 포함하는 의미로 해석될 수도 있다.
또한, 처리 유닛은 반드시 정사각형의 블록으로 한정되는 것은 아니며, 3개 이상의 꼭지점을 가지는 다각형 형태로 구성될 수도 있다.
또한, 이하 본 명세서에서 픽셀, 화소, 또는 계수(변환 계수 또는 1차 변환을 거친 변환 계수) 등을 샘플로 통칭한다. 그리고, 샘플을 이용한다는 것은 픽셀 값, 화소 값, 또는 계수(변환 계수 또는 1차 변환을 거친 변환 계수) 등을 이용한다는 것을 의미할 수 있다.
도 1은 본 명세서의 실시예에 따른 비디오 코딩 시스템의 예를 도시한다.
비디오 코딩 시스템은 소스 디바이스(10) 및 수신 디바이스(20)를 포함할 수 있다. 소스 디바이스(10)는 인코딩된 비디오/영상 정보 또는 데이터를 파일 또는 스트리밍 형태로 디지털 저장매체 또는 네트워크를 통하여 수신 디바이스(20)로 전달할 수 있다.
소스 디바이스(10)는 비디오 소스(11), 인코딩 장치(12), 송신기(13)를 포함할 수 있다. 수신 디바이스(20)는 수신기(21), 디코딩 장치(22) 및 렌더러(23)를 포함할 수 있다. 인코딩 장치(10)는 비디오/영상 인코딩 장치라고 불릴 수 있고, 디코딩 장치(20)는 비디오/영상 디코딩 장치라고 불릴 수 있다. 송신기(13)는 인코딩 장치(12)에 포함될 수 있다. 수신기(21)는 디코딩 장치(22)에 포함될 수 있다. 렌더러(23)는 디스플레이부를 포함할 수도 있고, 디스플레이부는 별개의 디바이스 또는 외부 컴포넌트로 구성될 수도 있다.
비디오 소스는 비디오/영상의 캡쳐, 합성 또는 생성 과정 등을 통하여 비디오/영상을 획득할 수 있다. 비디오 소스는 비디오/영상 캡쳐 디바이스 및/또는 비디오/영상 생성 디바이스를 포함할 수 있다. 비디오/영상 캡쳐 디바이스는 예를 들어, 하나 이상의 카메라, 이전에 캡쳐된 비디오/영상을 포함하는 비디오/영상 아카이브 등을 포함할 수 있다. 비디오/영상 생성 디바이스는 예를 들어 컴퓨터, 타블렛 및 스마트폰 등을 포함할 수 있으며 (전자적으로) 비디오/영상을 생성할 수 있다. 예를 들어, 컴퓨터 등을 통하여 가상의 비디오/영상이 생성될 수 있으며, 이 경우 관련 데이터가 생성되는 과정으로 비디오/영상 캡쳐 과정이 갈음될 수 있다.
인코딩 장치(12)는 입력 비디오/영상을 인코딩할 수 있다. 인코딩 장치(12)는 압축 및 코딩 효율을 위하여 예측, 변환, 양자화 등 일련의 절차를 수행할 수 있다. 인코딩된 데이터(인코딩된 비디오/영상 정보)는 비트스트림(bitstream) 형태로 출력될 수 있다.
전송부(13)는 비트스트림 형태로 출력된 인코딩된 비디오/영상 정보 또는 데이터를 파일 또는 스트리밍 형태로 디지털 저장매체 또는 네트워크를 통하여 수신 디바이스의 수신부로 전달할 수 있다. 디지털 저장 매체는 USB(universal serial bus), SD(secure digital), CD(compact disk), DVD(digital video disk), 블루레이(bluray), HDD(hard disk drive), SSD(solid state drive) 등 다양한 저장 매체를 포함할 수 있다. 전송부(13)는 미리 정해진 파일 포멧을 통하여 미디어 파일을 생성하기 위한 엘레먼트를 포함할 수 있고, 방송/통신 네트워크를 통한 전송을 위한 엘레멘트를 포함할 수 있다. 수신기(21)는 비트스트림을 추출하여 디코딩 장치(22)로 전달할 수 있다.
디코딩 장치(22)는 인코딩 장치(12)의 동작에 대응하는 역양자화, 역변환, 예측 등 일련의 절차를 수행하여 비디오/영상을 디코딩할 수 있다.
렌더러(23)는 디코딩된 비디오/영상을 렌더링할 수 있다. 렌더링된 비디오/영상은 디스플레이부를 통하여 디스플레이될 수 있다.
도 2는 본 명세서의 실시예로서, 비디오/이미지 신호의 인코딩이 수행되는 인코딩 장치의 개략적인 블록도를 나타낸다. 도 2의 인코딩 장치(100)는 도 1의 인코딩 장치(12)에 대응할 수 있다.
도 2를 참조하면, 인코딩 장치(100)는 영상 분할부(110), 감산부(115), 변환부(120), 양자화부(130), 역양자화부(140), 역변환부(150), 가산부(155), 필터링부(160), 복호 픽처 버퍼(decoded picture buffer, DPB)(170), 인터 예측부(180), 인트라 예측부(185) 및 엔트로피 인코딩부(190)를 포함하여 구성될 수 있다. 인터 예측부(180) 및 인트라 예측부(185)를 합쳐서 예측부라고 불릴 수 있다. 즉, 예측부는 인터 예측부(180) 및 인트라 예측부(185)를 포함할 수 있다. 변환부(120), 양자화부(130), 역양자화부(140), 역변환부(150)는 레지듀얼(residual) 처리부에 포함될 수 있다. 레지듀얼 처리부는 감산부(115)를 더 포함할 수도 있다. 상술한 영상 분할부(110), 감산부(115), 변환부(120), 양자화부(130), 역양자화부(140), 역변환부(150), 가산부(155), 필터링부(160), 인터 예측부(180), 인트라 예측부(185) 및 엔트로피 인코딩부(190)는 실시예에 따라 하나의 하드웨어 컴포넌트(예를 들어 인코더 또는 프로세서)에 의하여 구성될 수 있다. 또한 복호 픽처 버퍼(170)는 실시예에 따라 하나의 하드웨어 컴포넌트(예를 들어 메모리 또는 디지털 저장 매체)에 의하여 구성될 수 있다.
영상 분할부(110)는 인코딩 장치(100)에 입력된 입력 영상(또는, 픽쳐, 프레임)를 하나 이상의 처리 유닛(processing unit)으로 분할할 수 있다. 일 예로, 처리 유닛은 코딩 유닛(CU)이라고 불릴 수 있다. 이 경우 코딩 유닛은 코딩 트리 유닛(coding tree unit, CTU) 또는 최대 코딩 유닛(largest coding unit, LCU)으로부터 QTBT(Quad-tree binary-tree) 구조에 따라 재귀적으로(recursively) 분할될 수 있다. 예를 들어, 하나의 코딩 유닛은 쿼드 트리 구조 및/또는 바이너리 트리 구조를 기반으로 하위(deeper) 뎁스의 복수의 코딩 유닛들로 분할될 수 있다. 이 경우 예를 들어 쿼드 트리 구조가 먼저 적용되고 바이너리 트리 구조가 나중에 적용될 수 있다. 또는 바이너리 트리 구조가 먼저 적용될 수도 있다. 더 이상 분할되지 않는 최종 코딩 유닛을 기반으로 본 명세서에 따른 코딩 절차가 수행될 수 있다. 이 경우 영상 특성에 따른 코딩 효율 등을 기반으로, 최대 코딩 유닛이 바로 최종 코딩 유닛으로 사용될 수 있고, 또는 필요에 따라 코딩 유닛은 재귀적으로(recursively) 보다 하위 뎁스의 코딩 유닛들로 분할되어 최적의 사이즈의 코딩 유닛이 최종 코딩 유닛으로 사용될 수 있다. 여기서 코딩 절차라 함은 후술하는 예측, 변환, 및 복원 등의 절차를 포함할 수 있다. 다른 예로, 처리 유닛은 예측 유닛(PU) 또는 변환 유닛(TU)을 더 포함할 수 있다. 이 경우 예측 유닛 및 변환 유닛은 각각 상술한 최종 코딩 유닛으로부터 분할 또는 파티셔닝될 수 있다. 상기 예측 유닛은 샘플 예측의 단위일 수 있고, 상기 변환 유닛은 변환 계수를 유도하는 단위 및/또는 변환 계수로부터 레지듀얼 신호(residual signal)를 유도하는 단위일 수 있다.
유닛은 경우에 따라서 블록(block) 또는 영역(area) 등의 용어와 혼용하여 사용될 수 있다. 일반적인 경우, MxN 블록은 M개의 열과 N개의 행으로 이루어진 샘플들 또는 변환 계수(transform coefficient)들의 집합을 나타낼 수 있다. 샘플은 일반적으로 픽셀 또는 픽셀의 값을 나타낼 수 있으며, 휘도(luma) 성분의 픽셀/픽셀값만을 나타낼 수도 있고, 채도(chroma) 성분의 픽셀/픽셀 값만을 나타낼 수도 있다. 샘플은 하나의 픽처(또는 영상)을 픽셀(pixel) 또는 펠(pel)에 대응하는 용어로서 사용될 수 있다.
인코딩 장치(100)는 입력 영상 신호(원본 블록, 원본 샘플 어레이)에서 인터 예측부(180) 또는 인트라 예측부(185)로부터 출력된 예측 신호(예측된 블록, 예측 샘플 어레이)를 감산하여 레지듀얼 신호(잔여 블록, 잔여 샘플 어레이)를 생성할 수 있고, 생성된 레지듀얼 신호는 변환부(120)로 전송된다. 이 경우 도시된 바와 같이 인코딩 장치(100) 내에서 입력 영상 신호(원본 블록, 원본 샘플 어레이)에서 예측 신호(예측 블록, 예측 샘플 어레이)를 감산하는 유닛은 감산부(115)라고 불릴 수 있다. 예측부는 처리 대상 블록(이하, 현재 블록이라 함)에 대한 예측을 수행하고, 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록(predicted block)을 생성할 수 있다. 예측부는 현재 블록 또는 CU 단위로 인트라 예측이 적용되는지 또는 인터 예측이 적용되는지 결정할 수 있다. 예측부는 각 예측모드에 대한 설명에서 후술하는 바와 같이 예측 모드 정보 등 예측에 관한 다양한 정보를 생성하여 엔트로피 인코딩부(190)로 전달할 수 있다. 예측에 관한 정보는 엔트로피 인코딩부(190)에서 인코딩되어 비트스트림 형태로 출력될 수 있다.
인트라 예측부(185)는 현재 픽처 내의 샘플들을 참조하여 현재 블록을 예측할 수 있다. 참조되는 샘플들은 예측 모드에 따라 상기 현재 블록의 주변(neighbor)에 위치할 수 있고, 또는 떨어져서 위치할 수도 있다. 인트라 예측에서 예측 모드들은 복수의 비방향성 모드와 복수의 방향성 모드를 포함할 수 있다. 비방향성 모드는 예를 들어 DC 모드 및 플래너 모드(planar 모드)를 포함할 수 있다. 방향성 모드는 예측 방향의 세밀한 정도에 따라 예를 들어 33개의 방향성 예측 모드 또는 65개의 방향성 예측 모드를 포함할 수 있다. 다만, 이는 예시로서 설정에 따라 그 이상 또는 그 이하의 개수의 방향성 예측 모드들이 사용될 수 있다. 인트라 예측부(185)는 주변 블록에 적용된 예측 모드를 이용하여, 현재 블록에 적용되는 예측 모드를 결정할 수도 있다.
인터 예측부(180)는 참조 픽처 상에서 움직임 벡터에 의해 특정되는 참조 블록(참조 샘플 어레이)을 기반으로, 현재 블록에 대한 예측된 블록을 유도할 수 있다. 이때, 인터 예측 모드에서 전송되는 움직임 정보의 양을 줄이기 위해 주변 블록과 현재 블록 간의 움직임 정보의 상관성에 기초하여 움직임 정보를 블록, 서브블록 또는 샘플 단위로 예측할 수 있다. 움직임 정보는 움직임 벡터 및 참조 픽처 인덱스를 포함할 수 있다. 움직임 정보는 인터 예측 방향(L0 예측, L1 예측, Bi 예측 등) 정보를 더 포함할 수 있다. 인터 예측의 경우에, 주변 블록은 현재 픽처 내에 존재하는 공간적 주변 블록(spatial neighboring block)과 참조 픽처에 존재하는 시간적 주변 블록(temporal neighboring block)을 포함할 수 있다. 참조 블록을 포함하는 참조 픽처와 시간적 주변 블록을 포함하는 참조 픽처는 동일할 수도 있고, 다를 수도 있다. 상기 시간적 주변 블록은 동일 위치 참조 블록(collocated reference block), 동일 위치 CU(colCU) 등의 이름으로 불릴 수 있으며, 시간적 주변 블록을 포함하는 참조 픽처는 동일 위치 픽처(collocated picture, colPic)라고 불릴 수도 있다. 예를 들어, 인터 예측부(180)는 주변 블록들을 기반으로 움직임 정보 후보 리스트를 구성하고, 현재 블록의 움직임 벡터 및/또는 참조 픽처 인덱스를 도출하기 위하여 어떤 후보가 사용되는지를 지시하는 정보를 생성할 수 있다. 다양한 예측 모드를 기반으로 인터 예측이 수행될 수 있으며, 예를 들어 스킵 모드와 머지 모드의 경우에, 인터 예측부(180)는 주변 블록의 움직임 정보를 현재 블록의 움직임 정보로 이용할 수 있다. 스킵 모드의 경우, 머지 모드와 달리 레지듀얼 신호가 전송되지 않을 수 있다. 움직임 정보 예측(motion vector prediction, MVP) 모드의 경우, 주변 블록의 움직임 벡터를 움직임 벡터 예측자(motion vector predictor)로 이용하고, 움직임 벡터 차분(motion vector difference)을 시그널링함으로써 현재 블록의 움직임 벡터를 지시할 수 있다.
인터 예측부(180) 또는 인트라 예측부(185)를 통해 생성된 예측 신호는 복원 신호를 생성하기 위해 이용되거나 레지듀얼 신호를 생성하기 위해 이용될 수 있다.
변환부(120)는 레지듀얼 신호에 변환 기법을 적용하여 변환 계수들(transform coefficients)를 생성할 수 있다. 예를 들어, 변환 기법은 DCT(discrete cosine transform), DST(discrete sine transform), KLT(Karhunen-Loeve transform), GBT(graph-based transform), 또는 CNT(conditionally non-linear transform) 중 적어도 하나를 포함할 수 있다. 여기서, GBT는 픽셀 간의 관계 정보를 그래프로 표현한다고 할 때 이 그래프로부터 얻어진 변환을 의미한다. CNT는 이전에 복원된 모든 픽셀(all previously reconstructed pixel)를 이용하여 예측 신호를 생성하고 그에 기초하여 획득되는 변환을 의미한다. 또한, 변환 과정은 정사각형의 동일한 크기를 갖는 픽셀 블록에 적용될 수도 있고, 정사각형이 아닌 가변 크기의 블록에도 적용될 수 있다.
양자화부(130)는 변환 계수들을 양자화하여 엔트로피 인코딩부(190)로 전송되고, 엔트로피 인코딩부(190)는 양자화된 신호(양자화된 변환 계수들에 관한 정보)를 인코딩하여 비트스트림으로 출력할 수 있다. 양자화된 변환 계수들에 관한 정보는 레지듀얼 정보라고 불릴 수 있다. 양자화부(130)는 계수 스캔 순서(scan order)를 기반으로 블록 형태의 양자화된 변환 계수들을 1차원 벡터 형태로 재정렬할 수 있고, 1차원 벡터 형태의 양자화된 변환 계수들을 기반으로 상기 양자화된 변환 계수들에 관한 정보를 생성할 수도 있다. 엔트로피 인코딩부(190)는 예를 들어 지수 골롬(exponential Golomb), CAVLC(context-adaptive variable length coding), CABAC(context-adaptive binary arithmetic coding)과 같은 다양한 인코딩 방법을 수행할 수 있다. 엔트로피 인코딩부(190)는 양자화된 변환 계수들 외 비디오/이미지 복원에 필요한 정보들(예컨대 신택스 요소들(syntax elements)의 값 등)을 함께 또는 별도로 인코딩할 수도 있다. 인코딩된 정보(예: 비디오/영상 정보)는 비트스트림 형태로 NAL(network abstraction layer) 유닛 단위로 전송 또는 저장될 수 있다. 비트스트림은 네트워크를 통하여 전송될 수 있고, 또는 디지털 저장매체에 저장될 수 있다. 여기서 네트워크는 방송망 및/또는 통신망 등을 포함할 수 있고, 디지털 저장매체는 USB, SD, CD, DVD, 블루레이, HDD, SSD 등 다양한 저장매체를 포함할 수 있다. 엔트로피 인코딩부(190)로부터 출력된 신호는 전송하는 전송부(미도시) 및/또는 저장하는 저장부(미도시)가 인코딩 장치(100)의 내/외부 엘리먼트로서 구성될 수 있고, 또는 전송부는 엔트로피 인코딩부(190)의 구성요소일 수도 있다.
양자화부(130)로부터 출력된 양자화된 변환 계수들은 예측 신호를 생성하기 위해 이용될 수 있다. 예를 들어, 양자화된 변환 계수들은에 루프 내의 역양자화부(140) 및 역변환부(150)를 통해 역양자화 및 역변환을 적용함으로써 레지듀얼 신호를 복원할 수 있다. 가산부(155)는 복원된 레지듀얼 신호를 인터 예측부(180) 또는 인트라 예측부(185)로부터 출력된 예측 신호에 더함으로써 복원(reconstructed) 신호(복원 픽처, 복원 블록, 복원 샘플 어레이)가 생성될 수 있다. 스킵 모드가 적용된 경우와 같이 처리 대상 블록에 대한 레지듀얼이 없는 경우, 예측된 블록이 복원 블록으로 사용될 수 있다. 가산부(155)는 복원부 또는 복원 블록 생성부라고 불릴 수 있다. 생성된 복원 신호는 현재 픽처 내 다음 처리 대상 블록의 인트라 예측을 위하여 사용될 수 있고, 후술하는 바와 같이 필터링을 거쳐서 다음 픽처의 인터 예측을 위하여 사용될 수도 있다.
필터링부(160)는 복원 신호에 필터링을 적용하여 주관적/객관적 화질을 향상시킬 수 있다. 예를 들어 필터링부(160)는 복원 픽처에 다양한 필터링 방법을 적용하여 수정된(modified) 복원 픽처를 생성할 수 있고, 수정된 복원 픽처를 복호 픽처 버퍼(170)에 전송할 수 있다. 다양한 필터링 방법은 예를 들어, 디블록킹 필터링, 샘플 적응적 오프셋(sample adaptive offset), 적응적 루프 필터(adaptive loop filter), 양방향 필터(bilateral filter) 등을 포함할 수 있다. 필터링부(160)는 각 필터링 방법에 대한 설명에서 후술하는 바와 같이 필터링에 관한 다양한 정보를 생성하여 엔트로피 인코딩부(190)로 전달할 수 있다. 필터링 관한 정보는 엔트로피 인코딩부(190)에서 인코딩되어 비트스트림 형태로 출력될 수 있다.
복호 픽처 버퍼(170)에 전송된 수정된 복원 픽처는 인터 예측부(180)에서 참조 픽처로 사용될 수 있다. 인코딩 장치(100)는 이를 통하여 인터 예측이 적용되는 경우, 인코딩 장치(100)와 디코딩 장치(200)에서의 예측 미스매치를 피할 수 있고, 부호화 효율도 향상시킬 수 있다.
복호 픽처 버퍼(170)는 수정된 복원 픽처를 인터 예측부(180)에서의 참조 픽처로 사용하기 위해 저장할 수 있다.
도 3은 본 명세서의 실시예로서, 영상 신호의 디코딩이 수행되는 디코딩 장치의 개략적인 블록도를 나타낸다. 도 3의 디코딩 장치(200)는 도 1의 디코딩 장치(22)에 대응할 수 있다.
도 3을 참조하면, 디코딩 장치(200)는 엔트로피 디코딩부(210), 역양자화부(220), 역변환부(230), 가산부(235), 필터링부(240), 복호 픽처 버퍼(DPB)(250), 인터 예측부(260) 및 인트라 예측부(265)를 포함하여 구성될 수 있다. 인터 예측부(260) 및 인트라 예측부(265)를 합쳐서 예측부라고 불릴 수 있다. 즉, 예측부는 인터 예측부(180) 및 인트라 예측부(185)를 포함할 수 있다. 역양자화부(220), 역변환부(230)를 합쳐서 레지듀얼 처리부라고 불릴 수 있다. 즉, 레지듀얼 처리부는 역양자화부(220), 역변환부(230)을 포함할 수 있다. 상술한 엔트로피 디코딩부(210), 역양자화부(220), 역변환부(230), 가산부(235), 필터링부(240), 인터 예측부(260) 및 인트라 예측부(265)는 실시예에 따라 하나의 하드웨어 컴포넌트(예를 들어 디코더 또는 프로세서)에 의하여 구성될 수 있다. 또한 복호 픽처 버퍼(250)은 실시예에 따라 하나의 하드웨어 컴포넌트(예를 들어 메모리 또는 디지털 저장 매체)에 의하여 구현될 수 있다.
비디오/이미지 정보를 포함하는 비트스트림이 입력되면, 디코딩 장치(200)는 도 2의 인코딩 장치(100)에서 비디오/이미지 정보가 처리된 프로세스에 대응하여 영상을 복원할 수 있다. 예를 들어, 디코딩 장치(200)는 인코딩 장치(100)에서 적용된 처리 유닛을 이용하여 디코딩을 수행할 수 있다. 따라서 디코딩시 처리 유닛은, 예를 들어, 코딩 유닛일 수 있고, 코딩 유닛은 코딩 트리 유닛 또는 최대 코딩 유닛으로부터 쿼드 트리 구조 및/또는 바이너리 트리 구조에 따라 분할될 수 있다. 그리고, 디코딩 장치(200)를 통해 디코딩 및 출력된 복원 영상 신호는 재생 장치를 통해 재생될 수 있다.
디코딩 장치(200)는 도 2의 인코딩 장치(100)로부터 출력된 신호를 비트스트림 형태로 수신할 수 있고, 수신된 신호는 엔트로피 디코딩부(210)를 통해 디코딩될 수 있다. 예를 들어, 엔트로피 디코딩부(210)는 비트스트림을 파싱하여 영상 복원(또는 픽처 복원)에 필요한 정보(예: 비디오/영상 정보)를 도출할 수 있다. 예컨대, 엔트로피 디코딩부(210)는 지수 골롬 부호화, CAVLC 또는 CABAC 등의 코딩 방법을 기초로 비트스트림 내 정보를 디코딩하고, 영상 복원에 필요한 신택스 엘리먼트의 값, 레지듀얼에 관한 변환 계수의 양자화된 값 들을 출력할 수 있다. 보다 상세하게, CABAC 엔트로피 디코딩 방법은, 비트스트림에서 각 구문 요소에 해당하는 빈(bin)을 수신하고, 디코딩 대상 구문 요소 정보와 주변 및 디코딩 대상 블록의 디코딩 정보 혹은 이전 단계에서 디코딩된 심볼/빈의 정보를 이용하여 문맥(context) 모델을 결정하고, 결정된 문맥 모델에 따라 빈의 발생 확률을 예측하여 빈의 산술 디코딩(arithmetic decoding)를 수행하여 각 구문 요소의 값에 해당하는 심볼을 생성할 수 있다. 이때, CABAC 엔트로피 디코딩 방법은 문맥 모델 결정 후 다음 심볼/빈의 문맥 모델을 위해 디코딩된 심볼/빈의 정보를 이용하여 문맥 모델을 업데이트할 수 있다. 엔트로피 디코딩부(210)에서 디코딩된 정보 중 예측에 관한 정보는 예측부(인터 예측부(260) 및 인트라 예측부(265))로 제공되고, 엔트로피 디코딩부(210)에서 엔트로피 디코딩이 수행된 레지듀얼 값, 즉 양자화된 변환 계수들 및 관련 파라미터 정보는 역양자화부(220)로 입력될 수 있다. 또한, 엔트로피 디코딩부(210)에서 디코딩된 정보 중 필터링에 관한 정보는 필터링부(240)로 제공될 수 있다. 한편, 인코딩 장치(100)로부터 출력된 신호를 수신하는 수신부(미도시)가 디코딩 장치(200)의 내/외부 엘리먼트로서 더 구성될 수 있고, 또는 수신부는 엔트로피 디코딩부(210)의 구성요소일 수도 있다.
역양자화부(220)에서는 양자화된 변환 계수들을 역양자화하여 변환 계수들을 출력할 수 있다. 역양자화부(220)는 양자화된 변환 계수들을 2차원의 블록 형태로 재정렬할 수 있다. 이 경우 인코딩 장치(100)에서 수행된 계수 스캔 순서에 기반하여 재정렬이 수행될 수 있다. 역양자화부(220)는 양자화 파라미터(예를 들어 양자화 스텝 사이즈 정보)를 이용하여 양자화된 변환 계수들에 대한 역양자화를 수행하고, 변환 계수들(transform coefficient)을 획득할 수 있다.
역변환부(230)는 변환 계수들을 역변환하여 레지듀얼 신호(레지듀얼 블록, 레지듀얼 샘플 어레이)를 획득하게 된다.
예측부는 현재 블록에 대한 예측을 수행하고, 현재 블록에 대한 예측 샘플들을 포함하는 예측된 블록(predicted block)을 생성할 수 있다. 예측부는 엔트로피 디코딩부(210)로부터 출력된 예측에 관한 정보를 기반으로 현재 블록에 인트라 예측이 적용되는지 또는 인터 예측이 적용되는지 결정할 수 있고, 구체적인 인트라/인터 예측 모드를 결정할 수 있다.
인트라 예측부(265)는 현재 픽처 내의 샘플들을 참조하여 현재 블록을 예측할 수 있다. 참조되는 샘플들은 예측 모드에 따라 현재 블록의 주변(neighbor)에 위치할 수 있고, 또는 이격되어 위치할 수도 있다. 인트라 예측에서 예측 모드들은 복수의 비방향성 모드와 복수의 방향성 모드를 포함할 수 있다. 인트라 예측부(265)는 주변 블록에 적용된 예측 모드를 이용하여, 현재 블록에 적용되는 예측 모드를 결정할 수도 있다.
인터 예측부(260)는 참조 픽처 상에서 움직임 벡터에 의해 특정되는 참조 블록(참조 샘플 어레이)을 기반으로, 현재 블록에 대한 예측된 블록을 유도할 수 있다. 이때, 인터 예측 모드에서 전송되는 움직임 정보의 양을 줄이기 위해 주변 블록과 현재 블록 간의 움직임 정보의 상관성에 기초하여 움직임 정보를 블록, 서브블록 또는 샘플 단위로 예측할 수 있다. 움직임 정보는 움직임 벡터 및 참조 픽처 인덱스를 포함할 수 있다. 움직임 정보는 인터 예측 방향(L0 예측, L1 예측, Bi 예측 등) 정보를 더 포함할 수 있다. 인터 예측의 경우, 주변 블록은 현재 픽처 내에 존재하는 공간적 주변 블록(spatial neighboring block)과 참조 픽처에 존재하는 시간적 주변 블록(temporal neighboring block)을 포함할 수 있다. 예를 들어, 인터 예측부(260)는 주변 블록들을 기반으로 움직임 정보 후보 리스트를 구성하고, 수신된 후보 선택 정보를 기반으로 현재 블록의 움직임 벡터 및/또는 참조 픽처 인덱스를 도출할 수 있다. 다양한 예측 모드를 기반으로 인터 예측이 수행될 수 있으며, 예측에 관한 정보는 현재 블록에 대한 인터 예측의 모드를 지시하는 정보를 포함할 수 있다.
가산부(235)는 획득된 레지듀얼 신호를 인터 예측부(260) 또는 인트라 예측부(265)로부터 출력된 예측 신호(예측된 블록, 예측 샘플 어레이)에 더함으로써 복원 신호(복원 픽처, 복원 블록, 복원 샘플 어레이)를 생성할 수 있다. 스킵 모드가 적용된 경우와 같이 처리 대상 블록에 대한 레지듀얼이 없는 경우, 예측된 블록이 복원 블록으로 사용될 수 있다.
가산부(235)는 복원부 또는 복원 블록 생성부라고 불릴 수 있다. 생성된 복원 신호는 현재 픽처 내 다음 처리 대상 블록의 인트라 예측을 위하여 사용될 수 있고, 후술하는 바와 같이 필터링을 거쳐서 다음 픽처의 인터 예측을 위하여 사용될 수도 있다.
필터링부(240)는 복원 신호에 필터링을 적용함으로써 주관적/객관적 화질을 향상시킬 수 있다. 예를 들어 필터링부(240)는 복원 픽처에 다양한 필터링 방법을 적용하여 수정된(modified) 복원 픽처를 생성할 수 있고, 수정된 복원 픽처를 복호 픽처 버퍼(250)에 전송할 수 있다. 다양한 필터링 방법은 예를 들어, 디블록킹 필터링, 샘플 적응적 오프셋(sample adaptive offset, SAO), 적응적 루프 필터(adaptive loop filter, ALF), 양방향 필터(bilateral filter) 등을 포함할 수 있다.
복호 픽쳐 버퍼(250)에 전송된 수정된 복원 픽처는 인터 예측부(260)에 의해 참조 픽쳐로 사용될 수 있다.
본 명세서에서, 인코딩 장치(100)의 필터링부(160), 인터 예측부(180) 및 인트라 예측부(185)에서 설명된 실시예들은 각각 디코딩 장치의 필터링부(240), 인터 예측부(260) 및 인트라 예측부(265)에도 동일 또는 대응되도록 적용될 수 있다.
도 4는 본 명세서의 실시예로서, 컨텐츠 스트리밍 시스템의 구조도이다.
본 명세서가 적용되는 컨텐츠 스트리밍 시스템은 크게 인코딩 서버(410), 스트리밍 서버(420), 웹 서버(430), 미디어 저장소(440), 사용자 장치(450) 및 멀티미디어 입력 장치(460)를 포함할 수 있다.
인코딩 서버(410)는 스마트폰, 카메라, 캠코더 등과 같은 멀티미디어 입력 장치들로부터 입력된 컨텐츠를 디지털 데이터로 압축하여 비트스트림을 생성하고 이를 스트리밍 서버(420)로 전송하는 역할을 한다. 다른 예로, 스마트폰, 카메라, 캠코더 등과 같은 멀티미디어 입력 장치(460)들이 비트스트림을 직접 생성하는 경우, 인코딩 서버(410)는 생략될 수 있다.
비트스트림은 본 명세서가 적용되는 인코딩 방법 또는 비트스트림 생성 방법에 의해 생성될 수 있고, 스트리밍 서버(420)는 비트스트림을 전송 또는 수신하는 과정에서 일시적으로 비트스트림을 저장할 수 있다.
스트리밍 서버(420)는 웹 서버(430)를 통한 사용자 요청에 기초하여 멀티미디어 데이터를 사용자 장치(450)에 전송하고, 웹 서버(430)는 사용자에게 어떠한 서비스가 있는지를 알려주는 매개체 역할을 한다. 사용자가 웹 서버(430)에 원하는 서비스를 요청하면, 웹 서버(430)는 이를 스트리밍 서버(420)에 전달하고, 스트리밍 서버(420)는 사용자에게 멀티미디어 데이터를 전송한다. 이때, 컨텐츠 스트리밍 시스템은 별도의 제어 서버를 포함할 수 있고, 이 경우 제어 서버는 컨텐츠 스트리밍 시스템 내 각 장치 간 명령/응답을 제어하는 역할을 한다.
스트리밍 서버(420)는 미디어 저장소(440) 및/또는 인코딩 서버(410)로부터 컨텐츠를 수신할 수 있다. 예를 들어, 인코딩 서버(410)로부터 컨텐츠를 수신하게 되는 경우, 컨텐츠를 실시간으로 수신할 수 있다. 이 경우, 원활한 스트리밍 서비스를 제공하기 위하여 스트리밍 서버(420)는 비트스트림을 일정 시간동안 저장할 수 있다.
사용자 장치(450)의 예로는, 휴대폰, 스마트 폰(smart phone), 노트북 컴퓨터(laptop computer), 디지털방송용 단말기, PDA(personal digital assistants), PMP(portable multimedia player), 네비게이션, 슬레이트 PC(slate PC), 태블릿 PC(tablet PC), 울트라북(ultrabook), 웨어러블 디바이스(wearable device, 예를 들어, 워치형 단말기 (smartwatch), 글래스형 단말기 (smart glass), HMD(head mounted display)), 디지털 TV, 데스크탑 컴퓨터, 디지털 사이니지 등이 있을 수 있다.
컨텐츠 스트리밍 시스템 내 각 서버들은 분산 서버로 운영될 수 있으며, 이 경우 각 서버에서 수신하는 데이터는 분산 처리될 수 있다.
블록 분할(Block Partitioning)
본 문서에 따른 비디오/영상 코딩 방법은 다양한 세부 기술들에 기반하여 수행될 수 있으며, 각각의 세부 기술들을 개략적으로 설명하면 다음과 같다. 이하 설명되는 기술들은 상술한 및/또는 후술되는 비디오/영상 인코딩/디코딩 절차에서의 예측, 레지듀얼 처리(변환, 양자화 등), 신텍스 요소 코딩, 필터링, 파티셔닝/분할 등의 관련 절차에 연관될 수 있음은 당업자에게 자명하다.
분할 구조(Partitioning structure)
CTU들로의 픽처 분할(Partitioning of picture into CTUs)
픽처들은 코딩 트리 유닛들(CTUs)의 시퀀스로 분할될(divided into a sequence) 수 있다. CTU는 코딩 트리 블록(CTB)에 대응될 수 있다. 혹은 CTU는 루마 샘플들의 코딩 트리 블록과, 대응하는 크로마 샘플들의 두개의 코딩 트리 블록들을 포함할 수 있다. 다시 말하면, 세가지 샘플 어레이를 포함하는 픽처에 대하여, CTU는 루마 샘플들의 NxN 블록과 크로마 샘플들의 두개의 대응 블록들을 포함할 수 있다.
도 5는 CTU들로 분할된 픽처의 예를 나타낸다.
코딩 및 예측을 위한 CTU의 최대 허용 사이즈는 변환을 위한 CTU의 최대 허용 사이즈와 다를 수 있다. 예를 들어, CTU 내 루마 블록의 최대 허용 사이즈는 (비록 루마 CTU들의 최대 사이즈가 64x64인 경우에도) 128x128일 수 있다.
트리 구조를 사용한 CTU의 분할(Partitioning of the CTUs using a tree structure)
도 6은 본 명세서의 실시예에 따른 멀티타입 트리 분할 모드들의 예를 도시한다.
CTU는 쿼드트리(quad-tree, QT) 구조를 기반으로 CU들로 분할될 수 있다. 쿼드트리 구조는 쿼터너리(quaternary) 트리 구조라고 불릴 수 있다. 이는 다양한 국지적 특징(local characteristic)을 반영하기 위함이다. 한편, 본 문서에서는 CTU는 쿼드트리 뿐 아니라 바이너리 트리(binary-tree, BT) 및 터너리 트리(ternary-tree, TT)을 포함하는 멀티타입 트리 구조 분할을 기반하여 분할될 수 있다. 이하, QTBT 구조라 함은 쿼드트리 및 바이너리 트리 기반 분할 구조를 포함할 수 있고, QTBTTT라 함은 쿼드트리, 바이너리 트리 및 터너리 트리 기반 분할 구조를 포함할 수 있다. 혹은 QTBT 구조는 쿼드트리, 바이너리 트리 및 터너리 트리 기반 분할 구조를 포함할 수도 있다. 코딩 트리 구조에서, CU는 정사각형 또는 직사각형 모양을 가질 수 있다. CTU는 먼저 쿼드트리 구조로 분할될 수 있다. 이후 쿼드트리 구조의 리프 노드들은 멀티타입 트리 구조에 의하여 더 분할될 수 있다. 예를 들어 도 6에서 나타난 바와 같이, 멀티타입 트리 구조에서 개략적으로 4개의 분할 타입을 포함할 수 있다.
도 6에 나타난 4개의 분할 타입은 수직 바이너리 분할(vertical binary splitting, SPLIT_BT_VER), 수평 바이너리 분할(horizontal binary splitting, SPLIT_BT_HOR), 수직 터너리 분할(vertical ternary splitting, SPLIT_TT_VER), 수평 터너리 분할(horizontal ternary splitting, SPLIT_TT_HOR)을 포함할 수 있다. 멀티타입 트리 구조의 리프 노드들은 CU들이라고 불리 수 있다. 이러한 CU들은 예측 및 변환 절차를 위하여 사용될 수 있다. 본 문서에서 일반적으로 CU, PU, TU는 동일한 블록 사이즈를 가질 수 있다. 다만, 최대 허용 변환 길이(maximum supported transform length)가 CU의 컬러 성분(colour component)의 너비 또는 높이보다 작은 경우에는 CU와 TU가 서로 다른 블록 사이즈를 가질 수 있다.
도 7은 멀티타입 트리를 수반한 쿼드트리(quadtree with nested multi-type tree) 구조의 파티션 분할 정보의 시그널링 메커니즘의 예를 나타낸다.
여기서, CTU는 쿼드트리의 루트(root)로 취급되며, 쿼드트리 구조로 처음으로 분할된다. 각 쿼드트리 리프 노드는 이후 멀티타입 트리 구조로 더 분할될 수 있다. 멀티타입 트리 구조에서, 제1 플래그(예: mtt_split_cu_flag)가 해당 노드가 추가적으로 분할되는지를 지시하기 위하여 시그널링된다. 만약 해당 노드가 추가적으로 분할되는 경우, 제2 플래그(예: mtt_split_cu_vertical_flag)가 분할 방향(splitting direction)을 지시하기 위하여 시그널링될 수 있다. 그 후 제3 플래그(예: mtt_split_cu_binary_flag)가 분할 타입이 바이너리 분할인지 터너리 분할인지 여부를 지시하기 위하여 시그널링될 수 있다. 예를 들어, mtt_split_cu_vertical_flag 및 mtt_split_cu_binary_flag를 기반으로, CU의 멀티타입 트리 분할 모드(multi-type tree splitting mode, MttSplitMode)가 다음 표 1과 같이 도출될 수 있다.
Figure PCTKR2019012273-appb-img-000001
도 8은 쿼드트리 및 수반되는 멀티타입 트리(quadtree and nested multi-type tree) 구조를 기반으로 CTU가 다중 CU들로 분할되는 것을 예시적으로 도시한다.
여기서, 볼드 블록 엣지들(bold block edges)는 쿼드트리 분할을, 나머지 엣지들은 멀티타입 트리 분할을 나타낸다. 멀티타입 트리를 수반한 쿼드트리 파티션은 컨텐츠-어댑티드 코딩 트리 구조를 제공할 수 있다. CU는 코딩 블록(CB)에 대응될 수 있다. 혹은 CU는 루마 샘플들의 코딩 블록과, 대응하는 크로마 샘플들의 두개의 코딩 블록들을 포함할 수 있다. CU의 사이즈는 CTU만큼 클 수도 있고, 또는 루마 샘플 단위에서 4x4 단위로 구성될 수도 있다. 예를 들어, 4:2:0 컬러 포맷(또는 크로마 포맷)인 경우, 최대 크로마 CB 사이즈는 64x64이고 최소 크로마 CB 사이즈는 2x2일 수 있다.
본 문서에서 예를 들어, 최대 허용 루마 TB 사이즈는 64x64이고, 최대 허용 크로마 TB 사이즈는 32x32일 수 있다. 만약 상기 트리 구조에 따라 분할된 CB의 너비 또는 높이가 최대 변환 너비 또는 높이보다 큰 경우, 해당 CB는 자동적으로(또는 묵시적으로) 수평 및 수직 방향의 TB 사이즈 제한을 만족할 때까지 분할될 수 있다.
한편, 멀티타입 트리를 수반한 쿼드트리 코딩 트리 스킴(scheme)을 위하여, 다음 파라미터들이 SPS(sequence parameter set) 신택스 요소로 정의 및 식별될 수 있다.
- CTU size: 쿼터너리 트리의 루트 노드(the root node size of a quaternary tree)
- MinQTSize: 최소의 허용된 쿼터너리 트리 리프 노드 사이즈(the minimum allowed quaternary tree leaf node size)
- MaxBtSize: 최소의 허용된 이진 트리 루트 노드 사이즈(the maximum allowed binary tree root node size)
- MaxTtSize: 최소의 허용된 터너리 트리 루트 노드 사이즈(the maximum allowed ternary tree root node size)
- MaxMttDepth: 쿼드트리 리프로부터 분할되는 멀티 타입 트리의 최대 허용된 계층적 깊이(the maximum allowed hierarchy depth of multi-type tree splitting from a quadtree leaf)
- MinBtSize: 최소의 허용된 이진 트리 리프 노드 사이즈(the minimum allowed binary tree leaf node size)
- MinTtSize: 최소의 허용된 터너리 트리 리프 노드 사이즈(the minimum allowed ternary tree leaf node size)
멀티타입 트리를 수반한 쿼드트리 코딩 트리 구조의 일 예로, CTU 사이즈는 128x128 루마 샘플들 및 두개의 대응하는 크로마 샘플들의 64x64 블록들로 설정될 수 있다(4:2:0 크로마 포맷에서). 이 경우, MinOTSize는 16x16으로 설정되고, MaxBtSize는 128x128로 설정되고, MaxTtSzie는 64x64로 설정되고, (너비와 높이에 대한) MinBtSize 및 MinTtSize는 4x4로, 그리고 MaxMttDepth는 4로 설정될 수 있다. 쿼드트리 분할은 CTU에 적용되어 쿼드트리 리프 노드들을 생성할 수 있다. 쿼드트리 리프 노드는 리프 QT 노드라고 불릴 수 있다. 쿼드트리 리프 노드들은 16x16 사이즈 (즉, MinOTSize)로부터 128x128 사이즈(즉, CTU 사이즈)를 가질 수 있다. 만약 리프 QT 노드가 128x128인 경우, 추가적으로 바이너리 트리/터너리 트리로 분할되지 않을 수 있다. 이는 이 경우 분할되더라도 MaxBtsize 및 MaxTtszie(즉, 64x64)를 초과하기 때문이다. 이 외의 경우, 리프 QT 노드는 멀티타입 트리로 추가적으로 분할될 수 있다. 그러므로, 리프 QT 노드는 멀티타입 트리에 대한 루트 노드(root node)이고, 리프 QT 노드는 멀티타입 트리 뎁스(mttDepth) 0 값을 가질 수 있다. 만약, 멀티타입 트리 뎁스가 MaxMttdepth(예: 4)에 도달한 경우, 더 이상 추가 분할은 고려되지 않을 수 있다. 만약, 멀티타입 트리 노드의 너비가 MinBtSize와 같고, 2xMinTtSize보다 작거나 같을 때, 더 이상 추가적인 수평 분할은 고려되지 않을 수 있다. 만약, 멀티타입 트리 노드의 높이가 MinBtSize와 같고, 2xMinTtSize보다 작거나 같을 때, 더 이상 추가적인 수직 분할은 고려되지 않을 수 있다.
하드웨어 디코더에서의 64x64 루마 블록 및 32x32 크로마 파이프라인 디자인을 허용하기 위하여, TT 분할은 특정 경우 금지될(forbidden) 수 있다. 예를 들어, 루마 코딩 블록의 너비 또는 높이가 64보다 큰 경우, 도 9에 도시된 바와 같이, TT 분할이 금지될 수 있다. 또한 예를 들어, 크로마 코딩 블록의 너비 또는 높이가 32보다 큰 경우 TT 분할은 금지될 수 있다.
도 9는 128x128 코딩 블록에 대하여 TT 분할이 제한되는 경우의 예를 도시한다.
본 문서에서, 코딩 트리 스킴은 루마 및 크로마 블록이 개별적(separate) 블록 트리 구조를 가지는 것을 지원할 수 있다. P 및 B 슬라이스들에 대하여, 하나의 CTU 내 루마 및 크로마 CTB들은 동일한 코딩 트리 구조를 갖도록 제한될 수 있다. 그러나, I 슬라이스들에 대하여, 루마 및 크로마 블록들은 서로 개별적 블록 트리 구조를 가질 수 있다. 만약 개별적 블록 트리 모드가 적용되는 경우, 루마 CTB는 특정 코딩 트리 구조를 기반으로 CU들로 분할되고, 크로마 CTB는 다른 코딩 트리 구조를 기반으로 크로마 CU들로 분할될 수 있다. 이는, I 슬라이스 내 CU는 루마 성분의 코딩 블록 또는 두 크로마 성분들의 코딩 블록들로 구성되고, P 또는 B 슬라이스의 CU는 세가지 컬러 성분의 블록들로 구성될 수 있음을 의미할 수 있다.
상술한 "트리 구조를 사용한 CTU의 분할(Partitioning of the CTUs using a tree structure)"에서 멀티타입 트리를 수반한 쿼드트리 코딩 트리 구조에 대하여 설명하였으나, CU가 분할되는 구조는 이에 한정되지 않는다. 예를 들어, BT 구조 및 TT 구조는 다수 분할 트리(multiple partitioning tree, MPT) 구조에 포함되는 개념으로 해석될 수 있고, CU는 QT 구조 및 MPT 구조를 통해 분할된다고 해석할 수 있다. QT 구조 및 MPT 구조를 통해 CU가 분할되는 일 예에서, QT 구조의 리프 노드가 몇 개의 블록으로 분할되는지에 관한 정보를 포함하는 신택스 요소(예: MPT_split_type) 및 QT 구조의 리프 노드가 수직과 수평 중 어느 방향으로 분할되는지에 관한 정보를 포함하는 신택스 요소(예: MPT_split_mode)가 시그널링 됨으로써 분할 구조가 결정될 수 있다.
또 다른 예에서, CU는 QT 구조, BT 구조 또는 TT 구조와 다른 방법으로 분할될 수 있다. 즉, QT 구조에 따라 하위 뎁스의 CU가 상위 뎁스의 CU의 1/4 크기로 분할되거나, BT 구조에 따라 하위 뎁스의 CU가 상위 뎁스의 CU의 1/2 크기로 분할되거나, TT 구조에 따라 하위 뎁스의 CU가 상위 뎁스의 CU의 1/4 또는 1/2 크기로 분할되는 것과 달리, 하위 뎁스의 CU는 경우에 따라 상위 뎁스의 CU의 1/5, 1/3, 3/8, 3/5, 2/3 또는 5/8 크기로 분할될 수 있으며, CU가 분할되는 방법은 이에 한정되지 않는다.
트리 구조를 사용한 CTU들의 분할(Partitioning of the CTUs using tree structure)
만약 트리 노드 블록의 부분(portion)이 하단(bottom) 또는 오른쪽(right) 픽처 경계(boundary)를 초과하는(exceeds) 경우, 해당 트리 노드 블록은 모든 코딩된 CU의 모든 샘플들이 상기 픽처 경계들 내에 위치하도록 제한될 수 있다. 이 경우 예를 들어 아래의 표 2와 같은 분할 규칙이 적용될 수 있다.
Figure PCTKR2019012273-appb-img-000002
중첩적인 CU 분할에 대한 제한(Restrictions on redundant CU splits)
도 10은 바이너리 트리 분할 및 터너리 트리 분할에서 발생할 수 있는 리던던트 분할 패턴들을 예시적으로 나타낸다.
멀티타입 트리를 수반한 쿼드트리 코딩 블록 구조는 매우 유연한 블록 파티셔닝 구조를 제공할 수 있다. 멀티타입 트리에 지원되는 분할 타입들 때문에, 다른 분할 패턴들이 경우에 따라서 잠재적으로 동일한 코딩 블록 구조 결과를 가져올 수 잇다. 이러한 리던던트(redundant)한 분할 패턴들의 발생을 제한함으로써 파티셔닝 정보의 데이터량을 줄일 수 있다.
도 10에 도시된 바와 같이, 2단계 레벨의 한 방향에 대한 연속적인 바이너리 분할(two levels of consecutive binary splits in one direction)은, 터너리 분할 이후 센터 파티션에 대한 바이너리 분할과 동일한 코딩 블록 구조를 갖는다. 이러한 경우, 터너리 트리 분할의 센터 파티션에 대한 바이너리 트리 분할(in the given direction)은 금지된다. 이러한 금지는 모든 픽처들의 CU들에 대하여 적용될 수 있다. 이러한 특정 분할이 금지되는 경우, 대응하는 신택스 요소들의 시그널링은 이러한 금지되는 경우를 반영하여 수정될 수 있고, 이를 통하여 파티셔닝을 위하여 시그널링되는 비트수를 줄일 수 있다. 예를 들어, 도 10에 도시된 예와 같이, CU의 센터 파티션에 대한 바이너리 트리 분할이 금지되는 경우, 분할이 바이너리 분할인지 터너리 분할인지 여부를 가리키는 mtt_split_cu_binary_flag 신택스 요소는 시그널링되지 않고, 그 값은 0으로 디코더에 의하여 추론될 수 있다.
인터 예측(Inter Prediction)
이하, 본 명세서의 실시예에 따른 인터 예측 기법에 대하여 설명하도록 한다. 이하 설명되는 인터 예측은 도 2의 인코딩 장치(100)의 인터 예측부(180) 또는 도 3의 디코딩 장치(200)의 인터 예측부(260)에 의해 수행될 수 있다.
인코딩 장치(100)/디코딩 장치(200)의 예측부는 블록 단위로 인터 예측을 수행하여 예측 샘플을 도출할 수 있다. 인터 예측은 현재 픽처 이외의 픽처(들)의 데이터 요소들(예: 샘플값들, 또는 움직임 정보 등)에 의존적인 방법으로 도출되는 예측을 나타낼 수 있다(Inter prediction can be a prediction derived in a manner that is dependent on data elements (e.g., sample values or motion information) of picture(s) other than the current picture). 현재 블록에 인터 예측이 적용되는 경우, 참조 픽처 인덱스가 가리키는 참조 픽처 상에서 움직임 벡터에 의해 특정되는 참조 블록(참조 샘플 어레이)을 기반으로, 현재 블록에 대한 예측된 블록(예측 샘플 어레이)을 유도할 수 있다. 이때, 인터 예측 모드에서 전송되는 움직임 정보의 양을 줄이기 위해 주변 블록과 현재 블록 간의 움직임 정보의 상관성에 기초하여 현재 블록의 움직임 정보를 블록, 서브블록 또는 샘플 단위로 예측할 수 있다. 움직임 정보는 움직임 벡터 및 참조 픽처 인덱스를 포함할 수 있다. 움직임 정보는 인터 예측 타입(L0 예측, L1 예측, Bi 예측 등) 정보를 더 포함할 수 있다. 인터 예측이 적용되는 경우, 주변 블록은 현재 픽처 내에 존재하는 공간적 주변 블록(spatial neighboring block)과 참조 픽처에 존재하는 시간적 주변 블록(temporal neighboring block)을 포함할 수 있다. 참조 블록을 포함하는 참조 픽처와 시간적 주변 블록을 포함하는 참조 픽처는 동일할 수도 있고, 다를 수도 있다. 시간적 주변 블록은 동일 위치 참조 블록(collocated reference block), 동일 위치 CU(colCU) 등의 이름으로 불릴 수 있으며, 시간적 주변 블록을 포함하는 참조 픽처는 동일 위치 픽처(collocated picture, colPic)라고 불릴 수도 있다. 예를 들어, 현재 블록의 주변 블록들을 기반으로 움직임 정보 후보 리스트가 구성될 수 있고, 현재 블록의 움직임 벡터 및/또는 참조 픽처 인덱스를 도출하기 위하여 어떤 후보가 선택(사용)되는지를 지시하는 플래그 또는 인덱스 정보가 시그널링될 수 있다. 다양한 예측 모드를 기반으로 인터 예측이 수행될 수 있으며, 예를 들어 스킵 모드와 머지 모드의 경우에, 현재 블록의 움직임 정보는 선택된 주변 블록의 움직임 정보와 같을 수 있다. 스킵 모드의 경우, 머지 모드와 달리 레지듀얼 신호가 전송되지 않을 수 있다. 움직임 정보 예측(motion vector prediction, MVP) 모드의 경우, 선택된 주변 블록의 움직임 벡터를 움직임 벡터 예측자(motion vector predictor)로 이용하고, 움직임 벡터 차분(motion vector difference)은 시그널링될 수 있다. 이 경우 움직임 벡터 예측자 및 움직임 벡터 차분의 합을 이용하여 상기 현재 블록의 움직임 벡터를 도출할 수 있다.
인터 예측에 기반한 비디오/영상 인코딩 절차 및 인코딩 장치(100) 내 인터 예측부(180)는 개략적으로 예를 들어 다음을 포함할 수 있다.
도 11 및 도 12는 인터 예측에 기반한 비디오/영상 인코딩 절차 및 인코딩 장치(100) 내 인터 예측부(180)를 도시한다.
인코딩 장치(100)는 현재 블록에 대한 인터 예측을 수행한다(S1110). 인코딩 장치(100)는 현재 블록의 인터 예측 모드 및 움직임 정보를 도출하고, 현재 블록의 예측 샘플들을 생성할 수 있다. 여기서 인터 예측 모드 결정, 움직임 정보 도출 및 예측 샘플들 생성 절차는 동시에 수행될 수도 있고, 어느 한 절차가 다른 절차보다 먼저 수행될 수도 있다. 예를 들어, 인코딩 장치(100)의 인터 예측부(180)는 예측 모드 결정부(181), 움직임 정보 도출부(182), 예측 샘플 도출부(183)를 포함할 수 있으며, 예측 모드 결정부(181)에서 현재 블록에 대한 예측 모드를 결정하고, 움직임 정보 도출부(182)에서 현재 블록의 움직임 정보를 도출하고, 예측 샘플 도출부(183)에서 현재 블록의 예측 샘플들을 도출할 수 있다. 예를 들어, 인코딩 장치(100)의 인터 예측부(180)는 움직임 추정(motion estimation)을 통하여 참조 픽처들의 일정 영역(서치 영역) 내에서 상기 현재 블록과 유사한 블록을 서치하고, 현재 블록과의 차이가 최소 또는 일정 기준 이하인 참조 블록을 도출할 수 있다. 이를 기반으로 상기 참조 블록이 위치하는 참조 픽처를 가리키는 참조 픽처 인덱스를 도출하고, 참조 블록과 현재 블록의 위치 차이를 기반으로 움직임 벡터를 도출할 수 있다. 인코딩 장치(100)는 다양한 예측 모드들 중 현재 블록에 대하여 적용되는 모드를 결정할 수 있다. 인코딩 장치(100)는 다양한 예측 모드들에 대한 RD 비용(cost)을 비교하고 현재 블록에 대한 최적의 예측 모드를 결정할 수 있다.
예를 들어, 인코딩 장치(100)는 현재 블록에 스킵 모드 또는 머지 모드가 적용되는 경우, 후술하는 머지 후보 리스트를 구성하고, 머지 후보 리스트에 포함된 머지 후보들이 가리키는 참조 블록들 중 현재 블록과 중 현재 블록과의 차이가 최소 또는 일정 기준 이하인 참조 블록을 도출할 수 있다. 이 경우 도출된 참조 블록과 연관된 머지 후보가 선택되며, 선택된 머지 후보를 가리키는 머지 인덱스 정보가 생성되어 디코딩 장치(200)로 시그널링될 수 있다. 선택된 머지 후보의 움직임 정보를 이용하여 현재 블록의 움직임 정보가 도출될 수 있다.
다른 예로, 인코딩 장치(100)는 현재 블록에 (A)MVP 모드가 적용되는 경우, 후술하는 (A)MVP 후보 리스트를 구성하고, (A)MVP 후보 리스트에 포함된 MVP(motion vector predictor) 후보들 중 선택된 MVP 후보의 움직임 벡터를 현재 블록의 MVP로 이용할 수 있다. 이 경우, 예를 들어, 상술한 움직임 추정에 의하여 도출된 참조 블록을 가리키는 움직임 벡터가 현재 블록의 움직임 벡터로 이용될 수 있으며, MVP 후보들 중 현재 블록의 움직임 벡터와의 차이가 가장 작은 움직임 벡터를 갖는 MVP 후보가 선택된 MVP 후보가 될 있다. 현재 블록의 움직임 벡터에서 MVP를 뺀 차분인 MVD(motion vector difference)가 도출될 수 있다. 이 경우 MVD에 관한 정보가 디코딩 장치(200)로 시그널링될 수 있다. 또한, (A)MVP 모드가 적용되는 경우, 참조 픽처 인덱스의 값은 참조 픽처 인덱스 정보 구성되어 별도로 디코딩 장치(200)로 시그널링될 수 있다.
인코딩 장치(100)는 예측 샘플들을 기반으로 레지듀얼 샘플들을 도출할 수 있다(S1120). 인코딩 장치(100)는 현재 블록의 원본 샘플들과 예측 샘플들의 비교를 통하여 레지듀얼 샘플들을 도출할 수 있다.
인코딩 장치(100)는 예측 정보 및 레지듀얼 정보를 포함하는 영상 정보를 인코딩한다(S1130). 인코딩 장치(100)는 인코딩된 영상 정보를 비트스트림 형태로 출력할 수 있다. 예측 정보는 예측 절차에 관련된 정보들로서 예측 모드 정보(예: skip flag, merge flag, 또는 mode index) 및 움직임 정보를 포함할 수 있다. 움직임 정보는 움직임 벡터를 도출하기 위한 정보인 후보 선택 정보(예: merge index, mvp flag, 또는 mvp index)를 포함할 수 있다. 또한 움직임 정보는 상술한 MVD에 관한 정보 및/또는 참조 픽처 인덱스 정보를 포함할 수 있다. 또한 움직임 정보는 L0 예측, L1 예측, 또는 쌍(bi) 예측이 적용되는지 여부를 나타내는 정보를 포함할 수 있다. 레지듀얼 정보는 레지듀얼 샘플들에 관한 정보이다. 레지듀얼 정보는 레지듀얼 샘플들에 대한 양자화된 변환 계수들에 관한 정보를 포함할 수 있다.
출력된 비트스트림은 (디지털) 저장매체에 저장되어 디코딩 장치로 전달될 수 있고, 또는 네트워크를 통하여 디코딩 장치로 전달될 수도 있다.
한편, 상술한 바와 같이 인코딩 장치는 상기 참조 샘플들 및 상기 레지듀얼 샘플들을 기반으로 복원 픽처(복원 샘플들 및 복원 블록 포함)를 생성할 수 있다. 이는 디코딩 장치(200)에서 수행되는 것과 동일한 예측 결과를 인코딩 장치(100)에서 도출하기 위함이며, 이를 통하여 코딩 효율을 높일 수 있기 때문이다. 따라서, 인코딩 장치(100)는 복원 픽처(또는 복원 샘플들, 복원 블록)을 메모리에 저장하고, 인터 예측을 위한 참조 픽처로 활용할 수 있다. 복원 픽처에 인루프 필터링 절차 등이 더 적용될 수 있음은 상술한 바와 같다.
도 13 및 도 14는 인터 예측에 기반한 비디오/영상 디코딩 절차 및 디코딩 장치 내 인터 예측부를 도시한다.
디코딩 장치(200)는 인코딩 장치(100)에서 수행된 동작과 대응되는 동작을 수행할 수 있다. 디코딩 장치(200)는 수신된 예측 정보를 기반으로 현재 블록에 예측을 수행하고 예측 샘플들을 도출할 수 있다.
구체적으로 디코딩 장치(200)는 수신된 예측 정보를 기반으로 현재 블록에 대한 예측 모드를 결정할 수 있다(S1310). 디코딩 장치(200)는 예측 정보 내의 예측 모드 정보를 기반으로 현재 블록에 어떤 인터 예측 모드가 적용되는지 결정할 수 있다.
예를 들어, 디코딩 장치(200)는 머지 플래그(merge flag)를 기반으로 현재 블록에 머지 모드가 적용되지 또는 (A)MVP 모드가 결정되는지 여부를 결정할 수 있다. 또는 디코딩 장치(200)는 모드 인덱스(mode index)를 기반으로 다양한 인터 예측 모드 후보들 중 하나를 선택할 수 있다. 인터 예측 모드 후보들은 스킵 모드, 머지 모드 및/또는 (A)MVP 모드를 포함할 수 있고, 또는 후술하는 다양한 인터 예측 모드들을 포함할 수 있다.
디코딩 장치(200)는 결정된 인터 예측 모드를 기반으로 현재 블록의 움직임 정보를 도출한다(S1320). 예를 들어, 디코딩 장치(200)는 현재 블록에 스킵 모드 또는 머지 모드가 적용되는 경우, 후술하는 머지 후보 리스트를 구성하고, 머지 후보 리스트에 포함된 머지 후보들이 중 하나의 머지 후보를 선택할 수 있다. 머지 후보의 선택은 머지 인덱스(merge index)를 기반으로 수행될 수 있다. 선택된 머지 후보의 움직임 정보로부터 현재 블록의 움직임 정보가 도출할 수 있다. 선택된 머지 후보의 움직임 정보가 현재 블록의 움직임 정보로 이용될 수 있다.
다른 예로, 디코딩 장치(200)는, 현재 블록에 (A)MVP 모드가 적용되는 경우, 후술하는 (A)MVP 후보 리스트를 구성하고, (A)MVP 후보 리스트에 포함된 MVP 후보들 중 선택된 MVP 후보의 움직임 벡터를 현재 블록의 MVP로 이용할 수 있다. MVP의 선택은 상술한 선택 정보(MVP 플래그 또는 MVP 인덱스)를 기반으로 수행될 수 있다. 이 경우 디코딩 장치(200)는 MVD에 관한 정보를 기반으로 상기 현재 블록의 MVD를 도출할 수 있으며, 현재 블록의 MVP와 MVD를 기반으로 현재 블록의 움직임 벡터를 도출할 수 있다. 또한, 디코딩 장치(200)는 참조 픽처 인덱스 정보를 기반으로 현재 블록의 참조 픽처 인덱스를 도출할 수 있다. 현재 블록에 관한 참조 픽처 리스트 내에서 참조 픽처 인덱스가 가리키는 픽처가 현재 블록의 인터 예측을 위하여 참조되는 참조 픽처로 도출될 수 있다.
한편, 후술하는 바와 같이 후보 리스트 구성 없이 상기 현재 블록의 움직임 정보가 도출될 수 있으며, 이 경우 후술하는 예측 모드에서 개시된 절차에 따라 현재 블록의 움직임 정보가 도출될 수 있다. 이 경우 상술한 바와 같은 후보 리스트 구성은 생략될 수 있다.
디코딩 장치(200)는 현재 블록의 움직임 정보를 기반으로 현재 블록에 대한 예측 샘플들을 생성할 수 있다(S1330). 이 경우 디코딩 장치(200)는 현재 블록의 참조 픽처 인덱스를 기반으로 참조 픽처를 도출하고, 현재 블록의 움직임 벡터가 참조 픽처 상에서 가리키는 참조 블록의 샘플들을 이용하여 현재 블록의 예측 샘플들을 도출할 수 있다. 이 경우 후술하는 바와 같이 경우에 따라 현재 블록의 예측 샘플들 중 전부 또는 일부에 대한 예측 샘플 필터링 절차가 더 수행될 수 있다.
예를 들어, 디코딩 장치(200)의 인터 예측부(260)는 예측 모드 결정부(261), 움직임 정보 도출부(262), 예측 샘플 도출부(263)를 포함할 수 있으며, 예측 모드 결정부(181)에서 수신된 예측 모드 정보를 기반으로 상기 현재 블록에 대한 예측 모드를 결정하고, 움직임 정보 도출부(182)에서 수신된 움직임 정보에 관한 정보를 기반으로 상기 현재 블록의 움직임 정보(움직임 벡터 및/또는 참조 픽처 인덱스 등)를 도출하고, 예측 샘플 도출부(183)에서 상기 현재 블록의 예측 샘플들을 도출할 수 있다.
디코딩 장치(200)는 수신된 레지듀얼 정보를 기반으로 상기 현재 블록에 대한 레지듀얼 샘플들을 생성한다(S1340). 디코딩 장치(200)는 예측 샘플들 및 레지듀얼 샘플들을 기반으로 현재 블록에 대한 복원 샘플들을 생성하고, 이를 기반으로 복원 픽처를 생성할 수 있다. (S1350). 이후 상기 복원 픽처에 인루프 필터링 절차 등이 더 적용될 수 있음은 상술한 바와 같다.
상술한 바와 같이 인터 예측 절차는 인터 예측 모드 결정 단계, 결정된 예측 모드에 따른 움직임 정보 도출 단계, 도출된 움직임 정보에 기반한 예측 수행(예측 샘플 생성) 단계를 포함할 수 있다.
인터 예측 모드 결정(Determination of inter prediction mode)
픽처 내 현재 블록의 예측을 위하여 다양한 인터 예측 모드가 사용될 수 있다. 예를 들어, 머지 모드, 스킵 모드, MVP 모드, 어파인(Affine) 모드 등 다양한 모드가 사용될 수 있다. DMVR(decoder side motion vector refinement) 모드, AMVR(adaptive motion vector resolution) 모드 등이 부수적인 모드로 더 사용될 수 있다. 어파인 모드는 어파인 움직임 예측(affine motion prediction) 모드라고 불릴 수도 있다. MVP 모드는 AMVP(advanced motion vector prediction) 모드라고 불릴 수도 있다.
현재 블록의 인터 예측 모드를 가리키는 예측 모드 정보가 인코딩 장치로부터 디코딩 장치(200)로 시그널링될 수 있다. 예측 모드 정보는 비트스트림에 포함되어 디코딩 장치(200)에서 수신될 수 있다. 예측 모드 정보는 다수의 후보 모드들 중 하나를 지시하는 인덱스 정보를 포함할 수 있다. 또는, 플래그 정보의 계층적 시그널링을 통하여 인터 예측 모드를 지시할 수도 있다. 이 경우 예측 모드 정보는 하나 이상의 플래그들을 포함할 수 있다. 예를 들어, 인코딩 장치(100)는 스킵 플래그를 시그널링하여 스킵 모드 적용 여부를 지시하고, 스킵 모드가 적용 안되는 경우에 머지 플래그를 시그널링하여 머지 모드 적용 여부를 지시하고, 머지 모드가 적용 안되는 경우에 MVP 모드 적용되는 것으로 지시하거나 추가적인 구분을 위한 플래그를 더 시그널링할 수도 있다. 어파인 모드는 독립적인 모드로 시그널링될 수도 있고, 또는 머지 모드 또는 MVP 모드 등에 종속적인 모드로 시그널링될 수도 있다. 예를 들어, 어파인 모드는 후술하는 바와 같이 머지 후보 리스트 또는 MVP 후보 리스트의 하나의 후보로 구성될 수도 있다.
인터 예측 모드에 따른 움직임 정보의 도출(Derivation of motion information according to inter prediction mode)
인코딩 장치(100) 또는 디코딩 장치(200)는 현재 블록의 움직임 정보를 이용하여 인터 예측을 수행할 수 있다. 인코딩 장치(100)는 움직임 추정(motion estimation) 절차를 통하여 현재 블록에 대한 최적의 움직임 정보를 도출할 수 있다. 예를 들어, 인코딩 장치(100)는 현재 블록에 대한 원본 픽처 내 원본 블록을 이용하여 상관성이 높은 유사한 참조 블록을 참조 픽처 내의 정해진 탐색 범위 내에서 분수 픽셀 단위로 탐색할 수 있고, 이를 통하여 움직임 정보를 도출할 수 있다. 블록의 유사성은 위상(phase) 기반 샘플 값들의 차를 기반으로 도출될 수 있다. 예를 들어, 블록의 유사성은 현재 블록(또는 현재 블록의 템플릿)과 참조 블록(또는 참조 블록의 템플릿) 간 SAD(sum of absolute difference)를 기반으로 계산될 수 있다. 이 경우 탐색 영역 내 SAD가 가장 작은 참조 블록을 기반으로 움직임 정보를 도출할 수 있다. 도출된 움직임 정보는 인터 예측 모드 기반으로 여러 방법에 따라 디코딩 장치로 시그널링될 수 있다.
머지 모드 및 스킵 모드
머지 모드(merge mode)가 적용되는 경우, 현재 예측 블록의 움직임 정보가 직접적으로 전송되지 않고, 주변 예측 블록의 움직임 정보를 이용하여 현재 예측 블록의 움직임 정보를 유도하게 된다. 따라서, 인코딩 장치(100)는 머지 모드를 이용하였음을 알려주는 플래그 정보 및 주변의 어떤 예측 블록을 이용하였는지를 알려주는 머지 인덱스를 전송함으로써 현재 예측 블록의 움직임 정보를 지시할 수 있다.
인코딩 장치(100)는 머지 모드를 수행하기 위해서 현재 예측 블록의 움직임 정보를 유도하기 위해 이용되는 머지 후보 블록(merge candidate block)을 서치하여야 한다. 예를 들어, 머지 후보 블록은 최대 5개까지 이용될 수 있으나, 본 명세서는 이에 한정되지 않는다. 그리고, 머지 후보 블록의 최대 개수는 슬라이스 헤더에서 전송될 수 있으며, 본 명세서는 이에 한정되지 않는다. 머지 후보 블록들을 찾은 후, 인코딩 장치(100)는 머지 후보 리스트를 생성할 수 있고, 이들 중 가장 작은 비용을 갖는 머지 후보 블록을 최종 머지 후보 블록으로 선택할 수 있다.
본 명세서는 머지 후보 리스트를 구성하는 머지 후보 블록에 대한 다양한 실시예를 제공한다.
머지 후보 리스트는 예를 들어 5개의 머지 후보 블록을 이용할 수 있다. 예를 들어, 4개의 공간적 머지 후보(spatial merge candidate)와 1개의 시간적 머지 후보(temporal merge candidate)를 이용할 수 있다.
도 15는 현재 블록에 대한 공간적 머지 후보 구성의 예를 도시한다.
현재 블록에 대한 머지 후보 리스트는 도 16과 같은 절차를 기반으로 구성될 수 있다.
도 16은 본 명세서의 실시예에 따른 머지 후보 리스트 구성을 위한 흐름도의 예를 도시한다.
코딩 장치(인코더/디코더)는 현재 블록의 공간적 주변 블록들을 탐색하여 도출된 공간적 머지 후보들을 머지 후보 리스트에 삽입한다(S1610). 예를 들어, 공간적 주변 블록들은 현재 블록의 좌하측 코너 주변 블록, 좌측 주변 블록, 우상측 코너 주변 블록, 상측 주변 블록, 좌상측 코너 주변 블록들을 포함할 수 있다. 다만, 이는 예시로서 상술한 공간적 주변 블록들 이외에도 우측 주변 블록, 하측 주변 블록, 우하측 주변 블록 등 추가적인 주변 블록들이 더 상기 공간적 주변 블록들로 사용될 수 있다. 코딩 장치는 공간적 주변 블록들을 우선순위를 기반으로 탐색하여 가용한 블록들을 검출하고, 검출된 블록들의 움직임 정보를 공간적 머지 후보들로 도출할 수 있다. 예를 들어, 인코딩 장치(100) 또는 디코딩 장치(200)는 도 15에 도시된 5개의 블록들을 A1, B1, B0, A0, B2의 순서대로 탐색하여, 가용한 후보들을 순차적으로 인덱싱하여 머지 후보 리스트로 구성할 수 있다.
코딩 장치는 현재 블록의 시간적 주변 블록을 탐색하여 도출된 시간적 머지 후보를 상기 머지 후보 리스트에 삽입한다(S1620). 시간적 주변 블록은 현재 블록이 위치하는 현재 픽처와 다른 픽처인 참조 픽처 상에 위치할 수 있다. 시간적 주변 블록이 위치하는 참조 픽처는 동일 위치 픽처(collocated picture) 또는 콜 픽처(col picture)라고 불릴 수 있다. 시간적 주변 블록은 콜 픽처 상에서의 현재 블록에 대한 동일 위치 블록(co-located block)의 우하측 코너 주변 블록 및 우하측 센터 블록의 순서로 탐색될 수 있다. 한편, 움직임 데이터 압축(motion data compression)이 적용되는 경우, 콜 픽처에 일정 저장 단위마다 특정 움직임 정보를 대표 움직임 정보로 저장할 수 있다. 이 경우 상기 일정 저장 단위 내의 모든 블록에 대한 움직임 정보를 저장할 필요가 없으며 이를 통하여 움직임 데이터 압축 효과를 얻을 수 있다. 이 경우, 일정 저장 단위는 예를 들어 16x16 샘플 단위, 또는 8x8 샘플 단위 등으로 미리 정해질 수도 있고, 또는 인코딩 장치(100)로부터 디코딩 장치(200)로 일정 저장 단위에 대한 사이즈 정보가 시그널링될 수도 있다. 움직임 데이터 압축이 적용되는 경우 시간적 주변 블록의 움직임 정보는 시간적 주변 블록이 위치하는 일정 저장 단위의 대표 움직임 정보로 대체될 수 있다. 즉, 이 경우 구현 측면에서 보면, 시간적 주변 블록의 좌표에 위치하는 예측 블록이 아닌, 시간적 주변 블록의 좌표(좌상단 샘플 포지션)를 기반으로 일정 값만큼 산술적 우측 시프트 후 산술적 좌측 시프트 한 위치를 커버하는 예측 블록의 움직임 정보를 기반으로 시간적 머지 후보가 도출될 수 있다. 예를 들어, 일정 저장 단위가 2nx2n 샘플 단위인 경우, 시간적 주변 블록의 좌표가 (xTnb, yTnb)라 하면, 수정된 위치인 ((xTnb >> n) << n), (yTnb >> n) << n))에 위치하는 예측 블록의 움직임 정보가 시간적 머지 후보를 위하여 사용될 수 있다. 구체적으로 예를 들어, 일정 저장 단위가 16x16 샘플 단위인 경우, 시간적 주변 블록의 좌표가 (xTnb, yTnb)라 하면, 수정된 위치인 ((xTnb >> 4) << 4), (yTnb >> 4) << 4))에 위치하는 예측 블록의 움직임 정보가 시간적 머지 후보를 위하여 사용될 수 있다. 또는 예를 들어, 일정 저장 단위가 8x8 샘플 단위인 경우, 시간적 주변 블록의 좌표가 (xTnb, yTnb)라 하면, 수정된 위치인 ((xTnb >> 3) << 3), (yTnb >> 3) << 3))에 위치하는 예측 블록의 움직임 정보가 시간적 머지 후보를 위하여 사용될 수 있다.
코딩 장치는 현재 머지 후보들의 개수가 최대 머지 후보들의 개수보다 작은지 여부를 확인할 수 있다(S1630). 최대 머지 후보들의 개수는 미리 정의되거나 인코딩 장치(100)에서 디코딩 장치(200)로 시그널링될 수 있다. 예를 들어, 인코딩 장치(100)는 최대 머지 후보들의 개수에 관한 정보를 생성하고, 인코딩하여 비트스트림 형태로 디코딩 장치(200)로 전달할 수 있다. 최대 머지 후보들의 개수가 다 채워지면 이후의 후보 추가 과정은 진행하지 않을 수 있다.
확인 결과 현재 머지 후보들의 개수가 상기 최대 머지 후보들의 개수보다 작은 경우, 코딩 장치는 추가 머지 후보를 머지 후보 리스트에 삽입한다(S1640). 추가 머지 후보는 예를 들어 ATMVP(adaptive temporal motion vector prediction), 결합된 양방향 예측(combined bi-predictive) 머지 후보(현재 슬라이스의 슬라이스 타입이 B 타입인 경우) 및/또는 영 벡터(zero vector) 머지 후보를 포함할 수 있다.
도 17은 ATMVP를 수행하기 위한 방법의 예를 도시한다.
참고로 ATMVP는 도 17과 같이 주변 블록의 공간적 유사성을 고려하여 시간적 유사성 정보를 보정하는 방법이다. ATMVP는 기존의 TMVP 방법을 개선하기 위한 방법으로서 제안될 수 있다. 즉, 현재 블록의 우하측(right-bottom) 블록 또는 현재 블록의 센터 위치의 colPB의 움직임 벡터를 사용하는 TMVP는 화면 내 움직임을 반영하지 못하므로 주변 블록의 움직임 벡터가 가리키는 위치의 colPB의 움직임 벡터를 MVP로서 사용할 수 있다. ATMVP의 적용 방법은 도 17과 같다.
머지 후보(merge candidate) 구성 순서대로 각 블록을 체크하면서 가장 먼저 사용 가능한 공간적 주변 블록(spatial neighbor block)의 움직임 벡터 또는 시간적 벡터(temporal vector)를 찾은 후, 참조 픽처(reference picture)에서 시간적 벡터가 가리키는 위치를 col-PB로 지정한다. 이 방법을 사용함으로써 현재 블록의 예측 정확도를 높일 수 있다.
일 실시예에 따르면, 시간적 벡터를 사용함으로써 현재 블록의 움직임 벡터를 서브블록 단위로 도출할 수 있다. 이때 특정 서브 블록에 움직임 벡터가 존재하지 않는 경우, 현재 블록의 중심에 위치한 블록의 움직임 벡터를 사용 가능하지 않은 서브블록을 위한 움직임 벡터로서 사용되고, 이 움직임 벡터가 대표 움직임 벡터로서 저장될 수 있다.
ATMVP 모드를 사용하기 위하여 머지 후보의 개수를 증가시킬 수 있으며, 추가적인 신택스(syntax)는 사용되지 않는다. SPS(sequence parameter set)에서 최대 머지 후보의 개수가 6개로 증가되며, 기존 {A1, B1, B0, A0, B2, Combined bi-pred, Zero vector}의 후보 리스트 체크 과정은 {A1, B1, B0, A0, ATMVP, B2, Combined bi-pred, Zero vector}로 변경된다.
머지 후보 리스트의 확인 결과 현재 머지 후보들의 개수가 최대 머지 후보들의 개수보다 작지 않은 경우, 코딩 장치는 머지 후보 리스트의 구성을 종료할 수 있다. 이 경우 인코딩 장치(100)는 RD(rate-distortion) 비용 기반의 머지 후보 리스트를 구성하는 머지 후보들 중 최적의 머지 후보를 선택할 수 있으며, 선택된 머지 후보를 가리키는 선택 정보(예: 머지 인덱스(merge index))를 디코딩 장치(200)로 시그널링할 수 있다. 디코딩 장치(200)는 머지 후보 리스트 및 선택 정보를 기반으로 최적의 머지 후보를 선택할 수 있다.
선택된 머지 후보의 움직임 정보가 현재 블록의 움직임 정보로 사용될 수 있으며, 현재 블록의 움직임 정보를 기반으로 현재 블록의 예측 샘플들을 도출할 수 있음은 상술한 바와 같다. 인코딩 장치(100)는 예측 샘플들을 기반으로 현재 블록의 레지듀얼 샘플들을 도출할 수 있으며, 레지듀얼 샘플들에 관한 레지듀얼 정보를 디코딩 장치(200)로 시그널링할 수 있다. 디코딩 장치(200)는 레지듀얼 정보를 기반으로 도출된 레지듀얼 샘플들 및 예측 샘플들을 기반으로 복원 샘플들을 생성하고, 이를 기반으로 복원 픽처를 생성할 수 있음은 상술한 바와 같다.
스킵 모드(skip mode)가 적용되는 경우, 머지 모드가 적용되는 경우와 동일한 방법으로 현재 블록의 움직임 정보가 도출될 수 있다. 다만, 스킵 모드가 적용되는 경우 해당 블록에 대한 레지듀얼 신호가 생략되며 따라서 예측 샘플들이 바로 복원 샘플들로 이용될 수 있다.
MVP 모드
MVP(motion vector prediction) 모드가 적용되는 경우, 복원된 공간적 주변 블록(예를 들어, 도 15의 주변 블록)의 움직임 벡터 및/또는 시간적 주변 블록(또는 Col 블록)에 대응하는 움직임 벡터를 이용하여, 움직임 벡터 예측자(motion vector predictor, MVP) 후보 리스트가 생성될 수 있다. 즉, 복원된 공간적 주변 블록의 움직임 벡터 및/또는 시간적 주변 블록에 대응하는 움직임 벡터는 움직임 벡터 예측자 후보로 사용될 수 있다. 예측에 관한 정보는 리스트에 포함된 움직임 벡터 예측자 후보들 중에서 선택된 최적의 움직임 벡터 예측자 후보를 지시하는 선택 정보(예: MVP 플래그 또는 MVP 인덱스)를 포함할 수 있다. 이 때, 예측부는 선택 정보를 이용하여, 움직임 벡터 후보 리스트에 포함된 움직임 벡터 예측자 후보들 중에서, 현재 블록의 움직임 벡터 예측자를 선택할 수 있다. 인코딩 장치(100)의 예측부는 현재 블록의 움직임 벡터와 움직임 벡터 예측자 사이의 움직임 벡터 차분(motion vector difference, MVD)을 구할 수 있고, MVD를 인코딩하여 비트스트림 형태로 출력할 수 있다. 즉, MVD는 현재 블록의 움직임 벡터에서 상기 움직임 벡터 예측자를 뺀 값으로 구해질 수 있다. 이 때, 디코딩 장치(200)의 예측부는 예측에 관한 정보에 포함된 MVD를 획득하고, MVD와 움직임 벡터 예측자의 가산(adding)을 통해 현재 블록의 움직임 벡터를 도출할 수 있다. 디코딩 장치(200)의 예측부는 참조 픽처를 지시하는 참조 픽처 인덱스를 예측에 관한 정보로부터 획득 또는 유도할 수 있다. 예를 들어, MVP 후보 리스트의 구성은 도 17과 같이 수행될 수 있다.
도 18은 예측 후보 리스트(MVP 후보 리스트)를 구성하기 위한 흐름도의 예를 도시한다.
도 18을 참조하면, 코딩 장치는 움직임 벡터 예측을 위한 공간적 후보 블록을 탐색하여 예측 후보 리스트에 삽입한다(S1810). 예를 들어, 코딩 장치는 정해진 탐색 순서에 따라 주변 블록들에 대한 탐색을 수행하고, 공간적 후보 블록에 대한 조건을 만족하는 주변 블록의 정보를 예측 후보 리스트(MVP 후보 리스트)에 추가할 수 있다.
공간적 후보 블록 리스트를 구성한 후, 코딩 장치는 예측 후보 리스트에 포함된 공간적 후보 리스트의 개수와 기 설정된 기준 개수(예: 2)를 비교한다(S1820). 예측 후보 리스트에 포함된 공간적 후보 리스트의 개수가 기준 개수(예: 2)보다 크거나 같은 경우, 코딩 장치는 예측 후보 리스트의 구성을 종료할 수 있다.
그러나, 예측 후보 리스트에 포함된 공간적 후보 리스트의 개수가 기준 개수(예: 2)보다 작은 경우, 코딩 장치는 시간적 후보 블록을 탐색하여 예측 후보 리스트에 추가 삽입하고(S1830), 시간적 후보 블록이 사용 불가능한 경우, 제로 움직임 벡터를 예측 후보 리스트에 추가한다(S1840).
예측 샘플 생성(generation of prediction sample)
코딩 장치는 예측 모드에 따라 도출된 움직임 정보를 기반으로 현재 블록에 대한 예측된 블록을 도출할 수 있다. 예측된 블록은 현재 블록의 예측 샘플들(예측 샘플 어레이)를 포함할 수 있다. 현재 블록의 움직임 벡터가 분수 샘플 단위를 가리키는 경우, 보간(interpolation) 절차가 수행될 수 있으며, 이를 통하여 참조 픽처 내에서 분수 샘플 단위의 참조 샘플들을 기반으로 현재 블록의 예측 샘플들이 도출될 수 있다. 현재 블록에 어파인 인터 예측(affine inter prediction)이 적용되는 경우, 샘플/서브블록 단위의 MV를 기반으로 예측 샘플들이 생성될 수 있다. 쌍 예측(또는 양방향 예측)이 적용되는 경우, L0 예측을 기반으로 도출된 예측 샘플들과 L1 예측을 기반으로 도출된 예측 샘플들의 (위상에 따른) 가중합을 통하여 최종 예측 샘플들이 도출될 수 있다.
도출된 예측 샘플들을 기반으로 복원 샘플들 및 복원 픽처가 생성될 수 있고, 이후 인루프 필터링 등의 절차가 수행될 수 있음은 전술한 바와 같다.
이하, 본 명세서의 실시예에 따른 진보된 머지 후보(advanced merge candidate) 구성 방법에 대하여 설명하도록 한다. 본 명세서의 실시예는 정지 영상 또는 동영상 인코딩/디코딩 방법 및 장치에 관한 것으로서 인터 예측 중 머지 모드 또는 스킵 모드의 머지 후보 생성 방법 및 머지 후보 구성에 관한 것이다.
이하 본 명세서의 실시예는 머지 후보 생성 방법 및 머지 리스트 구성에 관한 것으로 부호화 복잡도(프루닝 프로세스, 스케일링 프로세스) 증가 없이 부호화 효율을 향상시키는 것을 목적으로 한다.
실시예 1
도 19 및 도 20은 머지 후보 리스트 구성 방법의 일 예를 도시한다.
본 실시에는 머지 모드 또는 스킵 모드(이하 머지 모드와 스킵 모드는 머지 모드로 통합하여 사용됨)의 구체적이 실시예로서 머지 모드에 대해 설명하며, 구체적인 머지 후보 리스트 구성(또는 머지 리스트 구성)은 아래와 같은 순서에 의해 수행된다(도 19 및 도 20 참고).
1) 공간적 후보 {A1, B1, A0, B0}를 머지 후보 리스트에 삽입
2) ATMVP를 삽입
3) 공간적 후보 {B2}를 삽입
4) TMVP 후보 {T}를 삽입
5) 결합된 후보(combined candidate) 삽입
6) 제로 후보(zero candidate) 삽입
여기서, TMVP(temporal motion vector predictor)는 시간적 머지 후보를 의미한다.
공간적 후보 블록들(spatial motion vector predictor) A1, B1, A0, B0의 스캐닝 순서는 A1 - B1 - B0 - A0 일 수 있으나, 본 명세서의 실시예는 이에 한정되지 않으며 다른 스캐닝 순서가 적용될 수도 있다. 본 명세서의 실시예 2 내지 실시예 6은 머지 후보 리스트 구성(merge candidate list construction)을 위해 적용될 수 있으며 다른 머지 리스트 구성(merge list construction) 방법에도 적용 가능하다
인코더/디코더는 공간적 후보 블록들(spatial candidate blocks) A1, B1, A0, B0, B2에 대해 서로 간에 프루닝 프로세스(pruning process)를 수행함으로써 동일한 후보가 후보 리스트에 존재하는지 여부를 확인할 수 있다. 여기서, 프루닝 프로세스는 두 후보 블록들의 움직임 벡터(MV)와 참조 인덱스(reference index)를 비교하는 과정을 포함할 수 있다. 만약 후보 리스트(candidate list)에 동일한 후보가 존재하는 경우 해당 후보는 머지 후보(merge candidate)로 선택(또는 결정)되지 않는다. 한편, 나머지 후보(ATMVP, TMVP, combined candidate, zero candidate)의 경우 프루닝 프로세스가 수행되지 않을 수 있다.
인코더/디코더는 TMVP 및/또는 ATMVP를 위해 스케일링 프로세스(scaling process)를 수행할 수 있다. 예를 들어, 인코더/디코더는 TMVP 및/또는 ATMVP의 각 후보의 움직임 벡터(MV)를 참조 인덱스(reference index)가 0인 경우의 값에 맞춰 스케일링 할 수 있다.
상술한 바와 같이, 머지 후보 리스트 구성(merge candidate list construction)은 다양한 후보(candidate)를 고려하고 있으며, 이를 위해 다수의 프루닝 프로세스 및/또는 스케일링 프로세스가 수행된다. 아래의 표 3과 같이 프루닝 프로세스 및/또는 스케일링 프로세스는 비교(comparison), 곱셈(multiplication), 및/또는 나눗셈(division operation)을 포함하며, 이는 부호화 복잡도를 높이는 요인이다. 따라서, 추가적인 후보를 고려하는 경우 스케일링 프로세스와 프루닝 프로세스를 최소화할 수 있는 방법이 요구된다.
Figure PCTKR2019012273-appb-img-000003
보다 구체적으로, 도 20을 참조하면, 코딩 장치는 공간적 후보 {A1, B1, B0, A0}에 대한 탐색 및 삽입(S2010), ATMVP에 따른 머지 후보 탐색 및 삽입(S2020), 공간적 후보 {B2}에 대한 탐색 및 삽입(S2030), TMVP에 따른 머지 후보 탐색 및 삽입(S2040), 결합된 후보 결정 및 삽입(S2050), 및 제로 후보 삽입(S2060)을 수행하고 머지 후보 리스트 구성을 종료할 수 있다. 도 20의 머지 후보 리스트 생성에 있어서, A1, B1, A0, B0의 스캐닝 순서는 A1 - B1 - B0 - A0일 수 있으나, 본 실시예는 이에 한정되지 않으며, 다른 스캐닝 순서가 적용될 수 있다.
실시예 2
본 실시예는 머지 모드에서 추가적으로 고려할 수 있는 머지 후보를 생성하는 방법에 관한 것이다.
본 실시예는 머지 후보를 결정하는 방법에 관한 것이므로, 인코딩 장치(100) 및 디코딩 장치(200)에서 동일하게 수행될 수 있다.
설명의 편의를 위하여 아래와 같이 용어를 정의하도록 한다.
1) L-예측자(L-predictor): {A1, A0} 후보들 중 첫번째 유효한 후보
2) A-예측자(A-predictor): {B1, B0} 후보들 중 첫번째 유효한 후보
3) AL-예측자(AL-predictor): 유효한 B2 후보
4) T-예측자(T-predictor): 유효한 TMVP 후보
여기서, '유효한(effective)'의 의미는 해당 후보가 머지 후보로 고려되어 머지 후보 리스트에 존재하는 경우를 의미한다. 예를 들어 유효한 B2 후보는 머지 후보 구성 과정을 통해 B2 후보가 머지 후보 리스트에 존재하는 경우를 의미한다. 유효한 후보가 존재하는 않는 경우 해당 예측자는 존재하지 않는다.
L-예측자 및 A-예측자 상의 첫번째 유효한 후보를 찾기 위한 스캔 순서는 머지 리스트 구성에서 스캔 순서와 동일하게 A1 - A0, B1 - B0가 사용될 수 있으나, 본 발명은 이에 한정되지 않으며 다른 스캔 순서(A0 - A1 또는 B1 - B0)를 제한하는 것은 아니다.
앞서 설명한 머지 후보 이외에도 추가적으로 머지 후보 리스트 구성을 위해 다음과 같은 머지 후보가 추가로 생성될 수 있다.
1) L/A 후보(L/A candidate): L-예측자 및 A-예측자(L-predictor & A-predictor)가 존재하고 두 예측자의 참조 프레임(reference frame) 또는 참조 인덱스가 동일한 경우, 인코더/디코더는 머지 후보를 생성할 수 있으며, 이를 L/A 후보라 정의한다. 이때, L/A 후보의 MV는 L-예측자 및 A-예측자의 MV들의 평균(average) 값으로 결정(또는 설정)될 수 있다. 그리고, L/A 후보의 참조 인덱스는 L-예측자 및 A-예측자의 참조 인덱스로 결정(또는 설정)될 수 있다.
L/A 후보(L/A candidate)는 A1, B1 블록들의 확인 후 결정되거나(케이스 1), A1, B1, B0, A0 블록들의 확인 후 결정될 수 있다(케이스 2). 케이스 1의 경우, L-예측자는 A1 후보일 수 있고 A-예측자는 B1 후보일 수 있다. 케이스 1은 L/A 후보가 B0, A0 보다 우수한 후보일 때 효과적이며, 케이스 2는 L/A 후보가 B0, A0 보다 우수하지 않은 후보일 때 효과적일 수 있다.
2) AL/L 후보(AL/L candidate): AL-예측자 및 L-예측자(AL-predictor & L-predictor)가 존재하고 두 예측자의 참조 프레임 또는 참조 인덱스가 동일한 경우, 인코더/디코더는 머지 후보를 생성할 수 있으며 이를 AL/L 후보로 정의한다. 이때, AL/L 후보의 MV는 AL-예측자 및 L-예측자의 MV들의 평균 값으로 결정(또는 설정)될 수 있다. 그리고, AL/L 후보의 참조 인덱스는 AL-예측자 및 L-예측자의 참조 인덱스로 결정(또는 설정)될 수 있다.
3) AL/A 후보(AL/A candidate): AL-예측자 및 A-예측자(AL-predictor & A-predictor)가 존재하고 두 예측자의 참조 프레임 또는 참조 인덱스가 동일한 경우, 인코더/디코더는 머지 후보를 생성할 수 있으며, 이를 AL/A 후보로 정의한다. 이때, AL/A 후보의 MV는 AL-예측자 및 A-예측자의 MV들의 평균 값으로 결정(또는 설정)될 수 있다. 그리고, AL/A 후보의 참조 인덱스는 AL-예측자 및 A-예측자의 참조 인덱스로 결정(또는 설정)될 수 있다.
4) T/AL 후보(T/AL candidate): T-예측자 및 AL-예측자(T-predictor & AL-predictor)가 존재하고 두 예측자의 참조 프레임 또는 참조 인덱스가 동일한 경우, 인코더/디코더는 머지 후보를 생성할 수 있으며, 이를 T/AL 후보로 정의한다. 이때, T/AL 후보의 MV는 T-예측자 및 AL-예측자의 MV들의 평균 값으로 결정(또는 설정)될 수 있다. 그리고, T/AL 후보의 참조 인덱스는 T-예측자 및 AL-예측자의 참조 인덱스로 결정(또는 설정)될 수 있다.
5) T/L 후보(T/L candidate): T-예측자 및 L-예측자(T-predictor & L-predictor)가 존재하고 두 예측자의 참조 프레임 또는 참조 인덱스가 동일한 경우, 인코더/디코더는 머지 후보를 생성할 수 있으며, 이를 T/L 후보로 정의한다. 이때, T/L 후보의 MV는 T-예측자 및 L-예측자의 MV들의 평균 값으로 결정(또는 설정)될 수 있다. 그리고, T/L 후보의 참조 인덱스는 T-예측자 및 L-예측자의 참조 인덱스로 결정(또는 설정)될 수 있다.
6) T/A 후보(T/A candidate): T-예측자 및 A-예측자(T-predictor & A-predictor)가 존재하고 두 예측자의 참조 프레임 또는 참조 인덱스가 동일한 경우, 인코더/디코더는 머지 후보를 생성할 수 있으며, 이를 T/A 후보로 정의한다. 이때, T/A 후보의 MV는 T-예측자 및 A-예측자의 MV들의 평균 값으로 결정(또는 설정)될 수 있다. 그리고, T/A 후보의 참조 인덱스는 T-예측자 및 A-예측자의 참조 인덱스로 결정(또는 설정)될 수 있다.
6) L/A/AL/T 후보(L/A/AL/T candidate): L-예측자, A-예측자, AL-예측자, 및 T-예측자(L-predictor & A-predictor & AL-predictor & T-predictor)가 존재하고 L-예측자, A-예측자, AL-예측자, 및 T-예측자(L-predictor & A-predictor & AL-predictor & T-predictor)의 참조 프레임 또는 참조 인덱스가 동일한 경우, L-예측자, A-예측자, AL-예측자, 및 T-예측자(L-predictor & A-predictor & AL-predictor & T-predictor)의 MV들의 평균 값을 MV로 하고, L-예측자, A-예측자, AL-예측자, 및 T-예측자(L-predictor & A-predictor & AL-predictor & T-predictor)의 참조 인덱스를 참조 인덱스로 하는 머지 후보로 생성하고 이를 L/A/AL/T 후보로 정의한다.
위와 같이 평균 값에 기초하여 후보를 생성하는 것은 직관적으로 움직임 연속성(motion continuity) 관점에서 타당하다. 예를 들어, 블록 A1의 움직임과 블록 B1의 움직임이 결정된 경우 현재 블록의 움직임은 블록 A1의 움직임이거나 블록 B1의 움직임이거나 혹은 블록 A1와 블록 B1의 평균값을 가지는 움직임이거나 블록 A1과 블록 B1 사이의 움직임일 가능성이 크다. 따라서 이러한 움직임은 L/A 후보를 사용함으로 표현 가능하다.
참조 프레임이 동일한 예측자만을 고려하는 것은 스케일링 프로세스를 회피할 수 있다는 점에서 타당하다. 스케일링 프로세스는 이미 표 3에서 언급된 것과 같이 나눗셈과 곱셈 연산을 포함하기 때문에 연산 복잡도가 매우 높다. 만약 참조 프레임이 다른 경우에도 평균 후보를 고려하는 경우 특정 참조 프레임으로 스케일링하는 과정이 필요하기 때문에 복잡도 측면에서 바람직하지 않을 수 있다.
본 실시예에서 제안되는 방법에 의해 생성된 후보에 대한 프루닝 프로세스가 수행되지 않는다. 이는 이미 다른 후보임이 확인된 예측자를 이용하여 평균 값이 결정됨에 따라 머지 후보 리스트에 포함된 최소 2 개의 후보와 다른 후보를 가지기 때문에 확률상 프루닝 체크를 수행하지 않는 것으로 인한 열화는 거의 없다. 예를 들어 L/A 후보는 이미 L-예측자와 A-예측자가 후보 리스트에 포함되어 있을 때 결정될 수 있는데 L-예측자와 A-예측자가 후보 리스트에 포함되었다는 의미는 두 예측자가 다른 값을 가진다는 의미이다. 따라서 두 예측자에 의해 생성된 L/A 후보는 두 에측자와 다른 값을 가지므로 프루닝 프로세스은 수행될 필요 없다.
추가적으로 생성될 수 있는 머지 후보는 기존의 머지 후보 리스트 구성 방법 또는 다른 머지 후보 리스트 구성 방법과 함께 사용될 수 있다.
머지 후보를 추가적으로 생성하는 과정(L/A 후보 내지 L/A/AL/T 후보)에서 2 개의 예측자의 MV의 평균을 통하여 구하는 방법 대신 사전에 정의된 가중치를 적용하여 MV를 생성할 수 있다.
또한 총 7 개의 후보는 전체 혹은 일부만이 머지 후보 리스트에 고려될 수 있다.
실시예3
본 실시예는 머지 후보 리스트 구성을 위한 방법에 관한 것이다.
본 실시예는 실시예 2에서 제안된 후보를 사용하여 구체적으로 머지 후보 리스트 구성을 수행하는 방법에 관한 것이다.
본 실시예는 인코더와 디코더에서 동일하게 수행될 수 있다.
도 21은 본 명세서의 실시예에 따른 머지 후보 리스트 구성 방법의 다른 예를 도시한다.
실시예 2에서 제안된 후보를 고려하여 머지 후보 리스트 구성이 도 21과 같이 수행될 수 있다. 머지 후보 리스트 구성 수행시 AL/L 후보와 AL/A 후보 사이의 순서는 AL/L 후보 - AL/A 후보 이거나 AL/A 후보 - AL/L 후보일 수 있다. 또한 T/AL 후보와 T/L 후보, T/A 후보 사이의 순서는 T/AL 후보 - T/L 후보 - T/A 후보이거나 T/A 후보 - T/L 후보 - T/AL 후보 이거나 T/L 후보 - T/A 후보 - T/AL 후보 등일 수 있다. 이는 이하 설명하는 모든 실시예(실시예 3 내지 실시예 6)에 동일하게 적용될 수 있다.
1) 머지 후보 리스트에 공간적 후보 {A1, B1, B0, A0}를 삽입(S2105)
2) L/A 후보를 삽입(S2110)
3) ATMVP를 삽입(S2115)
4) 공간적 후보 {B2}를 삽입(S2120)
5) AL/L 후보를 삽입(S2125)
6) AL/A 후보를 삽입(S2130)
7) TMVP 후보 {T}를 삽입(S2135)
8) T/AL 후보를 삽입(S2140)
9) T/L 후보를 삽입(S2145)
10) T/A 후보를 삽입(S2150)
11) L/A/AL/T 후보를 삽입(S2155)
12) 결합된 후보를 삽입(S2160)
13) 제로 후보를 삽입(S2165)
도 21의 머지 후보 리스트 생성에서 A1, B1, A0, B0의 스캐닝 순서는 A1 - B1 - B0 - A0일 수 있으나, 본 명세서의 실시예는 이에 한정되지 않으며 다른 스캐닝 순서가 적용될 수 있다.
실시예 4
본 실시예는 실시예 1의 머지 후보 리스트 구성을 위한 방법에 관한 것이다.
본 실시예는 실시예 2에서 제안된 후보를 사용하여 구체적으로 머지 후보 리스트 구성을 수행하는 방법에 관한 것이다.
본 실시예는 인코더와 디코더에서 동일하게 동작할 수 있다.
도 22는 본 명세서의 실시예에 따른 머지 후보 리스트를 구성하기 위한 방법의 또 다른 예를 도시한다.
실시예 2에서 제안된 후보를 고려하면 머지 후보 리스트 구성이 다음과 같은 순서로 수행될 수 있다(도 22 참고). 이는 다른 후보에 비해 상대적으로 A1 및 B1 후보가 중요하기 때문에 오직 L/A 후보를 위한 L-예측자와 A-예측자가 각각 A1, B1 후보에 의해 결정되도록 하여 부호화 성능 향상을 기대할 수 있도록 설계한 것이다.
본 실시예에 따른 머지 후보 리스트 구성 순서는 아래와 같다.
1) 공간적 후보 {A1, B1}을 삽입(S2205)
2) L/A 후보를 삽입(S2210)
3) 공간적 후보 {B0, A0}를 삽입(S2215)
4) ATMVP를 삽입(S2220)
5) 공간적 후보 {B2}를 삽입(S2225)
6) AL/L 후보를 삽입(S2230)
7) AL/A 후보를 삽입(S2235)
8) TMVP 후보 {T}를 삽입(S2240)
9) T/AL 후보를 삽입(S2245)
10) T/L 후보를 삽입(S2250)
11) T/A 후보를 삽입(S2255)
12) L/A/AL/T 후보를 삽입(S2260)
13) 결합된 후보를 삽입(S2265)
14) 제로 후보를 삽입(S2270)
실시예 5
본 실시예는 실시예 1의 머지 후보 리스트 구성을 위한 방법에 관한 것이다.
본 실시예는 실시예 2에서 제안된 후보를 이용하여 구체적으로 머지 후보 리스트 구성을 수행하는 방법에 관한 것이다.
본 실시예는 실시예 2에서 제안된 후보의 일부를 선택 및/또는 이용하여 구체적으로 머지 후보 리스트 구성을 수행하는 방법에 관한 것이다.
본 실시예는 인코더와 디코더에서 동일하게 동작할 수 있다.
실시예 2에서 제안된 후보들 중 AL-예측자를 사용하여 생성되는 AL/L 후보, AL/A 후보, T/AL 후보, 및 L/A/AL/T 후보의 경우 최적의 머지 후보로 선택될 확률이 매우 낮다. 이는 AL-예측자로 사용되는 B2 후보가 현재 블록의 후보로 고려될 확률이 매우 낮기 때문이다. 따라서 우수한 후보를 고려하여 머지 후보 리스트 구성이 다음과 같이 수행될 수 있다.
1) 공간적 후보 {A1, B1, B0, A0}를 머지 후보 리스트에 삽입
2) L/A 후보를 삽입
3) ATMVP를 삽입
4) 공간적 후보 {B2}를 삽입
5) TMVP 후보 {T}를 삽입
6) T/L 후보를 삽입
7) T/A 후보를 삽입
8) 결합된 후보를 삽입
9) 제로 후보를 삽입
또는 다음과 같이 머지 후보 리스트 구성이 수행될 수 있다.
1) 공간적 후보 {A1, B1}를 머지 후보 리스트에 삽입
2) L/A 후보를 삽입
3) 공간적 후보 {B0, A0}를 머지 후보 리스트에 삽입
4) ATMVP 후보를 삽입
5) 공간적 후보 {B2}를 삽입
6) TMVP 후보 {T}를 삽입
7) T/L 후보를 삽입
8) T/A 후보를 삽입
9) 결합된 후보를 삽입
10) 제로 후보를 삽입
실시예 6
실시예 3, 실시예 4, 실시예 5에서 제안된 머지 후보의 추가 방법에 있어서, 각 실시예에서 기술된 것과 같이 모든 후보를 추가하는 대신 일부 후보만이 추가될 수 있다. 아래에 설명되는 것과 같이 효과적인 성능을 가지는 후보만을 고려하는 경우 후보 생성을 위한 연산 복잡도를 감소시킬 수 있고, 효과적인 후보가 리스트에서 우선적으로 고려될 수 있기 때문에 부호화 효율도 높일 수 있는 장점이 있다.
예를 들어, 상대적으로 부호화 효율에 큰 영향을 주는 L-예측자와 A-예측자의 조합만을 고려하는 경우, 머지 후보 리스트 구성은 다음과 같이 수행될 수 있다.
1) 공간적 후보 {A1, B1, B0, A0}를 머지 후보 리스트에 삽입
2) L/A 후보를 삽입
3) ATMVP 후보를 삽입
4) 공간적 후보 {B2}를 삽입
5) TMVP 후보 {T}를 삽입
6) 결합된 후보를 삽입
7) 제로 후보를 삽입
또는 다음과 같이 머지 후보 리스트 구성이 수행될 수 있다.
1) 공간적 후보 {A1, B1}를 머지 후보 리스트에 삽입
2) L/A 후보를 삽입
3) 공간적 후보 {B0, A0}를 머지 후보 리스트에 삽입
4) ATMVP 후보를 삽입
5) 공간적 후보 {B2}를 삽입
6) TMVP 후보 {T}를 삽입
7) 결합된 후보를 삽입
8) 제로 후보를 삽입
또한, L-예측자 또는 A-예측자와 T-예측자 간의 조합만을 추가될 머지 후보로 고려하는 경우, 머지 후보 리스트 구성이 다음과 같이 수행될 수 있다. 이 경우, T-예측자 또한 L-예측자 혹은 A-예측자와 유사하게 효과적인 예측자이기 때문에 해당 조합만을 고려하여도 충분히 부호화 효율이 증대될 수 있다. 이는, T/L 후보와 T/A 후보가 TMVP 이후에 사용될 수 있으므로, TMVP 이전 후보의 개수가 적은 것이 해당 후보를 고려하는데 있어서 유리할 수 있기 때문이다. 참고로 실시예 2에서 기술된 것과 같이 T/L 후보와 T/A 후보의 순서가 바뀌어 적용될 수도 있다.
1) 공간적 후보 {A1, B1, B0, A0}를 머지 후보 리스트에 삽입
2) ATMVP 후보를 삽입
3) 공간적 후보 {B2}를 삽입
4) TMVP 후보 {T}를 삽입
5) T/L 후보를 삽입
6) T/A 후보를 삽입
7) 결합된 후보를 삽입
8) 제로 후보를 삽입
실시예 7
본 실시예는 실시예 1의 머지 모드에서 고려할 수 있는 머지 후보를 생성하는 방법에 관한 것으로 이미 머지 후보 리스트에 존재하는 후보의 평균 값으로부터 추가적인 후보(평균 후보)를 생성하는 방법을 제공한다. 평균 후보는 TMVP 후보의 결정/삽입 이후 결합된 후보의 결정/탐색 이전에 고려될 수 있다.
평균 후보는 후보 리스트에 존재하는 후보가 동일한 참조 인덱스 또는 참조 프레임을 가지는 경우 고려될 수 있다. 현재 후보 리스트에서 제1 후보의 참조 인덱스를 타겟 참조 인덱스라 하면, 타겟 참조 인덱스와 동일한 참조 인덱스를 갖는 후보가 존재하는 경우 해당 두 후보의 MV의 평균 값을 MV로 가지면서 두 후보의 참조 인덱스를 동일하게 참조 인덱스로 하는 머지 후보를 생성하고 이를 평균 후보라 정의할 수 있다.
본 실시예에서, 인코더/디코더는 머지 후보 리스트에 존재하는 머지 후보들 중 동일한 참조 인덱스(또는 참조 프레임)을 갖는 머지 후보들을 사용하여 평균 후보를 구성할 수 있다.
구체적으로, 현재 후보 리스트 내 첫번째 후보의 참조 인덱스를 타겟 참조 인덱스라 할때, 평균 후보의 MV는 타겟 참조 인덱스와 동일한 참조 인덱스를 갖는 후보 및 첫번째 후보의 MV의 평균 값으로 결정(또는 유도, 계산)될 수 있다. 그리고, 평균 후보의 참조 인덱스는 첫번째 후보의 참조 인덱스로 결정될 수 있다.
다시 말해, 인코더/디코더는 후보 리스트 내 첫번째 후보 및 첫번째 후보와 동일한 참조 인덱스를 갖는 후보의 MV의 평균 값인 MV를 갖고, 두 후보의 참조 인덱스와 동일한 참조 인덱스를 갖는 평균 후보를 생성할 수 있다.
일 실시예로서, TMVP 삽입(또는 추가) 이후, 머지 후보 리스트에 존재하는 후보가 최대 4개인 경우를 가정하면, 최대 3개의 평균 후보가 고려될 수 있다. 구체적으로 후보 리스트에 존재하는 후보들 중 첫번째 후보와 q번째(q-th) 후보를 사용하는 평균 후보를 1q-후보(1q-candidate)라 표현한다면, 아래의 수학식 1과 같은 후보들이 평균 후보로서 고려될 수 있다. 예를 들어, 인코더/디코더는 수학식 1의 순서로 유효한(또는 이용 가능한) 후보를 평균 후보로서 머지 후보 리스트에 삽입(또는 추가)할 수 있다. 이때, 후보가 유효한지 여부는 두 후보의 참조 인덱스가 동일한지 여부에 따라 결정될 수 있다. 다만, 본 명세서의 실시예는 수학식 1의 순서에 제한되는 것이 아니며, 평균 후보 생성에 사용되는 머지 후보 리스트 내 2개의 머지 후보는 다양한 순서로 고려(또는 선택)될 수 있다.
Figure PCTKR2019012273-appb-img-000004
도 23은 본 명세서의 실시예에 따른 머지 후보 리스트를 구성하기 위한 방법의 또 다른 예를 도시한다.
보다 구체적으로, 도 23과 같이 머지 후보 리스트 구성에서 평균 후보가 결정될 수 있다.
1) 공간적 후보 {A1, B1, A0, B0 }를 머지 후보 리스트에 삽입 (S2305)
2) ATMVP를 삽입 (S2310)
3) 공간적 후보 {B2}를 삽입 (S2315)
4) TMVP 후보 {T}를 삽입 (S2320)
5) 평균 후보 {12-candidate, 13-candidate, 14-candidate, 23-candidate, 24-candidate, 34-candidate}를 삽입 (S2325)
6) 결합된 후보를 삽입 (S2330)
7) 제로 후보를 삽입 (S2335)
도 23에서, 인코더/디코더는 TMVP 후보 삽입 단계(S2310) 이후, 머지 후보 리스트에 존재하는 머지 후보들 중에서 동일한 참조 인덱스를 갖는 머지 후보들을 사용하여 평균 후보를 생성하고 머지 후보 리스트에 삽입할 수 있다.
일 실시예로서, 도 23의 평균 후보 삽입 단계(S2325)는 머지 후보 리스트에 존재하는 머지 후보들 중에서 동일한 참조 인덱스를 갖는 머지 후보들을 확인하는 단계를 포함할 수 있다. 또한, 도 23의 평균 후보 삽입 단계(S2325)는 미리 정해진 순서로(예를 들어, 수학식 1의 순서로) 2개의 머지 후보간 참조 인덱스가 동일하지 여부를 확인하는 단계를 포함할 수 있다.
실시예 8
본 실시예는 실시예 2의 머지 모드에서 추가적으로 고려할 수 있는 머지 후보를 생성하는 방법에 관한 것으로 구체적으로 이미 머지 후보 리스트에 존재하는 후보의 평균 후보를 생성하는 방법을 제공한다. 평균 후보는 TMVP 후보의 결정/삽입 이후 그리고 결합된 후보의 결정/삽입 이전에 고려될 수 있다.
평균 후보는 후보 리스트에 존재하는 후보가 동일한 참조 인덱스 또는 참조 프레임을 가지는 경우 고려될 수 있으며 구체적으로 현재 후보 리스트에서 첫번째 후보의 참조 인덱스와 동일한 참조 인덱스를 가지는 후보가 존재하는 경우 해당 두 후보의 MV의 평균 값을 MV로 갖고 두 후보의 참조 인덱스를 참조 인덱스로 하는 머지 후보를 생성하고 이를 평균 후보로 정의할 수 있다.
본 실시예에서, 인코더/디코더는 머지 후보 리스트에 존재하는 머지 후보들 중에서 동일한 참조 인덱스(또는 참조 프레임)을 갖는 머지 후보들을 사용하여 평균 후보를 생성할 수 있다.
구체적으로, 현재 후보 리스트 내 첫번째 후보의 참조 인덱스를 타겟 참조 인덱스라 할 때, 평균 후보의 MV는 타겟 참조 인덱스와 동일한 참조 인덱스를 갖는 후보 및 첫번째 후보의 MV의 평균 값으로 결정(또는 유도, 계산)될 수 있다. 그리고, 평균 후보의 참조 인덱스는 첫번째 후보의 참조 인덱스로 결정될 수 있다.
다시 말해, 인코더/디코더는 후보 리스트 내 첫번째 후보 및 첫번째 후보와 동일한 참조 인덱스를 갖는 후보의 MV의 평균 값이 MV를 갖고, 두 후보의 참조 인덱스와 동일한 참조 인덱스를 갖는 평균 후보를 생성할 수 있다.
실시예로서, TMVP 삽입(또는 추가) 이후, 머지 후보 리스트에 존재하는 후보가 최대 4개인 경우를 가정하면, 최대 3개의 평균 후보가 고려될 수 있다. 구체적으로 후보 리스트에 존재하는 후보들 중에서 첫번째 후보와 q번째 후보를 사용하는 평균 후보를 1q-후보라 표현한다면, 아래의 수학식 2와 같은 후보들이 평균 후보로서 고려될 수 있다. 예를 들어, 인코더/디코더는 수학식 2의 순서로 유효한(또는 이용가능한 후보를 평균 후보로서 머지 후보 리스트에 삽입(또는 추가)할 수 있다. 이때, 후보가 유효한지 여부는 두 후보의 참조 인덱스가 동일한지 여부에 따라 결정될 수 있다.
다만, 본 명세서의 실시예들이 수학식 2의 순서에 제한되는 것은 아니며, 평균 후보 생성에 사용되는 머지 후보 리스트 내 2개의 머지 후보는 다양한 순서로 고려(또는 선택)될 수 있다.
Figure PCTKR2019012273-appb-img-000005
구체적으로, 아래와 같이 머지 후보 구성에서 평균 후보가 결정될 수 있다.
1) 공간적 후보들 {A1, B1, A0, B0}을 머지 후보 리스트에 삽입 (S2305)
2) ATMVP 후보를 삽입 (S2310)
3) 공간적 후보 {B2}를 삽입 (S2315)
4) TMVP 후보 {T}를 삽입 (S2320)
5) 평균 후보 {12-candidate, 13-candidate, 14-candidate}를 삽입 (S2325)
6) 결합된 후보를 삽입 (S2330)
7) 제로 후보를 삽입 (S2335)
실시예 9
상술한 본 발명의 실시예들(실시예 2 내지 실시예 8)를 기반으로 인코딩 장치(100)에 의하여 도출된 인코딩된 정보(예: 인코딩된 비디오/영상 정보)는 비트스트림(bitstream) 형태로 출력될 수 있다. 인코딩된 정보는 비트스트림 형태로 NAL(network abstraction layer) 유닛 단위로 전송 또는 저장될 수 있다. 비트스트림은 네트워크를 통하여 전송될 수 있고, 또는 비-일시적(non-transitory) 디지털 저장매체에 저장될 수 있다. 또한, 상술한 바와 같이 비트스트림은 인코딩 장치(100)에서 디코딩 장치(200)로 바로 전송되지 않고, 외부 서버(예: 컨텐츠 스트리밍 서버) 등을 통하여 스트리밍/다운로드 서비스될 수도 있다. 여기서 네트워크는 방송망 및/또는 통신망 등을 포함할 수 있고, 디지털 저장매체는 USB, SD, CD, DVD, 블루레이, HDD, SSD 등 다양한 저장매체를 포함할 수 있다.
도 24는 본 명세서의 실시예에 따른 예측을 수행하는 흐름도의 예를 도시한다. 도 24의 각 과정들은 인코딩 장치(100)의 인터 예측부(180) 또는 디코딩 장치(200)의 인터 예측부(260)에 의해 수행될 수 있다.
S2410 단계에서, 코딩 장치는 현현재 블록의 공간적 머지 후보 또는 시간적 머지 후보로부터 도출되는 복수의 움직임 벡터들을 포함하는 머지 후보 리스트를 생성한다. 예를 들어, 머지 후보 리스트는 공간적 머지 후보에 대한 움직임 벡터 탐색 이후 시간적 머지 후보에 대한 움직임 벡터에 대한 탐색에 의해 수행될 수 있다. 또한, 공간적 후보에 대한 움직임 벡터 탐색은, 도 19를 기준으로, 현재 블록의 좌측 블록(A0), 상측 블록(B1), 우상측 블록(B0), 좌하측 블록(A0), 좌상측 블록(B2)의 순서로 수행될 수 있다.
S2420 단계에서, 코딩 장치는 머지 후보 리스트의 머지 후보 개수가 최대 머지 후보 개수보다 작은 경우, 상기 움직임 벡터들의 평균 값으로 결정되는 추가적인 움직임 벡터를 상기 머지 후보 리스트에 추가한다.
일 실시예에서, 코딩 장치는 머지 후보 리스트에서 제1 인덱스(0번 인덱스)에 대응하는 제1 움직임 벡터와 제2 인덱스(1번 인덱스)에 대응하는 제2 움직임 벡터의 평균 값을 상기 추가적인 움직임 벡터로서 추가하는 단계를 포함하는 것을 특징으로 하는 방법.
일 실시예에서, 추가적인 움직임 벡터가 추가된 머지 후보 리스트의 머지 후보 개수가 최대 머지 후보 개수보다 작은 경우, 코딩 장치는 제로 움직임 벡터를 머지 후보 리스트에 추가할 수 있다.
일 실시예에서, 움직임 벡터들이 동일한 참조 픽처를 참조하는 경우 추가적인 움직임 벡터가 기존의 움직임 벡터들의 평균 값으로 결정될 수 있다. 또한, 추가적인 움직임 벡터는 기존의 움직임 벡터들에 의해 동일하게 참조되는 참조 픽처를 참조하도록 설정될 수 있다.
S2430 단계에서, 코딩 장치는 머지 후보 리스트에서 머지 인덱스에 의해 지시되는 움직임 벡터를 사용하여 상기 현재 블록의 예측 샘플을 생성한다.
도 25는 본 명세서의 실시예에 따른 영상 신호를 처리하기 위한 장치의 블록도의 예를 도시한다. 도 25의 영상 신호 처리 장치는 도 2의 인코딩 장치(100) 또는 도 3의 디코딩 장치(200)에 해당할 수 있다.
영상 신호를 처리하는 영상 처리 장치(2500)는, 영상 신호를 저장하는 메모리(2520)와, 상기 메모리와 결합되면서 영상 신호를 처리하는 프로세서(2510)를 포함한다.
본 발명의 실시예에 따른 프로세서(2510)는 영상 신호의 처리를 위한 적어도 하나의 프로세싱 회로로 구성될 수 있으며, 영상 신호를 인코딩 또는 디코딩을 위한 명령어들을 실행함으로써 영상 신호를 처리할 수 있다. 즉, 프로세서(2510)는 상술한 인코딩 또는 디코딩 방법들을 실행함으로써 원본 영상 데이터를 인코딩하거나 인코딩된 영상 신호를 디코딩할 수 있다.
본 명세서에서 설명한 실시예들은 프로세서, 마이크로 프로세서, 컨트롤러 또는 칩 상에서 구현되어 수행될 수 있다. 예를 들어, 각 도면에서 도시한 기능 유닛들은 컴퓨터, 프로세서, 마이크로 프로세서, 컨트롤러 또는 칩 상에서 구현되어 수행될 수 있다.
본 명세서가 적용되는 처리 방법은 컴퓨터로 실행되는 프로그램의 형태로 생산될 수 있으며, 컴퓨터가 판독할 수 있는 기록 매체에 저장될 수 있다. 본 명세서에 따른 데이터 구조를 가지는 멀티미디어 데이터도 또한 컴퓨터가 판독할 수 있는 기록 매체에 저장될 수 있다. 상기 컴퓨터가 판독할 수 있는 기록 매체는 컴퓨터로 읽을 수 있는 데이터가 저장되는 모든 종류의 저장 장치 및 분산 저장 장치를 포함한다. 상기 컴퓨터가 판독할 수 있는 기록 매체는, 예를 들어, 블루레이 디스크(BD), 범용 직렬 버스(USB), ROM, PROM, EPROM, EEPROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크 및 광학적 데이터 저장 장치를 포함할 수 있다. 또한, 상기 컴퓨터가 판독할 수 있는 기록 매체는 반송파(예를 들어, 인터넷을 통한 전송)의 형태로 구현된 미디어를 포함한다. 또한, 인코딩 방법으로 생성된 비트스트림이 컴퓨터가 판독할 수 있는 기록 매체에 저장되거나 유무선 통신 네트워크를 통해 전송될 수 있다.
또한, 본 명세서의 실시예는 프로그램 코드에 의한 컴퓨터 프로그램 제품으로 구현될 수 있고, 상기 프로그램 코드는 본 명세서의 실시예에 의해 컴퓨터에서 수행될 수 있다. 상기 프로그램 코드는 컴퓨터에 의해 판독가능한 캐리어 상에 저장될 수 있다.
본 명세서가 적용되는 디코딩 장치 및 인코딩 장치는 디지털 기기(digital device)에 포함될 수 있다. "디지털 기기(digital device)"라 함은 예를 들어, 데이터, 컨텐트, 서비스 등을 송신, 수신, 처리 및 출력 중 적어도 하나를 수행 가능한 모든 디지털 기기를 포함한다. 여기서, 디지털 기기가 데이터, 컨텐트, 서비스 등을 처리하는 것은, 데이터, 컨텐트, 서비스 등을 인코딩 및/또는 디코딩하는 동작을 포함한다. 이러한 디지털 기기는, 유/무선 네트워크(wire/wireless network)를 통하여 다른 디지털 기기, 외부 서버(external server) 등과 페어링 또는 연결(pairing or connecting)(이하 '페어링')되어 데이터를 송수신하며, 필요에 따라 변환(converting)한다.
디지털 기기는 예를 들어, 네트워크 TV(network TV), HBBTV(Hybrid Broadcast Broadband TV), 스마트 TV(Smart TV), IPTV(internet protocol television), PC(Personal Computer) 등과 같은 고정형 기기(standing device)와, PDA(Personal Digital Assistant), 스마트 폰(Smart Phone), 태블릿 PC(Tablet PC), 노트북 등과 같은 모바일 기기(mobile device or handheld device)를 모두 포함한다. 본 명세서에서는 편의상 후술하는 Figure 2.3-4에서는 디지털 TV를, Figure 2.3-3에서는 모바일 기기를 디지털 기기의 실시예로 도시하고 설명한다.
한편, 본 명세서에서 기술되는 "유/무선 네트워크"라 함은, 디지털 기기들 또는 디지털 기기와 외부 서버 사이에서 상호 연결 또는/및 데이터 송수신을 위해 다양한 통신 규격 내지 프로토콜을 지원하는 통신 네트워크를 통칭한다. 이러한 유/무선 네트워크는 규격에 의해 현재 또는 향후 지원될 통신 네트워크와 그를 위한 통신 프로토콜을 모두 포함할 수 있는바 예컨대, USB(Universal Serial Bus), CVBS(Composite Video Banking Sync), 컴포넌트, S-비디오(아날로그), DVI(Digital Visual Interface), HDMI(High Definition Multimedia Interface), RGB, D-SUB와 같은 유선 연결을 위한 통신 규격 내지 프로토콜과, 블루투스(Bluetooth), RFID(Radio Frequency Identification), 적외선 통신(IrDA, infrared Data Association), UWB(Ultra Wideband), 지그비(ZigBee), DLNA(Digital Living Network Alliance), WLAN(Wireless LAN)(Wi-Fi), Wibro(Wireless broadband), Wimax(World Interoperability for Microwave Access), HSDPA(High Speed Downlink Packet Access), LTE(Long Term Evolution), Wi-Fi 다이렉트(Direct)와 같은 무선 연결을 위한 통신 규격에 의하여 형성될 수 있다.
이하 본 명세서에서 단지 디지털 기기로 명명하는 경우에는 문맥에 따라 고정형 기기 또는 모바일 기기를 의미하거나 양자를 모두 포함하는 의미일 수도 있다.
한편, 디지털 기기는 예컨대, 방송 수신 기능, 컴퓨터 기능 내지 지원, 적어도 하나의 외부 입력(external input)을 지원하는 지능형 기기로서, 상술한 유/무선 네트워크를 통해 이메일(e-mail), 웹 브라우징(web browsing), 뱅킹(banking), 게임(game), 애플리케이션(application) 등을 지원할 수 있다. 더불어, 상기 디지털 기기는, 수기 방식의 입력 장치, 터치 스크린(touch screen), 공간 리모콘 등 적어도 하나의 입력 또는 제어 수단(이하 입력수단)을 지원하기 위한 인터페이스(interface)를 구비할 수 있다. 디지털 기기는, 표준화된 범용 OS(operating system)를 이용할 수 있다. 예를 들어, 디지털 기기는 범용의 OS 커널(kernel) 상에 다양한 애플리케이션(application)을 추가(adding), 삭제(deleting), 수정(amending), 업데이트(updating) 등을 할 수 있으며, 그를 통해 더욱 사용자 친화적인(user-friendly) 환경을 구성하여 제공할 수 있다.
한편, 본 명세서에서 기술되는 외부 입력은, 외부 입력 기기 즉, 상술한 디지털 기기와 유/무선으로 연결되어 그를 통해 관련 데이터를 송/수신하여 처리 가능한 모든 입력 수단 내지 디지털 기기를 포함한다. 여기서, 상기 외부 입력은 예를 들어, HDMI(High Definition Multimedia Interface), 플레이 스테이션(play station)이나 엑스 박스(X-Box)와 같은 게임 기기, 스마트 폰, 태블릿 PC, 프린터기, 스마트 TV와 같은 디지털 기기들을 모두 포함한다.
또한, 본 명세서에서 기술되는 "서버(server)"라 함은, 클라이언트(client) 즉, 상술한 디지털 기기로 데이터를 공급하는 모든 디지털 기기 내지 시스템을 포함하는 의미로, 프로세서(processor)로 불리기도 한다. 이러한 서버로는 예컨대, 웹 페이지 내지 웹 컨텐트를 제공하는 포털 서버(portal server), 광고 데이터(advertising data)를 제공하는 광고 서버(advertising server), 컨텐트를 제공하는 컨텐트 서버(content server), SNS(Social Network Service) 서비스를 제공하는 SNS 서버(SNS server), 제조업체에서 제공하는 서비스 서버(service server or manufacturing server) 등이 포함될 수 있다.
그 밖에, 본 명세서 기술되는 "채널(channel)"이라 함은, 데이터를 송수신하기 위한 경로(path), 수단(means) 등을 의미하는 것으로, 방송 채널(broadcasting channel)을 예로 들 수 있다. 여기서, 방송 채널은 디지털 방송의 활성화에 따라 피지컬 채널(physical channel), 가상 채널(virtual channel), 논리 채널(logical channel)등의 용어로 표현된다. 방송 채널은 방송망이라 불릴 수 있다. 이와 같이, 방송 채널은 방송국에서 제공하는 방송 컨텐트를 제공 또는 수신기에서 접근하기 위한 채널을 말하는 것으로, 상기 방송 컨텐트는 주로 실시간 방송(real-time broadcasting)에 기초하는바 라이브 채널(live channel)이라고도 한다. 다만, 최근에는 방송을 위한 매체(medium)가 더욱 다양화되어 실시간 방송 이외에 비실시간(non-real time) 방송도 활성화되고 있어 라이브 채널은 단지 실시간 방송뿐만 아니라 경우에 따라서는 비실시간 방송을 포함한 방송 채널 전체를 의미하는 용어로 이해될 수도 있다.
본 명세에서는 상술한 방송 채널 이외에 채널과 관련하여 "임의 채널(arbitrary channel)"를 더 정의한다. 상기 임의 채널은, 방송 채널과 함께 EPG(electronic program guide)와 같은 서비스 가이드(service guide)와 함께 제공될 수도 있고, 임의 채널만으로 서비스 가이드, GUI(graphic user interface) 또는 OSD 화면(on-screen display screen)를 구성/제공될 수도 있다.
한편, 송수신기 사이에 미리 약속된 채널 넘버를 가지는 방송 채널과 달리, 임의 채널은 수신기에서 임의로 할당하는 채널로서 상기 방송 채널을 표현하기 위한 채널 넘버와는 기본적으로 중복되지 않는 채널 넘버가 할당된다. 예컨대, 수신기는 특정 방송 채널을 튜닝하면, 튜닝된 채널을 통하여 방송 컨텐트와 그를 위한 시그널링 정보(signaling information)를 전송하는 방송 신호를 수신한다. 여기서, 수신기는 상기 시그널링 정보로부터 채널 정보를 파싱(parsing)하고, 파싱된 채널 정보에 기초하여 채널 브라우저(channel browser), EPG 등을 구성하여 사용자에게 제공한다. 사용자는 입력 수단을 통해 채널 전환 요청을 하면, 수신기는 그에 대응하는 방식이다.
이와 같이, 방송 채널은 송수신단 사이에 미리 약속된 내용이므로, 임의 채널을 방송 채널과 중복 할당하는 경우에는 사용자의 혼동을 초래하거나 혼동 가능성이 존재하므로, 전술한 바와 같이 중복 할당하지 않는 것이 바람직하다. 한편, 상기와 같이 임의 채널 넘버를 방송 채널 넘버와 중복 할당하지 않더라도 사용자의 채널 서핑 과정에서 여전히 혼동 우려가 있는바, 이를 고려하여 임의 채널 넘버를 할당하는 것이 요구된다. 왜냐하면, 본 명세서에 따른 임의 채널 역시, 종래 방송 채널과 동일하게 입력 수단을 통한 사용자의 채널 전환 요청에 따라 동일한 방식으로 대응하여 방송 채널처럼 접근되도록 구현할 수 있기 때문이다. 따라서, 임의 채널 넘버는, 사용자의 임의 채널 접근 편의와 방송 채널 넘버와의 구분 내지 식별 편의를 위하여, 방송 채널과 같이 숫자 형태가 아닌 임의 채널-1, 임의 채널-2 등과 같이 문자가 병기된 형태로 정의하고 표시할 수 있다. 한편, 이 경우, 비록 임의 채널 넘버의 표시는 임의 채널-1과 같이 문자가 병기된 형태이나 수신기 내부적으로는 상기 방송 채널의 넘버와 같이 숫자 형태로 인식하고 구현될 수 있다. 그 밖에, 임의 채널 넘버는, 방송 채널과 같이 숫자 형태로 제공될 수도 있으며, 동영상 채널-1, 타이틀-1, 비디오-1 등과 같이 방송 채널과 구분 가능한 다양한 방식으로 채널 넘버를 정의하고 표시할 수도 있다.
디지털 기기는, 웹 서비스(web service)를 위해 웹 브라우저(web browser)를 실행하여 다양한 형태의 웹 페이지(web page)를 사용자에게 제공한다. 여기서, 상기 웹 페이지에는 동영상(video content)이 포함된 웹 페이지도 포함되는데, 본 명세서에서는 동영상을 웹 페이지로부터 별도로 또는 독립적으로 분리하여 처리한다. 그리고 상기 분리되는 동영상은, 전술한 임의 채널 넘버를 할당하고, 서비스 가이드 등을 통해 제공하고, 사용자가 서비스 가이드나 방송 채널 시청 과정에서 채널 전환 요청에 따라 출력되도록 구현할 수 있다. 그 밖에, 웹 서비스 이외에도 방송 컨텐트, 게임, 애플리케이션 등의 서비스에 대해서도, 소정 컨텐트, 이미지, 오디오, 항목 등을 상기 방송 컨텐트, 게임, 애플리케이션 자체로부터 독립적으로 분리 처리하고, 그 재생, 처리 등을 위해 임의 채널 넘버를 할당하고 상술한 바와 같이, 구현할 수 있다.
도 26은 디지털 기기를 포함한 서비스 시스템(service system)의 일 예를 개략적으로 나타낸 도면이다.
디지털 기기를 포함한 서비스 시스템은, 컨텐트 제공자(content provider, CP)(2610), 서비스 제공자(service provider, SP)(2620), 네트워크 제공자(network provider, NP)(2630) 및 HNED(home network end user)(customer)(2640)를 포함한다. 여기서, HNED(2640)는 예를 들어, 클라이언트(2600) 즉, 디지털 기기이다. 컨텐트 제공자(2610)는, 각종 컨텐트를 제작하여 제공한다. 이러한 컨텐트 제공자(2610)로 도 26에 도시된 바와 같이, 지상파 방송 송출자(terrestrial broadcaster), 케이블 방송 사업자(cable SO (System Operator)) 또는 MSO (Multiple SO), 위성 방송 송출자(satellite broadcaster), 다양한 인터넷 방송 송출자(Internet broadcaster), 개인 컨텐트 제공자들(Private CPs) 등을 예시할 수 있다. 한편, 컨텐트 제공자(2610)는, 방송 컨텐트 외에도 다양한 애플리케이션 등을 제공한다.
서비스 제공자(2620)는, 컨텐트 제공자(2610)가 제공하는 컨텐트를 서비스 패키지화하여 HNED(2640)로 제공한다. 예를 들어, 도 26의 서비스 제공자(2620)는, 제1 지상파 방송, 제2 지상파 방송, 케이블 MSO, 위성 방송, 다양한 인터넷 방송, 애플리케이션 등을 패키지화하여 HNED(2640)에게 제공한다.
서비스 제공자(2620)는, 유니-캐스트(uni-cast) 또는 멀티-캐스트(multi-cast) 방식으로 클라이언트(2600)에 서비스를 제공한다. 한편, 서비스 제공자(2620)는 데이터를 미리 등록된 다수의 클라이언트(2600)로 한꺼번에 전송할 수 있는데, 이를 위해 IGMP(internet group management protocol)을 이용할 수 있다.
상술한 컨텐트 제공자(2610)와 서비스 제공자(2620)는, 동일한 개체(same or single entity)일 수 있다. 예를 들어, 컨텐트 제공자(2610)가 제작한 컨텐트를 서비스 패키지화하여 HNED(2640)로 제공함으로써 서비스 제공자(2620)의 기능도 함께 수행하거나 그 반대일 수도 있다.
네트워크 제공자(2630)는, 컨텐트 제공자(2610) 또는/및 서비스 제공자(2620)와 클라이언트(2600) 사이의 데이터 교환을 위한 네트워크 망을 제공한다.
클라이언트(2600)는, 홈 네트워크를 구축하여 데이터를 송수신할 수 있다.
한편, 서비스 시스템 내 컨텐트 제공자(2610) 또는/및 서비스 제공자(2620)는 전송되는 컨텐트의 보호를 위해 제한 수신(conditional access) 또는 컨텐트 보호(content protection) 수단을 이용할 수 있다. 이 경우, 클라이언트(2600)는 상기 제한 수신이나 컨텐트 보호에 대응하여 케이블카드(CableCARD)(point of deployment, POD), DCAS(downloadable CAS) 등과 같은 처리 수단을 이용할 수 있다.
그 밖에, 클라이언트(2600)도 네트워크 망(또는 통신 망)을 통해, 양방향 서비스를 이용할 수 있다. 이러한 경우, 오히려 클라이언트(2600)가 컨텐트 제공자의 기능을 수행할 수도 있으며, 기존 서비스 제공자(2620)는 이를 수신하여 다시 다른 클라이언트로 전송할 수도 있다.
도 27은 디지털 기기의 일 실시예를 설명하기 위해 도시한 구성 블록도이다. 여기서, 도 27은, 예를 들어, 도 26의 클라이언트(2600)에 해당할 수 있으며, 전술한 디지털 기기를 의미한다.
디지털 기기(2700)는, 네트워크 인터페이스부(network interface)(2701), TCP/IP 매니저(TCP/IP manager)(2702), 서비스 전달 매니저(service delivery manager)(2703), SI 디코더(2704), 역다중화부(demux)(2705), 오디오 디코더(audio decoder)(2706), 비디오 디코더(video decoder)(2707), 디스플레이부(display A/V and OSD module)(2708), 서비스 제어 매니저(service control manager)(2709), 서비스 디스커버리 매니저(service discovery manager)(2610), SI & 메타데이터 데이터베이스(SI&Metadata DB)(2711), 메타데이터 매니저(metadata manager)(2712), 서비스 매니저(2613), UI 매니저(2714) 등을 포함하여 구성된다.
네트워크 인터페이스부(2701)는, 네트워크 망을 통하여 IP 패킷들(internet protocol (IP) packets)을 수신하거나 전송한다. 즉, 네트워크 인터페이스부(2701)는 네트워크 망을 통해 서비스 제공자(2620)로부터 서비스, 컨텐트 등을 수신한다.
TCP/IP 매니저(2702)는, 디지털 기기(2700)로 수신되는 IP 패킷들과 디지털 기기(2700)가 전송하는 IP 패킷들에 대하여 즉, 소스(source)와 목적지(destination) 사이의 패킷 전달에 관여한다. 그리고 TCP/IP 매니저(2702)는 수신된 패킷(들)을 적절한 프로토콜에 대응되도록 분류하고, 서비스 전달 매니저(2705), 서비스 디스커버리 매니저(2710), 서비스 제어 매니저(2709), 메타데이터 매니저(2712) 등으로 분류된 패킷(들)을 출력한다. 서비스 전달 매니저(2703)는, 수신되는 서비스 데이터의 제어를 담당한다. 예를 들어, 서비스 전달 매니저(2703)는 실시간 스트리밍(real-time streaming) 데이터를 제어하는 경우에는 RTP/RTCP를 사용할 수 있다. 실시간 스트리밍 데이터를 RTP를 사용하여 전송하는 경우, 서비스 전달 매니저(2703)는 상기 수신된 데이터 패킷을 RTP에 따라 파싱(parsing)하여 역다중화부(2705)에 전송하거나 서비스 매니저(2613)의 제어에 따라 SI & 메타데이터 데이터베이스(2711)에 저장한다. 그리고 서비스 전달 매니저(2703)는 RTCP를 이용하여 상기 네트워크 수신 정보를 서비스를 제공하는 서버 측에 피드백(feedback) 한다. 역다중화부(2705)는, 수신된 패킷을 오디오, 비디오, SI(system information) 데이터 등으로 역다중화하여 각각 오디오/비디오 디코더(2706/2707), SI 디코더(2704)에 전송한다.
SI 디코더(2704)는 예를 들어, PSI(program specific information), PSIP(program and system information protocol), DVB-SI(digital video broadcasting-service information) 등의 서비스 정보를 디코딩한다.
또한, SI 디코더(2704)는, 디코딩된 서비스 정보들을 예를 들어, SI & 메타데이터 데이터베이스(2711)에 저장한다. 이렇게 저장된 서비스 정보는 예를 들어, 사용자의 요청 등에 의해 해당 구성에 의해 독출되어 이용될 수 있다.
오디오/비디오 디코더(2706/2707)는, 역다중화부(2705)에서 역다중화된 각 오디오 데이터와 비디오 데이터를 디코딩한다. 이렇게 디코딩된 오디오 데이터 및 비디오 데이터는 디스플레이부(2708)를 통하여 사용자에게 제공된다.
애플리케이션 매니저는 예를 들어, UI 매니저(2714)와 서비스 매니저(2713)를 포함하여 구성될 수 있다. 애플리케이션 매니저는, 디지털 기기(2700)의 전반적인 상태를 관리하고 사용자 인터페이스를 제공하며, 다른 매니저를 관리할 수 있다.
UI 매니저(2714)는, 사용자를 위한 GUI(graphic user interface)를 OSD(on screen display) 등을 이용하여 제공하며, 사용자로부터 키 입력을 받아 상기 입력에 따른 기기 동작을 수행한다. 예를 들어, UI 매니저(2714)는 사용자로부터 채널 선택에 관한 키 입력을 받으면 상기 키 입력 신호를 서비스 매니저(2713)에 전송한다.
서비스 매니저(2713)는, 서비스 전달 매니저(2703), 서비스 디스커버리 매니저(2710), 서비스 제어 매니저(2709), 메타데이터 매니저(2712) 등 서비스와 연관된 매니저를 제어한다.
또한, 서비스 매니저(2713)는, 채널 맵(channel map)을 만들고 사용자 인터페이스 매니저(2714)로부터 수신한 키 입력에 따라 상기 채널 맵을 이용하여 채널을 선택하다. 그리고 서비스 매니저(2713)는 SI 디코더(2704)로부터 채널의 서비스 정보를 전송받아 선택된 채널의 오디오/비디오 PID(packet identifier)를 역다중화부(2705)에 설정한다. 이렇게 설정되는 PID는 상술한 역다중화 과정에 이용된다. 따라서, 역다중화부(2705)는 PID를 이용하여 오디오 데이터, 비디오 데이터 및 SI 데이터를 필터링(filtering) 한다.
서비스 디스커버리 매니저(2710)는, 서비스를 제공하는 서비스 제공자를 선택하는데 필요한 정보를 제공한다. 서비스 매니저(2713)로부터 채널 선택에 관한 신호를 수신하면, 서비스 디스커버리 매니저(2710)는 상기 정보를 이용하여 서비스를 찾는다.
서비스 제어 매니저(2709)는, 서비스의 선택과 제어를 담당한다. 예를 들어, 서비스 제어 매니저(2709)는 사용자가 기존의 방송 방식과 같은 생방송(live broadcasting) 서비스를 선택하는 경우 IGMP 또는 RTSP 등을 사용하고, VOD(video on demand)와 같은 서비스를 선택하는 경우에는 RTSP를 사용하여 서비스의 선택, 제어를 수행한다. 상기 RTSP 프로토콜은 실시간 스트리밍에 대해 트릭 모드(trick mode)를 제공할 수 있다. 또한, 서비스 제어 매니저(2709)는 IMS(IP multimedia subsystem), SIP(session initiation protocol)를 이용하여 IMS 게이트웨이(2750)를 통하는 세션을 초기화하고 관리할 수 있다. 프로토콜들은 일 실시 예이며, 구현 예에 따라 다른 프로토콜을 사용할 수도 있다.
메타데이터 매니저(2712)는, 서비스와 연관된 메타데이터를 관리하고 상기 메타데이터를 SI & 메타데이터 데이터 베이스(2711)에 저장한다.
SI & 메타데이터 데이터베이스(2711)는, SI 디코더(2704)가 디코딩한 서비스 정보, 메타데이터 매니저(2712)가 관리하는 메타데이터 및 서비스 디스커버리 매니저(2710)가 제공하는 서비스 제공자를 선택하는데 필요한 정보를 저장한다. 또한, SI & 메타데이터 데이터베이스(2711)는 시스템에 대한 세트-업 데이터 등을 저장할 수 있다.
SI & 메타데이터 데이터베이스(2711)는, 비휘발성 메모리(non-volatile RAM, NVRAM) 또는 플래시 메모리(flash memory) 등을 사용하여 구현될 수도 있다.
한편, IMS 게이트웨이(2750)는, IMS 기반의 IPTV 서비스에 접근하기 위해 필요한 기능들을 모아 놓은 게이트웨이이다.
도 28은 디지털 기기의 다른 실시예를 설명하기 위해 도시한 구성 블록도이다. 특히, 도 28은 디지털 기기의 다른 실시예로서 모바일 기기의 구성 블록도를 예시한 것이다.
도 28을 참조하면, 모바일 기기(2800)는, 무선 통신부(2810), A/V(audio/video) 입력부(2820), 사용자 입력부(2830), 센싱부(2840), 출력부(2850), 메모리(2860), 인터페이스부(2870), 제어부(2880) 및 전원 공급부(2890) 등을 포함할 수 있다. 도 28에 도시된 구성요소들이 필수적인 것은 아니어서, 그보다 많은 구성요소들을 갖거나 그보다 적은 구성요소들을 갖는 모바일 기기가 구현될 수도 있다.
무선 통신부(2810)는, 모바일 기기(2800)와 무선 통신 시스템 사이 또는 모바일 기기와, 모바일 기기가 위치한 네트워크 사이의 무선 통신을 가능하게 하는 하나 또는 그 이상의 모듈을 포함할 수 있다. 예를 들어, 무선 통신부(2810)는 방송 수신 모듈(2811), 이동통신 모듈(2812), 무선 인터넷 모듈(2813), 근거리 통신 모듈(2814) 및 위치 정보 모듈(2815) 등을 포함할 수 있다.
방송 수신 모듈(2811)은, 방송 채널을 통하여 외부의 방송 관리 서버로부터 방송 신호 및/또는 방송 관련된 정보를 수신한다. 여기서, 방송 채널은 위성 채널, 지상파 채널을 포함할 수 있다. 방송 관리 서버는, 방송 신호 및/또는 방송 관련 정보를 생성하여 송신하는 서버 또는 기 생성된 방송 신호 및/또는 방송 관련 정보를 제공받아 단말기에 송신하는 서버를 의미할 수 있다. 방송 신호는, TV 방송 신호, 라디오 방송 신호, 데이터 방송 신호를 포함할 뿐만 아니라, TV 방송 신호 또는 라디오 방송 신호에 데이터 방송 신호가 결합한 형태의 방송 신호도 포함할 수 있다.
방송 관련 정보는, 방송 채널, 방송 프로그램 또는 방송 서비스 제공자에 관련한 정보를 의미할 수 있다. 방송 관련 정보는, 이동통신망을 통하여도 제공될 수 있다. 이러한 경우에는 이동통신 모듈(2812)에 의해 수신될 수 있다.
방송 관련 정보는 다양한 형태 예를 들어, EPG(electronic program guide) 또는 ESG(electronic service guide) 등의 형태로 존재할 수 있다.
방송 수신 모듈(2811)은 예를 들어, ATSC, DVB-T(digital video broadcasting-terrestrial), DVB-S(satellite), MediaFLO(media forward link only), DVB-H(handheld), ISDB-T(integrated services digital broadcast-terrestrial) 등 디지털 방송 시스템을 이용하여 디지털 방송 신호를 수신할 수 있다. 물론, 방송 수신 모듈(2811)은, 상술한 디지털 방송 시스템뿐만 아니라 다른 방송 시스템에 적합하도록 구성될 수도 있다.
방송 수신 모듈(2811)을 통해 수신된 방송 신호 및/또는 방송 관련 정보는, 메모리(2860)에 저장될 수 있다.
이동통신 모듈(2812)은, 이동 통신망 상에서 기지국, 외부 단말, 서버 중 적어도 하나와 무선 신호를 송수신한다. 무선 신호는, 음성 신호, 화상 통화 신호 또는 문자/멀티미디어 메시지 송수신에 따른 다양한 형태의 데이터를 포함할 수 있다.
무선 인터넷 모듈(2813)은, 무선 인터넷 접속을 위한 모듈을 포함하여, 모바일 기기(2800)에 내장되거나 외장될 수 있다. 무선 인터넷 기술로는 WLAN(wireless LAN)(Wi-Fi), Wibro(wireless broadband), Wimax(world interoperability for microwave access), HSDPA(high speed downlink packet access) 등이 이용될 수 있다.
근거리 통신 모듈(2814)은, 근거리 통신을 위한 모듈을 말한다. 근거리 통신(short range communication) 기술로 블루투스(Bluetooth), RFID(radio frequency Identification), 적외선 통신(IrDA, infrared data association), UWB(ultra wideband), ZigBee, RS-232, RS-485 등이 이용될 수 있다.
위치정보 모듈(2815)은, 모바일 기기(2800)의 위치정보 획득을 위한 모듈로서, GPS(global position system) 모듈을 예로 할 수 있다.
A/V 입력부(2820)는, 오디오 또는/및 비디오 신호 입력을 위한 것으로, 이에는 카메라(2821)와 마이크(2822) 등이 포함될 수 있다. 카메라(2821)는, 화상통화 모드 또는 촬영 모드에서 이미지 센서에 의해 얻어지는 정지영상 또는 동영상 등의 화상 프레임을 처리한다. 처리된 화상 프레임은 디스플레이부(2851)에 표시될 수 있다.
카메라(2821)에서 처리된 화상 프레임은, 메모리(2860)에 저장되거나 무선 통신부(2810)를 통하여 외부로 전송될 수 있다. 카메라(2821)는, 사용 환경에 따라 2개 이상이 구비될 수도 있다.
마이크(2822)는, 통화 모드 또는 녹음 모드, 음성인식 모드 등에서 마이크로폰(microphone)에 의해 외부의 음향 신호를 입력받아 전기적인 음성 데이터로 처리한다. 처리된 음성 데이터는, 통화 모드인 경우 이동통신 모듈(2812)을 통하여 이동통신 기지국으로 송신 가능한 형태로 변환되어 출력될 수 있다. 마이크(2822)에는 외부의 음향 신호를 입력받는 과정에서 발생하는 잡음(noise)을 제거하기 위한 다양한 잡음 제거 알고리즘이 구현될 수 있다.
사용자 입력부(2830)는, 사용자가 단말기의 동작 제어를 위한 입력 데이터를 발생시킨다. 사용자 입력부(2830)는, 키 패드(key pad), 돔 스위치(dome switch), 터치 패드(정압/정전), 조그 휠(jog wheel), 조그 스위치(jog switch) 등으로 구성될 수 있다.
센싱부(2840)는, 모바일 기기(2800)의 개폐 상태, 모바일 기기(2800)의 위치, 사용자 접촉 유무, 모바일 기기의 방위, 모바일 기기의 가속/감속 등과 같이 모바일 기기(2800)의 현재 상태를 감지하여 모바일 기기(2800)의 동작 제어를 위한 센싱 신호를 발생시킨다. 예를 들어, 모바일 기기(2800)가 이동되거나 기울어진 경우 모바일 기기의 위치 내지 기울기 등을 센싱할 수 있다. 또한, 전원 공급부(2890)의 전원 공급 여부, 인터페이스부(2870)의 외부 기기 결합 여부 등도 센싱할 수도 있다. 한편, 센싱부(2840)는, NFC(near field communication)를 포함한 근접 센서(2841)를 포함할 수 있다.
출력부(2850)는, 시각, 청각 또는 촉각 등과 관련된 출력을 발생시키기 위한 것으로, 디스플레이부(2851), 음향 출력 모듈(2852), 알람부(2853), 및 햅틱 모듈(2854) 등이 포함될 수 있다.
디스플레이부(2851)는, 모바일 기기(2800)에서 처리되는 정보를 표시(출력)한다. 예를 들어, 모바일 기기가 통화 모드인 경우 통화와 관련된 UI(user interface) 또는 GUI(graphic user interface)를 표시한다. 모바일 기기(2800)가 화상 통화 모드 또는 촬영 모드인 경우에는, 촬영 또는/및 수신된 영상 또는 UI, GUI를 표시한다.
디스플레이부(2851)는, 액정 디스플레이(liquid crystal display, LCD), 박막 트랜지스터 액정 디스플레이(thin film transistor-liquid crystal display, TFT LCD), 유기 발광 다이오드(organic light-emitting diode, OLED), 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display) 중에서 적어도 하나를 포함할 수 있다.
이들 중 일부 디스플레이는 그를 통해 외부를 볼 수 있도록 투명형 또는 광투과형으로 구성될 수 있다. 이는 투명 디스플레이라 호칭될 수 있는데, 상기 투명 디스플레이의 대표적인 예로는 TOLED(transparent OLED) 등이 있다. 디스플레이부(2851)의 후방 구조 또한 광 투과형 구조로 구성될 수 있다. 이러한 구조에 의하여, 사용자는 단말기 바디의 디스플레이부(2851)가 차지하는 영역을 통해 단말기 바디(body)의 후방에 위치한 사물을 볼 수 있다.
모바일 기기(2800)의 구현 형태에 따라 디스플레이부(2851)가 2개 이상 존재할 수 있다. 예를 들어, 모바일 기기(2800)에는 복수의 디스플레이부들이 하나의 면에 이격되거나 일체로 배치될 수 있고, 또한 서로 다른 면에 각각 배치될 수도 있다.
디스플레이부(2851)와 터치 동작을 감지하는 센서(이하 '터치 센서'라 함)가 상호 레이어 구조를 이루는 경우(이하, '터치 스크린'이라 함)에, 디스플레이부(2851)는 출력 장치 이외에 입력 장치로도 사용될 수 있다. 터치 센서는, 예를 들어, 터치 필름, 터치 시트, 터치 패드 등의 형태를 가질 수 있다.
터치 센서는 디스플레이부(2851)의 특정 부위에 가해진 압력 또는 디스플레이부(2851)의 특정 부위에 발생하는 정전 용량 등의 변화를 전기적인 입력신호로 변환하도록 구성될 수 있다. 터치 센서는 터치 되는 위치 및 면적뿐만 아니라, 터치 시의 압력까지도 검출할 수 있도록 구성될 수 있다.
터치 센서에 대한 터치 입력이 있는 경우, 그에 대응하는 신호(들)는 터치 제어기로 보내진다. 터치 제어기는 그 신호(들)를 처리한 다음 대응하는 데이터를 제어부(2880)로 전송한다. 이로써, 제어부(2880)는 디스플레이부(2851)의 어느 영역이 터치 되었는지 여부 등을 알 수 있게 된다.
터치스크린에 의해 감싸지는 모바일 기기의 내부 영역 또는 상기 터치 스크린의 근처에 근접 센서(2841)가 배치될 수 있다. 상기 근접 센서는 소정의 검출면에 접근하는 물체, 혹은 근방에 존재하는 물체의 유무를 전자계의 힘 또는 적외선을 이용하여 기계적 접촉이 없이 검출하는 센서를 말한다. 근접 센서는 접촉식 센서보다는 그 수명이 길며 그 활용도 또한 높다.
근접 센서의 예로는 투과형 광전 센서, 직접 반사형 광전 센서, 미러 반사형 광전 센서, 고주파 발진형 근접 센서, 정전용량형 근접 센서, 자기형 근접 센서, 적외선 근접 센서 등이 있다. 상기 터치스크린이 정전식인 경우에는 상기 포인터의 근접에 따른 전계의 변화로 포인터의 근접을 검출하도록 구성된다. 이 경우 터치 스크린(터치 센서)은 근접 센서로 분류될 수도 있다.
이하에서는 설명의 편의를 위해, 터치스크린 상에 포인터가 접촉되지 않으면서 근접되어 포인터가 터치스크린 상에 위치함이 인식되도록 하는 행위를 "근접 터치(proximity touch)"라고 칭하고, 상기 터치스크린 상에 포인터가 실제로 접촉되는 행위를 "접촉 터치(contact touch)"라고 칭한다. 터치스크린 상에서 포인터로 근접 터치가 되는 위치라 함은, 포인터가 근접 터치될 때 포인터가 터치스크린에 대해 수직으로 대응되는 위치를 의미한다.
근접 센서는, 근접 터치와, 근접 터치 패턴(예를 들어, 근접 터치 거리, 근접 터치 방향, 근접 터치 속도, 근접 터치 시간, 근접 터치 위치, 근접 터치 이동 상태 등)을 감지한다. 감지된 근접 터치 동작 및 근접 터치 패턴에 상응하는 정보는 터치 스크린상에 출력될 수 있다.
음향 출력 모듈(2852)은, 호 신호 수신, 통화 모드 또는 녹음 모드, 음성인식 모드, 방송수신 모드 등에서 무선 통신부(2810)로부터 수신되거나 메모리(2860)에 저장된 오디오 데이터를 출력할 수 있다. 음향 출력 모듈(2852)은 모바일 기기(2800)에서 수행되는 기능(예를 들어, 호신호 수신음, 메시지 수신음 등)과 관련된 음향 신호를 출력하기도 한다. 이러한 음향 출력 모듈(2852)에는 리시버(receiver), 스피커(speaker), 버저(buzzer) 등이 포함될 수 있다.
알람부(2853)는, 모바일 기기(2800)의 이벤트 발생을 알리기 위한 신호를 출력한다. 모바일 기기에서 발생되는 이벤트의 예로는 호 신호 수신, 메시지 수신, 키 신호 입력, 터치 입력 등이 있다. 알람부(2853)는, 비디오 신호나 오디오 신호 이외에 다른 형태, 예를 들어 진동으로 이벤트 발생을 알리기 위한 신호를 출력할 수도 있다.
비디오 신호나 오디오 신호는 디스플레이부(2851)나 음성 출력 모듈(2852)을 통해서도 출력될 수 있어서, 디스플레이부 및 음성 출력 모듈(2851,2852)은 알람부(2853)의 일부로 분류될 수도 있다.
햅틱 모듈(haptic module)(2854)은, 사용자가 느낄 수 있는 다양한 촉각 효과를 발생시킨다. 햅틱 모듈(2854)이 발생시키는 촉각 효과의 대표적인 예로는 진동이 있다. 햅택 모듈(2854)이 발생하는 진동의 세기와 패턴 등은 제어 가능하다. 예를 들어, 서로 다른 진동을 합성하여 출력하거나 순차적으로 출력할 수도 있다.
햅틱 모듈(2854)은, 진동 외에도, 접촉 피부면에 대해 수직 운동하는 핀 배열, 분사구나 흡입구를 통한 공기의 분사력이나 흡입력, 피부 표면에 대한 스침, 전극(electrode)의 접촉, 정전기력 등의 자극에 의한 효과와, 흡열이나 발열 가능한 소자를 이용한 냉온감 재현에 의한 효과 등 다양한 촉각 효과를 발생시킬 수 있다.
햅틱 모듈(2854)은, 직접적인 접촉을 통해 촉각 효과의 전달할 수 있을 뿐만 아니라, 사용자가 손가락이나 팔 등의 근 감각을 통해 촉각 효과를 느낄 수 있도록 구현할 수도 있다. 햅틱 모듈(2854)은, 모바일 기기(2800)의 구성 태양에 따라 2개 이상이 구비될 수 있다.
메모리(2860)는, 제어부(2880)의 동작을 위한 프로그램을 저장할 수 있고, 입/출력되는 데이터들(예를 들어, 폰북, 메시지, 정지영상, 동영상 등)을 임시 저장할 수도 있다. 메모리(2860)는 상기 터치스크린 상의 터치 입력시 출력되는 다양한 패턴의 진동 및 음향에 관한 데이터를 저장할 수 있다.
메모리(2860)는, 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(random access memory, RAM), SRAM(static random access memory), 롬(read-only memory, ROM), EEPROM(electrically erasable programmable read-only memory), PROM(programmable read-only memory), 자기 메모리, 자기 디스크, 광디스크 중 적어도 하나의 타입의 저장매체를 포함할 수 있다. 모바일 기기(2800)는 인터넷(internet)상에서 메모리(2860)의 저장 기능을 수행하는 웹 스토리지(web storage)와 관련되어 동작할 수도 있다.
인터페이스부(2870)는, 모바일 기기(2800)에 연결되는 모든 외부기기와의 통로 역할을 한다. 인터페이스부(2870)는 외부 기기로부터 데이터를 전송받거나, 전원을 공급받아 모바일 기기(2800) 내부의 각 구성 요소에 전달하거나, 모바일 기기(2800) 내부의 데이터가 외부 기기로 전송되도록 한다. 예를 들어, 유/무선 헤드셋 포트, 외부 충전기 포트, 유/무선 데이터 포트, 메모리 카드(memory card) 포트, 식별 모듈이 구비된 장치를 연결하는 포트, 오디오 I/O(input/output) 포트, 비디오 I/O 포트, 이어폰 포트 등이 인터페이스부(2870)에 포함될 수 있다.
식별 모듈은 모바일 기기(2800)의 사용 권한을 인증하기 위한 각종 정보를 저장한 칩으로서, 사용자 인증 모듈(user identify module, UIM), 가입자 인증 모듈(subscriber identify module, SIM), 범용 사용자 인증 모듈(universal subscriber identity module, USIM) 등을 포함할 수 있다. 식별 모듈이 구비된 장치(이하 '식별 장치')는, 스마트 카드(smart card) 형식으로 제작될 수 있다. 따라서 식별 장치는 포트를 통하여 단말기(2800)와 연결될 수 있다.
인터페이스부(2870)는, 이동단말기(2800)가 외부 크래들(cradle)과 연결될 때, 크래들로부터의 전원이 이동단말기(2800)에 공급되는 통로가 되거나, 사용자에 의해 크래들에서 입력되는 각종 명령 신호가 이동단말기로 전달되는 통로가 될 수 있다. 크래들로부터 입력되는 각종 명령 신호 또는 전원은, 이동단말기가 크래들에 정확히 장착되었음을 인지하기 위한 신호로 동작될 수도 있다.
제어부(2880)는, 통상적으로 모바일 기기의 전반적인 동작을 제어한다. 예를 들어, 음성 통화, 데이터 통신, 화상 통화 등을 위한 관련된 제어 및 처리를 수행한다. 제어부(2880)는, 멀티 미디어 재생을 위한 멀티미디어 모듈(2881)을 구비할 수도 있다. 멀티미디어 모듈(2881)은, 제어부(2880) 내에 구현될 수도 있고, 제어부(2880)와 별도로 구현될 수도 있다. 제어부(2880), 특히 멀티미디어 모듈(2881)은 전술한 인코딩 장치(100) 및/또는 디코딩 장치(200)를 포함할 수 있다.
제어부(2880)는, 터치스크린 상에서 행해지는 필기 입력 또는 그림 그리기 입력을 각각 문자 및 이미지로 인식할 수 있는 패턴 인식 처리를 행할 수 있다.
전원 공급부(2890)는, 제어부(2880)의 제어에 의해 외부의 전원, 내부의 전원을 인가받아 각 구성요소들의 동작에 필요한 전원을 공급한다.
여기에 설명되는 다양한 실시예는 예를 들어, 소프트웨어, 하드웨어 또는 이들의 조합된 것을 이용하여 컴퓨터 또는 이와 유사한 장치로 읽을 수 있는 기록매체 내에서 구현될 수 있다.
하드웨어적인 구현에 의하면, 여기에 설명되는 실시예는 ASICs(application specific integrated circuits), DSPs(digital signal processors), DSPDs(digital signal processing devices), PLDs(programmable logic devices), FPGAs(field programmable gate arrays, 프로세서, 제어기, 마이크로 컨트롤러(micro-controllers), 마이크로 프로세서(microprocessors), 기타 기능 수행을 위한 전기적인 유닛 중 적어도 하나를 이용하여 구현될수 있다. 일부의 경우에 본 명세서에서 설명되는 실시예들이 제어부(2880) 자체로 구현될 수 있다.
소프트웨어적인 구현에 의하면, 본 명세서에서 설명되는 절차 및 기능과 같은 실시예들은 별도의 소프트웨어 모듈들로 구현될 수 있다. 소프트웨어 모듈들 각각은 본 명세서에서 설명되는 하나 이상의 기능 및 작동을 수행할 수 있다. 적절한 프로그램 언어로 쓰여진 소프트웨어 애플리케이션으로 소프트웨어 코드가 구현될 수 있다. 여기서, 소프트웨어 코드는, 메모리(2860)에 저장되고, 제어부(2880)에 의해 실행될 수 있다.
도 29는 디지털 기기의 또 다른 실시 예를 설명하기 위해 도시한 구성 블록도이다.
디지털 기기(2900)의 다른 예는, 방송 수신부(2905), 외부장치 인터페이스부(2935), 저장부(2940), 사용자 입력 인터페이스부(2950), 제어부(2970), 디스플레이부(2980), 오디오 출력부(2985), 전원공급부(2990) 및 촬영부(미도시)를 포함할 수 있다. 여기서, 방송 수신부(2905)는, 적어도 하나의 튜너(2910), 복조부(2920) 및 네트워크 인터페이스부(2930)를 포함할 수 있다. 다만, 경우에 따라, 방송 수신부(2905)는 튜너(2910)와 복조부(2920)는 구비하나 네트워크 인터페이스부(2930)는 포함하지 않을 수 있으며 그 반대의 경우일 수도 있다. 또한, 방송 수신부(2905)는 도시되진 않았으나, 다중화부(multiplexer)를 구비하여 튜너(2910)를 거쳐 복조부(2920)에서 복조된 신호와 네트워크 인터페이스부(2930)를 거쳐 수신된 신호를 다중화할 수도 있다. 그 밖에 방송 수신부(2905)는 역시 도시되진 않았으나, 역다중화부(demultiplexer)를 구비하여 상기 다중화된 신호를 역다중화 하거나 상기 복조된 신호 또는 상기 네트워크 인터페이스부(2930)를 거친 신호를 역다중화할 수 있다.
튜너(2910)는, 안테나를 통해 수신되는 RF(radio frequency) 방송 신호 중 사용자에 의해 선택된 채널 또는 기저장된 모든 채널을 튜닝하여 RF 방송 신호를 수신한다. 또한, 튜너(2910)는, 수신된 RF 방송 신호를 중간 주파수(intermediate frequency, IF) 신호 혹은 베이스밴드(baseband) 신호로 변환한다.
예를 들어, 수신된 RF 방송 신호가 디지털 방송 신호이면 디지털 IF 신호(DIF)로 변환하고, 아날로그 방송 신호이면 아날로그 베이스밴드 영상 또는 음성 신호(CVBS/SIF)로 변환한다. 즉, 튜너(2910)는 디지털 방송 신호 또는 아날로그 방송 신호를 모두 처리할 수 있다. 튜너(2910)에서 출력되는 아날로그 베이스 밴드 영상 또는 음성 신호(CVBS/SIF)는 제어부(2970)로 직접 입력될 수 있다.
또한, 튜너(2910)는, ATSC(advanced television system committee) 방식에 따른 단일 캐리어의 RF 방송 신호 또는 DVB(digital video broadcasting) 방식에 따른 복수 캐리어의 RF 방송 신호를 수신할 수 있다.
한편, 튜너(2910)는, 안테나를 통해 수신되는 RF 방송 신호 중 채널 기억 기능을 통하여 저장된 모든 방송 채널의 RF 방송 신호를 순차로 튜닝 및 수신하여 이를 중간 주파수 신호 혹은 베이스 밴드 신호로 변환할 수 있다.
복조부(2920)는, 튜너(2910)에서 변환된 디지털 IF 신호(DIF)를 수신하여 복조한다. 예를 들어, 튜너(2910)에서 출력되는 디지털 IF 신호가 ATSC 방식인 경우, 복조부(2920)는 예컨대, 8-VSB(8-vestigal side band) 복조를 수행한다. 또한, 복조부(2920)는 채널 복호화를 수행할 수도 있다. 이를 위해 복조부(2920)는 트렐리스 디코더(trellis decoder), 디인터리버(de-interleaver), 및 리드 솔로먼 디코더(Reed-Solomon decoder) 등을 구비하여, 트렐리스 복호화, 디인터리빙, 및 리드 솔로먼 복호화를 수행할 수 있다.
예를 들어, 튜너(2910)에서 출력되는 디지털 IF 신호가 DVB 방식인 경우, 복조부(2920)는 예컨대, COFDMA(coded orthogonal frequency division modulation) 복조를 수행한다. 또한, 복조부(2920)는, 채널 복호화를 수행할 수도 있다. 이를 위해, 복조부(2920)는, 컨벌루션 디코더(convolution decoder), 디인터리버, 및 리드-솔로먼 디코더 등을 구비하여, 컨벌루션 복호화, 디인터리빙, 및 리드 솔로먼 복호화를 수행할 수 있다.
복조부(2920)는, 복조 및 채널 복호화를 수행한 후 스트림 신호(TS)를 출력할 수 있다. 이때, 스트림 신호는 영상 신호, 음성 신호 또는 데이터 신호가 다중화된 신호일 수 있다. 일 예로, 스트림 신호는 MPEG-2 규격의 영상 신호, 돌비(Dolby) AC-3 규격의 음성 신호 등이 다중화된 MPEG-2 TS(transport stream)일 수 있다. 구체적으로 MPEG-2 TS는, 4 바이트(byte)의 헤더(header)와 184 바이트의 페이로드(payload)를 포함할 수 있다.
한편, 상술한 복조부(2920)는, ATSC 방식과, DVB 방식에 따라 각각 별개로 구비되는 것이 가능하다. 즉, 디지털 기기는 ATSC 복조부와 DVB 복조부를 각각 별개로 구비할 수 있다.
복조부(2920)에서 출력한 스트림 신호는 제어부(2970)로 입력될 수 있다. 제어부(2970)는 역다중화, 영상/음성 신호 처리 등을 제어하고, 디스플레이부(2980)를 통해 영상을, 오디오 출력부(2985)를 통해 음성의 출력을 제어할 수 있다.
외부장치 인터페이스부(2935)는 디지털 기기(2900)에 다양한 외부장치가 인터페이싱 되도록 환경을 제공한다. 이를 위해, 외부장치 인터페이스부(2935)는, A/V 입출력부(미도시) 또는 무선 통신부(미도시)를 포함할 수 있다.
외부장치 인터페이스부(2935)는, DVD(digital versatile disk), 블루-레이(blu-ray), 게임기기, 카메라, 캠코더, 컴퓨터(노트북, 태블릿), 스마트폰, 블루투스 기기(bluetooth device), 클라우드(cloud) 등과 같은 외부 장치와 유/무선으로 접속될 수 있다. 외부장치 인터페이스부(2935)는 연결된 외부 장치를 통하여 외부에서 입력되는 영상, 음성 또는 데이터(이미지 포함) 신호를 디지털 기기의 제어부(2970)로 전달한다. 제어부(2970)는 처리된 영상, 음성 또는 데이터 신호를 연결된 외부 장치로 출력되도록 제어할 수 있다. 이를 위해, 외부장치 인터페이스부(2935)는, A/V 입출력부(미도시) 또는 무선 통신부(미도시)를 더 포함할 수 있다.
A/V 입출력부는, 외부 장치의 영상 및 음성 신호를 디지털 기기(2900)로 입력할 수 있도록, USB 단자, CVBS(composite video banking sync) 단자, 컴포넌트 단자, S-비디오 단자(아날로그), DVI(digital visual interface) 단자, HDMI(high definition multimedia interface) 단자, RGB 단자, D-SUB 단자 등을 포함할 수 있다.
무선 통신부는, 다른 전자기기와 근거리 무선 통신을 수행할 수 있다. 디지털 기기(2900)는 예를 들어, 블루투스(bluetooth), RFID(radio frequency identification), 적외선 통신(IrDA, infrared data association), UWB(ultra wideband), 지그비(ZigBee), DLNA(digital living network alliance) 등의 통신 프로토콜에 따라 다른 전자기기와 네트워크 연결될 수 있다.
또한, 외부장치 인터페이스부(2935)는, 다양한 셋톱-박스와 상술한 각종 단자 중 적어도 하나를 통해 접속되어, 셋톱-박스와 입력/출력 동작을 수행할 수도 있다.
한편, 외부장치 인터페이스부(2935)는, 인접하는 외부장치 내의 애플리케이션 또는 애플리케이션 목록을 수신하여, 제어부(2970) 또는 저장부(2940)로 전달할 수 있다.
네트워크 인터페이스부(2930)는, 디지털 기기(2900)를 인터넷 망을 포함하는 유/무선 네트워크와 연결하기 위한 인터페이스를 제공한다. 네트워크 인터페이스부(2930)는, 유선 네트워크와의 접속을 위해 예를 들어, 이더넷(ethernet) 단자 등을 구비할 수 있으며, 무선 네트워크와의 접속을 위해 예를 들어, WLAN(wireless LAN)(Wi-Fi), Wibro(wireless broadband), Wimax(world interoperability for microwave access), HSDPA(high speed downlink packet access) 통신 규격 등을 이용할 수 있다.
네트워크 인터페이스부(2930)는, 접속된 네트워크 또는 접속된 네트워크에 링크된 다른 네트워크를 통해, 다른 사용자 또는 다른 디지털 기기와 데이터를 송신 또는 수신할 수 있다. 특히, 디지털 기기(2900)에 미리 등록된 다른 사용자 또는 다른 디지털 기기 중 선택된 사용자 또는 선택된 디지털 기기에, 디지털 기기(2900)에 저장된 일부의 컨텐트 데이터를 송신할 수 있다.
한편, 네트워크 인터페이스부(2930)는, 접속된 네트워크 또는 접속된 네트워크에 링크된 다른 네트워크를 통해, 소정 웹 페이지에 접속할 수 있다. 즉, 네트워크를 통해 소정 웹 페이지에 접속하여, 해당 서버와 데이터를 송신 또는 수신할 수 있다. 그 외, 컨텐트 제공자 또는 네트워크 운영자가 제공하는 컨텐트 또는 데이터들을 수신할 수 있다. 즉, 네트워크를 통하여 컨텐트 제공자 또는 네트워크 제공자로부터 제공되는 영화, 광고, 게임, VOD, 방송 신호 등의 컨텐트 및 그와 관련된 정보를 수신할 수 있다. 또한, 네트워크 운영자가 제공하는 펌웨어(firmware)의 업데이트 정보 및 업데이트 파일을 수신할 수 있다. 또한, 인터넷 또는 컨텐트 제공자 또는 네트워크 운영자에게 데이터들을 송신할 수 있다.
또한, 네트워크 인터페이스부(2930)는, 네트워크를 통해, 공중에 공개(open)된 애플리케이션들 중 원하는 애플리케이션을 선택하여 수신할 수 있다.
저장부(2940)는, 제어부(2970) 내의 각 신호 처리 및 제어를 위한 프로그램을 저장할 수도 있고, 신호 처리된 영상, 음성 또는 데이터 신호를 저장할 수도 있다.
또한, 저장부(2940)는 외부장치 인터페이스부(2935) 또는 네트워크 인터페이스부(2930)로부터 입력되는 영상, 음성, 또는 데이터 신호의 임시 저장을 위한 기능을 수행할 수도 있다. 저장부(2940)는, 채널 기억 기능을 통하여 소정 방송 채널에 관한 정보를 저장할 수 있다.
저장부(2940)는, 외부장치 인터페이스부(2935) 또는 네트워크 인터페이스부(2930)로부터 입력되는 애플리케이션 또는 애플리케이션 목록을 저장할 수 있다.
또한, 저장부(2940)는, 후술하여 설명하는 다양한 플랫폼(platform)을 저장할 수도 있다.
저장부(2940)는, 예를 들어 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(RAM), 롬(EEPROM 등) 중 적어도 하나의 타입의 저장매체를 포함할 수 있다. 디지털 기기(2900)는, 저장부(2940) 내에 저장되어 있는 컨텐트 파일(동영상 파일, 정지영상 파일, 음악 파일, 문서 파일, 애플리케이션 파일 등)을 재생하여 사용자에게 제공할 수 있다.
도 29는 저장부(2940)가 제어부(2970)와 별도로 구비된 실시 예를 도시하고 있으나, 본 발명의 범위는 이에 한정되지 않는다. 즉, 저장부(2940)는 제어부(2970) 내에 포함될 수도 있다.
사용자 입력 인터페이스부(2950)는, 사용자가 입력한 신호를 제어부(2970)로 전달하거나, 제어부(2970)의 신호를 사용자에게 전달한다.
예를 들어, 사용자 입력 인터페이스부(2950)는, RF 통신 방식, 적외선(IR) 통신 방식 등 다양한 통신 방식에 따라, 원격제어장치(3000)로부터 전원 온/오프, 채널 선택, 화면 설정 등의 제어 신호를 수신하여 처리하거나, 제어부(2970)의 제어 신호를 원격제어장치(3000)로 송신하도록 처리할 수 있다.
또한, 사용자 입력 인터페이스부(2950)는, 전원 키, 채널 키, 볼륨 키, 설정치 등의 로컬 키(미도시)에서 입력되는 제어 신호를 제어부(2970)에 전달할 수 있다.
사용자 입력 인터페이스부(2950)는, 사용자의 제스처(gesture)를 센싱(sensing)하는 센싱부(미도시)로부터 입력되는 제어 신호를 제어부(2970)에 전달하거나, 제어부(2970)의 신호를 센싱부(미도시)로 송신할 수 있다. 여기서, 센싱부(미도시)는, 터치 센서, 음성 센서, 위치 센서, 동작 센서 등을 포함할 수 있다.
제어부(2970)는, 튜너(2910), 복조부(2920) 또는 외부장치 인터페이스부(2935)를 통하여 입력되는 스트림을 역다중화하거나 역다중화된 신호들을 처리하여, 영상 또는 음성 출력을 위한 신호를 생성 및 출력할 수 있다. 제어부(2970)는 전술한 인코딩 장치 및/또는 디코딩 장치를 포함할 수 있다.
제어부(2970)에서 처리된 영상 신호는, 디스플레이부(2980)로 입력되어 해당 영상 신호에 대응하는 영상으로 표시될 수 있다. 또한, 제어부(2970)에서 영상 처리된 영상 신호는 외부장치 인터페이스부(2935)를 통하여 외부 출력 장치로 입력될 수 있다.
제어부(2970)에서 처리된 음성 신호는 오디오 출력부(2985)로 오디오 출력될 수 있다. 또한, 제어부(2970)에서 처리된 음성 신호는 외부장치 인터페이스부(2935)를 통하여 외부 출력장치로 입력될 수 있다.
도 29에서는 도시되어 있지 않으나, 제어부(2970)는 역다중화부, 영상처리부 등을 포함할 수 있다.
제어부(2970)는, 디지털 기기(2900)의 전반적인 동작을 제어할 수 있다. 예를 들어, 제어부(2970)는, 튜너(2910)를 제어하여, 사용자가 선택한 채널 또는 기저장된 채널에 해당하는 RF 방송을 튜닝(tuning)하도록 제어할 수 있다.
제어부(2970)는, 사용자 입력 인터페이스부(2950)를 통하여 입력된 사용자 명령 또는 내부 프로그램에 의하여 디지털 기기(2900)를 제어할 수 있다. 특히, 네트워크에 접속하여 사용자가 원하는 애플리케이션 또는 애플리케이션 목록을 디지털 기기(2900) 내로 다운로드 받을 수 있도록 할 수 있다.
예를 들어, 제어부(2970)는, 사용자 입력 인터페이스부(2950)를 통하여 수신한 소정 채널 선택 명령에 따라 선택한 채널의 신호가 입력되도록 튜너(2910)를 제어한다. 그리고 선택한 채널의 영상, 음성 또는 데이터 신호를 처리한다. 제어부(2970)는, 사용자가 선택한 채널 정보 등이 처리한 영상 또는 음성신호와 함께 디스플레이부(2980) 또는 오디오 출력부(2985)를 통하여 출력될 수 있도록 한다.
다른 예로, 제어부(2970)는, 사용자 입력 인터페이스부(2950)를 통하여 수신한 외부장치 영상 재생 명령에 따라, 외부장치 인터페이스부(2935)를 통하여 입력되는 외부 장치, 예를 들어, 카메라 또는 캠코더로부터의, 영상 신호 또는 음성 신호가 디스플레이부(2980) 또는 오디오 출력부(2985)를 통해 출력될 수 있도록 한다.
한편, 제어부(2970)는, 영상을 표시하도록 디스플레이부(2980)를 제어할 수 있다. 예를 들어, 튜너(2910)를 통해 입력되는 방송 영상, 또는 외부장치 인터페이스부(2935)를 통해 입력되는 외부 입력 영상, 또는 네트워크 인터페이스부를 통해 입력되는 영상, 또는 저장부(2940)에 저장된 영상을, 디스플레이부(2980)에 표시하도록 제어할 수 있다. 이때, 디스플레이부(2980)에 표시되는 영상은, 정지 영상 또는 동영상일 수 있으며, 2D 영상 또는 3D 영상일 수 있다.
또한, 제어부(2970)는, 컨텐트를 재생하도록 제어할 수 있다. 이때의 컨텐트는, 디지털 기기(2900) 내에 저장된 컨텐트, 또는 수신된 방송 컨텐트, 외부로부터 입력되는 외부 입력 컨텐트일 수 있다. 컨텐트는, 방송 영상, 외부 입력 영상, 오디오 파일, 정지 영상, 접속된 웹 화면, 및 문서 파일 중 적어도 하나일 수 있다.
한편, 제어부(2970)는, 애플리케이션 보기 항목에 진입하는 경우, 디지털 기기(2900) 내 또는 외부 네트워크로부터 다운로드 가능한 애플리케이션 또는 애플리케이션 목록을 표시하도록 제어할 수 있다.
제어부(2970)는, 다양한 사용자 인터페이스와 더불어, 외부 네트워크로부터 다운로드 되는 애플리케이션을 설치 및 구동하도록 제어할 수 있다. 또한, 사용자의 선택에 의해, 실행되는 애플리케이션에 관련된 영상이 디스플레이부(2880)에 표시되도록 제어할 수 있다.
한편, 도면에 도시하지 않았지만, 채널 신호 또는 외부 입력 신호에 대응하는 썸네일 이미지를 생성하는 채널 브라우징 처리부가 더 구비되는 것도 가능하다.
채널 브라우징 처리부는, 복조부(2920)에서 출력한 스트림 신호(TS) 또는 외부장치 인터페이스부(2935)에서 출력한 스트림 신호 등을 입력받아, 입력되는 스트림 신호로부터 영상을 추출하여 썸네일 영상을 생성할 수 있다.
생성된 썸네일 영상은 그대로 또는 부호화되어 제어부(2970)로 입력될 수 있다. 또한, 생성된 썸네일 영상은 스트림 형태로 부호화되어 제어부(2970)로 입력되는 것도 가능하다. 제어부(2970)는 입력된 썸네일 영상을 이용하여 복수의 썸네일 영상을 구비하는 썸네일 리스트를 디스플레이부(2980)에 표시할 수 있다. 한편, 이러한 썸네일 리스트 내의 썸네일 영상들은 차례로 또는 동시에 업데이트 될 수 있다. 이에 따라 사용자는 복수의 방송 채널의 내용을 간편하게 파악할 수 있게 된다.
디스플레이부(2980)는, 제어부(2970)에서 처리된 영상 신호, 데이터 신호, OSD 신호 또는 외부장치 인터페이스부(2935)에서 수신되는 영상 신호, 데이터 신호 등을 각각 R, G, B 신호로 변환하여 구동 신호를 생성한다.
디스플레이부(2980)는 PDP, LCD, OLED, 플렉시블 디스플레이(flexible display), 3차원 디스플레이(3D display) 등이 가능할 수 있다.
한편, 디스플레이부(2980)는, 터치 스크린으로 구성되어 출력 장치 이외에 입력 장치로 사용되는 것도 가능하다.
오디오 출력부(2985)는, 제어부(2970)에서 음성 처리된 신호, 예를 들어, 스테레오 신호, 3.1 채널 신호 또는 5.1 채널 신호를 입력받아 음성으로 출력한다. 음성 출력부(2985)는 다양한 형태의 스피커로 구현될 수 있다.
한편, 사용자의 제스처를 감지하기 위해, 상술한 바와 같이, 터치 센서, 음성 센서, 위치 센서, 동작 센서 중 적어도 하나를 구비하는 센싱부(미도시)가 디지털 기기(2900)에 더 구비될 수 있다. 센싱부(미도시)에서 감지된 신호는 사용자입력 인터페이스부(2950)를 통해 제어부(2970)로 전달될 수 있다.
한편, 사용자를 촬영하는 촬영부(미도시)가 더 구비될 수 있다. 촬영부(미도시)에서 촬영된 영상 정보는 제어부(2970)에 입력될 수 있다.
제어부(2970)는, 촬영부(미도시)로부터 촬영된 영상, 또는 센싱부(미도시)로부터의 감지된 신호를 각각 또는 조합하여 사용자의 제스처를 감지할 수도 있다.
전원 공급부(2990)는, 디지털 기기(2900) 전반에 걸쳐 해당 전원을 공급한다.
특히, 시스템 온 칩(system on chip, SOC)의 형태로 구현될 수 있는 제어부(2970)와, 영상 표시를 위한 디스플레이부(2980), 및 오디오 출력을 위한 오디오 출력부(2985)에 전원을 공급할 수 있다.
이를 위해, 전원 공급부(2990)는, 교류 전원을 직류 전원으로 변환하는 컨버터(미도시)를 구비할 수 있다. 한편, 예를 들어, 디스플레이부(2980)가 다수의 백라이트 램프를 구비하는 액정패널로서 구현되는 경우, 휘도 가변 또는 디밍(dimming) 구동을 위해, PWM 동작 가능한 인버터(미도시)를 더 구비할 수도 있다.
원격제어장치(3000)는, 사용자 입력을 사용자입력 인터페이스부(2950)로 송신한다. 이를 위해, 원격제어장치(3000)는, 블루투스(bluetooth), RF(radio frequency) 통신, 적외선(IR) 통신, UWB(Ultra Wideband), 지그비(ZigBee) 방식 등을 사용할 수 있다.
또한, 원격제어장치(3000)는, 사용자입력 인터페이스부(2950)에서 출력한 영상, 음성 또는 데이터 신호 등을 수신하여, 이를 원격제어장치(3000)에서 표시하거나 음성 또는 진동을 출력할 수 있다.
상술한 디지털 기기(2900)는, 고정형 또는 이동형의 ATSC 방식 또는 DVB 방식의 디지털 방송 신호의 처리가 가능한 디지털 방송 수신기일 수 있다.
그 밖에 본 발명에 따른 디지털 기기는 도시된 구성 중 필요에 따라 일부 구성을 생략하거나 반대로 도시되진 않은 구성을 더 포함할 수도 있다. 한편, 디지털 기기는 상술한 바와 달리, 튜너와 복조부를 구비하지 않고, 네트워크 인터페이스부 또는 외부장치 인터페이스부를 통해서 컨텐트를 수신하여 재생할 수도 있다.
도 30은 도 27 내지 도 29의 제어부의 상세 구성의 일 실시예를 설명하기 위해 도시한 구성 블록도이다.
제어부의 일 예는, 역다중화부(3010), 영상 처리부(3020), OSD(on-screen display) 생성부(3040), 믹서(mixer)(3050), 프레임 레이트 변환부(frame rate converter, FRC)(3055), 및 포맷터(formatter)(3060)를 포함할 수 있다. 그 외 상기 제어부는 도시되진 않았으나 음성 처리부와 데이터 처리부를 더 포함할 수 있다.
역다중화부(3010)는, 입력되는 스트림을 역다중화한다. 예를 들어, 역다중화부(3010)는 입력되는 MPEG-2 TS 영상, 음성 및 데이터 신호로 역다중화할 수 있다. 여기서, 역다중화부(3010)에 입력되는 스트림 신호는, 튜너 또는 복조부 또는 외부장치 인터페이스부에서 출력되는 스트림 신호일 수 있다.
영상 처리부(3020)는, 역다중화된 영상 신호의 영상 처리를 수행한다. 이를 위해, 영상 처리부(3020)는, 영상 디코더(3025) 및 스케일러(3035)를 구비할 수 있다.
영상 디코더(3025)는 역다중화된 영상 신호를 복호하며, 스케일러(3035)는 복호된 영상 신호의 해상도를 디스플레이부에서 출력 가능하도록 스케일링(scaling)한다.
영상 디코더(3025)는 다양한 규격을 지원할 수 있다. 예를 들어, 영상 디코더(3025)는 영상 신호가 MPEG-2 규격으로 부호화된 경우에는 MPEG-2 디코더의 기능을 수행하고, 영상 신호가 DMB(digital multimedia broadcasting) 방식 또는 H.264 규격으로 부호화된 경우에는 H.264 디코더의 기능을 수행할 수 있다.
한편, 영상 처리부(3020)에서 복호된 영상 신호는, 믹서(3050)로 입력된다.
OSD 생성부(3040)는, 사용자 입력에 따라 또는 자체적으로 OSD 데이터를 생성한다. 예를 들어, OSD 생성부(3040)는 사용자입력 인터페이스부의 제어 신호에 기초하여 디스플레이부의 화면에 각종 데이터를 그래픽(graphic)이나 텍스트(text) 형태로 표시하기 위한 데이터를 생성한다. 생성되는 OSD 데이터는, 디지털 기기의 사용자 인터페이스 화면, 다양한 메뉴 화면, 위젯(widget), 아이콘(icon), 시청률 정보(viewing rate information) 등의 다양한 데이터를 포함한다.
OSD 생성부(3040)는, 방송 영상의 자막 또는 EPG에 기반한 방송 정보를 표시하기 위한 데이터를 생성할 수도 있다.
믹서(3050)는, OSD 생성부(3040)에서 생성된 OSD 데이터와 영상 처리부에서 영상 처리된 영상 신호를 믹싱하여 포맷터(3060)로 제공한다. 복호된 영상 신호와 OSD 데이터가 믹싱됨으로 인하여, 방송 영상 또는 외부 입력 영상 상에 OSD가 오버레이(overlay) 되어 표시된다.
프레임 레이트 변환부(FRC)(3055)는, 입력되는 영상의 프레임 레이트(frame rate)를 변환한다. 예를 들어, 프레임 레이트 변환부(3055)는 입력되는 60Hz 영상의 프레임 레이트를 디스플레이부의 출력 주파수에 따라 예를 들어, 120Hz 또는 240Hz의 프레임 레이트를 가지도록 변환할 수 있다. 상기와 같이, 프레임 레이트를 변환하는 방법에는 다양한 방법이 존재할 수 있다. 일 예로, 프레임 레이트 변환부(3055)는 프레임 레이트를 60Hz에서 120Hz로 변환하는 경우, 제1 프레임과 제2 프레임 사이에 동일한 제1 프레임을 삽입하거나, 제1 프레임과 제2 프레임으로부터 예측된 제3 프레임을 삽입함으로써 변환할 수 있다. 다른 예로, 프레임 레이트 변환부(3055)는 프레임 레이트를 60Hz에서 240Hz로 변환하는 경우, 기존 프레임 사이에 동일한 프레임 또는 예측된 프레임을 3개 더 삽입하여 변환할 수 있다. 한편, 별도의 프레임 변환을 수행하지 않는 경우에는 프레임 레이트 변환부(3055)를 바이패스(bypass) 할 수도 있다.
포맷터(3060)는, 입력되는 프레임 레이트 변환부(3055)의 출력을 디스플레이부의 출력 포맷에 맞게 변경한다. 예를 들어, 포맷터(3060)는 R, G, B 데이터 신호를 출력할 수 있으며, 이러한 R, G, B 데이터 신호는, 낮은 전압 차분 신호(low voltage differential signaling, LVDS) 또는 mini-LVDS로 출력될 수 있다. 또한, 포맷터(3060)는 입력되는 프레임 레이트 변환부(3055)의 출력이 3D 영상 신호인 경우에는 디스플레이부의 출력 포맷에 맞게 3D 형태로 구성하여 출력함으로써, 디스플레이부를 통해 3D 서비스를 지원할 수도 있다.
한편, 제어부 내 음성 처리부(미도시)는, 역다중화된 음성 신호의 음성 처리를 수행할 수 있다. 이러한 음성 처리부(미도시)는 다양한 오디오 포맷을 처리하도록 지원할 수 있다. 일 예로, 음성 신호가 MPEG-2, MPEG-4, AAC, HE-AAC, AC-3, BSAC 등의 포맷으로 부호화된 경우에도 이에 대응되는 디코더를 구비하여 처리할 수 있다.
또한, 제어부 내 음성 처리부(미도시)는, 베이스(base), 트레블(treble), 음량 조절 등을 처리할 수 있다.
제어부 내 데이터 처리부(미도시)는, 역다중화된 데이터 신호의 데이터 처리를 수행할 수 있다. 예를 들어, 데이터 처리부는 역다중화된 데이터 신호가 부호화된 경우에도 이를 복호할 수 있다. 여기서, 부호화된 데이터 신호로는, 각 채널에서 방영되는 방송 프로그램의 시작시각, 종료시각 등의 방송 정보가 포함된 EPG 정보일 수 있다.
한편, 상술한 디지털 기기는 본 발명에 따른 예시로서, 각 구성요소는 실제 구현되는 디지털 기기의 사양에 따라 통합, 추가, 또는 생략될 수 있다. 즉, 필요에 따라, 2 이상의 구성요소가 하나의 구성요소로 합쳐지거나 하나의 구성요소가 2 이상의 구성요소로 세분화될 수 있다. 또한, 각 블록에서 수행하는 기능은 본 발명의 실시예를 설명하기 위한 것이며, 그 구체적인 동작이나 장치는 본 발명의 권리범위를 제한하지 아니한다.
한편, 디지털 기기는, 장치 내에 저장된 영상 또는 입력되는 영상의 신호 처리를 수행하는 영상신호 처리장치일 수 있다. 영상신호 처리장치의 다른 예로는, 도 29에서 도시된 디스플레이부(2980)와 오디오 출력부(2985)가 제외된 셋톱-박스(STB), 상술한 DVD 플레이어, 블루-레이 플레이어, 게임기기, 컴퓨터 등이 더 예시될 수 있다.
도 31은 일 실시예에 따른 디지털 기기의 스크린이 메인 영상(main image)과 보조 영상(sub image)을 동시에 디스플레이 하는 일 예시를 도시하는 도면이다.
일 실시예에 따른 디지털 기기는 스크린(3100)에 메인 영상(3110)과 보조 영상(3120)을 동시에 디스플레이 할 수 있다. 메인 영상(3110)은 제1 영상이라 불릴 수 있고, 보조 영상(3120)은 제2 영상이라 불릴 수 있다. 메인 영상(3110)과 보조 영상(3120)은 동영상, 스틸 이미지, EPG(electronic program guide), GUI(graphical user interface), OSD(on-screen display) 등을 포함할 수 있고, 이에 한정되지 않는다. 메인 영상(3110)은 전자 장치의 스크린(3100)에 보조 영상(3120)과 동시에 디스플레이 되면서 전자 장치의 스크린(3100) 보다 크기가 상대적으로 작은 영상을 의미할 수 있으며, PIP(picture in picture)로 지칭되기도 한다. 도 30에서는 메인 영상(3110)이 디지털 기기의 스크린(3100)의 좌측 상단에 디스플레이 되는 것으로 도시되어 있으나, 메인 영상(3110)이 디스플레이 되는 위치는 이에 한정되지 않고, 메인 영상(3110)은 디지털 기기의 스크린(3100) 내의 임의의 위치에서 디스플레이 될 수 있다.
메인 영상(3110)과 보조 영상(3120)은 상호 직접 또는 간접적으로 관련될 수 있다. 일 예시로, 메인 영상(3110)은 스트리밍(streaming) 동영상이고, 보조 영상(3120)은 스트리밍 동영상과 유사한 정보를 포함하는 동영상들의 썸네일(thumbnail)들을 순차로 디스플레이 하는 GUI일 수 있다. 다른 예시로, 메인 영상(3110)은 방송 영상(broadcasted image)이고, 보조 영상(3120)은 EPG일 수 있다. 또 다른 예시로, 메인 영상(3110)은 방송 영상이고, 보조 영상(3120)은 GUI일 수 있다. 메인 영상(3110)과 보조 영상(3120)의 예시는 이에 한정되지 않는다.
일 실시예에서, 메인 영상(3110)은 방송 채널(broadcasting channel)을 통해 수신한 방송 영상(broadcasting image)이고, 보조 영상(3120)은 방송 채널을 통해 수신한 방송 영상과 관련된 정보일 수 있다. 방송 채널을 통해 수신한 방송 영상과 관련된 정보는, 예를 들어 종합 채널 편성표, 방송 프로그램 상세 정보 등을 포함하는 EPG 정보, 방송 프로그램 다시 보기 정보 등을 포함할 수 있으며, 이에 한정되지 않는다.
다른 일 실시예에서, 메인 영상(3110)은 방송 채널을 통해 수신한 방송 영상이고, 보조 영상(3120)은 디지털 기기에 기저장된 정보에 기초하여 생성된 영상일 수 있다. 디지털 기기에 기 저장된 정보에 기초하여 생성된 영상은, 예를 들어 EPG의 기본 UI(User Interface), 기본 채널 정보, 영상 해상도(resolution) 조작 UI, 취침 예약 UI 등을 포함할 수 있으며, 이에 한정되지 않는다.
또 다른 일 실시예에서, 메인 영상(3110)은 방송 채널을 통해 수신한 방송 영상이고, 보조 영상(3120)은 네트워크 망을 통해 수신한, 방송 영상과 관련된 정보일 수 있다. 네트워크망을 통해 수신한, 방송 영상과 관련된 정보는, 예를 들어 네트워크에 기반한 검색 엔진을 통해 획득된 정보일 수 있다. 보다 구체적으로 예를 들면, 네트워크에 기반한 검색 엔진을 통해 현재 메인 영상(3110)에 디스플레이 되고 있는 등장 인물과 관련된 정보가 획득될 수 있다.
그러나 예시는 이에 한정되지 않으며, 네트워크망을 통해 수신한, 방송 영상과 관련된 정보는 예를 들어 인공지능(artificial intelligence, AI) 시스템을 사용함으로써 획득될 수 있다. 보다 구체적으로 예를 들면, 네트워크에 기반한 딥러닝(deep-learning)을 이용하여 현재 메인 영상(3110)에 디스플레이 되고 있는 장소의 지도상 추정 위치(estimated-location in map)가 획득될 수 있고, 디지털 기기는 네트워크 망을 통하여, 현재 메인 영상(3110)에 디스플레이 되고 있는 장소의 지도상 추정 위치에 관한 정보를 수신할 수 있다.
일 실시예에 따른 디지털 기기는 외부로부터 메인 영상(3110)의 영상 정보 및 보조 영상(3120)의 영상 정보 중 적어도 하나를 수신할 수 있다. 메인 영상(3110)의 영상 정보는 예를 들어 방송 채널(broadcasting channel)을 통해 수신한 방송 신호(broadcasting signal), 메인 영상(3110)의 소스 코드(source code) 정보, 네트워크 망을 통해 수신한 메인 영상(3110)의 IP 패킷(internet protocol packet) 정보 등을 포함할 수 있으며, 이에 한정되지 않는다. 마찬가지로, 보조 영상(3120)의 영상 정보는, 예를 들어 방송 채널을 통해 수신한 방송 신호, 보조 영상(3120)의 소스 코드 정보, 네트워크 망을 통해 수신한 보조 영상(3120)의 IP 패킷 정보 등을 포함할 수 있으며, 이에 한정되지 않는다. 디지털 기기는 외부로부터 수신된 메인 영상(3110)의 영상 정보 또는 보조 영상(3120)의 영상 정보를 디코딩하여 이용할 수 있다. 다만, 경우에 따라서 디지털 기기는 메인 영상(3110)의 영상 정보 또는 보조 영상(3120)의 영상 정보를 내부에 자체적으로 저장하고 있을 수도 있다.
디지털 기기는 메인 영상(3110)의 영상 정보 및 보조 영상(3120)과 관련된 정보에 기초하여, 메인 영상(3110)과 보조 영상(3120)을 디지털 기기의 스크린(3100)에 디스플레이 할 수 있다.
일 예시에서, 디지털 기기의 디코딩 장치(200)는 메인 영상 디코딩 장치와 보조 영상 디코딩 장치를 포함하고, 메인 영상 디코딩 장치와 보조 영상 디코딩 장치는 각각 메인 영상(3110)의 영상 정보와 보조 영상(3120)의 영상 정보를 디코딩 할 수 있다. 렌더러는 메인 영상 렌더러(제1 렌더러)와 보조 영상 렌더러(제2 렌더러)를 포함하고, 메인 영상 렌더러는 메인 영상 디코딩 장치에서 디코딩 된 정보에 기초하여 메인 영상(3110)을 디지털 기기의 스크린(3100)의 제1 영역에 디스플레이되도록 할 수 있고, 보조 영상 렌더러는 보조 영상 디코딩 장치에서 디코딩 된 정보에 기초하여 보조 영상(3120)을 디지털 기기의 스크린(3100)의 제2 영역에 디스플레이되도록 할 수 있다.
또 다른 예시에서, 디지털 기기의 디코딩 장치(200)는 메인 영상(3110)의 영상 정보와 보조 영상(3120)의 영상 정보를 디코딩 할 수 있다. 디코딩 장치(200)에서 디코딩된 정보에 기초하여, 렌더러는 메인 영상(3110) 및 보조 영상(3120)을 함께 처리하여 동시에 디지털 기기의 스크린(3100)에 디스플레이되도록 할 수 있다.
즉, 본 문서에 따르면, 디지털 기기에서 영상 서비스 처리 방법을 제공할 수 있다. 상기 영상 서비스 처리 방법에 따르면, 영상 정보를 수신하는 단계, 상기 영상 정보를 기반으로 (메인) 영상을 디코딩하는 단계, 디코딩된 영상을 디스플레이 내 제1 영역에 렌더링 또는 디스플레이하는 단계, 디스플레이 내 제2 영역에 보조 영상을 렌더링 또는 디스플레이하는 단계를 포함할 수 있다. 이 경우 제1 영상을 디코딩하는 단계는, 상술한 도 3에 따른 디코딩 장치(200)에서의 디코딩 절차를 따를 수 있다. 예를 들어, 상술한 바와 같이, 제1 영상을 디코딩하는 단계는 인터 또는 인트라 예측을 기반으로 현재 블록에 대한 예측 샘플들을 도출하는 단계, 수신된 레지듀얼 정보를 기반으로 현재 블록에 대한 레지듀얼 샘플들을 도출하는 단계(생략 가능) 및 예측 샘플들 및/또는 레지듀얼 샘플들을 기반으로 복원 샘플들을 생성하는 단계를 포함할 수 있다. 추가적으로 제1 영상을 디코딩하는 단계는 복원 샘플들을 포함하는 복원 픽처에 인루프 필터링 절차를 수행하는 것을 포함할 수도 있다.
예를 들어, 상기 보조 영상은 EPG(electronic program guide), OSD(on screen display), 또는 GUI(graphic user interface)일 수 있다. 예를 들어, 상기 영상 정보는 방송망(broadcast network)를 통하여 수신되고, 상기 보조 영상에 관한 정보는 상기 방송망을 통하여 수신될 수 있다. 예를 들어, 상기 영상 정보는 통신망(communication network)를 통하여 수신되고, 상기 보조 영상에 관한 정보는 상기 통신망을 통하여 수신될 수 있다. 예를 들어, 상기 영상 정보는 방송망을 통하여 수신되고, 상기 보조 영상에 관한 정보는 통신망을 통하여 수신될 수 있다. 예를 들어, 상기 영상 정보는 방송망 또는 통신망을 통하여 수신되고, 상기 보조 영상에 관한 정보는 상기 디지털 기기 내의 저장매체에 저장되어 있을 수 있다.
이상에서 설명된 실시예들은 본 명세서의 구성요소들과 특징들이 소정 형태로 결합된 것들이다. 각 구성요소 또는 특징은 별도의 명시적 언급이 없는 한 선택적인 것으로 고려되어야 한다. 각 구성요소 또는 특징은 다른 구성요소나 특징과 결합되지 않은 형태로 실시될 수 있다. 또한, 일부 구성요소들 및/또는 특징들을 결합하여 본 명세서의 실시예를 구성하는 것도 가능하다. 본 명세서의 실시예들에서 설명되는 동작들의 순서는 변경될 수 있다. 어느 실시예의 일부 구성이나 특징은 다른 실시예에 포함될 수 있고, 또는 다른 실시예의 대응하는 구성 또는 특징과 교체될 수 있다. 특허청구범위에서 명시적인 인용 관계가 있지 않은 청구항들을 결합하여 실시예를 구성하거나 출원 후의 보정에 의해 새로운 청구항으로 포함시킬 수 있음은 자명하다.
펌웨어나 소프트웨어에 의한 구현의 경우, 본 명세서의 일 실시예는 이상에서 설명된 기능 또는 동작들을 수행하는 모듈, 절차, 함수 등의 형태로 구현될 수 있다. 소프트웨어 코드는 메모리에 저장되어 프로세서에 의해 구동될 수 있다. 상기 메모리는 상기 프로세서 내부 또는 외부에 위치하여, 이미 공지된 다양한 수단에 의해 상기 프로세서와 데이터를 주고받을 수 있다.
본 명세서는 본 명세서의 필수적 특징을 벗어나지 않는 범위에서 다른 특정한 형태로 구체화될 수 있음은 당업자에게 자명하다. 따라서, 상술한 상세한 설명은 모든 면에서 제한적으로 해석되어서는 아니 되고 예시적인 것으로 고려되어야 한다. 본 명세서의 범위는 첨부된 청구항의 합리적 해석에 의해 결정되어야 하고, 본 명세서의 등가적 범위 내에서의 모든 변경은 본 명세서의 범위에 포함된다.
이상, 전술한 본 명세서의 바람직한 실시예는, 예시의 목적을 위해 개시된 것으로, 당업자라면 이하 첨부된 특허청구범위에 개시된 본 명세서의 기술적 사상과 그 기술적 범위 내에서, 다양한 다른 실시예들을 개량, 변경, 대체 또는 부가 등이 가능할 것이다.

Claims (14)

  1. 영상 신호를 처리하기 위한 방법에 있어서,
    현재 블록의 공간적 머지 후보 또는 시간적 머지 후보로부터 도출되는 복수의 움직임 벡터들을 포함하는 머지 후보 리스트를 생성하는 단계;
    상기 머지 후보 리스트의 머지 후보 개수가 최대 머지 후보 개수보다 작은 경우, 상기 움직임 벡터들의 평균 값으로 결정되는 추가적인 움직임 벡터를 상기 머지 후보 리스트에 추가하는 단계; 및
    상기 머지 후보 리스트에서 머지 인덱스에 의해 지시되는 움직임 벡터를 사용하여 상기 현재 블록의 예측 샘플을 생성하는 단계를 포함하는 것을 특징으로 하는 방법.
  2. 제1항에 있어서,
    상기 추가적인 움직임 벡터를 상기 머지 후보 리스트에 추가하는 단계는,
    상기 머지 후보 리스트에서 제1 인덱스에 대응하는 제1 움직임 벡터와 제2 인덱스에 대응하는 제2 움직임 벡터의 평균 값을 상기 추가적인 움직임 벡터로서 추가하는 단계를 포함하는 것을 특징으로 하는 방법.
  3. 제1항에 있어서,
    상기 머지 후보 리스트를 생성하는 단계는,
    상기 공간적 머지 후보에 대한 움직임 벡터 탐색 이후 상기 시간적 머지 후보에 대한 움직임 벡터에 대한 탐색을 수행하는 단계를 포함하는 것을 특징으로 하는 방법.
  4. 제3항에 있어서,
    상기 공간적 후보에 대한 움직임 벡터 탐색은,
    상기 현재 블록의 좌측 블록, 상측 블록, 우상측 블록, 좌하측 블록, 좌상측 블록의 순서로 수행되는 것을 특징으로 하는 방법.
  5. 제1항에 있어서,
    상기 추가적인 움직임 벡터가 추가된 머지 후보 리스트의 머지 후보 개수가 상기 최대 머지 후보 개수보다 작은 경우, 제로 움직임 벡터를 상기 머지 후보 리스트에 추가하는 단계를 더 포함하는 것을 특징으로 하는 방법.
  6. 제1항에 있어서,
    상기 움직임 벡터들은 동일한 참조 픽처를 참조하는 것을 특징으로 하는 방법.
  7. 제6항에 있어서,
    상기 추가적은 벡터는,
    상기 움직임 벡터들에 의해 동일하게 참조되는 상기 참조 픽처를 참조하는 것을 특징으로 하는 방법.
  8. 영상 신호를 디코딩하기 위한 장치에 있어서,
    상기 영상 신호를 저장하는 메모리; 및
    상기 메모리와 결합된 프로세서를 포함하고,
    상기 프로세서는,
    현재 블록의 공간적 머지 후보 또는 시간적 머지 후보로부터 도출되는 복수의 움직임 벡터들을 포함하는 머지 후보 리스트를 생성하고,
    상기 머지 후보 리스트의 머지 후보 개수가 최대 머지 후보 개수보다 작은 경우, 상기 움직임 벡터들의 평균 값으로 결정되는 추가적인 움직임 벡터를 상기 머지 후보 리스트에 추가하고,
    상기 머지 후보 리스트에서 머지 인덱스에 의해 지시되는 움직임 벡터를 사용하여 상기 현재 블록의 예측 샘플을 생성하도록 설정되는 것을 특징으로 하는 장치.
  9. 제8항에 있어서,
    상기 프로세서는,
    상기 머지 후보 리스트에서 제1 인덱스에 대응하는 제1 움직임 벡터와 제2 인덱스에 대응하는 제2 움직임 벡터의 평균 값을 상기 추가적인 움직임 벡터로서 추가하는 단계를 포함하는 것을 특징으로 하는 장치.
  10. 제8항에 있어서,
    상기 프로세서는,
    상기 공간적 머지 후보에 대한 움직임 벡터 탐색 이후 상기 시간적 머지 후보에 대한 움직임 벡터에 대한 탐색을 수행하는 단계를 포함하는 것을 특징으로 하는 장치.
  11. 제10항에 있어서,
    상기 공간적 후보에 대한 움직임 벡터 탐색은,
    상기 현재 블록의 좌측 블록, 상측 블록, 우상측 블록, 좌하측 블록, 좌상측 블록의 순서로 수행되는 것을 특징으로 하는 장치.
  12. 제8항에 있어서,
    상기 프로세서는,
    상기 추가적인 움직임 벡터가 추가된 머지 후보 리스트의 머지 후보 개수가 상기 최대 머지 후보 개수보다 작은 경우, 제로 움직임 벡터를 상기 머지 후보 리스트에 추가하도록 설정되는 것을 특징으로 하는 장치.
  13. 제8항에 있어서,
    상기 움직임 벡터들은 동일한 참조 픽처를 참조하는 것을 특징으로 하는 장치.
  14. 제13항에 있어서,
    상기 추가적은 벡터는,
    상기 움직임 벡터들에 의해 동일하게 참조되는 상기 참조 픽처를 참조하는 것을 특징으로 하는 장치.
PCT/KR2019/012273 2018-09-20 2019-09-20 영상 신호를 처리하기 위한 방법 및 장치 WO2020060312A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/278,481 US20220038734A1 (en) 2018-09-20 2019-09-20 Method and device for processing image signal

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201862734244P 2018-09-20 2018-09-20
US201862734248P 2018-09-20 2018-09-20
US62/734,248 2018-09-20
US62/734,244 2018-09-20

Publications (1)

Publication Number Publication Date
WO2020060312A1 true WO2020060312A1 (ko) 2020-03-26

Family

ID=69887617

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2019/012273 WO2020060312A1 (ko) 2018-09-20 2019-09-20 영상 신호를 처리하기 위한 방법 및 장치

Country Status (2)

Country Link
US (1) US20220038734A1 (ko)
WO (1) WO2020060312A1 (ko)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2611367A (en) * 2021-09-29 2023-04-05 Canon Kk Video coding and decoding

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297333B (zh) * 2022-09-29 2023-03-24 北京达佳互联信息技术有限公司 视频数据的帧间预测方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140005099A (ko) * 2012-07-02 2014-01-14 한국전자통신연구원 영상 부호화/복호화 방법 및 장치
KR20140044403A (ko) * 2010-11-23 2014-04-14 엘지전자 주식회사 영상 부호화 및 복호화 방법과 이를 이용한 장치
KR20140136412A (ko) * 2011-09-09 2014-11-28 주식회사 케이티 화면 간 예측 수행시 후보 블록 결정 방법 및 이러한 방법을 사용하는 장치
US20150071347A1 (en) * 2011-11-07 2015-03-12 Infobridge Pte. Ltd. Method of constructing merge list
KR20180038371A (ko) * 2016-10-06 2018-04-16 세종대학교산학협력단 비디오 신호의 복호화 방법 및 이의 장치

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140044403A (ko) * 2010-11-23 2014-04-14 엘지전자 주식회사 영상 부호화 및 복호화 방법과 이를 이용한 장치
KR20140136412A (ko) * 2011-09-09 2014-11-28 주식회사 케이티 화면 간 예측 수행시 후보 블록 결정 방법 및 이러한 방법을 사용하는 장치
US20150071347A1 (en) * 2011-11-07 2015-03-12 Infobridge Pte. Ltd. Method of constructing merge list
KR20140005099A (ko) * 2012-07-02 2014-01-14 한국전자통신연구원 영상 부호화/복호화 방법 및 장치
KR20180038371A (ko) * 2016-10-06 2018-04-16 세종대학교산학협력단 비디오 신호의 복호화 방법 및 이의 장치

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2611367A (en) * 2021-09-29 2023-04-05 Canon Kk Video coding and decoding
GB2611323A (en) * 2021-09-29 2023-04-05 Canon Kk Video coding and decoding

Also Published As

Publication number Publication date
US20220038734A1 (en) 2022-02-03

Similar Documents

Publication Publication Date Title
WO2020122640A1 (ko) 히스토리 기반 모션 벡터 예측을 기반으로 비디오 신호를 처리하기 위한 방법 및 장치
WO2020141914A1 (ko) 히스토리 기반 모션 벡터 예측을 기반으로 비디오 신호를 처리하기 위한 방법 및 장치
WO2020197083A1 (ko) Dmvr 및 bdof 기반의 인터 예측 방법 및 장치
WO2020060376A1 (ko) 인터 예측을 기반으로 비디오 신호를 처리하기 위한 방법 및 장치
WO2020117018A1 (ko) 인터 예측을 기반으로 비디오 신호를 처리하기 위한 방법 및 장치
WO2020197084A1 (ko) Dmvr 기반의 인터 예측 방법 및 장치
WO2019194514A1 (ko) 인터 예측 모드 기반 영상 처리 방법 및 이를 위한 장치
WO2020071871A1 (ko) 영상 서비스 처리 방법 및 그 장치
WO2015012622A1 (ko) 움직임 벡터 결정 방법 및 그 장치
WO2019216714A1 (ko) 인터 예측 모드 기반 영상 처리 방법 및 이를 위한 장치
WO2020262931A1 (ko) 비디오/영상 코딩 시스템에서 머지 데이터 신택스의 시그널링 방법 및 장치
WO2020141913A1 (ko) 인터 예측을 기반으로 비디오 신호를 처리하기 위한 방법 및 장치
WO2020009449A1 (ko) 어파인 예측을 이용하여 비디오 신호를 처리하기 위한 방법 및 장치
WO2020117016A1 (ko) 인터 예측을 기반으로 비디오 신호를 처리하기 위한 방법 및 장치
WO2020117013A1 (ko) 인터 예측을 기반으로 비디오 신호를 처리하기 위한 방법 및 장치
WO2021040482A1 (ko) 적응적 루프 필터링 기반 영상 코딩 장치 및 방법
WO2014163453A1 (ko) 휘도차를 보상하기 위한 인터 레이어 비디오 부호화 방법 및 그 장치, 비디오 복호화 방법 및 그 장치
WO2020060312A1 (ko) 영상 신호를 처리하기 위한 방법 및 장치
WO2020141915A1 (ko) 히스토리 기반 모션 벡터 예측을 기반으로 비디오 신호를 처리하기 위한 방법 및 장치
WO2020141853A1 (ko) 인터 예측을 기반으로 비디오 신호를 처리하기 위한 방법 및 장치
WO2020262962A1 (ko) 크로마 변환 블록의 최대 크기 제한을 이용한 영상 부호화/복호화 방법, 장치 및 비트스트림을 전송하는 방법
WO2020256487A1 (ko) 움직임 예측에 기반한 영상 코딩 방법 및 장치
WO2020262929A1 (ko) 비디오/영상 코딩 시스템에서 신택스 시그널링 방법 및 장치
WO2021006697A1 (ko) 레지듀얼 코딩에 대한 영상 디코딩 방법 및 그 장치
WO2020141935A1 (ko) 인터 예측을 기반으로 비디오 신호를 처리하기 위한 방법 및 장치

Legal Events

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

Ref document number: 19863446

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19863446

Country of ref document: EP

Kind code of ref document: A1