/external/libaom/libaom/aom_dsp/ |
D | bitreader.h | 44 #define aom_read_cdf(r, cdf, nsymbs, ACCT_STR_NAME) \ argument 45 aom_read_cdf_(r, cdf, nsymbs ACCT_STR_ARG(ACCT_STR_NAME)) 46 #define aom_read_symbol(r, cdf, nsymbs, ACCT_STR_NAME) \ argument 47 aom_read_symbol_(r, cdf, nsymbs ACCT_STR_ARG(ACCT_STR_NAME)) 133 int nsymbs ACCT_STR_PARAM) { in aom_read_cdf_() 135 ret = daala_read_symbol(r, cdf, nsymbs); in aom_read_cdf_() 139 aom_update_symb_counts(r, (nsymbs == 2)); in aom_read_cdf_() 145 int nsymbs ACCT_STR_PARAM) { in aom_read_symbol_() 147 ret = aom_read_cdf(r, cdf, nsymbs, ACCT_STR_NAME); in aom_read_symbol_() 148 if (r->allow_update_cdf) update_cdf(cdf, ret, nsymbs); in aom_read_symbol_()
|
D | bitwriter.h | 75 const aom_cdf_prob *cdf, int nsymbs) { in aom_write_cdf() argument 76 daala_write_symbol(w, symb, cdf, nsymbs); in aom_write_cdf() 80 int nsymbs) { in aom_write_symbol() argument 81 aom_write_cdf(w, symb, cdf, nsymbs); in aom_write_symbol() 82 if (w->allow_update_cdf) update_cdf(cdf, symb, nsymbs); in aom_write_symbol()
|
D | daalaboolreader.h | 105 int nsymbs) { in daala_read_symbol() argument 108 symb = od_ec_decode_cdf_q15(&r->ec, cdf, nsymbs); in daala_read_symbol() 119 if (nsymbs != ref_nsymbs) { in daala_read_symbol() 123 frame_idx, nsymbs, ref_nsymbs, queue_r); in daala_read_symbol() 127 for (i = 0; i < nsymbs; ++i) in daala_read_symbol() 133 for (i = 1; i < nsymbs; ++i) fprintf(stderr, ", %d", cdf[i]); in daala_read_symbol()
|
D | daalaboolwriter.h | 58 const aom_cdf_prob *cdf, int nsymbs) { in daala_write_symbol() argument 68 bitstream_queue_push(symb, cdf, nsymbs); in daala_write_symbol() 71 od_ec_encode_cdf_q15(&w->ec, symb, cdf, nsymbs); in daala_write_symbol()
|
D | prob.h | 644 static INLINE void update_cdf(aom_cdf_prob *cdf, int8_t val, int nsymbs) { in update_cdf() argument 650 assert(nsymbs < 17); in update_cdf() 651 rate = 3 + (cdf[nsymbs] > 15) + (cdf[nsymbs] > 31) + in update_cdf() 652 nsymbs2speed[nsymbs]; // + get_msb(nsymbs); in update_cdf() 656 for (i = 0; i < nsymbs - 1; ++i) { in update_cdf() 664 cdf[nsymbs] += (cdf[nsymbs] < 32); in update_cdf()
|
/external/libaom/libaom/av1/common/ |
D | entropy.c | 54 int cdf_stride, int nsymbs) { in reset_cdf_symbol_counter() argument 56 cdf_ptr[i * cdf_stride + nsymbs] = 0; in reset_cdf_symbol_counter() 60 #define RESET_CDF_COUNTER(cname, nsymbs) \ argument 61 RESET_CDF_COUNTER_STRIDE(cname, nsymbs, CDF_SIZE(nsymbs)) 63 #define RESET_CDF_COUNTER_STRIDE(cname, nsymbs, cdf_stride) \ argument 68 reset_cdf_symbol_counter(cdf_ptr, num_cdfs, cdf_stride, nsymbs); \ 114 int nsymbs = j + PALETTE_MIN_SIZE; in av1_reset_cdf_symbol_counters() local 115 RESET_CDF_COUNTER_STRIDE(fc->palette_y_color_index_cdf[j], nsymbs, in av1_reset_cdf_symbol_counters() 117 RESET_CDF_COUNTER_STRIDE(fc->palette_uv_color_index_cdf[j], nsymbs, in av1_reset_cdf_symbol_counters()
|
/external/libaom/libaom/aom_util/ |
D | debug_util.c | 53 void bitstream_queue_pop(int *result, aom_cdf_prob *cdf, int *nsymbs) { in bitstream_queue_pop() argument 60 *nsymbs = nsymbs_queue[queue_r]; in bitstream_queue_pop() 61 memcpy(cdf, cdf_queue[queue_r], *nsymbs * sizeof(*cdf)); in bitstream_queue_pop() 66 void bitstream_queue_push(int result, const aom_cdf_prob *cdf, int nsymbs) { in bitstream_queue_push() argument 69 nsymbs_queue[queue_w] = nsymbs; in bitstream_queue_push() 70 memcpy(cdf_queue[queue_w], cdf, nsymbs * sizeof(*cdf)); in bitstream_queue_push()
|
D | debug_util.h | 41 void bitstream_queue_pop(int *result, aom_cdf_prob *cdf, int *nsymbs); 42 void bitstream_queue_push(int result, const aom_cdf_prob *cdf, int nsymbs);
|
/external/libaom/libaom/av1/decoder/ |
D | decodetxb.c | 71 const int nsymbs = 4; in read_coeffs_reverse_2d() local 72 int level = aom_read_symbol(r, base_cdf[coeff_ctx], nsymbs, ACCT_STR); in read_coeffs_reverse_2d() 95 const int nsymbs = 4; in read_coeffs_reverse() local 96 int level = aom_read_symbol(r, base_cdf[coeff_ctx], nsymbs, ACCT_STR); in read_coeffs_reverse() 253 const int nsymbs = 3; in av1_read_coeffs_txb() local 256 int level = aom_read_symbol(r, cdf, nsymbs, ACCT_STR) + 1; in av1_read_coeffs_txb()
|
/external/libaom/libaom/av1/encoder/ |
D | encodeframe.c | 4478 int num_cdfs, int cdf_stride, int nsymbs, in avg_cdf_symbol() argument 4481 for (int j = 0; j <= nsymbs; j++) { in avg_cdf_symbol() 4493 #define AVERAGE_CDF(cname_left, cname_tr, nsymbs) \ argument 4494 AVG_CDF_STRIDE(cname_left, cname_tr, nsymbs, CDF_SIZE(nsymbs)) 4496 #define AVG_CDF_STRIDE(cname_left, cname_tr, nsymbs, cdf_stride) \ argument 4502 avg_cdf_symbol(cdf_ptr_left, cdf_ptr_tr, num_cdfs, cdf_stride, nsymbs, \ 4565 int nsymbs = j + PALETTE_MIN_SIZE; in avg_cdf_symbols() local 4567 ctx_tr->palette_y_color_index_cdf[j], nsymbs, in avg_cdf_symbols() 4570 ctx_tr->palette_uv_color_index_cdf[j], nsymbs, in avg_cdf_symbols()
|