Home
last modified time | relevance | path

Searched refs:scan_idx (Results 1 – 10 of 10) sorted by relevance

/external/libhevc/decoder/
Dihevcd_parse_residual.c195 WORD32 scan_idx; in ihevcd_parse_residual_coding() local
311 scan_idx = SCAN_DIAG_UPRIGHT; in ihevcd_parse_residual_coding()
319 scan_idx = SCAN_VERT; in ihevcd_parse_residual_coding()
324 scan_idx = SCAN_HORZ; in ihevcd_parse_residual_coding()
330 if(SCAN_VERT == scan_idx) in ihevcd_parse_residual_coding()
348 *pi1_scan_idx = (scan_idx << 1) | transform_skip_flag; in ihevcd_parse_residual_coding()
369 pu1_scan_blk = (UWORD8 *)gapv_ihevc_scan[scan_idx * 3 + (log2_trafo_size - 2 - 1)]; in ihevcd_parse_residual_coding()
380 pu1_scan_coeff = &gau1_ihevc_scan4x4[scan_idx][0]; in ihevcd_parse_residual_coding()
391 pu1_scan_blk = (UWORD8 *)gapv_ihevc_invscan[scan_idx * 3 + (log2_trafo_size - 2 - 1)]; in ihevcd_parse_residual_coding()
392 pu1_scan_coeff = &gau1_ihevc_invscan4x4[scan_idx][0]; in ihevcd_parse_residual_coding()
[all …]
/external/libaom/libaom/av1/common/
Dtxb_common.h301 static INLINE int get_lower_levels_ctx_eob(int bwl, int height, int scan_idx) { in get_lower_levels_ctx_eob() argument
302 if (scan_idx == 0) return 0; in get_lower_levels_ctx_eob()
303 if (scan_idx <= (height << bwl) / 8) return 1; in get_lower_levels_ctx_eob()
304 if (scan_idx <= (height << bwl) / 4) return 2; in get_lower_levels_ctx_eob()
332 static INLINE int get_lower_levels_ctx_general(int is_last, int scan_idx, in get_lower_levels_ctx_general() argument
338 if (scan_idx == 0) return 0; in get_lower_levels_ctx_general()
339 if (scan_idx <= (height << bwl) >> 3) return 1; in get_lower_levels_ctx_general()
340 if (scan_idx <= (height << bwl) >> 2) return 2; in get_lower_levels_ctx_general()
/external/libhevc/encoder/
Dihevce_enc_sbh_funcs.c138 WORD32 scan_idx = ps_rdoq_sbh_params->i4_scan_idx; in ihevce_sign_data_hiding() local
157 pu1_csb_table = (UWORD8 *)&(g_u1_scan_table_4x4[scan_idx][0]); in ihevce_sign_data_hiding()
166 pu1_trans_table = (UWORD8 *)&(g_u1_scan_table_8x8[scan_idx][0]); in ihevce_sign_data_hiding()
169 pu1_trans_table = (UWORD8 *)&(g_u1_scan_table_4x4[scan_idx][0]); in ihevce_sign_data_hiding()
172 pu1_trans_table = (UWORD8 *)&(g_u1_scan_table_2x2[scan_idx][0]); in ihevce_sign_data_hiding()
Dihevce_cabac_tu.c2347 WORD32 scan_idx = ps_rdoq_ctxt->i4_scan_idx; in ihevce_cabac_residue_encode_rdoq() local
2365 pu1_csb_table = (UWORD8 *)&(g_u1_scan_table_4x4[scan_idx][0]); in ihevce_cabac_residue_encode_rdoq()
2399 pu1_trans_table = (UWORD8 *)&(g_u1_scan_table_8x8[scan_idx][0]); in ihevce_cabac_residue_encode_rdoq()
2402 pu1_trans_table = (UWORD8 *)&(g_u1_scan_table_4x4[scan_idx][0]); in ihevce_cabac_residue_encode_rdoq()
2405 pu1_trans_table = (UWORD8 *)&(g_u1_scan_table_2x2[scan_idx][0]); in ihevce_cabac_residue_encode_rdoq()
Dihevce_enc_loop_utils.c932 WORD32 scan_idx, in ihevce_scan_coeffs() argument
966 pu1_csb_table = (UWORD8 *)&(g_u1_scan_table_4x4[scan_idx][0]); in ihevce_scan_coeffs()
974 pu1_trans_table = (UWORD8 *)&(g_u1_scan_table_8x8[scan_idx][0]); in ihevce_scan_coeffs()
977 pu1_trans_table = (UWORD8 *)&(g_u1_scan_table_4x4[scan_idx][0]); in ihevce_scan_coeffs()
980 pu1_trans_table = (UWORD8 *)&(g_u1_scan_table_2x2[scan_idx][0]); in ihevce_scan_coeffs()
1029 *pu1_out_data_header = scan_idx; in ihevce_scan_coeffs()
6359 WORD32 scan_idx; in ihevce_intra_chroma_pred_mode_selector() local
6603 scan_idx = SCAN_DIAG_UPRIGHT; in ihevce_intra_chroma_pred_mode_selector()
6618 scan_idx = SCAN_HORZ; in ihevce_intra_chroma_pred_mode_selector()
6623 scan_idx = SCAN_VERT; in ihevce_intra_chroma_pred_mode_selector()
[all …]
Dihevce_enc_loop_utils.h115 WORD32 scan_idx,
/external/libhevc/encoder/arm/
Dihevce_scan_coeffs_neon.c119 WORD32 scan_idx, in ihevce_scan_coeffs_neon() argument
146 pu1_csb_table = (UWORD8 *)&(g_u1_scan_table_4x4[scan_idx][0]); in ihevce_scan_coeffs_neon()
155 pu1_trans_table = (UWORD8 *)&(g_u1_scan_table_8x8[scan_idx][0]); in ihevce_scan_coeffs_neon()
158 pu1_trans_table = (UWORD8 *)&(g_u1_scan_table_4x4[scan_idx][0]); in ihevce_scan_coeffs_neon()
161 pu1_trans_table = (UWORD8 *)&(g_u1_scan_table_2x2[scan_idx][0]); in ihevce_scan_coeffs_neon()
274 *pu1_out_data_header = (UWORD8)scan_idx; in ihevce_scan_coeffs_neon()
/external/icu/icu4c/source/test/perf/ustrperf/
Dstringperf.h452 volatile int scan_idx; variable
458 scan_idx = uScan_STRING.indexOf(c); in scan()
463 scan_idx = uScan_STRING.indexOf(SCAN1,3); in scan1()
470 scan_idx = uScan_STRING.indexOf(c1); in scan2()
471 scan_idx = uScan_STRING.indexOf(c2); in scan2()
542 scan_idx = (int) sScan_STRING.find('.'); in StdLibScan()
547 scan_idx = (int) sScan_STRING.find(L"123"); in StdLibScan1()
552 scan_idx = (int) sScan_STRING.find_first_of(L"sm"); in StdLibScan2()
/external/libaom/libaom/av1/encoder/
Dencodetxb.c324 static int get_coeff_cost(const tran_low_t qc, const int scan_idx, argument
333 const int pos = scan[scan_idx];
341 cost += get_sign_bit_cost(qc, scan_idx, txb_costs->dc_sign_cost,
355 const int height, const int scan_idx, argument
359 if (scan_idx == 0) return 0;
360 if (scan_idx <= (height << bwl) / 8) return 1;
361 if (scan_idx <= (height << bwl) / 4) return 2;
369 static void get_dist_cost_stats(LevelDownStats *const stats, const int scan_idx, argument
375 const int coeff_idx = scan[scan_idx];
391 scan_idx, is_eob, txb_info->tx_size, tx_class);
[all …]
Dencodemb.c177 const int scan_idx = scan_order->scan[i]; in av1_dropout_qcoeff() local
178 if (qcoeff[scan_idx] > DROPOUT_COEFF_MAX) { // Keep large coefficients. in av1_dropout_qcoeff()
183 } else if (qcoeff[scan_idx] == 0) { // Count zeros. in av1_dropout_qcoeff()