Method and apparatus for signaling lossless video coding - Patents.com
A high-level lossless coding indication in video coding standards addresses inefficiencies by bypassing processing blocks, achieving reduced power consumption and streamlined decoding for lossless video applications.
Patent Information
- Application Number
- JP2021166193
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2015-01-15
- Filing Date
- 2021-10-08
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2035-03-09
AI Technical Summary
Existing video coding standards lack efficient methods for high-level signaling of lossless coding, leading to redundant processing and increased power consumption due to unnecessary decoding operations in lossless video applications.
Implementing a high-level lossless coding indication using a flag (transquant_bypass_default_flag) in the picture parameter set (PPS) to bypass processing blocks such as inverse quantization, inverse transform, and in-loop filtering, reducing unnecessary processing and signaling overhead.
Reduces power consumption and processing cycles by shutting down unnecessary blocks in the decoder, while ensuring lossless coding is applied at the sequence, picture, or slice level without redundant signaling.
Smart Images

Figure 0007548889000019 
Figure 0007548889000027 
Figure 0007548889000028
Abstract
Description
[Technical field]
[0001] The present invention relates to a method and apparatus for signaling for lossless video coding. [Background technology]
[0002] CROSS-REFERENCE TO RELATED APPLICATIONS This application is a nonprovisional application of U.S. Provisional Application No. 61 / 953,922, filed March 16, 2014, and U.S. Provisional Application No. 62 / 103,916, filed January 15, 2015, and claims the benefit under 35 U.S.C. § 119(e) of those U.S. Provisional Applications, the contents of which are incorporated herein by reference in their entireties.
[0003] Over the past two decades, various digital video compression techniques have been developed and standardized to enable efficient digital video communication, distribution and consumption. Most of the commercially widely deployed standards, such as H.261, MPEG-1, MPEG-2 H.263, MPEG-4 (part-2) and H.264 / AVC (MPEG-4 part 10 Advance Video Coding), are developed by ISO / IEC and ITU-T. Due to the emergence and maturity of new advanced video compression techniques, a new video coding standard, High Efficiency Video Coding (HEVC), HEVC (ITU-T H.265 / ISO / IEC23008-2), under the joint development by ITU-T Video Coding Experts Group (VCEG) and ISO / IEC MPEG, was approved as an international standard in early 2013, which can achieve substantially higher coding efficiency than the current state-of-the-art H.264 / AVC.
[0004] Compared with traditional digital video services (such as transmission of TV signals via satellite, cable and terrestrial transmission channels), more and more new video applications, such as IPTV, video chat, mobile video and streaming video, are deployed in heterogeneous environments. Such heterogeneity exists not only in networks but also in clients. On the client side, N-screen scenarios, i.e., consuming video content on devices with various screen sizes and display capabilities, including smartphones, tablets, PCs and TVs, have already dominated and are expected to continue to dominate the market. On the network side, videos are being transmitted across the Internet, WiFi networks, mobile (3G and 4G) networks, and / or any combination thereof. [Prior art documents] [Non-patent literature]
[0005] [Non-Patent Document 1] R. Joshi, J. Xu, HEVC Screen Content Coding Draft Text 2. Document No. JCTVC-S1005, Oct. 2014 (Joshi 2014) [Non-Patent Document 2] D. Flynn, M. Naccari, C. Rosewarne, J. Sole, G. Sullivan, T. Suzuki, “High Efficiency Video Coding (HEVC) Range Extensions text specification: Draft 6,” Document No. JCTVC-P1005, Jan 2014 [Non-Patent Document 3] B. Bross, W.-J. Han, GJ Sullivan, J.-R. Ohm, YK Wang, T. Wiegand. High Efficiency Video Coding (HEVC) text specification draft 10. Document No. JCTVC-L1003. Jan. 2013 Summary of the Invention
[0006] Systems and methods related to high-level signaling of lossless coding are described herein. In some embodiments, the method includes generating a video data bitstream including a high-level syntax element indicating that lossless coding is used. The high-level signaling syntax may be one of a picture parameter set (PPS), a sequence parameter set (SPS), a video parameter set (VPS), or a slice segment header. The lossless coding syntax element may be used as a condition to generate one or more SPS syntax elements associated with quantization, transformation, transformation skip, transformation skip rotation, and in-loop filtering processes.
[0007] In some embodiments, the method includes generating a picture parameter set (PPS) that includes a transquant_bypass_default_flag, where the transquant_bypass_default_flag, which indicates a default value for cu_transquant_bypass_flag of all coding units in a slice that references the PPS, is set to 1. The PPS may also have a transquant_bypass_enabled_flag equal to 0.
[0008] At the decoder side, when lossless coding is applied, several processing blocks may be bypassed, including inverse quantization, inverse transform, deblocking filter, sample adaptive offset (SAO), etc. Thus, when the decoder receives a high-level lossless coding indication, the decoder determines that a large group of coding units (CUs) do not need these processing blocks. Shutting down these processing blocks before decoding may be advantageous in terms of power reduction, processing cycle reduction, better load provisioning, etc.
[0009] Thus, in some embodiments, a method includes receiving a high-level lossless coding indication in a video decoder and responsively shutting down a number of processing blocks. The number of processing blocks may include one or more of any of the following hardware blocks: inverse quantization, inverse transform, deblocking filter, and / or SAO. Additionally, the processing blocks may be shut down prior to video decoding to cause a reduction in power consumption of at least a portion of the processing block hardware components. [Brief description of the drawings]
[0010] A more detailed understanding can be had from the following description, given by way of example in conjunction with the accompanying drawings, in which: [Figure 1A] FIG. 1 is a block diagram illustrating an example of a block-based video encoder. [Figure 1B] 1 is a block diagram illustrating an example of a block-based lossless video encoder. [Figure 2A] FIG. 2 is a block diagram illustrating an example of a block-based video decoder. [Figure 2B] FIG. 2 is a block diagram illustrating an example of a block-based lossless video decoder. [Diagram 3] FIG. 1 is a diagram showing an example of eight directional prediction modes. [Figure 4]FIG. 2 is a diagram showing examples of 33 directional prediction modes and two non-directional prediction modes. [Diagram 5] FIG. 13 is a diagram of an example of horizontal prediction. [Figure 6] FIG. 13 is a diagram of an example of a planar mode. [Figure 7] FIG. 13 is a diagram illustrating an example of motion prediction. [Figure 8] FIG. 2 is a diagram showing an example of block-level motion within a picture. [Figure 9] FIG. 1 illustrates an exemplary communication system. [Figure 10] FIG. 1 illustrates an example wireless transmit / receive unit (WTRU). [Figure 11] FIG. 2 illustrates an example of a coded bitstream structure. [Figure 12] 13 is a flowchart of a method for decoding a PPS extension syntax modified with the flag transquant_bypass_default_flag. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] A detailed description of exemplary embodiments will now be provided with reference to various drawings. While this description provides detailed examples of possible implementations, it should be noted that the details provided are intended to be illustrative and are not intended to limit the scope of the present application in any way.
[0012] Video Encoding and Decoding FIG. 1A is a block diagram illustrating an example of a block-based video encoder, e.g., a hybrid video coding system. The video encoder 100 can receive an input video signal 102. The input video signal 102 can be processed block by block. The video blocks can be of any size. For example, a video block unit can include 16×16 pixels. A video block unit of 16×16 pixels may be referred to as a macroblock (MB). In High Efficiency Video Coding (HEVC), extended block sizes (e.g., these may be referred to as coding tree units (CTUs) or coding units (CUs), and these two terms are synonymous in the present invention) can be used to efficiently compress high resolution (e.g., 1080p and above) video signals. In HEVC, a CU can be up to 64×64 pixels. A CU can be partitioned into prediction units (PUs), and separate prediction methods can be applied to these units.
[0013] For an input video block (e.g., MB or CU), spatial prediction 160 and / or temporal prediction 162 may be performed. Spatial prediction (e.g., "intra prediction") may predict a current video block using pixel blocks from already coded neighboring blocks in the same video picture / slice. Spatial prediction may reduce spatial redundancy inherent in a video signal. Temporal prediction (e.g., "inter prediction" or "motion compensated prediction") may predict a current video block using pixels from already coded video pictures (e.g., which may be referred to as "reference pictures"). Temporal prediction may reduce temporal redundancy inherent in a video signal. A temporal prediction signal for a video block may be signaled by one or more motion vectors, which may indicate an amount and / or direction of motion between a current block and its predictive block in a reference picture. If multiple reference pictures are supported (e.g., as in H.264 / AVC and / or HEVC), then for a video block, its reference picture index may be transmitted. The reference picture index may be used to identify from which reference picture in the reference picture store 164 the temporal prediction signal comes.
[0014] A mode decision block 180 in the encoder may select a prediction mode, for example, after spatial and / or temporal prediction. The prediction block may be subtracted from the current video block at 116. The prediction residual may be transformed 104 and / or quantized 106. The quantization block 106 may effectively reduce the number of bits required to code the prediction residual. A quantization parameter (QP) may be used to control the severity of the quantization. As the QP value increases, stricter quantization may be applied, which may result in a reduced coded video bit rate and at the same time, a decoded video quality may be degraded. Commonly known visual artifacts resulting from quantization include blocking artifacts, blurring, blurring, ringing, flicker, etc. Other processing blocks in the video coding system shown in FIG. 1A and FIG. 2A may also cause information loss, especially when these processing blocks apply fixed-point operations that require an upper limit on the bit depth of intermediate data in the processing pipeline. For example, in the transform block 104, a horizontal transform may be applied first, followed by a vertical transform. Since the transform increases the data bit depth (due to multiplication), after the horizontal transform, a right shift may be applied to the output of the horizontal transform to reduce the input data bit depth for the vertical transform. Although such a shift operation can help reduce the implementation cost (by reducing the data bit depth), it may also cause information loss in the processing pipeline. Furthermore, to enable fixed-point operation, the transforms in modern video standards such as H.264 / AVC and HEVC are integral transforms. Some of these integral transforms may be nearly orthogonal but not completely orthogonal. If the transform (and inverse transform) matrices are not completely orthogonal, they cannot guarantee perfect reconstruction. In other words, even without any quantization, after the non-orthogonal transform and the inverse transform are applied to the input data block, the output data block (scaling coefficients may be applied to the output) may not remain mathematically identical to the input data block.
[0015] The quantized residual coefficients may be inverse quantized 110 and / or inverse transformed 112 to form a reconstructed residual, which may be added back to the prediction block 126 to form a reconstructed video block.
[0016] In-loop filtering (e.g., a deblocking filter, a sample adaptive offset, an adaptive loop filter, etc.) may be applied (166) to the reconstructed video block, which is then placed into a reference picture store 164 and / or used to code future video blocks. The video encoder 100 may output an output video stream 120. To form the output video bitstream 120, the coding mode (e.g., inter-prediction mode or intra-prediction mode), prediction mode information, motion information, and / or quantized residual coefficients may be sent to an entropy coding unit 108 and compressed and / or packed to form a bitstream. The reference picture store 164 may be referred to as a decoded picture buffer (DPB).
[0017] 2A is a block diagram illustrating an example of a block-based video decoder. The video decoder 200 may receive a video bitstream 202. The video bitstream 202 may be unpacked and / or entropy decoded in an entropy decoding unit 208. The coding mode and / or prediction information used to encode the video bitstream may be transmitted to a spatial prediction unit 260 (e.g., if intra-coded) and / or a temporal prediction unit 262 (e.g., if inter-coded) to form a prediction block. If inter-coded, the prediction information may include a prediction block size, one or more motion vectors (e.g., which may indicate a direction and amount of motion), and / or one or more reference indexes (e.g., which may indicate from which reference picture the prediction signal is derived).
[0018] Motion compensation prediction may be applied by a temporal prediction unit 262 to form a temporal prediction block. The residual transform coefficients may be sent to an inverse quantization unit 210 and an inverse transform unit 212 to reconstruct a residual block. The prediction block and the residual block may be added together at 226. The reconstructed block undergoes in-loop filtering by a loop filter 266 and is then stored in a reference picture store 264. The reconstructed video in the reference picture store 264 may be used to drive a display device and / or may be used to predict future video blocks. The video decoder 200 may output a reconstructed video signal 220. The reference picture store 264 may also be referred to as a decoded picture buffer (DPB).
[0019] A video encoder and / or decoder (e.g., video encoder 100 or video decoder 200) may perform spatial prediction (e.g., this may be referred to as intra-prediction). Spatial prediction may be performed by predicting from neighboring pixels already coded according to one of a number of prediction directions (e.g., this may be referred to as directional intra-prediction).
[0020] 3 is a diagram of an example of eight directional prediction modes that may be supported in H.264 / AVC. The nine modes (including DC mode 2) are as follows: Mode 0: Vertical prediction Mode 1: Horizontal prediction Mode 2: DC prediction Mode 3: Diagonal bottom-left prediction Mode 4: Diagonal bottom-right prediction Mode 5: Vertical right prediction Mode 6: Horizontal prediction Mode 7: Vertical left prediction Mode 8: Horizontal Up Prediction
[0021] Spatial prediction may be performed on video blocks of various sizes and / or shapes. For example, for block sizes of 4×4, 8×8 and 16×16 pixels (e.g., in H.264 / AVC), spatial prediction of the luma component of a video signal may be performed. For example, for a block size of 8×8 (e.g., in H.264 / AVC), spatial prediction of the chroma component of a video signal may be performed. For a 4×4 or 8×8 luma block, a total of nine prediction modes may be supported, e.g., eight directional prediction modes and a DC mode (e.g., in H.264 / AVC). For example, for a luma block of size 16×16, four prediction modes may be supported, namely horizontal, vertical, DC and planar prediction.
[0022] Directional intra-prediction modes and non-directional prediction modes may be supported. Figure 4 is a diagram showing an example of 33 directional prediction modes and 2 non-directional prediction modes. The 33 directional prediction modes and 2 non-directional prediction modes of Figure 4 may be supported by HEVC. Spatial prediction using larger block sizes may be supported. For example, spatial prediction may be performed on blocks of any size, e.g., 4x4, 8x8, 16x16, 32x32 or 64x64 square block size. Directional intra-prediction (e.g., in HEVC) may be performed with 1 / 32 pixel accuracy.
[0023] For example, in addition to directional intra prediction, non-directional intra prediction modes may be supported (e.g., in H.264 / AVC, HEVC, etc.). Non-directional intra prediction modes may include DC mode and / or planar mode. For DC mode, a prediction value may be obtained by averaging available neighboring pixels, and the prediction value may be applied uniformly to the entire block. For planar mode, linear interpolation may be used to predict smooth regions with slow transitions. H.264 / AVC may enable the use of planar mode for 16x16 luma and chroma blocks.
[0024] An encoder (e.g., encoder 100) may perform a mode decision (e.g., at block 180 of FIG. 1A) to determine the best coding mode for the video block. When the encoder decides to apply intra prediction (e.g., instead of inter prediction), the encoder may determine an optimal intra prediction mode from a set of available modes. The selected directional intra prediction mode may give strong hints regarding the direction of any textures, edges and / or structures in the input video block. FIG. 5 is a diagram of an example of horizontal prediction (e.g., for a 4×4 block). To predict pixels in a current 4×4 video block, already reconstructed pixels P0, P1, P2 and P3 (e.g., shaded boxes) may be used. In horizontal prediction, the reconstructed pixels, e.g., pixels P0, P1, P2 and / or P3, may be propagated horizontally along the direction of the corresponding row to predict the 4×4 block. For example, the prediction may be performed according to the following equation (1): Here, L(x,y) may be the pixel predicted at (x,y), x,y=0...3.
[0025] L(x,0)=P0 L(x,1)=P1 L(x,2)=P2 L(x,3)=P3 (1)
[0026] FIG. 6 is a diagram of an example of the planar mode. The planar mode may be performed depending on the situation. The rightmost pixel of the top row (e.g., marked by T) may be duplicated to predict the pixel in the rightmost column. The bottom pixel in the left column (e.g., marked by L) may be duplicated to predict the pixel in the bottom row. Bilinear interpolation in the horizontal direction (e.g., as shown in the left block) may be performed to generate a first prediction H(x,y) of the central pixel. Bilinear interpolation in the vertical direction (e.g., as shown in the right block) may be performed to generate a second prediction V(x,y) of the central pixel. Averaging between the horizontal prediction and the vertical prediction may be performed to obtain the final prediction L(x,y) with L(x,y)=((H(x,y)+V(x,y))≫l).
[0027] 7 and 8 are diagrams illustrating examples of motion prediction of a video block (e.g., using motion prediction unit 162 of FIG. 1A). FIG. 8 is a diagram illustrating an example decoded picture buffer including, for example, reference pictures "Ref pic0", "Ref pic1", and "Ref pic2". Blocks B0, B1, and B2 in the current picture may be predicted from blocks in reference pictures "Ref pic0", "Ref pic1", and "Ref pic2", respectively. Motion prediction may predict the current video block using video blocks from neighboring video frames. Motion prediction may exploit temporal correlation and / or remove temporal redundancy inherent in video signals. For example, in H.264 / AVC and HEVC, temporal prediction may be performed on video blocks of various sizes (e.g., for the luma component, the temporal prediction block size may vary from 16×16 to 4×4 in H.264 / AVC and 64×64 to 4×4 in HEVC). With a motion vector of (mvx,mvy), temporal prediction may be performed as given by Equation (1).
[0028] P(x,y)=ref(x-mvx,y-mvy) (1) Here, ref(x,y) may be a pixel value at location (x,y) in the reference picture, and P(x,y) may be a predicted block. The video coding system may support inter prediction with fractional pixel accuracy. When the motion vector (mvx,mvy) has fractional pixel values, one or more interpolation filters may be applied to obtain pixel values at fractional pixel positions. The block-based video coding system may use multi-hypothesis prediction to improve temporal prediction, e.g., where a prediction signal may be formed by combining multiple prediction signals from various reference pictures. For example, H.264 / AVC and / or HEVC may use bi-prediction, which may combine two prediction signals. The bi-prediction may combine two prediction signals, each from a reference picture, to form a prediction, such as the following equation (2):
[0029]
number
[0030] Here, P0(x,y) and P1(x,y) can be the first prediction block and the second prediction block, respectively. As shown in equation (2), the two prediction blocks are respectively represented by two motion vectors (mvx 0, mvy0) and (mvx 1,The prediction block P(x,y) may be obtained by performing motion compensated prediction from two reference pictures ref0(x,y) and ref1(x,y) using mvy1, mvy2, mvy3, mvy4, mvy5, mvy6, mvy7, mvy8, mvy9, mvy10, mvy11, mvy12, mvy13, mvy14, mvy15, mvy16, mvy17, mvy18, mvy19, mvy20, mvy210, mvy22, mvy23, mvy24, mvy25, mvy26, mvy27, mvy28, mvy29, mvy210, mvy211, mvy212, mvy223, mvy230, mvy240, mvy250, mvy260, mvy270, mvy280, mvy290, mvy291, mvy292, mvy293, mvy294, mvy295, mvy296, mvy297, mvy298, mvy299, mvy291, mvy299, mvy291, mvy299, mvy291, mvy291, mvy292, mvy293, mvy294, mvy295, mvy296, mvy297, mvy298, mvy299, mvy299, mvy299, mvy299, mvy291, mvy299, mvy291, mvy291, mvy291, mvy292, mvy293, mvy294, mvy295, mvy296, mvy297, mvy298, mvy299, mvy299, mvy299, mvy299, mvy291, mvy299, mvy29
[0031] FIG. 11 is a diagram illustrating an example of a coded bitstream structure. The coded bitstream 1000 consists of multiple NAL (Network Abstraction Layer) units 1001. The NAL units may contain coded sample data, such as coded slices 1006, or high-level syntax metadata, such as parameter set data, slice header data 1005, or auxiliary enhancement information data 1007 (which may be referred to as SEI messages). A parameter set is a high-level syntax structure that contains important syntax elements that may apply to multiple bitstream layers (e.g., video parameter set 1002 (VPS)), or to a coded video sequence within one layer (e.g., sequence parameter set 1003 (SPS)), or to multiple coded pictures within one coded video sequence (e.g., picture parameter set 1004 (PPS)). The parameter sets may be transmitted together with the coded pictures of the video bitstream, or may be transmitted through other means (including out-of-band transmission using a reliable channel, hard coding, etc.). The slice header 1005 is also a high-level syntax structure that may be relatively small or may contain some picture-related information that pertains only to a particular slice or picture type. The SEI message 1007 carries information that may not be required by the decoding process, but may be used for various other purposes, such as picture output timing or display and / or loss detection and concealment.
[0032] 9 is a diagram illustrating an example of a communication system. The communication system 1300 may include an encoder 1320, a communication network 1304, and a decoder 1306. The encoder 1302 may communicate with the communication network 1304 via a connection 1308. The connection 1308 may be a wired or wireless connection. The encoder 1302 may be similar to the block-based video encoder of FIG. 1A. The encoder 1302 may include a single-layer codec (e.g., FIG. 1A) or a multi-layer codec.
[0033] The decoder 1306 can communicate with a communication network 1306 via a connection 1310. The connection 1310 can be a wired or wireless connection. The decoder 1306 can be similar to the block-based video decoder of FIG. 2A. The decoder 1306 can include a single-layer codec (e.g., FIG. 2A) or a multi-layer codec. For example, the decoder 1306 can be a multi-layer (e.g., two-layer) scalable decoding system with picture-level ILP support.
[0034] The encoder 1302 and / or decoder 1306 may be incorporated into a wide variety of wired communication devices and / or wireless transmit / receive units (WTRUs), including, but not limited to, digital televisions, wireless broadcast systems, network elements / terminals, servers such as content servers or web servers (e.g., HyperText Transfer Protocol (HTTP) servers), personal digital assistants (PDAs), laptop or desktop computers, tablet computers, digital cameras, digital recording devices, video game devices, video game consoles, cellular or satellite wireless telephones, digital media players, and the like.
[0035] The communication network 1304 may be any suitable type of communication network. For example, the communication network 1304 may be a multiple access system that provides content, such as voice, data, video, messages, broadcasts, etc., to multiple wireless users. The communication network 1304 may enable multiple wireless users to access such content through sharing of system resources, including wireless bandwidth. For example, the communication network 1304 may utilize one or more channel access methods, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal FDMA (OFDMA), Single Carrier FDMA (SC-FDMA), etc. The communication network 1304 may include multiple connected communication networks. The communication network 1304 may include the Internet and / or one or more commercial private networks, such as cellular networks, WiFi hotspots, Internet Service Provider networks (ISPs), etc.
[0036] 10 is a system diagram of an example WTRU. The WTRU 900 may include a processor 918, a transceiver 920, a transmit / receive element 922, a speaker / microphone 924, a keypad or keyboard 926, a display / touchpad 928, a non-removable memory 930, a removable memory 932, a power source 934, a global positioning system (GPS) chipset 936, and / or other peripherals 938. It will be understood that the WTRU 900 may include any sub-combination of the above elements while remaining consistent with an embodiment. Furthermore, a terminal in which an encoder (e.g., encoder 1302) and / or a decoder (e.g., decoder 1306) may be incorporated may include some or all of the elements depicted and described herein with reference to the WTRU 900 of FIG. 10.
[0037] The processor 918 may be a general purpose processor, a special purpose processor, a conventional processor, a digital signal processor (DSP), a graphics processing unit (GPU), multiple microprocessors, one or more microprocessors associated with a DSP core, a controller, a microcontroller, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) circuit, any other type of integrated circuit (IC), a state machine, etc. The processor 918 may perform signal coding, data processing, power control, input / output processing, and / or any other functionality that enables the WTRU 900 to operate in a wired and / or wireless environment. The processor 918 may be coupled to the transceiver 920, which may be coupled to the transmit / receive element 922. While FIG. 10 depicts the processor 918 and the transceiver 920 as separate elements, it will be understood that the processor 918 and the transceiver 920 may be integrated together in an electronic package and / or chip.
[0038] The transmit / receive element 922 may be configured to transmit signals to and / or receive signals from another terminal over the air interface 915. For example, in one or more embodiments, the transmit / receive element 922 may be an antenna configured to transmit and / or receive RF signals. In one or more embodiments, the transmit / receive element 922 may be an emitter / detector configured to transmit and / or receive IR, UV, or visible light signals, for example. In one or more embodiments, the transmit / receive element 922 may be configured to transmit and / or receive both RF and light signals. The transmit / receive element 922 may be configured to transmit and / or receive any combination of wireless signals.
[0039] 10 as a single element, the WTRU 900 may include any number of transmit / receive elements 922. More particularly, the WTRU 900 may employ MIMO technology. Thus, in some embodiments, the WTRU 900 may include two or more transmit / receive elements 922 (e.g., multiple antennas) for transmitting and receiving wireless signals over the air interface 915.
[0040] The transceiver 920 may be configured to modulate signals to be transmitted by the transmit / receive element 922 and / or demodulate signals received by the transmit / receive element 922. As noted above, the WTRU 900 may have multi-mode capabilities. Thus, the transceiver 920 may include multiple transceivers to enable the WTRU 900 to communicate via multiple RATs, such as, for example, UTRA and IEEE 802.11.
[0041] The processor of the WTRU 900 may be coupled to and may receive user input data from a speaker / microphone 924, a keypad 926, and / or a display / touchpad 928 (e.g., a liquid crystal display (LCD) display unit or an organic light emitting diode (OLED) display unit). The processor 918 may also output user data to the speaker / microphone 924, the keyboard 926, and / or the display / touchpad 928. Additionally, the processor 918 may access information from and store data in any type of suitable memory, such as a non-removable memory 930 and / or a removable memory 932. The non-removable memory 930 may include a random access memory (RAM), a read only memory (ROM), a hard disk, or any other type of memory storage device. The removable memory 932 may include a subscriber identity module (SIM) card, a memory stick, a secure digital (SD) memory card, or the like. In one or more embodiments, the processor 918 may access information from, and store data in, memory that is not physically located on the WTRU 900, such as a server or home computer (not shown).
[0042] The processor 918 may receive power from the power source 934 and may be configured to distribute and / or control the power to other components within the WTRU 900. The power source 934 may be any suitable device for powering the WTRU 900. For example, the power source 934 may include one or more dry batteries (e.g., nickel-cadmium (NiCd), nickel-zinc (NiZn), nickel-metal hydride (NiMH), lithium-ion (Li-ion), etc.), solar cells, fuel cells, etc.
[0043] The processor 918 may be coupled to a GPS chipset 936, which may be configured to provide location information (e.g., latitude and longitude) regarding a current location of the WTRU 900. In addition to or in lieu of information from the GPS chipset 936, the WTRU 900 may receive location information over the air interface 915 from a terminal (e.g., a base station) and / or determine its location based on the timing of when signals are received from two or more neighboring base stations. It will be appreciated that the WTRU 900 may obtain location information by way of any suitable location determination method while remaining consistent with an embodiment.
[0044] The processor 918 may further be coupled to other peripherals 938, which may include one or more software and / or hardware modules that provide additional features, functionality, and / or wired or wireless connectivity. For example, the peripherals 938 may include an accelerometer, an orientation sensor, a motion sensor, a proximity sensor, an electronic compass, a satellite transceiver, a digital camera and / or video recorder (e.g., for photos and / or videos), a Universal Serial Bus (USB) port, a vibration device, a television transceiver, a hands-free headset, a Bluetooth® module, a frequency modulation (FM) radio unit, and software modules such as a digital music player, a media player, a video game player module, an Internet browser, and the like.
[0045] As an example, the WTRU 900 may be configured to transmit and / or receive wireless signals and may include a user equipment (UE), a mobile station, a fixed or mobile subscriber unit, a pager, a cellular telephone, a personal digital assistant (PDA), a smartphone, a laptop, a netbook, a tablet computer, a personal computer, a wireless sensor, a consumer electronics device, or any other terminal capable of receiving and processing compressed video communications.
[0046] The WTRU 900 and / or the communication network (e.g., communication network 1304) may implement a radio technology such as Universal Mobile Telecommunications System (UMTS) Terrestrial Radio Access (UTRA), which may establish an air interface 915 using Wideband Code Division Multiple Access (WCDMA). WCDMA may include communication protocols such as High Speed Packet Access (HSPA) and / or Evolved HSPA (HSPA+). HSPA may include High Speed Downlink Packet Access (HSDPA) and / or High Speed Uplink Packet Access (HSUPA). The WTRU 900 and / or the communication network (e.g., communication network 1304) may implement a radio technology such as Evolved UMTS Terrestrial Radio Access (E-UTRA), which may establish an air interface 915 using Long Term Evolution (LTE) and / or LTE-Advanced (LTE-A).
[0047] The WTRU 900 and / or the communications network (e.g., communications network 1304) may implement a radio technology such as IEEE 802.16 (e.g., Worldwide Interoperability for Microwave Access (WiMAX)), CDMA2000, CDMA2000 1X, CDMA2000EV-DO, Interim Standard 2000 (IS-2000), Interim Standard 95 (IS-95), Interim Standard 856 (IS-856), Global System for Mobile Communications (GSM), Enhanced Data Rates for GSM Evolution (EDGE), GSM EDGE (GERAN), etc. The WTRU 900 and / or the communications network (e.g., communications network 1304) may implement a radio technology such as IEEE 802.11, IEEE 802.15, etc.
[0048] Lossless Coding For some video applications, such as medical video applications and high-end professional video applications, it may be desirable to retain all information in the original video signal without loss. For such video applications, lossless coding may be used. In lossless coding, processing blocks in a video codec that may cause information loss, such as transform and quantization, may be modified and / or bypassed. The encoder and decoder configurations of FIG. 1B and FIG. 2B, respectively, may be used to achieve lossless coding. In lossless coding, processing blocks for transform, quantization, inverse transform and inverse quantization are not applied. Furthermore, since the reconstructed video block resulting from adder 126 of FIG. 1B and adder 226 of FIG. 2B is mathematically the same as the original video block, in-loop filtering may not be necessary and may actually cause undesirable distortion. Therefore, in some embodiments, the processing block for in-loop filtering is also not applied.
[0049] Due to the rapidly growing video applications such as wireless display and cloud computing, screen content coding (SCC) has gained much interest from academia and industry in recent years. Although HEVC has achieved great improvements in coding efficiency compared to previous video coding standards, it was mainly designed for natural videos captured by cameras. On the other hand, screen content videos, which usually consist of computer-generated contents such as text and graphics, exhibit characteristics quite different from those of natural contents. Considering this, it is desirable to extend HEVC for screen content coding. Intra-block copying (IBC) is one coding method adopted in the HEVC screen content coding extension, as described in Non-Patent Document 1. IBC was designed to exploit the inherent intra-picture redundancy in one picture (especially when the picture contains a significant amount of screen content rich in text and graphics) by predicting pixels of the current PU from pixels of already reconstructed regions of the same picture. Similar to inter mode, for a CU coded using IBC mode, the displacement between one predicted PU and its reference block is represented by a block vector (BV). The BV is coded together with the corresponding residual in the bitstream.
[0050] In HEVC and its extensions, a syntax element called transquant_bypass_enabled_flag is signaled in a picture parameter set (PPS) to indicate whether transform and quantization can be bypassed on a per-block basis. As described in Non-Patent Document 2, the PPS syntax table in HEVC is shown in Table 1 below, with transquant_bypass_enabled_flag shown in row 22.
[0051] [Table 1-1]
[0052] [Table 1-2]
[0053] If the current slice references a PPS with transquant_bypass_enabled_flag (line 22 in Table 1) set to 1 (this is done by setting slice_pic_parameter_set_id in the slice header (line 5 in Table 2) to the appropriate value to identify the appropriate PPS), then at the coding unit or CU level, an additional flag called cu_transquant_bypass_flag is signaled for all CUs in the current slice. The coding_unit syntax table is shown in Table 3.
[0054] [Table 2-1]
[0055] [Table 2-2]
[0056] [Table 2-3]
[0057] [Table 3]
[0058] The value of cu_transquant_bypass_flag (row 3 of Table 3) indicates whether transform and quantization are bypassed for the current CU (if cu_transquant_bypass_flag is equal to 1) or whether transform and quantization are applied for the current CU (if cu_transquant_bypass_flag is equal to 0). When transquant_bypass_enabled_flag in the PPS is set to 0, an additional CU-level flag, cu_transquant_bypass_flag, is not signaled and is inferred to be 0 (i.e., transform and quantization are applied for the current CU).
[0059] When the flag cu_transquant_bypass_flag is set to 1 for the current CU, no transform and quantization is applied to the prediction residual. Instead, the prediction residual is directly entropy coded along with its prediction mode information, motion information, etc., and packed into the video bitstream. Furthermore, deblocking and sample adaptive offset (SAO) are bypassed for the current CU. In this way, block-level lossless coding is achieved, i.e., the reconstructed CU is mathematically identical to the original CU.
[0060] For video applications requiring lossless coding, it may be desirable to apply lossless coding at the sequence level (i.e., the entire sequence is coded losslessly) or at the picture / slice level (i.e., the entire picture / slice is coded losslessly). The first version of the HEVC standard and the HEVC range extension are currently under development in JCT-VC and do not include or otherwise provide high-level signaling to indicate sequence / picture / slice-level lossless coding. Instead, to achieve sequence / picture / slice-level lossless coding using existing signaling schemes, the following operations may be performed: (i) creating a PPS with transquant_bypass_enabled_flag set to 1, (ii) referencing the PPS with transquant_bypass_enabled_flag equal to 1 in the slice segment header of the video sequence / picture / slice, and (iii) setting the value of the flag cu_transquant_bypass_flag to 1 for all CUs in the sequence / picture / slice.
[0061] Relying only on block-level signaling of lossless mode has some drawbacks. In particular, it requires sending cu_transquant_bypass_flag for every CU in a sequence / picture / slice, which may not be efficient. Context-Adaptive Binary Arithmetic Coding (CABAC) is used to code this CU-level flag cu_transquant_bypass_flag, which can effectively reduce the signaling overhead, but it still requires the decoder to parse additional syntax elements for every CU in the sequence / picture / slice, which may be a redundant operation.
[0062] Furthermore, if only block-level signaling for the lossless mode is available, the decoder may not be able to properly prepare for fully lossless coding, since it remains possible that processing blocks such as inverse quantization, inverse transform, deblocking filter, SAO, etc. may still be needed for some future CUs (i.e., the value of cu_transquant_bypass_flag for some future CUs may be set to 0), which limits the available power savings that could otherwise be obtained by shutting down unnecessary processing blocks.
[0063] Similarly, current video bitstreams contain several syntax elements at various levels that are not required for lossless coding. These elements relate to inverse quantization, inverse transform, deblocking, and SAO in high-level syntax structures. For example, in PPS, some syntax elements (e.g., init_qp_minus26, cu_qp_delta_enabled_flag, pps_cb / cr_qp_offset, as shown in lines 11, 14, 17, and 18 of Table 1, respectively) are associated with the inverse quantization process, some syntax elements (e.g., deblocking_filter_override_enabled_flag, pps_beta_offset_div2, pps_tc_offset_div2, as shown in lines 40, 43, and 44 of Table 1, respectively) are associated with the deblocking process, and some syntax elements (log2_sao_offset_scale_luma, log2_sao_offset_scale_chroma, as shown in lines 72 and 73 of Table 1, respectively) are associated with the SAO process. Similarly, some syntax elements in the slice segment header are related to inverse quantization (slice_qp_delta, slice_cb_qp_offset, slice_cr_qp_offset, as shown in rows 74, 76, and 77 of Table 2, respectively), deblocking (slice_beta_offset_div2, slice_tc_offset_div2, as shown in rows 86 and 87, respectively), and SAO (slice_sao_luma_flag, slice_sao_chroma_flag, as shown in rows 47 and 49 of Table 2). These and other syntax elements are marked with asterisks in Tables 1 to 3. When lossless coding is applied at the sequence / picture / slice level, it may not be necessary to signal these syntax elements, which reduces the signaling overhead. On the other hand, in the absence of a high-level indication of a lossless coding mode, these high-level syntax elements must be encoded in the bitstream and transmitted to the respective decoder.
[0064] Furthermore, the video bitstream may include signaling related to transforms at the block level (e.g., at the CU level). For example, in the transform_tree() syntax structure (a simplified version of transform_tree() is shown in Table 7), flags indicating whether a quadtree split of the transform unit is performed (transform_split_flag) and / or whether there are any non-zero coefficients for luma and chroma in the transform block (cbf_luma, cbf_cb, and cbf_cr) are signaled. In a lossless coding mode, the transform_tree() syntax may be simplified by explicitly bypassing the signaling of these flags and instead setting them to appropriate default values.
[0065] Signaling lossless coding mode Described herein are various embodiments of signaling methods used in lossless coding modes that can overcome one or more of the above disadvantages. In one such embodiment, the signaling of the lossless coding mode can be done by modifying the PPS syntax structure. Table 4 shows a modified PPS syntax table according to some embodiments. Here, an additional flag, transquant_bypass_default_flag, is added to indicate the default value of the flag cu_transquant_bypass_flag of all coding units in a slice that reference this PPS. In this embodiment, the bitstream does not need to signal the flag cu_transquant_bypass_flag in each individual coding unit. By setting this new flag to 1 and setting the flag transquant_bypass_enabled_flag to 0, the encoder can indicate to the decoder that lossless coding is applied at the sequence and / or picture and / or slice level. That is, the transform, transform skip, quantization and in-loop filtering processes of all CUs that reference this current PPS are bypassed without any CU-level signaling.
[0066] When cu_transquant_bypass_flag is not present, a new flag transquant_bypass_default_flag may be considered to specify a default value for cu_transquant_bypass_flag.
[0067] The existing semantics of the CU level flag cu_transquant_bypass_flag of 0 may be modified as follows: cu_transquant_bypass_flag equal to 1 specifies the scaling and transform process as specified in subsection 8.6, and the in-loop filter process as specified in subsection 8.7 is bypassed. When cu_transquant_bypass_flag is not present, this flag is inferred to be equal to transquant_bypass_default_flag. As shown in Table 4, this new flag transquant_bypass_default_flag (Table 4, row 11) may be used to condition the presence of several syntax elements in the PPS (as shown in Table 4, rows 12, 15, 17, 21, 28, 42, 45, 57, 74, and 84) related to the inverse quantization, inverse transform, and in-loop filtering processes marked with an asterisk in Table 4. These conditions are set such that these syntax elements are only transmitted when transquant_bypass_default_flag is equal to 0 (i.e., when lossy coding is applied). When transquant_bypass_default_flag is equal to 1 (i.e., when lossless coding is applied), these syntax elements are not transmitted. Instead, their value is inferred to be 0. For example, inferring the value of cu_qp_delta_enabled_flag to be 0 when transquant_bypass_default_flag is set to 1 indicates that delta QP-related syntax elements are not signaled at the CU level, thereby saving bits and simplifying syntax parsing.
[0068] Furthermore, a new flag transquant_bypass_default_flag is used to condition the presence of transform_skip_enabled_flag. transform_skip_enabled_flag is used to bypass only the transform process (not bypass the quantization process). It is therefore a subset of transquant_bypass_enabled_flag. Furthermore, a new flag transquant_bypass_default_flag is used to condition the presence of transquant_bypass_enabled_flag. In this way, when transquant_bypass_default_flag is set to 1 (i.e., lossless coding mode), transquant_bypass_enabled_flag is inferred to be 0, and the signaling of cu_transquant_bypass_flag at the CU level is skipped.
[0069] [Table 4-1]
[0070] [Table 4-2]
[0071] [Table 4-3]
[0072] In another embodiment, to implement the proposed additional syntax elements through the HEVC range extension, the location of transquant_bypass_default_flag can be moved further down as part of the PPS extension (i.e., within the "if" condition of pps_extension_flag[0]). This configuration can ensure that the PPS syntax of the HEVC range extension has maximum backward compatibility with the first version of the HEVC standard (Non-Patent Document 3). Table 5 shows an example of such a configuration. In this configuration, the new flag transquant_bypass_default_flag can be conditioned on the value of transquant_bypass_enabled_flag. That is, transquant_bypass_default_flag is only signaled when transquant_bypass_enabled_flag is equal to 0. When transquant_bypass_enabled_flag is equal to 1, transquant_bypass_default_flag is not signaled and the value of cu_transquant_bypass_flag in each coding unit that references this PPS is explicitly received from the coding unit level bitstream. On the other hand, in the configuration of this embodiment, the new flag is not part of the main PPS syntax and therefore cannot be used to condition the presence of existing PPS syntax elements (syntax elements marked with an asterisk) related to quantization, transformation, transformation skip and in-loop filtering in Table 4 as explained above. Another flag lossless_coding_conformance_flag is signaled when transquant_bypass_default_flag is 1. When the flag lossless_coding_conformance_flag is 1, bitstream conformance requirements may be applied to ensure that the signaled values of syntax elements not used in the lossless coding mode have appropriate values.For example, in a conforming bitstream, the values of syntax elements including cu_qp_delta_enabled_flag, pps_loop_filter_across_slices_enabled_flag, deblocking filter_control_present_flag, loop_filter_across_tiles_enabled_flag, pps_scaling_list_data_present_flag, etc. may be required to be set to 0 if the new flag transquant_bypass_default_flag is set to 1. Such bitstream conformance requirements can help to minimize signaling overhead related to syntax elements that are not used in lossless coding.
[0073] As explained above, in some embodiments, the PPS is used to carry the new flag transquant_bypass_default_flag for the indication of lossless coding, while in other embodiments, other high level syntax structures such as the sequence parameter set (SPS) or video parameter set (VPS) may also be used to carry the proposed flag. Alternatively, if only slice-level lossless coding indication is desired, the slice segment header may be used to carry the proposed new flag.
[0074] It should be noted that some syntax elements related to quantization, transform and in-loop filtering processes may be signaled as part of the SPS. Examples of such SPS syntax elements include log2_min_transform_block_size_minus2, log2_diffmax_min_transform_block_size, max_transform_hierarchy_depth_inter, max_transform_hierarchy_depth_intra, scaling_list_enabled_flag, sample_adaptive_offset_enabled_flag, pcm_loop_filter_disabled_flag, transform_skip_rotation_enabled_flag, transform_skip_context_enabled_flag, etc. If a lossless coding mode is indicated using the flag transquant_bypass_default_flag at the SPS or VPS level, the proposed flags may be used to condition the presence of SPS syntax elements related to quantization, transform, transform skip, transform skip rotation, and in-loop filtering processes. Alternatively, similar bitstream conformance requirements may also be applied to ensure that appropriate values are signaled for these syntax elements, e.g., to ensure that in-loop filters are disabled when the conformance flag is set.
[0075] [Table 5]
[0076] Slice Header Signaling In further embodiments, slice header signaling may be used. Similar to the PPS, the slice segment header in Table 2 also contains several syntax elements (syntax elements marked with an asterisk) used for the transformation, quantization, and in-loop filtering processing blocks. These syntax elements may be conditioned by the value of a new flag, transquant_bypass_default_flag, and may not need to be signaled when lossless coding is indicated by setting transquant_bypass_default_flag to 1. Table 6 shows such an example.
[0077] The slice segment header includes several syntax elements related to the quantization, transform, and in-loop filtering processes, as shown in Table 2. Such slice segment header syntax elements (whose line numbers are marked with an asterisk) include slice_sao_luma_flag, slice_sao_chroma_flag, slice_qp_delta, slice_cb_qp_offset, slice_cr_qp_offset, slice_chroma_qp_adjustment_enabled_flag, deblocking_filter_override_flag, slice_deblocking_filter_disabled_flag, slice_beta_offset_div2, slice_tc_offset_div2, and slice_loop_filter_across_slices_enabled_flag. When slice level lossless coding is enabled by signaling the proposed flag transquant_bypass_default_flag in the slice segment header, the proposed flag may be used to condition the presence of syntax elements related to quantization, transform and in-loop filtering processes in the slice segment header. Thus, in one embodiment, the flag transquant_bypass_default_flag is placed before the syntax elements related to quantization, transform and in-loop filtering in the slice segment header. In another embodiment, the flag transquant_bypass_default_flag may be placed in an alternative location in the slice segment header, for example, after the syntax elements related to quantization, transform and in-loop filtering. In this case, bitstream conformance requirements should be applied to ensure that the values of these syntax elements are set appropriately when transquant_bypass_default_flag is set to 1.Setting transquant_bypass_default_flag to 1 indicates that all coding units in the current slice are coded in lossless mode without signaling cu_transquant_bypass_flag of each individual coding unit in the bitstream. Furthermore, the following bitstream conformance requirement may apply: when the proposed flag transquant_bypass_default_flag is set to 1, the value of the flag transquant_bypass_enabled_flag of the PPS referenced by the current slice is equal to 1.
[0078] Table 6 shows one example of a modified slice segment header when the proposed flag transquant_bypass_default_flag is signaled before the syntax elements related to quantization, transform and in-loop filtering in the slice segment header. Although the example in Table 6 shows that the proposed transquant_bypass_default_flag is signaled in the slice segment header, this flag may instead be signaled in the PPS (Table 5) and may be used to condition the presence of the slice segment header syntax elements indicated with an asterisk.
[0079] [Table 6]
[0080] Using Table 5 as an example, where transquant_bypass_default_flag is signaled as part of the PPS extension, Figure 12 shows one embodiment of an algorithm for parsing the modified PPS extension syntax at the decoder side. In the modified PPS extension, the proposed flag transquant_bypass_default_flag is parsed and its value is checked in step 1202. If transquant_bypass_default_flag is equal to 0, the existing PPS extension syntax elements in the High Efficiency Video Coding (HEVC) Range Extension Text Specification (Draft 6) are parsed and processed (step 1204). If transquant_bypass_default_flag is equal to 1, the syntax elements chroma_qp_adjustment_enabled_flag, log2_sao_offset_scale_luma and log2_sao_offset_scale_chroma are not parsed, and instead their values are inferred to be 0 (step 1206). If the flag lossless_coding_conformance_flag is 1 (step 1207), then the bitstream conformance requirements are applied by checking the signaled values of existing PPS syntax elements related to quantization, transform, and in-loop filtering (e.g., init_qp_minus26, cu_qp_delta_enabled_flag, pps_cb / cr_qp_offset, cu_qp_delta_enabled_flag, pps_loop_filter_across_slices_enabled_flag, deblocking_filter_control_present_flag, loop_filter_across_tiles_enabled_flag, pps_scaling_list_data_present_flag, etc.) and ensuring that these syntax elements are appropriately disabled (step 1208).If one or more of these syntax elements are not disabled, the decoder reports a bitstream conformance violation (step 1210), otherwise parsing of the PPS extension completes successfully.
[0081] Transformation Tree Syntax Signaling Transformed quadtree decomposition for lossless coding. HEVC and HEVC range extensions use transform tree split syntax to signal the size of a transform unit (TU). In one embodiment, the transform tree syntax specified in section 7.3.8.8 of the High Efficiency Video Coding (HEVC) Range Extension Text Specification (Draft 6) does not need to be modified based on the new proposed flag transquant_bypass_default_flag. In another embodiment, the transform tree syntax may be simplified to bypass the signaling of the quadtree split flag (split_transform_flag) and / or the coded block flags for luma and chroma components (cbf_luma, cbf_cb, cbf_cr) when transquant_bypass_default_flag is equal to 1. The simplified transform_tree() syntax is shown in Table 7. transquant_bypass_default_flag is used as an additional condition for the presence of split_transform_flag. When not present, in most cases, the value of split_transform_flag is inferred to be 0 (i.e., transform quadtree splitting is not applied), and in some existing special cases when transform quadtree splitting is enforced (e.g., when N×N partitions are used in intra-coding, or when the current CU size is larger than the largest transform size of 32×32, etc.), it is inferred to be 1 (i.e., transform quadtree splitting is applied). Furthermore, as shown in Table 7, when transquant_bypass_default_flag is equal to 1, the signaling of all cbf flags (for luma and chroma components) in transform_tree() may be skipped. Instead, their values may be inferred to be equal to 1, because cbf flags are most likely to have non-zero values due to the absence of quantization process in lossless coding.
[0082] The semantics of cbf_luma, cbf_cb, and cbf_cr may also be modified. A value of cbf_luma[x0][y0][trafoDepth] equal to 1 may be used to specify that a luma transform block contains one or more transform coefficient levels not equal to 0. The array indexes x0, y0 specify the location (x0, y0) of the top-left luma sample of the transform block under consideration relative to the top-left luma sample of the picture. The array index trafoDepth specifies the current level of subdivision of the coding block into blocks for the purposes of transform coding. For blocks corresponding to the coding block, trafoDepth is equal to 0. cbf_luma[x0][y0][trafoDepth] is inferred to be equal to 1 when not present.
[0083] A value of cbf_cb[x0][y0][trafoDepth] equal to 1 may be used to indicate that the Cb transform block contains one or more transform coefficient levels not equal to 0. The array index x0, y0 specifies the top-left location (x0, y0) of the transform unit being considered. The array index trafoDepth specifies the current level of subdivision of the coding block into blocks for the purposes of transform coding. For blocks corresponding to the coding block, trafoDepth is equal to 0. When cbf_cb[x0][y0][trafoDepth] is not present, the value of cbf_cb[x0][y0][trafoDepth] may be inferred as follows:
[0084] · If transquant_bypass_default_flag is equal to 1, cbf_cb[x0][y0][trafoDepth] is inferred to be equal to 1. Otherwise, if trafoDepth is greater than 0 and log2TrafoSize is equal to 2, then cbf_cb[x0][y0][trafoDepth] is inferred to be equal to cbf_cb[xBase][yBase][trafoDepth-1]. Otherwise, cbf_cb[x0][y0][trafoDepth] is inferred to be equal to 0.
[0085] A value of cbf_cr[x0][y0][trafoDepth] equal to 1 specifies that the Cr transform block contains one or more transform coefficient levels not equal to 0. The array indexes x0, y0 specify the top-left location (x0, y0) of the considered transform unit. The array index trafoDepth specifies the current subdivision level of the coding block into blocks for the purposes of transform coding. For blocks corresponding to the coding block, the value of trafoDepth is equal to 0.
[0086] When cbf_cr[x0][y0][trafoDepth] is not present, the value of cbf_cr[x0][y0][trafoDepth] can be inferred as follows:
[0087] When transquant_bypass_default_flag is equal to 1, cbf_cr[x0][y0][trafoDepth] is inferred to be equal to 1. Otherwise, if trafoDepth is greater than 0 and log2TrafoSize is equal to 2, then cbf_cr[x0][y0][trafoDepth] is inferred to be equal to cbf_cr[xBase][yBase][trafoDepth-1]. Otherwise, cbf_cr[x0][y0][trafoDepth] is inferred to be equal to 0.
[0088] Table 7 shows an example of simplifying the transform_tree() syntax using the proposed high-level flag transquant_bypass_default_flag, but following the same, the existing block-level flag cu_tranquant_bypass_flag may be used instead to condition the presence of split_transform_flag, cbf_luma, cbf_cb and cbf_cr.
[0089] [Table 7]
[0090] In one embodiment shown in Table 7, for CUs coded with different sizes and different coding modes, the quadtree split flag split_transform_flag and coded block flags cbf_luma, cbf_cb, and cbf_cr are bypassed and inferred to be the corresponding default values when the flag transquant_bypass_default_flag is equal to 1. Meanwhile, depending on the characteristics of the input video, the residuals of CUs using different block sizes and coding modes may exhibit unique statistical characteristics. In this case, it may not be beneficial to disable transform quadtree split for all CUs in a picture or sequence. Instead, to improve coding performance, as one embodiment of the disclosure, the proposed transquant_bypass_default_flag is used to conditionally bypass the signaling of transform quadtree split flags and / or coded block flags depending on the block size, coding mode (i.e., inter, intra, or IBC) of the coded CU, or a combination of block sizes and coding modes. For example, in terms of complexity and performance tradeoff, it may be beneficial to allow transform quadtree partitioning only when a block is coded using a non-intra mode (i.e., coded using an inter or IBC mode) and the block size is 8x8 or 16x16.
[0091] In one embodiment, when the flag transquant_bypass_default_flag is equal to 1, the following applies: For all intra-coded CUs and for all inter-coded and IBC-coded CUs with block sizes from 64x64 to 32x32, split_transform_flag and / or coded block flags (cbf_luma, cbf_cb and cbf_cr) are not signaled and are inferred to be the corresponding default values as discussed above. For 8x8 and 16x16 CUs coded in inter or IBC modes, further splitting may be allowed. split_transform_flag and / or coded block flags (cbf_luma, cbf_cb and cbf_cr) are still signaled to indicate whether the current block is further partitioned into four quadtrees and / or whether the coefficients within one TU are all-zero, respectively.
[0092] In some embodiments, two syntax elements log2_intra_max_no_transform_split_coding_block_size_minus3 and log2_inter_max_no_transform_split_coding_block_size_minus3 are added to the SPS or PPS to specify the maximum CU size for which transform quadtree splitting is applied to intra- and inter / IBC-coded CUs, respectively. For example, with conditions 1) and 2) above, the values of log2_intra_max_no_transform_split_coding_block_size_minus3 and log2_inter_max_no_transform_split_coding_block_size_minus3 are set to log2(64)-3=3 and log2(16)-3=1, respectively. Table 8 shows a modified SPS screen content coding extension syntax table with two proposed syntax elements.
[0093] Although Table 8 shows two additional syntax elements, in another embodiment of the present disclosure, the value of log2_intra_max_no_transform_split_coding_block_size_minus3 may not be signaled. Instead, the value may be inferred to always be the same as the maximum allowed CU size. The maximum allowed CU size may be derived by adding the minimum CU size (specified by the syntax element log2_min_luma_coding_block_size_minus3 in the SPS) to the difference between the maximum and minimum CU sizes (specified by the syntax element log2_diff_max_min_luma_coding_block_size in the SPS). In such an embodiment, when a CU is coded in intra mode and lossless coding is applied, transform quadtree splitting is not allowed.
[0094] [Table 8]
[0095] The value of log2_intra_max_no_transform_partition_coding_block_size_minus3 plus 3 specifies the maximum block size of a coding unit to which transform quadtree partitioning is applied when the coding unit is intra-coded and when cu_transquant_bypass_flag is equal to 1.
[0096] The value of log2_inter_max_no_transform_partition_coding_block_size_minus3 plus 3 specifies the maximum block size of a coding unit to which transform quadtree partitioning is applied when the coding unit is inter-coded or intra block copy coded and when cu_transquant_bypass_flag is equal to 1.
[0097] Table 9 shows a modified transform_tree() syntax table with suggested signaling constraints for split_transform_flag, cbf_luma, cbf_cb and cbf_cr conditional on block size and coding mode of the current CU. Note that although this example embodiment uses both the CU coding mode and CU size to condition whether to enable signaling of split_transform_flag and cbf, other modified conditions may be used. For example, either the coding mode or the block size (but not both) may be used. Furthermore, separate (and different) conditions may apply to split_transform_flag signaling or cbf signaling.
[0098] [Table 9]
[0099] In another embodiment, syntax elements max_transform_hierarchy_depth_inter and max_transform_hierarchy_depth_intra in SPS may be set to 0 to skip signaling of split_transform_flag in the lossless case. This method does not require low-level changes to the current transform_tree() syntax and bypasses signaling of transform_skip_flag in the case of sequence-level lossless coding. In such an embodiment, split_transform_flag is not signaled and instead is inferred to be a default value. The default value is 0 in most cases except when TU quadtree partitioning is enforced (e.g., N×N partitioning is used for intra-coding or when the CU size is larger than the largest TU size, etc.). For this reason, when sequence level lossless coding is applied, the signaling of transform_split_flag may be bypassed without requiring any block level modifications by imposing a bitstream constraint that requires max_transform_hierarchy_depth_inter and max_transform_hierarchy_depth_intra to be appropriately set to 0. Similarly, the signaling of transform_split_flag may be bypassed without requiring any block level modifications by imposing a bitstream constraint that the maximum and minimum transform sizes must be the same in the case of sequence level lossless coding. This constraint may be achieved by requiring the SPS syntax log2_diff_max_min_transform_block_size to be set to 0 in the case of sequence level lossless coding.Since max_transform_hierarchy_depth_inter, max_transform_hierarchy_depth_intra and log2_diff_max_min_transform_block_size are located in the SPS, in this case it may be more preferable to also put transquant_bypass_default_flag in the SPS.
[0100] In another embodiment of the disclosure, an encoder-only method for lossless coding is proposed without adding the flag transquant_bypass_default_flag. In such an embodiment, the conditional terms using transquant_bypass_default_flag may be omitted from the syntax elements in Tables 7 and 9 marked with a dagger (†). This embodiment does not require any change in the values of the syntax elements max_transform_hierarchy_depth_inter and max_transform_hierarchy_depth_intra in the SPS or the syntax elements in transform_tree(). To reduce the coding complexity, the flag split_transform_flag is still signaled for the encoder-only method, but only the transform quadtree splitting indicated by the default value of split_transform_flag as described in Tables 7 or 9 is tested per CU.
[0101] In some embodiments, when the flag cu_transquant_bypass_flag is equal to 1 for the current CU, the encoder tests only the rate-distortion (RD) performance of the non-transformed quadtree partition in most cases, and tests the RD performance of the one-time transform quadtree partition for some special cases, such as when an N×N PU partition is applied to an intra-coded CU or the current CU size is larger than a threshold. In this way, this encoder-only method is compatible with the conditions that apply to the flag split_transform_flag in Table 7 in the syntax elements marked with a dagger (†).
[0102] In another embodiment, when the flag cu_transquant_bypass_flag is equal to 1, the encoder tests only the RD performance of the transformed quadtree partitioning for all intra-coded CUs and all inter / IBC coded CUs with block sizes between 64×64 and 32×32 when the CU contains exactly one prediction unit, tests only the RD performance of the one-time transformed quadtree partitioning for all intra-coded CUs and all inter / IBC coded CUs with block sizes between 64×64 and 32×32 when the CU contains at least two prediction units, and for inter / IBC coded CUs with block sizes 16×16 and 8×8, the RD performance of both the non-transformed quadtree partitioning and the further transformed quadtree partitioning are tested by the encoder. Thus, this encoder-only method complies with the conditions applied to the flag split_transform_flag marked with a dagger (†) in Table 9. Furthermore, the flag split_transform_flag is still signaled in the bitstream for the encoder-only method above, but one bitstream compatibility constraint may be applied to require that the value of the syntax element split_transform_flag be set to its default value depending on the block size and block coding mode.
[0103] In some embodiments, the determination of the default value of the transformed quadtree partition flag is based, at least in part, on a plurality of prediction units in the associated coding unit. In one such embodiment, the determination of the default value includes determining whether the coding unit is intra-coded, whether a size of the coding unit is greater than a size threshold, and whether the coding unit includes exactly one prediction unit. In response to determining that the coding unit is not intra-coded, the coding unit is greater than the size threshold, and the coding unit includes exactly one prediction unit, the default value of the transformed quadtree partition flag is set to indicate a non-transformed quadtree partition.
[0104] In another such embodiment, determining the default value of the transform quadtree split flag includes determining whether the associated coding unit is intra-coded, whether a size of the coding unit is greater than a size threshold, and whether the first coding unit includes at least two prediction units. In response to determining that the coding unit is not intra-coded, the coding unit is greater than the size threshold, and the coding unit includes at least two prediction units, the default value of the transform quadtree split flag is set to indicate a one-time transform quadtree partition.
[0105] In a further embodiment, determining the default value of the transformed quadtree split flag includes determining whether the associated coding unit is intra-coded and whether the first coding unit includes exactly one prediction unit. In response to determining that the coding unit is intra-coded and includes exactly one prediction unit, the default value of the transformed quadtree split flag is set to indicate a non-transformed quadtree partition.
[0106] In another embodiment, determining the default value of the transform quadtree split flag includes determining whether the associated coding unit is intra-coded and whether the coding unit includes at least two prediction units. In response to determining that the coding unit is not intra-coded and the coding unit includes at least two prediction units, the default value of the transform quadtree split flag is set to indicate one-time transform quadtree partitioning.
[0107] The determination of whether a coding unit includes exactly one prediction unit or at least two prediction units may be made by determining the partition mode of the coding unit. For example, a coding unit using a partition mode of 2N×2N includes exactly one prediction unit, while a coding unit using a partition mode of, for example, 2N×N, N×2N, 2N×nU, 2N×nD, nL×2N, nR×2N, or N×N includes at least two prediction units.
[0108] Transformation tree partitioning for intra-block copy modes. The maximum depth of transform quadtree partitioning is closely related to the encoding and decoding complexity. To provide a flexible trade-off between encoding efficiency and computational complexity, HEVC and its extensions use syntax elements in SPS to specify the TU size and TU partitioning depth. The values log2_min_luma_transform_block_size_minus2 and log2_diff_max_min_luma_transform_block_size indicate the set of TU sizes used to code a video sequence, and max_transform_hierarchy_depth_inter and max_transform_hierarchy_depth_intra indicate the maximum partitioning depth for intra- and inter-coded CUs, respectively. In certain conditions, transform quadtree partitioning may not be applied. For example, if max_transform_hierarchy_depth_intra / inter is set to 0, transform quadtree partitioning is not applied to the current intra / inter-coded CU.
[0109] In HEVC, its scope extension, and the SCC draft, when transform quadtree partitioning is disabled, one implicit TU partitioning method is applied to both lossy and lossless coding, whereby the value of split_transform_flag is inferred to always be 1 (i.e., transform quadtree partitioning is applied) for CUs partitioned into multiple prediction units (PUs) and coded in inter mode. This is because different motion vectors of PUs within a CU may cause artificial high-frequency information and result in inconsistent residuals across the boundaries between neighboring PUs. In this case, splitting the CU into smaller TUs may provide better coding efficiency than using a TU size as large as the size of the CU.
[0110] In the research draft of HEVC Screen Content Coding Extension
[0057] , the above implicit TU partitioning is not applied to CUs coded in IBC mode. More specifically, when transform quadtree partitioning is disabled, the value of split_transform_flag is assumed to always be 0 for all IBC coded CUs (i.e., the transform unit size is set to the same as that of the CU). Given the inherent similarity between IBC mode and inter mode, the residuals of IBC coded CUs may exhibit similar characteristics to those of inter coded CUs. Therefore, it may also be advantageous to apply implicit TU partitioning to IBC coded CUs (i.e., assume the value of split_transform_flag to be 1) to further improve the efficiency of transform coding. In one embodiment described herein, when transform quadtree partitioning is disabled, the same implicit TU partitioning method applied to inter mode is also used for IBC coded CUs in both lossy and lossless coding. In other words, when two or more PU partitions (e.g., 2N×N, N×2N, and N×N) are present in the current CU coded in IBC mode, the value of split_transform_flag is inferred to be 1 (i.e., the transform quadtree is split).
[0111] The derivation process of the value of split_transform_flag is specified in section 7.4.9.9 of
[0057] . With the enablement of implicit TU splitting for IBC mode in the exemplary embodiment disclosed herein, the semantics of split_transform_flag behaves as follows:
[0112] The array split_transform_flag[x0][y0][trafoDepth] specifies whether the block is split into four blocks with half horizontal size and half vertical size for the purpose of transform coding. The array indexes x0, y0 specify the location (x0, y0) of the top-left luma sample of the block under consideration relative to the top-left luma sample of the picture. The array index trafoDepth specifies the current subdivision level of the coding block into blocks for the purpose of transform coding. For blocks corresponding to coding blocks, the value of trafoDepth is equal to 0.
[0113] The variable interSplitFlag is derived as follows: InterSplitFlag is set equal to 1 when one or more of the following conditions apply: max_transform_hierarchy_depth_inter is equal to 0 and CuPredMode[x0][y0] is equal to MODE_INTER, or intra_bc_flag[x0][y0] is equal to 1 and PartMode is not equal to PART_2Nx2N and trafoDepth is equal to 0. Otherwise, interSplitFlag is set equal to 0.
[0114] When split_transform_flag[x0][y0][trafoDepth] is not present, its value is inferred as follows: If one or more of the following conditions are true: log2TrafoSize is greater than MaxTbLog2SizeY, or IntraSplitFlag is equal to 1 and trafoDepth is equal to 0, or interSplitFlag is equal to 1, then the value of split_transform_flag[x0][y0][trafoDepth] is inferred to be equal to 1. Otherwise, the value of split_transform_flag[x0][y0][trafoDepth] is inferred to be equal to 0.
[0115] Embodiment In an example embodiment, a method for coding a video slice including a slice segment header and a plurality of coding units is provided, the method including generating a bypass flag in a slice segment header that indicates whether all coding units in the slice are coded using lossless coding.
[0116] In some such embodiments, the bypass flag is transquant_bypass_default_flag. The method may include generating a picture parameter set (PPS) that includes transquant_bypass_enabled_flag, where the slice references the picture parameter set and the transquant_bypass_enabled_flag is set to zero when the transquant_bypass_default_flag is set to one.
[0117] In some embodiments, the bypass flag indicates that not all coding units in the slice are coded using lossless coding, and the method includes generating a syntax element associated with lossy coding in a slice segment header. The bypass flag may be positioned before the syntax element associated with lossy coding.
[0118] In some embodiments, the bypass flag indicates that not all coding units in the slice are coded using lossless coding, and the method further includes generating syntax elements associated with the quantization, transform, and in-loop filtering processes in the slice segment header. The bypass flag may be positioned before the syntax elements associated with the quantization, transform, and in-loop filtering processes.
[0119] In some embodiments, the bypass flag indicates that not all coding units in the slice are coded using lossless coding, and the method further includes generating in the slice segment header one or more syntax elements selected from the group consisting of slice_sao_luma_flag, slice_sao_chroma_flag, slice_qp_delta, slice_cb_qp_offset, slice_cr_qp_offset, slice_chroma_qp_adjustment_enabled_flag, deblocking_filter_override_flag, slice_deblocking_filter_disabled_flag, slice_beta_offset_div2, slice_tc_offset_div2, and slice_loop_filter_across_slices_enabled_flag. The bypass flag may be positioned before one or more syntax elements selected from the group consisting of slice_sao_luma_flag, slice_sao_chroma_flag, slice_qp_delta, slice_cb_qp_offset, slice_cr_qp_offset, slice_chroma_qp_adjustment_enabled_flag, deblocking_filter_override_flag, slice_deblocking_filter_disabled_flag, slice_beta_offset_div2, slice_tc_offset_div2, and slice_loop_filter_across_slices_enabled_flag.
[0120] In some embodiments, the bypass flag indicates that all coding units in the slice are coded using lossless coding, and the method further includes excluding syntax elements associated with lossy coding from the slice segment header.
[0121] In some embodiments, if the bypass flag indicates that all coding units in the slice are coded using lossless coding, the method further involves excluding syntax elements related to the quantization, transform and in-loop filtering processes from the slice segment header.
[0122] In some embodiments, if the bypass flag indicates that all coding units in the slice are coded using lossless coding, the method further involves excluding from the slice segment header one or more syntax elements selected from the group consisting of slice_sao_luma_flag, slice_sao_chroma_flag, slice_qp_delta, slice_cb_qp_offset, slice_cr_qp_offset, slice_chroma_qp_adjustment_enabled_flag, deblocking_filter_override_flag, slice_deblocking_filter_disabled_flag, slice_beta_offset_div2, slice_tc_offset_div2, and slice_loop_filter_across_slices_enabled_flag.
[0123] In some embodiments, if the bypass flag indicates that not all coding units in the slice are coded using lossless coding, the method further includes signaling cu_transquant_bypass_flag for each coding unit in the slice.
[0124] In some embodiments, if the bypass flag indicates that all coding units in the slice are coded using lossless coding, the method further involves excluding the cu_transquant_bypass_flag from each coding unit in the slice.
[0125] In an exemplary embodiment, a method is provided for coding a video including a picture parameter set and at least one slice that references a picture parameter set (PPS), where the slice includes a slice segment header and a plurality of coding units. In this embodiment, the method includes generating a bypass flag in the picture parameter set that indicates whether all coding units in the slice that references the picture parameter set are coded using lossless coding.
[0126] In some such embodiments, the bypass flag is transquant_bypass_default_flag. The picture parameter set (PPS) includes transquant_bypass_enabled_flag, and transquant_bypass_enabled_flag is set to 0 when transquant_bypass_default_flag is set to 1.
[0127] In some embodiments in which the bypass flag indicates that not all coding units in the slice are coded using lossless coding, the method further includes generating syntax elements in the slice segment header associated with lossy coding.
[0128] In some embodiments in which the bypass flag indicates that not all coding units in the slice are coded using lossless coding, the method further includes generating syntax elements in the slice segment header associated with quantization, transform and in-loop filtering processes.
[0129] In some embodiments in which the bypass flag indicates that not all coding units in the slice are coded using lossless coding, the method further includes generating in the slice segment header one or more syntax elements selected from the group consisting of slice_sao_luma_flag, slice_sao_chroma_flag, slice_qp_delta, slice_cb_qp_offset, slice_cr_qp_offset, slice_chroma_qp_adjustment_enabled_flag, deblocking_filter_override_flag, slice_deblocking_filter_disabled_flag, slice_beta_offset_div2, slice_tc_offset_div2, and slice_loop_filter_across_slices_enabled_flag.
[0130] In some embodiments in which the bypass flag indicates that all coding units in the slice are coded using lossless coding, the method further involves excluding syntax elements related to lossy coding from the slice segment header.
[0131] In some embodiments in which the bypass flag indicates that all coding units in the slice are coded using lossless coding, the method further involves excluding syntax elements associated with quantization, transform and in-loop filtering processes from the slice segment header.
[0132] In some embodiments in which the bypass flag indicates that all coding units in the slice are coded using lossless coding, the method involves excluding from the slice segment header one or more syntax elements selected from the group consisting of slice_sao_luma_flag, slice_sao_chroma_flag, slice_qp_delta, slice_cb_qp_offset, slice_cr_qp_offset, slice_chroma_qp_adjustment_enabled_flag, deblocking_filter_override_flag, slice_deblocking_filter_disabled_flag, slice_beta_offset_div2, slice_tc_offset_div2, and slice_loop_filter_across_slices_enabled_flag.
[0133] In some embodiments in which the bypass flag indicates that not all coding units in the slice are coded using lossless coding, the method further includes signaling cu_transquant_bypass_flag for each coding unit in the slice.
[0134] In some embodiments in which the bypass flag indicates that not all coding units in the slice are coded using lossless coding, the method further involves excluding the cu_transquant_bypass_flag from each coding unit in the slice.
[0135] In an exemplary embodiment, a method of coding video is provided, where the video includes a high level syntax structure and at least one slice that references the high level syntax structure, the slice including a plurality of coding units. The method includes generating a bypass flag in the high level syntax structure that indicates whether all coding units in the slice are coded using lossless coding. For each respective coding unit, a determination is made whether to generate a quadtree split flag. The determination is based, at least in part, on a parameter selected from the group consisting of a block size and a coding mode of the respective coding unit. The quadtree split flag is generated for the respective coding unit only after making the determination to generate the quadtree split flag.
[0136] In such embodiments, the high level syntax structure may be a picture parameter set, a segment slice header, or a split_transform_flag. In some such embodiments, the quadtree split flag is generated only when the block is coded using a non-intra mode and the block size is 8x8 or 16x16. The quadtree split flag is not generated when the block size is between 64x64 and 32x32.
[0137] Some embodiments further involve generating a high level syntax element indicating a maximum untransformed quadtree partition block coding size. In some embodiments, the high level syntax element indicating the maximum untransformed quadtree partition block coding size is generated in a sequence parameter set (SPS). In some embodiments, the high level syntax element indicating the maximum untransformed quadtree partition block coding size is generated in a picture parameter set (PPS).
[0138] In some embodiments, the high-level syntax element is used to indicate the maximum non-transformed quadtree partitioned block coding size to indicate the maximum non-transformed quadtree partitioned block coding size for blocks coded in non-intra modes.
[0139] In some embodiments, a quadtree split flag is generated if the block is coded using a non-intra mode and for blocks coded in a non-intra mode, the block size is not greater than the maximum non-transformed quadtree split block coding size.
[0140] In some embodiments, a high-level syntax element indicating maximum non-transformed quadtree partitioned block coding size indicates the maximum non-transformed partitioned block coding size for blocks coded in intra mode.
[0141] In some embodiments, a quadtree split flag is generated if the block is coded using intra mode and for blocks coded in intra mode, the block size is less than or equal to the maximum untransformed quadtree split block coding size.
[0142] In an exemplary embodiment, a method of coding video is provided. The video includes a high level syntax structure and at least one slice that references the high level syntax structure, the slice including a plurality of coding units. The method includes generating a bypass flag in the high level syntax structure that indicates whether all of the coding units in the slice are coded with lossless coding. A decision is made for each respective coding unit whether to generate a coded block flag. The decision is based, at least in part, on a parameter selected from the group consisting of a block size and a coding mode of the respective coding unit. The coded block flag is generated for the respective coding unit only after making the decision to generate the coded block flag.
[0143] In such an embodiment, the high level syntax structure may be a picture parameter set or a segment slice header. The coded block flags may be one or more of cbf_lumaflag, cbf_cbflag, or cbf_crflag. In some embodiments, the coded block flags are generated only when the block is coded using a non-intra mode and the block size is 8x8 or 16x16, whereas the coded block flags are not generated if the block is coded using an intra mode or the block size is between 64x64 and 32x32.
[0144] In some embodiments, a high-level syntax element is generated that indicates a maximum non-transformed quadtree partition block coding size. The high-level syntax element that indicates a maximum non-transformed quadtree partition block coding size may be generated in a sequence parameter set (SPS) or a picture parameter set (PPS).
[0145] In some embodiments, the high-level syntax element indicating the maximum non-transformed quadtree partitioned block coding size indicates the maximum non-transformed quadtree partitioned block coding size for blocks coded in non-intra modes. If the block is coded using a non-intra mode and for blocks coded in intra mode, a coded flag is generated if the block size is less than or equal to the maximum non-transformed partitioned block coding size.
[0146] In some embodiments, a high-level syntax element indicating maximum non-transformed partitioned block coding size indicates the maximum non-transformed partitioned block coding size for blocks coded in intra mode.
[0147] In some embodiments, a coded block flag is generated if the block is coded using intra mode and for blocks coded in intra mode, the block size is less than or equal to the maximum non-transformed partitioned block coding size.
[0148] In an exemplary embodiment, a method for coding a video is provided, where the video includes a high-level syntax structure and at least one slice that references the high-level syntax structure, the slice including a plurality of coding units. The method includes determining a flag cu_transquant_bypass_flag is equal to 1 for the coding unit. The determination is made to test rate-distortion performance of a one-time transform quadtree partition based on at least one of a coding unit size and a coding mode of the coding unit. After the determination, the rate-distortion performance of the one-time transform quadtree partition is tested.
[0149] In some such embodiments, the method further includes making a decision not to test rate-distortion performance of the one-time transformed quadtree partitions for the additional coding units, where the rate-distortion performance testing is performed only on the non-transformed quadtree partitions for the additional coding units.
[0150] In an exemplary embodiment, a method for coding a video is provided, where the video includes a transform tree syntax including a split transform flag and further includes a plurality of coding units. The method includes, for each coding unit, determining whether the coding unit is coded in an intra block copy mode and whether two or more prediction unit partitions are present in the coding unit. In response to determining that the coding unit is coded in an intra block copy mode and that two or more prediction unit partitions are present in the coding unit, a value of the split transform flag is inferred to be 1.
[0151] In an exemplary method, a high-level syntax structure is generated that includes default values for coding unit flags that indicate that the transform and quantization processes are bypassed.
[0152] In some such embodiments, a default value, transquant_bypass_default_flag, indicating a default value of cu_transquant_bypass_flag of all coding units in a slice that reference a high-level syntax structure is set to 1. The high-level syntax structure may be at least one of a picture parameter set (PPS), a sequence parameter set (SPS), a video parameter set (VPS), or a slice segment header.
[0153] In some embodiments, the method includes generating a bitstream that includes a PPS with transquant_bypass_enabled_flag equal to 0. In some embodiments, the method includes generating a bitstream, where the coding unit parameters do not include cu_transquant_bypass_flag.
[0154] In an exemplary embodiment, a method is provided for signaling, via a high-level syntax element in a particular high-level syntax structure, to a decoder to bypass the transform, transform skip, quantization and in-loop filtering processes for all CUs that reference that particular high-level syntax structure.
[0155] In another example embodiment, a method is provided for operating a decoder to receive and process high level syntax elements to identify the presence of multiple PPS syntax elements associated with any one or more of the inverse quantization, inverse transform, and in-loop filtering processes.
[0156] In some such methods, the high-level syntax element is a default flag value (transquant_bypass_default_flag). In some such methods, the high-level syntax element is used to specify the presence of a transform_skip_enabled_flag element.
[0157] In some embodiments, the method includes a priori determining that transquant_bypass_enabled_flag is 0, and in response, removing or skipping signaling of cu_transquant_bypass_flag at the CU level. In some embodiments, the default flag is included in at least one of a PPS extension parameter set or an SPS extension parameter set.
[0158] In some embodiments, the presence of the default flag is conditional on the value of transquant_bypass_enabled_flag. In some embodiments, the default flag is transquant_bypass_default_flag.
[0159] In some embodiments, the method further includes receiving signaling of an additional compatibility flag indicating that the signaled values of the syntax elements not used in the lossless coding mode have been set appropriately.
[0160] In some embodiments, syntax elements including cu_qp_delta_enabled_flag, pps_loop_filter_across_slices_enabled_flag, deblocking_filter_control_present_flag, loop_filter_across_tiles_enabled_flag, and pps_scaling_list_data_present_flag are set to 0 if the flag transquant_bypass_default_flag is set to 1.
[0161] In an exemplary embodiment, a method is provided for receiving a video data bitstream that includes a high-level signaling lossless coding syntax element that indicates that lossless coding is to be used.
[0162] In some such methods, the high-level signaling syntax is one of a picture parameter set (PPS), a sequence parameter set (SPS), a video parameter set (VPS), or a slice segment header. In some such methods, the lossless coding syntax elements are used as terms to represent one or more SPS syntax elements associated with quantization, transformation, transformation skip, transformation skip rotation, and in-loop filtering processes.
[0163] In an example embodiment, a slice segment header is received and a default flag is provided to condition the identification of slice segment syntax elements to be used for the transform, quantization, and in-loop filtering processing blocks. In some such methods, the default flag is transquant_bypass_default_flag.
[0164] In an exemplary embodiment, a method is implemented in a video decoder for receiving a high-level lossless coding indication and shutting down a number of processing blocks in response thereto. In some such embodiments, the high-level lossless coding indication is a parameter element of one of a PPS, an SPS, a VPS, or a slice header. In some embodiments, the number of processing blocks includes one or more of any of the following hardware blocks: inverse quantization, inverse transform, deblocking filter, SAO.
[0165] Video encoded using any of the above techniques may be transmitted using any suitable wired or wireless transmission medium and / or recorded on any suitable non-transitory digital storage medium.
[0166] Although the features and elements have been described above in certain combinations, one skilled in the art will understand that each feature or element may be used alone or in any combination with other features and elements. Furthermore, the methods described herein may be implemented in a computer program, software, or firmware embodied in a computer-readable medium for execution by a computer or processor. Examples of computer-readable media include electronic signals (transmitted over wired or wireless connections) and computer-readable storage media. Examples of computer-readable storage media include, but are not limited to, read-only memory (ROM), random access memory (RAM), registers, cache memory, semiconductor memory devices, magnetic media such as internal hard disks and removable disks, magneto-optical media, and optical media such as CD-ROM disks and digital versatile disks (DVDs). A processor associated with software may be used to implement a radio frequency transceiver for use in a WTRU, UE, terminal, base station, RNC, or any host computer.
Claims
1. signaling an indication that at least a first block of a video is coded with lossless coding, the first block being predicted with inter coding; Dividing the first block into a plurality of transform units smaller than 16×16; Losslessly encoding the first block using the plurality of transform units via inter-coding; A video encoding method comprising:
2. The video encoding method of claim 1 , wherein the dividing includes dividing the first block into transform units smaller than 8×8.
3. 3. The video encoding method of claim 1 or 2, wherein the indication that at least a first block of the video is coded with lossless coding is signaled in a picture level syntax element.
4. receiving an indication that at least a first block of video is coded with lossless coding, the first block being predicted with inter coding; Dividing the first block into a plurality of transform units smaller than 16×16; Losslessly decoding the first block by inter-coding using the plurality of transform units; A video decoding method comprising:
5. The video decoding method of claim 4 , wherein the dividing includes dividing the first block into transform units smaller than 8×8.
6. 6. The video decoding method of claim 4 or 5, wherein the indication that at least the first block of the video is coded with lossless coding is received in a picture level syntax element.
7. A computer readable medium comprising instructions for causing one or more processors to perform the method of any one of claims 1 to 6.
8. signaling an indication that at least a first block of a video is coded with lossless coding, the first block being predicted with inter coding; Dividing the first block into a plurality of transform units smaller than 16×16; Losslessly encoding the first block using the plurality of transform units via inter-coding; 1. A video encoder comprising: one or more processors configured to execute:
9. The video encoder of claim 8 , wherein the dividing comprises dividing the first block into transform units smaller than 8×8.
10. 10. The video encoder of claim 8 or 9, wherein the indication that at least the first block of the video is coded with lossless coding is signaled in a picture level syntax element.
11. receiving an indication that at least a first block of video is coded with lossless coding, the first block being predicted with inter coding; Dividing the first block into a plurality of transform units smaller than 16×16; Losslessly decoding the first block by inter-coding using the plurality of transform units; 1. A video decoder comprising: one or more processors configured to execute:
12. The video decoder of claim 11 , wherein the dividing includes dividing the first block into transform units smaller than 8×8.
13. 13. The video decoder of claim 11 or 12, wherein the indication that at least the first block of the video is coded with lossless coding is received in a picture level syntax element.
