DPCM SCC
DPCM SCC
DPCM SCC
=
=
otherwise ) , 1 ( ) , (
0 if ) , (
) , (
~
j i r j i r
i j i r
j i r
ver
(1)
The horizontal inter RDPCM mode is defined in a similar
way: samples in the first column in the block are left
unchanged, while all other samples are predicted from the
sample immediately on the left in the same row.
Along with the horizontal and vertical RDPCM options, the
no RDPCM case is tested at the encoder. This is typically a
coding choice for those residuals that are highly uncorrelated,
i.e. where no further spatial prediction is needed. To find the
best mode for the current residual block the sum of absolute
differences (SAD) distortion metric is computed for each mode
(i.e. horizontal, vertical or no RDPCM). The mode with
minimum SAD is selected as the best. Notice that the solution
with minimum distortion is used instead of the solution with
minimum coding rate, because the computational complexity
required to compute this rate would be too high, since for each
mode and level of granularity a CABAC encoding of the
residuals would be needed. Finally, in this implementation the
inter RDPCM mode is signaled to the decoder using CABAC
with the following binary representation: no RDPCM (0),
horizontal RDPCM (10) and vertical RDPCM (11). One
context for each block size and color component is used.
At the decoder side, when vertical RDPCM is selected, the
residuals r(i, j) to be added to the motion compensated
prediction are obtained as follows:
=
=
i
k
ver
j k r j i r
0
) , (
~
) , (
. (2)
For horizontal RDPCM, the summation is performed across the
current row.
362
C. Additional tools for inter RDPCM
As can be seen from Eq. (2), the reconstruction of a
residual in the i-th row depends on the previous i - 1 samples.
For large TU sizes (e.g. 3232) samples located at the
rightmost columns (bottom rows for horizontal RDPCM)
require a high number of additions before becoming available.
Therefore it increases the computational complexity and
dependency between samples which may not be acceptable in
some applications. Moreover, from the description of the
horizontal and vertical RDPCM given in Section III.B, it may
be noted that the samples in the first column (respectively the
first row) are not RDPCM predicted. These two observations
motivated the design of the two proposed prediction chunking
(PC) and hierarchical prediction (HP) tools.
The prediction chunking tool limits the residual DPCM
prediction to groups of samples with a specified length L,
denoted as chunking length. In this way the RDPCM process is
reset every L samples so that the number of operations per
sample at the decoder side is reduced. The vertical RDPCM
prediction when the PC tool is used is defined as follows:
=
=
otherwise ) , 1 ( ) , (
,... 2 , , 0 if ) , (
) , (
~
j i r j i r
L L i j i r
j i r
ver
(3)
At the decoder, the residuals can be reconstructed as follows:
=
=
i
L L i k
ver
j k r j i r
/
) , (
~
) , (
, (4)
where the operator returns the the largest integer smaller
than or equal to the argument than its argument. Equivalent
expressions for forward and inverse inter RDPCM can be
easily derived for the horizontal mode when using PC.
Once RDPCM is performed on a block, samples in the first
column and the first row for horizontal and vertical RDPCM,
respectively, are not predicted. Therefore it is beneficial to
exploit redundancy by performing prediction on these samples
in the direction orthogonal to the main RDPCM direction, as
shown in Figure 1. The HP tool performs a RDPCM along the
first column of samples when horizontal RDPCM is selected as
the best mode or along the first row for vertical RDPCM. For
the case of vertical RDPCM, the HP is defined as:
=
=
otherwise ) 1 , 0 ( ) , 0 (
0 if ) , 0 (
) , 0 (
~
j r j r
j j r
j r
ver
(5)
A similar formalization can be defined for horizontal RDPCM.
r
0,0
r
0,1
r
0,2
r
0,3
r
0,N-1
r
1,0
r
1,1
r
1,2
r
1,3
r
1,N-1
r
M-1,0
r
M-1,1
r
M-1,2
r
M-1,3
r
M-1,N-1
N
M
Figure 1: Hierarchical prediction (green line) - an additional step
is applied on the top row after vertical RDPCM (red lines).
IV. EXPERIMENTAL RESULTS
This section presents the evaluation of inter RDPCM
together with the PC and HP tools. First the test setup,
benchmarks and performance indicators are introduced,
followed by the experimental results.
A. Test material,coding conditions and benchmarking
The screen content considered by the JCT-VC (Class F [12]
and Class SC [13]) has been used in the experiments. Class F
content belongs to the JCT-VC common test conditions set.
The color space is the YCbCr ITU-R-BT.709 and the chroma
sampling is 4:2:0. Class SC content belongs to the HM-RExt
screen content coding test set.. The color space representation
is RGB and the chroma sampling is 4:4:4. All sequences have
been coded in lossless mode using the HM-RExt software
version (HM10-RExt-2.0). The same software has been used to
implement the proposed inter RPDMC, PC and HP tools. The
coding configurations are random access main (RA-main) and
low delay main (LD-main) with 8-bit internal representation
[13].
The compression efficiency and complexity associated with
the proposed lossless tools will be compared using the HM10-
RExt-2.0 codec as a benchmark. As performance indicators, the
bitrate reductions in percentage against the benchmark will be
used to measure the compression efficiency. The bitrate
reduction is denoted as Rate and negative values mean an
improvement with respect to the benchmark.
B. Experimental results and discussion
The results obtained are listed in Table 1. As may be
observed, the inter RDPCM method provides good average
bitrate reductions at test points for all levels of RDPCM
implementation in the coding hierarchy (CU, PU, TU).
Reductions of up to 16% are reported for LD-main in the TU
level implementation. From the presented results it may be also
observed that the finer the level of granularity where the inter
RDPCM is applied, the greater the bitrate reductions. This is
expected, since for a higher level of granularity (e.g. CU) a
given RDPCM mode may not be optimal for all the samples
inside the unit. Conversely, as the granularity gets finer at PU
and TU levels, more suitable combinations of RDPCM modes
can be used over the associated sub-partitions. The price to pay
for better bitrate reductions is the increased complexity which
gets its maximum values at TU level. However, it is interesting
to note that at the decoder side the complexity is unchanged
with respect to the benchmark at all levels.
The level of granularity which leads to the best trade-off
between coding efficiency and complexity is the PU level. For
this reason this implementation is considered to assess the
performance of the PC and HP tools. The performance for the
PC coding tool is listed again in Table 1. Since the PC tool
reduces the computational complexity, a coding efficiency loss
is expected. In particular up to 0.5% of bitrate reduction is
sacrificed to decrease the complexity. Conversely, when the
coding efficiency benefits from the application of the HP tool,
the average reduction improves by up to 8.8% for Class F.
Finally, to demonstrate the selection of the inter RDPCM tool,
the selection of the vertical and the horizontal RDPCM modes
for one frame of the Programming test sequence is shown in
363
Table 1: Measured bitrate reductions and complexity for the proposed lossless coding tools.
CU-based PU-based TU-based PC (PU-based) HP (PU based)
RA-Main LD-main RA-Main LD-main RA-Main LD-main RA-Main LD-main RA-Main LD-main
Rate [%] Rate [%] Rate [%] Rate [%] Rate [%] Rate [%] Rate [%] Rate [%] Rate [%] Rate [%]
Class F -5.0 -7.7 -5.1 -8.0 -5.4 -8.2 -4.3 -6.4 -5.5 -8.8
Class SC -3.2 -6.6 -3.7 -7.6 -3.9 -7.7 -3.5 -6.9 -3.8 -7.4
Average -4.1 -7.1 -4.4 -7.8 -4.7 -7.9 -3.9 -6.6 -4.6 -8.1
Enc. Time [%] 101 102 104 103 110 108 107 105 104 103
Dec. Time [%] 100 100 100 100 101 100 100 100 100 100
Figure 2: Second frame of the Programming sequence. Left original frame, Right inter RDPCM mode selection overlaid. Red blocks
horizontal RDPCM, Blue blocks vertical RDPCM
Figure 2. As may be noted the vertical RDPCM mode is
selected for blocks with sharp edges along the vertical
dimension and vice-versa for the horizontal mode.
V. CONCLUSIONS AND FUTURE WORK
In this paper the inter RDPCM coding tool has been
proposed to improve inter prediction in lossless screen content
coding. Moreover, two other tools for reducing the complexity
or increasing the compression efficiency have also been
designed. Experimental results show that the application of
inter RDPCM is suitable for screen content. Moreover, the
proposed PC and HP have proved to be effective in
complexity reduction and coding efficiency improvement,
respectively. Future work will involve the extension of the
inter RDPCM tool for the lossy coding scenario at very high
bitrates which typically lead to visually lossless compression.
REFERENCES
[1] T. Vermeir, Use cases and requirements for lossless and screen content
coding, JCTVC-M0172, 13
th
JCT-VC meeting, Incheon, KR, Apr. 2013.
[2] J. Sole, R. Joshi and M. Karczewicz, Requirements for wireless display
applications, JCTVC-M0315, 13
th
JCT-VC meeting, Incheon, KR, Apr.
2013.
[3] G. J. Sullivan, J.-R. Ohm, W.-J. Han and T. Wiegand, Overview of the
High Efficiency Video Coding (HEVC) standard, IEEE Trans. on
Circuits and Syst. for Video Technol., vol. 22, no. 12, pp. 1649-1668,
Dec. 2012.
[4] J.-R. Ohm, G. J. Sullivan, H. Schwarz, T. K. Tan and T. Wiegand,
Comparison of the coding efficiency of video coding standards
including High Efficiency Video Coding (HEVC), IEEE Trans. on
Circuits and Syst. for Video Technol., vol. 22, no. 12, pp. 1649-1668,
Dec. 2012.
[5] ITU-T, High Efficiency Video Coding, ITU-T H.265, Edition 1.0 (pre-
published), Apr. 2013.
[6] A. Gabriellini, D. Flynn; M. Mrak and T. Davies, Combined Intra-
Prediction for High-Efficiency Video Coding, IEEE J. of Sel. Topics in
Signal Processing. Vol. 5, no. 7; pp. 1282-1289, Nov. 2011.
[7] Y.-L. Lee; K.-H. Han and G.J. Sullivan, Improved lossless intra coding
for H.264/MPEG-4 AVC, IEEE Trans. on Image Processing, vol.15,
no.9, pp.2610,2615, Sept. 2006.
[8] S. Lee, I.-K. Kim and C. Kim, Residual DPCM for HEVC lossless
coding, JCTVC-M0079, 13
th
JCT-VC meeting, Incheon, KR, Apr. 2013.
[9] K.-H. Han, K. R. Rao and Y.-L. Lee, Residual DPCM about Motion
Compensated Residual Signal for H.264 Lossless Coding, IEICE
Trans. on Fundamentals of Electronics, Communications and Computer
Sciences,vol. E92., no. 5, pp. 1386-1389, 2009.
[10] M. Zhou; W. Gao; M. Jiang and H. Yu, HEVC Lossless Coding and
Improvements, IEEE Trans. On Circuits and Systems for Video
Technology, vol.22, no.12, pp.1839,1843, Dec. 2012.
[11] M. Zhou and M.. Budagavi, Experimental results on Test 3 and Test 4,
JCTVC-M0056, 13
th
JCT-VC meeting, Incheon, KR, Apr. 2013.
[12] F. Bossen, Common HM test conditions and software reference
configurations, JCTVC-L1100, 12
th
JCT-VC meeting, Geneva, CH,
Jan. 2013.
[13] W. Gao, M. Zhou, P. Amon and S. Lee, HEVC Range Extensions Core
Experiment 2 (RCE2): Intra Prediction for Lossless Coding, JCTVC-
L1122, 12
th
JCT-VC meeting, Geneva, CH, Jan. 2013
364