/external/libhevc/decoder/ |
ihevcd_bitstream.c | 86 * @param[in] ps_bitstrm 105 void ihevcd_bits_init(bitstrm_t *ps_bitstrm, 120 ps_bitstrm->u4_bit_ofst = 0; 121 ps_bitstrm->pu1_buf_base = pu1_buf; 122 ps_bitstrm->pu4_buf = pu4_buf; 123 ps_bitstrm->u4_cur_word = u4_cur_word; 124 ps_bitstrm->u4_nxt_word = u4_nxt_word; 126 ps_bitstrm->pu1_buf_max = pu1_buf + u4_numbytes + 8; 142 * @param[in] ps_bitstrm 155 void ihevcd_bits_flush(bitstrm_t *ps_bitstrm, UWORD32 u4_numbits [all...] |
ihevcd_cabac.c | 116 * @param[in] ps_bitstrm 133 bitstrm_t *ps_bitstrm, 140 ASSERT(ps_bitstrm != NULL); 151 BITS_GET(ps_cabac->u4_ofst, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, 152 ps_bitstrm->u4_cur_word, ps_bitstrm->u4_nxt_word, (9 + RANGE_SHIFT)); 156 BITS_GET(ps_cabac->u4_ofst, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, 157 ps_bitstrm->u4_cur_word, ps_bitstrm->u4_nxt_word, 9) [all...] |
ihevcd_parse_headers.c | 126 * @param[in] ps_bitstrm 146 WORD32 ihevcd_parse_pred_wt_ofst(bitstrm_t *ps_bitstrm, 158 UEV_PARSE("luma_log2_weight_denom", value, ps_bitstrm); 163 SEV_PARSE("delta_chroma_log2_weight_denom", value, ps_bitstrm); 169 BITS_PARSE("luma_weight_l0_flag[ i ]", value, ps_bitstrm, 1); 179 BITS_PARSE("chroma_weight_l0_flag[ i ]", value, ps_bitstrm, 1); 196 SEV_PARSE("delta_luma_weight_l0[ i ]", value, ps_bitstrm); 201 SEV_PARSE("luma_offset_l0[ i ]", value, ps_bitstrm); 214 SEV_PARSE("delta_chroma_weight_l0[ i ][ j ]", value, ps_bitstrm); 218 SEV_PARSE("delta_chroma_offset_l0[ i ][ j ]", value, ps_bitstrm); 956 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; local 1089 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; local 1193 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; local 1622 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; local [all...] |
ihevcd_cabac.h | 59 #define IHEVCD_CABAC_DECODE_BIN(u4_bin, ps_cabac, ps_bitstrm, ctxt_index) \ 103 BITS_GET(u4_bits, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, \ 104 ps_bitstrm->u4_cur_word, ps_bitstrm->u4_nxt_word, numbits); \ 117 #define IHEVCD_CABAC_DECODE_BIN(u4_bin, ps_cabac, ps_bitstrm, ctxt_index) \ 118 u4_bin = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_index); 122 #define IHEVCD_CABAC_DECODE_BYPASS_BIN(u4_bin, ps_cabac, ps_bitstrm) \ 133 BIT_GET(u4_bits, ps_bitstrm->pu4_buf, ps_bitstrm->u4_bit_ofst, [all...] |
ihevcd_bitstream.h | 201 void ihevcd_bits_init(bitstrm_t *ps_bitstrm, 204 void ihevcd_bits_flush(bitstrm_t *ps_bitstrm, UWORD32 u4_numbits); 206 void ihevcd_bits_flush_to_byte_boundary(bitstrm_t *ps_bitstrm); 208 UWORD32 ihevcd_bits_nxt(bitstrm_t *ps_bitstrm, UWORD32 u4_numbits); 210 UWORD32 ihevcd_bits_nxt32(bitstrm_t *ps_bitstrm, UWORD32 u4_numbits); 213 UWORD32 ihevcd_bits_get(bitstrm_t *ps_bitstrm, UWORD32 u4_numbits); 215 UWORD32 ihevcd_bits_num_bits_remaining(bitstrm_t *ps_bitstrm); 218 UWORD32 ihevcd_bits_num_bits_consumed(bitstrm_t *ps_bitstrm); 220 UWORD32 ihevcd_uev(bitstrm_t *ps_bitstrm); 222 WORD32 ihevcd_sev(bitstrm_t *ps_bitstrm); [all...] |
ihevcd_parse_slice_header.h | 38 IHEVCD_ERROR_T ihevcd_short_term_ref_pic_set(bitstrm_t *ps_bitstrm, 44 WORD32 ihevcd_parse_pred_wt_ofst(bitstrm_t *ps_bitstrm,
|
ihevcd_parse_slice_header.c | 89 * @param[in] ps_bitstrm 101 IHEVCD_ERROR_T ihevcd_operation_point_set(vps_t *ps_vps, bitstrm_t *ps_bitstrm, WORD32 ops_idx) 110 BITS_PARSE("list_entry_l0[ i ]", value, ps_bitstrm, 1); 140 WORD32 ihevcd_ref_pic_list_modification(bitstrm_t *ps_bitstrm, 164 BITS_PARSE("ref_pic_list_modification_flag_l0", value, ps_bitstrm, 1); 170 BITS_PARSE("list_entry_l0", value, ps_bitstrm, num_bits_list_entry); 179 BITS_PARSE("ref_pic_list_modification_flag_l1", value, ps_bitstrm, 1); 185 BITS_PARSE("list_entry_l1", value, ps_bitstrm, num_bits_list_entry); 229 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; local 245 BITS_PARSE("first_slice_in_pic_flag", first_slice_in_pic_flag, ps_bitstrm, 1) [all...] |
ihevcd_parse_residual.c | 191 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; local 228 ps_bitstrm, 256 ps_bitstrm, 266 ps_bitstrm, 281 ps_bitstrm, 298 ps_bitstrm, 519 IHEVCD_CABAC_DECODE_BIN(cur_csbf, ps_cabac, ps_bitstrm, ctxt_idx); 599 ps_bitstrm, 688 IHEVCD_CABAC_DECODE_BIN(coeff_abs_level_greater1_flag, ps_cabac, ps_bitstrm, ctxt_idx); 744 IHEVCD_CABAC_DECODE_BIN(coeff_abs_level_greater2_flag, ps_cabac, ps_bitstrm, ctxt_idx) [all...] |
ihevcd_nal.c | 275 * @param[in] ps_bitstrm 288 IHEVCD_ERROR_T ihevcd_nal_unit_header(bitstrm_t *ps_bitstrm, nal_header_t *ps_nal) 294 unused = ihevcd_bits_get(ps_bitstrm, 1); 297 ps_nal->i1_nal_unit_type = ihevcd_bits_get(ps_bitstrm, 6); 300 unused = ihevcd_bits_get(ps_bitstrm, 6); 303 ps_nal->i1_nuh_temporal_id = ihevcd_bits_get(ps_bitstrm, 3) - 1;
|
ihevcd_parse_slice.c | 129 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; local 151 split_transform_flag = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx); 193 value = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx); 201 value = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx); 251 value = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx); 293 ps_bitstrm, 300 value = ihevcd_cabac_decode_bypass_bins_egk(ps_cabac, ps_bitstrm, 0); 311 value = ihevcd_cabac_decode_bypass_bin(ps_cabac, ps_bitstrm); 426 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; local 436 abs_mvd_greater0_flag[0] = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx) 538 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; local 629 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; local 811 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; local 954 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; local 1165 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; local 1683 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; local 1957 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; local [all...] |