Home
last modified time | relevance | path

Searched refs:qtable (Results 1 – 6 of 6) sorted by relevance

/drivers/staging/media/hantro/
Dhantro_mpeg2.c21 void hantro_mpeg2_dec_copy_qtable(u8 *qtable, in hantro_mpeg2_dec_copy_qtable() argument
26 if (!qtable || !ctrl) in hantro_mpeg2_dec_copy_qtable()
31 qtable[n + 0] = ctrl->intra_quantiser_matrix[i]; in hantro_mpeg2_dec_copy_qtable()
32 qtable[n + 64] = ctrl->non_intra_quantiser_matrix[i]; in hantro_mpeg2_dec_copy_qtable()
33 qtable[n + 128] = ctrl->chroma_intra_quantiser_matrix[i]; in hantro_mpeg2_dec_copy_qtable()
34 qtable[n + 192] = ctrl->chroma_non_intra_quantiser_matrix[i]; in hantro_mpeg2_dec_copy_qtable()
42 ctx->mpeg2_dec.qtable.size = ARRAY_SIZE(zigzag) * 4; in hantro_mpeg2_dec_init()
43 ctx->mpeg2_dec.qtable.cpu = in hantro_mpeg2_dec_init()
45 ctx->mpeg2_dec.qtable.size, in hantro_mpeg2_dec_init()
46 &ctx->mpeg2_dec.qtable.dma, in hantro_mpeg2_dec_init()
[all …]
Dhantro_hw.h150 struct hantro_aux_buf qtable; member
289 void hantro_mpeg2_dec_copy_qtable(u8 *qtable,
Drockchip_vpu2_hw_mpeg2_dec.c89 hantro_mpeg2_dec_copy_qtable(ctx->mpeg2_dec.qtable.cpu, q); in rockchip_vpu2_mpeg2_dec_set_quantisation()
90 vdpu_write_relaxed(vpu, ctx->mpeg2_dec.qtable.dma, VDPU_REG_QTABLE_BASE); in rockchip_vpu2_mpeg2_dec_set_quantisation()
Dhantro_g1_mpeg2_dec.c87 hantro_mpeg2_dec_copy_qtable(ctx->mpeg2_dec.qtable.cpu, q); in hantro_g1_mpeg2_dec_set_quantisation()
88 vdpu_write_relaxed(vpu, ctx->mpeg2_dec.qtable.dma, G1_REG_QTABLE_BASE); in hantro_g1_mpeg2_dec_set_quantisation()
/drivers/media/usb/gspca/
Dspca500.c394 const __u8 qtable[2][64]) in spca50x_setup_qtable()
400 err = reg_w(gspca_dev, request, ybase + i, qtable[0][i]); in spca50x_setup_qtable()
407 err = reg_w(gspca_dev, request, cbase + i, qtable[1][i]); in spca50x_setup_qtable()
Dsunplus.c328 const u8 qtable[2][64]) in setup_qtable()
334 reg_w_riv(gspca_dev, 0x00, 0x2800 + i, qtable[0][i]); in setup_qtable()
338 reg_w_riv(gspca_dev, 0x00, 0x2840 + i, qtable[1][i]); in setup_qtable()