Lines Matching refs:qtable
21 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()
48 if (!ctx->mpeg2_dec.qtable.cpu) in hantro_mpeg2_dec_init()
58 ctx->mpeg2_dec.qtable.size, in hantro_mpeg2_dec_exit()
59 ctx->mpeg2_dec.qtable.cpu, in hantro_mpeg2_dec_exit()
60 ctx->mpeg2_dec.qtable.dma); in hantro_mpeg2_dec_exit()