You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

611 lines
16KB

  1. /*
  2. * HEVC video decoder
  3. *
  4. * Copyright (C) 2012 - 2013 Guillaume Martres
  5. *
  6. * This file is part of FFmpeg.
  7. *
  8. * FFmpeg is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU Lesser General Public
  10. * License as published by the Free Software Foundation; either
  11. * version 2.1 of the License, or (at your option) any later version.
  12. *
  13. * FFmpeg is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. * Lesser General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with FFmpeg; if not, write to the Free Software
  20. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  21. */
  22. #ifndef AVCODEC_HEVCDEC_H
  23. #define AVCODEC_HEVCDEC_H
  24. #include <stdatomic.h>
  25. #include "libavutil/buffer.h"
  26. #include "libavutil/md5.h"
  27. #include "avcodec.h"
  28. #include "bswapdsp.h"
  29. #include "cabac.h"
  30. #include "get_bits.h"
  31. #include "hevcpred.h"
  32. #include "h2645_parse.h"
  33. #include "hevc.h"
  34. #include "hevc_ps.h"
  35. #include "hevc_sei.h"
  36. #include "hevcdsp.h"
  37. #include "internal.h"
  38. #include "thread.h"
  39. #include "videodsp.h"
  40. #define MAX_NB_THREADS 16
  41. #define SHIFT_CTB_WPP 2
  42. //TODO: check if this is really the maximum
  43. #define MAX_TRANSFORM_DEPTH 5
  44. #define MAX_TB_SIZE 32
  45. #define MAX_QP 51
  46. #define DEFAULT_INTRA_TC_OFFSET 2
  47. #define HEVC_CONTEXTS 199
  48. #define MRG_MAX_NUM_CANDS 5
  49. #define L0 0
  50. #define L1 1
  51. #define EPEL_EXTRA_BEFORE 1
  52. #define EPEL_EXTRA_AFTER 2
  53. #define EPEL_EXTRA 3
  54. #define QPEL_EXTRA_BEFORE 3
  55. #define QPEL_EXTRA_AFTER 4
  56. #define QPEL_EXTRA 7
  57. #define EDGE_EMU_BUFFER_STRIDE 80
  58. /**
  59. * Value of the luma sample at position (x, y) in the 2D array tab.
  60. */
  61. #define SAMPLE(tab, x, y) ((tab)[(y) * s->sps->width + (x)])
  62. #define SAMPLE_CTB(tab, x, y) ((tab)[(y) * min_cb_width + (x)])
  63. #define IS_IDR(s) ((s)->nal_unit_type == HEVC_NAL_IDR_W_RADL || (s)->nal_unit_type == HEVC_NAL_IDR_N_LP)
  64. #define IS_BLA(s) ((s)->nal_unit_type == HEVC_NAL_BLA_W_RADL || (s)->nal_unit_type == HEVC_NAL_BLA_W_LP || \
  65. (s)->nal_unit_type == HEVC_NAL_BLA_N_LP)
  66. #define IS_IRAP(s) ((s)->nal_unit_type >= 16 && (s)->nal_unit_type <= 23)
  67. enum RPSType {
  68. ST_CURR_BEF = 0,
  69. ST_CURR_AFT,
  70. ST_FOLL,
  71. LT_CURR,
  72. LT_FOLL,
  73. NB_RPS_TYPE,
  74. };
  75. enum SyntaxElement {
  76. SAO_MERGE_FLAG = 0,
  77. SAO_TYPE_IDX,
  78. SAO_EO_CLASS,
  79. SAO_BAND_POSITION,
  80. SAO_OFFSET_ABS,
  81. SAO_OFFSET_SIGN,
  82. END_OF_SLICE_FLAG,
  83. SPLIT_CODING_UNIT_FLAG,
  84. CU_TRANSQUANT_BYPASS_FLAG,
  85. SKIP_FLAG,
  86. CU_QP_DELTA,
  87. PRED_MODE_FLAG,
  88. PART_MODE,
  89. PCM_FLAG,
  90. PREV_INTRA_LUMA_PRED_FLAG,
  91. MPM_IDX,
  92. REM_INTRA_LUMA_PRED_MODE,
  93. INTRA_CHROMA_PRED_MODE,
  94. MERGE_FLAG,
  95. MERGE_IDX,
  96. INTER_PRED_IDC,
  97. REF_IDX_L0,
  98. REF_IDX_L1,
  99. ABS_MVD_GREATER0_FLAG,
  100. ABS_MVD_GREATER1_FLAG,
  101. ABS_MVD_MINUS2,
  102. MVD_SIGN_FLAG,
  103. MVP_LX_FLAG,
  104. NO_RESIDUAL_DATA_FLAG,
  105. SPLIT_TRANSFORM_FLAG,
  106. CBF_LUMA,
  107. CBF_CB_CR,
  108. TRANSFORM_SKIP_FLAG,
  109. EXPLICIT_RDPCM_FLAG,
  110. EXPLICIT_RDPCM_DIR_FLAG,
  111. LAST_SIGNIFICANT_COEFF_X_PREFIX,
  112. LAST_SIGNIFICANT_COEFF_Y_PREFIX,
  113. LAST_SIGNIFICANT_COEFF_X_SUFFIX,
  114. LAST_SIGNIFICANT_COEFF_Y_SUFFIX,
  115. SIGNIFICANT_COEFF_GROUP_FLAG,
  116. SIGNIFICANT_COEFF_FLAG,
  117. COEFF_ABS_LEVEL_GREATER1_FLAG,
  118. COEFF_ABS_LEVEL_GREATER2_FLAG,
  119. COEFF_ABS_LEVEL_REMAINING,
  120. COEFF_SIGN_FLAG,
  121. LOG2_RES_SCALE_ABS,
  122. RES_SCALE_SIGN_FLAG,
  123. CU_CHROMA_QP_OFFSET_FLAG,
  124. CU_CHROMA_QP_OFFSET_IDX,
  125. };
  126. enum PartMode {
  127. PART_2Nx2N = 0,
  128. PART_2NxN = 1,
  129. PART_Nx2N = 2,
  130. PART_NxN = 3,
  131. PART_2NxnU = 4,
  132. PART_2NxnD = 5,
  133. PART_nLx2N = 6,
  134. PART_nRx2N = 7,
  135. };
  136. enum PredMode {
  137. MODE_INTER = 0,
  138. MODE_INTRA,
  139. MODE_SKIP,
  140. };
  141. enum InterPredIdc {
  142. PRED_L0 = 0,
  143. PRED_L1,
  144. PRED_BI,
  145. };
  146. enum PredFlag {
  147. PF_INTRA = 0,
  148. PF_L0,
  149. PF_L1,
  150. PF_BI,
  151. };
  152. enum IntraPredMode {
  153. INTRA_PLANAR = 0,
  154. INTRA_DC,
  155. INTRA_ANGULAR_2,
  156. INTRA_ANGULAR_3,
  157. INTRA_ANGULAR_4,
  158. INTRA_ANGULAR_5,
  159. INTRA_ANGULAR_6,
  160. INTRA_ANGULAR_7,
  161. INTRA_ANGULAR_8,
  162. INTRA_ANGULAR_9,
  163. INTRA_ANGULAR_10,
  164. INTRA_ANGULAR_11,
  165. INTRA_ANGULAR_12,
  166. INTRA_ANGULAR_13,
  167. INTRA_ANGULAR_14,
  168. INTRA_ANGULAR_15,
  169. INTRA_ANGULAR_16,
  170. INTRA_ANGULAR_17,
  171. INTRA_ANGULAR_18,
  172. INTRA_ANGULAR_19,
  173. INTRA_ANGULAR_20,
  174. INTRA_ANGULAR_21,
  175. INTRA_ANGULAR_22,
  176. INTRA_ANGULAR_23,
  177. INTRA_ANGULAR_24,
  178. INTRA_ANGULAR_25,
  179. INTRA_ANGULAR_26,
  180. INTRA_ANGULAR_27,
  181. INTRA_ANGULAR_28,
  182. INTRA_ANGULAR_29,
  183. INTRA_ANGULAR_30,
  184. INTRA_ANGULAR_31,
  185. INTRA_ANGULAR_32,
  186. INTRA_ANGULAR_33,
  187. INTRA_ANGULAR_34,
  188. };
  189. enum SAOType {
  190. SAO_NOT_APPLIED = 0,
  191. SAO_BAND,
  192. SAO_EDGE,
  193. SAO_APPLIED
  194. };
  195. enum SAOEOClass {
  196. SAO_EO_HORIZ = 0,
  197. SAO_EO_VERT,
  198. SAO_EO_135D,
  199. SAO_EO_45D,
  200. };
  201. enum ScanType {
  202. SCAN_DIAG = 0,
  203. SCAN_HORIZ,
  204. SCAN_VERT,
  205. };
  206. typedef struct RefPicList {
  207. struct HEVCFrame *ref[HEVC_MAX_REFS];
  208. int list[HEVC_MAX_REFS];
  209. int isLongTerm[HEVC_MAX_REFS];
  210. int nb_refs;
  211. } RefPicList;
  212. typedef struct RefPicListTab {
  213. RefPicList refPicList[2];
  214. } RefPicListTab;
  215. typedef struct CodingUnit {
  216. int x;
  217. int y;
  218. enum PredMode pred_mode; ///< PredMode
  219. enum PartMode part_mode; ///< PartMode
  220. // Inferred parameters
  221. uint8_t intra_split_flag; ///< IntraSplitFlag
  222. uint8_t max_trafo_depth; ///< MaxTrafoDepth
  223. uint8_t cu_transquant_bypass_flag;
  224. } CodingUnit;
  225. typedef struct Mv {
  226. int16_t x; ///< horizontal component of motion vector
  227. int16_t y; ///< vertical component of motion vector
  228. } Mv;
  229. typedef struct MvField {
  230. DECLARE_ALIGNED(4, Mv, mv)[2];
  231. int8_t ref_idx[2];
  232. int8_t pred_flag;
  233. } MvField;
  234. typedef struct NeighbourAvailable {
  235. int cand_bottom_left;
  236. int cand_left;
  237. int cand_up;
  238. int cand_up_left;
  239. int cand_up_right;
  240. int cand_up_right_sap;
  241. } NeighbourAvailable;
  242. typedef struct PredictionUnit {
  243. int mpm_idx;
  244. int rem_intra_luma_pred_mode;
  245. uint8_t intra_pred_mode[4];
  246. Mv mvd;
  247. uint8_t merge_flag;
  248. uint8_t intra_pred_mode_c[4];
  249. uint8_t chroma_mode_c[4];
  250. } PredictionUnit;
  251. typedef struct TransformUnit {
  252. int cu_qp_delta;
  253. int res_scale_val;
  254. // Inferred parameters;
  255. int intra_pred_mode;
  256. int intra_pred_mode_c;
  257. int chroma_mode_c;
  258. uint8_t is_cu_qp_delta_coded;
  259. uint8_t is_cu_chroma_qp_offset_coded;
  260. int8_t cu_qp_offset_cb;
  261. int8_t cu_qp_offset_cr;
  262. uint8_t cross_pf;
  263. } TransformUnit;
  264. typedef struct DBParams {
  265. int beta_offset;
  266. int tc_offset;
  267. } DBParams;
  268. #define HEVC_FRAME_FLAG_OUTPUT (1 << 0)
  269. #define HEVC_FRAME_FLAG_SHORT_REF (1 << 1)
  270. #define HEVC_FRAME_FLAG_LONG_REF (1 << 2)
  271. #define HEVC_FRAME_FLAG_BUMPING (1 << 3)
  272. typedef struct HEVCFrame {
  273. AVFrame *frame;
  274. ThreadFrame tf;
  275. MvField *tab_mvf;
  276. RefPicList *refPicList;
  277. RefPicListTab **rpl_tab;
  278. int ctb_count;
  279. int poc;
  280. struct HEVCFrame *collocated_ref;
  281. AVBufferRef *tab_mvf_buf;
  282. AVBufferRef *rpl_tab_buf;
  283. AVBufferRef *rpl_buf;
  284. AVBufferRef *hwaccel_priv_buf;
  285. void *hwaccel_picture_private;
  286. /**
  287. * A sequence counter, so that old frames are output first
  288. * after a POC reset
  289. */
  290. uint16_t sequence;
  291. /**
  292. * A combination of HEVC_FRAME_FLAG_*
  293. */
  294. uint8_t flags;
  295. } HEVCFrame;
  296. typedef struct HEVCLocalContext {
  297. uint8_t cabac_state[HEVC_CONTEXTS];
  298. uint8_t stat_coeff[4];
  299. uint8_t first_qp_group;
  300. GetBitContext gb;
  301. CABACContext cc;
  302. int8_t qp_y;
  303. int8_t curr_qp_y;
  304. int qPy_pred;
  305. TransformUnit tu;
  306. uint8_t ctb_left_flag;
  307. uint8_t ctb_up_flag;
  308. uint8_t ctb_up_right_flag;
  309. uint8_t ctb_up_left_flag;
  310. int end_of_tiles_x;
  311. int end_of_tiles_y;
  312. /* +7 is for subpixel interpolation, *2 for high bit depths */
  313. DECLARE_ALIGNED(32, uint8_t, edge_emu_buffer)[(MAX_PB_SIZE + 7) * EDGE_EMU_BUFFER_STRIDE * 2];
  314. /* The extended size between the new edge emu buffer is abused by SAO */
  315. DECLARE_ALIGNED(32, uint8_t, edge_emu_buffer2)[(MAX_PB_SIZE + 7) * EDGE_EMU_BUFFER_STRIDE * 2];
  316. DECLARE_ALIGNED(32, int16_t, tmp)[MAX_PB_SIZE * MAX_PB_SIZE];
  317. int ct_depth;
  318. CodingUnit cu;
  319. PredictionUnit pu;
  320. NeighbourAvailable na;
  321. #define BOUNDARY_LEFT_SLICE (1 << 0)
  322. #define BOUNDARY_LEFT_TILE (1 << 1)
  323. #define BOUNDARY_UPPER_SLICE (1 << 2)
  324. #define BOUNDARY_UPPER_TILE (1 << 3)
  325. /* properties of the boundary of the current CTB for the purposes
  326. * of the deblocking filter */
  327. int boundary_flags;
  328. } HEVCLocalContext;
  329. typedef struct HEVCContext {
  330. const AVClass *c; // needed by private avoptions
  331. AVCodecContext *avctx;
  332. struct HEVCContext *sList[MAX_NB_THREADS];
  333. HEVCLocalContext *HEVClcList[MAX_NB_THREADS];
  334. HEVCLocalContext *HEVClc;
  335. uint8_t threads_type;
  336. uint8_t threads_number;
  337. int width;
  338. int height;
  339. uint8_t *cabac_state;
  340. /** 1 if the independent slice segment header was successfully parsed */
  341. uint8_t slice_initialized;
  342. AVFrame *frame;
  343. AVFrame *output_frame;
  344. uint8_t *sao_pixel_buffer_h[3];
  345. uint8_t *sao_pixel_buffer_v[3];
  346. HEVCParamSets ps;
  347. HEVCSEI sei;
  348. struct AVMD5 *md5_ctx;
  349. AVBufferPool *tab_mvf_pool;
  350. AVBufferPool *rpl_tab_pool;
  351. ///< candidate references for the current frame
  352. RefPicList rps[5];
  353. SliceHeader sh;
  354. SAOParams *sao;
  355. DBParams *deblock;
  356. enum HEVCNALUnitType nal_unit_type;
  357. int temporal_id; ///< temporal_id_plus1 - 1
  358. HEVCFrame *ref;
  359. HEVCFrame DPB[32];
  360. int poc;
  361. int pocTid0;
  362. int slice_idx; ///< number of the slice being currently decoded
  363. int eos; ///< current packet contains an EOS/EOB NAL
  364. int last_eos; ///< last packet contains an EOS/EOB NAL
  365. int max_ra;
  366. int bs_width;
  367. int bs_height;
  368. int is_decoded;
  369. int no_rasl_output_flag;
  370. HEVCPredContext hpc;
  371. HEVCDSPContext hevcdsp;
  372. VideoDSPContext vdsp;
  373. BswapDSPContext bdsp;
  374. int8_t *qp_y_tab;
  375. uint8_t *horizontal_bs;
  376. uint8_t *vertical_bs;
  377. int32_t *tab_slice_address;
  378. // CU
  379. uint8_t *skip_flag;
  380. uint8_t *tab_ct_depth;
  381. // PU
  382. uint8_t *tab_ipm;
  383. uint8_t *cbf_luma; // cbf_luma of colocated TU
  384. uint8_t *is_pcm;
  385. // CTB-level flags affecting loop filter operation
  386. uint8_t *filter_slice_edges;
  387. /** used on BE to byteswap the lines for checksumming */
  388. uint8_t *checksum_buf;
  389. int checksum_buf_size;
  390. /**
  391. * Sequence counters for decoded and output frames, so that old
  392. * frames are output first after a POC reset
  393. */
  394. uint16_t seq_decode;
  395. uint16_t seq_output;
  396. int enable_parallel_tiles;
  397. atomic_int wpp_err;
  398. const uint8_t *data;
  399. H2645Packet pkt;
  400. // type of the first VCL NAL of the current frame
  401. enum HEVCNALUnitType first_nal_type;
  402. uint8_t context_initialized;
  403. int is_nalff; ///< this flag is != 0 if bitstream is encapsulated
  404. ///< as a format defined in 14496-15
  405. int apply_defdispwin;
  406. int nal_length_size; ///< Number of bytes used for nal length (1, 2 or 4)
  407. int nuh_layer_id;
  408. } HEVCContext;
  409. /**
  410. * Mark all frames in DPB as unused for reference.
  411. */
  412. void ff_hevc_clear_refs(HEVCContext *s);
  413. /**
  414. * Drop all frames currently in DPB.
  415. */
  416. void ff_hevc_flush_dpb(HEVCContext *s);
  417. RefPicList *ff_hevc_get_ref_list(HEVCContext *s, HEVCFrame *frame,
  418. int x0, int y0);
  419. /**
  420. * Construct the reference picture sets for the current frame.
  421. */
  422. int ff_hevc_frame_rps(HEVCContext *s);
  423. /**
  424. * Construct the reference picture list(s) for the current slice.
  425. */
  426. int ff_hevc_slice_rpl(HEVCContext *s);
  427. void ff_hevc_save_states(HEVCContext *s, int ctb_addr_ts);
  428. int ff_hevc_cabac_init(HEVCContext *s, int ctb_addr_ts);
  429. int ff_hevc_sao_merge_flag_decode(HEVCContext *s);
  430. int ff_hevc_sao_type_idx_decode(HEVCContext *s);
  431. int ff_hevc_sao_band_position_decode(HEVCContext *s);
  432. int ff_hevc_sao_offset_abs_decode(HEVCContext *s);
  433. int ff_hevc_sao_offset_sign_decode(HEVCContext *s);
  434. int ff_hevc_sao_eo_class_decode(HEVCContext *s);
  435. int ff_hevc_end_of_slice_flag_decode(HEVCContext *s);
  436. int ff_hevc_cu_transquant_bypass_flag_decode(HEVCContext *s);
  437. int ff_hevc_skip_flag_decode(HEVCContext *s, int x0, int y0,
  438. int x_cb, int y_cb);
  439. int ff_hevc_pred_mode_decode(HEVCContext *s);
  440. int ff_hevc_split_coding_unit_flag_decode(HEVCContext *s, int ct_depth,
  441. int x0, int y0);
  442. int ff_hevc_part_mode_decode(HEVCContext *s, int log2_cb_size);
  443. int ff_hevc_pcm_flag_decode(HEVCContext *s);
  444. int ff_hevc_prev_intra_luma_pred_flag_decode(HEVCContext *s);
  445. int ff_hevc_mpm_idx_decode(HEVCContext *s);
  446. int ff_hevc_rem_intra_luma_pred_mode_decode(HEVCContext *s);
  447. int ff_hevc_intra_chroma_pred_mode_decode(HEVCContext *s);
  448. int ff_hevc_merge_idx_decode(HEVCContext *s);
  449. int ff_hevc_merge_flag_decode(HEVCContext *s);
  450. int ff_hevc_inter_pred_idc_decode(HEVCContext *s, int nPbW, int nPbH);
  451. int ff_hevc_ref_idx_lx_decode(HEVCContext *s, int num_ref_idx_lx);
  452. int ff_hevc_mvp_lx_flag_decode(HEVCContext *s);
  453. int ff_hevc_no_residual_syntax_flag_decode(HEVCContext *s);
  454. int ff_hevc_split_transform_flag_decode(HEVCContext *s, int log2_trafo_size);
  455. int ff_hevc_cbf_cb_cr_decode(HEVCContext *s, int trafo_depth);
  456. int ff_hevc_cbf_luma_decode(HEVCContext *s, int trafo_depth);
  457. int ff_hevc_log2_res_scale_abs(HEVCContext *s, int idx);
  458. int ff_hevc_res_scale_sign_flag(HEVCContext *s, int idx);
  459. /**
  460. * Get the number of candidate references for the current frame.
  461. */
  462. int ff_hevc_frame_nb_refs(HEVCContext *s);
  463. int ff_hevc_set_new_ref(HEVCContext *s, AVFrame **frame, int poc);
  464. static av_always_inline int ff_hevc_nal_is_nonref(enum HEVCNALUnitType type)
  465. {
  466. switch (type) {
  467. case HEVC_NAL_TRAIL_N:
  468. case HEVC_NAL_TSA_N:
  469. case HEVC_NAL_STSA_N:
  470. case HEVC_NAL_RADL_N:
  471. case HEVC_NAL_RASL_N:
  472. case HEVC_NAL_VCL_N10:
  473. case HEVC_NAL_VCL_N12:
  474. case HEVC_NAL_VCL_N14:
  475. case HEVC_NAL_BLA_N_LP:
  476. case HEVC_NAL_IDR_N_LP:
  477. return 1;
  478. break;
  479. default: break;
  480. }
  481. return 0;
  482. }
  483. /**
  484. * Find next frame in output order and put a reference to it in frame.
  485. * @return 1 if a frame was output, 0 otherwise
  486. */
  487. int ff_hevc_output_frame(HEVCContext *s, AVFrame *frame, int flush);
  488. void ff_hevc_bump_frame(HEVCContext *s);
  489. void ff_hevc_unref_frame(HEVCContext *s, HEVCFrame *frame, int flags);
  490. void ff_hevc_set_neighbour_available(HEVCContext *s, int x0, int y0,
  491. int nPbW, int nPbH);
  492. void ff_hevc_luma_mv_merge_mode(HEVCContext *s, int x0, int y0,
  493. int nPbW, int nPbH, int log2_cb_size,
  494. int part_idx, int merge_idx, MvField *mv);
  495. void ff_hevc_luma_mv_mvp_mode(HEVCContext *s, int x0, int y0,
  496. int nPbW, int nPbH, int log2_cb_size,
  497. int part_idx, int merge_idx,
  498. MvField *mv, int mvp_lx_flag, int LX);
  499. void ff_hevc_set_qPy(HEVCContext *s, int xBase, int yBase,
  500. int log2_cb_size);
  501. void ff_hevc_deblocking_boundary_strengths(HEVCContext *s, int x0, int y0,
  502. int log2_trafo_size);
  503. int ff_hevc_cu_qp_delta_sign_flag(HEVCContext *s);
  504. int ff_hevc_cu_qp_delta_abs(HEVCContext *s);
  505. int ff_hevc_cu_chroma_qp_offset_flag(HEVCContext *s);
  506. int ff_hevc_cu_chroma_qp_offset_idx(HEVCContext *s);
  507. void ff_hevc_hls_filter(HEVCContext *s, int x, int y, int ctb_size);
  508. void ff_hevc_hls_filters(HEVCContext *s, int x_ctb, int y_ctb, int ctb_size);
  509. void ff_hevc_hls_residual_coding(HEVCContext *s, int x0, int y0,
  510. int log2_trafo_size, enum ScanType scan_idx,
  511. int c_idx);
  512. void ff_hevc_hls_mvd_coding(HEVCContext *s, int x0, int y0, int log2_cb_size);
  513. extern const uint8_t ff_hevc_qpel_extra_before[4];
  514. extern const uint8_t ff_hevc_qpel_extra_after[4];
  515. extern const uint8_t ff_hevc_qpel_extra[4];
  516. #endif /* AVCODEC_HEVCDEC_H */