Home
last modified time | relevance | path

Searched refs:cb_offset (Results 1 – 16 of 16) sorted by relevance

/external/libaom/libaom/aom_dsp/
Dgrain_synthesis.h70 int cb_offset; // 9 bits member
139 if (pa->cb_offset != pb->cb_offset) return 0; in av1_check_grain_params_equiv()
Dgrain_synthesis.c583 int cb_offset = params->cb_offset - 256; in add_noise_to_block() local
600 cb_offset = 0; in add_noise_to_block()
646 cb_offset, in add_noise_to_block()
697 int cb_offset = (params->cb_offset << (bit_depth - 8)) - (1 << bit_depth); in add_noise_to_block_hbd() local
717 cb_offset = 0; in add_noise_to_block_hbd()
763 cb_offset, in add_noise_to_block_hbd()
Dgrain_table.c60 &pars->cb_mult, &pars->cb_luma_mult, &pars->cb_offset, in grain_table_entry_read()
148 pars->cb_offset, pars->cr_mult, pars->cr_luma_mult, in grain_table_entry_write()
Dnoise_model.c1263 film_grain->cb_offset = 256; // 9 bits in aom_noise_model_get_grain_parameters()
/external/libaom/libaom/test/
Dfilm_grain_table_test.cc63 EXPECT_EQ(expected->cb_offset, actual->cb_offset); in grain_equal()
Dnoise_model_test.cc1143 EXPECT_EQ(256, film_grain.cb_offset); in TEST()
/external/libaom/libaom/av1/encoder/
Dblock.h81 int cb_offset; member
335 uint16_t cb_offset; member
Dencodetxb.c83 x->mbmi_ext->cb_offset = x->cb_offset; in av1_set_coeff_buffer()
84 assert(x->cb_offset < (1 << num_pels_log2_lookup[cm->seq_params.sb_size])); in av1_set_coeff_buffer()
642 x->mbmi_ext->cb_offset / (TX_SIZE_W_MIN * TX_SIZE_H_MIN);
644 x->mbmi_ext->cb_coef_buff->tcoeff[plane] + x->mbmi_ext->cb_offset;
2012 x->mbmi_ext->cb_offset / (TX_SIZE_W_MIN * TX_SIZE_H_MIN);
2025 x->mbmi_ext->cb_coef_buff->tcoeff[plane] + x->mbmi_ext->cb_offset;
Dbitstream.c373 x->mbmi_ext->cb_offset / (TX_SIZE_W_MIN * TX_SIZE_H_MIN); in pack_txb_tokens()
375 x->mbmi_ext->cb_coef_buff->tcoeff[plane] + x->mbmi_ext->cb_offset; in pack_txb_tokens()
2546 aom_wb_write_literal(wb, pars->cb_offset, 9); in write_film_grain_params()
Dencodeframe.c1490 x->cb_offset += block_size_wide[bsize] * block_size_high[bsize]; in encode_b()
1941 x->cb_offset = 0; in rd_use_partition()
2107 x->cb_offset = 0; in nonrd_use_partition()
4257 x->cb_offset = 0; in rd_pick_partition()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_transfer.c417 uint32_t cb_offset = nv50->constbuf[s][i].offset; in nv50_cb_push() local
420 if (cb_offset <= offset && in nv50_cb_push()
421 cb_offset + nv50->constbuf[s][i].size >= offset + words * 4) { in nv50_cb_push()
/external/minigbm/cros_gralloc/gralloc0/tests/
Dgralloctest.c542 uintptr_t y_size, c_stride, c_size, cr_offset, cb_offset; in test_yuv_info() local
568 cb_offset = y_size + c_size; in test_yuv_info()
582 CHECK(cb_offset == (uintptr_t)info.ycbcr.cb); in test_yuv_info()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_transfer.c551 uint32_t cb_offset = nvc0->constbuf[s][i].offset; in nvc0_cb_push() local
554 if (cb_offset <= offset && in nvc0_cb_push()
555 cb_offset + nvc0->constbuf[s][i].size >= offset + words * 4) { in nvc0_cb_push()
/external/libaom/libaom/av1/decoder/
Ddecodetxb.c123 tran_low_t *const tcoeffs = pd->dqcoeff_block + xd->cb_offset[plane]; in av1_read_coeffs_txb()
Ddecodeframe.c159 tran_low_t *const dqcoeff = pd->dqcoeff_block + xd->cb_offset[plane]; in inverse_transform_block()
279 xd->cb_offset[plane] += tx_size_wide[tx_size] * tx_size_high[tx_size]; in set_cb_buffer_offsets()
281 xd->cb_offset[plane] / (TX_SIZE_W_MIN * TX_SIZE_H_MIN); in set_cb_buffer_offsets()
2867 xd->cb_offset[plane] = 0; in set_cb_buffer()
4372 pars->cb_offset = aom_rb_read_literal(rb, 9); in av1_read_film_grain_params()
/external/libaom/libaom/av1/common/
Dblockd.h588 uint16_t cb_offset[MAX_MB_PLANE]; member