WO2012177388A1 - Unified merge mode and adaptive motion vector prediction mode candidates selection - Google Patents

Unified merge mode and adaptive motion vector prediction mode candidates selection Download PDF

Info

Publication number
WO2012177388A1
WO2012177388A1 PCT/US2012/040928 US2012040928W WO2012177388A1 WO 2012177388 A1 WO2012177388 A1 WO 2012177388A1 US 2012040928 W US2012040928 W US 2012040928W WO 2012177388 A1 WO2012177388 A1 WO 2012177388A1
Authority
WO
WIPO (PCT)
Prior art keywords
motion vector
candidate
block
candidate block
blocks
Prior art date
Application number
PCT/US2012/040928
Other languages
French (fr)
Inventor
Yunfei Zheng
Xianglin Wang
Marta Karczewicz
Original Assignee
Qualcomm Incorporated
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
Priority to CN201280030404.4A priority Critical patent/CN103609123B/en
Priority to CA2838839A priority patent/CA2838839C/en
Priority to BR112013032110-5A priority patent/BR112013032110B1/en
Priority to KR1020147001429A priority patent/KR20140017020A/en
Priority to JP2014516990A priority patent/JP5893729B2/en
Priority to MX2013014929A priority patent/MX339025B/en
Priority to EP12727051.0A priority patent/EP2721817B1/en
Priority to RU2014101483/08A priority patent/RU2574831C2/en
Application filed by Qualcomm Incorporated filed Critical Qualcomm Incorporated
Priority to SI201231982T priority patent/SI2721817T1/en
Priority to DK12727051.0T priority patent/DK2721817T3/en
Priority to AU2012273399A priority patent/AU2012273399B2/en
Priority to ES12727051T priority patent/ES2908241T3/en
Publication of WO2012177388A1 publication Critical patent/WO2012177388A1/en
Priority to IL229718A priority patent/IL229718A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/40Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
    • 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/109Selection of coding mode or of prediction mode among a plurality of temporal predictive coding modes
    • 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
    • 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
    • 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/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Definitions

  • This disclosure relates to video coding, and more particularly to techniques for selecting motion vector prediction candidate blocks in a motion vector prediction process.
  • Digital video capabilities can be incorporated into a wide range of devices, including digital televisions, digital direct broadcast systems, wireless broadcast systems, personal digital assistants (PDAs), laptop or desktop computers, digital cameras, digital recording devices, digital media players, video gaming devices, video game consoles, cellular or satellite radio telephones, video teleconferencing devices, and the like.
  • Digital video devices implement video compression techniques, such as those described in the standards defined by MPEG-2, MPEG-4, ITU-T H.263, ITU-T
  • H.264/MPEG-4 Part 10, Advanced Video Coding (AVC), the High Efficiency Video Coding (HEVC) standard presently under development, and extensions of such standards, to transmit, receive and store digital video information more efficiently.
  • AVC Advanced Video Coding
  • HEVC High Efficiency Video Coding
  • Video compression techniques include spatial prediction and/or temporal prediction to reduce or remove redundancy inherent in video sequences.
  • a video frame or slice may be partitioned into blocks. Each block can be further partitioned.
  • Blocks in an intra-coded (I) frame or slice are encoded using spatial prediction with respect to reference samples in neighboring blocks in the same frame or slice.
  • Blocks in an inter-coded (P or B) frame or slice may use spatial prediction with respect to reference samples in neighboring blocks in the same frame or slice or temporal prediction with respect to reference samples in other reference frames.
  • Spatial or temporal prediction results in a predictive block for a block to be coded. Residual data represents pixel differences between the original block to be coded and the predictive block.
  • An inter-coded block is encoded according to a motion vector that points to a block of reference samples forming the predictive block, and the residual data indicating the difference between the coded block and the predictive block.
  • An intra-coded block is encoded according to an intra-coding mode and the residual data.
  • the residual data may be transformed from the pixel domain to a transform domain, resulting in residual transform coefficients, which then may be quantized.
  • the quantized transform coefficients initially arranged in a two-dimensional array, may be scanned in a particular order to produce a one-dimensional vector of transform coefficients for entropy coding.
  • this disclosure describes techniques for coding video data. This disclosure describes techniques for selecting motion vector prediction candidate blocks in a motion vector prediction process.
  • a method of encoding a motion vector in a video coding process comprises determining one of a plurality of modes for a motion vector prediction process and performing the motion vector prediction process for the current block of video data using the determined mode and a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes.
  • a method of decoding a motion vector in a video coding process comprises determining one of a plurality of modes for a motion vector prediction process for a current block of video data and determining a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein information associated with the candidate block is used to decode a motion vector for the current block.
  • a method of encoding a motion vector in a video coding process comprises determining one of a plurality of modes for a motion vector prediction process and performing the motion vector prediction process for the current block of video data using the determined mode and a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, and wherein the additional candidate block is used if another of the candidate blocks of the set of candidate blocks is unavailable.
  • a method of decoding a motion vector in a video coding process comprises receiving a syntax element indicating one of a plurality of modes for a motion vector prediction process for a current block of video data, and receiving an index indicating a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, wherein the additional candidate block is used if another of the candidate blocks of the set of candidate blocks is unavailable, and wherein information associated with the candidate block is used to decode a motion vector for the current block.
  • FIG. 1 A is a conceptual drawing illustrating candidate blocks for motion vector prediction according to an adaptive motion vector prediction (AMVP) mode.
  • AMVP adaptive motion vector prediction
  • FIG. IB is a conceptual drawing illustrating candidate blocks for motion vector prediction according to merge mode.
  • FIG. 2 is a block diagram illustrating an example video encoding and decoding system.
  • FIG. 3 is a block diagram illustrating an example video encoder.
  • FIG. 4A is a conceptual drawing of signaling information for merge mode.
  • FIG. 4B is a conceptual drawing of signaling information for AMVP mode.
  • FIG. 5 A is a conceptual drawing illustrating candidate blocks for an AMVP and a merge mode in accordance with one example of the disclosure.
  • FIG. 5B is a conceptual drawing illustrating candidate blocks for an AMVP and a merge mode in accordance with another example of the disclosure.
  • FIG. 6 is a conceptual drawing illustrating candidate blocks for an AMVP and a merge mode in accordance with another example of the disclosure.
  • FIG. 7 is a conceptual drawing illustrating candidate blocks and a checking pattern for an AMVP and a merge mode in accordance with another example of the disclosure.
  • FIG. 8 is a block diagram illustrating an example video decoder.
  • FIG. 9 is a flowchart illustrating an example method of encoding video.
  • FIG. 10 is a flowchart illustrating an example method of encoding video in a merge mode.
  • FIG. 11 is a flowchart illustrating an example method of encoding video in an AMVP mode.
  • FIG. 12 is a flowchart illustrating an example method of decoding video.
  • FIG. 13 is a flowchart illustrating an example method of decoding video in a merge mode.
  • FIG. 14 is a flowchart illustrating an example method of decoding video in an AMVP mode.
  • FIG. 15 is a flowchart illustrating another example method of encoding video.
  • FIG. 16 is a flowchart illustrating another example method of decoding video.
  • FIG. 17 is a flowchart illustrating another example method of decoding video in a merge mode.
  • FIG. 18 is a flowchart illustrating another example method of decoding video in an AMVP mode.
  • this disclosure describes techniques for coding video data.
  • This disclosure describes techniques for selecting motion vector prediction candidate blocks in a motion vector prediction process.
  • each of a plurality of motion vector prediction modes uses the same set of candidate blocks to predict a motion vector for a current block.
  • this disclosure proposes that one candidate block in the set of candidate blocks is designated as an additional candidate block. The additional candidate block is used if another one of the blocks in the set is unavailable.
  • Video compression may apply spatial (intra-frame) prediction and/or temporal (inter-frame) prediction techniques to reduce or remove redundancy inherent in video sequences.
  • a video frame may be partitioned into coding units.
  • a coding unit generally refers to an image region that serves as a basic unit to which various coding tools are applied for video compression.
  • a CU usually has a luminance component, denoted as Y, and two chroma components, denoted as U and V.
  • Y luminance component
  • U and V chroma components
  • U and V chroma components
  • U and V two chroma components
  • the size of the U and V components in terms of number of samples, may be the same as or different from the size of the Y component.
  • a CU is typically square, and may be considered to be similar to a so-called macroblock, e.g., under other video coding standards such as ITU-T H.264.
  • a coding unit may have variable sizes depending on video content.
  • a coding unit may be split into smaller blocks for prediction or transform.
  • each coding unit may be further partitioned into prediction units (PUs) and transform units (TUs).
  • Prediction units may be considered to be similar to so-called partitions under other video coding standards, such as H.264.
  • Transform units (TUs) refer to blocks of residual data to which a transform is applied to produce transform coefficients.
  • HEVC standardization efforts are based on a model of a video coding device referred to as the HEVC Test Model (HM).
  • HM HEVC Test Model
  • the HM presumes several capabilities of video coding devices over devices according to, e.g., ITU-T H.264/ AVC. For example, whereas H.264 provides nine intra-prediction encoding modes, HM provides as many as thirty- four intra-prediction encoding modes.
  • a CU may include one or more prediction units (PUs) and/or one or more transform units (TUs).
  • Syntax data within a bitstream may define a largest coding unit (LCU), which is a largest CU in terms of the number of pixels.
  • LCU largest coding unit
  • a CU has a similar purpose to a macroblock of H.264, except that a CU does not have a size distinction.
  • a CU may be split into sub-CUs.
  • references in this disclosure to a CU may refer to a largest coding unit of a picture or a sub-CU of an LCU.
  • An LCU may be split into sub-CUs, and each sub-CU may be further split into sub-CUs.
  • Syntax data for a bitstream may define a maximum number of times an LCU may be split, referred to as CU depth. Accordingly, a bitstream may also define a smallest coding unit (SCU).
  • SCU smallest coding unit
  • An LCU may be associated with a quadtree data structure.
  • a quadtree data structure includes one node per CU, where a root node corresponds to the LCU. If a CU is split into four sub-CUs, the node corresponding to the CU includes four leaf nodes, each of which corresponds to one of the sub-CUs.
  • Each node of the quadtree data structure may provide syntax data for the corresponding CU.
  • a node in the quadtree may include a split flag, indicating whether the CU corresponding to the node is split into sub-CUs. Syntax elements for a CU may be defined recursively, and may depend on whether the CU is split into sub-CUs. If a CU is not split further, it is referred as a leaf-CU.
  • TUs of leaf-CUs may also be associated with respective quadtree data structures. That is, a leaf-CU may include a quadtree indicating how the leaf-CU is partitioned into TUs. This disclosure refers to the quadtree indicating how an LCU is partitioned as a CU quadtree and the quadtree indicating how a leaf-CU is partitioned into TUs as a TU quadtree.
  • the root node of a TU quadtree generally corresponds to a leaf-CU, while the root node of a CU quadtree generally corresponds to an LCU.
  • TUs of the TU quadtree that are not split are referred to as leaf-TUs.
  • a leaf-CU may include one or more prediction units (PUs).
  • a PU represents all or a portion of the corresponding CU, and may include data for retrieving a reference sample for the PU.
  • the PU may include data defining a motion vector for the PU.
  • the data defining the motion vector may describe, for example, a horizontal component of the motion vector, a vertical component of the motion vector, a resolution for the motion vector (e.g., one- quarter pixel precision or one-eighth pixel precision), a reference frame to which the motion vector points, and/or a reference list (e.g., list 0 or list 1) for the motion vector.
  • Data for the leaf-CU defining the PU(s) may also describe, for example, partitioning of the CU into one or more PUs. Partitioning modes may differ depending on whether the CU is not predictively coded, intra-prediction mode encoded, or inter-prediction mode encoded. For intra coding, a PU may be treated the same as a leaf transform unit described below.
  • a predictor for the block is first derived.
  • the predictor can be derived either through intra (I) prediction (i.e. spatial prediction) or inter (P or B) prediction (i.e. temporal prediction).
  • I intra
  • P or B inter
  • some prediction units may be intra-coded (I) using spatial prediction with respect to neighbouring reference blocks in the same frame, and other prediction units may be inter-coded (P or B) with respect to reference blocks in other frames.
  • the difference between the original video data block and its predictor is calculated.
  • This difference is also called the prediction residual, and refers to the pixel value differences between the pixels of the block to be coded and corresponding pixels of the reference block, i.e., predictor.
  • the prediction residual i.e., the array of pixel difference values
  • DCT discrete cosine transform
  • K-L Karhunen-Loeve
  • Coding a PU using inter-prediction involves calculating a motion vector between a current block and a block in a reference frame.
  • Motion vectors are calculated through a process called motion estimation (or motion search).
  • a motion vector may indicate the displacement of a prediction unit in a current frame relative to a reference sample of a reference frame.
  • a reference sample may be a block that is found to closely match the portion of the CU including the PU being coded in terms of pixel difference, which may be determined by sum of absolute difference (SAD), sum of squared difference (SSD), or other difference metrics.
  • the reference sample may occur anywhere within a reference frame or reference slice. In some examples, the reference sample may occur at a fractional pixel position.
  • the encoder determines the current motion vector for the current portion as the difference in the location from the current portion to the matching portion in the reference frame (i.e., from the center of the current portion to the center of the matching portion).
  • an encoder may signal the motion vector for each portion in the encoded video bitstream.
  • the signaled motion vector is used by the decoder to perform motion compensation in order to decode the video data.
  • signaling the original motion vector directly may result in less efficient coding, as a large number of bits are typically needed to convey the information.
  • the encoder may predict a motion vector for each partition, i.e., for each PU. In performing this motion vector prediction, the encoder may select a set of candidate motion vectors determined from spatially neighboring blocks in the same frame as the current portion or a candidate motion vector determined from a co-located block in a reference frame.
  • the encoder may perform motion vector prediction, and if needed, signal the prediction difference rather than signal an original motion vector to reduce bit rate in signaling.
  • the candidate motion vector vectors from the spatially neighboring blocks may be referred to as spatial MVP candidates, whereas the candidate motion vector from the co- located block in another reference frame may be referred to as temporal MVP candidate.
  • merge mode the encoder instructs a decoder, through bitstream signaling of prediction syntax, to copy a motion vector, reference index (identifying a reference frame, in a given reference picture list, to which the motion vector points) and the motion prediction direction (which identifies the reference picture list (List 0 or List 1), i.e., in terms of whether the reference frame temporally precedes or follows the currently frame) from a selected candidate motion vector for a current portion of the frame.
  • reference index identifying a reference frame, in a given reference picture list, to which the motion vector points
  • motion prediction direction which identifies the reference picture list (List 0 or List 1), i.e., in terms of whether the reference frame temporally precedes or follows the currently frame
  • the prediction syntax may include a flag identifying the mode (in this case "merge" mode) and an index identifying the selected candidate motion vector.
  • the candidate motion vector will be in a causal portion in reference to the current portion. That is, the candidate motion vector will have already been decoded by the decoder. As such, the decoder has already received and/or determined the motion vector, reference index, and motion prediction direction for the causal portion.
  • the decoder may simply retrieve the motion vector, reference index, and motion prediction direction associated with the causal portion from memory and copy these values as the motion information for the current portion.
  • the decoder obtains the predictive block using the derived motion information for the current portion, and adds the residual data to the predictive block to reconstruct the coded block.
  • the encoder instructs the decoder, through bitstream signaling, to only copy the motion vector from the candidate portion and use the copied vector as a predictor for motion vector of the current portion, and signals the motion vector difference (MVD).
  • the reference frame and the prediction direction associated with the motion vector of the current portion are signaled separately.
  • An MVD is the difference between the current motion vector for the current portion and a motion vector predictor derived from a candidate portion.
  • the encoder using motion estimation, determines an actual motion vector for the block to be coded, and then determines the difference between the actual motion vector and the motion vector predictor as the MVD value.
  • the decoder does not use an exact copy of the candidate motion vector as the current motion vector, as in the merge mode, but may rather use a candidate motion vector that may be "close" in value to the current motion vector determined from motion estimation and add the MVD to reproduce the current motion vector.
  • the decoder adds the corresponding residual data to reconstruct the coded block.
  • the prediction syntax for AMVP may include a flag for the mode (in this case AMVP flag), the index for the candidate portion, the MVD between the current motion vector and the predictive motion vector from the candidate portion, the reference index, and the motion prediction direction.
  • the encoder compares the matching portion in the reference frame to the current portion. This comparison typically involves subtracting the portion (which is commonly referred to as a "reference sample") in the reference frame from the current portion and results in so-called residual data, as mentioned above.
  • the residual data indicates pixel difference values between the current portion and the reference sample.
  • the encoder then transforms this residual data from the spatial domain to a transform domain, such as the frequency domain.
  • a transform domain such as the frequency domain.
  • the encoder applies a discrete cosine transform (DCT) to the residual data to accomplish this transformation.
  • DCT discrete cosine transform
  • the encoder performs this transformation in order to facilitate the compression of the residual data because the resulting transform coefficients represent different frequencies, wherein the majority of energy is usually concentrated on a few low frequency coefficients.
  • the resulting transform coefficients are grouped together in a manner that enables run-length encoding, especially if the transform coefficients are first quantized (rounded).
  • the encoder performs this run-length encoding of the quantized transform coefficients and then performs statistical lossless (or so-called "entropy") encoding to further compress the run-length coded quantized transform coefficients.
  • the encoder After performing lossless entropy coding, the encoder generates a bitstream that includes the encoded video data.
  • This bitstream also includes a number of prediction syntax elements in certain instances that specify whether, for example, motion vector prediction was performed, the motion vector mode, and a motion vector predictor (MVP) index (i.e., the index of the candidate portion with the selected motion vector).
  • the MVP index may also be referred to as its syntax element variable name "mvp idx.”
  • the encoder performs a number of motion vector prediction modes by which to predict a motion vector for a current portion including 1) AM VP and 2) merge mode described above. These two modes are similar, although AMVP provides for more flexibility in terms of being able to define MVDs, motion prediction directions and reference indices while the merge mode merely copies this motion vector information (i.e., motion vector, motion prediction direction, and reference index) and does not allow for the increased precision of an MVD.
  • AMVP provides for more flexibility in terms of being able to define MVDs, motion prediction directions and reference indices
  • the merge mode merely copies this motion vector information (i.e., motion vector, motion prediction direction, and reference index) and does not allow for the increased precision of an MVD.
  • FIG. 1 A shows the set of candidate blocks 100 (or portions/blocks of a PU) currently proposed in the HEVC standard for use in AMVP mode
  • FIG. IB shows the set of candidate blocks 110 currently proposed in the HEVC standard for use in merge mode
  • AMVP mode uses six candidate blocks: the below left (BL) block 101, the left (L) block 102, the right above (RA) block 103, the above (A) block 104, the left above (LA) block 105, and the temporal block (T) 106. Note that, in addition to a set of candidate blocks, the AMVP mode also specifies an order for checking the candidate blocks. In the example of FIG.
  • the checking pattern proceeds as follows: BL - L - RA -A - LA -T.
  • merge mode uses five candidate blocks: the below left (BL) block 111, the left (L) block 112, the right above (RA) block 113, the above (A) block 114, and the temporal (T) block 115.
  • the motion vectors associated with these candidate blocks are used for determining a motion vector predictor in merge mode and AMVP mode.
  • Merge mode may use a similar checking pattern as AM VP, or may use a different checking pattern.
  • AMVP mode uses six candidate blocks, while merge mode uses five candidate blocks.
  • the candidate blocks for AMVP mode and merge mode are in different locations.
  • RA right above
  • BL below left
  • T temporal
  • the checking pattern for AMVP may not be optimal as the lower left block may not be available in all circumstances. Such circumstances include when the lower left block has not yet been coded (e.g., it is across a slice or CU boundary) or if data for the lower left block is corrupted.
  • a unified candidate block set for both AMVP and merge mode is proposed.
  • the same candidate block set is used regardless of which motion vector prediction mode (e.g., merge mode or AMVP mode) is used.
  • motion vector prediction mode e.g., merge mode or AMVP mode
  • less memory is needed for storing motion vectors and other inter-prediction related information (e.g., reference frame, prediction direction, etc.).
  • techniques for using a set of candidate blocks that includes an additional candidate block are proposed. Also, techniques for a more optimal checking pattern are also disclosed.
  • FIG. 2 is a block diagram illustrating an example video encoding and decoding system 10 that may be configured to utilize techniques for motion vector prediction in accordance with examples of this disclosure.
  • the system 10 includes a source device 12 that transmits encoded video to a destination device 14 via a communication channel 16.
  • Encoded video data may also be stored on a storage medium 34 or a file server 36 and may be accessed by the destination device 14 as desired.
  • video encoder 20 may provide coded video data to another device, such as a network interface, a compact disc (CD), Blu-ray or digital video disc (DVD) burner or stamping facility device, or other devices, for storing the coded video data to the storage medium.
  • a device separate from video decoder 30, such as a network interface, CD or DVD reader, or the like, may retrieve coded video data from a storage medium and provided the retrieved data to video decoder 30.
  • the source device 12 and the destination device 14 may comprise any of a wide variety of devices, including desktop computers, notebook (i.e., laptop) computers, tablet computers, set-top boxes, telephone handsets such as so-called smartphones, televisions, cameras, display devices, digital media players, video gaming consoles, or the like. In many cases, such devices may be equipped for wireless communication.
  • the communication channel 16 may comprise a wireless channel, a wired channel, or a combination of wireless and wired channels suitable for transmission of encoded video data.
  • the file server 36 may be accessed by the destination device 14 through any standard data connection, including an Internet connection.
  • This may include a wireless channel (e.g., a Wi-Fi connection), a wired connection (e.g., DSL, cable modem, etc.), or a combination of both that is suitable for accessing encoded video data stored on a file server.
  • a wireless channel e.g., a Wi-Fi connection
  • a wired connection e.g., DSL, cable modem, etc.
  • a combination of both that is suitable for accessing encoded video data stored on a file server.
  • Techniques for motion vector prediction may be applied to video coding in support of any of a variety of multimedia applications, such as over-the-air television broadcasts, cable television transmissions, satellite television transmissions, streaming video transmissions, e.g., via the Internet, encoding of digital video for storage on a data storage medium, decoding of digital video stored on a data storage medium, or other applications.
  • the system 10 may be configured to support one-way or two-way video transmission to support applications such as video streaming, video playback, video broadcasting, and/or video telephony.
  • the source device 12 includes a video source 18, a video encoder 20, a modulator/demodulator 22 and a transmitter 24.
  • the video source 18 may include a source such as a video capture device, such as a video camera, a video archive containing previously captured video, a video feed interface to receive video from a video content provider, and/or a computer graphics system for generating computer graphics data as the source video, or a combination of such sources.
  • the video source 18 is a video camera
  • the source device 12 and the destination device 14 may form so-called camera phones or video phones.
  • the techniques described in this disclosure may be applicable to video coding in general, and may be applied to wireless and/or wired applications, or application in which encoded video data is stored on a local disk.
  • the captured, pre-captured, or computer-generated video may be encoded by the video encoder 20.
  • the encoded video information may be modulated by the modem 22 according to a communication standard, such as a wireless communication protocol, and transmitted to the destination device 14 via the transmitter 24.
  • the modem 22 may include various mixers, filters, amplifiers or other components designed for signal modulation.
  • the transmitter 24 may include circuits designed for transmitting data, including amplifiers, filters, and one or more antennas.
  • the captured, pre-captured, or computer-generated video that is encoded by the video encoder 20 may also be stored onto a storage medium 34 or a file server 36 for later consumption.
  • the storage medium 34 may include Blu-ray discs, DVDs, CD- ROMs, flash memory, or any other suitable digital storage media for storing encoded video.
  • the encoded video stored on the storage medium 34 may then be accessed by the destination device 14 for decoding and playback.
  • the file server 36 may be any type of server capable of storing encoded video and transmitting that encoded video to the destination device 14.
  • Example file servers include a web server (e.g., for a website), an FTP server, network attached storage (NAS) devices, a local disk drive, or any other type of device capable of storing encoded video data and transmitting it to a destination device.
  • the transmission of encoded video data from the file server 36 may be a streaming transmission, a download transmission, or a combination of both.
  • the file server 36 may be accessed by the destination device 14 through any standard data connection, including an Internet connection.
  • This may include a wireless channel (e.g., a Wi-Fi connection), a wired connection (e.g., DSL, cable modem, Ethernet, USB, etc.), or a combination of both that is suitable for accessing encoded video data stored on a file server.
  • a wireless channel e.g., a Wi-Fi connection
  • a wired connection e.g., DSL, cable modem, Ethernet, USB, etc.
  • a combination of both that is suitable for accessing encoded video data stored on a file server.
  • the destination device 14 in the example of FIG. 2, includes a receiver 26, a modem 28, a video decoder 30, and a display device 32.
  • the receiver 26 of the destination device 14 receives information over the channel 16, and the modem 28 demodulates the information to produce a demodulated bitstream for the video decoder 30.
  • the information communicated over the channel 16 may include a variety of syntax information generated by the video encoder 20 for use by the video decoder 30 in decoding video data. Such syntax may also be included with the encoded video data stored on the storage medium 34 or the file server 36.
  • Each of the video encoder 20 and the video decoder 30 may form part of a respective encoder-decoder (CODEC) that is capable of encoding or decoding video data.
  • CDEC encoder-decoder
  • the display device 32 may be integrated with, or external to, the destination device 14.
  • the destination device 14 may include an integrated display device and also be configured to interface with an external display device.
  • the destination device 14 may be a display device.
  • the display device 32 displays the decoded video data to a user, and may comprise any of a variety of display devices such as a liquid crystal display (LCD), a plasma display, an organic light emitting diode (OLED) display, or another type of display device.
  • LCD liquid crystal display
  • OLED organic light emitting diode
  • the communication channel 16 may comprise any wireless or wired communication medium, such as a radio frequency (RF) spectrum or one or more physical transmission lines, or any combination of wireless and wired media.
  • the communication channel 16 may form part of a packet-based network, such as a local area network, a wide-area network, or a global network such as the Internet.
  • the communication channel 16 generally represents any suitable communication medium, or collection of different communication media, for transmitting video data from the source device 12 to the destination device 14, including any suitable combination of wired or wireless media.
  • the communication channel 16 may include routers, switches, base stations, or any other equipment that may be useful to facilitate communication from the source device 12 to the destination device 14.
  • the video encoder 20 and the video decoder 30 may operate according to a video compression standard, such as the High Efficiency Video Coding (HEVC) standard presently under development, and may conform to the HEVC Test Model (HM).
  • HEVC High Efficiency Video Coding
  • HM HEVC Test Model
  • the video encoder 20 and the video decoder 30 may operate according to other proprietary or industry standards, such as the ITU-T H.264 standard, alternatively referred to as MPEG-4, Part 10, Advanced Video Coding (AVC), or extensions of such standards.
  • the techniques of this disclosure are not limited to any particular coding standard.
  • Other examples include MPEG-2 and ITU-T H.263.
  • the video encoder 20 and the video decoder 30 may each be integrated with an audio encoder and decoder, and may include appropriate MUX-DEMUX units, or other hardware and software, to handle encoding of both audio and video in a common data stream or separate data streams. If applicable, in some examples, MUX-DEMUX units may conform to the ITU H.223 multiplexer protocol, or other protocols such as the user datagram protocol (UDP).
  • MUX-DEMUX units may conform to the ITU H.223 multiplexer protocol, or other protocols such as the user datagram protocol (UDP).
  • the video encoder 20 and the video decoder 30 each may be implemented as any of a variety of suitable encoder circuitry, such as one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), discrete logic, software, hardware, firmware or any combinations thereof.
  • DSPs digital signal processors
  • ASICs application specific integrated circuits
  • FPGAs field programmable gate arrays
  • a device may store instructions for the software in a suitable, non-transitory computer- readable medium and execute the instructions in hardware using one or more processors to perform the techniques of this disclosure.
  • Each of the video encoder 20 and the video decoder 30 may be included in one or more encoders or decoders, either of which may be integrated as part of a combined encoder/decoder (CODEC) in a respective device.
  • CODEC combined encoder/decoder
  • the video encoder 20 may implement any or all of the techniques of this disclosure for motion vector prediction in a video encoding process.
  • the video decoder 30 may implement any or all of these techniques motion vector prediction in a video coding process.
  • a video coder, as described in this disclosure, may refer to a video encoder or a video decoder.
  • a video coding unit may refer to a video encoder or a video decoder.
  • video coding may refer to video encoding or video decoding.
  • the video encoder 20 of the source device 12 may be configured to determine one of a plurality of modes for a motion vector prediction process, and perform the motion vector prediction process for the current block of video data using the determined mode and a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes.
  • the video encoder 20 of the source device 12 may be configured to determine one of a plurality of modes for a motion vector prediction process for a current block of video data, and perform the motion vector prediction process for the current block using the determined mode and a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, and wherein the additional candidate block is used if another of the candidate blocks of the set of candidate blocks is unavailable
  • the video decoder 30 of the destination device 14 may be configured to receive a syntax element indicating one of a plurality of modes for a motion vector prediction process for a current block of video data, and receive an index indicating a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein information associated with the candidate block is used to decode a motion vector for the current block.
  • the video decoder 30 of the destination device 14 may be configured to receive a syntax element indicating one of a plurality of modes for a motion vector prediction process for a current block of video data, and receive an index indicating a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, wherein the additional candidate block is used if another of the candidate blocks of the set of candidate blocks is unavailable, and wherein information associated with the candidate block is used to decode a motion vector for the current block.
  • FIG. 3 is a block diagram illustrating an example of a video encoder 20 that may use techniques for motion vector prediction as described in this disclosure.
  • the video encoder 20 will be described in the context of HEVC coding for purposes of illustration, but without limitation of this disclosure as to other coding standards or methods that may require scanning of transform coefficients.
  • the video encoder 20 may perform intra- and inter-coding of CUs within video frames.
  • Intra-coding relies on spatial prediction to reduce or remove spatial redundancy in video data within a given video frame.
  • Inter-coding relies on temporal prediction to reduce or remove temporal redundancy between a current frame and previously coded frames of a video sequence.
  • Intra-mode I -mode
  • Inter-modes such as uni-directional prediction (P-mode) or bi-directional prediction (B-mode) may refer to any of several temporal-based video compression modes.
  • the video encoder 20 receives a current video block within a video frame to be encoded.
  • the video encoder 20 includes a motion compensation unit 44, a motion estimation unit 42, an intra-prediction unit 46, a reference frame buffer 64, a summer 50, a transform module 52, a quantization unit 54, and an entropy encoding unit 56.
  • the transform module 52 illustrated in FIG. 3 is the structure or apparatus that applies the actual transform or combinations of transform to a block of residual data, and is not to be confused with block of transform coefficients, which may be referred to as a transform unit (TU) of a CU.
  • TU transform unit
  • the video encoder 20 also includes an inverse quantization unit 58, an inverse transform module 60, and a summer 62.
  • a deblocking filter (not shown in FIG. 3) may also be included to filter block boundaries to remove blockiness artifacts from reconstructed video. If desired, the deblocking filter would typically filter the output of the summer 62.
  • the video encoder 20 receives a video frame or slice to be coded. The frame or slice may be divided into multiple video blocks, e.g., largest coding units (LCUs).
  • LCUs largest coding units
  • the compensation unit 44 perform inter-predictive coding of the received video block relative to one or more blocks in one or more reference frames to provide temporal compression.
  • the intra-prediction unit 46 may perform intra-predictive coding of the received video block relative to one or more neighboring blocks in the same frame or slice as the block to be coded to provide spatial compression.
  • the mode select unit 40 may select one of the coding modes, intra or inter, e.g., based on error (i.e., distortion) results for each mode, and provides the resulting intra- or inter-predicted block (e.g., a prediction unit (PU)) to the summer 50 to generate residual block data and to the summer 62 to reconstruct the encoded block for use in a reference frame.
  • Summer 62 combines the predicted block with inverse quantized, inverse transformed data from inverse transform module 60 for the block to reconstruct the encoded block, as described in greater detail below.
  • Some video frames may be designated as I-frames, where all blocks in an I-frame are encoded in an intra-prediction mode.
  • the intra-prediction unit 46 may perform intra-prediction encoding of a block in a P- or B-frame, e.g., when motion search performed by the motion estimation unit 42 does not result in a sufficient prediction of the block.
  • the motion estimation unit 42 and the motion compensation unit 44 may be highly integrated, but are illustrated separately for conceptual purposes.
  • Motion estimation is the process of generating motion vectors, which estimate motion for video blocks.
  • a motion vector for example, may indicate the displacement of a prediction unit in a current frame relative to a reference sample of a reference frame.
  • the motion estimation unit 42 calculates a motion vector for a prediction unit of an inter-coded frame by comparing the prediction unit to reference samples of a reference frame stored in the reference frame buffer 64.
  • a reference sample may be a block that is found to closely match the portion of the CU including the PU being coded in terms of pixel difference, which may be determined by sum of absolute difference (SAD), sum of squared difference (SSD), or other difference metrics.
  • SAD sum of absolute difference
  • SSD sum of squared difference
  • the reference sample may occur anywhere within a reference frame or reference slice. In some examples, the reference sample may occur at a fractional pixel location.
  • the portion of the reference frame identified by a motion vector may be referred to as a reference sample.
  • the motion compensation unit 44 may calculate a prediction value for a prediction unit of a current CU, e.g., by retrieving the reference sample identified by a motion vector for the PU.
  • the motion estimation unit 42 sends the calculated motion vector, reference frame, and prediction direction (i.e., the direction in terms of whether the reference frame temporally precedes or follows the current frame) to the entropy encoding unit 56 and the motion compensation unit 44.
  • Other video encoding techniques utilize a motion vector prediction process to encode the motion vector.
  • the motion vector prediction process may be chosen from among a plurality of modes, including a merge mode and an AMVP mode.
  • the encoder In merge mode, the encoder considers a set of candidate blocks and selects a block that has the same (or most closely matches) motion vector, reference frame, and prediction direction as the current block. This is accomplished by checking each candidate block in turn and choosing the one that yields the best rate-distortion performance once its motion vector, reference frame, and prediction direction are copied to the current block. Then, rather than signaling this motion vector information (i.e., the motion vector, reference frame, and prediction direction) in the encoded video bitstream, the encoder signals an index number for the selected candidate block. A decoder may copy the motion vector information from the candidate block indicated by the signaled index number and use the copied motion vector information for a current block.
  • FIG. 4A shows an example of merge mode signaling.
  • a merge flag 201 indicates that merge mode is being used.
  • Candidate block index 202 indicates which of the candidate blocks from the set of candidate blocks defined for merge mode is to be used to retrieve motion vector information for the current block.
  • some "artificial" motion vector information may be generated to fill in the candidate set.
  • the “artificial” motion vector information may be generated through partial combinations of motion vector information from different candidate blocks.
  • the List 0 motion vector from candidate block 1 may be combined with the List 1 motion vector from candidate 2, together with reference frame index and prediction direction, to form new motion vector information in the candidate set.
  • zero motion vectors may also be added as additional motion vector information to fill in the candidate set.
  • an index into the candidate set needs to be signaled to decoder to indicate which candidate is selected to provide motion vector information for a current block. At the decoder side, the same candidate set is formed and motion vector information can be identified through the signaled index into the candidate set.
  • the encoder considers a set of candidate blocks and selects a block that produces a motion vector difference (i.e., a difference between the motion vector of a respective candidate block and the actual motion vector of the current block) that results in the best rate-distortion or meets some predetermined threshold (e.g., a rate-distortion threshold).
  • the AMVP mode may consider the candidate blocks in a checking pattern until a satisfactory candidate is found and chosen. Alternatively, in some examples, all candidate blocks could be checked, and a candidate block yielding the best result is selected as the MVP for the block to be coded.
  • the encoder may then signal an index for the candidate block used to produce the motion vector difference along with the motion vector difference.
  • a decoder may then recreate the motion vector for the current block by adding the received motion vector difference to the motion vector retrieved from the candidate block indicated by the signaled index.
  • FIG. 4B shows an example of AMVP mode signaling.
  • An AMVP mode flag 205 indicates that AMVP mode is being used.
  • Candidate block index 206 indicates which of the candidate blocks from the set of candidate blocks defined for AMVP mode is to be used to retrieve a motion vector.
  • AMVP mode also signals the motion vector difference 207, the reference frame 208 and the prediction direction 209. In some examples, instead of explicitly signaling the reference frame and the prediction direction, the reference frame and prediction direction are instead retrieved from motion vector information associated with the candidate block.
  • signaling the motion vector information in the encoded bitstream does not require real-time transmission of such elements from the encoder to a decoder, but rather means that such information is encoded into the bitstream and are made accessible to the decoder in any fashion.
  • This may include realtime transmission (e.g., in video conferencing) as well as storing the encoded bitstream on a computer-readable medium for future use by a decoder (e.g., in streaming, downloading, disk access, card access, DVD, Blu-ray, etc.).
  • the merge mode and the AMVP mode utilize the same set of candidate blocks (i.e., in terms of both number and location of the blocks).
  • both the encoder and decoder may reduce the amount of memory needed to store motion vector information for the candidate blocks. It may also reduce the memory bandwidth requirement in retrieving those motion vectors during the coding process of a current block.
  • the merge mode and the AMVP mode both use the same set of candidate blocks 120 shown in FIG. 5 A.
  • merge mode would now use six candidate blocks instead of five.
  • the total number of candidate blocks for both merge mode and AMVP mode is reduced, as both modes use candidate blocks in the same locations.
  • the candidate blocks are in the below left (BL) 121, left (L) 122, left above (LA) 125, above (A) 124, right above (RA) 123, and temporal (T) 126 positions as shown in Figure 5 A.
  • the left candidate block 122 is adjacent the left edge of the current block 127.
  • the lower edge of the left block 122 is aligned with the lower edge of the current block 127.
  • the above block 124 is adjacent the upper edge of the current block 127.
  • the right edge of the above block 124 is aligned with the right edge of the current block 127.
  • the AMVP mode and the merge mode use the set of candidate blocks 130 shown in FIG. 5B.
  • the number of candidate blocks for the AMVP mode is reduced to 5. Further reduction of candidate blocks is achieved, as both merge mode and AMVP mode now use candidate blocks in the same locations.
  • the candidate blocks are in the below left (BL) 131, left (L) 132, above (A) 134, right above (RA) 133, and temporal (T) 135 locations. Note that the locations of the above block 134 and left block 132 differ from the locations of the above block 124 and left block 122 in the example of FIG. 5 A.
  • the left candidate block 132 is adjacent the left edge of the current block 137.
  • the upper edge of the left block 132 is aligned with the upper edge of the current block 137.
  • the above block 134 is adjacent the upper edge of the current block 137.
  • the left edge of the above block 134 is aligned with the left edge of the current block 137.
  • the checking pattern for AMVP mode proceeds as follows: BL - L - RA - A -T.
  • the merge mode and the AMVP mode use the set of candidate blocks 140 shown in FIG. 6.
  • the number of candidate blocks is reduced; both by reducing the total number for each mode to 5, as well as by unifying the candidate block locations for both modes.
  • the candidate blocks are in the below left (BL) 141, left (L) 142, above (A) 143, right above (RA) 144, and temporal (T) 145.
  • the left candidate block 142 is adjacent the left edge of the current block 147.
  • the lower edge of the left block 142 is aligned with the lower edge of the current block 147.
  • the above block 143 is adjacent the upper edge of the current block 147.
  • the right edge of the above block 143 is aligned with the right edge of the current block 147.
  • the disclosure describes an improved checking pattern for AMVP mode.
  • the checking pattern proceeds as follows: L-BL-A-RA-LA-T.
  • the example in FIG. 7 starts at the L candidate block.
  • the left side blocks are generally more correlated to the current block, as video content typically moves in a horizontal direction.
  • the L candidate block is checked first, because the BL candidate block may not be available (i.e., may not have already been coded) in all situations.
  • the A candidate block is checked before the RA candidate block, as the motion vector of the A candidate block has been shown to have a higher statistical correlation to the motion vector of the current block than that of the RA candidate block.
  • Merge mode may use the same checking pattern shown in FIG. 7, or may use a different checking pattern.
  • the checking pattern for merge mode may proceed as follows: L-A-RA-BL-(LA)-T.
  • the inclusion of the LA block is optional or adaptive depending on if one of the first four candidate blocks is unavailable.
  • FIG. 7 is shown with reference to the set of candidate blocks of FIG. 5 A.
  • this checking pattern may be applicable with any candidate set.
  • the left candidate block should be checked before the below left candidate block.
  • the above candidate block should be checked before the right above candidate block. Any remaining candidate blocks may then be checked in any order.
  • the temporal candidate block may be checked last.
  • the BL candidate block may not have been coded yet at the time the current block is coded.
  • the data for some candidate blocks may become corrupted or may not have been received at all (e.g., in real-time decoding).
  • this disclosure proposes utilizing additional candidate blocks in situations where a candidate block in the set is found to be unavailable. In this way, the total number of candidates is kept at the maximum limit without wasting a check on an unavailable candidate.
  • the L and BL candidates are first checked by the encoder or decoder, as applicable. If one of these candidate blocks is not valid (e.g., is corrupted) or not available, an additional candidate block (e.g., LA) may be used instead. If both the L and BL candidate blocks are valid, the A and RA candidate blocks are checked. If one of these candidate blocks is not valid or not available, the LA candidate block may be used instead. If both the A and RA candidate blocks are valid, the LA candidate block will not be used. In this example, the LA candidate block is used as the additional candidate block. However, any additional candidate block in any causal position (i.e., in a position, relative to the current block, where the candidate block has already been coded) relative to the current block may be used.
  • LA additional candidate block
  • all candidate blocks shown in FIG. 5A will be used.
  • the first N available candidate blocks in a checking pattern will be used as the candidate blocks for the merge mode.
  • the first N available candidate blocks in the checking pattern will form the final set of candidate blocks for the merge mode.
  • the checking pattern is fixed.
  • the checking pattern can be selected based on block size, partition size, and/or partition index.
  • the checking pattern can be updated adaptively during encoding and decoding. The update can depend on merge index, motion vector prediction mode, partition size, partition index, and/or motion vector information (e.g., reference index, motion vector difference, motion vector predictor) of previously encoded/decoded blocks.
  • AMVP mode in the current working draft of the HEVC standard already allows for checking all six candidate blocks shown in FIG. 5A. However, as mentioned above, some of these candidate blocks may be unavailable or invalid. In such a case, an additional merge candidate may be defined. Such a merge candidate may be in any position that is causal to the current PU.
  • the intra-prediction unit 46 may perform intra-prediction on the received block, as an alternative to inter-prediction performed by the motion estimation unit 42 and the motion compensation unit 44.
  • the intra-prediction unit 46 may predict the received block relative to neighboring, previously coded blocks, e.g., blocks above, above and to the right, above and to the left, or to the left of the current block, assuming a left-to-right, top-to-bottom encoding order for blocks.
  • the intra- prediction unit 46 may be configured with a variety of different intra-prediction modes.
  • the intra-prediction unit 46 may be configured with a certain number of directional prediction modes, e.g., thirty-four directional prediction modes, based on the size of the CU being encoded.
  • the intra-prediction unit 46 may select an intra-prediction mode by, for example, calculating prediction error values for various intra-prediction modes and selecting a mode that yields the lowest error value.
  • Directional prediction modes may include functions for combining values of spatially neighboring pixels and applying the combined values to one or more pixel positions in a PU. Once values for all pixel positions in the PU have been calculated, the intra-prediction unit 46 may calculate an error value for the prediction mode based on pixel differences between the calculated or predicted values of the PU and the received original block to be encoded. The intra- prediction unit 46 may continue testing intra-prediction modes until an intra-prediction mode that yields an acceptable error value is discovered. The intra-prediction unit 46 may then send the PU to the summer 50.
  • the video encoder 20 forms a residual block by subtracting the prediction data calculated by the motion compensation unit 44 or the intra-prediction unit 46 from the original video block being coded.
  • the summer 50 represents the component or components that perform this subtraction operation.
  • the residual block may correspond to a two-dimensional matrix of pixel difference values, where the number of values in the residual block is the same as the number of pixels in the PU corresponding to the residual block.
  • the values in the residual block may correspond to the differences, i.e., error, between values of co-located pixels in the PU and in the original block to be coded.
  • Such an operation is applied to both luma and chroma components, so the differences may be chroma or luma differences depending on the type of block that is coded.
  • the transform module 52 may form one or more transform units (TUs) from the residual block.
  • the transform module 52 selects a transform from among a plurality of transforms.
  • the transform may be selected based on one or more coding characteristics, such as block size, coding mode, or the like.
  • the transform module 52 then applies the selected transform to the TU, producing a video block comprising a two-dimensional array of transform coefficients.
  • the transform module 52 may send the resulting transform coefficients to the quantization unit 54.
  • the quantization unit 54 may then quantize the transform coefficients.
  • the entropy encoding unit 56 may then perform a scan of the quantized transform coefficients in the matrix according to a scanning mode. This disclosure describes the entropy encoding unit 56 as performing the scan. However, it should be understood that, in other examples, other processing units, such as the quantization unit 54, could perform the scan.
  • the entropy encoding unit 56 may apply entropy coding such as context adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), syntax- based context-adaptive binary arithmetic coding (SBAC), or another entropy coding methodology to the coefficients.
  • Entropy coding may also be applied to syntax elements, such as syntax elements used in merge mode and AMVP mode.
  • the entropy encoding unit 56 may select a variable length code for a symbol to be transmitted.
  • Codewords in VLC may be constructed such that relatively shorter codes correspond to more likely symbols, while longer codes correspond to less likely symbols. In this way, the use of VLC may achieve a bit savings over, for example, using equal-length codewords for each symbol to be transmitted.
  • the entropy encoding unit 56 may select a context model to apply to a certain context to encode symbols to be transmitted.
  • the context may relate to, for example, whether neighboring values are non-zero or not.
  • the entropy encoding unit 56 may also entropy encode syntax elements, such as the signal representative of the selected transform.
  • the entropy encoding unit 56 may select the context model used to encode these syntax elements based on, for example, an intra-prediction direction for intra-prediction modes, a scan position of the coefficient corresponding to the syntax elements, block type, and/or transform type, among other factors used for context model selection.
  • the resulting encoded video may be transmitted to another device, such as the video decoder 30, or archived for later transmission or retrieval.
  • the entropy encoding unit 56 or another unit of the video encoder 20 may be configured to perform other coding functions, in addition to entropy coding.
  • the entropy encoding unit 56 may be configured to determine coded block pattern (CBP) values for CU's and PU's.
  • CBP coded block pattern
  • the entropy encoding unit 56 may perform run length coding of coefficients.
  • the inverse quantization unit 58 and the inverse transform module 60 apply inverse quantization and inverse transformation, respectively, to reconstruct the residual block in the pixel domain, e.g., for later use in reconstructing a reference block.
  • the motion compensation unit 44 may calculate a reference block by adding the residual block to a predictive block formed from one of the frames of the reference frame buffer 64.
  • the motion compensation unit 44 may also apply one or more interpolation filters to the reconstructed reference block to calculate sub-integer pixel values for use in motion estimation.
  • the summer 62 adds the reconstructed residual block to the motion compensated prediction block produced by the motion compensation unit 44 to produce a reconstructed video block for storage in the reference frame buffer 64.
  • the reconstructed video block may be used by the motion estimation unit 42 and the motion compensation unit 44 as a reference block to inter-code a block in a subsequent video frame.
  • FIG. 8 is a block diagram illustrating an example of a video decoder 30, which decodes an encoded video sequence.
  • the video decoder 30 includes an entropy decoding unit 70, a motion compensation unit 72, an intra- prediction unit 74, an inverse quantization unit 76, an inverse transform module 78, a reference frame buffer 82 and a summer 80.
  • the video decoder 30 may, in some examples, perform a decoding pass generally reciprocal to the encoding pass described with respect to the video encoder 20 (see FIG. 3).
  • the entropy decoding unit 70 performs an entropy decoding process on the encoded bitstream to retrieve a one-dimensional array of transform coefficients.
  • the entropy decoding process used depends on the entropy coding used by the video encoder 20 (e.g., CABAC, CAVLC, etc.).
  • the entropy coding process used by the encoder may be signaled in the encoded bitstream or may be a predetermined process.
  • the entropy decoding unit 70 (or the inverse quantization unit 76) may scan the received values using a scan mirroring the scanning mode used by the entropy encoding unit 56 (or the quantization unit 54) of the video encoder 20.
  • scanning of coefficients may be performed in the inverse quantization unit 76, scanning will be described for purposes of illustration as being performed by the entropy decoding unit 70.
  • the structure and functionality of the entropy decoding unit 70, the inverse quantization unit 76, and other units of the video decoder 30 may be highly integrated with one another.
  • the inverse quantization unit 76 inverse quantizes, i.e., de-quantizes, the quantized transform coefficients provided in the bitstream and decoded by the entropy decoding unit 70.
  • the inverse quantization process may include a conventional process, e.g., similar to the processes proposed for HEVC or defined by the H.264 decoding standard.
  • the inverse quantization process may include use of a quantization parameter QP calculated by the video encoder 20 for the CU to determine a degree of quantization and, likewise, a degree of inverse quantization that should be applied.
  • the inverse quantization unit 76 may inverse quantize the transform coefficients either before or after the coefficients are converted from a one-dimensional array to a two-dimensional array.
  • the inverse transform module 78 applies an inverse transform to the inverse quantized transform coefficients.
  • the inverse transform module 78 may determine an inverse transform based on signaling from the video encoder 20, or by inferring the transform from one or more coding characteristics such as block size, coding mode, or the like.
  • the inverse transform module 78 may determine a transform to apply to the current block based on a signaled transform at the root node of a quadtree for an LCU including the current block. Alternatively, the transform may be signaled at the root of a TU quadtree for a leaf-node CU in the LCU quadtree.
  • the inverse transform module 78 may apply a cascaded inverse transform, in which inverse transform module 78 applies two or more inverse transforms to the transform coefficients of the current block being decoded.
  • the intra-prediction unit 74 may generate prediction data for a current block of a current frame based on a signaled intra-prediction mode and data from previously decoded blocks of the current frame.
  • the video decoder 30 may receive, from the encoded bitstream, prediction syntax that identifies the motion vector prediction mode and associated motion vector information (e.g., see FIGS. 4A and 4B and related discussion).
  • the video decoder 30 may receive an index indicating a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein information associated with the candidate block is used to decode a motion vector for the current block.
  • the set of candidate blocks may be the sets shown in FIG. 5A, FIG. 5B, or FIG. 6, or any other set of candidate blocks causal to the current block.
  • the video decoder is further configured to retrieve a motion vector, a reference frame, and a prediction direction associated with the candidate block having the received index, and to perform an inter-prediction process for the current block using the retrieved motion vector, reference frame, and prediction direction.
  • the video decoder is further configured to receive a reference frame index, a motion vector difference, and a syntax element indicating a prediction direction, retrieve a candidate motion vector associated with the candidate block having the received index, calculate a motion vector for the current block using the candidate motion vector and the motion vector difference, and perform an inter-prediction process using the calculated motion vector, the received reference frame index, and the received prediction direction.
  • AMVP adaptive motion vector prediction
  • the motion compensation unit produces a motion compensated block for the current block. These motion compensated blocks essentially recreate the predictive block used to produce the residual data.
  • the motion compensation unit 72 may produce the motion compensated blocks, possibly performing interpolation based on interpolation filters. Identifiers for interpolation filters to be used for motion estimation with sub-pixel precision may be included in the syntax elements.
  • the motion compensation unit 72 may use interpolation filters as used by the video encoder 20 during encoding of the video block to calculate interpolated values for sub-integer pixels of a reference block.
  • the motion compensation unit 72 may determine the interpolation filters used by the video encoder 20 according to received syntax information and use the interpolation filters to produce predictive blocks.
  • the motion compensation unit 72 and the intra-prediction unit 74 may use some of the syntax information (e.g., provided by a quadtree) to determine sizes of LCUs used to encode frame(s) of the encoded video sequence.
  • the motion compensation unit 72 and the intra-prediction unit 74 may also use syntax information to determine split information that describes how each CU of a frame of the encoded video sequence is split (and likewise, how sub-CUs are split).
  • the syntax information may also include modes indicating how each CU is encoded (e.g., intra- or inter-prediction, and for intra-prediction an intra-prediction encoding mode), one or more reference frames (and/or reference lists containing identifiers for the reference frames) for each inter-encoded PU, and other information to decode the encoded video sequence.
  • modes indicating how each CU is encoded e.g., intra- or inter-prediction, and for intra-prediction an intra-prediction encoding mode
  • one or more reference frames and/or reference lists containing identifiers for the reference frames
  • the summer 80 combines the residual blocks with the corresponding prediction blocks generated by the motion compensation unit 72 or the intra-prediction unit 74 to form decoded blocks.
  • the decoded blocks in effect, reconstruct the originally coded blocks, subject to loss due to quantization or other coding aspects. If desired, a deblocking filter may also be applied to filter the decoded blocks in order to remove blockiness artifacts.
  • the decoded video blocks are then stored in the reference frame buffer 82, which provides reference blocks for subsequent motion compensation and also produces decoded video for presentation on a display device (such as the display device 32 of FIG. 2).
  • an encoder utilizes the same set of candidate blocks to perform a motion vector prediction process (e.g., a merge mode and an AMVP mode).
  • a decoder may then decode the motion vector based on syntax elements received using the same set of candidate blocks used by the encoder.
  • the amount of memory needed to store motion vector information e.g., motion vector, prediction direction, reference frame indices, etc.
  • the memory bandwidth requirement in retrieving the motion vector information from those candidate blocks can also be reduced.
  • FIG. 9 is a flowchart illustrating an example method of encoding video, which may be performed by a video encoder, such as the video encoder 20 of FIG. 3.
  • Video encoder 20 may be configured to determine a motion vector relative to a reference frame for a current block of video data (900).
  • the video encoder 20 may also determine one of a plurality of modes (e.g., merge mode or AMVP) for a motion vector prediction process (901), and perform the motion vector prediction process for the current block of video data using the determined mode and a set of candidate blocks.
  • the set of candidate blocks is the same for each of the plurality of modes.
  • the plurality of modes may include a merge mode and an adaptive motion vector prediction mode.
  • FIG. 10 illustrates an example method of encoding video when the motion vector prediction process is in the merge mode.
  • the video encoder is further configured to determine a candidate motion vector from the set of candidate blocks that yields a satisfactory rate-distortion performance once its motion vector, reference frame, and prediction direction are copied to the current block (1001) and signal an index identifying the candidate motion vector (1002).
  • the set of candidate blocks may include an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block.
  • the left candidate block is adjacent a left edge of the current block and a top edge of the left candidate block is aligned with a top edge of the current block.
  • the above candidate block is adjacent the top edge of the current block and a left edge of the above candidate block is aligned with the left edge of the current block.
  • the left candidate block is adjacent a left edge of the current block and a bottom edge of the left candidate block is aligned with a bottom edge of the current block.
  • the above candidate block is adjacent a top edge of the current block and a right edge of the above candidate block is aligned with a right edge of the current block.
  • the set of candidate blocks includes a left above candidate block, an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block.
  • FIG. 11 illustrates an example method of encoding video when the motion vector prediction process is in the AMVP mode.
  • the video encoder is configured to determine a candidate motion vector from each candidate block in the set of candidate blocks (1101) and calculate a motion vector difference between the motion vector for the current block and the candidate motion vector from each of the candidate blocks according to a checking pattern (1102).
  • the video encoder is also configured to select one of the candidate motion vectors based on the calculated motion vector differences (1103), and to signal an index identifying the candidate block having the selected one of the candidate motion vectors, to signal the motion vector difference calculated with respect to the selected one of the candidate motion vectors, to signal the reference frame, and to signal the prediction direction (1104).
  • the set of candidate blocks includes an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block.
  • the checking pattern proceeds in the following order: below left candidate block, left candidate block, right above candidate block, above candidate block, temporal candidate block.
  • the set of candidate blocks includes a left above candidate block, an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block.
  • the checking pattern proceeds in the following order: left candidate block, below left candidate block, above candidate block, right above candidate block, left above candidate block, temporal candidate block.
  • FIG. 12 is a flowchart illustrating an example method of decoding video, which may be performed by a video decoder, such as the video decoder 30 of FIG. 3.
  • Video decoder 30 may be configured to receive a syntax element indicating one of a plurality of modes for a motion vector prediction process for a current block of video data (1201), and to receive an index indicating a candidate block from a set of candidate blocks (1202), wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein information associated with the candidate block is used to decode a motion vector for the current block.
  • the plurality of modes may include a merge mode and an adaptive motion vector prediction mode.
  • FIG. 13 is a flowchart illustrating an example method of decoding video in the case that the motion vector prediction process is the merge mode.
  • the video decoder is further configured to retrieve a motion vector, a reference frame, and a prediction direction associated with the candidate block having the received index (1301), and to perform an inter-prediction process on the current block using the retrieved motion vector, reference frame, and prediction direction (1302).
  • the set of candidate blocks includes an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block.
  • the left candidate block is adjacent a left edge of the current block and a top edge of the left candidate block is aligned with a top edge of the current block.
  • the above candidate block is adjacent the top edge of the current block and a left edge of the above candidate block is aligned with the left edge of the current block.
  • the left candidate block is adjacent a left edge of the current block and a bottom edge of the left candidate block is aligned with a bottom edge of the current block.
  • the above candidate block is adjacent a top edge of the current block and a right edge of the above candidate block is aligned with a right edge of the current block.
  • the set of candidate blocks includes a left above candidate block, an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block.
  • FIG. 14 is a flowchart illustrating an example method of decoding video in the case that the motion vector prediction process is the AMVP mode.
  • the video decoder is configured to receive a reference frame index, a motion vector difference, and a syntax element indicating a prediction direction (1401), and to retrieve a candidate motion vector associated with the candidate block having the received index
  • the video decoder is further configured to calculate a motion vector for the current block using the candidate motion vector and the motion vector difference
  • the set of candidate blocks includes an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block
  • a checking pattern for the set of candidate blocks proceeds in the following order: below left candidate block, left candidate block, right above candidate block, above candidate block, temporal candidate block.
  • the set of candidate blocks includes a left above candidate block, an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block
  • a checking pattern for the set of candidate blocks proceeds in the following order: left candidate block, below left candidate block, above candidate block, right above candidate block, left above candidate block, temporal candidate block.
  • FIG. 15 is a flowchart illustrating another example method of encoding video, which may be performed by a video encoder, such as the video encoder 20 of FIG. 3.
  • the video encoder 20 may be configured to determine a motion vector relative to a reference frame for a current block of video data (1501), to determine one of a plurality of modes for a motion vector prediction process for a current block of video data (1502), and to perform the motion vector prediction process for the current block using the determined mode and a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein one candidate block in the set of candidate blocks is designated as an additional candidate block (1503).
  • the additional candidate block is used if another of the candidate blocks of the set of candidate blocks is unavailable.
  • the video encoder 20 may be further configured to update a checking pattern based one or more of a merge index, a determined mode, a partition size, a reference frame index, a motion vector difference, and a motion vector prediction (1504).
  • the plurality of modes may include a merge mode and an adaptive motion vector prediction mode.
  • the merge mode may have a maximum number N of candidate blocks for use in performing the motion vector prediction process.
  • the motion vector prediction process is performed according to a checking pattern, the checking pattern defining an order for checking each of candidate blocks in the set of candidate blocks.
  • the set of candidate blocks is defined as the first N available candidate blocks in the set of candidate blocks along the checking pattern.
  • the checking pattern may be based on one or more of a block size, a partition size, and a partition index. More specifically, for example, the checking pattern for each different block size, partition size or partition index can be updated or modified based on the statistics of candidate selection in a number of previous coded blocks having the same block size, partition size or partition index, etc.
  • the set of candidate blocks include a below left candidate block, a left candidate block, an above candidate block, a right above candidate block, a left above candidate block, and a temporal candidate block.
  • the additional candidate block is the left above candidate block.
  • the additional candidate block may be any candidate block that is in a causal relationship to the current block.
  • FIG. 16 is a flowchart illustrating another example method of decoding video, which may be performed by a video decoder, such as the video decoder 30 of FIG. 3.
  • the video decoder 30 may be configured to receive a syntax element indicating one of a plurality of modes for a motion vector prediction process for a current block of video data (1601), and to receive an index indicating a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, wherein one candidate block in the set of candidate blocks is designated as an additional candidate block (1602).
  • the additional candidate block is used if another of the candidate blocks of the set of candidate blocks is unavailable.
  • the information associated with the candidate block is used to decode a motion vector for the current block.
  • the plurality of modes may include a merge mode and an adaptive motion vector prediction mode.
  • FIG. 17 depicts a method of decoding in the case that the received syntax element indicates the merge mode is used.
  • the video decoder is further configured to retrieve a motion vector, a reference frame, and a prediction direction associated with the candidate block having the received index (1701), and to perform an inter-prediction process on the current block using the retrieved motion vector, reference frame, and prediction direction (1702).
  • the merge mode may be defined as having a maximum number N of candidate blocks for use in performing the motion vector prediction process.
  • the motion vector prediction process may be performed according to a checking pattern, the checking pattern defining an order for checking each of candidate blocks in the set of candidate blocks.
  • the set of candidate blocks is defined as the first N available candidate blocks in the set of candidate blocks along the checking pattern.
  • the checking pattern is based on one or more of a block size, a partition size, and a partition index.
  • the set of candidate blocks may include a below left candidate block, a left candidate block, an above candidate block, a right above candidate block, a left above candidate block, and a temporal candidate block.
  • the additional candidate block is the left above candidate block.
  • the additional candidate block may be any candidate block that is in a causal relationship to the current block.
  • FIG. 18 depicts a method of decoding in the case that the received syntax element indicates the AMVP mode is used.
  • the video decoder is further configured to receive a reference frame index, a motion vector difference, and a syntax element indicating a prediction direction (1801), and to retrieve a candidate motion vector associated with the candidate block having the received index (1802).
  • the video decoder is further configured to calculate a motion vector for the current block using the candidate motion vector and the motion vector difference (1803), and perform an inter- prediction process using the calculated motion vector, the received reference frame index, and the received prediction direction (1804).
  • the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over, as one or more instructions or code, a computer-readable medium and executed by a hardware-based processing unit.
  • Computer-readable media may include computer-readable storage media, which corresponds to a tangible medium such as data storage media, or communication media including any medium that facilitates transfer of a computer program from one place to another, e.g., according to a communication protocol.
  • computer- readable media generally may correspond to (1) tangible computer-readable storage media which is non-transitory or (2) a communication medium such as a signal or carrier wave.
  • Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code and/or data structures for implementation of the techniques described in this disclosure.
  • a computer program product may include a computer-readable medium.
  • such computer-readable storage media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage, or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium.
  • coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave are included in the definition of medium.
  • DSL digital subscriber line
  • computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transient media, but are instead directed to non-transient, tangible storage media.
  • Disk and disc includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
  • processors such as one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry.
  • DSPs digital signal processors
  • ASICs application specific integrated circuits
  • FPGAs field programmable logic arrays
  • processors may refer to any of the foregoing structure or any other structure suitable for implementation of the techniques described herein.
  • the functionality described herein may be provided within dedicated hardware and/or software modules configured for encoding and decoding, or incorporated in a combined codec. Also, the techniques could be fully implemented in one or more circuits or logic elements.
  • the techniques of this disclosure may be implemented in a wide variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC) or a set of ICs (e.g., a chip set).
  • IC integrated circuit
  • a set of ICs e.g., a chip set.
  • Various components, modules, or units are described in this disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require realization by different hardware units. Rather, as described above, various units may be combined in a codec hardware unit or provided by a collection of interoperative hardware units, including one or more processors as described above, in conjunction with suitable software and/or firmware.

Landscapes

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

Abstract

A unified candidate block set for both adaptive motion vector prediction (AMVP) mode and merge mode for use in inter-prediction is proposed. In general, the same candidate block set is used regardless of which motion vector prediction mode (e.g., merge mode or AMVP mode) is used. In other examples of this disclosure, one candidate block in a set of candidate blocks is designated as an additional candidate block. The additional candidate block is used if one of the other candidate blocks is unavailable. Also, the disclosure proposes a checking pattern where the left candidate block is checked before the below left candidate block. Also, the above candidate block is checked before the right above candidate block.

Description

UNIFIED MERGE MODE AND ADAPTIVE MOTION VECTOR
PREDICTION MODE CANDIDATES SELECTION
[0001] This application claims the benefit of U.S. Provisional Application No.
61/506,558, filed July 11, 2011, U.S. Provisional Application No. 61/499,114, filed June 20, 2011 and U.S. Provisional Application No. 61/509,007, filed July 18, 2011, all of which are hereby incorporated by reference in their entirety.
TECHNICAL FIELD
[0002] This disclosure relates to video coding, and more particularly to techniques for selecting motion vector prediction candidate blocks in a motion vector prediction process.
BACKGROUND
[0003] Digital video capabilities can be incorporated into a wide range of devices, including digital televisions, digital direct broadcast systems, wireless broadcast systems, personal digital assistants (PDAs), laptop or desktop computers, digital cameras, digital recording devices, digital media players, video gaming devices, video game consoles, cellular or satellite radio telephones, video teleconferencing devices, and the like. Digital video devices implement video compression techniques, such as those described in the standards defined by MPEG-2, MPEG-4, ITU-T H.263, ITU-T
H.264/MPEG-4, Part 10, Advanced Video Coding (AVC), the High Efficiency Video Coding (HEVC) standard presently under development, and extensions of such standards, to transmit, receive and store digital video information more efficiently.
[0004] Video compression techniques include spatial prediction and/or temporal prediction to reduce or remove redundancy inherent in video sequences. For block- based video coding, a video frame or slice may be partitioned into blocks. Each block can be further partitioned. Blocks in an intra-coded (I) frame or slice are encoded using spatial prediction with respect to reference samples in neighboring blocks in the same frame or slice. Blocks in an inter-coded (P or B) frame or slice may use spatial prediction with respect to reference samples in neighboring blocks in the same frame or slice or temporal prediction with respect to reference samples in other reference frames. Spatial or temporal prediction results in a predictive block for a block to be coded. Residual data represents pixel differences between the original block to be coded and the predictive block.
[0005] An inter-coded block is encoded according to a motion vector that points to a block of reference samples forming the predictive block, and the residual data indicating the difference between the coded block and the predictive block. An intra-coded block is encoded according to an intra-coding mode and the residual data. For further compression, the residual data may be transformed from the pixel domain to a transform domain, resulting in residual transform coefficients, which then may be quantized. The quantized transform coefficients, initially arranged in a two-dimensional array, may be scanned in a particular order to produce a one-dimensional vector of transform coefficients for entropy coding.
SUMMARY
[0006] In general, this disclosure describes techniques for coding video data. This disclosure describes techniques for selecting motion vector prediction candidate blocks in a motion vector prediction process.
[0007] In one example of the disclosure, a method of encoding a motion vector in a video coding process comprises determining one of a plurality of modes for a motion vector prediction process and performing the motion vector prediction process for the current block of video data using the determined mode and a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes.
[0008] In another example of the disclosure, a method of decoding a motion vector in a video coding process comprises determining one of a plurality of modes for a motion vector prediction process for a current block of video data and determining a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein information associated with the candidate block is used to decode a motion vector for the current block.
[0009] In another example of the disclosure, a method of encoding a motion vector in a video coding process comprises determining one of a plurality of modes for a motion vector prediction process and performing the motion vector prediction process for the current block of video data using the determined mode and a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, and wherein the additional candidate block is used if another of the candidate blocks of the set of candidate blocks is unavailable.
[0010] In another example of the disclosure, a method of decoding a motion vector in a video coding process comprises receiving a syntax element indicating one of a plurality of modes for a motion vector prediction process for a current block of video data, and receiving an index indicating a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, wherein the additional candidate block is used if another of the candidate blocks of the set of candidate blocks is unavailable, and wherein information associated with the candidate block is used to decode a motion vector for the current block.
[0011] The details of one or more examples are set forth in the accompanying drawings and the description below. Other features, objects, and advantages will be apparent from the description and drawings, and from the claims.
BRIEF DESCRIPTION OF DRAWINGS
[0012] FIG. 1 A is a conceptual drawing illustrating candidate blocks for motion vector prediction according to an adaptive motion vector prediction (AMVP) mode.
[0013] FIG. IB is a conceptual drawing illustrating candidate blocks for motion vector prediction according to merge mode.
[0014] FIG. 2 is a block diagram illustrating an example video encoding and decoding system.
[0015] FIG. 3 is a block diagram illustrating an example video encoder.
[0016] FIG. 4A is a conceptual drawing of signaling information for merge mode.
[0017] FIG. 4B is a conceptual drawing of signaling information for AMVP mode.
[0018] FIG. 5 A is a conceptual drawing illustrating candidate blocks for an AMVP and a merge mode in accordance with one example of the disclosure.
[0019] FIG. 5B is a conceptual drawing illustrating candidate blocks for an AMVP and a merge mode in accordance with another example of the disclosure.
[0020] FIG. 6 is a conceptual drawing illustrating candidate blocks for an AMVP and a merge mode in accordance with another example of the disclosure. [0021] FIG. 7 is a conceptual drawing illustrating candidate blocks and a checking pattern for an AMVP and a merge mode in accordance with another example of the disclosure.
[0022] FIG. 8 is a block diagram illustrating an example video decoder.
[0023] FIG. 9 is a flowchart illustrating an example method of encoding video.
[0024] FIG. 10 is a flowchart illustrating an example method of encoding video in a merge mode.
[0025] FIG. 11 is a flowchart illustrating an example method of encoding video in an AMVP mode.
[0026] FIG. 12 is a flowchart illustrating an example method of decoding video.
[0027] FIG. 13 is a flowchart illustrating an example method of decoding video in a merge mode.
[0028] FIG. 14 is a flowchart illustrating an example method of decoding video in an AMVP mode.
[0029] FIG. 15 is a flowchart illustrating another example method of encoding video.
[0030] FIG. 16 is a flowchart illustrating another example method of decoding video.
[0031] FIG. 17 is a flowchart illustrating another example method of decoding video in a merge mode.
[0032] FIG. 18 is a flowchart illustrating another example method of decoding video in an AMVP mode.
DETAILED DESCRIPTION
[0033] In general, this disclosure describes techniques for coding video data. This disclosure describes techniques for selecting motion vector prediction candidate blocks in a motion vector prediction process. In one example, this disclosure proposes that each of a plurality of motion vector prediction modes uses the same set of candidate blocks to predict a motion vector for a current block. In another example, this disclosure proposes that one candidate block in the set of candidate blocks is designated as an additional candidate block. The additional candidate block is used if another one of the blocks in the set is unavailable.
[0034] Digital video devices implement video compression techniques to encode and decode digital video information more efficiently. Video compression may apply spatial (intra-frame) prediction and/or temporal (inter-frame) prediction techniques to reduce or remove redundancy inherent in video sequences.
[0035] For video coding according to the high efficiency video coding (HEVC) standard currently under development by the Joint Cooperative Team for Video Coding (JCT-VC), a video frame may be partitioned into coding units. A coding unit (CU) generally refers to an image region that serves as a basic unit to which various coding tools are applied for video compression. A CU usually has a luminance component, denoted as Y, and two chroma components, denoted as U and V. Depending on the video sampling format, the size of the U and V components, in terms of number of samples, may be the same as or different from the size of the Y component. A CU is typically square, and may be considered to be similar to a so-called macroblock, e.g., under other video coding standards such as ITU-T H.264.
[0036] To achieve better coding efficiency, a coding unit may have variable sizes depending on video content. In addition, a coding unit may be split into smaller blocks for prediction or transform. In particular, each coding unit may be further partitioned into prediction units (PUs) and transform units (TUs). Prediction units may be considered to be similar to so-called partitions under other video coding standards, such as H.264. Transform units (TUs) refer to blocks of residual data to which a transform is applied to produce transform coefficients.
[0037] Coding according to some of the presently proposed aspects of the developing HEVC standard will be described in this application for purposes of illustration.
However, the techniques described in this disclosure may be useful for other video coding processes, such as those defined according to H.264 or other standard or proprietary video coding processes.
[0038] HEVC standardization efforts are based on a model of a video coding device referred to as the HEVC Test Model (HM). The HM presumes several capabilities of video coding devices over devices according to, e.g., ITU-T H.264/ AVC. For example, whereas H.264 provides nine intra-prediction encoding modes, HM provides as many as thirty- four intra-prediction encoding modes.
[0039] According to the HM, a CU may include one or more prediction units (PUs) and/or one or more transform units (TUs). Syntax data within a bitstream may define a largest coding unit (LCU), which is a largest CU in terms of the number of pixels. In general, a CU has a similar purpose to a macroblock of H.264, except that a CU does not have a size distinction. Thus, a CU may be split into sub-CUs. In general, references in this disclosure to a CU may refer to a largest coding unit of a picture or a sub-CU of an LCU. An LCU may be split into sub-CUs, and each sub-CU may be further split into sub-CUs. Syntax data for a bitstream may define a maximum number of times an LCU may be split, referred to as CU depth. Accordingly, a bitstream may also define a smallest coding unit (SCU). This disclosure also uses the term "block" or "portion" to refer to any of a CU, PU, or TU. In general, "portion" may refer to any sub-set of a video frame.
[0040] An LCU may be associated with a quadtree data structure. In general, a quadtree data structure includes one node per CU, where a root node corresponds to the LCU. If a CU is split into four sub-CUs, the node corresponding to the CU includes four leaf nodes, each of which corresponds to one of the sub-CUs. Each node of the quadtree data structure may provide syntax data for the corresponding CU. For example, a node in the quadtree may include a split flag, indicating whether the CU corresponding to the node is split into sub-CUs. Syntax elements for a CU may be defined recursively, and may depend on whether the CU is split into sub-CUs. If a CU is not split further, it is referred as a leaf-CU.
[0041] Moreover, TUs of leaf-CUs may also be associated with respective quadtree data structures. That is, a leaf-CU may include a quadtree indicating how the leaf-CU is partitioned into TUs. This disclosure refers to the quadtree indicating how an LCU is partitioned as a CU quadtree and the quadtree indicating how a leaf-CU is partitioned into TUs as a TU quadtree. The root node of a TU quadtree generally corresponds to a leaf-CU, while the root node of a CU quadtree generally corresponds to an LCU. TUs of the TU quadtree that are not split are referred to as leaf-TUs.
[0042] A leaf-CU may include one or more prediction units (PUs). In general, a PU represents all or a portion of the corresponding CU, and may include data for retrieving a reference sample for the PU. For example, when the PU is inter-mode encoded, the PU may include data defining a motion vector for the PU. The data defining the motion vector may describe, for example, a horizontal component of the motion vector, a vertical component of the motion vector, a resolution for the motion vector (e.g., one- quarter pixel precision or one-eighth pixel precision), a reference frame to which the motion vector points, and/or a reference list (e.g., list 0 or list 1) for the motion vector. Data for the leaf-CU defining the PU(s) may also describe, for example, partitioning of the CU into one or more PUs. Partitioning modes may differ depending on whether the CU is not predictively coded, intra-prediction mode encoded, or inter-prediction mode encoded. For intra coding, a PU may be treated the same as a leaf transform unit described below.
[0043] To code a block (e.g., a prediction unit (PU) of video data), a predictor for the block is first derived. The predictor can be derived either through intra (I) prediction (i.e. spatial prediction) or inter (P or B) prediction (i.e. temporal prediction). Hence, some prediction units may be intra-coded (I) using spatial prediction with respect to neighbouring reference blocks in the same frame, and other prediction units may be inter-coded (P or B) with respect to reference blocks in other frames.
[0044] Upon identification of a predictor, the difference between the original video data block and its predictor is calculated. This difference is also called the prediction residual, and refers to the pixel value differences between the pixels of the block to be coded and corresponding pixels of the reference block, i.e., predictor. To achieve better compression, the prediction residual (i.e., the array of pixel difference values) is generally transformed, e.g., using a discrete cosine transform (DCT), integer transform, Karhunen-Loeve (K-L) transform, or other transform.
[0045] Coding a PU using inter-prediction involves calculating a motion vector between a current block and a block in a reference frame. Motion vectors are calculated through a process called motion estimation (or motion search). A motion vector, for example, may indicate the displacement of a prediction unit in a current frame relative to a reference sample of a reference frame. A reference sample may be a block that is found to closely match the portion of the CU including the PU being coded in terms of pixel difference, which may be determined by sum of absolute difference (SAD), sum of squared difference (SSD), or other difference metrics. The reference sample may occur anywhere within a reference frame or reference slice. In some examples, the reference sample may occur at a fractional pixel position. Upon finding a portion of the reference frame that best matches the current portion, the encoder determines the current motion vector for the current portion as the difference in the location from the current portion to the matching portion in the reference frame (i.e., from the center of the current portion to the center of the matching portion).
[0046] In some examples, an encoder may signal the motion vector for each portion in the encoded video bitstream. The signaled motion vector is used by the decoder to perform motion compensation in order to decode the video data. However, signaling the original motion vector directly may result in less efficient coding, as a large number of bits are typically needed to convey the information. [0047] In some instances, rather than directly signaling the original motion vector, the encoder may predict a motion vector for each partition, i.e., for each PU. In performing this motion vector prediction, the encoder may select a set of candidate motion vectors determined from spatially neighboring blocks in the same frame as the current portion or a candidate motion vector determined from a co-located block in a reference frame. The encoder may perform motion vector prediction, and if needed, signal the prediction difference rather than signal an original motion vector to reduce bit rate in signaling. The candidate motion vector vectors from the spatially neighboring blocks may be referred to as spatial MVP candidates, whereas the candidate motion vector from the co- located block in another reference frame may be referred to as temporal MVP candidate.
[0048] Two different modes or types of motion vector prediction are proposed in the current working draft of the HEVC standard. One mode is referred to as a "merge" mode. The other mode is referred to as adaptive motion vector prediction (AMVP). In merge mode, the encoder instructs a decoder, through bitstream signaling of prediction syntax, to copy a motion vector, reference index (identifying a reference frame, in a given reference picture list, to which the motion vector points) and the motion prediction direction (which identifies the reference picture list (List 0 or List 1), i.e., in terms of whether the reference frame temporally precedes or follows the currently frame) from a selected candidate motion vector for a current portion of the frame. This is accomplished by signaling in the bitstream an index into a candidate motion vector list identifying the selected candidate motion vector (i.e., the particular spatial MVP candidate or temporal MVP candidate). Thus, for merge mode, the prediction syntax may include a flag identifying the mode (in this case "merge" mode) and an index identifying the selected candidate motion vector. In some instances, the candidate motion vector will be in a causal portion in reference to the current portion. That is, the candidate motion vector will have already been decoded by the decoder. As such, the decoder has already received and/or determined the motion vector, reference index, and motion prediction direction for the causal portion. As such, the decoder may simply retrieve the motion vector, reference index, and motion prediction direction associated with the causal portion from memory and copy these values as the motion information for the current portion. To reconstruct a block in merge mode, the decoder obtains the predictive block using the derived motion information for the current portion, and adds the residual data to the predictive block to reconstruct the coded block. [0049] In AMVP, the encoder instructs the decoder, through bitstream signaling, to only copy the motion vector from the candidate portion and use the copied vector as a predictor for motion vector of the current portion, and signals the motion vector difference (MVD). The reference frame and the prediction direction associated with the motion vector of the current portion are signaled separately. An MVD is the difference between the current motion vector for the current portion and a motion vector predictor derived from a candidate portion. In this case, the encoder, using motion estimation, determines an actual motion vector for the block to be coded, and then determines the difference between the actual motion vector and the motion vector predictor as the MVD value. In this way, the decoder does not use an exact copy of the candidate motion vector as the current motion vector, as in the merge mode, but may rather use a candidate motion vector that may be "close" in value to the current motion vector determined from motion estimation and add the MVD to reproduce the current motion vector. To reconstruct a block in AMVP mode, the decoder adds the corresponding residual data to reconstruct the coded block.
[0050] In most circumstances, the MVD requires fewer bits to signal than the entire current motion vector. As such, AMVP allows for more precise signaling of the current motion vector while maintaining coding efficiency over sending the whole motion vector. In contrast, the merge mode does not allow for the specification of an MVD, and as such, merge mode sacrifices accuracy of motion vector signaling for increased signaling efficiency (i.e., fewer bits). The prediction syntax for AMVP may include a flag for the mode (in this case AMVP flag), the index for the candidate portion, the MVD between the current motion vector and the predictive motion vector from the candidate portion, the reference index, and the motion prediction direction.
[0051] Once motion estimation is performed to determine a motion vector for a current portion, the encoder compares the matching portion in the reference frame to the current portion. This comparison typically involves subtracting the portion (which is commonly referred to as a "reference sample") in the reference frame from the current portion and results in so-called residual data, as mentioned above. The residual data indicates pixel difference values between the current portion and the reference sample. The encoder then transforms this residual data from the spatial domain to a transform domain, such as the frequency domain. Usually, the encoder applies a discrete cosine transform (DCT) to the residual data to accomplish this transformation. The encoder performs this transformation in order to facilitate the compression of the residual data because the resulting transform coefficients represent different frequencies, wherein the majority of energy is usually concentrated on a few low frequency coefficients.
[0052] Typically, the resulting transform coefficients are grouped together in a manner that enables run-length encoding, especially if the transform coefficients are first quantized (rounded). The encoder performs this run-length encoding of the quantized transform coefficients and then performs statistical lossless (or so-called "entropy") encoding to further compress the run-length coded quantized transform coefficients.
[0053] After performing lossless entropy coding, the encoder generates a bitstream that includes the encoded video data. This bitstream also includes a number of prediction syntax elements in certain instances that specify whether, for example, motion vector prediction was performed, the motion vector mode, and a motion vector predictor (MVP) index (i.e., the index of the candidate portion with the selected motion vector). The MVP index may also be referred to as its syntax element variable name "mvp idx."
[0054] In a current design being proposed for adoption by the ITU-T/ISO/IEC Joint Collaborative Team on Video Coding (JCT-VC), referred to as high efficiency video coding (HEVC) , the encoder performs a number of motion vector prediction modes by which to predict a motion vector for a current portion including 1) AM VP and 2) merge mode described above. These two modes are similar, although AMVP provides for more flexibility in terms of being able to define MVDs, motion prediction directions and reference indices while the merge mode merely copies this motion vector information (i.e., motion vector, motion prediction direction, and reference index) and does not allow for the increased precision of an MVD.
[0055] FIG. 1 A shows the set of candidate blocks 100 (or portions/blocks of a PU) currently proposed in the HEVC standard for use in AMVP mode, while FIG. IB shows the set of candidate blocks 110 currently proposed in the HEVC standard for use in merge mode. AMVP mode uses six candidate blocks: the below left (BL) block 101, the left (L) block 102, the right above (RA) block 103, the above (A) block 104, the left above (LA) block 105, and the temporal block (T) 106. Note that, in addition to a set of candidate blocks, the AMVP mode also specifies an order for checking the candidate blocks. In the example of FIG. 1A, the checking pattern proceeds as follows: BL - L - RA -A - LA -T. As shown in FIG. IB, merge mode uses five candidate blocks: the below left (BL) block 111, the left (L) block 112, the right above (RA) block 113, the above (A) block 114, and the temporal (T) block 115. The motion vectors associated with these candidate blocks are used for determining a motion vector predictor in merge mode and AMVP mode. Merge mode may use a similar checking pattern as AM VP, or may use a different checking pattern.
[0056] As discussed above, AMVP mode uses six candidate blocks, while merge mode uses five candidate blocks. Also, other than the right above (RA), the below left (BL), and the temporal (T) blocks, the candidate blocks for AMVP mode and merge mode are in different locations. As such, a large number of candidate blocks must be stored and considered during both the encoding and decoding process. Also, the checking pattern for AMVP may not be optimal as the lower left block may not be available in all circumstances. Such circumstances include when the lower left block has not yet been coded (e.g., it is across a slice or CU boundary) or if data for the lower left block is corrupted.
[0057] In this disclosure, a unified candidate block set for both AMVP and merge mode is proposed. In general, the same candidate block set is used regardless of which motion vector prediction mode (e.g., merge mode or AMVP mode) is used. As such, less memory is needed for storing motion vectors and other inter-prediction related information (e.g., reference frame, prediction direction, etc.). In other examples of this disclosure, techniques for using a set of candidate blocks that includes an additional candidate block are proposed. Also, techniques for a more optimal checking pattern are also disclosed.
[0058] FIG. 2 is a block diagram illustrating an example video encoding and decoding system 10 that may be configured to utilize techniques for motion vector prediction in accordance with examples of this disclosure. As shown in FIG. 2, the system 10 includes a source device 12 that transmits encoded video to a destination device 14 via a communication channel 16. Encoded video data may also be stored on a storage medium 34 or a file server 36 and may be accessed by the destination device 14 as desired. When stored to a storage medium or file server, video encoder 20 may provide coded video data to another device, such as a network interface, a compact disc (CD), Blu-ray or digital video disc (DVD) burner or stamping facility device, or other devices, for storing the coded video data to the storage medium. Likewise, a device separate from video decoder 30, such as a network interface, CD or DVD reader, or the like, may retrieve coded video data from a storage medium and provided the retrieved data to video decoder 30.
[0059] The source device 12 and the destination device 14 may comprise any of a wide variety of devices, including desktop computers, notebook (i.e., laptop) computers, tablet computers, set-top boxes, telephone handsets such as so-called smartphones, televisions, cameras, display devices, digital media players, video gaming consoles, or the like. In many cases, such devices may be equipped for wireless communication. Hence, the communication channel 16 may comprise a wireless channel, a wired channel, or a combination of wireless and wired channels suitable for transmission of encoded video data. Similarly, the file server 36 may be accessed by the destination device 14 through any standard data connection, including an Internet connection. This may include a wireless channel (e.g., a Wi-Fi connection), a wired connection (e.g., DSL, cable modem, etc.), or a combination of both that is suitable for accessing encoded video data stored on a file server.
[0060] Techniques for motion vector prediction, in accordance with examples of this disclosure, may be applied to video coding in support of any of a variety of multimedia applications, such as over-the-air television broadcasts, cable television transmissions, satellite television transmissions, streaming video transmissions, e.g., via the Internet, encoding of digital video for storage on a data storage medium, decoding of digital video stored on a data storage medium, or other applications. In some examples, the system 10 may be configured to support one-way or two-way video transmission to support applications such as video streaming, video playback, video broadcasting, and/or video telephony.
[0061] In the example of FIG. 2, the source device 12 includes a video source 18, a video encoder 20, a modulator/demodulator 22 and a transmitter 24. In the source device 12, the video source 18 may include a source such as a video capture device, such as a video camera, a video archive containing previously captured video, a video feed interface to receive video from a video content provider, and/or a computer graphics system for generating computer graphics data as the source video, or a combination of such sources. As one example, if the video source 18 is a video camera, the source device 12 and the destination device 14 may form so-called camera phones or video phones. However, the techniques described in this disclosure may be applicable to video coding in general, and may be applied to wireless and/or wired applications, or application in which encoded video data is stored on a local disk.
[0062] The captured, pre-captured, or computer-generated video may be encoded by the video encoder 20. The encoded video information may be modulated by the modem 22 according to a communication standard, such as a wireless communication protocol, and transmitted to the destination device 14 via the transmitter 24. The modem 22 may include various mixers, filters, amplifiers or other components designed for signal modulation. The transmitter 24 may include circuits designed for transmitting data, including amplifiers, filters, and one or more antennas.
[0063] The captured, pre-captured, or computer-generated video that is encoded by the video encoder 20 may also be stored onto a storage medium 34 or a file server 36 for later consumption. The storage medium 34 may include Blu-ray discs, DVDs, CD- ROMs, flash memory, or any other suitable digital storage media for storing encoded video. The encoded video stored on the storage medium 34 may then be accessed by the destination device 14 for decoding and playback.
[0064] The file server 36 may be any type of server capable of storing encoded video and transmitting that encoded video to the destination device 14. Example file servers include a web server (e.g., for a website), an FTP server, network attached storage (NAS) devices, a local disk drive, or any other type of device capable of storing encoded video data and transmitting it to a destination device. The transmission of encoded video data from the file server 36 may be a streaming transmission, a download transmission, or a combination of both. The file server 36 may be accessed by the destination device 14 through any standard data connection, including an Internet connection. This may include a wireless channel (e.g., a Wi-Fi connection), a wired connection (e.g., DSL, cable modem, Ethernet, USB, etc.), or a combination of both that is suitable for accessing encoded video data stored on a file server.
[0065] The destination device 14, in the example of FIG. 2, includes a receiver 26, a modem 28, a video decoder 30, and a display device 32. The receiver 26 of the destination device 14 receives information over the channel 16, and the modem 28 demodulates the information to produce a demodulated bitstream for the video decoder 30. The information communicated over the channel 16 may include a variety of syntax information generated by the video encoder 20 for use by the video decoder 30 in decoding video data. Such syntax may also be included with the encoded video data stored on the storage medium 34 or the file server 36. Each of the video encoder 20 and the video decoder 30 may form part of a respective encoder-decoder (CODEC) that is capable of encoding or decoding video data.
[0066] The display device 32 may be integrated with, or external to, the destination device 14. In some examples, the destination device 14 may include an integrated display device and also be configured to interface with an external display device. In other examples, the destination device 14 may be a display device. In general, the display device 32 displays the decoded video data to a user, and may comprise any of a variety of display devices such as a liquid crystal display (LCD), a plasma display, an organic light emitting diode (OLED) display, or another type of display device.
[0067] In the example of FIG. 2, the communication channel 16 may comprise any wireless or wired communication medium, such as a radio frequency (RF) spectrum or one or more physical transmission lines, or any combination of wireless and wired media. The communication channel 16 may form part of a packet-based network, such as a local area network, a wide-area network, or a global network such as the Internet. The communication channel 16 generally represents any suitable communication medium, or collection of different communication media, for transmitting video data from the source device 12 to the destination device 14, including any suitable combination of wired or wireless media. The communication channel 16 may include routers, switches, base stations, or any other equipment that may be useful to facilitate communication from the source device 12 to the destination device 14.
[0068] The video encoder 20 and the video decoder 30 may operate according to a video compression standard, such as the High Efficiency Video Coding (HEVC) standard presently under development, and may conform to the HEVC Test Model (HM). Alternatively, the video encoder 20 and the video decoder 30 may operate according to other proprietary or industry standards, such as the ITU-T H.264 standard, alternatively referred to as MPEG-4, Part 10, Advanced Video Coding (AVC), or extensions of such standards. The techniques of this disclosure, however, are not limited to any particular coding standard. Other examples include MPEG-2 and ITU-T H.263.
[0069] Although not shown in FIG. 2, in some aspects, the video encoder 20 and the video decoder 30 may each be integrated with an audio encoder and decoder, and may include appropriate MUX-DEMUX units, or other hardware and software, to handle encoding of both audio and video in a common data stream or separate data streams. If applicable, in some examples, MUX-DEMUX units may conform to the ITU H.223 multiplexer protocol, or other protocols such as the user datagram protocol (UDP).
[0070] The video encoder 20 and the video decoder 30 each may be implemented as any of a variety of suitable encoder circuitry, such as one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), discrete logic, software, hardware, firmware or any combinations thereof. When the techniques are implemented partially in software, a device may store instructions for the software in a suitable, non-transitory computer- readable medium and execute the instructions in hardware using one or more processors to perform the techniques of this disclosure. Each of the video encoder 20 and the video decoder 30 may be included in one or more encoders or decoders, either of which may be integrated as part of a combined encoder/decoder (CODEC) in a respective device.
[0071] The video encoder 20 may implement any or all of the techniques of this disclosure for motion vector prediction in a video encoding process. Likewise, the video decoder 30 may implement any or all of these techniques motion vector prediction in a video coding process. A video coder, as described in this disclosure, may refer to a video encoder or a video decoder. Similarly, a video coding unit may refer to a video encoder or a video decoder. Likewise, video coding may refer to video encoding or video decoding.
[0072] In one example of the disclosure, the video encoder 20 of the source device 12 may be configured to determine one of a plurality of modes for a motion vector prediction process, and perform the motion vector prediction process for the current block of video data using the determined mode and a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes.
[0073] In another example of the disclosure, the video encoder 20 of the source device 12 may be configured to determine one of a plurality of modes for a motion vector prediction process for a current block of video data, and perform the motion vector prediction process for the current block using the determined mode and a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, and wherein the additional candidate block is used if another of the candidate blocks of the set of candidate blocks is unavailable
[0074] In another example of the disclosure, the video decoder 30 of the destination device 14 may be configured to receive a syntax element indicating one of a plurality of modes for a motion vector prediction process for a current block of video data, and receive an index indicating a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein information associated with the candidate block is used to decode a motion vector for the current block.
[0075] In another example of the disclosure, the video decoder 30 of the destination device 14 may be configured to receive a syntax element indicating one of a plurality of modes for a motion vector prediction process for a current block of video data, and receive an index indicating a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, wherein the additional candidate block is used if another of the candidate blocks of the set of candidate blocks is unavailable, and wherein information associated with the candidate block is used to decode a motion vector for the current block.
[0076] FIG. 3 is a block diagram illustrating an example of a video encoder 20 that may use techniques for motion vector prediction as described in this disclosure. The video encoder 20 will be described in the context of HEVC coding for purposes of illustration, but without limitation of this disclosure as to other coding standards or methods that may require scanning of transform coefficients. The video encoder 20 may perform intra- and inter-coding of CUs within video frames. Intra-coding relies on spatial prediction to reduce or remove spatial redundancy in video data within a given video frame. Inter-coding relies on temporal prediction to reduce or remove temporal redundancy between a current frame and previously coded frames of a video sequence. Intra-mode (I -mode) may refer to any of several spatial-based video compression modes. Inter-modes such as uni-directional prediction (P-mode) or bi-directional prediction (B-mode) may refer to any of several temporal-based video compression modes.
[0077] As shown in FIG. 3, the video encoder 20 receives a current video block within a video frame to be encoded. In the example of FIG. 3, the video encoder 20 includes a motion compensation unit 44, a motion estimation unit 42, an intra-prediction unit 46, a reference frame buffer 64, a summer 50, a transform module 52, a quantization unit 54, and an entropy encoding unit 56. The transform module 52 illustrated in FIG. 3 is the structure or apparatus that applies the actual transform or combinations of transform to a block of residual data, and is not to be confused with block of transform coefficients, which may be referred to as a transform unit (TU) of a CU. For video block
reconstruction, the video encoder 20 also includes an inverse quantization unit 58, an inverse transform module 60, and a summer 62. A deblocking filter (not shown in FIG. 3) may also be included to filter block boundaries to remove blockiness artifacts from reconstructed video. If desired, the deblocking filter would typically filter the output of the summer 62. [0078] During the encoding process, the video encoder 20 receives a video frame or slice to be coded. The frame or slice may be divided into multiple video blocks, e.g., largest coding units (LCUs). The motion estimation unit 42 and the motion
compensation unit 44 perform inter-predictive coding of the received video block relative to one or more blocks in one or more reference frames to provide temporal compression. The intra-prediction unit 46 may perform intra-predictive coding of the received video block relative to one or more neighboring blocks in the same frame or slice as the block to be coded to provide spatial compression.
[0079] The mode select unit 40 may select one of the coding modes, intra or inter, e.g., based on error (i.e., distortion) results for each mode, and provides the resulting intra- or inter-predicted block (e.g., a prediction unit (PU)) to the summer 50 to generate residual block data and to the summer 62 to reconstruct the encoded block for use in a reference frame. Summer 62 combines the predicted block with inverse quantized, inverse transformed data from inverse transform module 60 for the block to reconstruct the encoded block, as described in greater detail below. Some video frames may be designated as I-frames, where all blocks in an I-frame are encoded in an intra-prediction mode. In some cases, the intra-prediction unit 46 may perform intra-prediction encoding of a block in a P- or B-frame, e.g., when motion search performed by the motion estimation unit 42 does not result in a sufficient prediction of the block.
[0080] The motion estimation unit 42 and the motion compensation unit 44 may be highly integrated, but are illustrated separately for conceptual purposes. Motion estimation (or motion search) is the process of generating motion vectors, which estimate motion for video blocks. A motion vector, for example, may indicate the displacement of a prediction unit in a current frame relative to a reference sample of a reference frame. The motion estimation unit 42 calculates a motion vector for a prediction unit of an inter-coded frame by comparing the prediction unit to reference samples of a reference frame stored in the reference frame buffer 64. A reference sample may be a block that is found to closely match the portion of the CU including the PU being coded in terms of pixel difference, which may be determined by sum of absolute difference (SAD), sum of squared difference (SSD), or other difference metrics. The reference sample may occur anywhere within a reference frame or reference slice. In some examples, the reference sample may occur at a fractional pixel location. [0081] The portion of the reference frame identified by a motion vector may be referred to as a reference sample. The motion compensation unit 44 may calculate a prediction value for a prediction unit of a current CU, e.g., by retrieving the reference sample identified by a motion vector for the PU. In some video encoding techniques, the motion estimation unit 42 sends the calculated motion vector, reference frame, and prediction direction (i.e., the direction in terms of whether the reference frame temporally precedes or follows the current frame) to the entropy encoding unit 56 and the motion compensation unit 44. Other video encoding techniques utilize a motion vector prediction process to encode the motion vector. The motion vector prediction process may be chosen from among a plurality of modes, including a merge mode and an AMVP mode.
[0082] In merge mode, the encoder considers a set of candidate blocks and selects a block that has the same (or most closely matches) motion vector, reference frame, and prediction direction as the current block. This is accomplished by checking each candidate block in turn and choosing the one that yields the best rate-distortion performance once its motion vector, reference frame, and prediction direction are copied to the current block. Then, rather than signaling this motion vector information (i.e., the motion vector, reference frame, and prediction direction) in the encoded video bitstream, the encoder signals an index number for the selected candidate block. A decoder may copy the motion vector information from the candidate block indicated by the signaled index number and use the copied motion vector information for a current block. FIG. 4A shows an example of merge mode signaling. A merge flag 201 indicates that merge mode is being used. Candidate block index 202 indicates which of the candidate blocks from the set of candidate blocks defined for merge mode is to be used to retrieve motion vector information for the current block.
[0083] It should be noted that in certain cases to meet the specified number of candidates for the merge mode candidate set, some "artificial" motion vector information may be generated to fill in the candidate set. The "artificial" motion vector information may be generated through partial combinations of motion vector information from different candidate blocks. For example, the List 0 motion vector from candidate block 1 may be combined with the List 1 motion vector from candidate 2, together with reference frame index and prediction direction, to form new motion vector information in the candidate set. In some other examples, zero motion vectors may also be added as additional motion vector information to fill in the candidate set. However, regardless of how the candidate set is formed, in merge mode, only an index into the candidate set needs to be signaled to decoder to indicate which candidate is selected to provide motion vector information for a current block. At the decoder side, the same candidate set is formed and motion vector information can be identified through the signaled index into the candidate set.
[0084] In AMVP mode, the encoder considers a set of candidate blocks and selects a block that produces a motion vector difference (i.e., a difference between the motion vector of a respective candidate block and the actual motion vector of the current block) that results in the best rate-distortion or meets some predetermined threshold (e.g., a rate-distortion threshold). The AMVP mode may consider the candidate blocks in a checking pattern until a satisfactory candidate is found and chosen. Alternatively, in some examples, all candidate blocks could be checked, and a candidate block yielding the best result is selected as the MVP for the block to be coded. The encoder may then signal an index for the candidate block used to produce the motion vector difference along with the motion vector difference. A decoder may then recreate the motion vector for the current block by adding the received motion vector difference to the motion vector retrieved from the candidate block indicated by the signaled index. FIG. 4B shows an example of AMVP mode signaling. An AMVP mode flag 205 indicates that AMVP mode is being used. Candidate block index 206 indicates which of the candidate blocks from the set of candidate blocks defined for AMVP mode is to be used to retrieve a motion vector. AMVP mode also signals the motion vector difference 207, the reference frame 208 and the prediction direction 209. In some examples, instead of explicitly signaling the reference frame and the prediction direction, the reference frame and prediction direction are instead retrieved from motion vector information associated with the candidate block.
[0085] In the examples described above, signaling the motion vector information in the encoded bitstream does not require real-time transmission of such elements from the encoder to a decoder, but rather means that such information is encoded into the bitstream and are made accessible to the decoder in any fashion. This may include realtime transmission (e.g., in video conferencing) as well as storing the encoded bitstream on a computer-readable medium for future use by a decoder (e.g., in streaming, downloading, disk access, card access, DVD, Blu-ray, etc.).
[0086] In accordance with examples of this disclosure, the merge mode and the AMVP mode utilize the same set of candidate blocks (i.e., in terms of both number and location of the blocks). As such, both the encoder and decoder may reduce the amount of memory needed to store motion vector information for the candidate blocks. It may also reduce the memory bandwidth requirement in retrieving those motion vectors during the coding process of a current block.
[0087] In a first example of the disclosure, the merge mode and the AMVP mode both use the same set of candidate blocks 120 shown in FIG. 5 A. In this example, merge mode would now use six candidate blocks instead of five. However, the total number of candidate blocks for both merge mode and AMVP mode is reduced, as both modes use candidate blocks in the same locations. In this example, the candidate blocks are in the below left (BL) 121, left (L) 122, left above (LA) 125, above (A) 124, right above (RA) 123, and temporal (T) 126 positions as shown in Figure 5 A. In this example, the left candidate block 122 is adjacent the left edge of the current block 127. The lower edge of the left block 122 is aligned with the lower edge of the current block 127. The above block 124 is adjacent the upper edge of the current block 127. The right edge of the above block 124 is aligned with the right edge of the current block 127.
[0088] In a second example of the disclosure, the AMVP mode and the merge mode use the set of candidate blocks 130 shown in FIG. 5B. In this example, the number of candidate blocks for the AMVP mode is reduced to 5. Further reduction of candidate blocks is achieved, as both merge mode and AMVP mode now use candidate blocks in the same locations. In this example, the candidate blocks are in the below left (BL) 131, left (L) 132, above (A) 134, right above (RA) 133, and temporal (T) 135 locations. Note that the locations of the above block 134 and left block 132 differ from the locations of the above block 124 and left block 122 in the example of FIG. 5 A. In this example, the left candidate block 132 is adjacent the left edge of the current block 137. The upper edge of the left block 132 is aligned with the upper edge of the current block 137. The above block 134 is adjacent the upper edge of the current block 137. The left edge of the above block 134 is aligned with the left edge of the current block 137. In one example, the checking pattern for AMVP mode proceeds as follows: BL - L - RA - A -T.
[0089] In a third example of the disclosure, the merge mode and the AMVP mode use the set of candidate blocks 140 shown in FIG. 6. In this example, the number of candidate blocks is reduced; both by reducing the total number for each mode to 5, as well as by unifying the candidate block locations for both modes. In this example, the candidate blocks are in the below left (BL) 141, left (L) 142, above (A) 143, right above (RA) 144, and temporal (T) 145. In this example, the left candidate block 142 is adjacent the left edge of the current block 147. The lower edge of the left block 142 is aligned with the lower edge of the current block 147. The above block 143 is adjacent the upper edge of the current block 147. The right edge of the above block 143 is aligned with the right edge of the current block 147.
[0090] In another example, the disclosure describes an improved checking pattern for AMVP mode. As shown in FIG. 7, for example, the checking pattern proceeds as follows: L-BL-A-RA-LA-T. Rather than starting at the BL candidate block, as shown in FIG. 1 A, the example in FIG. 7 starts at the L candidate block. The left side blocks are generally more correlated to the current block, as video content typically moves in a horizontal direction. The L candidate block is checked first, because the BL candidate block may not be available (i.e., may not have already been coded) in all situations. In addition, the A candidate block is checked before the RA candidate block, as the motion vector of the A candidate block has been shown to have a higher statistical correlation to the motion vector of the current block than that of the RA candidate block.
[0091] Merge mode may use the same checking pattern shown in FIG. 7, or may use a different checking pattern. As one example, the checking pattern for merge mode may proceed as follows: L-A-RA-BL-(LA)-T. In this example, the inclusion of the LA block is optional or adaptive depending on if one of the first four candidate blocks is unavailable.
[0092] The example of FIG. 7 is shown with reference to the set of candidate blocks of FIG. 5 A. However, this checking pattern may be applicable with any candidate set. In general, the left candidate block should be checked before the below left candidate block. Next, the above candidate block should be checked before the right above candidate block. Any remaining candidate blocks may then be checked in any order. In some examples, the temporal candidate block may be checked last.
[0093] In another example of the disclosure, flexible additional candidates for both merge mode and AMVP are disclosed. As shown in the example of FIG. 5 A, there are five spatial candidate blocks (i.e., L, BL, A, RA, and LA) and one temporal candidate block (i.e., T), for a total of six candidate blocks. In a previous proposal to the HEVC standard, the maximum number of candidate blocks for merge mode is five. As such, one of the candidate blocks shown in FIG. 5A may be eliminated for merge mode. In one example, the LA candidate block may be defined as an additional candidate block (i.e., it is initially not considered as part of the set of candidate blocks for merge mode). [0094] However, as mentioned above, not all candidate blocks are available in all situations. For example, the BL candidate block may not have been coded yet at the time the current block is coded. In addition, the data for some candidate blocks may become corrupted or may not have been received at all (e.g., in real-time decoding). As such, this disclosure proposes utilizing additional candidate blocks in situations where a candidate block in the set is found to be unavailable. In this way, the total number of candidates is kept at the maximum limit without wasting a check on an unavailable candidate.
[0095] In one example, the L and BL candidates are first checked by the encoder or decoder, as applicable. If one of these candidate blocks is not valid (e.g., is corrupted) or not available, an additional candidate block (e.g., LA) may be used instead. If both the L and BL candidate blocks are valid, the A and RA candidate blocks are checked. If one of these candidate blocks is not valid or not available, the LA candidate block may be used instead. If both the A and RA candidate blocks are valid, the LA candidate block will not be used. In this example, the LA candidate block is used as the additional candidate block. However, any additional candidate block in any causal position (i.e., in a position, relative to the current block, where the candidate block has already been coded) relative to the current block may be used.
[0096] In another example, all candidate blocks shown in FIG. 5A will be used. For a merge mode where the maximum number of candidate blocks is N (where N is less than 6), the first N available candidate blocks in a checking pattern will be used as the candidate blocks for the merge mode. In the example of FIG. 5 A, there are six candidate bocks with a checking pattern of L - A - RA - BL - LA - T. The first N available candidate blocks in the checking pattern will form the final set of candidate blocks for the merge mode. In this example, the checking pattern is fixed. In another example, the checking pattern can be selected based on block size, partition size, and/or partition index. In another example, the checking pattern can be updated adaptively during encoding and decoding. The update can depend on merge index, motion vector prediction mode, partition size, partition index, and/or motion vector information (e.g., reference index, motion vector difference, motion vector predictor) of previously encoded/decoded blocks.
[0097] According to another example, the techniques of utilizing an additional candidate block may also be applied to AMVP mode. AMVP mode in the current working draft of the HEVC standard already allows for checking all six candidate blocks shown in FIG. 5A. However, as mentioned above, some of these candidate blocks may be unavailable or invalid. In such a case, an additional merge candidate may be defined. Such a merge candidate may be in any position that is causal to the current PU.
[0098] Returning to FIG. 3, the intra-prediction unit 46 may perform intra-prediction on the received block, as an alternative to inter-prediction performed by the motion estimation unit 42 and the motion compensation unit 44. The intra-prediction unit 46 may predict the received block relative to neighboring, previously coded blocks, e.g., blocks above, above and to the right, above and to the left, or to the left of the current block, assuming a left-to-right, top-to-bottom encoding order for blocks. The intra- prediction unit 46 may be configured with a variety of different intra-prediction modes. For example, the intra-prediction unit 46 may be configured with a certain number of directional prediction modes, e.g., thirty-four directional prediction modes, based on the size of the CU being encoded.
[0099] The intra-prediction unit 46 may select an intra-prediction mode by, for example, calculating prediction error values for various intra-prediction modes and selecting a mode that yields the lowest error value. Directional prediction modes may include functions for combining values of spatially neighboring pixels and applying the combined values to one or more pixel positions in a PU. Once values for all pixel positions in the PU have been calculated, the intra-prediction unit 46 may calculate an error value for the prediction mode based on pixel differences between the calculated or predicted values of the PU and the received original block to be encoded. The intra- prediction unit 46 may continue testing intra-prediction modes until an intra-prediction mode that yields an acceptable error value is discovered. The intra-prediction unit 46 may then send the PU to the summer 50.
[0100] The video encoder 20 forms a residual block by subtracting the prediction data calculated by the motion compensation unit 44 or the intra-prediction unit 46 from the original video block being coded. The summer 50 represents the component or components that perform this subtraction operation. The residual block may correspond to a two-dimensional matrix of pixel difference values, where the number of values in the residual block is the same as the number of pixels in the PU corresponding to the residual block. The values in the residual block may correspond to the differences, i.e., error, between values of co-located pixels in the PU and in the original block to be coded. Such an operation is applied to both luma and chroma components, so the differences may be chroma or luma differences depending on the type of block that is coded.
[0101] The transform module 52 may form one or more transform units (TUs) from the residual block. The transform module 52 selects a transform from among a plurality of transforms. The transform may be selected based on one or more coding characteristics, such as block size, coding mode, or the like. The transform module 52 then applies the selected transform to the TU, producing a video block comprising a two-dimensional array of transform coefficients.
[0102] The transform module 52 may send the resulting transform coefficients to the quantization unit 54. The quantization unit 54 may then quantize the transform coefficients. The entropy encoding unit 56 may then perform a scan of the quantized transform coefficients in the matrix according to a scanning mode. This disclosure describes the entropy encoding unit 56 as performing the scan. However, it should be understood that, in other examples, other processing units, such as the quantization unit 54, could perform the scan.
[0103] Once the transform coefficients are scanned into the one-dimensional array, the entropy encoding unit 56 may apply entropy coding such as context adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), syntax- based context-adaptive binary arithmetic coding (SBAC), or another entropy coding methodology to the coefficients. Entropy coding may also be applied to syntax elements, such as syntax elements used in merge mode and AMVP mode.
[0104] To perform CAVLC, the entropy encoding unit 56 may select a variable length code for a symbol to be transmitted. Codewords in VLC may be constructed such that relatively shorter codes correspond to more likely symbols, while longer codes correspond to less likely symbols. In this way, the use of VLC may achieve a bit savings over, for example, using equal-length codewords for each symbol to be transmitted.
[0105] To perform CABAC, the entropy encoding unit 56 may select a context model to apply to a certain context to encode symbols to be transmitted. In the case of transform coefficients, the context may relate to, for example, whether neighboring values are non-zero or not. The entropy encoding unit 56 may also entropy encode syntax elements, such as the signal representative of the selected transform. In accordance with the techniques of this disclosure, the entropy encoding unit 56 may select the context model used to encode these syntax elements based on, for example, an intra-prediction direction for intra-prediction modes, a scan position of the coefficient corresponding to the syntax elements, block type, and/or transform type, among other factors used for context model selection.
[0106] Following the entropy coding by the entropy encoding unit 56, the resulting encoded video may be transmitted to another device, such as the video decoder 30, or archived for later transmission or retrieval.
[0107] In some cases, the entropy encoding unit 56 or another unit of the video encoder 20 may be configured to perform other coding functions, in addition to entropy coding. For example, the entropy encoding unit 56 may be configured to determine coded block pattern (CBP) values for CU's and PU's. Also, in some cases, the entropy encoding unit 56 may perform run length coding of coefficients.
[0108] The inverse quantization unit 58 and the inverse transform module 60 apply inverse quantization and inverse transformation, respectively, to reconstruct the residual block in the pixel domain, e.g., for later use in reconstructing a reference block. The motion compensation unit 44 may calculate a reference block by adding the residual block to a predictive block formed from one of the frames of the reference frame buffer 64. The motion compensation unit 44 may also apply one or more interpolation filters to the reconstructed reference block to calculate sub-integer pixel values for use in motion estimation. The summer 62 adds the reconstructed residual block to the motion compensated prediction block produced by the motion compensation unit 44 to produce a reconstructed video block for storage in the reference frame buffer 64. The reconstructed video block may be used by the motion estimation unit 42 and the motion compensation unit 44 as a reference block to inter-code a block in a subsequent video frame.
[0109] FIG. 8 is a block diagram illustrating an example of a video decoder 30, which decodes an encoded video sequence. In the example of FIG. 8, the video decoder 30 includes an entropy decoding unit 70, a motion compensation unit 72, an intra- prediction unit 74, an inverse quantization unit 76, an inverse transform module 78, a reference frame buffer 82 and a summer 80. The video decoder 30 may, in some examples, perform a decoding pass generally reciprocal to the encoding pass described with respect to the video encoder 20 (see FIG. 3).
[0110] The entropy decoding unit 70 performs an entropy decoding process on the encoded bitstream to retrieve a one-dimensional array of transform coefficients. The entropy decoding process used depends on the entropy coding used by the video encoder 20 (e.g., CABAC, CAVLC, etc.). The entropy coding process used by the encoder may be signaled in the encoded bitstream or may be a predetermined process.
[0111] In some examples, the entropy decoding unit 70 (or the inverse quantization unit 76) may scan the received values using a scan mirroring the scanning mode used by the entropy encoding unit 56 (or the quantization unit 54) of the video encoder 20.
Although the scanning of coefficients may be performed in the inverse quantization unit 76, scanning will be described for purposes of illustration as being performed by the entropy decoding unit 70. In addition, although shown as separate functional units for ease of illustration, the structure and functionality of the entropy decoding unit 70, the inverse quantization unit 76, and other units of the video decoder 30 may be highly integrated with one another.
[0112] The inverse quantization unit 76 inverse quantizes, i.e., de-quantizes, the quantized transform coefficients provided in the bitstream and decoded by the entropy decoding unit 70. The inverse quantization process may include a conventional process, e.g., similar to the processes proposed for HEVC or defined by the H.264 decoding standard. The inverse quantization process may include use of a quantization parameter QP calculated by the video encoder 20 for the CU to determine a degree of quantization and, likewise, a degree of inverse quantization that should be applied. The inverse quantization unit 76 may inverse quantize the transform coefficients either before or after the coefficients are converted from a one-dimensional array to a two-dimensional array.
[0113] The inverse transform module 78 applies an inverse transform to the inverse quantized transform coefficients. In some examples, the inverse transform module 78 may determine an inverse transform based on signaling from the video encoder 20, or by inferring the transform from one or more coding characteristics such as block size, coding mode, or the like. In some examples, the inverse transform module 78 may determine a transform to apply to the current block based on a signaled transform at the root node of a quadtree for an LCU including the current block. Alternatively, the transform may be signaled at the root of a TU quadtree for a leaf-node CU in the LCU quadtree. In some examples, the inverse transform module 78 may apply a cascaded inverse transform, in which inverse transform module 78 applies two or more inverse transforms to the transform coefficients of the current block being decoded. [0114] The intra-prediction unit 74 may generate prediction data for a current block of a current frame based on a signaled intra-prediction mode and data from previously decoded blocks of the current frame.
[0115] According to examples of this disclosure, the video decoder 30 may receive, from the encoded bitstream, prediction syntax that identifies the motion vector prediction mode and associated motion vector information (e.g., see FIGS. 4A and 4B and related discussion). In particular, the video decoder 30 may receive an index indicating a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein information associated with the candidate block is used to decode a motion vector for the current block. The set of candidate blocks may be the sets shown in FIG. 5A, FIG. 5B, or FIG. 6, or any other set of candidate blocks causal to the current block.
[0116] In the case that the syntax element indicates the merge mode, the video decoder is further configured to retrieve a motion vector, a reference frame, and a prediction direction associated with the candidate block having the received index, and to perform an inter-prediction process for the current block using the retrieved motion vector, reference frame, and prediction direction.
[0117] In the case that the syntax element indicates the adaptive motion vector prediction (AMVP) mode, the video decoder is further configured to receive a reference frame index, a motion vector difference, and a syntax element indicating a prediction direction, retrieve a candidate motion vector associated with the candidate block having the received index, calculate a motion vector for the current block using the candidate motion vector and the motion vector difference, and perform an inter-prediction process using the calculated motion vector, the received reference frame index, and the received prediction direction.
[0118] Regardless of the prediction mode, once the prediction direction, reference frame index, and motion vector are determined for the current block, the motion compensation unit produces a motion compensated block for the current block. These motion compensated blocks essentially recreate the predictive block used to produce the residual data.
[0119] The motion compensation unit 72 may produce the motion compensated blocks, possibly performing interpolation based on interpolation filters. Identifiers for interpolation filters to be used for motion estimation with sub-pixel precision may be included in the syntax elements. The motion compensation unit 72 may use interpolation filters as used by the video encoder 20 during encoding of the video block to calculate interpolated values for sub-integer pixels of a reference block. The motion compensation unit 72 may determine the interpolation filters used by the video encoder 20 according to received syntax information and use the interpolation filters to produce predictive blocks.
[0120] Additionally, the motion compensation unit 72 and the intra-prediction unit 74, in an HEVC example, may use some of the syntax information (e.g., provided by a quadtree) to determine sizes of LCUs used to encode frame(s) of the encoded video sequence. The motion compensation unit 72 and the intra-prediction unit 74 may also use syntax information to determine split information that describes how each CU of a frame of the encoded video sequence is split (and likewise, how sub-CUs are split). The syntax information may also include modes indicating how each CU is encoded (e.g., intra- or inter-prediction, and for intra-prediction an intra-prediction encoding mode), one or more reference frames (and/or reference lists containing identifiers for the reference frames) for each inter-encoded PU, and other information to decode the encoded video sequence.
[0121] The summer 80 combines the residual blocks with the corresponding prediction blocks generated by the motion compensation unit 72 or the intra-prediction unit 74 to form decoded blocks. The decoded blocks, in effect, reconstruct the originally coded blocks, subject to loss due to quantization or other coding aspects. If desired, a deblocking filter may also be applied to filter the decoded blocks in order to remove blockiness artifacts. The decoded video blocks are then stored in the reference frame buffer 82, which provides reference blocks for subsequent motion compensation and also produces decoded video for presentation on a display device (such as the display device 32 of FIG. 2).
[0122] As mentioned above, the techniques of this disclosure are applicable for both an encoder and a decoder. In general, and in accordance with the description above, an encoder utilizes the same set of candidate blocks to perform a motion vector prediction process (e.g., a merge mode and an AMVP mode). A decoder may then decode the motion vector based on syntax elements received using the same set of candidate blocks used by the encoder. By unifying the candidate blocks for all motion vector prediction modes, the amount of memory needed to store motion vector information (e.g., motion vector, prediction direction, reference frame indices, etc.) is reduced. The memory bandwidth requirement in retrieving the motion vector information from those candidate blocks can also be reduced.
[0123] FIG. 9 is a flowchart illustrating an example method of encoding video, which may be performed by a video encoder, such as the video encoder 20 of FIG. 3. Video encoder 20 may be configured to determine a motion vector relative to a reference frame for a current block of video data (900). The video encoder 20 may also determine one of a plurality of modes (e.g., merge mode or AMVP) for a motion vector prediction process (901), and perform the motion vector prediction process for the current block of video data using the determined mode and a set of candidate blocks. The set of candidate blocks is the same for each of the plurality of modes.
[0124] The plurality of modes may include a merge mode and an adaptive motion vector prediction mode. FIG. 10 illustrates an example method of encoding video when the motion vector prediction process is in the merge mode. In this case, the video encoder is further configured to determine a candidate motion vector from the set of candidate blocks that yields a satisfactory rate-distortion performance once its motion vector, reference frame, and prediction direction are copied to the current block (1001) and signal an index identifying the candidate motion vector (1002).
[0125] In one example, the set of candidate blocks may include an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block. The left candidate block is adjacent a left edge of the current block and a top edge of the left candidate block is aligned with a top edge of the current block. The above candidate block is adjacent the top edge of the current block and a left edge of the above candidate block is aligned with the left edge of the current block.
[0126] In other example, the left candidate block is adjacent a left edge of the current block and a bottom edge of the left candidate block is aligned with a bottom edge of the current block. The above candidate block is adjacent a top edge of the current block and a right edge of the above candidate block is aligned with a right edge of the current block.
[0127] In another example, the set of candidate blocks includes a left above candidate block, an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block.
[0128] FIG. 11 illustrates an example method of encoding video when the motion vector prediction process is in the AMVP mode. In this case, the video encoder is configured to determine a candidate motion vector from each candidate block in the set of candidate blocks (1101) and calculate a motion vector difference between the motion vector for the current block and the candidate motion vector from each of the candidate blocks according to a checking pattern (1102). The video encoder is also configured to select one of the candidate motion vectors based on the calculated motion vector differences (1103), and to signal an index identifying the candidate block having the selected one of the candidate motion vectors, to signal the motion vector difference calculated with respect to the selected one of the candidate motion vectors, to signal the reference frame, and to signal the prediction direction (1104).
[0129] In one example, the set of candidate blocks includes an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block. In this example, the checking pattern proceeds in the following order: below left candidate block, left candidate block, right above candidate block, above candidate block, temporal candidate block.
[0130] In another example, the set of candidate blocks includes a left above candidate block, an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block. The checking pattern proceeds in the following order: left candidate block, below left candidate block, above candidate block, right above candidate block, left above candidate block, temporal candidate block.
[0131] FIG. 12 is a flowchart illustrating an example method of decoding video, which may be performed by a video decoder, such as the video decoder 30 of FIG. 3. Video decoder 30 may be configured to receive a syntax element indicating one of a plurality of modes for a motion vector prediction process for a current block of video data (1201), and to receive an index indicating a candidate block from a set of candidate blocks (1202), wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein information associated with the candidate block is used to decode a motion vector for the current block. The plurality of modes may include a merge mode and an adaptive motion vector prediction mode.
[0132] FIG. 13 is a flowchart illustrating an example method of decoding video in the case that the motion vector prediction process is the merge mode. In this case, the video decoder is further configured to retrieve a motion vector, a reference frame, and a prediction direction associated with the candidate block having the received index (1301), and to perform an inter-prediction process on the current block using the retrieved motion vector, reference frame, and prediction direction (1302).
[0133] In one example, the set of candidate blocks includes an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block. The left candidate block is adjacent a left edge of the current block and a top edge of the left candidate block is aligned with a top edge of the current block. The above candidate block is adjacent the top edge of the current block and a left edge of the above candidate block is aligned with the left edge of the current block.
[0134] In another example, the left candidate block is adjacent a left edge of the current block and a bottom edge of the left candidate block is aligned with a bottom edge of the current block. The above candidate block is adjacent a top edge of the current block and a right edge of the above candidate block is aligned with a right edge of the current block.
[0135] In another example, the set of candidate blocks includes a left above candidate block, an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block.
[0136] FIG. 14 is a flowchart illustrating an example method of decoding video in the case that the motion vector prediction process is the AMVP mode. In this case, the video decoder is configured to receive a reference frame index, a motion vector difference, and a syntax element indicating a prediction direction (1401), and to retrieve a candidate motion vector associated with the candidate block having the received index
(1402) . The video decoder is further configured to calculate a motion vector for the current block using the candidate motion vector and the motion vector difference
(1403) , and to perform an inter-prediction process using the calculated motion vector, the received reference frame index, and the received prediction direction (1404).
[0137] In one example, the set of candidate blocks includes an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block, and a checking pattern for the set of candidate blocks proceeds in the following order: below left candidate block, left candidate block, right above candidate block, above candidate block, temporal candidate block.
[0138] In another example, the set of candidate blocks includes a left above candidate block, an above candidate block, a right above candidate block, a left candidate block, a below left candidate block, and a temporal candidate block, and a checking pattern for the set of candidate blocks proceeds in the following order: left candidate block, below left candidate block, above candidate block, right above candidate block, left above candidate block, temporal candidate block.
[0139] FIG. 15 is a flowchart illustrating another example method of encoding video, which may be performed by a video encoder, such as the video encoder 20 of FIG. 3. The video encoder 20 may be configured to determine a motion vector relative to a reference frame for a current block of video data (1501), to determine one of a plurality of modes for a motion vector prediction process for a current block of video data (1502), and to perform the motion vector prediction process for the current block using the determined mode and a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein one candidate block in the set of candidate blocks is designated as an additional candidate block (1503). The additional candidate block is used if another of the candidate blocks of the set of candidate blocks is unavailable. The video encoder 20 may be further configured to update a checking pattern based one or more of a merge index, a determined mode, a partition size, a reference frame index, a motion vector difference, and a motion vector prediction (1504).
[0140] The plurality of modes may include a merge mode and an adaptive motion vector prediction mode. The merge mode may have a maximum number N of candidate blocks for use in performing the motion vector prediction process. In that case, the motion vector prediction process is performed according to a checking pattern, the checking pattern defining an order for checking each of candidate blocks in the set of candidate blocks. The set of candidate blocks is defined as the first N available candidate blocks in the set of candidate blocks along the checking pattern. The checking pattern may be based on one or more of a block size, a partition size, and a partition index. More specifically, for example, the checking pattern for each different block size, partition size or partition index can be updated or modified based on the statistics of candidate selection in a number of previous coded blocks having the same block size, partition size or partition index, etc.
[0141] In another example, the set of candidate blocks include a below left candidate block, a left candidate block, an above candidate block, a right above candidate block, a left above candidate block, and a temporal candidate block. In this example, the additional candidate block is the left above candidate block. However, the additional candidate block may be any candidate block that is in a causal relationship to the current block. [0142] FIG. 16 is a flowchart illustrating another example method of decoding video, which may be performed by a video decoder, such as the video decoder 30 of FIG. 3. The video decoder 30 may be configured to receive a syntax element indicating one of a plurality of modes for a motion vector prediction process for a current block of video data (1601), and to receive an index indicating a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, wherein one candidate block in the set of candidate blocks is designated as an additional candidate block (1602). The additional candidate block is used if another of the candidate blocks of the set of candidate blocks is unavailable. The information associated with the candidate block is used to decode a motion vector for the current block.
[0143] The plurality of modes may include a merge mode and an adaptive motion vector prediction mode. FIG. 17 depicts a method of decoding in the case that the received syntax element indicates the merge mode is used. In this case, the video decoder is further configured to retrieve a motion vector, a reference frame, and a prediction direction associated with the candidate block having the received index (1701), and to perform an inter-prediction process on the current block using the retrieved motion vector, reference frame, and prediction direction (1702).
[0144] The merge mode may be defined as having a maximum number N of candidate blocks for use in performing the motion vector prediction process. In this case, the motion vector prediction process may be performed according to a checking pattern, the checking pattern defining an order for checking each of candidate blocks in the set of candidate blocks. The set of candidate blocks is defined as the first N available candidate blocks in the set of candidate blocks along the checking pattern. The checking pattern is based on one or more of a block size, a partition size, and a partition index.
[0145] In another example, for both merge and AMVP mode, the set of candidate blocks may include a below left candidate block, a left candidate block, an above candidate block, a right above candidate block, a left above candidate block, and a temporal candidate block. The additional candidate block is the left above candidate block. However, the additional candidate block may be any candidate block that is in a causal relationship to the current block.
[0146] FIG. 18 depicts a method of decoding in the case that the received syntax element indicates the AMVP mode is used. In this case, the video decoder is further configured to receive a reference frame index, a motion vector difference, and a syntax element indicating a prediction direction (1801), and to retrieve a candidate motion vector associated with the candidate block having the received index (1802). The video decoder is further configured to calculate a motion vector for the current block using the candidate motion vector and the motion vector difference (1803), and perform an inter- prediction process using the calculated motion vector, the received reference frame index, and the received prediction direction (1804).
[0147] In one or more examples, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over, as one or more instructions or code, a computer-readable medium and executed by a hardware-based processing unit.
Computer-readable media may include computer-readable storage media, which corresponds to a tangible medium such as data storage media, or communication media including any medium that facilitates transfer of a computer program from one place to another, e.g., according to a communication protocol. In this manner, computer- readable media generally may correspond to (1) tangible computer-readable storage media which is non-transitory or (2) a communication medium such as a signal or carrier wave. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code and/or data structures for implementation of the techniques described in this disclosure. A computer program product may include a computer-readable medium.
[0148] By way of example, and not limitation, such computer-readable storage media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage, or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if instructions are transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. It should be understood, however, that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transient media, but are instead directed to non-transient, tangible storage media. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0149] Instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Accordingly, the term "processor," as used herein may refer to any of the foregoing structure or any other structure suitable for implementation of the techniques described herein. In addition, in some aspects, the functionality described herein may be provided within dedicated hardware and/or software modules configured for encoding and decoding, or incorporated in a combined codec. Also, the techniques could be fully implemented in one or more circuits or logic elements.
[0150] The techniques of this disclosure may be implemented in a wide variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC) or a set of ICs (e.g., a chip set). Various components, modules, or units are described in this disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require realization by different hardware units. Rather, as described above, various units may be combined in a codec hardware unit or provided by a collection of interoperative hardware units, including one or more processors as described above, in conjunction with suitable software and/or firmware.
[0151] Various examples have been described. These and other examples are within the scope of the following claims.

Claims

WHAT IS CLAIMED IS:
1. A method of encoding a motion vector in a video coding process, the method comprising:
determining one of a plurality of modes for a motion vector prediction process for a current block of video data; and
performing the motion vector prediction process for the current block using the determined mode and a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, and wherein the additional candidate block is used in the motion vector prediction process if another of the candidate blocks of the set of candidate blocks is unavailable.
2. The method of claim 1 , wherein the plurality of modes include a merge mode and an adaptive motion vector prediction mode.
3. The method of claim 2, further comprising:
determining a motion vector relative to a reference frame for the current block of video data, wherein a location of a reference frame is based on a prediction direction.
4. The method of claim 3,
wherein the determined mode is the merge mode, the merge mode having a maximum number N of candidate blocks for use in performing the motion vector prediction process,
wherein the motion vector prediction process is performed according to a checking pattern, the checking pattern defining an order for checking each of candidate blocks in the set of candidate blocks, and
wherein the set of candidate blocks is defined as the first N available candidate blocks in the set of candidate blocks along the checking pattern.
5. The method of claim 4, wherein the checking pattern is based on one or more of a block size, a partition size, and a partition index.
6. The method of claim 4, further comprising:
updating for the checking pattern for subsequently coded blocks based on one or more of a merge index, the determined mode, a partition size, a partition index, a reference frame index, a motion vector difference, and a motion vector prediction.
7. The method of claim 1, wherein the set of candidate blocks include a below left candidate block, a left candidate block, an above candidate block, a right above candidate block, a left above candidate block, and a temporal candidate block, and wherein the additional candidate block is the left above candidate block.
8. The method of claim of claim 1, wherein the additional candidate block is a candidate block that is in a causal relationship to the current block.
9. An apparatus configured to encode a motion vector in a video coding process comprising:
a video encoder configured to:
determine one of a plurality of modes for a motion vector prediction process for a current block of video data; and
perform the motion vector prediction process for the current block using the determined mode and a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, and wherein the additional candidate block is used in the motion vector prediction process if another of the candidate blocks of the set of candidate blocks is unavailable.
10. The apparatus of claim 9, wherein the plurality of modes include a merge mode and an adaptive motion vector prediction mode.
11. The apparatus of claim 10, wherein the video encoder is further configured to: determine a motion vector relative to a reference frame for the current block of video data, wherein a location of a reference frame is based on a prediction direction.
12. The apparatus of claim 11,
wherein the determined mode is the merge mode, the merge mode having a maximum number N of candidate blocks for use in performing the motion vector prediction process,
wherein the motion vector prediction process is performed according to a checking pattern, the checking pattern defining an order for checking each of candidate blocks in the set of candidate blocks, and
wherein the set of candidate blocks is defined as the first N available candidate blocks in the set of candidate blocks along the checking pattern.
13. The apparatus of claim 12, wherein the checking pattern is based on one or more of a block size, a partition size, and a partition index.
14. The apparatus of claim 12, wherein the video encoder is further configured to: update the checking pattern for subsequently coded blocks based on one or more of a merge index, the determined mode, a partition size, a partition index, a reference frame index, a motion vector difference, and a motion vector prediction.
15. The apparatus of claim 9, wherein the set of candidate blocks include a below left candidate block, a left candidate block, an above candidate block, a right above candidate block, a left above candidate block, and a temporal candidate block, and wherein the additional candidate block is the left above candidate block.
16. The apparatus of claim of claim 9, wherein the additional candidate block is a candidate block that is in a causal relationship to the current block.
17. An apparatus configured to encode a motion vector in a video coding process comprising:
means for determining one of a plurality of modes for a motion vector prediction process for a current block of video data; and
means for performing the motion vector prediction process for the current block using the determined mode and a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, and wherein the additional candidate block is used in the motion vector prediction process if another of the candidate blocks of the set of candidate blocks is unavailable.
18. The apparatus of claim 17, wherein the plurality of modes include a merge mode and an adaptive motion vector prediction mode.
19. A computer program product comprising a computer-readable storage medium having stored thereon instructions that, when executed, cause a processor of a device for encoding video data to:
determine one of a plurality of modes for a motion vector prediction process for a current block of video data; and
perform the motion vector prediction process for the current block using the determined mode and a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, and wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, and wherein the additional candidate block is used in the motion vector prediction process if another of the candidate blocks of the set of candidate blocks is unavailable.
20. The computer program product of claim 19, wherein the plurality of modes include a merge mode and an adaptive motion vector prediction mode.
21. A method of decoding a motion vector in a video coding process comprising: determining one of a plurality of modes for a motion vector prediction process for a current block of video data; and
determining a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, wherein the additional candidate block is used in the motion vector prediction process if another of the candidate blocks of the set of candidate blocks is unavailable, and wherein information associated with the candidate block is used to decode a motion vector for the current block.
22. The method of claim 21 , wherein the mode for the motion vector prediction process is determined from a received syntax element, and wherein the candidate block is determined from a received syntax element.
23. The method of claim 21 , wherein the mode for the motion vector prediction process is a merge mode
24. The method of claim 21 , wherein the mode for the motion vector prediction process is an adaptive motion vector prediction mode.
25. The method of claim 21 , wherein the mode for the motion vector prediction process is a merge mode, wherein the method further comprises:
retrieving a motion vector, a reference frame, and a prediction direction associated with the candidate block having the received index; and
performing an inter-prediction process on the current block using the retrieved motion vector, reference frame, and prediction direction.
26. The method of claim 21 , wherein the mode for the motion vector prediction process is a merge mode, the merge mode having a maximum number N of candidate blocks for use in performing the motion vector prediction process,
wherein the motion vector prediction process is performed according to a checking pattern, the checking pattern defining an order for checking each of candidate blocks in the set of candidate blocks, and
wherein the set of candidate blocks is defined as the first N available candidate blocks in the set of candidate blocks along the checking pattern.
27. The method of claim 26, wherein the checking pattern is based on one or more of a block size, a partition size, and a partition index.
28. The method of claim 26, further comprising:
updating the checking order pattern for subsequently coded blocks based on one or more of a merge index, the determined mode, a partition size, a partition index, a reference frame index, a motion vector difference, and a motion vector prediction.
29. The method of claim 21, wherein the set of candidate blocks include a below left candidate block, a left candidate block, an above candidate block, a right above candidate block, a left above candidate block, and a temporal candidate block, and wherein the additional candidate block is the left above candidate block.
30. The method of claim of claim 21, wherein the additional candidate block is a candidate block that is in a causal relationship to the current block.
31. The method of claim 21 , wherein the mode for the motion vector prediction process is an adaptive motion vector prediction mode, and wherein the method further comprises:
receiving a reference frame index, a motion vector difference, and a syntax element indicating a prediction direction;
retrieving a candidate motion vector associated with the candidate block having the received index;
calculating a motion vector for the current block using the candidate motion vector and the motion vector difference; and
performing an inter-prediction process using the calculated motion vector, the received reference frame index, and the received prediction direction.
32. An apparatus configured to decode a motion vector in a video coding process comprising, the apparatus comprising:
a video decoder configured to:
determine one of a plurality of modes for a motion vector prediction process for a current block of video data; and
determine a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, wherein the additional candidate block is used in the motion vector prediction process if another of the candidate blocks of the set of candidate blocks is unavailable, and wherein information associated with the candidate block is used to decode a motion vector for the current block.
33. The apparatus of claim 32, wherein the mode for the motion vector prediction process is determined from a received syntax element, and wherein the candidate block is determined from a received syntax element.
34. The apparatus of claim 32, wherein the mode for the motion vector prediction process is a merge mode
35. The apparatus of claim 32, wherein the mode for the motion vector prediction process is an adaptive motion vector prediction mode.
36. The apparatus of claim 32, wherein the mode for the motion vector prediction process is a merge mode, wherein the video coder is further configured to:
retrieve a motion vector, a reference frame, and a prediction direction associated with the candidate block having the received index; and
perform an inter-prediction process on the current block using the retrieved motion vector, reference frame, and prediction direction.
37. The apparatus of claim 32, wherein the mode for the motion vector prediction process is a merge mode, the merge mode having a maximum number N of candidate blocks for use in performing the motion vector prediction process,
wherein the motion vector prediction process is performed according to a checking pattern, the checking pattern defining an order for checking each of candidate blocks in the set of candidate blocks, and
wherein the set of candidate blocks is defined as the first N available candidate blocks in the set of candidate blocks along the checking pattern.
38. The apparatus of claim 37, wherein the checking pattern is based on one or more of a block size, a partition size, and a partition index.
39. The apparatus of claim 37, wherein the video decoder is further configured to: update the checking order pattern for subsequently coded blocks based on one or more of a merge index, the determined mode, a partition size, a partition index, a reference frame index, a motion vector difference, and a motion vector prediction.
40. The apparatus of claim 32, wherein the set of candidate blocks include a below left candidate block, a left candidate block, an above candidate block, a right above candidate block, a left above candidate block, and a temporal candidate block, and wherein the additional candidate block is the left above candidate block.
41. The apparatus of claim of claim 32, wherein the additional candidate block is a candidate block that is in a causal relationship to the current block.
42. The apparatus of claim 32, wherein the mode for the motion vector prediction process is an adaptive motion vector prediction mode, and wherein the video decoder is further configured to:
receive a reference frame index, a motion vector difference, and a syntax element indicating a prediction direction;
retrieve a candidate motion vector associated with the candidate block having the received index;
calculate a motion vector for the current block using the candidate motion vector and the motion vector difference; and
perform an inter-prediction process using the calculated motion vector, the received reference frame index, and the received prediction direction.
43. An apparatus configured to decode a motion vector in a video coding process comprising:
means for determining one of a plurality of modes for a motion vector prediction process for a current block of video data; and
means for determining a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, wherein the additional candidate block is used in the motion vector prediction process if another of the candidate blocks of the set of candidate blocks is unavailable, and wherein information associated with the candidate block is used to decode a motion vector for the current block.
44. The apparatus of claim 43, wherein the plurality of modes include a merge mode and an adaptive motion vector prediction mode.
45. A computer program product comprising a computer-readable storage medium having stored thereon instructions that, when executed, cause a processor of a device for decoding video data to:
determine one of a plurality of modes for a motion vector prediction process for a current block of video data; and
determine a candidate block from a set of candidate blocks, wherein the set of candidate blocks is the same for each of the plurality of modes, wherein one candidate block in the set of candidate blocks is designated as an additional candidate block, wherein the additional candidate block is used in the motion vector prediction process if another of the candidate blocks of the set of candidate blocks is unavailable, and wherein information associated with the candidate block is used to decode a motion vector for the current block.
46. The computer program product of claim 45, wherein the plurality of modes include a merge mode and an adaptive motion vector prediction mode.
PCT/US2012/040928 2011-06-20 2012-06-05 Unified merge mode and adaptive motion vector prediction mode candidates selection WO2012177388A1 (en)

Priority Applications (13)

Application Number Priority Date Filing Date Title
EP12727051.0A EP2721817B1 (en) 2011-06-20 2012-06-05 Unified merge mode and adaptive motion vector prediction mode candidates selection
BR112013032110-5A BR112013032110B1 (en) 2011-06-20 2012-06-05 Method and equipment for encoding a motion vector in a video encoding process, method and equipment for decoding a motion vector in a video encoding process and computer readable memory
KR1020147001429A KR20140017020A (en) 2011-06-20 2012-06-05 Unified merge mode and adaptive motion vector prediction mode candidates selection
JP2014516990A JP5893729B2 (en) 2011-06-20 2012-06-05 Integrated merge mode and adaptive motion vector prediction mode candidate selection
MX2013014929A MX339025B (en) 2011-06-20 2012-06-05 Unified merge mode and adaptive motion vector prediction mode candidates selection.
CN201280030404.4A CN103609123B (en) 2011-06-20 2012-06-05 Unified merge mode and adaptive motion vector prediction mode candidates selection
RU2014101483/08A RU2574831C2 (en) 2011-06-20 2012-06-05 Unified merge mode and adaptive motion vector prediction mode candidates selection
CA2838839A CA2838839C (en) 2011-06-20 2012-06-05 Unified merge mode and adaptive motion vector prediction mode candidates selection
SI201231982T SI2721817T1 (en) 2011-06-20 2012-06-05 Unified merge mode and adaptive motion vector prediction mode candidates selection
DK12727051.0T DK2721817T3 (en) 2011-06-20 2012-06-05 SELECTION OF UNITED MERGER MODE AND ADAPTIVE MOVEMENT VECTOR PREDICTION MODE CANDIDATES
AU2012273399A AU2012273399B2 (en) 2011-06-20 2012-06-05 Unified merge mode and adaptive motion vector prediction mode candidates selection
ES12727051T ES2908241T3 (en) 2011-06-20 2012-06-05 Selection of unified blending mode candidates and adaptive motion vector prediction mode
IL229718A IL229718A (en) 2011-06-20 2013-11-28 Unified merge mode and adaptive motion vector prediction mode candidates selection

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
US201161499114P 2011-06-20 2011-06-20
US61/499,114 2011-06-20
US201161506558P 2011-07-11 2011-07-11
US61/506,558 2011-07-11
US201161509007P 2011-07-18 2011-07-18
US61/509,007 2011-07-18
US13/487,996 US9282338B2 (en) 2011-06-20 2012-06-04 Unified merge mode and adaptive motion vector prediction mode candidates selection
US13/487,996 2012-06-04

Publications (1)

Publication Number Publication Date
WO2012177388A1 true WO2012177388A1 (en) 2012-12-27

Family

ID=47353635

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/US2012/040927 WO2012177387A1 (en) 2011-06-20 2012-06-05 Unified merge mode and adaptive motion vector prediction mode candidates selection
PCT/US2012/040928 WO2012177388A1 (en) 2011-06-20 2012-06-05 Unified merge mode and adaptive motion vector prediction mode candidates selection

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/US2012/040927 WO2012177387A1 (en) 2011-06-20 2012-06-05 Unified merge mode and adaptive motion vector prediction mode candidates selection

Country Status (18)

Country Link
US (2) US9282338B2 (en)
EP (2) EP2721817B1 (en)
JP (4) JP2014520484A (en)
KR (3) KR20140017020A (en)
CN (2) CN103609121B (en)
AU (2) AU2012273399B2 (en)
BR (2) BR112013032601B1 (en)
CA (2) CA2838839C (en)
DK (1) DK2721817T3 (en)
ES (1) ES2908241T3 (en)
HU (1) HUE058080T2 (en)
IL (2) IL229718A (en)
MX (2) MX339025B (en)
MY (2) MY168369A (en)
SG (1) SG195213A1 (en)
SI (1) SI2721817T1 (en)
UA (1) UA111971C2 (en)
WO (2) WO2012177387A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2613535A2 (en) * 2010-09-02 2013-07-10 LG Electronics Inc. Method for encoding and decoding video, and apparatus using same
JP2015053720A (en) * 2014-10-30 2015-03-19 株式会社Jvcケンウッド Image encoding apparatus, method and program as well as transmission apparatus, method and program
JP2016034160A (en) * 2015-12-08 2016-03-10 株式会社Jvcケンウッド Image encoding device, image encoding method, image encoding program, transmission device, transmission method, and transmission program
JP2016054549A (en) * 2015-12-08 2016-04-14 株式会社Jvcケンウッド Image encoding device, image encoding method, image encoding program, transmission device, transmission method, and transmission program
JP2016054551A (en) * 2015-12-08 2016-04-14 株式会社Jvcケンウッド Image encoding device, image encoding method, image encoding program, transmission device, transmission method, and transmission program
JP2016054550A (en) * 2015-12-08 2016-04-14 株式会社Jvcケンウッド Image encoding device, image encoding method, image encoding program, transmission device, transmission method, and transmission program
JP2017076980A (en) * 2016-10-24 2017-04-20 株式会社Jvcケンウッド Image encoding device
US10631005B2 (en) 2014-04-21 2020-04-21 Qualcomm Incorporated System and method for coding in block prediction mode for display stream compression (DSC)
RU2810126C2 (en) * 2019-04-25 2023-12-22 Хуавэй Текнолоджиз Ко., Лтд. Method and device for image prediction and computer readable data medium
US12010293B2 (en) 2019-04-25 2024-06-11 Huawei Technologies Co., Ltd. Picture prediction method and apparatus, and computer-readable storage medium

Families Citing this family (106)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270635B (en) 2009-05-29 2018-12-11 三菱电机株式会社 Picture decoding apparatus and picture decoding method
US9060176B2 (en) * 2009-10-01 2015-06-16 Ntt Docomo, Inc. Motion vector prediction in video coding
KR101791078B1 (en) * 2010-04-16 2017-10-30 에스케이텔레콤 주식회사 Video Coding and Decoding Method and Apparatus
US9510009B2 (en) * 2010-05-20 2016-11-29 Thomson Licensing Methods and apparatus for adaptive motion vector candidate ordering for video encoding and decoding
EP3136727B1 (en) 2011-04-12 2018-06-13 Sun Patent Trust Motion-video coding method and motion-video coding apparatus
EP3337172B1 (en) 2011-05-24 2020-09-09 Velos Media International Limited Image encoding method, image encoding apparatus
TR201819396T4 (en) 2011-05-27 2019-01-21 Sun Patent Trust Image Decoding Method And Image Decoding Device
US9485518B2 (en) 2011-05-27 2016-11-01 Sun Patent Trust Decoding method and apparatus with candidate motion vectors
SG194746A1 (en) 2011-05-31 2013-12-30 Kaba Gmbh Image encoding method, image encoding device, image decoding method, image decoding device, and image encoding/decoding device
MX2013012209A (en) 2011-05-31 2013-11-01 Panasonic Corp Video encoding method, video encoding device, video decoding method, video decoding device, and video encoding/decoding device.
JP2013005077A (en) * 2011-06-14 2013-01-07 Sony Corp Image processing device and method
WO2012177052A2 (en) 2011-06-21 2012-12-27 한국전자통신연구원 Inter-prediction method and apparatus for same
KR20120140592A (en) 2011-06-21 2012-12-31 한국전자통신연구원 Method and apparatus for reducing computational complexity of motion compensation and increasing coding efficiency
CN107071470B (en) * 2011-06-27 2020-02-07 三星电子株式会社 Method for decoding image
EP3849192B1 (en) 2011-06-28 2023-01-11 LG Electronics, Inc. Method for deriving a motion vector for video decoding and video encoding
JP5937594B2 (en) 2011-06-30 2016-06-22 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Image decoding method and image decoding apparatus
HUE052632T2 (en) * 2011-06-30 2021-05-28 Jvc Kenwood Corp Image coding device, image coding method, image coding program, image decoding device, image decoding method, and image decoding program
AU2012291454B2 (en) 2011-08-03 2016-11-17 Sun Patent Trust Video encoding method, video encoding apparatus, video decoding method, video decoding apparatus, and video encoding/decoding apparatus
JP5958165B2 (en) * 2011-08-12 2016-07-27 株式会社Jvcケンウッド Image decoding apparatus, image decoding method, image decoding program, receiving apparatus, receiving method, and receiving program
GB2493755B (en) * 2011-08-17 2016-10-19 Canon Kk Method and device for encoding a sequence of images and method and device for decoding a sequence of images
KR101492105B1 (en) 2011-08-29 2015-02-11 주식회사 아이벡스피티홀딩스 Method of encoding moving pictures in amvp mode
WO2013057877A1 (en) 2011-10-19 2013-04-25 パナソニック株式会社 Image encoding method, image encoding device, image decoding method, and image decoding device
EP2716047A4 (en) * 2011-10-19 2015-03-18 Mediatek Inc Method and apparatus for derivation of motion vector predictor candidate set
KR20130050405A (en) * 2011-11-07 2013-05-16 오수미 Method for determining temporal candidate in inter prediction mode
EP3576412B1 (en) * 2011-11-08 2021-09-01 Nokia Technologies Oy Reference picture handling
KR101830352B1 (en) * 2011-11-09 2018-02-21 에스케이 텔레콤주식회사 Method and Apparatus Video Encoding and Decoding using Skip Mode
WO2013107028A1 (en) * 2012-01-19 2013-07-25 Mediatek Singapore Pte. Ltd. Methods and apparatuses of amvp simplification
US9729873B2 (en) 2012-01-24 2017-08-08 Qualcomm Incorporated Video coding using parallel motion estimation
US9451277B2 (en) 2012-02-08 2016-09-20 Qualcomm Incorporated Restriction of prediction units in B slices to uni-directional inter prediction
US9426463B2 (en) 2012-02-08 2016-08-23 Qualcomm Incorporated Restriction of prediction units in B slices to uni-directional inter prediction
US20130235926A1 (en) * 2012-03-07 2013-09-12 Broadcom Corporation Memory efficient video parameter processing
US20130272412A1 (en) * 2012-04-12 2013-10-17 Qualcomm Incorporated Common motion information candidate list construction process
US9338451B2 (en) 2012-04-12 2016-05-10 Qualcomm Incorporated Common spatial candidate blocks for parallel motion estimation
CN104521236B (en) * 2012-07-27 2017-10-20 寰发股份有限公司 3 d video encoding or coding/decoding method
US9344742B2 (en) * 2012-08-10 2016-05-17 Google Inc. Transform-domain intra prediction
US9860558B2 (en) * 2012-09-28 2018-01-02 Intel Corporation Inter-layer intra mode prediction
KR102186605B1 (en) * 2012-09-28 2020-12-03 삼성전자주식회사 Apparatus and method for encoding and decoding multi-view image
CN102883163B (en) * 2012-10-08 2014-05-28 华为技术有限公司 Method and device for building motion vector lists for prediction of motion vectors
JP5983430B2 (en) * 2013-01-25 2016-08-31 富士通株式会社 Moving picture coding apparatus, moving picture coding method, moving picture decoding apparatus, and moving picture decoding method
JP5776711B2 (en) * 2013-03-06 2015-09-09 株式会社Jvcケンウッド Image decoding apparatus, image decoding method, image decoding program, receiving apparatus, receiving method, and receiving program
JP5776712B2 (en) * 2013-03-06 2015-09-09 株式会社Jvcケンウッド Image decoding apparatus, image decoding method, image decoding program, receiving apparatus, receiving method, and receiving program
JP5776714B2 (en) * 2013-03-06 2015-09-09 株式会社Jvcケンウッド Image decoding apparatus, image decoding method, image decoding program, receiving apparatus, receiving method, and receiving program
JP5776713B2 (en) * 2013-03-06 2015-09-09 株式会社Jvcケンウッド Image decoding apparatus, image decoding method, image decoding program, receiving apparatus, receiving method, and receiving program
US9565454B2 (en) 2013-06-24 2017-02-07 Microsoft Technology Licensing, Llc Picture referencing control for video decoding using a graphics processor
TW201501511A (en) * 2013-06-25 2015-01-01 Hon Hai Prec Ind Co Ltd Prediction method and system in image compression
FR3011429A1 (en) * 2013-09-27 2015-04-03 Orange VIDEO CODING AND DECODING BY HERITAGE OF A FIELD OF MOTION VECTORS
WO2015053673A1 (en) * 2013-10-11 2015-04-16 Telefonaktiebolaget L M Ericsson (Publ) Method and arrangement for video transcoding using mode or motion or in-loop filter information
AU2014346844B2 (en) 2013-11-06 2017-06-15 Watt Fuel Cell Corp. Chemical reactor with manifold for management of a flow of gaseous reaction medium thereto
TWI538487B (en) * 2013-12-05 2016-06-11 財團法人工業技術研究院 Method and system of coding prediction for screen video
CN105874789B (en) 2014-01-29 2019-10-29 联发科技股份有限公司 Utilize the method for adaptive motion vector precision
WO2015169200A1 (en) 2014-05-06 2015-11-12 Mediatek Singapore Pte. Ltd. Method of block vector prediction for intra block copy mode coding
CN104363451B (en) * 2014-10-27 2019-01-25 华为技术有限公司 Image prediction method and relevant apparatus
JP6837965B2 (en) 2014-10-31 2021-03-03 サムスン エレクトロニクス カンパニー リミテッド Coding device and decoding device
EP4418654A2 (en) 2014-10-31 2024-08-21 Samsung Electronics Co., Ltd Video encoding device and video decoding device using high-precision skip encoding and method thereof
US10085027B2 (en) 2015-03-06 2018-09-25 Qualcomm Incorporated Adaptive mode checking order for video encoding
JP5999230B2 (en) * 2015-07-08 2016-09-28 株式会社Jvcケンウッド Receiver
CN106559669B (en) 2015-09-29 2018-10-09 华为技术有限公司 Prognostic chart picture decoding method and device
US10812822B2 (en) * 2015-10-02 2020-10-20 Qualcomm Incorporated Intra block copy merge mode and padding of unavailable IBC reference region
US10368073B2 (en) * 2015-12-07 2019-07-30 Qualcomm Incorporated Multi-region search range for block prediction mode for display stream compression (DSC)
US20190158870A1 (en) * 2016-01-07 2019-05-23 Mediatek Inc. Method and apparatus for affine merge mode prediction for video coding system
CN105635736B (en) * 2016-03-14 2018-11-13 杭州电子科技大学 A kind of simple and quick merging method
US10560712B2 (en) 2016-05-16 2020-02-11 Qualcomm Incorporated Affine motion prediction for video coding
US11503305B2 (en) 2016-08-03 2022-11-15 Kt Corporation Method and apparatus for processing video signal
US11638027B2 (en) 2016-08-08 2023-04-25 Hfi Innovation, Inc. Pattern-based motion vector derivation for video coding
CN106375764B (en) * 2016-08-31 2018-04-10 中国科学技术大学 A kind of bonding position prediction and block replicate the video intra-frame encoding method of prediction
CN106254884B (en) * 2016-09-30 2019-06-28 福州瑞芯微电子股份有限公司 Inter-frame prediction method and encoder IP based on H265 coding
US10448010B2 (en) * 2016-10-05 2019-10-15 Qualcomm Incorporated Motion vector prediction for affine motion models in video coding
US12063387B2 (en) 2017-01-05 2024-08-13 Hfi Innovation Inc. Decoder-side motion vector restoration for video coding
CN110574377B (en) * 2017-05-10 2021-12-28 联发科技股份有限公司 Method and apparatus for reordering motion vector prediction candidate set for video coding
WO2018226066A1 (en) * 2017-06-09 2018-12-13 엘지전자 주식회사 Method and apparatus for decoding video according to affine prediction in video coding system
US10911769B2 (en) * 2017-06-23 2021-02-02 Qualcomm Incorporated Motion-based priority for the construction of candidate lists in video coding
US10523961B2 (en) 2017-08-03 2019-12-31 Samsung Electronics Co., Ltd. Motion estimation method and apparatus for plurality of frames
CN109510991B (en) * 2017-09-15 2021-02-19 浙江大学 Motion vector deriving method and device
US11877001B2 (en) 2017-10-10 2024-01-16 Qualcomm Incorporated Affine prediction in video coding
US10523948B2 (en) * 2018-02-05 2019-12-31 Tencent America LLC Method and apparatus for video coding
KR102444294B1 (en) * 2018-05-10 2022-09-16 삼성전자주식회사 Encoding method and apparatus thereof, decoding method and apparatus thereof
CN108810549B (en) * 2018-06-06 2021-04-27 天津大学 Low-power-consumption-oriented streaming media playing method
EP3791588A1 (en) 2018-06-29 2021-03-17 Beijing Bytedance Network Technology Co. Ltd. Checking order of motion candidates in lut
WO2020003278A1 (en) 2018-06-29 2020-01-02 Beijing Bytedance Network Technology Co., Ltd. Update of look up table: fifo, constrained fifo
CN118803270A (en) 2018-06-29 2024-10-18 株式会社Kt Method of decoding image and encoding image and apparatus for transmitting compressed video data
CN110662056B (en) 2018-06-29 2022-06-07 北京字节跳动网络技术有限公司 Which lookup table needs to be updated or not
JP7460617B2 (en) 2018-06-29 2024-04-02 北京字節跳動網絡技術有限公司 LUT update conditions
CN110662057B (en) 2018-06-29 2022-06-21 北京字节跳动网络技术有限公司 Video processing method, device and equipment and method for storing bit stream
KR20210024502A (en) 2018-06-29 2021-03-05 베이징 바이트댄스 네트워크 테크놀로지 컴퍼니, 리미티드 Partial/full pruning when adding HMVP candidates to merge/AMVP
TWI723444B (en) 2018-06-29 2021-04-01 大陸商北京字節跳動網絡技術有限公司 Concept of using one or multiple look up tables to store motion information of previously coded in order and use them to code following blocks
EP3797516A1 (en) 2018-06-29 2021-03-31 Beijing Bytedance Network Technology Co. Ltd. Interaction between lut and amvp
EP4307679A3 (en) 2018-07-02 2024-06-19 Beijing Bytedance Network Technology Co., Ltd. Luts with intra prediction modes and intra mode prediction from non-adjacent blocks
CN112544082B (en) 2018-07-18 2023-12-15 寰发股份有限公司 Inter-frame prediction method and device for video encoding and decoding
US11051010B2 (en) * 2018-07-18 2021-06-29 Mediatek Inc. Merge candidates with multiple hypothesis
US11632546B2 (en) * 2018-07-18 2023-04-18 Electronics And Telecommunications Research Institute Method and device for effective video encoding/decoding via local lighting compensation
CN116708816A (en) * 2018-08-09 2023-09-05 Lg电子株式会社 Encoding device, decoding device, and data transmitting device
US11089297B2 (en) 2018-08-31 2021-08-10 Hulu, LLC Historical motion vector prediction with reset list
CN110891180B (en) 2018-09-10 2023-11-17 华为技术有限公司 Video decoding method and video decoder
TW202025760A (en) 2018-09-12 2020-07-01 大陸商北京字節跳動網絡技術有限公司 How many hmvp candidates to be checked
WO2020057504A1 (en) * 2018-09-17 2020-03-26 Mediatek Inc. Methods and apparatuses of combining multiple predictors for block prediction in video coding systems
CN118678108A (en) * 2018-10-09 2024-09-20 三星电子株式会社 Video encoding and encoding method and apparatus for transmitting bit stream
WO2020086317A1 (en) * 2018-10-23 2020-04-30 Tencent America Llc. Method and apparatus for video coding
US10917636B2 (en) * 2018-12-03 2021-02-09 Tencent America LLC Method and apparatus for video coding
WO2020122640A1 (en) 2018-12-12 2020-06-18 엘지전자 주식회사 Method and device for processing video signal on basis of history-based motion vector prediction
US11856194B2 (en) 2018-12-21 2023-12-26 Hfi Innovation Inc. Method and apparatus of simplified triangle merge mode candidate list derivation
US11032574B2 (en) * 2018-12-31 2021-06-08 Tencent America LLC Method and apparatus for video coding
CN113273186A (en) 2019-01-10 2021-08-17 北京字节跳动网络技术有限公司 Invocation of LUT update
CN113383554B (en) 2019-01-13 2022-12-16 北京字节跳动网络技术有限公司 Interaction between LUTs and shared Merge lists
US11025951B2 (en) * 2019-01-13 2021-06-01 Tencent America LLC Method and apparatus for video coding
CN113302937B (en) 2019-01-16 2024-08-02 北京字节跳动网络技术有限公司 Motion candidate derivation
CN113615193B (en) 2019-03-22 2024-06-25 北京字节跳动网络技术有限公司 Interactions between Merge list build and other tools

Family Cites Families (52)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0535746B1 (en) 1991-09-30 1997-01-29 Philips Electronics Uk Limited Motion vector estimation, motion picture encoding and storage
US5594504A (en) * 1994-07-06 1997-01-14 Lucent Technologies Inc. Predictive video coding using a motion vector updating routine
JP3800640B2 (en) 1995-07-04 2006-07-26 ソニー株式会社 Image information motion detection method and apparatus, image information encoding method and apparatus, image information transmission system, image information recording system, and recording medium
US6519287B1 (en) 1998-07-13 2003-02-11 Motorola, Inc. Method and apparatus for encoding and decoding video signals by using storage and retrieval of motion vectors
US6289052B1 (en) * 1999-06-07 2001-09-11 Lucent Technologies Inc. Methods and apparatus for motion estimation using causal templates
US6968008B1 (en) * 1999-07-27 2005-11-22 Sharp Laboratories Of America, Inc. Methods for motion estimation with adaptive motion accuracy
DE60141961D1 (en) 2001-09-10 2010-06-10 Texas Instruments Inc Method and apparatus for motion vector estimation
JP2004023458A (en) * 2002-06-17 2004-01-22 Toshiba Corp Moving picture encoding/decoding method and apparatus
KR100865034B1 (en) * 2002-07-18 2008-10-23 엘지전자 주식회사 Method for predicting motion vector
KR100506864B1 (en) * 2002-10-04 2005-08-05 엘지전자 주식회사 Method of determining motion vector
US7075257B2 (en) 2002-10-18 2006-07-11 Black & Decker Inc. Method and device for braking a motor
NO318167B1 (en) * 2002-11-27 2005-02-14 Tandberg Telecom As Vektorprediksjon
CN100584024C (en) 2003-01-10 2010-01-20 汤姆森特许公司 Defining interpolation filters for error concealment in a coded image
US9210441B2 (en) 2003-06-25 2015-12-08 Thomson Licensing Fast mode-decision encoding for interframes
US7978764B2 (en) * 2003-06-27 2011-07-12 Nxp B.V. Method of video encoding for handheld apparatuses selecting best prediction function according to optimal rate-distortion value
US20050013498A1 (en) * 2003-07-18 2005-01-20 Microsoft Corporation Coding of motion vector information
US8064520B2 (en) * 2003-09-07 2011-11-22 Microsoft Corporation Advanced bi-directional predictive coding of interlaced video
US7400681B2 (en) 2003-11-28 2008-07-15 Scientific-Atlanta, Inc. Low-complexity motion vector prediction for video codec with two lists of reference pictures
JP4213646B2 (en) 2003-12-26 2009-01-21 株式会社エヌ・ティ・ティ・ドコモ Image encoding device, image encoding method, image encoding program, image decoding device, image decoding method, and image decoding program.
FR2868579A1 (en) * 2004-03-30 2005-10-07 St Microelectronics Sa METHOD AND DEVICE FOR GENERATING CANDIDATE VECTORS FOR IMAGE INTERPOLATION SYSTEMS BY ESTIMATION AND MOTION COMPENSATION
JP2006020095A (en) * 2004-07-01 2006-01-19 Sharp Corp Motion vector detection circuit, image encoding circuit, motion vector detecting method and image encoding method
JP2008538433A (en) 2005-04-12 2008-10-23 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Video processing using region-based multipath motion estimation and temporal motion vector candidate update
US8913660B2 (en) * 2005-04-14 2014-12-16 Fastvdo, Llc Device and method for fast block-matching motion estimation in video encoders
WO2007080480A2 (en) * 2006-01-09 2007-07-19 Nokia Corporation Error resilient mode decision in scalable video coding
AU2007244443A1 (en) * 2006-04-28 2007-11-08 Ntt Docomo, Inc. Image predictive coding device, image predictive coding method, image predictive coding program, image predictive decoding device, image predictive decoding method and image predictive decoding program
KR100856223B1 (en) * 2006-10-19 2008-09-03 삼성전자주식회사 Adaptive encoding mode decision apparatus and method thereof
FR2907989B1 (en) * 2006-10-27 2009-01-16 Actimagine Sarl METHOD AND DEVICE FOR OPTIMIZING THE COMPRESSION OF A VIDEO STREAM
WO2008120577A1 (en) * 2007-03-29 2008-10-09 Kabushiki Kaisha Toshiba Image coding and decoding method, and apparatus
US8139875B2 (en) * 2007-06-28 2012-03-20 Mitsubishi Electric Corporation Image encoding device, image decoding device, image encoding method and image decoding method
US9008174B2 (en) * 2008-01-10 2015-04-14 Thomson Licensing Methods and apparatus for illumination compensation of intra-predicted video
BRPI0915821A2 (en) * 2008-07-10 2015-11-10 Mitsubishi Electric Corp image encoder and decoder devices, and image encoding and decoding methods.
US8724697B2 (en) 2008-09-26 2014-05-13 Qualcomm Incorporated Locating motion vectors for video data units
TWI382770B (en) * 2008-12-11 2013-01-11 Univ Nat Taiwan An efficient adaptive mode selection technique for h.264/avc-coded video delivery in burst-packet-loss networks
ES2629027T3 (en) 2009-06-19 2017-08-07 Orange Motion vector coding by predictor competition
US8665964B2 (en) 2009-06-30 2014-03-04 Qualcomm Incorporated Video coding based on first order prediction and pre-defined second order prediction mode
KR101452859B1 (en) 2009-08-13 2014-10-23 삼성전자주식회사 Method and apparatus for encoding and decoding motion vector
EP3337171A1 (en) * 2009-10-22 2018-06-20 Thomson Licensing Methods and apparatus for dc intra prediction mode for video encoding and decoding
US9036692B2 (en) * 2010-01-18 2015-05-19 Mediatek Inc. Motion prediction method
US9100649B2 (en) * 2010-02-10 2015-08-04 Lg Electronics Inc. Method and apparatus for processing a video signal
US8588303B2 (en) * 2010-03-31 2013-11-19 Futurewei Technologies, Inc. Multiple predictor sets for intra-frame coding
KR101752418B1 (en) * 2010-04-09 2017-06-29 엘지전자 주식회사 A method and an apparatus for processing a video signal
US9124898B2 (en) * 2010-07-12 2015-09-01 Mediatek Inc. Method and apparatus of temporal motion vector prediction
EP3907999B1 (en) * 2010-09-02 2023-11-22 LG Electronics, Inc. Inter prediction
WO2012042893A1 (en) 2010-09-30 2012-04-05 パナソニック株式会社 Image decoding method, image encoding method, image decoding device, image encoding device, programme, and integrated circuit
KR20140139615A (en) * 2010-10-08 2014-12-05 프라운호퍼 게젤샤프트 쭈르 푀르데룽 데어 안겐반텐 포르슝 에. 베. Picture coding supporting block partitioning and block merging
US8824558B2 (en) * 2010-11-23 2014-09-02 Mediatek Inc. Method and apparatus of spatial motion vector prediction
US8711940B2 (en) 2010-11-29 2014-04-29 Mediatek Inc. Method and apparatus of motion vector prediction with extended motion vector predictor
US9137544B2 (en) * 2010-11-29 2015-09-15 Mediatek Inc. Method and apparatus for derivation of mv/mvp candidate for inter/skip/merge modes
WO2012097376A1 (en) * 2011-01-14 2012-07-19 General Instrument Corporation Spatial block merge mode
US8755437B2 (en) * 2011-03-17 2014-06-17 Mediatek Inc. Method and apparatus for derivation of spatial motion vector candidate and motion vector prediction candidate
KR101532665B1 (en) 2011-03-14 2015-07-09 미디어텍 인크. Method and apparatus for deriving temporal motion vector prediction
WO2012173315A1 (en) * 2011-06-17 2012-12-20 엘지전자 주식회사 Method and apparatus for encoding/decoding video in intra prediction mode

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
MCCANN K ET AL: "High Efficiency Video Coding (HEVC) Test Model 2 (HM 2) Encoder Description", 20110128, no. JCTVC-D502, 28 January 2011 (2011-01-28), XP002679641, Retrieved from the Internet <URL:http://wftp3.itu.int/av-arch/jctvc-site/2011_01_D_Daegu/> [retrieved on 20120711] *
WIEGAND T ET AL: "WD2: Working Draft 2 of High-Efficiency Video Coding", 20110128, no. JCTVC-D503, 28 January 2011 (2011-01-28), XP002679642, Retrieved from the Internet <URL:http://wftp3.itu.int/av-arch/jctvc-site/2011_01_D_Daegu/> [retrieved on 20120711] *
ZHENG Y ET AL: "CE9: Unified Merge and AMVP candidates selection (UNI03)", 6. JCT-VC MEETING; 97. MPEG MEETING; 14-7-2011 - 22-7-2011; TORINO; (JOINT COLLABORATIVE TEAM ON VIDEO CODING OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ); URL: HTTP://WFTP3.ITU.INT/AV-ARCH/JCTVC-SITE/,, no. JCTVC-F297, 14 July 2011 (2011-07-14), XP030009320 *
ZHENG Y ET AL: "Unified Motion Vector Predictor Selection for Merge and AMVP", 96. MPEG MEETING; 21-3-2011 - 25-3-2011; GENEVA; (MOTION PICTURE EXPERT GROUP OR ISO/IEC JTC1/SC29/WG11),, no. m19932, 19 March 2011 (2011-03-19), XP030048499 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10666969B2 (en) 2010-09-02 2020-05-26 Lg Electronics Inc. Method for encoding and decoding video, and apparatus using same
EP2613535A2 (en) * 2010-09-02 2013-07-10 LG Electronics Inc. Method for encoding and decoding video, and apparatus using same
US9560374B2 (en) 2010-09-02 2017-01-31 Lg Electronics Inc. Method for encoding and decoding video, and apparatus using same
US9165379B2 (en) 2010-09-02 2015-10-20 Lg Electronics Inc. Method for encoding and decoding video, and apparatus using same
EP4322530A1 (en) * 2010-09-02 2024-02-14 LG Electronics Inc. Inter prediction method and device
EP2613535A4 (en) * 2010-09-02 2015-01-07 Lg Electronics Inc Method for encoding and decoding video, and apparatus using same
US11653021B2 (en) 2010-09-02 2023-05-16 Lg Electronics Inc. Method for encoding and decoding video, and apparatus using same
US11245918B2 (en) 2010-09-02 2022-02-08 Lg Electronics Inc. Method for encoding and decoding video, and apparatus using same
EP3907999A1 (en) * 2010-09-02 2021-11-10 LG Electronics, Inc. Inter prediction
US10097854B2 (en) 2010-09-02 2018-10-09 Lg Electronics Inc. Method for encoding and decoding video, and apparatus using same
US10631005B2 (en) 2014-04-21 2020-04-21 Qualcomm Incorporated System and method for coding in block prediction mode for display stream compression (DSC)
JP2015053720A (en) * 2014-10-30 2015-03-19 株式会社Jvcケンウッド Image encoding apparatus, method and program as well as transmission apparatus, method and program
JP2016054549A (en) * 2015-12-08 2016-04-14 株式会社Jvcケンウッド Image encoding device, image encoding method, image encoding program, transmission device, transmission method, and transmission program
JP2016054550A (en) * 2015-12-08 2016-04-14 株式会社Jvcケンウッド Image encoding device, image encoding method, image encoding program, transmission device, transmission method, and transmission program
JP2016054551A (en) * 2015-12-08 2016-04-14 株式会社Jvcケンウッド Image encoding device, image encoding method, image encoding program, transmission device, transmission method, and transmission program
JP2016034160A (en) * 2015-12-08 2016-03-10 株式会社Jvcケンウッド Image encoding device, image encoding method, image encoding program, transmission device, transmission method, and transmission program
JP2017076980A (en) * 2016-10-24 2017-04-20 株式会社Jvcケンウッド Image encoding device
US12010293B2 (en) 2019-04-25 2024-06-11 Huawei Technologies Co., Ltd. Picture prediction method and apparatus, and computer-readable storage medium
RU2810126C2 (en) * 2019-04-25 2023-12-22 Хуавэй Текнолоджиз Ко., Лтд. Method and device for image prediction and computer readable data medium

Also Published As

Publication number Publication date
BR112013032110B1 (en) 2022-05-17
IL229716A0 (en) 2014-01-30
CN103609121B (en) 2017-09-01
MX2013014932A (en) 2014-02-11
CA2838839C (en) 2017-03-21
EP2721817A1 (en) 2014-04-23
SI2721817T1 (en) 2022-04-29
WO2012177387A1 (en) 2012-12-27
RU2014101348A (en) 2015-07-27
AU2012273398B2 (en) 2015-11-19
JP2014520484A (en) 2014-08-21
UA111971C2 (en) 2016-07-11
ES2908241T3 (en) 2022-04-28
MY181631A (en) 2020-12-30
KR102010097B1 (en) 2019-08-12
CN103609121A (en) 2014-02-26
HUE058080T2 (en) 2022-07-28
SG195213A1 (en) 2013-12-30
IL229718A0 (en) 2014-01-30
JP2016096550A (en) 2016-05-26
CA2838839A1 (en) 2012-12-27
CA2839249C (en) 2017-01-03
AU2012273399A1 (en) 2014-01-09
MX339025B (en) 2016-05-05
IL229718A (en) 2017-05-29
IL229716A (en) 2016-12-29
KR20140024954A (en) 2014-03-03
AU2012273398A1 (en) 2014-01-09
KR20170016994A (en) 2017-02-14
US9131239B2 (en) 2015-09-08
MY168369A (en) 2018-10-31
BR112013032601A2 (en) 2017-08-01
JP5893729B2 (en) 2016-03-23
EP2721818A1 (en) 2014-04-23
CN103609123B (en) 2017-02-15
DK2721817T3 (en) 2022-03-14
JP6254136B2 (en) 2017-12-27
RU2014101483A (en) 2015-07-27
MX2013014929A (en) 2014-02-11
EP2721817B1 (en) 2022-02-09
US20120320968A1 (en) 2012-12-20
BR112013032110A2 (en) 2016-12-13
JP2016076944A (en) 2016-05-12
US20120320969A1 (en) 2012-12-20
US9282338B2 (en) 2016-03-08
BR112013032601B1 (en) 2022-06-07
JP2014517656A (en) 2014-07-17
AU2012273399B2 (en) 2016-03-24
KR20140017020A (en) 2014-02-10
CA2839249A1 (en) 2012-12-27
CN103609123A (en) 2014-02-26

Similar Documents

Publication Publication Date Title
US9282338B2 (en) Unified merge mode and adaptive motion vector prediction mode candidates selection
US9532066B2 (en) Motion vector prediction
CA2839687C (en) Parallelization friendly merge candidates for video coding
US8964832B2 (en) Offset type and coefficients signaling method for sample adaptive offset
US9807403B2 (en) Adaptive loop filtering for chroma components
RU2574280C2 (en) Selection of common candidates of mode of convergence and adaptive motion vector prediction mode

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: 12727051

Country of ref document: EP

Kind code of ref document: A1

DPE2 Request for preliminary examination filed before expiration of 19th month from priority date (pct application filed from 20040101)
ENP Entry into the national phase

Ref document number: 2838839

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: MX/A/2013/014929

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 2014516990

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2012273399

Country of ref document: AU

Date of ref document: 20120605

Kind code of ref document: A

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112013032110

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 20147001429

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2014101483

Country of ref document: RU

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 112013032110

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20131213