}
frame = &framemgr->frames[index];
+ frame->num_buffers = batch_size;
+ frame->planes = image_planes * batch_size;
+ spare = image_planes * batch_size;
/* meta plane */
queue->buf_box[index][spare] = vbuf->ops->plane_cookie(vbuf, image_planes);
goto exit;
}
- frame->num_buffers = batch_size;
- frame->planes = image_planes * batch_size;
- spare = image_planes * batch_size;
-
for (i = 0; i < frame->planes; i++) {
frame->dvaddr_buffer[i] = (u32)queue->buf_dva[index][i];
frame->kvaddr_buffer[i] = queue->buf_kva[index][i];