Lines Matching refs:q_data
478 struct coda_q_data *q_data, u32 fourcc) in coda_alloc_framebuffers() argument
489 ysize = round_up(q_data->rect.width, 16) * in coda_alloc_framebuffers()
490 round_up(q_data->rect.height, 16); in coda_alloc_framebuffers()
492 ysize = round_up(q_data->rect.width, 8) * q_data->rect.height; in coda_alloc_framebuffers()
570 struct coda_q_data *q_data) in coda_alloc_context_buffers() argument
586 if (!ctx->slicebuf.vaddr && q_data->fourcc == V4L2_PIX_FMT_H264) { in coda_alloc_context_buffers()
588 size = (unsigned long)(DIV_ROUND_UP(q_data->rect.width, 16) * in coda_alloc_context_buffers()
589 DIV_ROUND_UP(q_data->rect.height, 16)) * 3200 / 8 + 512; in coda_alloc_context_buffers()
607 q_data->fourcc == V4L2_PIX_FMT_H264) in coda_alloc_context_buffers()
1766 struct coda_q_data *q_data) in coda_alloc_bitstream_buffer() argument
1771 ctx->bitstream.size = roundup_pow_of_two(q_data->sizeimage * 2); in coda_alloc_bitstream_buffer()