Lines Matching refs:fdata

115 		struct hfi_frame_data fdata;  in venus_helper_queue_dpb_bufs()  local
117 memset(&fdata, 0, sizeof(fdata)); in venus_helper_queue_dpb_bufs()
118 fdata.alloc_len = buf->size; in venus_helper_queue_dpb_bufs()
119 fdata.device_addr = buf->da; in venus_helper_queue_dpb_bufs()
120 fdata.buffer_type = buf->type; in venus_helper_queue_dpb_bufs()
131 fdata.clnt_data = buf->dpb_out_tag; in venus_helper_queue_dpb_bufs()
133 ret = hfi_session_process_buf(inst, &fdata); in venus_helper_queue_dpb_bufs()
504 struct hfi_frame_data fdata; in session_process_buf() local
507 memset(&fdata, 0, sizeof(fdata)); in session_process_buf()
508 fdata.alloc_len = buf->size; in session_process_buf()
509 fdata.device_addr = buf->dma_addr; in session_process_buf()
510 fdata.timestamp = vb->timestamp; in session_process_buf()
511 do_div(fdata.timestamp, NSEC_PER_USEC); in session_process_buf()
512 fdata.flags = 0; in session_process_buf()
513 fdata.clnt_data = vbuf->vb2_buf.index; in session_process_buf()
516 fdata.buffer_type = HFI_BUFFER_INPUT; in session_process_buf()
517 fdata.filled_len = vb2_get_plane_payload(vb, 0); in session_process_buf()
518 fdata.offset = vb->planes[0].data_offset; in session_process_buf()
520 if (vbuf->flags & V4L2_BUF_FLAG_LAST || !fdata.filled_len) in session_process_buf()
521 fdata.flags |= HFI_BUFFERFLAG_EOS; in session_process_buf()
529 fdata.buffer_type = HFI_BUFFER_OUTPUT; in session_process_buf()
531 fdata.buffer_type = inst->opb_buftype; in session_process_buf()
532 fdata.filled_len = 0; in session_process_buf()
533 fdata.offset = 0; in session_process_buf()
536 ret = hfi_session_process_buf(inst, &fdata); in session_process_buf()