ra display

Conflicts:
	libavcodec/hevc.c
	libavcodec/hevc.h
update ff_hevc_find_display and ff_hevc_clear_refs

Conflicts:
	libavcodec/hevc.c
	openHevcWrapper.c
affect 0 to tmpvp flag when tmvp is disabled
add cu_qp_delta
wpp malloc bug fix
biPred OK !
fix poc=0
optimization 15%

Conflicts:
	libavcodec/hevcdsp_template.c
update for AdaptiveQP

Conflicts:
	CMakeLists.txt
	libavcodec/hevc.c
	libavcodec/hevc.h
starting adding weighted pred algorithms

Conflicts:
	libavcodec/hevc.c
move dbf in ctb

Conflicts:
	CMakeLists.txt
	libavcodec/hevc.c
	libavcodec/hevc.h
update dbf in ctb : delete frame copy

Conflicts:
	libavcodec/hevc.c
temporary sao_filter in loop
fix ra bitstreams

Conflicts:
	libavcodec/hevc.c
	libavcodec/hevc_refs.c
cleaning and PTL fix

Conflicts:
	openHevcWrapper.c
fix IDR management (flush memory when an IDR is encountered)

Conflicts:
	main.c
	openHevcWrapper.c
	openHevcWrapper.h
(hevc) fix some bugs in delta_qp
Conflicts:
	libavcodec/hevc_filter.c
hevcdsp_template: fix variables declared in the middle of a block
hevc: drop unused variables and functions
hevc: fix warning about discarding const