Low Delay Rate Control For HEVC
Low Delay Rate Control For HEVC
I. INTRODUCTION
2
II. STATE-OF-THE-ART R-Q MODELS
Generally rate control can be divided into two steps and the
first is bit allocation. The hierarchical level, complexity, the
buffer status and sensitivity of each frame are usually
considered during bit allocation. The bit allocation of HEVC
can be conducted at three levelsGOP level, frame level and
CTU level. The other step of rate control is to produce the bits
close to the allocated bits, which is realized by building the
models between the target bitrate (R) and quantization
parameter (Q) directly or indirectly. Three R-Q models that
have been used for rate control are introduced as follows.
A. Quadratic R-Q model
One R-Q model builds the relationship between bitrate R and
quantization parameter Q in a quadratic form [5]
(1)
R a Q 1 b Q 2
MAD pred , i ( j )
QPi ( j )
MAD pred , i ( j )
QPi 2 ( j )
(2)
where bppi(j) is the target bits per pixel of the j-th picture in the
i-th GOP, MADpred,i(j) denotes the predicted MAD, a and b are
the model parameters. And MADpred,i(j) is predicted from the
MAD of the previous frame using the linear model
MAD pred , i ( j ) 1 MAD actual , i ( j 1) 2
(3)
QP a ln( ) b
(6)
(4)
(5)
Vi ( j )
R
) N GOP if j 1
(
f
Bi ( j ) f
B ( j 1) b ( j 1) if j 2, 3,..., N
i
GOP
i
(7)
where f is the frame rate, R is the target bit rate and NGOP is the
number of frames in a GOP, Vi(j) is the buffer occupancy and
is a parameter controlling the convergence speed.
After finishing encoding a frame in current GOP, the budget
and the buffer occupancy is updated using the actual generated
bit number bi(j-1).
3
Vi 1 (1) if j 1
Vi ( j )
R
Vi ( j 1) b i ( j 1) f
if j 2, 3,..., N GOP
(8)
(10)
(11)
otherwise
(14)
the frame and the weight ratio of the CTU calculated in (13) by
(9)
The other target bit budget Ti ( j ) based on the left bit budget in
current GOP is calculated by
B ( j)
Ti ( j ) i
N left
m0
Ti ( j )
Bi j , m
Bi j , m 1 bi j , m 1
Ti ( j , m ) Bi ( j , m )
CTUs is calculated by
m
N CTU 1
k m
(15)
wk
Vi j , m
Ti ( j )
Vi j , m 1 bi j , m 1 N
CTU
m0
otherwise
(16)
wm
N CTU
k 1
wk
Vi j , m
N CTU _ left
(17)
Ti ( j ) Ti ( j ) (1 ) Ti ( j )
(12)
m
N CTU 1
k 0
(13)
where m and m are the model parameters for the m-th CTU,
and N CTU is the number of CTU in a frame.
At the CTU level, the total bit budget for the non-coded
frame. Now the target bit number for the m-th CTU is the
weighted average of the two part target bit budgets
Ti ( j , m ) Ti ( j , m ) (1 ) Ti ( j , m )
(18)
4
10
x 10
LB BasketballDrill 1721kbps
5
HM10.0 init RC
Proposed
Buffer size
LB BasketballDrill 1721kbps
HM10.0 init RC
Proposed
4.5
8
7
Frame Bits/bits
occupancy/bits
x 10
6
5
4
3.5
3
2
2.5
1
0
100
150
200
250
300
350
400
450
2
100
500
150
200
250
300
frame number
10
x 10
LB RaceHorsesC 996kbps
350
400
450
500
frame number
(a)
(a)
x 10
LB RaceHorsesC 996kbps
HM10.0 init RC
Proposed
HM10.0 init RC
Proposed
Buffer size
4.5
Frame Bits/bits
occupancy/bits
4
2
0
3.5
2
2.5
4
6
50
100
150
200
250
2
50
300
100
150
300
LB BasketballDrill 1721kbps
45
HM10.0 init RC
Proposed
40
Frame Bits/bits
250
(b)
Fig. 2. Fluctuation of frame bits of the rate control in HM10.0 and the proposed
rate control. (a)BasketballDrill(832x480) @1721kbps in LB mode.
(b)RaseHorsesC(416x240) @996kbps in LB mode.
35
30
25
100
150
200
250
300
350
400
450
500
frame number
(a)
LB RaceHorsesC 996kbps
45
HM10.0 init RC
Proposed
40
Frame Bits/bits
(b)
Fig. 1. Fluctuation of buffer occupancy of the rate control in HM10.0 and the
proposed rate control. (a)BasketballDrill(832x480) @1721kbps in LB mode.
(b)RaseHorsesC(416x240) @996kbps in LB mode.
200
frame number
frame number
35
30
25
50
100
150
200
250
300
frame number
(b)
Fig. 3. Fluctuation of frame PSNR of the rate control in HM10.0 and the
proposed rate control. (a)BasketballDrill(832x480) @1721kbps in LB mode.
(b)RaseHorsesC(416x240) @996kbps in LB mode.
| R actual Rtarget |
Rtarget
100%
(19)
where Rtarget and Ractual denote the target bit rate and the actual
bit rate of the test video sequences respectively. As stated
before, a sequence adopts the same Rtarget for the anchor
algorithm and the proposed algorithm.
Table I states the performance comparisons and the bit rate
mismatch comparisons for the HM anchor rate control
algorithm and the proposed rate control algorithm. It can be
observed that the proposed algorithm has a small mismatch
between the actual bit rate and the target bit rate. But the
coding efficiency of our proposed algorithm has little
5
TABLE I
PERFORMANCE COMPARISON OF THE HM10.0 ANCHOR ALGORITHM AND THE
PROPOSED ALGORITHM FOR LB-MAIN CONFIGURATION
vs HM10.0 without rate control(LB-main)
Sequences
Anchor algorithm
Proposed algorithm
BD-Rate
Mismatch
BD-Rate
Mismatch
ClassB
8.1%
0.17%
10.2%
0.13%
ClassC
11.2%
0.17%
12.2%
0.07%
ClassD
15.7%
0.44%
17.0%
0.10%
ClassE
23.0%
0.19%
27.2%
0.02%
Avg
14.5%
0.24%
16.7%
0.08%
V. CONCLUSION
In low delay applications, small buffer size poses a great
challenge to rate control algorithms. In this paper, we presented
an efficient rate control algorithm of HEVC for low delay video
communication. The proposed algorithm adopted a bit
allocation scheme based on buffer status and a more accurate bit
estimation for CTU using a numerical method. The performance
of the proposed algorithm is verified by lots of experimental
results. The results show that the algorithm has less bit
fluctuation and lower and steadier buffer occupancy, which
enables a lower delay in applications.
REFERENCES
[1]
[2]
[3]
[4]
[5]
[6]
[7]