WO2013052835A2 - Performing transform dependent de-blocking filtering - Google Patents

Performing transform dependent de-blocking filtering Download PDF

Info

Publication number
WO2013052835A2
WO2013052835A2 PCT/US2012/059010 US2012059010W WO2013052835A2 WO 2013052835 A2 WO2013052835 A2 WO 2013052835A2 US 2012059010 W US2012059010 W US 2012059010W WO 2013052835 A2 WO2013052835 A2 WO 2013052835A2
Authority
WO
WIPO (PCT)
Prior art keywords
block
video data
offset
determining
blocking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/US2012/059010
Other languages
French (fr)
Other versions
WO2013052835A3 (en
WO2013052835A4 (en
Inventor
Geert Van Der Auwera
Rajan Laxman Joshi
Marta Karczewicz
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qualcomm Inc
Original Assignee
Qualcomm Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qualcomm Inc filed Critical Qualcomm Inc
Priority to EP12778879.2A priority Critical patent/EP2764693A2/en
Priority to IN2125CHN2014 priority patent/IN2014CN02125A/en
Priority to EP21186500.1A priority patent/EP3965417A3/en
Priority to CN201280048962.3A priority patent/CN103999469B/en
Priority to JP2014534788A priority patent/JP2014531879A/en
Priority to KR1020147011940A priority patent/KR101633197B1/en
Publication of WO2013052835A2 publication Critical patent/WO2013052835A2/en
Publication of WO2013052835A3 publication Critical patent/WO2013052835A3/en
Publication of WO2013052835A4 publication Critical patent/WO2013052835A4/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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/124Quantisation
    • H04N19/126Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
    • 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/117Filters, e.g. for pre-processing or post-processing
    • 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/12Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
    • H04N19/122Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
    • 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/124Quantisation
    • 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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • 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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness

Definitions

  • This disclosure relates to video coding, and more particularly, to de-blocking video data.
  • 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 or ITU-T H.264/MPEG-4, Part 10, Advanced Video Coding (AVC), and extensions of such standards, to transmit and receive digital video information more efficiently.
  • video compression techniques such as those described in the standards defined by MPEG-2, MPEG-4, ITU-T H.263 or ITU-T H.264/MPEG-4, Part 10, Advanced Video Coding (AVC), and extensions of such standards, to transmit and receive digital video information more efficiently.
  • Video compression techniques perform spatial prediction and/or temporal prediction to reduce or remove redundancy inherent in video sequences.
  • a video frame or slice may be partitioned into macrob locks. Each macroblock can be further partitioned. Macroblocks in an intra-coded (I) frame or slice are encoded using spatial prediction with respect to neighboring macroblocks.
  • Macroblocks in an inter-coded (P or B) frame or slice may use spatial prediction with respect to neighboring macroblocks in the same frame or slice or temporal prediction with respect to other reference frames.
  • this disclosure describes techniques for performing de-blocking of edges between video blocks based on a size of a transform used to transform residual video data of video blocks from the spatial domain to a frequency domain.
  • the techniques may enable a video encoder and/or a video decoder to select various offsets used in performing de-blocking based on the size of the transform used to transform these residual video data blocks.
  • the techniques may enable a video encoder and/or a video decoder to select various offsets used in performing deblocking based not only on the size of the transform but also on whether the current video block was intra-coded or inter-coded.
  • the techniques of this disclosure may improve perceived visual quality of the resulting video data after encoding, subsequent decoding and display.
  • the techniques may also promote coding gains in terms of the size of resulting encoded video data in comparison to encoded video data generated using conventional techniques.
  • a method of encoding video data comprises applying a transform to a block of the video data to generate a block of transform coefficients and applying a quantization parameter to quantize the block of transform coefficients.
  • the method further comprises reconstructing the block of video data from the quantized block of transform coefficients determining at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform and performing de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
  • the video encoding device further comprises means for reconstructing the block of video data from the quantized block of transform coefficients, means for determining at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de -blocking filtering strength based on the size of the applied transform and means for performing de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
  • a non-transitory computer-readable storage medium having stored thereon instructions that, when executed, cause one or more processors to apply a transform to a block of the video data to generate a block of transform coefficients, apply a quantization parameter to quantize the block of transform coefficients, reconstruct the block of video data from the quantized block of transform coefficients, determine at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform and perform de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
  • a method of decoding encoded video data with a video decoder comprises applying an inverse quantization parameter to a block of the encoded video data to de-quantize the block of the encoded video data and applying the inverse transform to the de-quantized block of the encoded video data to generate a block of residual video data.
  • the method further comprises reconstructing a block of video data from the block of residual video data and determining at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength.
  • the at least one offset is associated with a size of a transform applied to encode the block of the encoded video data.
  • a video decoding device configured to decoding encoded video data comprises one or more processors configured to apply an inverse
  • the quantization parameter to a block of the encoded video data to de-quantize the block of the encoded video data apply the inverse transform to the de-quantized block of the encoded video data to generate a block of residual video data, reconstruct a block of video data from the block of residual video data and determine at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength.
  • the at least one offset is associated with a size of a transform applied to encode the block of the encoded video data.
  • the one or more processors are further configured to perform de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
  • a video decoding device for decoding encoded video data comprises means for applying an inverse quantization parameter to a block of the encoded video data to de-quantize the block of the encoded video data and means for applying the inverse transform to the de-quantized block of the encoded video data to generate a block of residual video data.
  • the video decoding device further comprises means for reconstructing a block of video data from the block of residual video data and means for determining at least one offset used in determining whether to perform deblocking filtering of the reconstructed block of video data or used in determining deblocking filtering strength.
  • the at least one offset is associated with a size of a transform applied to encode the block of the encoded video data.
  • the video decoding device further comprises means for performing de-blocking filtering on the
  • a non-transitory computer-readable medium having stored thereon instruction that, when executed, cause one or more processors to apply an inverse quantization parameter to a block of the encoded video data to de-quantize the block of the encoded video data, apply the inverse transform to the de-quantized block of the encoded video data to generate a block of residual video data, reconstruct a block of video data from the block of residual video data, determine at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength, wherein the at least one offset is associated with a size of a transform applied to encode the block of the encoded video data, and perform de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
  • a method of coding video data comprises determining one or more deblocking filter clipping thresholds based on a boundary strength value, performing a clipping operation with respect to a deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped deblocking filter and applying the clipped de -blocking filter to a block of the video data.
  • a video coding device for coding video data comprises one or more processors configured to determine one or more deblocking filter clipping thresholds based on a boundary strength value, perform a clipping operation with respect to a deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped deblocking filter and apply the clipped deblocking filter to a block of the video data.
  • a video coding device for coding video data
  • the video coding device comprises means for determining one or more deblocking filter clipping thresholds based on a boundary strength value, means for performing a clipping operation with respect to a deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped deblocking filter and means for applying the clipped de -blocking filter to a block of the video data.
  • a non-transitory computer-readable storage medium having stored thereon instructions that, when executed, cause one or more processors of a video coding device to determine one or more deblocking filter clipping thresholds based on a boundary strength value, perform a clipping operation with respect to a deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped deblocking filter and apply the clipped de-blocking filter to a block of the video data.
  • FIG. 1 is a block diagram illustrating an example video encoding and decoding system that performs various aspects of the techniques described in this disclosure.
  • FIG. 2 is a block diagram illustrating an example video encoder that performs various aspects of the techniques described in this disclosure.
  • FIG. 3 is a block diagram illustrating an example video decoder that performs various aspects of the techniques described in this disclosure.
  • FIG. 4 is a flowchart illustrating exemplary operation of a video encoder in specifying a flag in a picture parameter set (PPS) of a bitstream that indicates whether offsets used to control de -blocking filtering are included in a slice header.
  • PPS picture parameter set
  • FIG. 5 is a flowchart illustrating exemplary operation of a video encoder in specifying offsets used to control de -blocking filtering in an adaptation parameter set
  • FIG. 6 is a flowchart illustrating exemplary operation of a video decoder in extracting a flag from a picture parameter set (PPS) that indicates whether offsets used to control de-blocking filtering are included in a slice header.
  • PPS picture parameter set
  • FIG. 7 is a flowchart illustrating exemplary operation of a video decoder in extracting offsets used to control de -blocking filtering from an adaptation parameter set in accordance with the techniques described in this disclosure.
  • FIG. 8 is a flowchart illustrating exemplary operation of a video coder in implementing various aspects of the techniques for determining a boundary strength value used to compute deblocking filter parameters.
  • FIG. 1 is a block diagram illustrating an example video encoding and decoding system 10 that may be configured to utilize various aspects the techniques described in this disclosure to facilitate transform dependent de-blocking filtering.
  • 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 performing transform dependent de-blocking filtering 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. 1, 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, including the slice header syntax described above, 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
  • video encoder 20 may implement the HM to perform video coding.
  • the HM provides for de -blocking using de-blocking filters to remove
  • De-blocking may be performed after dividing a frame into blocks (LCUs and sub-CUs thereof), coding the blocks, and then decoding the blocks. That is, video encoder 20, when operating in accordance with the HM, may determine the blocks, perform either intra-prediction or inter-prediction (such as motion estimation and compensation) to generate residual data, apply one or more transforms, such as discrete cosine transforms (DCTs) to transform the residual data from the spatial domain to the frequency domain and output DCT coefficients representative of the residual data in the frequency domain, and quantize the DCT coefficients, where such quantization may vary based on the size of the transform applied to the residual data.
  • DCTs discrete cosine transforms
  • Video encoder 20 may then reconstruct the encoded blocks (meaning, quantized DCT coefficients in this context) to form reconstructed blocks of video data, which are used as reference blocks when performing inter-prediction. This process of encoding the video blocks and then reconstructing these blocks may insert perceptible artifacts at edges between the neighboring blocks in a frame.
  • video encoder 20 may encode video data of a frame, then
  • Video decoders such as video decoder 30, may perform similar operations to reconstruct video data from the encoded video data and then perform de-blocking to similarly reduce the introduction of perceptible artifacts at the edges between neighboring blocks in a frame.
  • Such de-blocking filtering performed by a video coding device (which may refer to, in this context, video encoder 20 and/or video decoder 30) prior to storing the data for use as reference data is generally referred to as "in-loop" filtering, in that the filtering is performed within the coding loop.
  • Video decoder 20 may be configured to decode received video data, and then apply the same de-blocking filters to the decoded video data, for purposes of displaying the video data as well as for use as reference data for subsequent video data to be encoded or decoded.
  • encoder 20 and decoder 30 can be synchronized, such that de-blocking does not introduce error for subsequently coded video data using the deblocked video data for reference.
  • the HM is generally configured to determine, for each edge separating two PUs or TUs, whether to apply a de-blocking filter to deblock the edge.
  • the HM may be configured to determine whether to deblock an edge based on an analysis of one or more lines of pixels perpendicular to the edge, e.g., a line of 8 pixels.
  • the HM may determine whether to deblock the edge by examining four pixels to the left and four pixels to the right of the edge along a common line.
  • the number of pixels selected generally corresponds to the smallest block for de-blocking, e.g., 8x8 pixels.
  • Video coding devices 20, 30 may be configured to execute de-blocking decision functions relative to the support for a particular edge in accordance with a current version of the HM. In general, de-blocking decision functions are configured in the current version of the HM to detect high-frequency changes within the support.
  • t c threshold often referred to as “t c ”
  • ⁇ threshold which is often referred to as “ ⁇ ”
  • the t c and ⁇ thresholds may also influence the strength of the de -blocking filtering.
  • Video coding device 20, 30 may apply the t c threshold to deblock both luma and chroma samples while the video coding device applies the ⁇ threshold to perform luma sample de-blocking.
  • These thresholds are commonly determined using a parameter Q derived from a quantization parameter (QP) that defines a quantization step size and a boundary strength (BS) that defines coherence of pixel values across a block boundary.
  • QP quantization parameter
  • BS boundary strength
  • TcOffset value modifies the QP used to determine the Q parameter for the tc threshold depending on the value of the boundary strength.
  • the HM is configured to first determine this TcOffset used to modify QP in accordance with the following equation (1):
  • BS is greater than two, then the current block or neighboring block is intra coded and a TcOffset is equal to the default intra-coded TcOffset ("DEFAULT INTRA TC OFFSET"), which is two. Otherwise, if the BS is less than or equal to two, then the current block is inter-coded and the TcOffset is equal to zero.
  • the video coding device determines a Q value for the t c threshold in accordance with the following equation (2):
  • the current version of the HM may be configured to determine a Q value for the ⁇ threshold according to equation (3):
  • Equation (3) sets the value of Q to the value of QP subject to clipping the resulting Q value such that it falls within the range of zero to the constant MAX QP.
  • the current version of HM may lookup the respective values of the tc and ⁇ thresholds in the following Table 1 :
  • the HM may be configured to determine whether to perform de-blocking with respect to a given upper or left boundary and determine de-blocking filtering strength.
  • a similar process (and possibly the same process) may be specified in the current proposed version of HEVC for use in performing video decoding.
  • the current proposed version of HEVC is document HCTVC-J1003_d7, Bross et al, "High Efficiency Video Coding (HEVC) Text
  • JCT-VC Joint Collaborative Team on Video Coding
  • a statically defined tc offset and ⁇ offset with respect to transform size may not fully enable encoders to define suitable offsets to promote subjective perceived video quality and/or promote coding gains for all transform sizes.
  • the techniques may enable a video coding device (such as a video encoder or a video decoder) to perform de-blocking of edges between video blocks based on a size of a transform used to transform residual video data from the spatial domain to a frequency domain.
  • a video coding device such as a video encoder or a video decoder
  • the techniques may enable video encoder 20 and/or video decoder 30 to select various offsets used in determining whether to perform de -blocking based on the size of the transform used to transform these residual data blocks.
  • the techniques may enable video encoder 20 and/or video decoder 30 to select various offsets used in determining whether to perform de -blocking based not only on the size of the transform but also on whether the current video block was intra- or inter-coded.
  • the techniques of this disclosure may further improve perceived visual quality of the resulting video data after encoding, subsequent decoding and display.
  • the techniques may also promote coding gains in terms of the size of resulting encoded video data in comparison to encoded video data generated using conventional techniques.
  • video encoder 20 may implement the techniques described in this disclosure to signal up to one slice tc offset and one slice beta offset per transform type (4x4, 8x8, 16x6, 32x32) in the slice header.
  • the transform type of block Y may be used or a rule may be applied to the transform types (sizes) of X and Y, for example, to determine minimum/maximum/average transform size (which may also be referred to as a "type") from X and Y.
  • type minimum/maximum/average transform size
  • slice beta offset may be signaled separately for intra or inter coding modes.
  • non-square quadtree transforms which are often referred to as "non-square quadtree transforms" or "NSQT"
  • the equivalent square transform type can be used.
  • non-square transform sizes of 32x8 may be equated to a transform size of 16x16
  • non-square transform size 16x4 may be equated to a transform size of 8x8 for purposes of performing various aspects of the techniques described in this disclosure. That is, the QP defined for a 32x8 transform is the same as that defined for 16x16 transform, while the QP for the 16x4 transform is the same as that defined for the 8x8 transform.
  • the QP for the 8x8 square transform can be used for the non-square 16x4 transform.
  • the techniques may provide for various ways by which to signal these offsets in one or more of a picture parameter set (PPS), a sequence parameter set (SPS), an adaptation parameter set (APS) and a slice header (each of which may be specified in a bitstream representative of the encoded video data).
  • PPS picture parameter set
  • SPS sequence parameter set
  • APS adaptation parameter set
  • slice header each of which may be specified in a bitstream representative of the encoded video data.
  • a flag may be signaled in the PPS that indicates whether or not de-blocking filter control information (such as one or more of the various offsets noted above) is specified in one or more slice headers associated with the PPS. This flag may be specified in the PPS as a de-blocking_filter_control_present_flag syntax element.
  • the techniques may enable similar offsets to be specified in the PPS or an APS, thereby reducing slice overhead in that PPSes or APSes may be signaled less frequently than the rate at which slice headers occur in a bitstream representative of the encoded video data.
  • the various slice tc offsets and slice beta offsets in the slice header may enable similar offsets to be specified in the PPS or an APS, thereby reducing slice overhead in that PPSes or APSes may be signaled less frequently than the rate at which slice headers occur in a bitstream representative of the encoded video data.
  • slice tc offsets and slice beta offsets described as potentially being signaled in the slice header may be signaled in the APS without changing their respective names considering that these offsets apply to slices associated with the APS.
  • the APS generally specifies adaptations to currently specified syntax elements, hence the name adaptation parameter set.
  • a previous slice header may have specified one or more of these offsets and a subsequent APS (in decoding order) may specify an adaptation that adds, removes, or otherwise alters or replaces one of the offsets specified by the previous slice header.
  • a subsequent APS in decoding order
  • the adaptations may apply until another slice header provides for new offsets (which replaces all of the currently adapted offsets with the offsets specified in the slice header) or another APS modifies the current offsets.
  • the various slice tc offsets and slice beta offsets described as potentially being signaled in the slice header may be signaled in the PPS.
  • video encoder 20 may apply a transform to a block of the video data to generate a block of transform coefficients in the manner described above.
  • This transform may be associated with or otherwise identified by a transform unit (TU) in accordance with HEVC, which may be included within a coding unit (CU) specifying a coding node that references the block of video data, as described in more detail below. That is, generally, HEVC provides a framework for recursively identifying blocks of video data, where a largest coding unit (LCU) may denote the starting size of the block.
  • LCU largest coding unit
  • HEVC may then recursively partition this LCU until a smallest coding unit is reached or no further partition is required (which in either case is referred to as a coding unit or CU).
  • determining that no further partition is required involves an analysis, such as a rate-distortion optimization (RDO) analysis that involves coding each of block at each recursive level, comparing those various encodings in terms of bitrate provided and distortion introduced and selecting the CUs that provide a RDO that fits a given encoding profile.
  • RDO rate-distortion optimization
  • the CU may include a coding block that identifies the block of video data, a TU defining one or more transforms that are applied to the block of video data and a prediction unit (PU) that defines prediction data, such as motion vectors, reference picture lists and other data related to performing inter- or intra-prediction.
  • a prediction unit PU
  • the TU may identify one or more transforms that are applied to the block of video data identified by the coding node.
  • the TU may define two or more transforms that are each applied to the same block of video data, where the block of video data may be partitioned into separate transform regions to which the same or different sized transforms are applied.
  • the size of the transforms applied may affect a number of other aspects of video coding.
  • video encoder 20 may apply a quantization parameter that varies based on a size of the applied transform to quantize the block of transform coefficients.
  • video encoder 20 may reconstruct the block of video data from the quantized block of transform coefficients and then determine whether to perform de-blocking filtering to filter the reconstructed block of video data.
  • Video encoder 20 may determine at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de -blocking filtering strength based on the size of the applied transform, which provides another example of transform size affecting various aspects of video coding. This process of determining whether to perform de-blocking filtering is described in more detail below.
  • Video encoder 20 may then perform de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
  • Video encoder 20 may then specify a flag in a picture parameter set (PPS) that indicates whether the at least one offset is specified as at least one syntax element in a header of an independently decodable unit (e.g., a slice) that includes an encoded version of the block of video data.
  • PPS picture parameter set
  • this flag may be denoted in syntax tables as a "de-blocking_filter_control_present_flag" syntax element.
  • video encoder 20 may not signal or otherwise specify the flag in the PPS and instead may provide the at least one offset in a so-called adaptation parameter set (APS).
  • video encoder 20 may specify the flag, but set the flag so as to indicate that the at least one offset is not specified as at least one syntax element in the header of the slice that includes the encoded version of the block of video data.
  • Video encoder 20 may after specifying this flag then specify the at least one offset in the APS, where setting the flag to indicate that the at least one offset is not specified in the header of the slice indicates that the at least one offset is specified in the APS.
  • video encoder 20 may facilitate subsequent decoder operation and potentially reduce complexity, as video decoder 30 may not be required to determine the at least one offset itself, but rather may retrieve or extract this offset from either the slice header or the APS. In other words, rather than have to imply the values for the at least one offset, which may involve complicated operations, video decoder 30 may retrieve these values.
  • HEVC attempts to promote increased efficiency in coding video data in comparison to previous video coding standards (hence the name "high efficiency video coding", such as H.264/AVC
  • reducing complexity may in some instances promote more efficient decoder operation, which in certain circumstances may override HEVCs overarching goal to promote coding efficiency.
  • the techniques may promote coding efficiency in that APSes commonly occur in the bitstream less frequently than slice headers.
  • the techniques may reduce overhead associated with signaling or otherwise specifying the at least one offset.
  • FIG. 2 is a block diagram illustrating an example of a video encoder 20 that may perform the techniques described in this disclosure to facilitate application of deblocking filters.
  • 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.
  • 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 unidirectional 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 decoded picture 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. 2 is the unit 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 also may be referred to as a transform unit (TU) of a CU.
  • the video encoder 20 also includes an inverse quantization unit 58, an inverse transform module 60, and a 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 rate and 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 a 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 decoded picture 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, and not necessarily at a block (e.g., coding unit) boundary of the reference frame or slice. In some examples, the reference sample may occur at a fractional pixel position.
  • the motion estimation unit 42 sends the calculated motion vector to the entropy encoding unit 56 and the motion compensation unit 44.
  • the motion estimation unit 42 may utilize the above-described merge candidates to signal the motion vector according to a merge mode (i.e., signal the index of a neighbor block from which to copy a motion vector).
  • 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 intra-prediction unit 46 may intra-predict 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- five 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 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 PU and the received 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.
  • 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 (often of different sizes, such as 8x8, 16x16, 8x16, 16x8, etc.).
  • 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 signal the selected transform partition in the encoded video bitstream.
  • 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 CAVLC, CABAC, syntax- based context-adaptive binary arithmetic coding (SBAC), or another entropy coding methodology to the coefficients.
  • entropy coding such as CAVLC, CABAC, syntax- based context-adaptive binary arithmetic coding (SBAC), or another entropy coding methodology to the coefficients.
  • 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 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 as a reference block.
  • the motion compensation unit 44 may calculate a reference block by adding the residual block to a predictive block of one of the frames of the decoded picture buffer 64.
  • the motion compensation unit 44 may also apply one or more interpolation filters to the
  • Video encoder 20 may also include a de-blocking unit 63, which may apply or other a de-blocking filter to perform de -blocking filtering in accordance with various aspects of the techniques described in this disclosure. This filter may be applied to filter the decoded blocks in order to remove blockiness artifacts.
  • 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.
  • transform module 52 may apply a transform to a block of the video data to generate a block of transform coefficients in the manner described above.
  • transform module 52 may form a number of different TUs from the same block of residual video data, where each of the different TUs identify a different combination of transforms applied to the same residual block of video data.
  • transform module 52 may receive a residual block of video data of size 16x16. Transform module 52 may generate a first TU indicating that a 16x16 transform was applied to the 16x16 residual video data block and apply the 16x16 transform to the 16x16 video data block, transforming the 16x16 block of video data into a 16x16 block of transform coefficients. Transform module 52 may generate a second TU indicating that four 8x8 transforms were applied to the 16x16 residual video data block and apply the 8x8 transforms to the 16x16 video data block, transforming the 16x16 block of video data into a 16x16 block of transform coefficients.
  • Transform module 52 may generate a third TU indicating that two 16x8 transforms were applied to the 16x16 residual video data block and apply the 16x8 transforms to the 16x16 video data block, transforming the 16x16 block of video data into a 16x16 block of transform coefficients.
  • Transform module 52 may generate a fourth TU indicating that a 8x16 transform were applied to the 16x16 residual video data block and apply the 8x16 transform to the 16x16 video data block, transforming the 16x16 block of video data into a 16x16 block of transform coefficients.
  • Video encoder 20 may then continue to encode each of the CUs in the manner described above, quantizing the four different versions of the 16x16 block of transform coefficients. Video encoder 20 may next reconstruct each of the block of video data from the quantized block of transform coefficients corresponding to each of the TUs in the manner described above. Mode select unit 40 may then evaluate each of these different versions of the reconstructed blocks of video data to identify which provides, as one example, the rate-distortion optimization that fits a current profile for encoding the video data. Mode select unit 40 may store the selected one of the versions of the reconstructed block of video data into decoded picture buffer 64.
  • quantization unit 54 may apply a quantization parameter that varies based on a size of the applied transform to quantize the block of transform coefficients.
  • video encoder 20 may reconstruct the block of video data from the quantized block of transform coefficients and then determine whether to perform de-blocking filtering to filter the reconstructed block of video data. More specifically, de -blocking unit 63 may determine at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform. [0078] For example, de-blocking unit 63 may implement the following pseudo-code to determine whether to perform de-blocking filtering to filter the reconstructed block of video data:
  • BetaOffset (Bs > 2) ? INTRA BETA OFFSET :
  • slice_level syntax units slice_tc_offset_NxN_intra, slice_tc_offset_NxN_inter, slice_beta_offset_NxN_intra and
  • slice_beta_offset_NxN_inter may be defined for any of the transform types listed as being equal to NxN (e.g., 4x4, 8x8, 16x16 and 32x32) and additionally for intra- or inter-coded blocks.
  • de -blocking unit 63 may determine the transform type (which, in this example, refers to the size of the transform applied to each of the different versions of the CU) and set INTRA TC OFFSET,
  • de -blocking unit 63 determines TcOffset as equal to
  • De-blocking unit 63 may determine the boundary strength as a function of the pixel values at the boundary to be de-blocked. When the determined boundary strength is not greater than two, de- blocking unit 63 may determine the TcOffset as equal to INTER TC OFFSET. Deblocking unit 63 may also, according to the above pseudo-code, determine a BetaOffset as equal to INTRA BETA OFFSET when the boundary strength is determined to be greater than two. When not greater than two, de-blocking filter 63 may determine BetaOffset to be equal to INTER BETA OFFSET.
  • De-blocking unit 63 may then determine the tc as equal to Q, which itself is equal to a clipped version of the quantization parameter (QP) plus TcOffset, where the range of possible values run from zero to MAX QP (which is commonly set to 52) plus four. De-blocking unit 63 may then determine the ⁇ as equal to Q, which itself is equal to a clipped version of the quantization parameter (QP) plus BetaOffset, where the range of possible values run from zero to MAX QP (which again is commonly set to 52) plus four. De-blocking unit 63 uses tc for luma and chroma de-blocking and ⁇ for luma de-blocking.
  • de-blocking unit 63 may implement the following pseudo-code, which illustrates applying a mathematical relationship to determine the offsets to the QP value based on the slice-level syntax units, slice_tc_offset_intra, slice_tc_offset_inter, slice beta offset intra, slice beta offset inter:
  • Tc_offset_NxN_intra_delta tc_offset_intra_delta * factor_NxN
  • Tc_offset_NxN_inter_delta tc_offset_inter_delta * factor_NxN
  • Beta_offset_NxN_intra_delta beta_offset_intra_delta * factor_NxN
  • Beta_offset_NxN_inter_delta beta_offset_inter_delta * factor_NxN
  • Beta offset intra delta -1
  • Beta offset inter delta -1
  • de-blocking unit 63 may determine the TcOffset as a function of the BS, where if BS is greater than two, the video coding device may determine that the value of TcOffset is equal to the
  • DEFAULT INTRA TC OFFSET (which is usually equal to two) plus the determined INTRA TC OFFSET, which itself may be equal to any one of the defined
  • de-blocking unit 63 determines that the value of TcOffset is equal to INTER TC OFFSET, which itself may be equal to any one of the defined slice tc offset NxN inter (selected based on the size of block Y in this example).
  • de-blocking unit 63 may determine a value for BetaOffset also as a function of Bs, where if Bs is greater than two, the video coding device determines that the value of BetaOffset is equal to INTRA BETA OFFSET, which itself may be equal to any one of the defined slice_beta_offset_NxN_intra (selected based on the size of the block Y in this example). Alternatively, if Bs is less than or equal to two, the video coding device may determine that the value of BetaOffset is equal to
  • De-blocking unit 63 may use both the determined TcOffset and BetaOffset in a similar manner to derive respective Q values for looking up the corresponding t c threshold and ⁇ threshold according to the pseudo-code or equations denoted above, which are reproduced below in equation format for convenience.
  • de-blocking unit 63 determines a Q value for looking up the t c threshold in the above Table 1 by setting the Q value to the QP plus the determined TcOffset subject to clipping in the range from zero to MAX QP+4 (where MAX QP usually equals 51). Likewise, de-blocking unit 63 may determine a Q value for looking up the ⁇ threshold in the above Table 1 by setting the Q value to the QP plus the determined BetaOffset subject to clipping in the range from zero to MAX QP+4 (where MAX QP usually equals 51). De-blocking unit 63 may then use these thresholds to determine whether de-blocking filtering should be performed with respect to boundaries of a current block of video data.
  • de-blocking unit 63 performs de-blocking filtering.
  • the techniques may improve the ability of encoders to control de-blocking so as to promote better control over subject video quality and/or promote coding gain.
  • de-blocking unit 63 may not compute or determine both an INTRA BETA OFFSET and an INTER BETA OFFSET, but only a single
  • slice tc offset intra delta slice tc offset inter
  • slice tc offset inter delta slice beta offset
  • de-blocking unit 63 may compute TcOffset and the
  • BetaOffset in a slightly different manner as set forth with respect to the following pseudo-code:
  • BetaOffset BETA OFFSET
  • de-blocking unit 63 determines the TcOffset as a function of the Bs, where if Bs is greater than two, de -blocking unit 63 may determine that the value of TcOffset is equal to the INTRA TC OFFSET. However, if Bs is less than or equal to two, de-blocking unit 63 determines that the value of TcOffset is equal to INTER TC OFFSET. De-blocking unit 63 uses both the determined TcOffset and BetaOffset in a similar manner to derive respective Q values for looking up the corresponding t c threshold and ⁇ threshold according to the pseudo-code or equations denoted above as equations (4) and (5).
  • video encoder 20 may signal the various offsets in different portions of the bitstream, such as the SPS, PPS, APS and slice header.
  • the following describes the HEVC syntax modifications that may be required to the current working draft of HEVC so as to support signaling of these offsets as additional syntax elements. While a number of examples are provided below, any method of signaling these syntax elements may be possible to achieve various aspects of the techniques. In addition, various ways of signaling these additional syntax elements may be used depending on a given context and the context may also be signaled so that the video decoder may determine how to appropriately parse the bitstream.
  • TcOffset and BetaOffset syntax elements for both intra-coded and inter-coded blocks may be explicitly signaled
  • a single TcOffset and a single BetaOffset for one or more transform types may be signaled, where the video decoder derives the intra- coded and inter-coded versions of these offsets from the signaled TcOffset and
  • mode select unit 40 may select the corresponding one of the reconstructed versions of the block of video data, which after being de-blocked, may promote a given encoding profile in terms of rate and distortion. Mode select unit 40 may signal the corresponding offsets that were used to perform de-blocking to entropy encoding unit 56, which may formulate the bitstream representative of the encoded video data. Entropy encoding unit 56 may add the de- blocking_filter_control_present_flag to the picture parameter set (PPS) syntax as illustrated in the following Table 2. If the de-blocking_filter_control_present_flag is equal to 1 , this flag specifies that a set of syntax elements controlling the characteristics of the de-blocking filter is present in the slice header.
  • PPS picture parameter set
  • this flag specifies that the set of syntax elements controlling the characteristics of the deblocking filter is not present in the slice header and their inferred values are to be used by the video decoder.
  • the syntactical description that specifies the parsing process for the flag should be chosen appropriately, such as a single bit.
  • APS Picture Parameter Set
  • PPS Picture Parameter Set
  • Table 3 represents the slice header syntax which contains all tc and beta offsets for each transform type (4x4, 8x8, 16x16, 32x32) and for intra and inter modes.
  • Table 4 and Table 5 illustrate slice header syntax examples with fewer offset elements.
  • entropy encoding unit 56 defines t c offsets for all of the transform types applied to intra-coded blocks and a single standard ⁇ offset is defined for all transform types applied to intra-coded blocks.
  • the slice type is not an I-slice (meaning it is a P or B slice)
  • entropy encoding unit 56 defines t c offsets for all of the transform types applied to inter-coded blocks and a single standard ⁇ offset for all transform types applied to inter-coded blocks.
  • entropy encoding unit 56 signals general t c offsets for all transform types applied to both intra-coded and inter- coded blocks and a single standard ⁇ offset for all transform types applied to both intra- coded and inter-coded blocks.
  • encoding unit 56 introduces the following two new de-blocking flags: • de-blocking_offset_intra_inter_flag, which when equal to 0, signals that the same offset is used for intra and inter modes. When equal to 1, this flag indicates that offsets are signaled for intra and inter coding modes.
  • de-blocking_offset_transform_flag which when equal to 0, signals that offsets are transform size independent and, when equal to 1 , signals that offsets are transform size dependent.
  • the syntactical description for the tc offset and beta offset syntax elements should be chosen appropriately.
  • the tc offset and beta offset may be represented as a signed integer Exp-Golomb-coded syntax element.
  • these syntax elements may not be explicitly signaled and video decoder 30 may spatially or temporally predict the tc offset and beta offset values.
  • the various offsets may be quantized according to a given quantization scheme (that may as one example involve dividing these offsets by two).
  • entropy encoding unit 56 may signal the syntax units in the manner described below.
  • entropy encoding unit 56 may signal the syntax units in, as one example, the Adaptation Parameter Set (APS) or the Picture Parameter Set (PPS), instead of the slice header or in addition to the slice header.
  • entropy encoding unit 56 may use a mathematical relationship for signaling of the Beta Offset value analogous to that used for the TcOffset value.
  • entropy encoding unit 56 may signal the de- blocking_filter_control_present_flag in the Sequence Parameter Set (SPS), as set forth in the following Table 8: Table 8
  • entropy encoding unit 56 may signal the de- blocking_filter_control_present_flag in, for example, the Picture Parameter Set (PPS).
  • PPS Picture Parameter Set
  • the de-blocking_filter_control_present_flag may be represented by one bit.
  • entropy encoding unit 56 may signal the syntax units, slice_tc_offset_intra, slice_tc_offset_intra_delta,
  • Entropy encoding unit 56 may select an appropriate syntactical description for the syntax elements, such as by selecting a signed integer Exp-Golomb-coded syntax element ("se(v)").
  • the various offsets for t c and ⁇ may be signaled in the APS, PPS and/or the slice header.
  • the APS may include parameters associated with the Adaptive Loop Filter (ALF) and the Sample Adaptive Offset (SAO).
  • ALF Adaptive Loop Filter
  • SAO Sample Adaptive Offset
  • the slice header may include a flag indicating to "inherit”, “override” or copy the de-blocking parameters specified in the APS or PPS or to use the parameters signaled in the slice header.
  • the following tables 10-12 respectively specify the Sequence Parameter Set (SPS), APS and slice header syntax as defined in accordance with the techniques of this disclosure.
  • SPS Sequence Parameter Set
  • APS APS
  • slice header syntax as defined in accordance with the techniques of this disclosure.
  • the Proposed column in each of these tables indicates syntax elements that are proposed in support of the techniques described in this disclosure, when marked with an "X," while those marked with a "Y” indicate syntax elements that have been recently proposed and/or adopted by the standards body.
  • de-blocking_filter_control_present flag As noted in Table 10 above, when the de-blocking_filter_control_present flag equals zero, then de-blocking filter in aps enabled flag equals zero,
  • aps deblockign filter flag equals zero
  • disable de-blocking filter flag equals zero
  • beta_offset_div2 equals zero
  • tc_offset_div2 zero
  • the parameter "aps de-blocking filter flag” indicates that de-blocking parameters are present in the APS (when set to a value of one) or not present (when set to a value of zero).
  • the parameter "disable de-blocking filter flag” when set to a value zero, indicates that the de-blocking filter is enabled and, when set to a value of one, indicates that the de-blocking filter is disabled.
  • the "beta_offset_div2" and “tc_offset_div2” parameters may refer to offsets that are added to the QP that is used to lookup tc and ⁇ thresholds (where the parameters are divided by 2).
  • Entropy encoding unit 56 may specify additional parameters in either the SPS, PPS, APS or slice header in accordance with the techniques described in this disclosure. For example, referring to Table 10, entropy encoding unit 56 may specify a "de- blocking_filter_control_present_flag" in the SPS or PPS, where this parameter, when set to a value of one, indicates that de-blocking parameters are present in the APS, PPS and/or slice header and, when set to a value of zero, indicates that no de-blocking parameters are present in the APS, PPS and slice header and that default de-blocking parameters shall be used. As another example, referring to Table 11 and Table 12, entropy encoding unit 56 may specify the "tc_offset_intra_div2,"
  • Tc_offset_NxN_intra_delta tc_offset_intra_delta ⁇ factor_NxN
  • Tc_offset_NxN_inter_delta tc_offset_inter_delta ⁇ factor_NxN
  • BetaOffset BETA OFFSET
  • the above pseudo-code generally indicates that the INTRA TC OFFSET may equal two times the tc_offset_intra_div2 parameter plus the tc_offset_NxN_intra_delta parameter.
  • this pseudo-code indicates that the INTER TC OFFSET may equal two times the tc_offset_inter_div2 parameter plus the tc_offset_NxN_inter_delta parameter, while the BETA OFFSET may equal two times the beta_offset_div2 parameter.
  • the Tc_offset_NxN_intra_delta may equal the
  • tc_offset_intra_delta parameter times a factor_NxN, examples of which are listed in the pseudo-code above.
  • the Tc offset NxN inter delta parameter may equal the tc_offset_inter_delta times the factor_NxN.
  • Entropy encoding unit 56 may implement the above pseudo-code to signal the various parameters.
  • the TcOffset is equal to the DEFAULT INTRA TC OFFSET (which equals two) plus the INTRA TC OFFSET. However, if the mode is not the Intra Mode, then the TcOffset is equal to
  • the BetaOffset is equal to the BETA OFFSET.
  • the Q value is determined for the t c threshold as QP plus the determined TcOffset value, subject to range clipping such that the resulting Q value falls within the range of 0 and MAX QP+DEFAULT INTRA TC OFFSET (where
  • the de- blocking offset intra inter flag (see above) to signal separate offset parameters for intra and inter can be introduced into the SPS, PPS, APS or slice header (e.g., see the following Tables 13 and 14).
  • beta_offset_intra_div2 se(v) beta_offset_inter_div2 se(v) X tc_offset_intra_div2 se(v) X tc offset intra delta se(v) X tc_offset_inter_div2 se(v) X tc offset inter delta se(v) X
  • beta_offset_intra_div2 se(v) X tc_offset_intra_div2 se(v) X tc offset intra delta se(v) X if ( slice_type ! I) ⁇ X
  • entropy encoding unit 56 may signal the de- blocking_filter_control_present_flag and the de-blocking_filter_in_aps_enabled_flag in the PPS.
  • PPS syntax is shown in the following Table 15, which may be overridden by specifying parameters in the slice header (or a header of an independently decodable unit) as shown with respect to the example slice header syntax of Table 16:
  • offset parameters may support transform size dependent control of the de-blocking filter strength, while subjective quality evaluations have demonstrated that certain video sequences may suffer from severe blocking artifacts that are transform size dependent.
  • These observed blocking artifacts may be visible at relatively high QP values (for example, for QP values that exceed 30) and for the maximum transform size as specified by the SPS syntax parameters log2_diff_max_min_transform_block_size and log2_min_transform_block_size_minus2. These large blocking artifacts may be most visible if the maximum transform size is 32x32; however, the blocking artifacts may also be visible if the maximum transform size is 16x16 or 8x8, while potentially less visible for transform size 4x4.
  • the techniques described in this disclosure may enable entropy encoding unit 56 to signal specific de-blocking adjustment parameters to control the deblocking strength in case that at least one of two adjacent video blocks P and Q are included in a transform unit with the maximum transform size.
  • the techniques of this disclosure may adjust the deblocking filter strength in cases where at least one of two adjacent video blocks P and Q is included in a transform unit with the maximum transform size.
  • the common edge between blocks P and Q is typically subject to de-blocking filtering. If neither video block P or Q is included in a maximum sized transform unit, then the current de -blocking adjustment parameters apply.
  • Tables 17 and 18 specify the changes to the PPS syntax and slice header syntax, where changes are shown using gray highlighting.
  • pps_beta_offset_max_tu_div2 / slice_header_beta_offset_max_tu_div2 specify the default de-blocking parameter offset for ⁇ (divided by 2) that is applied to edges of the maximum transform unit size in pictures referring to the picture parameter set unless the default de-blocking parameter offset for ⁇ is overridden by the deblocking parameter offset present in the slice header for pictures referring to the picture parameter set.
  • pps_tc_offset_max_tu_div2 / slice_header_tc_offset_max_tu_div2 specify the default de-blocking parameter offset for tc (divided by 2) that is applied to edges of the maximum transform unit size in pictures referring to the picture parameter set unless the default de-blocking parameter offset for tc is overridden by the de -blocking parameter offset present in the slice header for pictures referring to the picture parameter set.
  • pps_beta_offset_div2 / slice_header_beta_offset_div2 and pps_tc_offset_div2 / slice_header_tc_offset_div2 specify the default de-blocking parameter offsets for ⁇ and tc (divided by 2) that are applied to edges of transform units that are not also edges of the maximum transform unit size in pictures referring to the picture parameter set unless the default de-blocking parameter offsets are overridden by the de-blocking parameter offsets present in the slice header for pictures referring to the picture parameter set.
  • BetaOffset BETA OFFSET
  • beta_offset_max_tu_div2 and tc_offset_max_tu_div2 parameters may be signaled.
  • the "div2" or divided by 2 scaling of the proposed parameters may be optional, because other scaling factors or integer offsets (for example minusX with X an integer) may be used, or no scaling may be used (beta offset max tu and tc offset max tu).
  • the proposed beta_offset_max_tu_div2 and tc_offset_max_tu_div2 parameters above may be applied independently from intra or inter coding mode of the coding unit that contains the transform units.
  • the proposed parameters may be intra or inter coding mode dependent.
  • beta offset intra max tu div2 and/or beta offset inter max tu div2 and/or tc_offset_intra_max_tu_div2 and/or tc_offset_inter_max_tu_div2 may be signaled in a similar manner as specified in the syntax examples above.
  • the signaling of separate parameters for intra or inter mode may depend on an enable flag such as de- blocking offset intra inter flag as illustrated in previous aspects of the techniques described above.
  • the following rule may be applied to determine whether to use intra or inter parameters for de-blocking the common edge between video blocks P and Q: if P or Q (or both) are in an intra-coded coding unit, then the intra parameters apply to the edge, otherwise, the inter parameters apply.
  • the proposed techniques may further improve upon a proposal set forth in D.-K. Kwon, M. Budagavi, "Transform size dependent deblocking filter," 9th JCT-VC Meeting, Geneva, Switzerland, Apr. - May 2012, Doc. JCTVC-I0244, which suggests computing an additional boundary strength value 3 (or other number) in addition to the values 0 to 2 that are computed in the HM7 deblocking filter set forth in B. Bross, W.-J. Han, J.-R. Ohm, G. J. Sullivan, T. Wiegand, "High efficiency video coding (HEVC) text specification draft 7," 9th JCT-VC Meeting, Geneva, Switzerland, Apr.- May 2012, Doc. JCTVC-I1003_d4.
  • HEVC High efficiency video coding
  • the boundary strength is set to a value of 3 if at least one of the neighboring P or Q blocks is included in an intra-coded coding unit and if at least one of the intra-coded blocks (P and/or Q) is included in a transform unit of maximum size, for example, 32x32 or 16x16, etc.
  • boundary strength value 0 or 3
  • the deblocking adjustment parameters for maximum transform unit sizes (beta_offset_max_tu_div2 and/or beta_offset_intra_max_tu_div2 and/or tc_offset_max_tu_div2 and/or tc_offset_intra_max_tu_div2) set forth in accordance with the techniques described in this disclosure are employed as beta and t c offsets; otherwise, tc_offset_div2 and beta_offset_div2 are used.
  • boundary strength value if boundary strength value equals 3, then the strong deblocking filter is applied; otherwise, the weak filter is applied.
  • the deblocking adjustment parameters for maximum transform unit sizes (beta_offset_max_tu_div2 and/or beta_offset_intra_max_tu_div2 and/or tc_offset_max_tu_div2 and/or tc_offset_intra_max_tu_div2) specified in accordance with the techniques described in this disclosure are not applied nor signaled, and tc_offset_div2 and/or beta_offset_div2 are applied.
  • boundary strength value 0
  • the strong deblocking filter is applied; otherwise, the weak filter is applied.
  • the deblocking adjustment parameters for maximum transform unit sizes (beta_offset_max_tu_div2 and/or beta_offset_intra_max_tu_div2 and/or tc_offset_max_tu_div2 and/or tc_offset_intra_max_tu_div2) are applied to the strong deblocking filter, and tc_offset_div2 and/or beta_offset_div2 are applied to the weak deblocking filter.
  • Additional boundary strength values may be computed for the inter-coded case. For example, if neither block P or Q are intra-coded, and at least one of the P or Q blocks is included in a transform unit of maximum size, then an additional boundary strength value is defined, for example, value 4. Similar to the intra cases above, the proposed deblocking adjustment parameters for maximum transform unit sizes (beta_offset_max_tu_div2 and/or beta_offset_inter_max_tu_div2 and/or tc_offset_max_tu_div2 and/or tc_offset_inter_max_tu_div2) are applied.
  • the transform units of maximum size may need to contain at least one non-zero coded coefficient before applying the proposed beta_offset_max_tu_div2 and tc_offset_max_tu_div2 parameters to adjust the deblocking strength. This may be checked using the coded block flag (cbf).
  • a flag may be signaled to enable their signaling and/or the proposed functionality.
  • Tables 19 and 20 illustrate the syntax changes, where again the changes are denoted using gray highlighting:
  • de-blocking_max_tu_offset_enabled_flag may be any of the following alternatives:
  • de-blocking_max_tu_offset_enabled_flag may enable the signaling of the beta_offset_max_tu_div2 or tc_offset_max_tu_div2 syntax parameters if the flag value is equal to 1 ; otherwise, these parameters are not signaled and their value is inferred to be equal to 0.
  • de-blocking_max_tu_offset_enabled_flag may enable the signaling of the parameters beta_offset_max_tu_div2 or tc_offset_max_tu_div2 syntax parameters if the flag value is equal to 1 , otherwise, these parameters are not signaled and their value is inferred to be equal to the corresponding beta_offset_div2 and tc_offset_div2 parameters that are inferred to be equal to 0 if not present.
  • the techniques may be used in conjunction with techniques described in U.S. Provisional Patent Application 61/662,833, filed June 21, 2012, the entire contents of which are hereby incorporated in this disclosure, where the present techniques modify the beta-curves and t c -curves described in the above -incorporated Provisional Patent Application to increase de-blocking strength.
  • HM7 refers to the following document by B. Brass, W.-J. Han, J.-R. Ohm, G. J. Sullivan, T. Wiegand, entitled "High efficiency video coding (HEVC) text specification draft 7," 9th JCT-VC Meeting, Geneva, Switzerland, Apr.-May 2012, Doc. JCTVC-I1003_d4, the entire contents of which are hereby incorporated by reference.
  • the boundary strength is set to a value of 3 if at least one of the neighboring P or Q blocks is included in an intra-coded coding unit and if at least one of the intra-coded blocks (P and/or Q) is included in a transform unit of maximum size, for example 32x32 or 16x16, etc.
  • boundary strength value if boundary strength value equals 3, then a constant tc offset (constant max tu tc offset) and/or beta offset (constant max tu beta offset) is applied, which may be further modified through, for example, signaling tc_offset_div2 and beta_offset_div2.
  • the video coder may determine these values in the manner that follows:
  • BetaOffset BETA OFFSET
  • the video coder may determine or compute additional boundary strength values for the inter-coded case. For example, if neither block P or Q are intra-coded, and at least one of the P or Q blocks is included in a transform unit of maximum size, then an additional boundary strength value may be defined (e.g., a value of 4). Similar to the intra cases described above, a constant tc offset (constant max tu tc offset) and/or beta offset (constant max tu beta offset) is applied, which may be further modified through, for example, signaling tc_offset_div2 and beta_offset_div2.
  • the video coder may assign a boundary strength value of 3 (or other value) if at least one P or Q block is included in a transform unit of maximum size without checking inter or intra mode of block P or Q. Similar to the intra cases above, a constant tc offset (constant max tu tc offset) and/or beta offset (constant max tu beta offset) is applied, which may be further modified through, for example, signalling tc_offset_div2 and beta_offset_div2.
  • Another aspect of the techniques may, as described above, incorporate the additional boundary (Bs) values based on block P or Q being included in a transform unit (TU) or a transform block (TB) of the maximum allowed size that is specified in the SPS through syntax elements log2_min_transform_block_size_minus2 and log2_diff_max_min_transform_block_size.
  • TU transform unit
  • TB transform block
  • This aspect of the techniques may differ from the aspect described above in that the video coder sets the boundary strength to a value of 4 (or other appropriate value) if at least one of the neighboring P or Q blocks is included in an intra-coded coding unit (CU) and if at least one of the intra-coded blocks (P and/or Q) is included in a TU or TB of maximum size (e.g., 32x32, 16x16, etc.). Otherwise, the video coder sets the BS value to a value of 3 (or other appropriate value) when at least one of the P or Q blocks is included in a TB of maximum size. If neither of these conditions are met, the video coder may compute the Bs value in accordance with that defined in HEVC.
  • the video coder may simplify the above process by adding only one Bs value, for example, Bs equal to 3 using the following pseudo-code:
  • the video coder may implement the boundary strength value computation to include a check of whether block P or Q is included in a TB size that is greater (or equal) than a minimum size NxM (or NxN) instead of only the maximum TB size.
  • the following pseudo-code may illustrate this variation of the boundary strength value computation:
  • video encoder 20 may signal a high-level syntax parameter in a SPS, PPS or slice header (or any other header or parameter set) that identifies the minimum TB size NxM (or NxN).
  • the video coder increases the deblocking filter strength if Bs is greater than a value of 2 compared with the current operation of the HEVC deblocking filter.
  • the video coder modifies the clipping operation of the "weak" or "normal” deblocking filter specified in HEVC to increase weak filter strength.
  • Clip3( -cl, cl, ⁇ ) Remark: Clip3(a, b, x) clips value x to [a, b] interval
  • Filter clipping thresholds cl and c2 are modified as follows depending on the Bs value and maximum TU or TB size (Log2MaxTUsize)
  • the "weak" filter clipping thresholds are dependent on the Bs value and also on the maximum TU size (Log2MaxTUsize).
  • the purpose of the latter condition may be to prevent the clipping range from increasing in instances where the maximum TU size is small (e.g., 4x4). This may, therefore, set a lower limit.
  • the latter condition specified above is not checked.
  • the lower limit may be signaled as a parameter in the high-level syntax.
  • a video coding device may be configured to determine one or more deblocking filter clipping thresholds based on a boundary strength value, perform a clipping operation with respect to a deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped deblocking filter and apply the clipped de -blocking filter to a block of the video data.
  • the video coding device may be configured to determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a block of the video data of a specified size in the manner described above.
  • the video coding device may be configured to determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size, again as described above.
  • the video coding device may also, in some instances, be configured to determine the one or more deblocking filter clipping thresholds based on the boundary strength value and a maximum size of a block determined for a portion of the video data that includes the block of the video data.
  • the video coding device comprises a video encoding device, such as video encoder 20.
  • the block of video data may, in this instance, comprise a reconstructed block of video data that is reconstructed by the video encoding device from an encoded version of the block of video data.
  • Video encoder 20 may be configured to, when applying the clipped de-blocking filter, apply the clipped deblocking filter to the reconstructed block of the video data to generate a de-blocking filtered reconstructed block of video data.
  • Video encoder 20, as described in detail in this disclosure may also be configured to store the de -blocking filtered reconstructed block of video data to a memory for use as a reference block when encoding other blocks of video data.
  • the video coding device may comprise a video decoding device, such as video decoder 30.
  • the block of video data may comprises a reconstructed block of video data that is reconstructed by the video decoding device from an encoded version of the block of video data.
  • Video decoder 30 may be configured to, when applying the clipped de-blocking filter, apply the clipped de-blocking filter to the reconstructed block of the video data to generate a de-blocking filtered reconstructed block of video data, and to store the de -blocking filtered reconstructed block of video data to a memory for use as a reference block when decoding other blocks of video data.
  • deblocking filter parameters tc and beta may be determined as follows:
  • video encoder 20 may signal the deblocking control parameters beta_offset_max_tu_div2 and tc_offset_max_tu_div2 parameters in a manner similar to that described above to adjust the deblocking strength for Bs values 3 and/or 4.
  • the following exemplary pseudo-code may illustrate this operation:
  • BETA OFFSET 2*beta_offset_max_tu_div2
  • ELSE BETA OFFSET 2*beta_offset_ div2
  • BetaOffset BETA OFFSET
  • the video coding device may further be configured to determine the one or more deblocking filter clipping thresholds based on the boundary strength value and a maximum size of a transform unit determined for a portion of the video data that includes the block of the video data.
  • the video coding device may further be configured to, when the boundary strength value is greater than two and the maximum size of the transform unit is greater than a first threshold (e.g., a value of two), determine a first deblocking filter clipping threshold as a multiple of an offset used in determining whether to perform de-blocking filtering of the block of video data or used in determining de-blocking filtering strength.
  • the video coding device may, when the boundary strength value is greater than two and the maximum size of the transform unit is greater than a second threshold (which may be the same as the first threshold, e.g., a value of two), be configured to determine a second deblocking filter clipping threshold as a multiple of the offset used in determining whether to perform deblocking filtering of the block of video data or used in determining de-blocking filtering strength.
  • the video coding device in this instance, may be configured to, when performing the clipping operation, perform the clipping operation with respect to the deblocking filter using the determined first and second deblocking filter clipping thresholds to determine the clipped deblocking filter.
  • the video coding device may be further configured to, when performing the clipping operation, perform the clipping operation with respect to a normal deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped normal deblocking filter. Moreover, the video coding device may be further configured to, when applying the clipped de -blocking filter, apply the clipped normal deblocking filter to the block of the video data.
  • the video coding device may additionally be configured to determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size and determine to apply a chroma deblocking filter to a chroma portion of the block of video data when the determined boundary strength value equals four.
  • the video coding device may be configured to determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size, determine whether a size of the transform applied to the block of video data is a maximum transform unit size.
  • the video coding device may be configured to determine one or more of a maximum tc offset and a maximum ⁇ offset that are used in place of a tc offset and a ⁇ offset that are otherwise used in determining whether to perform de-blocking filtering of the block of the video data when the size of the transform applied to the block of video data is not a maximum transform unit size.
  • the video coding device may be further configured to specify a flag in a picture parameter set (PPS) that indicates whether one or more of the tc offset and the ⁇ offset is specified as at least one syntax element in one or both of the PPS and a header of an independently decodable unit that includes the block of video data in the manner described above.
  • the flag may comprise the above described de- blocking_filter_control_present_flag that indicates whether one or more of the tc offset and the ⁇ offset is specified as the at least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the encoded version of the block of video data.
  • FIG. 3 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 transformation unit 78, a decoded picture 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. 2).
  • 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.
  • Entropy decoding unit 70 may parse the above noted syntax elements from the bitstream in accordance with the techniques described in this disclosure.
  • entropy decoding unit 70 determines the flag specified in a picture parameter set (PPS) of the bitstream representative of the encoded video data that indicates whether at least one of the above noted offsets used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de -blocking filtering strength is specified in a header of the slice that included the block of encoded video data.
  • the at least one offset may be associated with a size of the transform applied to encode the block of the encoded video data in the manner described above. Based on the flag, entropy decoding unit 70 may extract the at least one offset from the header of the slice.
  • entropy decoding unit 70 extracts at least one the above noted offsets used in determining whether to perform de-blocking filtering of the
  • the one or more offsets may be associated with a size of a transform applied to encode the block of the encoded video data.
  • the two aspects of the techniques directed to signaling the flag in the PPS and signaling of the offsets in the APS or PPS may be utilized together or separately.
  • the flag when set to zero, may indicate that the offsets are signaled in the APS or PPS and may indicate, when set to one, that the offsets are signaled in the slice header.
  • entropy decoding unit 70 may extract the offsets from the bitstream and provide these offsets to de -blocking unit 63 shown in the example of FIG. 3 (which may be
  • de-blocking unit 63 substantially similar to de-blocking unit 63 shown in the example of FIG. 2 in that both may perform substantially the same or similar de -blocking processes to deblock reconstructed blocks of video data).
  • 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 quantization parameter may vary, as noted above, based on the size of the transform applied to generate the transform coefficients from the residual video data.
  • 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.
  • Inverse transform module 78 applies an inverse transform to the inverse quantized transform coefficients.
  • inverse transform module 78 may determine an inverse transform based on signaling from video encoder 20, or by inferring the transform from one or more coding characteristics such as block size, coding mode, or the like.
  • 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.
  • 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. Inverse transform module 78 may generate a block of residual video data.
  • 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.
  • motion compensation unit 72 Based on the retrieved motion prediction direction, reference frame index, and calculated current motion vector (e.g., a motion vector copied from a neighboring block according to a merge mode), motion compensation unit 72 produces a motion compensated block for the current portion. These motion compensated blocks essentially recreate the predictive block used to produce the block of residual data.
  • 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. Motion compensation unit 72 may use interpolation filters as used by video encoder 20 during encoding of the video block to calculate interpolated values for sub-integer pixels of a reference block. Motion compensation unit 72 may determine the interpolation filters used by video encoder 20 according to received syntax information and use the interpolation filters to produce predictive blocks.
  • motion compensation unit 72 and 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.
  • Motion compensation unit 72 and 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 split 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 split 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
  • Video decoder 30 may also include a de-blocking unit 81, which may apply a de-blocking filter to perform de-blocking filtering in accordance with various aspects of the techniques described above in this disclosure.
  • De-blocking unit 81 of video decoder 30 may be similar to, if not substantially similar to, de-blocking unit 63 of video encoder 20 in that de-blocking unit 81 of video decoder 30 may operate in a manner similar to that described above with respect to de-blocking unit 63 of video encoder 20.
  • this filter may be applied to filter the decoded blocks in order to remove blockiness artifacts.
  • the decoded video blocks are then stored in the decoded picture 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. 1).
  • FIG. 4 is a flowchart illustrating exemplary operation of a video encoder, such as video encoder 20 shown in the example of FIG. 2, in specifying a flag in a picture parameter set (PPS) of a bitstream that indicates whether offsets used to control deblocking filtering are included in a slice header.
  • video encoder 20 may receive a block of video data.
  • Video encoder 20 may, to encode this block of video data, perform either inter- or intra-coding, which mode select unit 40 may determine whether to inter- or intra-code the block of video data through analysis of the block in the manner described above.
  • the example presented in FIG. 4 assumes that mode select unit 40 selected inter-coding of the current block of video data for illustration purposes. The techniques should not be limited to this example.
  • motion estimation unit 42 and motion compensation unit 44 perform motion estimation and compensation to generate a predictive block for the current block of video data (90).
  • Summer 50 subtracts the predictive block from the current block of video data to generate a residual block of video data or residual block (92).
  • Transform module 52 may then apply one or more transforms to the residual block of video data to generate a block of transform coefficients in the manner described above (94).
  • Quantization unit 54 may then quantize the block of transform coefficients, again in the manner described above, to generate a quantized block of transform coefficients (96).
  • quantization unit 54 may apply a quantization parameter that varies based on a size of the applied transform to quantize the block of transform coefficients.
  • entropy encoding unit 56 may entropy encode the block of transform coefficients, storing the entropy encoded block of transform coefficients in a bitstream representative of the encoded video data (98).
  • Video encoder 20 may then reconstruct the block of video data from the quantized block of transform coefficients in the manner described above (100).
  • Deblocking unit 63 may then determine whether to perform de-blocking filtering to filter the reconstructed block of video data.
  • De-blocking unit 63 may determine at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform (102).
  • De-blocking unit 63 may then perform de -blocking filtering on the reconstructed block of video data based on the determined at least one offset (104).
  • Entropy encoding unit 56 may then specify a flag in a picture parameter set (PPS) that indicates whether the at least one offset is specified as at least one syntax element in a header of an independently decodable unit (e.g., a slice) that includes an encoded version of the block of video data (106).
  • PPS picture parameter set
  • this flag may be denoted in syntax tables as a "de-blocking_filter_control_present_flag" syntax element.
  • Entropy encoding unit 56 may determine the value for this flag based on an analysis of the current slice header and the header of previous or subsequent slices, comparing the occurrence and values of similar offsets in these other slice headers to determine whether the offsets may be specified in other parameter sets, such as the APS, PPS or in each slice header separately. Entropy encoding unit 56, as one example, may determine a rate of change of these offsets in the slice headers, compare this determined rate of change to a threshold rate of change, and determine whether the offsets can be specified for two or more slices collectively based on the comparison. While described with respect to this example, the techniques may be implemented with respect to any way by which a video encoder may determine whether to specify syntax elements in a slice header as opposed to in a SPS, PPS, APS or other parameter set or header.
  • entropy encoding unit 56 does not specify the offsets in the PPS or slice header and the process may be reiterated with respect to another block (if the current block is not the last block of video data; 90-110). Otherwise, if this flag is set to one, meaning the flag does not equal zero ("NO" 108), entropy encoding unit 56 may specify one or more of the above noted offsets in either the PPS and/or the slice header associated with the encoded version of the current block of video data (110). Again, so long as this is not the last block of video data to be encoded, video encoder 20 may continue to perform this process (90- 110).
  • FIG. 5 is a flowchart illustrating exemplary operation of a video encoder, such as video encoder 20 shown in the example of FIG. 2, in specifying offsets used to control de-blocking filtering in an adaptations parameter set (APS) or a picture parameter set (PPS).
  • video encoder 20 may receive a block of video data.
  • Video encoder 20 may, to encode this block of video data, perform either inter- or intra-coding, which mode select unit 40 may determine whether to inter- or intra-code the block of video data through analysis of the block in the manner described above.
  • the example presented in FIG. 4 assumes that mode select unit 40 selected inter-coding of the current block of video data for illustration purposes. The techniques should not be limited to this example.
  • motion estimation unit 42 and motion compensation unit 44 perform motion estimation and compensation to generate a prediction block of video data for the current block of video data (120).
  • Summer 50 subtracts the predictive block from the current block of video data to deterime a residual block of video data or residual block (122).
  • Transform module 52 may then apply one or more transforms to the residual block of video data to generate a block of transform coefficients in the manner described above (124).
  • Quantization unit 54 may then quantize the block of transform coefficients, again in the manner described above, to generate a quantized block of transform coefficients (126).
  • quantization unit 54 may apply a quantization parameter that varies based on a size of the applied transform to quantize the block of transform coefficients.
  • entropy encoding unit 56 may entropy encode the block of transform coefficients, storing the entropy encoded block of transform coefficients in a bitstream representative of the encoded video data (128).
  • Video encoder 20 may then reconstruct the block of video data from the quantized block of transform coefficients in the manner described above (130).
  • Deblocking unit 63 may then determine whether to perform de-blocking filtering to filter the reconstructed block of video data.
  • De-blocking unit 63 may determine at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform (132).
  • De-blocking unit 63 may then perform de-blocking filtering on the reconstructed block of video data based on the determined at least one offset (134).
  • Entropy encoding unit 56 may then specify the offsets used to control deblocking filtering in a PPS and/or slice header in the manner described above (136). Entropy encoding unit 56 may perform an analysis of the current slice header and the header of previous or subsequent slices, comparing the occurrence and values of similar offsets in these other slice headers to determine whether the offsets may be specified in other parameter sets, such as the APS or PPS, or in each slice header separately.
  • Entropy encoding unit 56 may determine a rate of change of these offsets in the slice headers, compare this determined rate of change to a threshold rate of change, and determine whether the offsets can be specified for two or more slices collectively based on the comparison. While described with respect to this example, the techniques may be implemented with respect to any way by which a video encoder may determine whether to specify syntax elements in a slice header as opposed to in a SPS, PPS, APS or other parameter set or header. As noted above, so long as this is not the last block of video data to be encoded, video encoder 20 may continue to perform this process (120-136).
  • FIG. 6 is a flowchart illustrating exemplary operation of a video decoder, such as video decoder 30 shown in the example of FIG. 3, in extracting a flag from a picture parameter set (PPS) that indicates whether offsets used to control de -blocking filtering are included in a slice header.
  • entropy decoding unit 70 performs an entropy decoding process on the encoded bitstream to retrieve a one-dimensional array of transform coefficients.
  • Entropy decoding unit 70 may parse the above noted syntax elements from the bitstream in accordance with the techniques described in this disclosure.
  • entropy decoding unit 70 determines or parses the flag specified in a picture parameter set (PPS) of the bitstream representative of the encoded video data that indicates whether at least one of the above noted offsets used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength is specified in a header of the slice that included the block of encoded video data (140).
  • PPS picture parameter set
  • the at least one offset may be associated with a size of the transform applied to encode the block of the encoded video data in the manner described above.
  • entropy decoding unit 70 may extract the at least one offset from one or both of the PPS and the header of the slice.
  • This flag may refer to the de- blocking_filter_control_present_flag.
  • entropy decoding unit 70 may parse or otherwise extract the above noted offsets from either the PPS or a slice header (144).
  • entropy decoding unit 70 may use existing offsets (146). Again, the one or more offsets may be associated with a size of a transform applied to encode the block of the encoded video data.
  • the two aspects of the techniques directed to signaling the flag in the PPS and signaling of the offsets in the APS or PPS may be utilized together or separately.
  • the flag when set to zero, may indicate that the offsets are signaled in the APS and may indicate, when set to one, that the offsets are signaled in the slice header.
  • entropy decoding unit 70 may extract the offsets from the bitstream and provide these offsets to de-blocking unit 81.
  • Entropy decoding unit 70 may also extract the corresponding block of encoded video data and entropy decode the block of encoded video data in the manner described above (148, 150).
  • entropy decoding unit 70 may scan the received values using a scan mirroring the scanning mode used by entropy encoding unit 56 (or the quantization unit 54) of video encoder 20.
  • 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 (which may be referred to as the entropy decoded block of encoded video data; 152).
  • 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 quantization parameter may vary, as noted above, based on the size of the transform applied to generate the transform coefficients from the residual video data.
  • 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.
  • Inverse transform module 78 applies an inverse transform to the de-quantized block of encoded video data (154).
  • inverse transform module 78 may determine an inverse transform based on signaling from video encoder 20, or by inferring the transform from one or more coding characteristics such as block size, coding mode, or the like.
  • Inverse transform module 78 may output an inverse transformed block of encoded video data generally referred to as residual video data, which video decoder 30 may use to reconstruct the video data through inter- or intra- coding techniques in the manner described above (156).
  • De-blocking unit 81 may apply a de-blocking filter based on the offsets to perform de-blocking filtering in accordance with various aspects of the techniques described above in this disclosure (158).
  • De-blocking unit 81 may be similar to, and possibly substantially similar or identical to, de-blocking unit 63 of video encoder 20 in that de-blocking unit 81 may operate in a manner similar to that described above with respect to de-blocking unit 63 of video encoder 20.
  • De-blocking unit 81 may use the offsets extracted by entropy decoding unit 70 to determine whether to perform or otherwise control de-blocking filtering. In any event, this filter may be applied to filter the decoded blocks in order to remove blockiness artifacts.
  • the decoded video blocks are then stored in the decoded picture 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. 1).
  • FIG. 7 is a flowchart illustrating exemplary operation of a video decoder, such as video decoder 30 shown in the example of FIG. 3, in extracting offsets used to control de-blocking filtering from an adaptations parameter set in accordance with the techniques described in this disclosure.
  • entropy decoding unit 70 performs an entropy decoding process on the encoded bitstream to retrieve a one-dimensional array of transform coefficients.
  • Entropy decoding unit 70 may parse the above noted syntax elements from the bitstream in accordance with the techniques described in this disclosure.
  • entropy decoding unit 70 extracts or otherwise parses at least one the above noted offsets used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength from an APS or PPS included within the bitstream representative of the encoded video data (160). Again, the one or more offsets may be associated with a size of a transform applied to encode the block of the encoded video data. Entropy decoding unit 70 may provide these offsets to de-blocking unit 81. Entropy decoding unit 70 may also extract the corresponding block of encoded video data and entropy decode the block of encoded video data in the manner described above (162, 164).
  • entropy decoding unit 70 may scan the received values using a scan mirroring the scanning mode used by entropy encoding unit 56 (or the quantization unit 54) of video encoder 20.
  • 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 (which may be referred to as the entropy decoded block of encoded video data; 166).
  • 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 quantization parameter may vary, as noted above, based on the size of the transform applied to generate the transform coefficients from the residual video data.
  • 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.
  • Inverse transform module 78 applies an inverse transform to the de-quantized block of encoded video data (168).
  • inverse transform module 78 may determine an inverse transform based on signaling from video encoder 20, or by inferring the transform from one or more coding characteristics such as block size, coding mode, or the like.
  • Inverse transform module 78 may output an inverse transformed block of encoded video data generally referred to as residual video data, which video decoder 30 may use to reconstruct the video data through inter- or intra- coding techniques in the manner described above (170).
  • De-blocking unit 81 may apply a de-blocking filter based on the offsets to perform de-blocking filtering in accordance with various aspects of the techniques described above in this disclosure (172).
  • De-blocking unit 81 may be similar to, if not substantially similar to, de-blocking unit 63 of video encoder 20 in that de-blocking unit 81 may operate in a manner similar to that described above with respect to de -blocking unit 63 of video encoder 20.
  • De-blocking unit 81 may use the offsets extracted by entropy decoding unit 70 to determine whether to perform or otherwise control deblocking filtering. In any event, this filter may be applied to filter the decoded blocks in order to remove blockiness artifacts.
  • the decoded video blocks are then stored in the decoded picture 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. 1).
  • FIG. 8 is a fiowchart illustrating exemplary operation of a video coder, such as video encoder 20 shown in the examples of FIG. 1 and 2 and/or video decoder 30 shown in the examples of FIG. 1 and 3, in implementing various aspects of the techniques for determining a boundary strength value used to compute deblocking filter parameters.
  • the steps of this flowchart generally reflect the above pseudo-code, which is reproduced again below for purposes of review in view of the flowchart set forth in the example of FIG. 8.
  • the video coder may first determine whether the P or Q block is in an intra-coded CU and in a TU of maximum size (max TU) (180). If either of the P or Q blocks is in an intra-coded CU and in a max TU ("YES" 180), the video coder may set the boundary strength value to four (182). If either of the P or Q blocks is either not in an intra-coded CU and/or not in a max TU ("NO" 180), the video coder may determine whether the P or Q blocks are in a max TU (184). If either of the P or Q blocks are in a max TU ("YES" 184), the video coder may set the Bs value to three (186). However, if both the P and Q blocks are not in a max TU ("NO" 184), the video coder may determine whether the P or Q blocks are in an intra-coded CU (188).
  • the video coder may set the Bs value to two (190). However, if both the P and Q blocks are not in an intra-coded CU ("NO" 188), the video coder may then determine whether there is a transform unit (TU) edge and whether the P or Q blocks are in a TU with a non-zero transform coefficient level (192). If the video coder determines that there is a TU edge and that either of the P or Q blocks are in a TU with a non-zero transform coefficient level ("YES" 192), the video coder may set the Bs value to one (193).
  • TU transform unit
  • the video coder may determine whether the P or Q blocks have different reference pictures or number of motion vectors (MVs) (194). If the video coder determines that the P or Q blocks have different reference pictures and/or a number of MVs ("YES" 194), the video decoder sets Bs to one (193).
  • MVs motion vectors
  • the video decoder determines whether the P and Q blocks have one MV each and at least one MV pair that satisfies the following conditions: 1) the absolute value of the x-component of the motion vector for the P block (MVp x ) subtracted by the x-component of the motion vector for the Q block (MVq x ) is greater than or equal to one (
  • the video coder determines whether the P and Q blocks have two MVs each and at least one MV pair that satisfies the following conditions: 1) the absolute value of the x-component of one of the motion vectors for the P block (MVp x ) subtracted by the x-component of one of the motion vectors for the Q block (MVq x ) is greater than or equal to one (
  • the video coder sets the Bs value to one (193). However, if neither of these conditions are satisfied (“NO” 198), the video coder sets the Bs value to zero (200). As described above, the video coder may use the Bs value when computing deblocking filter parameters.
  • 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)
  • Physics & Mathematics (AREA)
  • Discrete Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

In general, techniques are described for performing transform dependent de-blocking filtering, which may be implemented by a video encoding device. The video encoding device may apply a transform to a video data block to generate a block of transform coefficients, apply a quantization parameter to quantize the transform coefficients and reconstruct the block of video data from the quantized transform coefficients. The video encoding device may further determine at least one offset used in controlling de-blocking filtering based on the size of the applied transform, and perform de-blocking filtering on the reconstructed block of video data based on the determined offset. Additionally, the video encoder may specify a flag in a picture parameter set (PPS) that indicates whether the offset is specified in one or both of the PPS and a header of an independently decodable unit.

Description

PERFORMING TRANSFORM DEPENDENT DE-BLOCKING FILTERING
[0001] This application claims the benefit of U.S. Provisional Application No.
61/544,960, filed October 7, 2011, U.S. Provisional Application No. 61/554,260, filed November 1 , 2011, U.S. Provisional Application No. 61/588,480, filed January 19, 2012, U.S. Provisional Application No. 61/663,469, filed June 22, 2012, U.S.
Provisional Application No. 61/682,167, filed August 10, 2012, and U.S. Provisional Application No. 61/700,167, filed September 12, 2012, the entire contents of all of which are each incorporated herein by reference.
TECHNICAL FIELD
[0002] This disclosure relates to video coding, and more particularly, to de-blocking video data.
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 or ITU-T H.264/MPEG-4, Part 10, Advanced Video Coding (AVC), and extensions of such standards, to transmit and receive digital video information more efficiently.
[0004] Video compression techniques perform 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 macrob locks. Each macroblock can be further partitioned. Macroblocks in an intra-coded (I) frame or slice are encoded using spatial prediction with respect to neighboring macroblocks.
Macroblocks in an inter-coded (P or B) frame or slice may use spatial prediction with respect to neighboring macroblocks in the same frame or slice or temporal prediction with respect to other reference frames. SUMMARY
[0005] In general, this disclosure describes techniques for performing de-blocking of edges between video blocks based on a size of a transform used to transform residual video data of video blocks from the spatial domain to a frequency domain. For example, the techniques may enable a video encoder and/or a video decoder to select various offsets used in performing de-blocking based on the size of the transform used to transform these residual video data blocks. Moreover, the techniques may enable a video encoder and/or a video decoder to select various offsets used in performing deblocking based not only on the size of the transform but also on whether the current video block was intra-coded or inter-coded. The techniques of this disclosure may improve perceived visual quality of the resulting video data after encoding, subsequent decoding and display. The techniques may also promote coding gains in terms of the size of resulting encoded video data in comparison to encoded video data generated using conventional techniques.
[0006] In one aspect, a method of encoding video data comprises applying a transform to a block of the video data to generate a block of transform coefficients and applying a quantization parameter to quantize the block of transform coefficients. The method further comprises reconstructing the block of video data from the quantized block of transform coefficients determining at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform and performing de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
[0007] In another aspect, a video encoding device configured to encode video data comprises one or more processors configured to apply a transform to a block of the video data to generate a block of transform coefficients, apply a quantization parameter to quantize the block of transform coefficients, reconstruct the block of video data from the quantized block of transform coefficients, determine at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform and perform de-blocking filtering on the reconstructed block of video data based on the determined at least one offset. [0008] In another aspect, a video encoding device configured to encode video data comprises means for applying a transform to a block of the video data to generate a block of transform coefficients and means for applying a quantization parameter to quantize the block of transform coefficients. The video encoding device further comprises means for reconstructing the block of video data from the quantized block of transform coefficients, means for determining at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de -blocking filtering strength based on the size of the applied transform and means for performing de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
[0009] In another aspect, a non-transitory computer-readable storage medium having stored thereon instructions that, when executed, cause one or more processors to apply a transform to a block of the video data to generate a block of transform coefficients, apply a quantization parameter to quantize the block of transform coefficients, reconstruct the block of video data from the quantized block of transform coefficients, determine at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform and perform de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
[0010] In another aspect, a method of decoding encoded video data with a video decoder comprises applying an inverse quantization parameter to a block of the encoded video data to de-quantize the block of the encoded video data and applying the inverse transform to the de-quantized block of the encoded video data to generate a block of residual video data. The method further comprises reconstructing a block of video data from the block of residual video data and determining at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength. The at least one offset is associated with a size of a transform applied to encode the block of the encoded video data. The method also comprises performing de-blocking filtering on the reconstructed block of video data based on the determined at least one offset. [0011] In another aspect, a video decoding device configured to decoding encoded video data comprises one or more processors configured to apply an inverse
quantization parameter to a block of the encoded video data to de-quantize the block of the encoded video data, apply the inverse transform to the de-quantized block of the encoded video data to generate a block of residual video data, reconstruct a block of video data from the block of residual video data and determine at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength. The at least one offset is associated with a size of a transform applied to encode the block of the encoded video data. The one or more processors are further configured to perform de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
[0012] In another aspect, a video decoding device for decoding encoded video data comprises means for applying an inverse quantization parameter to a block of the encoded video data to de-quantize the block of the encoded video data and means for applying the inverse transform to the de-quantized block of the encoded video data to generate a block of residual video data. The video decoding device further comprises means for reconstructing a block of video data from the block of residual video data and means for determining at least one offset used in determining whether to perform deblocking filtering of the reconstructed block of video data or used in determining deblocking filtering strength. The at least one offset is associated with a size of a transform applied to encode the block of the encoded video data. The video decoding device further comprises means for performing de-blocking filtering on the
reconstructed block of video data based on the determined at least one offset.
[0013] In another aspect, a non-transitory computer-readable medium having stored thereon instruction that, when executed, cause one or more processors to apply an inverse quantization parameter to a block of the encoded video data to de-quantize the block of the encoded video data, apply the inverse transform to the de-quantized block of the encoded video data to generate a block of residual video data, reconstruct a block of video data from the block of residual video data, determine at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength, wherein the at least one offset is associated with a size of a transform applied to encode the block of the encoded video data, and perform de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
[0014] In another aspect, a method of coding video data comprises determining one or more deblocking filter clipping thresholds based on a boundary strength value, performing a clipping operation with respect to a deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped deblocking filter and applying the clipped de -blocking filter to a block of the video data.
[0015] In another aspect, a video coding device for coding video data comprises one or more processors configured to determine one or more deblocking filter clipping thresholds based on a boundary strength value, perform a clipping operation with respect to a deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped deblocking filter and apply the clipped deblocking filter to a block of the video data.
[0016] In another aspect, a video coding device for coding video data, the video coding device comprises means for determining one or more deblocking filter clipping thresholds based on a boundary strength value, means for performing a clipping operation with respect to a deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped deblocking filter and means for applying the clipped de -blocking filter to a block of the video data.
In another aspect, a non-transitory computer-readable storage medium having stored thereon instructions that, when executed, cause one or more processors of a video coding device to determine one or more deblocking filter clipping thresholds based on a boundary strength value, perform a clipping operation with respect to a deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped deblocking filter and apply the clipped de-blocking filter to a block of the video data.
[0017] 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
[0018] FIG. 1 is a block diagram illustrating an example video encoding and decoding system that performs various aspects of the techniques described in this disclosure.
[0019] FIG. 2 is a block diagram illustrating an example video encoder that performs various aspects of the techniques described in this disclosure.
[0020] FIG. 3 is a block diagram illustrating an example video decoder that performs various aspects of the techniques described in this disclosure.
[0021] FIG. 4 is a flowchart illustrating exemplary operation of a video encoder in specifying a flag in a picture parameter set (PPS) of a bitstream that indicates whether offsets used to control de -blocking filtering are included in a slice header.
[0022] FIG. 5 is a flowchart illustrating exemplary operation of a video encoder in specifying offsets used to control de -blocking filtering in an adaptation parameter set
(APS).
[0023] FIG. 6 is a flowchart illustrating exemplary operation of a video decoder in extracting a flag from a picture parameter set (PPS) that indicates whether offsets used to control de-blocking filtering are included in a slice header.
[0024] FIG. 7 is a flowchart illustrating exemplary operation of a video decoder in extracting offsets used to control de -blocking filtering from an adaptation parameter set in accordance with the techniques described in this disclosure.
[0025] FIG. 8 is a flowchart illustrating exemplary operation of a video coder in implementing various aspects of the techniques for determining a boundary strength value used to compute deblocking filter parameters.
DETAILED DESCRIPTION
[0026] FIG. 1 is a block diagram illustrating an example video encoding and decoding system 10 that may be configured to utilize various aspects the techniques described in this disclosure to facilitate transform dependent de-blocking filtering. As shown in FIG. 1, 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.
[0027] 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.
[0028] Techniques for performing transform dependent de-blocking filtering, 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.
[0029] In the example of FIG. 1, 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.
[0030] 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.
[0031] 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.
[0032] 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.
[0033] The destination device 14, in the example of FIG. 1, 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, including the slice header syntax described above, 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.
[0034] 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.
[0035] In the example of FIG. 1, 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.
[0036] 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.
[0037] Although not shown in FIG. 1, 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).
[0038] 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.
[0039] In some instances, video encoder 20 may implement the HM to perform video coding. The HM provides for de -blocking using de-blocking filters to remove
"blockiness" artifacts. De-blocking may be performed after dividing a frame into blocks (LCUs and sub-CUs thereof), coding the blocks, and then decoding the blocks. That is, video encoder 20, when operating in accordance with the HM, may determine the blocks, perform either intra-prediction or inter-prediction (such as motion estimation and compensation) to generate residual data, apply one or more transforms, such as discrete cosine transforms (DCTs) to transform the residual data from the spatial domain to the frequency domain and output DCT coefficients representative of the residual data in the frequency domain, and quantize the DCT coefficients, where such quantization may vary based on the size of the transform applied to the residual data. Video encoder 20 may then reconstruct the encoded blocks (meaning, quantized DCT coefficients in this context) to form reconstructed blocks of video data, which are used as reference blocks when performing inter-prediction. This process of encoding the video blocks and then reconstructing these blocks may insert perceptible artifacts at edges between the neighboring blocks in a frame.
[0040] As a result, video encoder 20 may encode video data of a frame, then
subsequently decode the encoded video data, and then apply de -blocking filters to the decoded video data for use as reference video data, e.g., for inter-prediction of subsequently coded video data. Video decoders, such as video decoder 30, may perform similar operations to reconstruct video data from the encoded video data and then perform de-blocking to similarly reduce the introduction of perceptible artifacts at the edges between neighboring blocks in a frame.
[0041] Such de-blocking filtering performed by a video coding device (which may refer to, in this context, video encoder 20 and/or video decoder 30) prior to storing the data for use as reference data is generally referred to as "in-loop" filtering, in that the filtering is performed within the coding loop. Video decoder 20 may be configured to decode received video data, and then apply the same de-blocking filters to the decoded video data, for purposes of displaying the video data as well as for use as reference data for subsequent video data to be encoded or decoded. By configuring both encoder 20 and decoder 30 to apply the same de-blocking techniques, encoder 20 and decoder 30 can be synchronized, such that de-blocking does not introduce error for subsequently coded video data using the deblocked video data for reference.
[0042] The HM is generally configured to determine, for each edge separating two PUs or TUs, whether to apply a de-blocking filter to deblock the edge. The HM may be configured to determine whether to deblock an edge based on an analysis of one or more lines of pixels perpendicular to the edge, e.g., a line of 8 pixels. Thus, for example, for a vertical edge, the HM may determine whether to deblock the edge by examining four pixels to the left and four pixels to the right of the edge along a common line. The number of pixels selected generally corresponds to the smallest block for de-blocking, e.g., 8x8 pixels. In this manner, the line of pixels used for analysis may enter only two PUs or TUs, namely the PUs or TUs immediately to the left and to the right of an edge. The line of pixels used for analysis of whether to perform de -blocking for an edge is also referred to as a set of support pixels, or simply "support." [0043] Video coding devices 20, 30 may be configured to execute de-blocking decision functions relative to the support for a particular edge in accordance with a current version of the HM. In general, de-blocking decision functions are configured in the current version of the HM to detect high-frequency changes within the support. These decisions are often dependent on thresholds, such as a so-called "tc threshold" (often referred to as "tc") and a "β threshold" (which is often referred to as "β"). In addition, the tc and β thresholds may also influence the strength of the de -blocking filtering.
Video coding device 20, 30 may apply the tc threshold to deblock both luma and chroma samples while the video coding device applies the β threshold to perform luma sample de-blocking. These thresholds are commonly determined using a parameter Q derived from a quantization parameter (QP) that defines a quantization step size and a boundary strength (BS) that defines coherence of pixel values across a block boundary. A so- called TcOffset value (which is defined in the HM) modifies the QP used to determine the Q parameter for the tc threshold depending on the value of the boundary strength.
[0044] To illustrate, the HM is configured to first determine this TcOffset used to modify QP in accordance with the following equation (1):
TcOffset = ( BS > 2 ) ? DEFAULT_INTRA_TC_OFFSET(=2) : 0. (1) According to equation (1), if BS is greater than two, then the current block or neighboring block is intra coded and a TcOffset is equal to the default intra-coded TcOffset ("DEFAULT INTRA TC OFFSET"), which is two. Otherwise, if the BS is less than or equal to two, then the current block is inter-coded and the TcOffset is equal to zero. Next, the video coding device determines a Q value for the tc threshold in accordance with the following equation (2):
tc: Q = Clip3(0, MAX QP+4, QP + TcOffset). (2) In equation (2), the Q value is determined for the tc threshold as QP plus the determined TcOffset value, subject to range clipping such that the resulting Q value falls within the range of 0 and MAX QP+4 (where MAX QP commonly equals 51).
[0045] Next, the current version of the HM may be configured to determine a Q value for the β threshold according to equation (3):
β: Q = Clip3(0, MAX QP, QP). (3) Equation (3) sets the value of Q to the value of QP subject to clipping the resulting Q value such that it falls within the range of zero to the constant MAX QP. Using the determined Q value for both the tc and β thresholds, the current version of HM may lookup the respective values of the tc and β thresholds in the following Table 1 :
Table 1
Figure imgf000015_0001
Using the values for the tc and β thresholds, the HM may be configured to determine whether to perform de-blocking with respect to a given upper or left boundary and determine de-blocking filtering strength. A similar process (and possibly the same process) may be specified in the current proposed version of HEVC for use in performing video decoding. The current proposed version of HEVC is document HCTVC-J1003_d7, Bross et al, "High Efficiency Video Coding (HEVC) Text
Specification Draft 8," Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11, 10th Meeting: Stockholm, Sweden, July 11, 2012 to July 20, 2012.
[0046] In the current proposed version of HEVC and HM, however, the de -blocking filter behavior cannot be influenced by an encoder in order to improve subjective quality or improve bit rate efficiency. To mitigate this restriction, recent proposals for modifying the current version of HEVC have suggested slice-level signaling of a slice tc offset and slice beta offset that enable modification of de-blocking filter behavior. Although this proposal demonstrates Bjontegaard Delta-rate gains (BD-rate gains) while maintaining subjective quality similar to the anchor sequences (defined for the fourth version of the test model referred to as "HM4"), the signaling of one slice tc offset and one slice beta offset, which are transform size independent, may not be the most efficient solution, because of the significantly different subjective quality degradation associated with block artifacts corresponding with different transform sizes (4x4, 8x8, 16x16, 32x32). Therefore, the impact of applying one offset to the QP value may have a different subjective or BD-rate impact for each transform type.
[0047] A statically defined tc offset and β offset with respect to transform size may not fully enable encoders to define suitable offsets to promote subjective perceived video quality and/or promote coding gains for all transform sizes.
[0048] In accordance with the techniques defined in this disclosure, the techniques may enable a video coding device (such as a video encoder or a video decoder) to perform de-blocking of edges between video blocks based on a size of a transform used to transform residual video data from the spatial domain to a frequency domain. For example, the techniques may enable video encoder 20 and/or video decoder 30 to select various offsets used in determining whether to perform de -blocking based on the size of the transform used to transform these residual data blocks. Moreover, the techniques may enable video encoder 20 and/or video decoder 30 to select various offsets used in determining whether to perform de -blocking based not only on the size of the transform but also on whether the current video block was intra- or inter-coded. The techniques of this disclosure may further improve perceived visual quality of the resulting video data after encoding, subsequent decoding and display. The techniques may also promote coding gains in terms of the size of resulting encoded video data in comparison to encoded video data generated using conventional techniques.
[0049] Instead of signaling a single slice tc offset and slice beta offset in the slice header, video encoder 20 may implement the techniques described in this disclosure to signal up to one slice tc offset and one slice beta offset per transform type (4x4, 8x8, 16x6, 32x32) in the slice header. In case of a shared edge between blocks X and Y, with X on the left or above Y, the transform type of block Y may be used or a rule may be applied to the transform types (sizes) of X and Y, for example, to determine minimum/maximum/average transform size (which may also be referred to as a "type") from X and Y. In addition to transform dependency, the slice tc offset and
slice beta offset may be signaled separately for intra or inter coding modes. In some instances, when rectangular transform types (which are often referred to as "non-square quadtree transforms" or "NSQT") are employed, the equivalent square transform type can be used. For example, non-square transform sizes of 32x8 may be equated to a transform size of 16x16 and non-square transform size 16x4 may be equated to a transform size of 8x8 for purposes of performing various aspects of the techniques described in this disclosure. That is, the QP defined for a 32x8 transform is the same as that defined for 16x16 transform, while the QP for the 16x4 transform is the same as that defined for the 8x8 transform. Thus, the QP for the 8x8 square transform can be used for the non-square 16x4 transform.
[0050] Additionally, to support these various forms of determining at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform, the techniques may provide for various ways by which to signal these offsets in one or more of a picture parameter set (PPS), a sequence parameter set (SPS), an adaptation parameter set (APS) and a slice header (each of which may be specified in a bitstream representative of the encoded video data). For example, a flag may be signaled in the PPS that indicates whether or not de-blocking filter control information (such as one or more of the various offsets noted above) is specified in one or more slice headers associated with the PPS. This flag may be specified in the PPS as a de-blocking_filter_control_present_flag syntax element.
[0051] As another example, rather than signal these various slice tc offsets and slice beta offsets in the slice header, the techniques may enable similar offsets to be specified in the PPS or an APS, thereby reducing slice overhead in that PPSes or APSes may be signaled less frequently than the rate at which slice headers occur in a bitstream representative of the encoded video data. In some examples, the various
slice tc offsets and slice beta offsets described as potentially being signaled in the slice header may be signaled in the APS without changing their respective names considering that these offsets apply to slices associated with the APS. The APS generally specifies adaptations to currently specified syntax elements, hence the name adaptation parameter set. In other words, a previous slice header may have specified one or more of these offsets and a subsequent APS (in decoding order) may specify an adaptation that adds, removes, or otherwise alters or replaces one of the offsets specified by the previous slice header. Moreover, a subsequent APS (in decoding order) may specify adaptations that update previously adapted offsets. The adaptations may apply until another slice header provides for new offsets (which replaces all of the currently adapted offsets with the offsets specified in the slice header) or another APS modifies the current offsets. In some examples, the various slice tc offsets and slice beta offsets described as potentially being signaled in the slice header may be signaled in the PPS.
[0052] In operation, video encoder 20 may apply a transform to a block of the video data to generate a block of transform coefficients in the manner described above. This transform may be associated with or otherwise identified by a transform unit (TU) in accordance with HEVC, which may be included within a coding unit (CU) specifying a coding node that references the block of video data, as described in more detail below. That is, generally, HEVC provides a framework for recursively identifying blocks of video data, where a largest coding unit (LCU) may denote the starting size of the block. HEVC may then recursively partition this LCU until a smallest coding unit is reached or no further partition is required (which in either case is referred to as a coding unit or CU). Often, determining that no further partition is required involves an analysis, such as a rate-distortion optimization (RDO) analysis that involves coding each of block at each recursive level, comparing those various encodings in terms of bitrate provided and distortion introduced and selecting the CUs that provide a RDO that fits a given encoding profile. The CU may include a coding block that identifies the block of video data, a TU defining one or more transforms that are applied to the block of video data and a prediction unit (PU) that defines prediction data, such as motion vectors, reference picture lists and other data related to performing inter- or intra-prediction.
[0053] As noted above, the TU may identify one or more transforms that are applied to the block of video data identified by the coding node. The TU may define two or more transforms that are each applied to the same block of video data, where the block of video data may be partitioned into separate transform regions to which the same or different sized transforms are applied. The size of the transforms applied may affect a number of other aspects of video coding. For example, video encoder 20 may apply a quantization parameter that varies based on a size of the applied transform to quantize the block of transform coefficients.
[0054] In any event, after performing quantization, video encoder 20 may reconstruct the block of video data from the quantized block of transform coefficients and then determine whether to perform de-blocking filtering to filter the reconstructed block of video data. Video encoder 20 may determine at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de -blocking filtering strength based on the size of the applied transform, which provides another example of transform size affecting various aspects of video coding. This process of determining whether to perform de-blocking filtering is described in more detail below. Video encoder 20 may then perform de-blocking filtering on the reconstructed block of video data based on the determined at least one offset. Video encoder 20 may then specify a flag in a picture parameter set (PPS) that indicates whether the at least one offset is specified as at least one syntax element in a header of an independently decodable unit (e.g., a slice) that includes an encoded version of the block of video data. In some instances, this flag may be denoted in syntax tables as a "de-blocking_filter_control_present_flag" syntax element.
[0055] In some instances, video encoder 20 may not signal or otherwise specify the flag in the PPS and instead may provide the at least one offset in a so-called adaptation parameter set (APS). In other instances, video encoder 20 may specify the flag, but set the flag so as to indicate that the at least one offset is not specified as at least one syntax element in the header of the slice that includes the encoded version of the block of video data. Video encoder 20 may after specifying this flag then specify the at least one offset in the APS, where setting the flag to indicate that the at least one offset is not specified in the header of the slice indicates that the at least one offset is specified in the APS.
[0056] By specifying this flag, video encoder 20 may facilitate subsequent decoder operation and potentially reduce complexity, as video decoder 30 may not be required to determine the at least one offset itself, but rather may retrieve or extract this offset from either the slice header or the APS. In other words, rather than have to imply the values for the at least one offset, which may involve complicated operations, video decoder 30 may retrieve these values. Although HEVC attempts to promote increased efficiency in coding video data in comparison to previous video coding standards (hence the name "high efficiency video coding"), such as H.264/AVC, reducing complexity may in some instances promote more efficient decoder operation, which in certain circumstances may override HEVCs overarching goal to promote coding efficiency.
[0057] Moreover, by providing for signaling (which may be construed as equivalent to specifying in this disclosure and should not be construed to imply real-time or near-realtime signaling) of the at least one offset in the APS, the techniques may promote coding efficiency in that APSes commonly occur in the bitstream less frequently than slice headers. Thus, by only signaling the at least one offset in the APS, the techniques may reduce overhead associated with signaling or otherwise specifying the at least one offset.
[0058] FIG. 2 is a block diagram illustrating an example of a video encoder 20 that may perform the techniques described in this disclosure to facilitate application of deblocking filters. 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. 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 unidirectional prediction (P-mode) or bi-directional prediction (B-mode) may refer to any of several temporal-based video compression modes.
[0059] As shown in FIG. 2, the video encoder 20 receives a current video block within a video frame to be encoded. In the example of FIG. 2, the video encoder 20 includes a motion compensation unit 44, a motion estimation unit 42, an intra-prediction unit 46, a decoded picture 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. 2 is the unit 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 also 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.
[0060] 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.
[0061] The mode select unit 40 may select one of the coding modes, intra or inter, e.g., based on rate and 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 a motion search performed by the motion estimation unit 42 does not result in a sufficient prediction of the block.
[0062] 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 decoded picture 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, and not necessarily at a block (e.g., coding unit) boundary of the reference frame or slice. In some examples, the reference sample may occur at a fractional pixel position.
[0063] The motion estimation unit 42 sends the calculated motion vector to the entropy encoding unit 56 and the motion compensation unit 44. In particular, the motion estimation unit 42 may utilize the above-described merge candidates to signal the motion vector according to a merge mode (i.e., signal the index of a neighbor block from which to copy a motion vector). 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.
[0064] The intra-prediction unit 46 may intra-predict 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- five directional prediction modes, based on the size of the CU being encoded.
[0065] The intra-prediction unit 46 may select an intra-prediction mode by, for example, calculating 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 PU and the received 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.
[0066] 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. The differences may be chroma or luma differences depending on the type of block that is coded.
[0067] 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 (often of different sizes, such as 8x8, 16x16, 8x16, 16x8, etc.). 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. In addition, the transform module 52 may signal the selected transform partition in the encoded video bitstream.
[0068] 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.
[0069] Once the transform coefficients are scanned into the one-dimensional array, the entropy encoding unit 56 may apply entropy coding such as CAVLC, CABAC, syntax- based context-adaptive binary arithmetic coding (SBAC), or another entropy coding methodology to the coefficients.
[0070] 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.
[0071] 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. 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. 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.
[0072] 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.
[0073] 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 as a reference block. The motion compensation unit 44 may calculate a reference block by adding the residual block to a predictive block of one of the frames of the decoded picture buffer 64. The motion compensation unit 44 may also apply one or more interpolation filters to the
reconstructed residual 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 decoded picture buffer 64. Video encoder 20 may also include a de-blocking unit 63, which may apply or other a de-blocking filter to perform de -blocking filtering in accordance with various aspects of the techniques described in this disclosure. This filter may be applied to filter the decoded blocks in order to remove blockiness artifacts. 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.
[0074] In accordance with the techniques described in this disclosure, transform module 52 may apply a transform to a block of the video data to generate a block of transform coefficients in the manner described above. In some instances, transform module 52 may form a number of different TUs from the same block of residual video data, where each of the different TUs identify a different combination of transforms applied to the same residual block of video data.
[0075] For example, transform module 52 may receive a residual block of video data of size 16x16. Transform module 52 may generate a first TU indicating that a 16x16 transform was applied to the 16x16 residual video data block and apply the 16x16 transform to the 16x16 video data block, transforming the 16x16 block of video data into a 16x16 block of transform coefficients. Transform module 52 may generate a second TU indicating that four 8x8 transforms were applied to the 16x16 residual video data block and apply the 8x8 transforms to the 16x16 video data block, transforming the 16x16 block of video data into a 16x16 block of transform coefficients. Transform module 52 may generate a third TU indicating that two 16x8 transforms were applied to the 16x16 residual video data block and apply the 16x8 transforms to the 16x16 video data block, transforming the 16x16 block of video data into a 16x16 block of transform coefficients. Transform module 52 may generate a fourth TU indicating that a 8x16 transform were applied to the 16x16 residual video data block and apply the 8x16 transform to the 16x16 video data block, transforming the 16x16 block of video data into a 16x16 block of transform coefficients.
[0076] Video encoder 20 may then continue to encode each of the CUs in the manner described above, quantizing the four different versions of the 16x16 block of transform coefficients. Video encoder 20 may next reconstruct each of the block of video data from the quantized block of transform coefficients corresponding to each of the TUs in the manner described above. Mode select unit 40 may then evaluate each of these different versions of the reconstructed blocks of video data to identify which provides, as one example, the rate-distortion optimization that fits a current profile for encoding the video data. Mode select unit 40 may store the selected one of the versions of the reconstructed block of video data into decoded picture buffer 64.
[0077] In encoding each of the different versions of the CU (associated with each of the different versions of the TU), quantization unit 54 may apply a quantization parameter that varies based on a size of the applied transform to quantize the block of transform coefficients. After performing quantization, video encoder 20 may reconstruct the block of video data from the quantized block of transform coefficients and then determine whether to perform de-blocking filtering to filter the reconstructed block of video data. More specifically, de -blocking unit 63 may determine at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform. [0078] For example, de-blocking unit 63 may implement the following pseudo-code to determine whether to perform de-blocking filtering to filter the reconstructed block of video data:
- transform_type = NxN (= 4x4 or 8x8 or 16x16 or 32x32)
• INTRA TC OFFSET = slice tc offset NxN intra
• INTER TC OFFSET = slice tc offset NxN inter
• INTRA BETA OFFSET = slice beta offset NxN intra
• INTER BETA OFFSET = slice beta offset NxN inter
- TcOffset = ( Bs > 2 ) ? DEFAULT_INTRA_TC_OFFSET(=2) + INTRA TC OFFSET : INTER TC OFFSET
- BetaOffset = (Bs > 2) ? INTRA BETA OFFSET :
INTER BETA OFFSET
- tc: Q = Clip3(0, MAX QP+4, QP + TcOffset ) (luma and chroma deblocking)
- β: Q = Clip3(0, MAX QP+4, QP + BetaOffset ) (luma de-blocking only)
This pseudo-code indicates that slice-level syntax units, slice_tc_offset_NxN_intra, slice_tc_offset_NxN_inter, slice_beta_offset_NxN_intra and
slice_beta_offset_NxN_inter may be defined for any of the transform types listed as being equal to NxN (e.g., 4x4, 8x8, 16x16 and 32x32) and additionally for intra- or inter-coded blocks.
[0079] According to the above pseudo-code, de -blocking unit 63 may determine the transform type (which, in this example, refers to the size of the transform applied to each of the different versions of the CU) and set INTRA TC OFFSET,
INTER TC OFFSET, INTRA BETA OFFSET and INTER BETA OFFSET to the corresponding one of slice_tc_offset_NxN_intra, slice_tc_offset_NxN_inter, slice_beta_offset_NxN_intra and slice_beta_offset_NxN_inter. After setting these offsets, de -blocking unit 63 then determines TcOffset as equal to
DEFAULT INTRA TC OFFSET (which equals two) plus INTRA TC OFFSET when a determined boundary strength (Bs) is greater than two. De-blocking unit 63 may determine the boundary strength as a function of the pixel values at the boundary to be de-blocked. When the determined boundary strength is not greater than two, de- blocking unit 63 may determine the TcOffset as equal to INTER TC OFFSET. Deblocking unit 63 may also, according to the above pseudo-code, determine a BetaOffset as equal to INTRA BETA OFFSET when the boundary strength is determined to be greater than two. When not greater than two, de-blocking filter 63 may determine BetaOffset to be equal to INTER BETA OFFSET. De-blocking unit 63 may then determine the tc as equal to Q, which itself is equal to a clipped version of the quantization parameter (QP) plus TcOffset, where the range of possible values run from zero to MAX QP (which is commonly set to 52) plus four. De-blocking unit 63 may then determine the β as equal to Q, which itself is equal to a clipped version of the quantization parameter (QP) plus BetaOffset, where the range of possible values run from zero to MAX QP (which again is commonly set to 52) plus four. De-blocking unit 63 uses tc for luma and chroma de-blocking and β for luma de-blocking.
[0080] Alternatively, de-blocking unit 63 may implement the following pseudo-code, which illustrates applying a mathematical relationship to determine the offsets to the QP value based on the slice-level syntax units, slice_tc_offset_intra, slice_tc_offset_inter, slice beta offset intra, slice beta offset inter:
transform_type = NxN (= 4x4 or 8x8 or 16x16 or 32x32)
a. INTRA TC OFFSET = slice tc offset intra +
tc_offset_NxN_intra_delta
b. INTER TC OFFSET = slice tc offset inter +
tc_offset_NxN_inter_delta
c. INTRA BETA OFFSET = slice beta offset intra +
beta_offset_NxN_intra_delta
d. INTER BETA OFFSET = slice beta offset inter +
beta_offset_NxN_inter_delta
Tc_offset_NxN_intra_delta = tc_offset_intra_delta * factor_NxN
Tc_offset_NxN_inter_delta = tc_offset_inter_delta * factor_NxN
Beta_offset_NxN_intra_delta = beta_offset_intra_delta * factor_NxN
Beta_offset_NxN_inter_delta = beta_offset_inter_delta * factor_NxN
Examples of constant values used in the computation (but that may not signaled):
Factor 4x4 = 3 Factor_8x8 = 2
Factor_16xl6 = 1
Factor_32x32 = 0
Tc offset intra delta = -1
Tc offset inter delta = -1
Beta offset intra delta = -1
Beta offset inter delta = -1
TcOffset = ( Bs > 2 ) ? DEFAULT_INTRA_TC_OFFSET(=2) +
INTRA TC OFFSET : INTER TC OFFSET
BetaOffset = (Bs > 2) ? INTRA BETA OFFSET : INTER BETA OFFSET tc: Q = Clip3(0, MAX QP+4, QP + TcOffset ) (luma and chroma de-blocking) β: Q = Clip3(0, MAX QP+4, QP + BetaOffset ) (luma de-blocking only)
[0081] In accordance with the preceding pseudo-code, de-blocking unit 63 may determine the TcOffset as a function of the BS, where if BS is greater than two, the video coding device may determine that the value of TcOffset is equal to the
DEFAULT INTRA TC OFFSET (which is usually equal to two) plus the determined INTRA TC OFFSET, which itself may be equal to any one of the defined
slice_tc_offset_NxN_intra (selected based on the size of the block Y in this example). However, if Bs is less than or equal to two, de-blocking unit 63 determines that the value of TcOffset is equal to INTER TC OFFSET, which itself may be equal to any one of the defined slice tc offset NxN inter (selected based on the size of block Y in this example).
[0082] Additionally, de-blocking unit 63 may determine a value for BetaOffset also as a function of Bs, where if Bs is greater than two, the video coding device determines that the value of BetaOffset is equal to INTRA BETA OFFSET, which itself may be equal to any one of the defined slice_beta_offset_NxN_intra (selected based on the size of the block Y in this example). Alternatively, if Bs is less than or equal to two, the video coding device may determine that the value of BetaOffset is equal to
INTER BETA OFFSET, which itself may be equal to any one of the defined slice_beta_offset_NxN_inter values (selected based on the size of the block Y in this example). [0083] De-blocking unit 63 may use both the determined TcOffset and BetaOffset in a similar manner to derive respective Q values for looking up the corresponding tc threshold and β threshold according to the pseudo-code or equations denoted above, which are reproduced below in equation format for convenience.
tc: Q = Clip3(0, MAX QP+4, QP + TcOffset ) (4) β: Q = Clip3(0, MAX QP+4, QP + BetaOffset ) (5)
According to equation (4), de-blocking unit 63 determines a Q value for looking up the tc threshold in the above Table 1 by setting the Q value to the QP plus the determined TcOffset subject to clipping in the range from zero to MAX QP+4 (where MAX QP usually equals 51). Likewise, de-blocking unit 63 may determine a Q value for looking up the β threshold in the above Table 1 by setting the Q value to the QP plus the determined BetaOffset subject to clipping in the range from zero to MAX QP+4 (where MAX QP usually equals 51). De-blocking unit 63 may then use these thresholds to determine whether de-blocking filtering should be performed with respect to boundaries of a current block of video data. Based on this determination, de-blocking unit 63 performs de-blocking filtering. By enabling more granular definition of offsets used to determine the Q parameter for the tc and β thresholds, the techniques may improve the ability of encoders to control de-blocking so as to promote better control over subject video quality and/or promote coding gain.
[0084] In some instances, de-blocking unit 63 may not compute or determine both an INTRA BETA OFFSET and an INTER BETA OFFSET, but only a single
BETA OFFSET while also determining both the INTRA TC OFF SET and the
INTER TC OFFSET. The following pseudo code illustrates applying a mathematical relationship to determine the offsets to the QP value, in this single BETA OFFSET instance, based on the slice-level syntax units, slice_tc_offset_intra,
slice tc offset intra delta, slice tc offset inter, slice tc offset inter delta, and slice beta offset.
- transform_type = NxN (= 4x4 or 8x8 or 16x16 or 32x32)
e. INTRA TC OFFSET = slice tc offset intra +
tc offset NxN intra delta
f. INTER TC OFFSET = slice tc offset inter +
tc offset NxN inter delta g. BETA OFFSET = slice beta offset
- Tc_offset_NxN_intra_delta = slice_tc_offset_intra_delta * factor_NxN
- Tc_offset_NxN_inter_delta = slice_tc_offset_inter_delta * factor_NxN
Examples of constant values used in this computation are as follows (where these constants may not be signaled or otherwise specified to the decoder):
Factor_4x4 = 3
Factor_8x8 = 2
Factor_16xl6 = 1
Factor_32x32 = 0
[0085] In the instances of a single BETA OFFSET and both the INTRA TC OFFSET and INTER TC OFFSET, de-blocking unit 63 may compute TcOffset and the
BetaOffset in a slightly different manner as set forth with respect to the following pseudo-code:
- TcOffset = ( Bs > 2 ) ? INTRA TC OFFSET : INTER TC OFFSET
- BetaOffset = BETA OFFSET
In accordance with this pseudo-code, de-blocking unit 63 determines the TcOffset as a function of the Bs, where if Bs is greater than two, de -blocking unit 63 may determine that the value of TcOffset is equal to the INTRA TC OFFSET. However, if Bs is less than or equal to two, de-blocking unit 63 determines that the value of TcOffset is equal to INTER TC OFFSET. De-blocking unit 63 uses both the determined TcOffset and BetaOffset in a similar manner to derive respective Q values for looking up the corresponding tc threshold and β threshold according to the pseudo-code or equations denoted above as equations (4) and (5).
[0086] In order for the corresponding decoder, e.g., video decoder 30 shown in the example of FIG. 1, video encoder 20 may signal the various offsets in different portions of the bitstream, such as the SPS, PPS, APS and slice header. The following describes the HEVC syntax modifications that may be required to the current working draft of HEVC so as to support signaling of these offsets as additional syntax elements. While a number of examples are provided below, any method of signaling these syntax elements may be possible to achieve various aspects of the techniques. In addition, various ways of signaling these additional syntax elements may be used depending on a given context and the context may also be signaled so that the video decoder may determine how to appropriately parse the bitstream. Moreover, while in some instances, TcOffset and BetaOffset syntax elements for both intra-coded and inter-coded blocks may be explicitly signaled, in other instances a single TcOffset and a single BetaOffset for one or more transform types may be signaled, where the video decoder derives the intra- coded and inter-coded versions of these offsets from the signaled TcOffset and
BetaOffset.
[0087] In any event, mode select unit 40 may select the corresponding one of the reconstructed versions of the block of video data, which after being de-blocked, may promote a given encoding profile in terms of rate and distortion. Mode select unit 40 may signal the corresponding offsets that were used to perform de-blocking to entropy encoding unit 56, which may formulate the bitstream representative of the encoded video data. Entropy encoding unit 56 may add the de- blocking_filter_control_present_flag to the picture parameter set (PPS) syntax as illustrated in the following Table 2. If the de-blocking_filter_control_present_flag is equal to 1 , this flag specifies that a set of syntax elements controlling the characteristics of the de-blocking filter is present in the slice header. If this flag is equal to 0, then this flag specifies that the set of syntax elements controlling the characteristics of the deblocking filter is not present in the slice header and their inferred values are to be used by the video decoder. The syntactical description that specifies the parsing process for the flag should be chosen appropriately, such as a single bit.
Table 2
Figure imgf000031_0001
[0088] The following tables represent different cases for the syntax of a header of an independently decodable unit, such as a slice (where such syntax may be referred to as "slice header syntax"), which signals the slice_tc_offset and slice_beta_offset values. Alternatively, the offsets can be signaled elsewhere, such as in the Adaptation
Parameter Set (APS) or the Picture Parameter Set (PPS). The following Table 3 represents the slice header syntax which contains all tc and beta offsets for each transform type (4x4, 8x8, 16x16, 32x32) and for intra and inter modes. Alternatively, Table 4 and Table 5 illustrate slice header syntax examples with fewer offset elements.
Table 3
Figure imgf000032_0001
[0089] In the following Table 4, entropy encoding unit 56 defines tc offsets for all of the transform types applied to intra-coded blocks and a single standard β offset is defined for all transform types applied to intra-coded blocks. In addition, if the slice type is not an I-slice (meaning it is a P or B slice), then entropy encoding unit 56 defines tc offsets for all of the transform types applied to inter-coded blocks and a single standard β offset for all transform types applied to inter-coded blocks. Table 4
Figure imgf000033_0001
[0090] The following Table 5 defines syntax signaling, whereby entropy encoding unit 56 signals general tc offsets for all transform types applied to both intra-coded and inter- coded blocks and a single standard β offset for all transform types applied to both intra- coded and inter-coded blocks.
Table 5
Figure imgf000033_0002
[0091] In the following slice syntax examples, encoding unit 56 introduces the following two new de-blocking flags: • de-blocking_offset_intra_inter_flag, which when equal to 0, signals that the same offset is used for intra and inter modes. When equal to 1, this flag indicates that offsets are signaled for intra and inter coding modes.
• de-blocking_offset_transform_flag, which when equal to 0, signals that offsets are transform size independent and, when equal to 1 , signals that offsets are transform size dependent.
The following Table 6 and Table 7 illustrate the usage of these two new deblocking flags for the cases where the beta offset is transform type dependent and independent.
Table 6
slice_header( ) { if( de-blocking_filter_control_present_flag ) {
disable de-blocking filter idc
if( disable_de-blocking_filter_idc != 1 ) {
de-blocking_offset_intra_inter_flag
de-blocking_offset_transform flag
if ( ! slice_offset_intra_inter ) {
if ( !de-blocking_offset_transform_flag ) {
slice tc offset
slice beta offset
} else {
slice_tc_offset_4x4
slice_tc_offset_8x8
slice_tc_offset_16xl6
slice_tc_offset_32x32
slice beta offset
}
} else {
if ( !de-blocking_offset_transform_flag ) {
slice tc offset intra
slice beta offset intra
if (slice_type != I) {
slice tc offset inter
slice beta offset inter
}
} else {
slice_tc_offset_4x4_intra
slice_tc_offset_8x8_intra
slice_tc_offset_16xl6_intra
slice_tc_offset_32x32_intra
Figure imgf000035_0001
Table 7 slice_header( ) { if( de-blocking_filter_control_present_flag ) { disable de-blocking filter idc
if( disable_de-blocking_filter_idc != 1 ) { de-blocking_offset_intra_inter_flag de-blocking_offset_transform_flag if ( ! slice offset intra inter ) {
if ( !de -blocking offset transform flag) { slice tc offset
slice beta offset
} else {
slice tc_offset_4x4
slice tc_offset_8x8
slice tc_offset_16xl6 slice _tc_offset_32x32 slice beta_offset_4x4 slice beta_offset_8x8 slice beta_offset_16xl6 slice _beta_offset_32x32
}
} else {
if ( !de -blocking offset transform flag) { slice tc offset intra
slice beta offset intra if ( slice_type != I ) {
slice tc offset inter slice beta offset inter
}
} else {
slice tc_offset_4x4_intra slice tc offset 8x8 intra slice tc offset 16x16 intra
Figure imgf000036_0001
[0092] The syntactical description for the tc offset and beta offset syntax elements should be chosen appropriately. For example, the tc offset and beta offset may be represented as a signed integer Exp-Golomb-coded syntax element. In some instances, these syntax elements may not be explicitly signaled and video decoder 30 may spatially or temporally predict the tc offset and beta offset values. In some examples, the various offsets may be quantized according to a given quantization scheme (that may as one example involve dividing these offsets by two).
[0093] In the instances of a single BETA OFFSET and both the INTRA TC OFFSET and INTER TC OFFSET noted above, entropy encoding unit 56 may signal the syntax units in the manner described below. In a generalized scenario, entropy encoding unit 56 may signal the syntax units in, as one example, the Adaptation Parameter Set (APS) or the Picture Parameter Set (PPS), instead of the slice header or in addition to the slice header. Furthermore, entropy encoding unit 56 may use a mathematical relationship for signaling of the Beta Offset value analogous to that used for the TcOffset value.
[0094] Furthermore, in these instances, entropy encoding unit 56 may signal the de- blocking_filter_control_present_flag in the Sequence Parameter Set (SPS), as set forth in the following Table 8: Table 8
Figure imgf000037_0001
Alternatively, entropy encoding unit 56 may signal the de- blocking_filter_control_present_flag in, for example, the Picture Parameter Set (PPS). The de-blocking_filter_control_present_flag may be represented by one bit.
[0095] Moreover, in the implementation using a single BETA OFFSET and both the INTRA TC OFFSET and the INTER TC OFFSET, entropy encoding unit 56 may signal the syntax units, slice_tc_offset_intra, slice_tc_offset_intra_delta,
slice tc offset inter, slice tc offset inter delta, and slice beta offset in the slice header in accordance with the following Table 9:
Table 9
Figure imgf000037_0002
Entropy encoding unit 56 may select an appropriate syntactical description for the syntax elements, such as by selecting a signed integer Exp-Golomb-coded syntax element ("se(v)").
[0096] As noted above, the various offsets for tc and β may be signaled in the APS, PPS and/or the slice header. The APS may include parameters associated with the Adaptive Loop Filter (ALF) and the Sample Adaptive Offset (SAO). Recent developments in HEVC have led to the adoption of the APS and signaling of de -blocking filter parameters, including the disable de-blocking filter flag and the de-blocking parameters offsets for tc and β in the APS and/or the slice header.
[0097] In some instances, the slice header may include a flag indicating to "inherit", "override" or copy the de-blocking parameters specified in the APS or PPS or to use the parameters signaled in the slice header. The following tables 10-12 respectively specify the Sequence Parameter Set (SPS), APS and slice header syntax as defined in accordance with the techniques of this disclosure. The Proposed column in each of these tables indicates syntax elements that are proposed in support of the techniques described in this disclosure, when marked with an "X," while those marked with a "Y" indicate syntax elements that have been recently proposed and/or adopted by the standards body.
Table 10: SPS Parameters
Figure imgf000038_0001
As noted in Table 10 above, when the de-blocking_filter_control_present flag equals zero, then de-blocking filter in aps enabled flag equals zero,
aps deblockign filter flag equals zero, disable de-blocking filter flag equals zero, beta_offset_div2 equals zero and tc_offset_div2 equals zero may be inferred. As a result, one or more of these entries may be omitted in certain contexts in the APS and/or slice header, which is reflected in the tables below by striking through these entries in the tables.
Table 11: APS Parameters
aps_rbsp( ) { Descriptor Proposed aps id ue(v)
aps de-blocking filter flag u(l) Y aps sample adaptive offset flag u(l)
aps adaptive loop filter flag u(l)
if( aps_sample_adaptive_offset_flag aps_adaptive_loop_filter_flag ) {
aps cabac use flag u(l)
if( aps_cabac_use_flag ) {
aps cabac init idc ue(v)
aps_cabac_init_qp_minus26 se(v)
}
}
if (aps_de-blocking_filter_flag) { Y
disable de-blocking filter flag u(l) Y if (!disable_de-blocking_filter_flag) { Y
beta_ offset_div2 se(v) Y tc_offset_div2 β ¥ tc_offset_intra_div2 se(v) X tc offset intra delta se(v) X tc_offset_inter_div2 se(v) X tc offset inter delta se(v) X
}
}
Table 12: Slice Header Parameters
Figure imgf000040_0001
[0098] Referring first to Table 10, the parameter "de- blocking filter in aps enabled flag," when set to a value of zero, indicates that deblocking parameters are present in the slice header, whereas, when set to a value of one, indicates that de-blocking parameters are present in APS. Referring next to Table 11, the parameter "aps de-blocking filter flag" indicates that de-blocking parameters are present in the APS (when set to a value of one) or not present (when set to a value of zero). In both Table 11 and Table 12, the parameter "disable de-blocking filter flag," when set to a value zero, indicates that the de-blocking filter is enabled and, when set to a value of one, indicates that the de-blocking filter is disabled. In both Table 11 and Table 12, the "beta_offset_div2" and "tc_offset_div2" parameters may refer to offsets that are added to the QP that is used to lookup tc and β thresholds (where the parameters are divided by 2). In Table 12, the parameter "inherit_dbl_params_from_APS_flag," when set to a value of one, indicates that de-blocking parameters in APS shall be used and, when set to a value of zero, indicates that de-blocking parameters that follow in the slice header shall be used.
[0099] Entropy encoding unit 56 may specify additional parameters in either the SPS, PPS, APS or slice header in accordance with the techniques described in this disclosure. For example, referring to Table 10, entropy encoding unit 56 may specify a "de- blocking_filter_control_present_flag" in the SPS or PPS, where this parameter, when set to a value of one, indicates that de-blocking parameters are present in the APS, PPS and/or slice header and, when set to a value of zero, indicates that no de-blocking parameters are present in the APS, PPS and slice header and that default de-blocking parameters shall be used. As another example, referring to Table 11 and Table 12, entropy encoding unit 56 may specify the "tc_offset_intra_div2,"
"tc_offset_intra_delta," "tc_offset_inter_div2," and "tc_offset_inter_delta" parameters in the APS, PPS and/or slice header, where usage of these de-blocking filter parameters is illustrated with respect to the following pseudo-code:
transform_type = NxN (= 4x4 or 8x8 or 16x16 or 32x32)
a. INTRA TC OFFSET = (2 tc_offset_intra_div2) +
tc_offset_NxN_intra_delta
b. INTER TC OFFSET = (2xtc_offset_inter_div2) +
tc_offset_NxN_inter_delta
c. BETA OFFSET = 2 beta_offset_div2
Tc_offset_NxN_intra_delta = tc_offset_intra_delta χ factor_NxN
Tc_offset_NxN_inter_delta = tc_offset_inter_delta χ factor_NxN
Examples of constant values used in the computation (not signaled):
d. Factor 4x4 = 0 e. Factor_8x8 = 1
f . Factor_ 16x 16 = 2
g. Factor_32x32 = 3
IF ( Intra Mode ) THEN TcOffset = DEFAULT_INTRA_TC_OFFSET(=2) + INTRA TC OFFSET; ELSE TcOffset = INTER TC OFFSET
BetaOffset = BETA OFFSET
tc: Q = Clip3(0, MAX QP + DEFAULT INTRA TC OFFSET, QP + TcOffset ) (luma and chroma de-blocking)
β: Q = Clip3(0, MAX QP, QP + BetaOffset ) (luma de-blocking only)
[0100] The above pseudo-code generally indicates that the INTRA TC OFFSET may equal two times the tc_offset_intra_div2 parameter plus the tc_offset_NxN_intra_delta parameter. In addition, this pseudo-code indicates that the INTER TC OFFSET may equal two times the tc_offset_inter_div2 parameter plus the tc_offset_NxN_inter_delta parameter, while the BETA OFFSET may equal two times the beta_offset_div2 parameter. Moreover, the Tc_offset_NxN_intra_delta may equal the
tc_offset_intra_delta parameter times a factor_NxN, examples of which are listed in the pseudo-code above. Furthermore, the Tc offset NxN inter delta parameter may equal the tc_offset_inter_delta times the factor_NxN. Entropy encoding unit 56 may implement the above pseudo-code to signal the various parameters.
[0101] The remaining portions of the pseudo-code following the various examples of the factors indicate that if the mode is intra mode, then the TcOffset is equal to the DEFAULT INTRA TC OFFSET (which equals two) plus the INTRA TC OFFSET. However, if the mode is not the Intra Mode, then the TcOffset is equal to
INTER TC OFFSET. The BetaOffset is equal to the BETA OFFSET. According to this pseudo-code, the Q value is determined for the tc threshold as QP plus the determined TcOffset value, subject to range clipping such that the resulting Q value falls within the range of 0 and MAX QP+DEFAULT INTRA TC OFFSET (where
MAX QP commonly equals 51). Likewise, the Q value is determined for the β threshold as QP plus the determined BetaOffset value, subject to range clipping such that the resulting Q value falls within the range of 0 and MAX QP (where again MAX QP commonly equals 51). [0102] In addition to techniques described above with respect to Tables 10-12, the de- blocking offset intra inter flag (see above) to signal separate offset parameters for intra and inter can be introduced into the SPS, PPS, APS or slice header (e.g., see the following Tables 13 and 14).
Table 13: APS Parameters
aps_rbsp( ) { Descriptor Proposed aps id ue(v)
aps de-blocking filter flag u(l) Y aps sample adaptive offset flag u(l)
aps adaptive loop filter flag u(l)
if( aps_sample_adaptive_offset_flag aps_adaptive_loop_filter_flag ) {
aps cabac use flag u(l)
if( aps_cabac_use_flag ) {
aps cabac init idc ue(v)
aps_cabac_init_qp_minus26 se(v)
}
}
if (aps_de-blocking_filter_flag) { Y
disable de-blocking filter flag u(l) Y if (!disable_de-blocking_filter_flag) { Y
bcta_ offset_div2 β ¥ tc_offset_div2 ¥ de-blocking_offset_intra_inter flag u(l) X if (de -blocking offset intra inter flag) { X
beta_offset_intra_div2 se(v) X beta_offset_inter_div2 se(v) X tc_offset_intra_div2 se(v) X tc offset intra delta se(v) X tc_offset_inter_div2 se(v) X tc offset inter delta se(v) X
} else { X
beta_oflset_div2 se(v) X tc_offset_div2 se(v) X tc offset delta se(v) X
} X
} Y
} Y Table 14: Slice Parameters
slice_header( ) { Descriptor Proposed entropy slice flag u(l)
if( !entropy_slice_flag ) {
slice type ue(v)
pic_p ar ameter set id ue(v)
if( sample adaptive offset enabled flag 11 Y adaptive_loop_filter_enabled_flag deblocking filter in aps enabled flag )
aps id ue(v)
frame num u(v)
if( IdrPicFlag )
idr_pic_id ue(v) u(v)
if( !entropy_slice_flag ) {
slice qp delta se(v)
if (de-blocking filter control_present flag) { X
inherit dbl params from APS flag u(l) Y if (! inherit dbl_params from APS flag){ Y disable de-blocking filter flag u(l) Y if (!disable_de-blocking_filter_flag) { Y
i>e^v ¥ tc_offsot_div2 se<¥) ¥ de-blocking_offset_intra_inter flag u(l) X if (de -blocking offset intra inter flag) { X
beta_offset_intra_div2 se(v) X tc_offset_intra_div2 se(v) X tc offset intra delta se(v) X if ( slice_type != I) { X
beta_offset_inter_div2 se(v) X tc_offset_inter_div2 se(v) X tc offset inter delta se(v) X
} X
} else { X
beta_offset_div2 se(v) X tc_offset_div2 se(v) X tc offset delta se(v) X
} X
} Y
} Y
} X [0103] In some alternatives, entropy encoding unit 56 may signal the de- blocking_filter_control_present_flag and the de-blocking_filter_in_aps_enabled_flag in the PPS. An example of PPS syntax is shown in the following Table 15, which may be overridden by specifying parameters in the slice header (or a header of an independently decodable unit) as shown with respect to the example slice header syntax of Table 16:
Table 15: PPS Parameters
Figure imgf000045_0001
Table 16: Slice Header Syntax
Figure imgf000045_0002
[0104] The de -blocking offset parameters that modify the QP value (average of QP values of neighboring P and Q blocks as set forth in B. Bross, W.-J. Han, J.-R. Ohm, G. J. Sullivan, T. Wiegand, "High efficiency video coding (HEVC) text specification draft 7," 9th JCT-VC Meeting, Geneva, Switzerland, Apr.-May 2012, Doc. JCTVC- I1003_d4) before looking up the tc or beta thresholds are: pps_beta_offset_div2, pps_tc_offset_div2, slice_header_beta_offset_div2, slice_header_tc_offset_div2. Neither of these offset parameters may support transform size dependent control of the de-blocking filter strength, while subjective quality evaluations have demonstrated that certain video sequences may suffer from severe blocking artifacts that are transform size dependent. These observed blocking artifacts may be visible at relatively high QP values (for example, for QP values that exceed 30) and for the maximum transform size as specified by the SPS syntax parameters log2_diff_max_min_transform_block_size and log2_min_transform_block_size_minus2. These large blocking artifacts may be most visible if the maximum transform size is 32x32; however, the blocking artifacts may also be visible if the maximum transform size is 16x16 or 8x8, while potentially less visible for transform size 4x4.
[0105] Therefore, the techniques described in this disclosure may enable entropy encoding unit 56 to signal specific de-blocking adjustment parameters to control the deblocking strength in case that at least one of two adjacent video blocks P and Q are included in a transform unit with the maximum transform size. In other words, the techniques of this disclosure may adjust the deblocking filter strength in cases where at least one of two adjacent video blocks P and Q is included in a transform unit with the maximum transform size. The common edge between blocks P and Q is typically subject to de-blocking filtering. If neither video block P or Q is included in a maximum sized transform unit, then the current de -blocking adjustment parameters apply. The following Tables 17 and 18 specify the changes to the PPS syntax and slice header syntax, where changes are shown using gray highlighting.
Table 17: PPS Syntax
...
de-blocking_filter_control_ resent flag u(l) if( de -blocking filter control_present flag ) {
de-blocking_filter_override_enabled_flag u(l)
pps disable de-blocking filter flag u(l) if( !pps_disable_de-blocking_filter_flag ) {
pps_beta_offset_div2 se(v) pps_tc_offset_div2 se(v) pps beta offset max tu div2 lliil pps tc offset max tu div2 nil
}
}
... Table 18: Slice Header Syntax
Figure imgf000047_0001
[0106] The semantics of the proposed syntax parameters is as follows (parameter values are inferred to be 0 if not present):
[0107] pps_beta_offset_max_tu_div2 / slice_header_beta_offset_max_tu_div2 specify the default de-blocking parameter offset for β (divided by 2) that is applied to edges of the maximum transform unit size in pictures referring to the picture parameter set unless the default de-blocking parameter offset for β is overridden by the deblocking parameter offset present in the slice header for pictures referring to the picture parameter set.
[0108] pps_tc_offset_max_tu_div2 / slice_header_tc_offset_max_tu_div2 specify the default de-blocking parameter offset for tc (divided by 2) that is applied to edges of the maximum transform unit size in pictures referring to the picture parameter set unless the default de-blocking parameter offset for tc is overridden by the de -blocking parameter offset present in the slice header for pictures referring to the picture parameter set.
[0109] The semantics of the other related de-blocking adjustment parameters are as follows: [0110] pps_beta_offset_div2 / slice_header_beta_offset_div2 and pps_tc_offset_div2 / slice_header_tc_offset_div2 specify the default de-blocking parameter offsets for β and tc (divided by 2) that are applied to edges of transform units that are not also edges of the maximum transform unit size in pictures referring to the picture parameter set unless the default de-blocking parameter offsets are overridden by the de-blocking parameter offsets present in the slice header for pictures referring to the picture parameter set.
[0111] The proposed de-blocking adjustment parameters for maximum transform unit sizes are specified in the following pseudo-code (pps_ or slice_header_ prefixes are omitted for brevity; QP is average value of the QP values of blocks P and Q):
- IF (P or Q are included in maximum transform unit size) THEN TC OFFSET = tc_offset_max_tu_div2; ELSE INTRA TC OFFSET = tc_offset_div2
- IF (P or Q are included in maximum transform unit size) THEN
BETA OFFSET = beta_offset_max_tu_div2; ELSE BETA OFFSET = beta_offset_div2
- IF ( P or Q have MODE INTRA ) THEN TcOffset =
DEFAULT_INTRA_TC_OFFSET(=2) + TC OFFSET; ELSE TcOffset = TC OFFSET
- BetaOffset = BETA OFFSET
- tc: Q = Clip3(0, MAX QP + DEFAULT INTRA TC OFFSET, QP + TcOffset ) (luma and chroma de-blocking)
- β: Q = Clip3(0, MAX QP, QP + BetaOffset ) (luma de-blocking only)
[0112] In some instances, only one or both of the proposed beta_offset_max_tu_div2 and tc_offset_max_tu_div2 parameters may be signaled. Also note that the "div2" or divided by 2 scaling of the proposed parameters may be optional, because other scaling factors or integer offsets (for example minusX with X an integer) may be used, or no scaling may be used (beta offset max tu and tc offset max tu).
[0113] The proposed beta_offset_max_tu_div2 and tc_offset_max_tu_div2 parameters above may be applied independently from intra or inter coding mode of the coding unit that contains the transform units. Alternatively, the proposed parameters may be intra or inter coding mode dependent. For example, the parameters
beta offset intra max tu div2 and/or beta offset inter max tu div2 and/or tc_offset_intra_max_tu_div2 and/or tc_offset_inter_max_tu_div2 may be signaled in a similar manner as specified in the syntax examples above. The signaling of separate parameters for intra or inter mode may depend on an enable flag such as de- blocking offset intra inter flag as illustrated in previous aspects of the techniques described above. The following rule may be applied to determine whether to use intra or inter parameters for de-blocking the common edge between video blocks P and Q: if P or Q (or both) are in an intra-coded coding unit, then the intra parameters apply to the edge, otherwise, the inter parameters apply.
[0114] Alternatively, the proposed techniques may further improve upon a proposal set forth in D.-K. Kwon, M. Budagavi, "Transform size dependent deblocking filter," 9th JCT-VC Meeting, Geneva, Switzerland, Apr. -May 2012, Doc. JCTVC-I0244, which suggests computing an additional boundary strength value 3 (or other number) in addition to the values 0 to 2 that are computed in the HM7 deblocking filter set forth in B. Bross, W.-J. Han, J.-R. Ohm, G. J. Sullivan, T. Wiegand, "High efficiency video coding (HEVC) text specification draft 7," 9th JCT-VC Meeting, Geneva, Switzerland, Apr.-May 2012, Doc. JCTVC-I1003_d4. In accordance with the techniques described in this disclosure, the boundary strength is set to a value of 3 if at least one of the neighboring P or Q blocks is included in an intra-coded coding unit and if at least one of the intra-coded blocks (P and/or Q) is included in a transform unit of maximum size, for example, 32x32 or 16x16, etc.
[0115] If boundary strength value equals 3, then the deblocking adjustment parameters for maximum transform unit sizes (beta_offset_max_tu_div2 and/or beta_offset_intra_max_tu_div2 and/or tc_offset_max_tu_div2 and/or tc_offset_intra_max_tu_div2) set forth in accordance with the techniques described in this disclosure are employed as beta and tc offsets; otherwise, tc_offset_div2 and beta_offset_div2 are used.
[0116] Alternatively, if boundary strength value equals 3, then the strong deblocking filter is applied; otherwise, the weak filter is applied. In this case, the deblocking adjustment parameters for maximum transform unit sizes (beta_offset_max_tu_div2 and/or beta_offset_intra_max_tu_div2 and/or tc_offset_max_tu_div2 and/or tc_offset_intra_max_tu_div2) specified in accordance with the techniques described in this disclosure are not applied nor signaled, and tc_offset_div2 and/or beta_offset_div2 are applied.
[0117] Alternatively, if boundary strength value equals 3, then the strong deblocking filter is applied; otherwise, the weak filter is applied. In this case, the deblocking adjustment parameters for maximum transform unit sizes (beta_offset_max_tu_div2 and/or beta_offset_intra_max_tu_div2 and/or tc_offset_max_tu_div2 and/or tc_offset_intra_max_tu_div2) are applied to the strong deblocking filter, and tc_offset_div2 and/or beta_offset_div2 are applied to the weak deblocking filter.
[0118] Additional boundary strength values may be computed for the inter-coded case. For example, if neither block P or Q are intra-coded, and at least one of the P or Q blocks is included in a transform unit of maximum size, then an additional boundary strength value is defined, for example, value 4. Similar to the intra cases above, the proposed deblocking adjustment parameters for maximum transform unit sizes (beta_offset_max_tu_div2 and/or beta_offset_inter_max_tu_div2 and/or tc_offset_max_tu_div2 and/or tc_offset_inter_max_tu_div2) are applied.
[0119] In some instances, the transform units of maximum size may need to contain at least one non-zero coded coefficient before applying the proposed beta_offset_max_tu_div2 and tc_offset_max_tu_div2 parameters to adjust the deblocking strength. This may be checked using the coded block flag (cbf).
[0120] In addition to the proposed parameters, a flag may be signaled to enable their signaling and/or the proposed functionality. The following Tables 19 and 20 illustrate the syntax changes, where again the changes are denoted using gray highlighting:
Table 19: PPS syntax
...
de-blocking_filter_control_ resent flag u(l) if( de -blocking filter control_present flag ) {
de-blocking_filter_override_enabled_flag u(l)
pps disable de-blocking filter flag u(l) if( !pps_disable_de-blocking_filter_flag ) {
pps_beta_offset_div2 se(v) pps_tc_offset_div2 se(v) de-blo kingjnax tu offset enabled flag 11
Figure imgf000051_0001
Table 20: Slice Header Syntax
Figure imgf000051_0002
[0121] The semantics of the de-blocking_max_tu_offset_enabled_flag may be any of the following alternatives:
• de-blocking_max_tu_offset_enabled_flag may enable the signaling of the beta_offset_max_tu_div2 or tc_offset_max_tu_div2 syntax parameters if the flag value is equal to 1 ; otherwise, these parameters are not signaled and their value is inferred to be equal to 0.
• de-blocking_max_tu_offset_enabled_flag may enable the signaling of the parameters beta_offset_max_tu_div2 or tc_offset_max_tu_div2 syntax parameters if the flag value is equal to 1 , otherwise, these parameters are not signaled and their value is inferred to be equal to the corresponding beta_offset_div2 and tc_offset_div2 parameters that are inferred to be equal to 0 if not present.
[0122] In some instances, the techniques may be used in conjunction with techniques described in U.S. Provisional Patent Application 61/662,833, filed June 21, 2012, the entire contents of which are hereby incorporated in this disclosure, where the present techniques modify the beta-curves and tc-curves described in the above -incorporated Provisional Patent Application to increase de-blocking strength.
[0123] In some instances, an additional boundary strength value 3 (or other number) in addition to the values 0 to 2 that are computed in the HM7 deblocking filter may be computed, where HM7 refers to the following document by B. Brass, W.-J. Han, J.-R. Ohm, G. J. Sullivan, T. Wiegand, entitled "High efficiency video coding (HEVC) text specification draft 7," 9th JCT-VC Meeting, Geneva, Switzerland, Apr.-May 2012, Doc. JCTVC-I1003_d4, the entire contents of which are hereby incorporated by reference.
[0124] In these instances, the boundary strength is set to a value of 3 if at least one of the neighboring P or Q blocks is included in an intra-coded coding unit and if at least one of the intra-coded blocks (P and/or Q) is included in a transform unit of maximum size, for example 32x32 or 16x16, etc. As opposed to one or more of the above described aspects of the techniques, if boundary strength value equals 3, then a constant tc offset (constant max tu tc offset) and/or beta offset (constant max tu beta offset) is applied, which may be further modified through, for example, signaling tc_offset_div2 and beta_offset_div2.
[0125] The following illustrates an example of how the video coder may determine these values (and subsequently signal these values in the bitstream):
- IF (P or Q have MODE INTRA) AND (P or Q are included in maximum
transform unit size) THEN TC OFFSET = constant max tu tc offset +
2*tc_offset_ div2; ELSE TC OFFSET = 2*tc_offset_div2
- IF (P or Q have MODE INTRA) AND (P or Q are included in maximum
transform unit size) THEN BETA OFFSET = constant max tu beta offset + 2*beta_offset_ div2; ELSE BETA OFFSET = 2*beta_offset_div2
- Optionally; IF ( P or Q have MODE INTRA ) THEN TcOffset =
DEFAULT_INTRA_TC_OFFSET(=2) + TC OFFSET; ELSE TcOffset = TC OFFSET - BetaOffset = BETA OFFSET
- tc: Q = Clip3(0, MAX QP + DEFAULT INTRA TC OFFSET, QP + TcOffset ) (luma and chroma deblocking)
- β: Q = Clip3(0, MAX QP, QP + BetaOffset ) (luma deblocking only)
[0126] Alternatively, the video coder may determine these values in the manner that follows:
- IF (P has MODE INTRA and P is included in maximum transform unit size) or (Q has MODE INTRA and Q is included in maximum transform unit size) THEN TC OFFSET = constant max tu tc offset + 2*tc_offset_ div2; ELSE TC OFFSET = 2*tc_offset_div2
- IF (P has MODE INTRA and P is included in maximum transform unit size) or (Q has MODE INTRA and Q is included in maximum transform unit size) THEN BETA OFFSET = constant max tu beta offset + 2*beta_offset_ div2; ELSE BETA OFFSET = 2*beta_offset_div2
- Optionally; IF ( P or Q have MODE INTRA ) THEN TcOffset =
DEFAULT_INTRA_TC_OFFSET(=2) + TC OFFSET; ELSE TcOffset = TC OFFSET
- BetaOffset = BETA OFFSET
- tc: Q = Clip3(0, MAX QP + DEFAULT INTRA TC OFFSET, QP + TcOffset ) (luma and chroma deblocking)
- β: Q = Clip3(0, MAX QP, QP + BetaOffset ) (luma deblocking only)
[0127] The video coder may determine or compute additional boundary strength values for the inter-coded case. For example, if neither block P or Q are intra-coded, and at least one of the P or Q blocks is included in a transform unit of maximum size, then an additional boundary strength value may be defined (e.g., a value of 4). Similar to the intra cases described above, a constant tc offset (constant max tu tc offset) and/or beta offset (constant max tu beta offset) is applied, which may be further modified through, for example, signaling tc_offset_div2 and beta_offset_div2.
[0128] In some instances, the video coder may assign a boundary strength value of 3 (or other value) if at least one P or Q block is included in a transform unit of maximum size without checking inter or intra mode of block P or Q. Similar to the intra cases above, a constant tc offset (constant max tu tc offset) and/or beta offset (constant max tu beta offset) is applied, which may be further modified through, for example, signalling tc_offset_div2 and beta_offset_div2.
[0129] Another aspect of the techniques may, as described above, incorporate the additional boundary (Bs) values based on block P or Q being included in a transform unit (TU) or a transform block (TB) of the maximum allowed size that is specified in the SPS through syntax elements log2_min_transform_block_size_minus2 and log2_diff_max_min_transform_block_size. This aspect of the techniques may differ from the aspect described above in that the video coder sets the boundary strength to a value of 4 (or other appropriate value) if at least one of the neighboring P or Q blocks is included in an intra-coded coding unit (CU) and if at least one of the intra-coded blocks (P and/or Q) is included in a TU or TB of maximum size (e.g., 32x32, 16x16, etc.). Otherwise, the video coder sets the BS value to a value of 3 (or other appropriate value) when at least one of the P or Q blocks is included in a TB of maximum size. If neither of these conditions are met, the video coder may compute the Bs value in accordance with that defined in HEVC.
[0130] The following pseudo-code illustrates the Bs derivation:
- IF (P has MODE INTRA and P is included in maximum TB size) or (Q has MODE INTRA and Q is included in maximum TB size) THEN Bs = 4,
- ELSE IF (P is included in maximum TB size) or (Q is included in maximum TB size) THEN Bs = 3,
- ELSE IF (P or Q have MODE INTRA) THEN Bs = 2,
- ELSE further Bs derivation follows HEVC specification.
[0131] In some instances, the video coder may simplify the above process by adding only one Bs value, for example, Bs equal to 3 using the following pseudo-code:
- IF (P is included in maximum TB size) or (Q is included in maximum TB size) THEN Bs = 3,
- ELSE IF (P or Q have MODE INTRA) THEN Bs = 2,
- ELSE further Bs derivation follows HEVC specification.
[0132] In some instances, the video coder may implement the boundary strength value computation to include a check of whether block P or Q is included in a TB size that is greater (or equal) than a minimum size NxM (or NxN) instead of only the maximum TB size. The following pseudo-code may illustrate this variation of the boundary strength value computation:
- IF (P has MODE INTRA and P is included in TB size >= NxM ) or (Q has
MODE INTRA and Q is included in TB size >= NxM) THEN Bs = 4,
- ELSE IF (P is included in TB size >= NxM) or (Q is included in TB size >= NxM) THEN Bs = 3,
- ELSE IF (P or Q have MODE INTRA) THEN Bs = 2,
- ELSE further Bs derivation follows HEVC specification.
For this variation, video encoder 20 may signal a high-level syntax parameter in a SPS, PPS or slice header (or any other header or parameter set) that identifies the minimum TB size NxM (or NxN).
[0133] The following specifies the dependency of the deblocking filter on the additional Bs values. In general, the video coder increases the deblocking filter strength if Bs is greater than a value of 2 compared with the current operation of the HEVC deblocking filter. In accordance with this aspect of the techniques described in this disclosure, if the video coder set the Bs equal to a value 3 or 4, then the video coder modifies the clipping operation of the "weak" or "normal" deblocking filter specified in HEVC to increase weak filter strength. The following pseudo-code illustrates the "weak" filter operation and the impact of the Bs value (where pO, qO may represent samples at the edge boundary to be deblocking filtered and where pi and ql may represent samples adjacent to pO, qO):
- HEVC Weak filter delta:
• Δ = ( 9(q0-p0) - 3(ql-pl) + 8 )/16
— IF ( Δ < 10tc ) Remark: alternative preferred threshold value is 6tc
δ = Clip3( -cl, cl, Δ) Remark: Clip3(a, b, x) clips value x to [a, b] interval
• pO' = Clip( pO + δ ) Remark: Clip(x) clips value x to input sample bit depth
• qO' = Clip( qO - δ )
• If modify pi :
- Δρ = Clip3( -c2, c2, ( (p2 + pO + l)/2 - pi + δ)/2 ) - pl ' = Clip( pl + Δρ )
• If modify ql :
- Aq = Clip3( -c2, c2, ( (q2 + qO + l)/2 - ql - δ)/2 )
- ql ' = Clip( ql + Aq )
— Default filter clipping thresholds [6]
cl = tc
• c2 = tc / 2 (Note: alternative preferred threshold value is tc I )
— Filter clipping thresholds cl and c2 are modified as follows depending on the Bs value and maximum TU or TB size (Log2MaxTUsize)
• If (Bs > 2 && Log2MaxTUsize > 2)
cl = 4tc
c2 = 2tc (Note: alternative threshold values are possible)
In some instances, the "weak" filter clipping thresholds are dependent on the Bs value and also on the maximum TU size (Log2MaxTUsize). The purpose of the latter condition may be to prevent the clipping range from increasing in instances where the maximum TU size is small (e.g., 4x4). This may, therefore, set a lower limit. In some instances, the latter condition specified above is not checked. In other instances, the lower limit may be signaled as a parameter in the high-level syntax.
[0134] In this manner, a video coding device may be configured to determine one or more deblocking filter clipping thresholds based on a boundary strength value, perform a clipping operation with respect to a deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped deblocking filter and apply the clipped de -blocking filter to a block of the video data.
[0135] In some instances, the video coding device may be configured to determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a block of the video data of a specified size in the manner described above.
[0136] In some instances, the video coding device may be configured to determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size, again as described above.
[0137] The video coding device may also, in some instances, be configured to determine the one or more deblocking filter clipping thresholds based on the boundary strength value and a maximum size of a block determined for a portion of the video data that includes the block of the video data.
[0138] In some instances, the video coding device comprises a video encoding device, such as video encoder 20. The block of video data may, in this instance, comprise a reconstructed block of video data that is reconstructed by the video encoding device from an encoded version of the block of video data. Video encoder 20 may be configured to, when applying the clipped de-blocking filter, apply the clipped deblocking filter to the reconstructed block of the video data to generate a de-blocking filtered reconstructed block of video data. Video encoder 20, as described in detail in this disclosure, may also be configured to store the de -blocking filtered reconstructed block of video data to a memory for use as a reference block when encoding other blocks of video data.
[0139] In other instances, the video coding device may comprise a video decoding device, such as video decoder 30. In this instance, the block of video data may comprises a reconstructed block of video data that is reconstructed by the video decoding device from an encoded version of the block of video data. Video decoder 30 may be configured to, when applying the clipped de-blocking filter, apply the clipped de-blocking filter to the reconstructed block of the video data to generate a de-blocking filtered reconstructed block of video data, and to store the de -blocking filtered reconstructed block of video data to a memory for use as a reference block when decoding other blocks of video data.
[0140] In addition, the following deblocking filter parameters tc and beta may be determined as follows:
- TC OFFSET = 2*tc_offset_ div2
- BETA OFFSET = 2*beta_offset_ div2
- IF ( Bs = 2 or Bs =4 ) THEN TcOffset = DEF AULT INTRA TC OFF SET(=2) + TC OFFSET; ELSE TcOffset = TC OFFSET (Note: P or Q is intra coded if Bs = 2 or 4) - BetaOffset = BETA OFFSET
- tc: Q = Clip3(0, MAX QP + DEFAULT INTRA TC OFFSET, QP + TcOffset ) (luma and chroma deblocking)
- β: Q = Clip3(0, MAX QP, QP + BetaOffset ) (luma deblocking only)
Compared to HEVC where chroma deblocking filter is performed for Bs = 2 (P or Q is intra-coded), the foregoing aspects of the techniques perform chroma deblocking filtering when Bs = 2 or Bs = 4.
[0141] In some instances, video encoder 20 may signal the deblocking control parameters beta_offset_max_tu_div2 and tc_offset_max_tu_div2 parameters in a manner similar to that described above to adjust the deblocking strength for Bs values 3 and/or 4. The following exemplary pseudo-code may illustrate this operation:
- IF (Bs = 3 or Bs = 4) THEN TC OFFSET = 2*tc_offset_max_tu_div2, ELSE TC OFFSET = 2*tc_offset_ div2
- IF (Bs = 3 or Bs = 4) THEN BETA OFFSET = 2*beta_offset_max_tu_div2, ELSE BETA OFFSET = 2*beta_offset_ div2
- IF ( Bs = 2 or Bs =4 ) THEN TcOffset = DEF AULT INTRA TC OFF SET(=2) + TC OFFSET; ELSE TcOffset = TC OFFSET (Note: P or Q is intra coded if Bs = 2 or 4)
- BetaOffset = BETA OFFSET
- tc: Q = Clip3(0, MAX QP + DEFAULT INTRA TC OFFSET, QP + TcOffset ) (luma and chroma deblocking)
- β: Q = Clip3(0, MAX QP, QP + BetaOffset ) (luma deblocking only)
[0142] In this manner, the video coding device may further be configured to determine the one or more deblocking filter clipping thresholds based on the boundary strength value and a maximum size of a transform unit determined for a portion of the video data that includes the block of the video data. In some instances, the video coding device may further be configured to, when the boundary strength value is greater than two and the maximum size of the transform unit is greater than a first threshold (e.g., a value of two), determine a first deblocking filter clipping threshold as a multiple of an offset used in determining whether to perform de-blocking filtering of the block of video data or used in determining de-blocking filtering strength. The video coding device may, when the boundary strength value is greater than two and the maximum size of the transform unit is greater than a second threshold (which may be the same as the first threshold, e.g., a value of two), be configured to determine a second deblocking filter clipping threshold as a multiple of the offset used in determining whether to perform deblocking filtering of the block of video data or used in determining de-blocking filtering strength. The video coding device, in this instance, may be configured to, when performing the clipping operation, perform the clipping operation with respect to the deblocking filter using the determined first and second deblocking filter clipping thresholds to determine the clipped deblocking filter.
[0143] The video coding device may be further configured to, when performing the clipping operation, perform the clipping operation with respect to a normal deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped normal deblocking filter. Moreover, the video coding device may be further configured to, when applying the clipped de -blocking filter, apply the clipped normal deblocking filter to the block of the video data.
[0144] The video coding device may additionally be configured to determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size and determine to apply a chroma deblocking filter to a chroma portion of the block of video data when the determined boundary strength value equals four.
[0145] The video coding device may be configured to determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size, determine whether a size of the transform applied to the block of video data is a maximum transform unit size. Upon determining that the size of the transform applied to the block of video data is the maximum transform unit size, the video coding device may be configured to determine one or more of a maximum tc offset and a maximum β offset that are used in place of a tc offset and a β offset that are otherwise used in determining whether to perform de-blocking filtering of the block of the video data when the size of the transform applied to the block of video data is not a maximum transform unit size.
[0146] The video coding device may be further configured to specify a flag in a picture parameter set (PPS) that indicates whether one or more of the tc offset and the β offset is specified as at least one syntax element in one or both of the PPS and a header of an independently decodable unit that includes the block of video data in the manner described above. The flag may comprise the above described de- blocking_filter_control_present_flag that indicates whether one or more of the tc offset and the β offset is specified as the at least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the encoded version of the block of video data.
[0147] FIG. 3 is a block diagram illustrating an example of a video decoder 30, which decodes an encoded video sequence. In the example of FIG. 3, 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 transformation unit 78, a decoded picture 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. 2).
[0148] 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. Entropy decoding unit 70 may parse the above noted syntax elements from the bitstream in accordance with the techniques described in this disclosure.
[0149] In some examples, entropy decoding unit 70 determines the flag specified in a picture parameter set (PPS) of the bitstream representative of the encoded video data that indicates whether at least one of the above noted offsets used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de -blocking filtering strength is specified in a header of the slice that included the block of encoded video data. The at least one offset, as noted above, may be associated with a size of the transform applied to encode the block of the encoded video data in the manner described above. Based on the flag, entropy decoding unit 70 may extract the at least one offset from the header of the slice. This flag, as noted above, may refer to the de-blocking_filter_control_present_flag. [0150] In other examples, entropy decoding unit 70 extracts at least one the above noted offsets used in determining whether to perform de-blocking filtering of the
reconstructed block of video data or used in determining de-blocking filtering strength from an APS or PPS included within the bitstream representative of the encoded video data. Again, the one or more offsets may be associated with a size of a transform applied to encode the block of the encoded video data. The two aspects of the techniques directed to signaling the flag in the PPS and signaling of the offsets in the APS or PPS may be utilized together or separately. When utilized together, the flag, when set to zero, may indicate that the offsets are signaled in the APS or PPS and may indicate, when set to one, that the offsets are signaled in the slice header. In any event, entropy decoding unit 70 may extract the offsets from the bitstream and provide these offsets to de -blocking unit 63 shown in the example of FIG. 3 (which may be
substantially similar to de-blocking unit 63 shown in the example of FIG. 2 in that both may perform substantially the same or similar de -blocking processes to deblock reconstructed blocks of video data).
[0151] 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.
[0152] 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 quantization parameter may vary, as noted above, based on the size of the transform applied to generate the transform coefficients from the residual video data. 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.
[0153] Inverse transform module 78 applies an inverse transform to the inverse quantized transform coefficients. In some examples, inverse transform module 78 may determine an inverse transform based on signaling from 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, 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, 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. Inverse transform module 78 may generate a block of residual video data.
[0154] 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.
[0155] Based on the retrieved motion prediction direction, reference frame index, and calculated current motion vector (e.g., a motion vector copied from a neighboring block according to a merge mode), motion compensation unit 72 produces a motion compensated block for the current portion. These motion compensated blocks essentially recreate the predictive block used to produce the block of residual data.
[0156] 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. Motion compensation unit 72 may use interpolation filters as used by video encoder 20 during encoding of the video block to calculate interpolated values for sub-integer pixels of a reference block. Motion compensation unit 72 may determine the interpolation filters used by video encoder 20 according to received syntax information and use the interpolation filters to produce predictive blocks.
[0157] Additionally, motion compensation unit 72 and 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. Motion compensation unit 72 and 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 split 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.
[0158] Summer 80 combines the residual blocks with the corresponding prediction blocks generated by motion compensation unit 72 or intra-prediction unit 74 to form decoded blocks. Video decoder 30 may also include a de-blocking unit 81, which may apply a de-blocking filter to perform de-blocking filtering in accordance with various aspects of the techniques described above in this disclosure. De-blocking unit 81 of video decoder 30 may be similar to, if not substantially similar to, de-blocking unit 63 of video encoder 20 in that de-blocking unit 81 of video decoder 30 may operate in a manner similar to that described above with respect to de-blocking unit 63 of video encoder 20. In any event, this filter may be applied to filter the decoded blocks in order to remove blockiness artifacts. The decoded video blocks are then stored in the decoded picture 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. 1).
[0159] FIG. 4 is a flowchart illustrating exemplary operation of a video encoder, such as video encoder 20 shown in the example of FIG. 2, in specifying a flag in a picture parameter set (PPS) of a bitstream that indicates whether offsets used to control deblocking filtering are included in a slice header. Initially, video encoder 20 may receive a block of video data. Video encoder 20 may, to encode this block of video data, perform either inter- or intra-coding, which mode select unit 40 may determine whether to inter- or intra-code the block of video data through analysis of the block in the manner described above. The example presented in FIG. 4 assumes that mode select unit 40 selected inter-coding of the current block of video data for illustration purposes. The techniques should not be limited to this example. In any event, motion estimation unit 42 and motion compensation unit 44 perform motion estimation and compensation to generate a predictive block for the current block of video data (90). Summer 50 subtracts the predictive block from the current block of video data to generate a residual block of video data or residual block (92).
[0160] Transform module 52 may then apply one or more transforms to the residual block of video data to generate a block of transform coefficients in the manner described above (94). Quantization unit 54 may then quantize the block of transform coefficients, again in the manner described above, to generate a quantized block of transform coefficients (96). As noted above, quantization unit 54 may apply a quantization parameter that varies based on a size of the applied transform to quantize the block of transform coefficients. In any event, after performing quantization, entropy encoding unit 56 may entropy encode the block of transform coefficients, storing the entropy encoded block of transform coefficients in a bitstream representative of the encoded video data (98).
[0161] Video encoder 20 may then reconstruct the block of video data from the quantized block of transform coefficients in the manner described above (100). Deblocking unit 63 may then determine whether to perform de-blocking filtering to filter the reconstructed block of video data. De-blocking unit 63 may determine at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform (102). De-blocking unit 63may then perform de -blocking filtering on the reconstructed block of video data based on the determined at least one offset (104).
[0162] Entropy encoding unit 56 may then specify a flag in a picture parameter set (PPS) that indicates whether the at least one offset is specified as at least one syntax element in a header of an independently decodable unit (e.g., a slice) that includes an encoded version of the block of video data (106). Again, in some instances, this flag may be denoted in syntax tables as a "de-blocking_filter_control_present_flag" syntax element. Entropy encoding unit 56 may determine the value for this flag based on an analysis of the current slice header and the header of previous or subsequent slices, comparing the occurrence and values of similar offsets in these other slice headers to determine whether the offsets may be specified in other parameter sets, such as the APS, PPS or in each slice header separately. Entropy encoding unit 56, as one example, may determine a rate of change of these offsets in the slice headers, compare this determined rate of change to a threshold rate of change, and determine whether the offsets can be specified for two or more slices collectively based on the comparison. While described with respect to this example, the techniques may be implemented with respect to any way by which a video encoder may determine whether to specify syntax elements in a slice header as opposed to in a SPS, PPS, APS or other parameter set or header.
[0163] In any event, if this flag is set to or equals zero ("YES" 108), entropy encoding unit 56 does not specify the offsets in the PPS or slice header and the process may be reiterated with respect to another block (if the current block is not the last block of video data; 90-110). Otherwise, if this flag is set to one, meaning the flag does not equal zero ("NO" 108), entropy encoding unit 56 may specify one or more of the above noted offsets in either the PPS and/or the slice header associated with the encoded version of the current block of video data (110). Again, so long as this is not the last block of video data to be encoded, video encoder 20 may continue to perform this process (90- 110).
[0164] FIG. 5 is a flowchart illustrating exemplary operation of a video encoder, such as video encoder 20 shown in the example of FIG. 2, in specifying offsets used to control de-blocking filtering in an adaptations parameter set (APS) or a picture parameter set (PPS). Initially, video encoder 20 may receive a block of video data. Video encoder 20 may, to encode this block of video data, perform either inter- or intra-coding, which mode select unit 40 may determine whether to inter- or intra-code the block of video data through analysis of the block in the manner described above. The example presented in FIG. 4 assumes that mode select unit 40 selected inter-coding of the current block of video data for illustration purposes. The techniques should not be limited to this example. In any event, motion estimation unit 42 and motion compensation unit 44 perform motion estimation and compensation to generate a prediction block of video data for the current block of video data (120). Summer 50 subtracts the predictive block from the current block of video data to deterime a residual block of video data or residual block (122).
[0165] Transform module 52 may then apply one or more transforms to the residual block of video data to generate a block of transform coefficients in the manner described above (124). Quantization unit 54 may then quantize the block of transform coefficients, again in the manner described above, to generate a quantized block of transform coefficients (126). As noted above, quantization unit 54 may apply a quantization parameter that varies based on a size of the applied transform to quantize the block of transform coefficients. In any event, after performing quantization, entropy encoding unit 56 may entropy encode the block of transform coefficients, storing the entropy encoded block of transform coefficients in a bitstream representative of the encoded video data (128).
[0166] Video encoder 20 may then reconstruct the block of video data from the quantized block of transform coefficients in the manner described above (130). Deblocking unit 63 may then determine whether to perform de-blocking filtering to filter the reconstructed block of video data. De-blocking unit 63 may determine at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform (132). De-blocking unit 63 may then perform de-blocking filtering on the reconstructed block of video data based on the determined at least one offset (134).
[0167] Entropy encoding unit 56 may then specify the offsets used to control deblocking filtering in a PPS and/or slice header in the manner described above (136). Entropy encoding unit 56 may perform an analysis of the current slice header and the header of previous or subsequent slices, comparing the occurrence and values of similar offsets in these other slice headers to determine whether the offsets may be specified in other parameter sets, such as the APS or PPS, or in each slice header separately.
Entropy encoding unit 56, as one example, may determine a rate of change of these offsets in the slice headers, compare this determined rate of change to a threshold rate of change, and determine whether the offsets can be specified for two or more slices collectively based on the comparison. While described with respect to this example, the techniques may be implemented with respect to any way by which a video encoder may determine whether to specify syntax elements in a slice header as opposed to in a SPS, PPS, APS or other parameter set or header. As noted above, so long as this is not the last block of video data to be encoded, video encoder 20 may continue to perform this process (120-136).
[0168] FIG. 6 is a flowchart illustrating exemplary operation of a video decoder, such as video decoder 30 shown in the example of FIG. 3, in extracting a flag from a picture parameter set (PPS) that indicates whether offsets used to control de -blocking filtering are included in a slice header. Initially, entropy decoding unit 70 performs an entropy decoding process on the encoded bitstream to retrieve a one-dimensional array of transform coefficients. Entropy decoding unit 70 may parse the above noted syntax elements from the bitstream in accordance with the techniques described in this disclosure.
[0169] In some examples, entropy decoding unit 70 determines or parses the flag specified in a picture parameter set (PPS) of the bitstream representative of the encoded video data that indicates whether at least one of the above noted offsets used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength is specified in a header of the slice that included the block of encoded video data (140). The at least one offset, as noted above, may be associated with a size of the transform applied to encode the block of the encoded video data in the manner described above. Based on the flag (142), entropy decoding unit 70 may extract the at least one offset from one or both of the PPS and the header of the slice. This flag, as noted above, may refer to the de- blocking_filter_control_present_flag. When the flag is equal to one ("YES" 142), entropy decoding unit 70 may parse or otherwise extract the above noted offsets from either the PPS or a slice header (144).
[0170] When the flag is equal to zero ("NO" 142), entropy decoding unit 70 may use existing offsets (146). Again, the one or more offsets may be associated with a size of a transform applied to encode the block of the encoded video data. The two aspects of the techniques directed to signaling the flag in the PPS and signaling of the offsets in the APS or PPS may be utilized together or separately. When utilized together, the flag, when set to zero, may indicate that the offsets are signaled in the APS and may indicate, when set to one, that the offsets are signaled in the slice header. In any event, entropy decoding unit 70 may extract the offsets from the bitstream and provide these offsets to de-blocking unit 81. Entropy decoding unit 70 may also extract the corresponding block of encoded video data and entropy decode the block of encoded video data in the manner described above (148, 150).
[0171] In some examples, entropy decoding unit 70 (or inverse quantization unit 76) may scan the received values using a scan mirroring the scanning mode used by entropy encoding unit 56 (or the quantization unit 54) of video encoder 20. 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 (which may be referred to as the entropy decoded block of encoded video data; 152). 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 quantization parameter may vary, as noted above, based on the size of the transform applied to generate the transform coefficients from the residual video data. 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.
[0172] Inverse transform module 78 applies an inverse transform to the de-quantized block of encoded video data (154). In some examples, inverse transform module 78 may determine an inverse transform based on signaling from video encoder 20, or by inferring the transform from one or more coding characteristics such as block size, coding mode, or the like. Inverse transform module 78 may output an inverse transformed block of encoded video data generally referred to as residual video data, which video decoder 30 may use to reconstruct the video data through inter- or intra- coding techniques in the manner described above (156).
[0173] De-blocking unit 81 may apply a de-blocking filter based on the offsets to perform de-blocking filtering in accordance with various aspects of the techniques described above in this disclosure (158). De-blocking unit 81 may be similar to, and possibly substantially similar or identical to, de-blocking unit 63 of video encoder 20 in that de-blocking unit 81 may operate in a manner similar to that described above with respect to de-blocking unit 63 of video encoder 20. De-blocking unit 81 may use the offsets extracted by entropy decoding unit 70 to determine whether to perform or otherwise control de-blocking filtering. In any event, this filter may be applied to filter the decoded blocks in order to remove blockiness artifacts. The decoded video blocks are then stored in the decoded picture 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. 1).
[0174] FIG. 7 is a flowchart illustrating exemplary operation of a video decoder, such as video decoder 30 shown in the example of FIG. 3, in extracting offsets used to control de-blocking filtering from an adaptations parameter set in accordance with the techniques described in this disclosure. Initially, entropy decoding unit 70 performs an entropy decoding process on the encoded bitstream to retrieve a one-dimensional array of transform coefficients. Entropy decoding unit 70 may parse the above noted syntax elements from the bitstream in accordance with the techniques described in this disclosure.
[0175] In some examples, entropy decoding unit 70 extracts or otherwise parses at least one the above noted offsets used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength from an APS or PPS included within the bitstream representative of the encoded video data (160). Again, the one or more offsets may be associated with a size of a transform applied to encode the block of the encoded video data. Entropy decoding unit 70 may provide these offsets to de-blocking unit 81. Entropy decoding unit 70 may also extract the corresponding block of encoded video data and entropy decode the block of encoded video data in the manner described above (162, 164).
[0176] In some examples, entropy decoding unit 70 (or inverse quantization unit 76) may scan the received values using a scan mirroring the scanning mode used by entropy encoding unit 56 (or the quantization unit 54) of video encoder 20. 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 (which may be referred to as the entropy decoded block of encoded video data; 166). 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 quantization parameter may vary, as noted above, based on the size of the transform applied to generate the transform coefficients from the residual video data. 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.
[0177] Inverse transform module 78 applies an inverse transform to the de-quantized block of encoded video data (168). In some examples, inverse transform module 78 may determine an inverse transform based on signaling from video encoder 20, or by inferring the transform from one or more coding characteristics such as block size, coding mode, or the like. Inverse transform module 78 may output an inverse transformed block of encoded video data generally referred to as residual video data, which video decoder 30 may use to reconstruct the video data through inter- or intra- coding techniques in the manner described above (170).
[0178] De-blocking unit 81 may apply a de-blocking filter based on the offsets to perform de-blocking filtering in accordance with various aspects of the techniques described above in this disclosure (172). De-blocking unit 81 may be similar to, if not substantially similar to, de-blocking unit 63 of video encoder 20 in that de-blocking unit 81 may operate in a manner similar to that described above with respect to de -blocking unit 63 of video encoder 20. De-blocking unit 81 may use the offsets extracted by entropy decoding unit 70 to determine whether to perform or otherwise control deblocking filtering. In any event, this filter may be applied to filter the decoded blocks in order to remove blockiness artifacts. The decoded video blocks are then stored in the decoded picture 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. 1).
[0179] FIG. 8 is a fiowchart illustrating exemplary operation of a video coder, such as video encoder 20 shown in the examples of FIG. 1 and 2 and/or video decoder 30 shown in the examples of FIG. 1 and 3, in implementing various aspects of the techniques for determining a boundary strength value used to compute deblocking filter parameters. The steps of this flowchart generally reflect the above pseudo-code, which is reproduced again below for purposes of review in view of the flowchart set forth in the example of FIG. 8.
- IF (P has MODE INTRA and P is included in maximum TB size) or (Q has MODE INTRA and Q is included in maximum TB size) THEN Bs = 4, - ELSE IF (P is included in maximum TB size) or (Q is included in maximum TB size) THEN Bs = 3,
- ELSE IF (P or Q have MODE INTRA) THEN Bs = 2,
- ELSE further Bs derivation follows HEVC specification.
[0180] In the example of FIG. 8, the video coder may first determine whether the P or Q block is in an intra-coded CU and in a TU of maximum size (max TU) (180). If either of the P or Q blocks is in an intra-coded CU and in a max TU ("YES" 180), the video coder may set the boundary strength value to four (182). If either of the P or Q blocks is either not in an intra-coded CU and/or not in a max TU ("NO" 180), the video coder may determine whether the P or Q blocks are in a max TU (184). If either of the P or Q blocks are in a max TU ("YES" 184), the video coder may set the Bs value to three (186). However, if both the P and Q blocks are not in a max TU ("NO" 184), the video coder may determine whether the P or Q blocks are in an intra-coded CU (188).
[0181] If either of the P or Q blocks are in an intra-coded CU ("YES" 188), the video coder may set the Bs value to two (190). However, if both the P and Q blocks are not in an intra-coded CU ("NO" 188), the video coder may then determine whether there is a transform unit (TU) edge and whether the P or Q blocks are in a TU with a non-zero transform coefficient level (192). If the video coder determines that there is a TU edge and that either of the P or Q blocks are in a TU with a non-zero transform coefficient level ("YES" 192), the video coder may set the Bs value to one (193).
[0182] However, if the video coder determines that there is not a TU edge and/or that both of the P and Q blocks are not in a TU with a non-zero transform coefficient level ("NO" 192), the video coder may determine whether the P or Q blocks have different reference pictures or number of motion vectors (MVs) (194). If the video coder determines that the P or Q blocks have different reference pictures and/or a number of MVs ("YES" 194), the video decoder sets Bs to one (193).
[0183] However, if the video coder determines either that the P or Q blocks have the same reference pictures (or do not have different reference pictures) or a number of MVs (or do not have a different number of MVs) ("NO" 194), the video decoder determines whether the P and Q blocks have one MV each and at least one MV pair that satisfies the following conditions: 1) the absolute value of the x-component of the motion vector for the P block (MVpx) subtracted by the x-component of the motion vector for the Q block (MVqx) is greater than or equal to one (|MVpx - MVqx|≥ 1); or 2) the absolute value of the y-component of the motion vector for the P block (MVpy) subtracted by the y-component of the motion vector for the Q block (MVqy) is greater than or equal to one (|MVpy - MVqy|≥ 1) (196). If either of these conditions is satisfied ("YES" 196), the video coder sets the Bs value to one (193).
[0184] However, if none of these conditions are satisfied ("NO" 196), the video coder determines whether the P and Q blocks have two MVs each and at least one MV pair that satisfies the following conditions: 1) the absolute value of the x-component of one of the motion vectors for the P block (MVpx) subtracted by the x-component of one of the motion vectors for the Q block (MVqx) is greater than or equal to one (|MVpx - MVqx|≥ 1); or 2) the absolute value of the y-component of one of the motion vectors for the P block (MVpy) subtracted by the y-component of one of the motion vectors for the Q block (MVqy) is greater than or equal to one (|MVpy - MVqy| > 1) (198). If either of these conditions is satisfied ("YES" 198), the video coder sets the Bs value to one (193). However, if neither of these conditions are satisfied ("NO" 198), the video coder sets the Bs value to zero (200). As described above, the video coder may use the Bs value when computing deblocking filter parameters.
[0185] While various examples have been described above, the techniques should not be limited to specific combinations of the various aspects of the techniques described in this disclosure. Instead, the various aspects or elements of the techniques may be implemented in any feasible combination.
[0186] 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.
[0187] 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.
[0188] 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.
[0189] 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.
[0190] Various examples have been described. These and other examples are within the scope of the following claims.

Claims

CLAIMS:
1. A method of encoding video data, the method comprising:
applying a transform to a block of the video data to generate a block of transform coefficients;
applying a quantization parameter to quantize the block of transform
coefficients;
reconstructing the block of video data from the quantized block of transform coefficients;
determining at least one offset used in determining whether to perform deblocking filtering of the reconstructed block of video data or used in determining deblocking filtering strength based on the size of the applied transform; and
performing de -blocking filtering on the reconstructed block of video data based on the determined at least one offset.
2. The method of claim 1, further comprising specifying a flag in a picture parameter set (PPS) that indicates whether the at least one offset is specified as at least one syntax element in one or both of the PPS and a header of an independently decodable unit that includes an encoded version of the block of video data.
3. The method of claim 2, wherein the flag comprises a de- blocking_filter_control_present_flag that indicates whether the at least one offset is specified as the at least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the encoded version of the block of video data.
4. The method of claim 1, further comprising specifying the at least one offset as at least one syntax element in one or both of a picture parameter set (PPS) and a header of the independently decodable unit that includes the encoded version of the block of video data.
5. The method of claim 1 ,
wherein determining at least one offset comprises determining one or more of a tc offset and a β offset used in determining whether to perform de-blocking of the reconstructed block of the video data based on the size of the applied transform,
wherein the tc offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for both luma and chroma aspects of the reconstructed block of video data, and
wherein the β offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for luma aspects of the reconstructed block of video data.
6. The method of claim 1, wherein determining at least one offset comprises:
determining whether a size of the transform applied to the block of video data is a maximum transform unit size; and
upon determining that the size of the transform applied to the block of video data is the maximum transform unit size, determining one or more both of a maximum tc offset and a maximum β offset that are used in place of a tc offset and a β offset that are otherwise used in determining whether to perform de-blocking of the reconstructed block of the video data when the size of the transform applied to the block of video data is not a maximum transform unit size.
7. The method of claim 6, further comprising specifying the maximum tc offset and the maximum β offset in one or both of a picture parameter set (PPS) and a header of the independently decodable unit.
8. The method of claim 6, further comprising specifying a de- blocking max tu offset enabled flag in one or both of a picture parameter set (PPS) and a header of the independently decodable unit that indicates whether or not the maximum tc offset and the maximum β offset are specified in the PPS or the header of the independently decodable unit, respectively.
9. The method of claim 1, further comprising determining a boundary strength value for the reconstructed block of video data based on the size of the applied transform,
wherein determining at least one offset comprises determining the at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength value.
10. The method of claim 1, further comprising determining a boundary strength value for the reconstructed block of video data based on whether the block of video data or a block adjacent to the block of video data is included in an intra-coded coding unit and whether the block of video data or the block adjacent to the block of video data is included in a transform unit of maximum size, and
wherein determining at least one offset comprises determining the at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
11. The method of claim 1 , further comprising determining a boundary strength value for the reconstructed block of video data based on whether the block of video data is included in an intra-coded coding unit and is included in a transform unit of maximum size or whether a block adjacent to the block of video data is included in an intra-coded coding unit and is included in a transform unit of maximum size; and
wherein determining at least one offset comprises determining the at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
12. The method of claim 1, further comprising determining a boundary strength value for the reconstructed block of video data when neither the block of video data nor a block adjacent to the block of video data are included in an intra-coded coding unit and at least one of the block of video data and the block adjacent to the block of video data is include in a transform unit of maximum size, and
wherein determining at least one offset comprises determining the at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
13. The method of claim 1, further comprising determining a boundary strength value for the reconstructed block of video data when at least one of the block of video data and a block adjacent to the block of video data is included in a transform unit of maximum size without determining whether the block of video data and the block adjacent to the block of video data is included within an intra-coded coding unit; and wherein determining at least one offset comprises determining the at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
14. The method of claim 1, wherein determining at least one offset comprises determining the at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform and whether the block of video data was intra-coded or inter-coded.
15. The method of claim 14, further comprising:
specifying a flag in a picture parameter set (PPS) to indicate that the at least one offset is specified as at least one syntax element in one or both of the PPS and a header of the independently decodable unit that includes an encoded version of the block of video data, and
specifying the at least one offset determined based both on the size of the applied transform and whether the block of video data was intra-coded or inter-coded as the least one syntax element in one or both of the PPS and the header of the
independently decodable unit that includes the encoded version of the block of video data.
16. The method of claim 1, further comprising:
specifying a flag in a picture parameter set (PPS) to indicate that the at least one offset is not specified as the at least one syntax element in one or both of the PPS and a header of the independently decodable unit that includes an encoded version of the block of video data; and
specifying the at least one offset as a syntax element in the PPS.
17. The method of claim 1, wherein applying the quantization parameter comprises applying a quantization parameter that varies based on a size of the transform to quantize the block of transform coefficients.
18. A video encoding device configured to encode video data comprising:
one or more processors configured to apply a transform to a block of the video data to generate a block of transform coefficients, apply a quantization parameter to quantize the block of transform coefficients, reconstruct the block of video data from the quantized block of transform coefficients, determine at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform and perform de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
19. The video encoding device of claim 18, wherein the one or more processors are further configured to specify a flag in a picture parameter set (PPS) that indicates whether the at least one offset is specified as at least one syntax element in one or both of the PPS and a header of an independently decodable unit that includes an encoded version of the block of video data.
20. The video encoding device of claim 19, wherein the flag comprises a de- blocking_filter_control_present_flag that indicates whether the at least one offset is specified as the at least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the encoded version of the block of video data.
21. The video encoding device of claim 18, wherein the one or more processors are further configured to specify the at least one offset as at least one syntax element in one or both of a picture parameter set (PPS) and a header of the independently decodable unit that includes the encoded version of the block of video data.
22. The video encoding device of claim 18,
wherein the one or more processor is further configured to determine one or more of a tc offset and a β offset used in determining whether to perform de-blocking of the reconstructed block of the video data based on the size of the applied transform, wherein the tc offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for both luma and chroma aspects of the reconstructed block of video data, and
wherein the β offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for luma aspects of the reconstructed block of video data.
23. The video encoding device of claim 18, wherein the one or more processors are further configured to determine whether a size of the transform applied to the block of video data is a maximum transform unit size and, upon determining that the size of the transform applied to the block of video data is the maximum transform unit size, determining one or more both of a maximum tc offset and a maximum β offset that are used in place of a tc offset and a β offset that are otherwise used in determining whether to perform de-blocking of the reconstructed block of the video data when the size of the transform applied to the block of video data is not a maximum transform unit size.
24. The video encoding device of claim 23, wherein the one or more processors are further configured to specify the maximum tc offset and the maximum β offset in one or both of a picture parameter set (PPS) and a header of the independently decodable unit.
25. The video encoding device of claim 23, wherein the one or more processors are further configured to specify a de-blocking_max_tu_offset_enabled_flag in one or both of a picture parameter set (PPS) and a header of the independently decodable unit that indicates whether or not the maximum tc offset and the maximum β offset are specified in the PPS or the header of the independently decodable unit, respectively.
26. The video encoding device of claim 18, wherein the one or more processors are further configured to determine a boundary strength value for the reconstructed block of video data based on the size of the applied transform and determine the at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength value.
27. The video encoding device of claim 18, wherein the one or more processors are further configured to determine a boundary strength value for the reconstructed block of video data based on whether the block of video data or a block adjacent to the block of video data is included in an intra-coded coding unit and whether the block of video data or the block adjacent to the block of video data is included in a transform unit of maximum size, and determine the at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
28. The video encoding device of claim 18, wherein the one or more processors are further configured to determine a boundary strength value for the reconstructed block of video data based on whether the block of video data is included in an intra-coded coding unit and is included in a transform unit of maximum size or whether a block adjacent to the block of video data is included in an intra-coded coding unit and is included in a transform unit of maximum size, and determine the at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
29. The video encoding device of claim 18, wherein the one or more processors are further configured to determine a boundary strength value for the reconstructed block of video data when neither the block of video data nor a block adjacent to the block of video data are included in an intra-coded coding unit and at least one of the block of video data and the block adjacent to the block of video data is include in a transform unit of maximum size, and determine the at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
30. The video encoding device of claim 18, wherein the one or more processors are further configured to determine a boundary strength value for the reconstructed block of video data when at least one of the block of video data and a block adjacent to the block of video data is include in a transform unit of maximum size without determining whether the block of video data and the block adjacent to the block of video data is included within an intra-coded coding unit and determine the at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
31. The video encoding device of claim 18, wherein the one or more processor are further configured to determine the at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform and whether the block of video data was intra-coded or inter-coded.
32. The video encoding device of claim 31 , wherein the one or more processor are further configured to specify a flag in a picture parameter set (PPS) to indicate that the at least one offset is specified as at least one syntax element in one or both of the PPS and a header of the independently decodable unit that includes an encoded version of the block of video data, and specify the at least one offset determined based both on the size of the applied transform and whether the block of video data was intra-coded or inter-coded as the least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the encoded version of the block of video data.
33. The video encoding device of claim 18, wherein the one or more processor are further configured to specify a flag in a picture parameter set (PPS) to indicate that the at least one offset is not specified as at least one syntax element in one or both of the PPS and a header of the independently decodable unit that includes an encoded version of the block of video data, and specify the at least one offset as a syntax element in the PPS
34. The video encoding device of claim 18, wherein the one or more processor are further configured to apply a quantization parameter that varies based on a size of the transform to quantize the block of transform coefficients.
35. A video encoding device configured to encode video data comprising:
means for applying a transform to a block of the video data to generate a block of transform coefficients;
means for applying a quantization parameter to quantize the block of transform coefficients;
means for reconstructing the block of video data from the quantized block of transform coefficients;
means for determining at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform; and
means for performing de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
36. The video encoding device of claim 35, further comprising means for specifying a flag in a picture parameter set (PPS) that indicates whether the at least one offset is specified as at least one syntax element in one or both of the PPS and a header of an independently decodable unit that includes an encoded version of the block of video data.
37. The video encoding device of claim 36, wherein the flag comprises a de- blocking_filter_control_present_flag that indicates whether the at least one offset is specified as the at least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the encoded version of the block of video data.
38. The video encoding device of claim 35, further comprising means for specifying the at least one offset as at least one syntax element in one or both of a picture parameter set (PPS) and a header of the independently decodable unit that includes the encoded version of the block of video data.
39. The video encoding device of claim 35,
wherein the means for determining at least one offset comprises means for determining one or more of a tc offset and a β offset used in determining whether to perform de-blocking of the reconstructed block of the video data based on the size of the applied transform,
wherein the tc offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for both luma and chroma aspects of the reconstructed block of video data, and
wherein the β offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for luma aspects of the reconstructed block of video data.
40. The video encoding device of claim 35, wherein the means for determining at least one offset comprises:
means for determining whether a size of the transform applied to the block of video data is a maximum transform unit size; and
upon determining that the size of the transform applied to the block of video data is the maximum transform unit size, means for determining one or more both of a maximum tc offset and a maximum β offset that are used in place of a tc offset and a β offset that are otherwise used in determining whether to perform de-blocking of the reconstructed block of the video data when the size of the transform applied to the block of video data is not a maximum transform unit size.
41. The video encoding device of claim 40, further comprising means for specifying the maximum tc offset and the maximum β offset in one or both of a picture parameter set (PPS) and a header of the independently decodable unit.
42. The video encoding device of claim 40, further comprising means for specifying a de-blocking_max_tu_offset_enabled_flag in one or both of a picture parameter set (PPS) a the header of the independently decodable unit that indicates whether or not the maximum tc offset and the maximum β offset are specified in the PPS or the header of the independently decodable unit, respectively.
43. The video encoding device of claim 35, further comprising means for determining a boundary strength value for the reconstructed block of video data based on the size of the applied transform,
wherein the means for determining at least one offset comprises means for determining the at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength value.
44. The video encoding device of claim 35, further comprising means for determining a boundary strength value for the reconstructed block of video data based on whether the block of video data or a block adjacent to the block of video data is included in an intra-coded coding unit and whether the block of video data or the block adjacent to the block of video data is included in a transform unit of maximum size, and wherein the means for determining at least one offset comprises means for determining the at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
45. The video encoding device of claim 35, further comprising means for
determining a boundary strength value for the reconstructed block of video data based on whether the block of video data is included in an intra-coded coding unit and is included in a transform unit of maximum size or whether a block adjacent to the block of video data is included in an intra-coded coding unit and is included in a transform unit of maximum size, and
wherein the means for determining at least one offset comprises means for determining the at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
46. The video encoding device of claim 35, further comprising means for
determining a boundary strength value for the reconstructed block of video data when neither the block of video data nor a block adjacent to the block of video data are included in an intra-coded coding unit and at least one of the block of video data and the block adjacent to the block of video data is include in a transform unit of maximum size, and
wherein the means for determining at least one offset comprises means for determining the at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
47. The video encoding device of claim 35, further comprising means for
determining a boundary strength value for the reconstructed block of video data when at least one of the block of video data and a block adjacent to the block of video data is include in a transform unit of maximum size without determining whether the block of video data and the block adjacent to the block of video data is included within an intra- coded coding unit, and
wherein the means for determining at least one offset comprises means for determining at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
48. The video encoding device of claim 35, wherein the means for determining at least one offset comprises means for determining at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de -blocking filtering strength based on the size of the applied transform and whether the block of video data was intra-coded or inter-coded.
49. The video encoding device of claim 48, further comprising:
means for specifying the flag in a picture parameter set (PPS) to indicate that the at least one offset is specified as at least one syntax element in one or both of the PPS and a header of the independently decodable unit that includes an encoded version of the block of video data; and
means for specifying the at least one offset determined based both on the size of the applied transform and whether the block of video data was intra-coded or inter- coded as the least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the encoded version of the block of video data.
50. The video encoding device of claim 35, further comprising:
means for specifying a flag in a picture parameter set (PPS) to indicate that the at least one offset is not specified as the at least one syntax element in one or both of the PPS and a header of the independently decodable unit that includes an encoded version of the block of video data; and
means for specifying the at least one offset as a syntax element in the PPS
51. The video encoding device of claim 35, wherein the means for applying the quantization parameter comprises means for applying a quantization parameter that varies based on a size of the transform to quantize the block of transform coefficients.
52. A non-transitory computer-readable storage medium having stored thereon instructions that, when executed, cause one or more processors to:
apply a transform to a block of the video data to generate a block of transform coefficients;
apply a quantization parameter to quantize the block of transform coefficients; reconstruct the block of video data from the quantized block of transform coefficients;
determine at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the size of the applied transform; and
perform de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
53. The non-transitory computer-readable storage medium of claim 52, wherein the instructions, when executed, further cause the one or more processors to specify a flag in a picture parameter set (PPS) that indicates whether the at least one offset is specified as at least one syntax element in one or both of the PPS and a header of an
independently decodable unit that includes an encoded version of the block of video data.
54. The non-transitory computer-readable storage medium of claim 53, wherein the flag comprises a de-blocking_filter_control_present_flag that indicates whether the at least one offset is specified as the at least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the encoded version of the block of video data.
55. The non-transitory computer-readable storage medium of claim 52, wherein the instructions, when executed, further cause the one or more processors to specify the at least one offset as at least one syntax element in one or both of a picture parameter set (PPS) and a header of the independently decodable unit that includes the encoded version of the block of video data.
56. The non-transitory computer-readable storage medium of claim 52,
wherein the instructions, when executed, further cause the one or more processors to, when determining at least one offset, determine one or more of a tc offset and a β offset used in determining whether to perform de-blocking of the reconstructed block of the video data based on the size of the applied transform,
wherein the tc offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for both luma and chroma aspects of the reconstructed block of video data, and
wherein the β offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for luma aspects of the reconstructed block of video data.
57. The non-transitory computer-readable storage medium of claim 52, wherein the instructions, when executed, further cause the one or more processors, when
determining at least one offset, to:
determine whether a size of the transform applied to the block of video data is a maximum transform unit size; and
upon determining that the size of the transform applied to the block of video data is the maximum transform unit size, determine one or more both of a maximum tc offset and a maximum β offset that are used in place of a tc offset and a β offset that are otherwise used in determining whether to perform de-blocking of the reconstructed block of the video data when the size of the transform applied to the block of video data is not a maximum transform unit size.
58. The non-transitory computer-readable storage medium of claim 57, wherein the instructions, when executed, further cause the one or more processors to specify the maximum tc offset and the maximum β offset in one or both of a picture parameter set (PPS) and a header of the independently decodable unit.
59. The non-transitory computer-readable storage medium of claim 57, wherein the instructions, when executed, further cause the one or more processors to specify a de- blocking max tu offset enabled flag in one or both of a picture parameter set (PPS) and a header of the independently decodable unit that indicates whether or not the maximum tc offset and the maximum β offset are specified in the PPS or the header of the independently decodable unit, respectively.
60. The non-transitory computer-readable storage medium of claim 52, wherein the instructions, when executed, further cause the one or more processors to:
determine a boundary strength value for the reconstructed block of video data based on the size of the applied transform; and
when determining the at least one offset, determine the at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength value.
61. The non-transitory computer-readable storage medium of claim 52, wherein the instructions, when executed, further cause the one or more processors to:
determine a boundary strength value for the reconstructed block of video data based on whether the block of video data or a block adjacent to the block of video data is included in an intra-coded coding unit and whether the block of video data or the block adjacent to the block of video data is included in a transform unit of maximum size; and
when determining at least one offset, determine the at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
62. The non-transitory computer-readable storage medium of claim 52, wherein the instructions, when executed, further cause the one or more processors to:
determine a boundary strength value for the reconstructed block of video data based on whether the block of video data is included in an intra-coded coding unit and is included in a transform unit of maximum size or whether a block adjacent to the block of video data is included in an intra-coded coding unit and is included in a transform unit of maximum size; and
when determining the at least one offset, determine the at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
63. The non-transitory computer-readable storage medium of claim 52, wherein the instructions, when executed, further cause the one or more processors to:
determine a boundary strength value for the reconstructed block of video data when neither the block of video data nor a block adjacent to the block of video data are included in an intra-coded coding unit and at least one of the block of video data and the block adjacent to the block of video data is include in a transform unit of maximum size; and
when determining the at least one offset, determine the at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
64. The non-transitory computer-readable storage medium of claim 52, wherein the instructions, when executed, further cause the one or more processors to:
determine a boundary strength value for the reconstructed block of video data when at least one of the block of video data and a block adjacent to the block of video data is include in a transform unit of maximum size without determining whether the block of video data and the block adjacent to the block of video data is included within an intra-coded coding unit; and
when determining the at least one offset, determine the at least one offset used in determining whether to perform de -blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength based on the determined boundary strength.
65. The non-transitory computer-readable storage medium of claim 52, wherein the instructions, when executed, further cause the one or more processors to, when determining the at least one offset, determine the at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de -blocking filtering strength based on the size of the applied transform and whether the block of video data was intra-coded or inter-coded.
66. The non-transitory computer-readable storage medium of claim 65, wherein the instructions, when executed, further cause the one or more processors to:
specify a flag in a picture parameter set (PPS) to indicate that the at least one offset is specified as at least one syntax element in one or both of the PPS and a header of the independently decodable unit that includes an encoded version of the block of video data; and
specify the at least one offset determined based both on the size of the applied transform and whether the block of video data was intra-coded or inter-coded as the least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the encoded version of the block of video data.
67. The non-transitory computer-readable storage medium of claim 52, wherein the instructions, when executed, further cause the one or more processors to:
specify a flag in a picture parameter set (PPS) to indicate that the at least one offset is not specified as the at least one syntax element in one or both of the PPS and a header of the independently decodable unit that includes an encoded version of the block of video data; and
specify the at least one offset as a syntax element in the PPS.
68. The non-transitory computer-readable storage medium of claim 52, wherein the instructions, when executed, further cause the one or more processors to, when applying the quantization parameter, apply a quantization parameter that varies based on a size of the transform to quantize the block of transform coefficients.
69. A method of decoding encoded video data with a video decoder comprising: applying an inverse quantization parameter to a block of the encoded video data to de-quantize the block of the encoded video data;
applying the inverse transform to the de-quantized block of the encoded video data to generate a block of residual video data;
reconstructing a block of video data from the block of residual video data;
determining at least one offset used in determining whether to perform deblocking filtering of the reconstructed block of video data or used in determining deblocking filtering strength, wherein the at least one offset is associated with a size of a transform applied to encode the block of the encoded video data; and
performing de -blocking filtering on the reconstructed block of video data based on the determined at least one offset.
70. The method of claim 69, wherein determining the at least one offset comprises: determining a flag specified in a picture parameter set (PPS) of the encoded video data that indicates whether the at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength is specified in one or both of the PPS and a header of an independently decodable unit that included the block of encoded video data; and
based on the flag, extracting the at least one offset from one or both of the PPS and the header of the independently decodable unit.
71. The method of claim 70, wherein the flag comprises a de- blocking_filter_control_present_flag that indicates whether the at least one offset is specified as the at least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the block of the encoded video data.
72. The method of claim 69, wherein determining the at least one offset comprises extracting the at least one offset from one or both of a picture parameter set (PPS) and a header of the independently decodable unit that includes the encoded version of the block of video data.
73. The method of claims 69,
wherein the at least one offset comprises one or more of a tc offset and a β offset used in determining whether to perform de-blocking of the reconstructed block of the video data based on the size of the applied transform,
wherein the tc offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for both luma and chroma aspects of the reconstructed block of video data, and
wherein the β offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for luma aspects of the reconstructed block of video data.
74. The method of claims 69, wherein the at least one offset comprises at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength that is associated with the size of the applied transform and whether the block of the encoded video data was intra-coded or inter-coded.
75. The method of claims 69, wherein determining the at least one offset comprises extracting, from one or both of a picture parameter set (PPS) and a header of the independently decodable unit that includes the encoded version of the block of video data, a maximum tc offset and a maximum β offset that are used in place of a tc offset and a β offset that are otherwise used in determining whether to perform de -blocking of the reconstructed block of the video data when the size of the transform applied to the block of video data is not a maximum transform unit size.
76. The method of claim 75, wherein extracting a maximum tc offset and a maximum β offset comprises extracting the maximum tc offset and the maximum β offset based on a de-blocking_max_tu_offset_enabled_flag specified in one or both of the PPS and the header of the independently decodable unit.
77. The method of claims 69, wherein applying the inverse quantization parameter comprises applying an inverse quantization parameter that varies based on a size of the inverse transform to de-quantize the block of encoded video data.
78. A video decoding device configured to decoding encoded video data comprising:
one or more processors configured to apply an inverse quantization parameter to a block of the encoded video data to de-quantize the block of the encoded video data, apply the inverse transform to the de-quantized block of the encoded video data to generate a block of residual video data, reconstruct a block of video data from the block of residual video data, determine at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength, wherein the at least one offset is associated with a size of a transform applied to encode the block of the encoded video data, and perform de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
79. The video decoding device of claim 78, wherein the one or more processors, , when determining the at least one offset, are configured to determine a flag specified in a picture parameter set (PPS) of the encoded video data that indicates whether the at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength is specified in one or both of the PPS and a header of an independently decodable unit that included the block of encoded video data and, based on the flag, extract the at least one offset from one or both of the PPS and the header of the independently decodable unit.
80. The video decoding device of claim 79, wherein the flag comprises a de- blocking_filter_control_present_flag that indicates whether the at least one offset is specified as the at least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the block of the encoded video data.
81. The video decoding device of claim 78, wherein the one or more processors, when determining the at least one offset, are configured to extract the at least one offset from one or both of a picture parameter set (PPS) and a header of the independently decodable unit that includes the encoded version of the block of video data.
82. The video decoding device of claim 78,
wherein the at least one offset comprises one or more of a tc offset and a β offset used in determining whether to perform de-blocking of the reconstructed block of the video data based on the size of the applied transform,
wherein the tc offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for both luma and chroma aspects of the reconstructed block of video data, and
wherein the β offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for luma aspects of the reconstructed block of video data.
83. The video decoding device of claim 78, wherein the at least one offset comprises at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength that is associated with the size of the applied transform and whether the block of the encoded video data was intra-coded or inter-coded.
84. The video decoding device of claim 78, wherein the one or more processors, when determining the at least one offset, are further configured to extract, from one or both of a picture parameter set (PPS) and a header of the independently decodable unit that includes the encoded version of the block of video data, a maximum tc offset and a maximum β offset that are used in place of a tc offset and a β offset that are otherwise used in determining whether to perform de-blocking of the reconstructed block of the video data when the size of the transform applied to the block of video data is not a maximum transform unit size.
85. The video decoding device of claim 84, wherein the one or more processors are further configured to extract the maximum tc offset and the maximum β offset based on a de-blocking_max_tu_offset_enabled_flag specified in one or both of the PPS and the header of the independently decodable unit.
86. The video decoding device of claims 78, wherein the one or more processors are further configured to, when appling the inverse quantization parameter, apply an inverse quantization parameter that varies based on a size of the inverse transform to de- quantize the block of encoded video data.
87. A video decoding device for decoding encoded video data comprising:
means for applying an inverse quantization parameter to a block of the encoded video data to de-quantize the block of the encoded video data;
means for applying the inverse transform to the de-quantized block of the encoded video data to generate a block of residual video data;
means for reconstructing a block of video data from the block of residual video data;
means for determining at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength, wherein the at least one offset is associated with a size of a transform applied to encode the block of the encoded video data; and means for performing de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
88. The video decoding device of claim 87, wherein the means for determining the at least one offset comprises:
means for determining a flag specified in a picture parameter set (PPS) of the encoded video data that indicates whether the at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de -blocking filtering strength is specified in one or both of the PPS and a header of an independently decodable unit that included the block of encoded video data; and
means for extracting, based on the flag, the at least one offset from one or both of the PPS and the header of the independently decodable unit.
89. The video decoding device of claim 88, wherein the flag comprises a de- blocking_filter_control_present_flag that indicates whether the at least one offset is specified as the at least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the block of the encoded video data.
90. The video decoding device of claim 87, wherein the mean for determining the at least one offset comprises means for extracting the at least one offset from one or both of a picture parameter set (PPS) and a header of the independently decodable unit that includes the encoded version of the block of video data.
91. The video decoding device of claims 87,
wherein the at least one offset comprises one or more of a tc offset and a β offset used in determining whether to perform de-blocking of the reconstructed block of the video data based on the size of the applied transform,
wherein the tc offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for both luma and chroma aspects of the reconstructed block of video data, and
wherein the β offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for luma aspects of the reconstructed block of video data.
92. The video decoding device of claims 87, wherein the at least one offset comprises at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength that is associated with the size of the applied transform and whether the block of the encoded video data was intra-coded or inter-coded.
93. The video decoding device of claims 87, wherein the means for determining the at least one offset comprises means for extracting, from one or both of a picture parameter set (PPS) and a header of the independently decodable unit that includes the encoded version of the block of video data, a maximum tc offset and a maximum β offset that are used in place of a tc offset and a β offset that are otherwise used in determining whether to perform de -blocking of the reconstructed block of the video data when the size of the transform applied to the block of video data is not a maximum transform unit size.
94. The video decoding device of claim 93, wherein the means for extracting a maximum tc offset and a maximum β offset comprises means for extracting the maximum tc offset and the maximum β offset based on a de- blocking max tu offset enabled flag specified in one or both of the PPS and the header of the independently decodable unit.
95. The video decoding device of claims 87, wherein the means for applying the inverse quantization parameter comprises means for applying an inverse quantization parameter that varies based on a size of the inverse transform to de-quantize the block of encoded video data.
96. A non-transitory computer-readable medium having stored thereon instruction that, when executed, cause one or more processors to:
apply an inverse quantization parameter to a block of the encoded video data to de-quantize the block of the encoded video data;
apply the inverse transform to the de-quantized block of the encoded video data to generate a block of residual video data;
reconstruct a block of video data from the block of residual video data;
determine at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength, wherein the at least one offset is associated with a size of a transform applied to encode the block of the encoded video data; and
perform de-blocking filtering on the reconstructed block of video data based on the determined at least one offset.
97. The non-transitory computer-readable medium of claim 96, wherein the instructions, when executed, further cause the one or more processors, when
determining the at least one offset, to:
determine a flag specified in a picture parameter set (PPS) of the encoded video data that indicates whether the at least one offset used in determining whether to perform de-blocking filtering of the reconstructed block of video data or used in determining de-blocking filtering strength is specified in one or both of the PPS and a header of an independently decodable unit that included the block of encoded video data; and
based on the flag, extract the at least one offset from one or both of the PPS and the header of the independently decodable unit.
98. The non-transitory computer-readable medium of claim 97, wherein the flag comprises a de-blocking_filter_control_present_flag that indicates whether the at least one offset is specified as the at least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the block of the encoded video data.
99. The non-transitory computer-readable medium of claim 96, wherein the instructions, when executed, further cause the one or more processors to, when determining the at least one offset, extract the at least one offset from one or both of a picture parameter set (PPS) and a header of the independently decodable unit that includes the encoded version of the block of video data.
100. The non-transitory computer-readable medium of claims 96,
wherein the at least one offset comprises one or more of a tc offset and a β offset used in determining whether to perform de-blocking of the reconstructed block of the video data based on the size of the applied transform,
wherein the tc offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for both luma and chroma aspects of the reconstructed block of video data, and
wherein the β offset comprises an offset used for determining whether to perform de -blocking filtering or used in determining de -blocking filtering strength for luma aspects of the reconstructed block of video data.
101. The non-transitory computer-readable medium of claims 96, wherein the at least one offset comprises at least one offset used in determining whether to perform deblocking filtering of the reconstructed block of video data or used in determining deblocking filtering strength that is associated with the size of the applied transform and whether the block of the encoded video data was intra-coded or inter-coded.
102. The non-transitory computer-readable medium of claims 96, wherein the instructions, when executed, further cause the one or more processors to, when determining the at least one offset, extract, from one or both of a picture parameter set (PPS) and a header of the independently decodable unit that includes the encoded version of the block of video data, a maximum tc offset and a maximum β offset that are used in place of a tc offset and a β offset that are otherwise used in determining whether to perform de-blocking of the reconstructed block of the video data when the size of the transform applied to the block of video data is not a maximum transform unit size.
103. The non-transitory computer-readable medium of claim 102, wherein the instructions, when executed, further cause the one or more processors to, when extracting a maximum tc offset and a maximum β offset, extract the maximum tc offset and the maximum β offset based on a de-blocking_max_tu_offset_enabled_flag specified in one or both of the PPS and the header of the independently decodable unit.
104. The non-transitory computer-readable medium of claims 96, wherein the instructions, when executed, further cause the one or more processors to, when applying the inverse quantization parameter, apply an inverse quantization parameter that varies based on a size of the inverse transform to de-quantize the block of encoded video data.
105. A method of coding video data, the method comprising:
determining one or more deblocking filter clipping thresholds based on a boundary strength value;
performing a clipping operation with respect to a deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped deblocking filter; and
applying the clipped de -blocking filter to a block of the video data.
106. The method of claim 105, further comprising determining the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a block of the video data of a specified size.
107. The method of claim 105, further comprising determining the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size.
108. The method of claim 105, wherein determining the one or more deblocking filter clipping thresholds comprises determining the one or more deblocking filter clipping thresholds based on the boundary strength value and a maximum size of a block determined for a portion of the video data that includes the block of the video data.
109. The method of claim 105, wherein determining the one or more deblocking filter clipping thresholds comprises determining the one or more deblocking filter clipping thresholds based on the boundary strength value and a maximum size of a transform unit determined for a portion of the video data that includes the block of the video data.
110. The method of claim 109,
wherein determining one or more of the deblocking filter clipping threshold comprises:
when the boundary strength value is greater than two and the maximum size of the transform unit is greater than a first threshold, determining a first deblocking filter clipping threshold as a multiple of an offset used in determining whether to perform deblocking filtering of the block of video data or used in determining de-blocking filtering strength; and
when the boundary strength value is greater than two and the maximum size of the transform unit is greater than a second threshold, determining a second deblocking filter clipping threshold as a multiple of the offset used in determining whether to perform de-blocking filtering of the block of video data or used in determining deblocking filtering strength, and
wherein performing the clipping operation comprises performing the clipping operation with respect to the deblocking filter using the determined first and second deblocking filter clipping thresholds to determine the clipped deblocking filter.
111. The method of claim 105,
wherein performing the clipping operation comprises performing the clipping operation with respect to a normal deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped normal deblocking filter, and
wherein applying the clipped de -blocking filter comprises applying the clipped normal deblocking filter to the block of the video data.
112. The method of claim 105, further comprising:
determining the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size; and
determining to apply a chroma deblocking filter to a chroma portion of the block of video data when the determined boundary strength value equals four.
113. The method of claim 105 , further comprising:
determining the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size;
determining whether a size of the transform applied to the block of video data is a maximum transform unit size; and
upon determining that the size of the transform applied to the block of video data is the maximum transform unit size, determining one or more of a maximum tc offset and a maximum β offset that are used in place of a tc offset and a β offset that are otherwise used in determining whether to perform de-blocking filtering of the block of the video data when the size of the transform applied to the block of video data is not a maximum transform unit size.
114. The method of claim 113, further comprising specifying a flag in a picture parameter set (PPS) that indicates whether one or more of the tc offset and the β offset is specified as at least one syntax element in one or both of the PPS and a header of an independently decodable unit that includes the block of video data.
115. The method of claim 114, wherein the flag comprises a de- blocking_filter_control_present_flag that indicates whether one or more of the tc offset and the β offset is specified as the at least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the encoded version of the block of video data.
116. The method of claim 105,
wherein the block of video data comprises a reconstructed block of video data that is reconstructed by a video encoder from an encoded version of the block of video data,
wherein applying the clipped de -blocking filter comprises applying the clipped de-blocking filter comprises applying the clipped de-blocking filter to the reconstructed block of the video data to generate a de-blocking filtered reconstructed block of video data, and
wherein the method further comprises storing the de-blocking filtered reconstructed block of video data to a memory for use as a reference block when encoding other blocks of video data.
117. The method of claim 105,
wherein the block of video data comprises a reconstructed block of video data that is reconstructed by a video decoder from an encoded version of the block of video data,
wherein applying the clipped de -blocking filter comprises applying the clipped de-blocking filter to the reconstructed block of the video data to generate a de -blocking filtered reconstructed block of video data, and
wherein the method further comprises storing the de-blocking filtered reconstructed block of video data to a memory for use as a reference block when decoding other blocks of video data.
118. A video coding device for coding video data, the video coding device comprising one or more processors configured to determine one or more deblocking filter clipping thresholds based on a boundary strength value, perform a clipping operation with respect to a deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped deblocking filter and apply the clipped de -blocking filter to a block of the video data.
119. The video coding device of claim 118, wherein the one or more processors are further configured to determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a block of the video data of a specified size.
120. The video coding device of claim 118, wherein the one or more processors are further configured to determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size.
121. The video coding device of claim 118, wherein the one or more processors are further configured to determine the one or more deblocking filter clipping thresholds based on the boundary strength value and a maximum size of a block determined for a portion of the video data that includes the block of the video data.
122. The video coding device of claim 118, wherein the one or more processors are further configured to determine the one or more deblocking filter clipping thresholds based on the boundary strength value and a maximum size of a transform unit determined for a portion of the video data that includes the block of the video data.
123. The video coding device of claim 122,
wherein the one or more processors are further configured to, when the boundary strength value is greater than two and the maximum size of the transform unit is greater than a first threshold, determine a first deblocking filter clipping threshold as a multiple of an offset used in determining whether to perform de-blocking filtering of the block of video data or used in determining de -blocking filtering strength and, when the boundary strength value is greater than two and the maximum size of the transform unit is greater than a second threshold, determine a second deblocking filter clipping threshold as a multiple of the offset used in determining whether to perform de-blocking filtering of the block of video data or used in determining de-blocking filtering strength, and
wherein the one or more processors are further configured to, when performing the clipping operation, perform the clipping operation with respect to the deblocking filter using the determined first and second deblocking filter clipping thresholds to determine the clipped deblocking filter.
124. The video coding device of claim 118,
wherein the one or more processors are further configured to, when performing the clipping operation, perform the clipping operation with respect to a normal deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped normal deblocking filter, and
wherein the one or more processors are further configured to, when applying the clipped de-blocking filter, apply the clipped normal deblocking filter to the block of the video data.
125. The video coding device of claim 118, wherein the one or more processors are further configured to determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size and determine to apply a chroma deblocking filter to a chroma portion of the block of video data when the determined boundary strength value equals four.
126. The video coding device of claim 118, wherein the one or more processors are further configured to determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size, determine whether a size of the transform applied to the block of video data is a maximum transform unit size and, upon determining that the size of the transform applied to the block of video data is the maximum transform unit size, determine one or more of a maximum tc offset and a maximum β offset that are used in place of a tc offset and a β offset that are otherwise used in determining whether to perform de-blocking filtering of the block of the video data when the size of the transform applied to the block of video data is not a maximum transform unit size.
127. The video coding device of claim 118, wherein the one or more processors are further configured to specify a flag in a picture parameter set (PPS) that indicates whether one or more of the tc offset and the β offset is specified as at least one syntax element in one or both of the PPS and a header of an independently decodable unit that includes the block of video data.
128. The video coding device of claim 127, wherein the flag comprises a de- blocking_filter_control_present_flag that indicates whether one or more of the tc offset and the β offset is specified as the at least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the encoded version of the block of video data.
129. The video coding device of claim 118,
wherein the video coding device comprises a video encoding device, wherein the block of video data comprises a reconstructed block of video data that is reconstructed by the video encoding device from an encoded version of the block of video data,
wherein the one or more processors are further configured to, when applying the clipped de-blocking filter, apply the clipped de-blocking filter to the reconstructed block of the video data to generate a de-blocking filtered reconstructed block of video data, and
wherein the one or more processors are further configured to store the deblocking filtered reconstructed block of video data to a memory for use as a reference block when encoding other blocks of video data.
130. The video coding device of claim 118,
wherien the video coding device comprises a video decoding device, wherein the block of video data comprises a reconstructed block of video data that is reconstructed by the video decoding device from an encoded version of the block of video data,
the one or more processors are further configured to, when applying the clipped de-blocking filter, apply the clipped de -blocking filter to the reconstructed block of the video data to generate a de-blocking filtered reconstructed block of video data, and wherein the one or more processors are further configured to store the deblocking filtered reconstructed block of video data to a memory for use as a reference block when decoding other blocks of video data.
131. A video coding device for coding video data, the video coding device comprising:
means for determining one or more deblocking filter clipping thresholds based on a boundary strength value;
means for performing a clipping operation with respect to a deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped deblocking filter; and
means for applying the clipped de-blocking filter to a block of the video data.
132. The video coding device of claim 131, further comprising means for determining the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a block of the video data of a specified size.
133. The video coding device of claim 131, further comprising means for determining the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size.
134. The video coding device of claim 131, wherein the means for determining the one or more deblocking filter clipping thresholds comprises means for determining the one or more deblocking filter clipping thresholds based on the boundary strength value and a maximum size of a block determined for a portion of the video data that includes the block of the video data.
135. The video coding device of claim 131, wherein the means for determining the one or more deblocking filter clipping thresholds comprises means for determining the one or more deblocking filter clipping thresholds based on the boundary strength value and a maximum size of a transform unit determined for a portion of the video data that includes the block of the video data.
136. The video coding device of claim 135,
wherein the means for determining one or more of the deblocking filter clipping threshold comprises:
means for determining, when the boundary strength value is greater than two and the maximum size of the transform unit is greater than a first threshold, a first deblocking filter clipping threshold as a multiple of an offset used in determining whether to perform de-blocking filtering of the block of video data or used in determining de-blocking filtering strength; and
means for determining, when the boundary strength value is greater than two and the maximum size of the transform unit is greater than a second threshold, a second deblocking filter clipping threshold as a multiple of the offset used in determining whether to perform de-blocking filtering of the block of video data or used in determining de-blocking filtering strength, and
wherein the means for performing the clipping operation comprises means for performing the clipping operation with respect to the deblocking filter using the determined first and second deblocking filter clipping thresholds to determine the clipped deblocking filter.
137. The video coding device of claim 131,
wherein the means for performing the clipping operation comprises means for performing the clipping operation with respect to a normal deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped normal deblocking filter, and
wherein the means for applying the clipped de-blocking filter comprises means for applying the clipped normal deblocking filter to the block of the video data.
138. The video coding device of claim 131, further comprising:
means for determining the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size; and
means for determining to apply a chroma deblocking filter to a chroma portion of the block of video data when the determined boundary strength value equals four.
139. The video coding device of claim 131, further comprising:
means for determining the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size;
means for determining whether a size of the transform applied to the block of video data is a maximum transform unit size; and
means for determining, upon determining that the size of the transform applied to the block of video data is the maximum transform unit size, one or more of a maximum tc offset and a maximum β offset that are used in place of a tc offset and a β offset that are otherwise used in determining whether to perform de-blocking filtering of the block of the video data when the size of the transform applied to the block of video data is not a maximum transform unit size.
140. The video coding device of claim 139, further comprising means for specifying a flag in a picture parameter set (PPS) that indicates whether one or more of the tc offset and the β offset is specified as at least one syntax element in one or both of the PPS and a header of an independently decodable unit that includes the block of video data.
141. The method of claim 140, wherein the flag comprises a de- blocking_filter_control_present_flag that indicates whether one or more of the tc offset and the β offset is specified as the at least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the encoded version of the block of video data.
142. The video coding device of claim 131,
wherein the video coding device comprises a video encoding device, wherein the block of video data comprises a reconstructed block of video data that is reconstructed by the video encoding device from an encoded version of the block of video data,
wherein the means for applying the clipped de-blocking filter comprises means for applying the clipped de -blocking filter to the reconstructed block of the video data to generate a de -blocking filtered reconstructed block of video data; and
wherein the video encoding device further comprises means for storing the deblocking filtered reconstructed block of video data to a memory for use as a reference block when encoding other blocks of video data.
143. The video coding device of claim 131,
wherien the video coding device comprises a video decoding device, wherein the block of video data comprises a reconstructed block of video data that is reconstructed by the video decoding device from an encoded version of the block of video data,
wherein the means for applying the clipped de-blocking filter comprises means for applying the clipped de -blocking filter to the reconstructed block of the video data to generate a de -blocking filtered reconstructed block of video data, and
wherein the video decoding device further comprises means for storing the deblocking filtered reconstructed block of video data to a memory for use as a reference block when decoding other blocks of video data.
144. A non-transitory computer-readable storage medium having stored thereon instructions that, when executed, cause one or more processors of a video coding device to:
determine one or more deblocking filter clipping thresholds based on a boundary strength value;
perform a clipping operation with respect to a deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped deblocking filter; and
apply the clipped de-blocking filter to a block of the video data.
145. The method of claim 144, wherein the instructions, when executed, further cause the one or more processors to determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a block of the video data of a specified size.
146. The method of claim 144, wherein the instructions, when executed, further cause the one or more processors to determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size.
147. The method of claim 144, wherein the instructions, when executed, further cause the one or more processors to, when determining the one or more deblocking filter clipping thresholds, determine the one or more deblocking filter clipping thresholds based on the boundary strength value and a maximum size of a block determined for a portion of the video data that includes the block of the video data.
148. The method of claim 144, wherein the instructions, when executed, further cause the one or more processors to, when determining the one or more deblocking filter clipping thresholds, determine the one or more deblocking filter clipping thresholds based on the boundary strength value and a maximum size of a transform unit determined for a portion of the video data that includes the block of the video data.
149. The method of claim 148,
wherein the instructions, when executed, further cause the one or more processors, when determining one or more of the deblocking filter clipping threshold, to:
when the boundary strength value is greater than two and the maximum size of the transform unit is greater than a first threshold, determine a first deblocking filter clipping threshold as a multiple of an offset used in determining whether to perform deblocking filtering of the block of video data or used in determining de-blocking filtering strength; and
when the boundary strength value is greater than two and the maximum size of the transform unit is greater than a second threshold, determine a second deblocking filter clipping threshold as a multiple of the offset used in determining whether to perform de-blocking filtering of the block of video data or used in determining deblocking filtering strength, and
wherein the instructions, when executed, further cause the one or more processors to, when performing the clipping operation, perform the clipping operation with respect to the deblocking filter using the determined first and second deblocking filter clipping thresholds to determine the clipped deblocking filter.
150. The method of claim 144,
wherein the instructions, when executed, further cause the one or more processors to, when performing the clipping operation, perform the clipping operation with respect to a normal deblocking filter using the determined one or more deblocking filter clipping thresholds to determine a clipped normal deblocking filter, and
wherein the instructions, when executed, further cause the one or more processors to, when applying the clipped de-blocking filter, apply the clipped normal deblocking filter to the block of the video data.
151. The method of claim 144, wherein the instructions, when executed, further cause the one or more processors to:
determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size; and
determine to apply a chroma deblocking filter to a chroma portion of the block of video data when the determined boundary strength value equals four.
152. The method of claim 144, wherein the instructions, when executed, further cause the one or more processors to:
determine the boundary strength value based on whether one or more of the block of the video data and a block adjacent to the block of the video data are included in a transform unit of a specified size;
determine whether a size of the transform applied to the block of video data is a maximum transform unit size; and
upon determining that the size of the transform applied to the block of video data is the maximum transform unit size, determine one or more of a maximum tc offset and a maximum β offset that are used in place of a tc offset and a β offset that are otherwise used in determining whether to perform de-blocking filtering of the block of the video data when the size of the transform applied to the block of video data is not a maximum transform unit size.
153. The method of claim 152, wherein the instructions, when executed, further cause the one or more processors to specify a flag in a picture parameter set (PPS) that indicates whether one or more of the tc offset and the β offset is specified as at least one syntax element in one or both of the PPS and a header of an independently decodable unit that includes the block of video data.
154. The method of claim 153, wherein the flag comprises a de- blocking_filter_control_present_flag that indicates whether one or more of the tc offset and the β offset is specified as the at least one syntax element in one or both of the PPS and the header of the independently decodable unit that includes the encoded version of the block of video data.
155. The video coding device of claim 144,
wherein the video coding device comprises a video encoding device, wherein the block of video data comprises a reconstructed block of video data that is reconstructed by the video encoding device from an encoded version of the block of video data,
wherein the instructions, when executed, further cause the one or more processors to, when applying the clipped de-blocking filter, apply the clipped deblocking filter to the reconstructed block of the video data to generate a de-blocking filtered reconstructed block of video data; and
wherein the instructions, when executed, further cause the one or more processors to store the de -blocking filtered reconstructed block of video data to a memory for use as a reference block when encoding other blocks of video data.
156. The video coding device of claim 144,
wherein the video coding device comprises a video decoding device, wherein the block of video data comprises a reconstructed block of video data that is reconstructed by the video decoding device from an encoded version of the block of video data,
wherein the instructions, when executed, further cause the one or more processors to, when applying the clipped de-blocking filter, apply the clipped deblocking filter to the reconstructed block of the video data to generate a de-blocking filtered reconstructed block of video data, and
wherein the instructions, when executed, further cause the one or more processors to store the de -blocking filtered reconstructed block of video data to a memory for use as a reference block when decoding other blocks of video data.
PCT/US2012/059010 2011-10-07 2012-10-05 Performing transform dependent de-blocking filtering Ceased WO2013052835A2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
EP12778879.2A EP2764693A2 (en) 2011-10-07 2012-10-05 Performing transform dependent de-blocking filtering
IN2125CHN2014 IN2014CN02125A (en) 2011-10-07 2012-10-05
EP21186500.1A EP3965417A3 (en) 2011-10-07 2012-10-05 Performing transform dependent de-blocking filtering
CN201280048962.3A CN103999469B (en) 2011-10-07 2012-10-05 The method and apparatus for performing the de-blocking filter for depending upon conversion
JP2014534788A JP2014531879A (en) 2011-10-07 2012-10-05 Implementation of transformation-dependent deblocking filtering
KR1020147011940A KR101633197B1 (en) 2011-10-07 2012-10-05 Performing transform dependent de-blocking filtering

Applications Claiming Priority (14)

Application Number Priority Date Filing Date Title
US201161544960P 2011-10-07 2011-10-07
US61/544,960 2011-10-07
US201161554260P 2011-11-01 2011-11-01
US61/554,260 2011-11-01
US201261588480P 2012-01-19 2012-01-19
US61/588,480 2012-01-19
US201261663469P 2012-06-22 2012-06-22
US61/663,469 2012-06-22
US201261682167P 2012-08-10 2012-08-10
US61/682,167 2012-08-10
US201261700167P 2012-09-12 2012-09-12
US61/700,167 2012-09-12
US13/645,345 2012-10-04
US13/645,345 US9185404B2 (en) 2011-10-07 2012-10-04 Performing transform dependent de-blocking filtering

Publications (3)

Publication Number Publication Date
WO2013052835A2 true WO2013052835A2 (en) 2013-04-11
WO2013052835A3 WO2013052835A3 (en) 2013-06-06
WO2013052835A4 WO2013052835A4 (en) 2013-07-25

Family

ID=47080829

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2012/059010 Ceased WO2013052835A2 (en) 2011-10-07 2012-10-05 Performing transform dependent de-blocking filtering

Country Status (8)

Country Link
US (1) US9185404B2 (en)
EP (2) EP3965417A3 (en)
JP (1) JP2014531879A (en)
KR (1) KR101633197B1 (en)
CN (1) CN103999469B (en)
IN (1) IN2014CN02125A (en)
TW (1) TWI499284B (en)
WO (1) WO2013052835A2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017513305A (en) * 2014-06-27 2017-05-25 三菱電機株式会社 Method and decoder for decoding pictures
JP2019201438A (en) * 2019-09-03 2019-11-21 Kddi株式会社 Moving image processing apparatus, processing method, and computer-readable storage medium
EP2774371B1 (en) * 2011-11-03 2020-08-26 Sun Patent Trust Efficient rounding for deblocking

Families Citing this family (45)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101418101B1 (en) * 2009-09-23 2014-07-16 에스케이 텔레콤주식회사 Image coding / decoding method and apparatus considering low frequency components
US10897625B2 (en) * 2009-11-20 2021-01-19 Texas Instruments Incorporated Block artifact suppression in video coding
CN103748877B (en) * 2011-08-17 2017-05-10 联发科技(新加坡)私人有限公司 Method and apparatus for intra prediction
US20130114682A1 (en) * 2011-11-07 2013-05-09 Sharp Laboratories Of America, Inc. Video decoder with enhanced sample adaptive offset
CN107257490B (en) 2012-01-27 2019-12-17 太阳专利托管公司 Image encoding method and image encoding device
US9591302B2 (en) * 2012-07-02 2017-03-07 Microsoft Technology Licensing, Llc Use of chroma quantization parameter offsets in deblocking
US9414054B2 (en) 2012-07-02 2016-08-09 Microsoft Technology Licensing, Llc Control and use of chroma quantization parameter values
US20140056363A1 (en) * 2012-08-23 2014-02-27 Yedong He Method and system for deblock filtering coded macroblocks
RU2628133C2 (en) * 2013-01-07 2017-08-15 Телефонактиеболагет Л М Эрикссон (Пабл) Coding and decoding of slides in video-stream images
US9615086B2 (en) * 2013-02-06 2017-04-04 Research & Business Foundation Sungkyunkwan University Method and apparatus for intra prediction
US20140254659A1 (en) * 2013-03-11 2014-09-11 Mediatek Inc. Video coding method using at least evaluated visual quality and related video coding apparatus
US9294766B2 (en) 2013-09-09 2016-03-22 Apple Inc. Chroma quantization in video coding
US10038919B2 (en) 2014-05-29 2018-07-31 Apple Inc. In loop chroma deblocking filter
US10057578B2 (en) * 2014-10-07 2018-08-21 Qualcomm Incorporated QP derivation and offset for adaptive color transform in video coding
US10142647B2 (en) * 2014-11-13 2018-11-27 Google Llc Alternating block constrained decision mode coding
KR102390407B1 (en) * 2015-03-18 2022-04-25 한화테크윈 주식회사 Decoder and inverse transformation method in decoder
US10218974B2 (en) * 2015-03-31 2019-02-26 Realnetworks, Inc. Residual transformation and inverse transformation in video coding systems and methods
CN106470341B (en) 2015-08-17 2020-10-02 恩智浦美国有限公司 media display system
WO2017045101A1 (en) * 2015-09-14 2017-03-23 Mediatek Singapore Pte. Ltd. Advanced deblocking filter in video coding
US9749686B2 (en) 2015-09-21 2017-08-29 Sling Media Pvt Ltd. Video analyzer
US9693063B2 (en) * 2015-09-21 2017-06-27 Sling Media Pvt Ltd. Video analyzer
JP6620354B2 (en) * 2015-09-30 2019-12-18 Kddi株式会社 Moving image processing apparatus, processing method, and computer-readable storage medium
WO2017054194A1 (en) 2015-09-30 2017-04-06 Realnetworks, Inc. Layered deblocking filtering in video processing systems and methods
EP3453181B1 (en) * 2016-05-04 2025-10-29 Sharp Kabushiki Kaisha Methods and apparatuses for coding transform data
CN113810694B (en) * 2016-11-28 2025-05-09 日本放送协会 Coding device, decoding device, coding method and decoding method
WO2018117895A1 (en) * 2016-12-23 2018-06-28 Huawei Technologies Co., Ltd Mixed domain collaborative in-loop filter for lossy video coding
WO2018123444A1 (en) * 2016-12-28 2018-07-05 ソニー株式会社 Image processing device and image processing method
EP3550842A4 (en) * 2016-12-30 2020-06-10 Huawei Technologies Co., Ltd. Image filtering method, apparatus and device
KR102847328B1 (en) * 2017-02-10 2025-08-14 삼성전자주식회사 Image Processing Device and Image Processing Method Performing Sample Adaptive Offset Processing
TWI833248B (en) * 2017-04-06 2024-02-21 美商松下電器(美國)知識產權公司 Decoding method and encoding method
TWI832814B (en) * 2017-04-06 2024-02-21 美商松下電器(美國)知識產權公司 Decoding device and encoding device
JP7350769B2 (en) * 2018-03-29 2023-09-26 アリス エンタープライジズ エルエルシー System and method for deblocking HDR content
WO2020089825A1 (en) * 2018-10-31 2020-05-07 Beijing Bytedance Network Technology Co., Ltd. Quantization parameters under coding tool of dependent quantization
WO2020180122A1 (en) * 2019-03-06 2020-09-10 엘지전자 주식회사 Video or image coding on basis of conditionally parsed alf model and reshaping model
US10887589B2 (en) 2019-04-12 2021-01-05 Realnetworks, Inc. Block size determination for video coding systems and methods
US11356662B2 (en) * 2019-05-21 2022-06-07 Qualcomm Incorporated Simplification of clipping value calculation for adaptive loop filters
US11252410B2 (en) * 2019-06-11 2022-02-15 Tencent America LLC Method and apparatus for video coding
JP6811931B2 (en) * 2019-06-20 2021-01-13 Kddi株式会社 Image decoding device, image decoding method and program
CN112449183B (en) * 2019-09-03 2023-05-09 联咏科技股份有限公司 Video encoder, video decoder and video system
WO2021083257A1 (en) 2019-10-29 2021-05-06 Beijing Bytedance Network Technology Co., Ltd. Cross-component adaptive loop filter
BR112022015242A2 (en) 2020-02-04 2022-09-20 Huawei Tech Co Ltd ENCODER, DECODER, AND CORRESPONDING METHODS ON HIGH-LEVEL SYNTAX SIGNALING
EP4107962A4 (en) * 2020-02-21 2023-07-26 Alibaba Group Holding Limited METHODS FOR PROCESSING CHROMINANCE SIGNALS
CN120499385A (en) * 2020-03-17 2025-08-15 北京三星通信技术研究有限公司 Video encoding and decoding method and device
WO2021201215A1 (en) * 2020-04-02 2021-10-07 日本放送協会 Deblocking filter control device and program
US11729381B2 (en) * 2020-07-23 2023-08-15 Qualcomm Incorporated Deblocking filter parameter signaling

Family Cites Families (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6970206B1 (en) * 2000-04-20 2005-11-29 Ati International Srl Method for deinterlacing interlaced video by a graphics processor
US7227901B2 (en) * 2002-11-21 2007-06-05 Ub Video Inc. Low-complexity deblocking filter
US7167522B2 (en) * 2003-02-27 2007-01-23 Texas Instruments Incorporated Video deblocking filter
JP4262014B2 (en) * 2003-07-31 2009-05-13 キヤノン株式会社 Image photographing apparatus and image processing method
KR100936034B1 (en) * 2003-08-11 2010-01-11 삼성전자주식회사 Method for eliminating blocking phenomenon of digital image encoded by block unit and its image reproducing apparatus
CN100345450C (en) * 2005-01-31 2007-10-24 浙江大学 Deblocking filtering method and apparatus of video frequency or image
US8149926B2 (en) * 2005-04-11 2012-04-03 Intel Corporation Generating edge masks for a deblocking filter
JP2009538084A (en) * 2006-11-17 2009-10-29 エルジー エレクトロニクス インコーポレイティド Video signal decoding / encoding method and apparatus
JP2008182562A (en) * 2007-01-25 2008-08-07 Matsushita Electric Ind Co Ltd Method and apparatus for adaptive deblocking filtering using quantization matrix
JP4901772B2 (en) * 2007-02-09 2012-03-21 パナソニック株式会社 Moving picture coding method and moving picture coding apparatus
JP4847890B2 (en) 2007-02-16 2011-12-28 パナソニック株式会社 Encoding method converter
WO2008111447A1 (en) * 2007-03-14 2008-09-18 Nec Corporation Optical waveguide and method for fabricating the same
US8204129B2 (en) * 2007-03-27 2012-06-19 Freescale Semiconductor, Inc. Simplified deblock filtering for reduced memory access and computational complexity
CN101321277A (en) * 2007-06-09 2008-12-10 华为技术有限公司 Method and device for deblocking
US8254455B2 (en) * 2007-06-30 2012-08-28 Microsoft Corporation Computing collocated macroblock information for direct mode macroblocks
US9648325B2 (en) * 2007-06-30 2017-05-09 Microsoft Technology Licensing, Llc Video decoding implementations for a graphics processing unit
US9131078B2 (en) * 2007-07-27 2015-09-08 Lagavulin Limited Apparatuses, methods, and systems for a portable, image-processing transmitter
US8537789B2 (en) 2007-08-01 2013-09-17 Harris Corporation Mobile ad-hoc network providing communication latency reduction features and related methods
CN101472172B (en) * 2007-12-29 2012-04-04 安凯(广州)微电子技术有限公司 Data processing method and decoder in early stage of filtering in video decoding
US20090304085A1 (en) 2008-06-04 2009-12-10 Novafora, Inc. Adaptive Deblocking Complexity Control Apparatus and Method
KR20090129926A (en) 2008-06-13 2009-12-17 삼성전자주식회사 Image encoding method and apparatus, image decoding method and apparatus
US20110080957A1 (en) 2009-10-07 2011-04-07 Vixs Systems, Inc. Encoding adaptive deblocking filter methods for use therewith
US8451896B2 (en) * 2009-10-19 2013-05-28 Hong Kong Applied Science and Technology Research Institute Company Limited Method and apparatus for adaptive quantization in digital video coding
JP2011151431A (en) * 2009-12-25 2011-08-04 Sony Corp Image processing apparatus and method
KR101457396B1 (en) 2010-01-14 2014-11-03 삼성전자주식회사 Method and apparatus for video encoding using deblocking filtering, and method and apparatus for video decoding using the same

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
B. BROSS; W.-J. HAN; J.-R. OHM; G. J. SULLIVAN; T. WIEGAND: "High efficiency video coding (HEVC) text specification draft 7", 9TH JCT-VC MEETING, April 2012 (2012-04-01)
B. BROSS; W.-J. HAN; J.-R. OHM; G. J. SULLIVAN; T. WIEGAND: "High efficiency video coding (HEVC) text specification draft 7", 9TH JCT-VC MEETING, GENEVA, April 2012 (2012-04-01)
BROSS ET AL.: "High Efficiency Video Coding (HEVC) Text Specification Draft 8", JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG16 WP3 AND ISO/IEC JTC1/SC29/WG11, 11 July 2012 (2012-07-11)
D.-K. KWON; M. BUDAGAVI: "Transform size dependent deblocking filter", 9TH JCT-VC MEETING, April 2012 (2012-04-01)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2774371B1 (en) * 2011-11-03 2020-08-26 Sun Patent Trust Efficient rounding for deblocking
US10958935B2 (en) 2011-11-03 2021-03-23 Sun Patent Trust Efficient rounding for deblocking
US11178425B2 (en) 2011-11-03 2021-11-16 Sun Patent Trust Efficient rounding for deblocking
US12250398B2 (en) 2011-11-03 2025-03-11 Sun Patent Trust Efficient rounding for deblocking
JP2017513305A (en) * 2014-06-27 2017-05-25 三菱電機株式会社 Method and decoder for decoding pictures
JP2019201438A (en) * 2019-09-03 2019-11-21 Kddi株式会社 Moving image processing apparatus, processing method, and computer-readable storage medium

Also Published As

Publication number Publication date
WO2013052835A3 (en) 2013-06-06
WO2013052835A4 (en) 2013-07-25
EP3965417A3 (en) 2022-06-08
EP2764693A2 (en) 2014-08-13
CN103999469A (en) 2014-08-20
EP3965417A2 (en) 2022-03-09
US9185404B2 (en) 2015-11-10
KR20140074979A (en) 2014-06-18
US20130094572A1 (en) 2013-04-18
TW201330628A (en) 2013-07-16
CN103999469B (en) 2017-09-12
TWI499284B (en) 2015-09-01
KR101633197B1 (en) 2016-07-01
IN2014CN02125A (en) 2015-05-29
JP2014531879A (en) 2014-11-27

Similar Documents

Publication Publication Date Title
US9185404B2 (en) Performing transform dependent de-blocking filtering
US9723331B2 (en) Signaling of deblocking filter parameters in video coding
US9807403B2 (en) Adaptive loop filtering for chroma components
US9451258B2 (en) Chroma slice-level QP offset and deblocking
AU2013251390B2 (en) Quantization parameter (QP) coding in video coding
CA2839687C (en) Parallelization friendly merge candidates for video coding
US9787982B2 (en) Non-square transform units and prediction units in video coding
KR20140088575A (en) Unified design for picture partitioning schemes
WO2014005092A1 (en) Sign hiding techniques for quantized transform coefficients in video coding
EP3114837B1 (en) Flicker detection and mitigation in video coding
EP3058732B1 (en) Systems and methods for separately defining dependencies for sub-layer based inter-layer prediction
HK1201110B (en) Quantization parameter (qp) coding in video coding
HK1198235B (en) Signaling of deblocking filter parameters in video coding
HK1196196A (en) Unified design for picture partitioning schemes
HK1196196B (en) Unified design for picture partitioning schemes

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

Country of ref document: EP

Kind code of ref document: A2

DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)
WWE Wipo information: entry into national phase

Ref document number: 2012778879

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2014534788

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

Country of ref document: KR

Kind code of ref document: A