Lines Matching refs:jpeg_qmat_tab

225 		{ 512, ctx->params.jpeg_qmat_tab[0], 64 },  in coda_jpeg_write_tables()
226 { 576, ctx->params.jpeg_qmat_tab[1], 64 }, in coda_jpeg_write_tables()
227 { 640, ctx->params.jpeg_qmat_tab[1], 64 }, in coda_jpeg_write_tables()
331 if (!ctx->params.jpeg_qmat_tab[i]) { in coda_jpeg_decode_header()
332 ctx->params.jpeg_qmat_tab[i] = kmalloc(64, GFP_KERNEL); in coda_jpeg_decode_header()
333 if (!ctx->params.jpeg_qmat_tab[i]) in coda_jpeg_decode_header()
336 memcpy(ctx->params.jpeg_qmat_tab[i], in coda_jpeg_decode_header()
475 u8 **qmat_tab = ctx->params.jpeg_qmat_tab; in coda9_jpeg_qmat_setup()
804 luma_tab = ctx->params.jpeg_qmat_tab[0]; in coda9_jpeg_load_qmat_tab()
808 chroma_tab = ctx->params.jpeg_qmat_tab[1]; in coda9_jpeg_load_qmat_tab()
865 ctx->params.jpeg_qmat_tab[index], 64, in coda_jpeg_define_quantization_table()
1031 if (ctx->params.jpeg_qmat_tab[0]) { in coda_set_jpeg_compression_quality()
1032 memcpy(ctx->params.jpeg_qmat_tab[0], luma_q, 64); in coda_set_jpeg_compression_quality()
1033 coda_scale_quant_table(ctx->params.jpeg_qmat_tab[0], scale); in coda_set_jpeg_compression_quality()
1035 if (ctx->params.jpeg_qmat_tab[1]) { in coda_set_jpeg_compression_quality()
1036 memcpy(ctx->params.jpeg_qmat_tab[1], chroma_q, 64); in coda_set_jpeg_compression_quality()
1037 coda_scale_quant_table(ctx->params.jpeg_qmat_tab[1], scale); in coda_set_jpeg_compression_quality()
1055 if (!ctx->params.jpeg_qmat_tab[0]) { in coda9_jpeg_start_encoding()
1056 ctx->params.jpeg_qmat_tab[0] = kmalloc(64, GFP_KERNEL); in coda9_jpeg_start_encoding()
1057 if (!ctx->params.jpeg_qmat_tab[0]) in coda9_jpeg_start_encoding()
1060 if (!ctx->params.jpeg_qmat_tab[1]) { in coda9_jpeg_start_encoding()
1061 ctx->params.jpeg_qmat_tab[1] = kmalloc(64, GFP_KERNEL); in coda9_jpeg_start_encoding()
1062 if (!ctx->params.jpeg_qmat_tab[1]) in coda9_jpeg_start_encoding()
1288 if (ctx->params.jpeg_qmat_tab[0] == luma_q) in coda9_jpeg_release()
1289 ctx->params.jpeg_qmat_tab[0] = NULL; in coda9_jpeg_release()
1290 if (ctx->params.jpeg_qmat_tab[1] == chroma_q) in coda9_jpeg_release()
1291 ctx->params.jpeg_qmat_tab[1] = NULL; in coda9_jpeg_release()
1293 kfree(ctx->params.jpeg_qmat_tab[i]); in coda9_jpeg_release()
1316 ctx->params.jpeg_qmat_tab[0] = luma_q; in coda9_jpeg_start_decoding()
1317 ctx->params.jpeg_qmat_tab[1] = chroma_q; in coda9_jpeg_start_decoding()