Home
last modified time | relevance | path

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

/Linux-v5.4/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.h99 struct hantro_aux_buf qtable; member
170 void hantro_mpeg2_dec_copy_qtable(u8 *qtable,
Dhantro_g1_mpeg2_dec.c92 hantro_mpeg2_dec_copy_qtable(ctx->mpeg2_dec.qtable.cpu, in hantro_g1_mpeg2_dec_set_quantization()
94 vdpu_write_relaxed(vpu, ctx->mpeg2_dec.qtable.dma, in hantro_g1_mpeg2_dec_set_quantization()
Drk3399_vpu_hw_mpeg2_dec.c94 hantro_mpeg2_dec_copy_qtable(ctx->mpeg2_dec.qtable.cpu, quantization); in rk3399_vpu_mpeg2_dec_set_quantization()
95 vdpu_write_relaxed(vpu, ctx->mpeg2_dec.qtable.dma, in rk3399_vpu_mpeg2_dec_set_quantization()
/Linux-v5.4/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.c324 const u8 qtable[2][64]) in setup_qtable()
330 reg_w_riv(gspca_dev, 0x00, 0x2800 + i, qtable[0][i]); in setup_qtable()
334 reg_w_riv(gspca_dev, 0x00, 0x2840 + i, qtable[1][i]); in setup_qtable()