• Home
  • Raw
  • Download

Lines Matching refs:dst_buf

187 	struct s5p_mfc_buf *dst_buf;  in s5p_mfc_handle_frame_all_extracted()  local
193 dst_buf = list_entry(ctx->dst_queue.next, in s5p_mfc_handle_frame_all_extracted()
196 dst_buf->b->vb2_buf.index); in s5p_mfc_handle_frame_all_extracted()
197 vb2_set_plane_payload(&dst_buf->b->vb2_buf, 0, 0); in s5p_mfc_handle_frame_all_extracted()
198 vb2_set_plane_payload(&dst_buf->b->vb2_buf, 1, 0); in s5p_mfc_handle_frame_all_extracted()
199 list_del(&dst_buf->list); in s5p_mfc_handle_frame_all_extracted()
200 dst_buf->flags |= MFC_BUF_FLAG_EOS; in s5p_mfc_handle_frame_all_extracted()
202 dst_buf->b->sequence = (ctx->sequence++); in s5p_mfc_handle_frame_all_extracted()
206 dst_buf->b->field = V4L2_FIELD_NONE; in s5p_mfc_handle_frame_all_extracted()
208 dst_buf->b->field = V4L2_FIELD_INTERLACED; in s5p_mfc_handle_frame_all_extracted()
209 dst_buf->b->flags |= V4L2_BUF_FLAG_LAST; in s5p_mfc_handle_frame_all_extracted()
211 ctx->dec_dst_flag &= ~(1 << dst_buf->b->vb2_buf.index); in s5p_mfc_handle_frame_all_extracted()
212 vb2_buffer_done(&dst_buf->b->vb2_buf, VB2_BUF_STATE_DONE); in s5p_mfc_handle_frame_all_extracted()
219 struct s5p_mfc_buf *dst_buf, *src_buf; in s5p_mfc_handle_frame_copy_time() local
232 list_for_each_entry(dst_buf, &ctx->dst_queue, list) { in s5p_mfc_handle_frame_copy_time()
233 if (vb2_dma_contig_plane_dma_addr(&dst_buf->b->vb2_buf, 0) in s5p_mfc_handle_frame_copy_time()
235 dst_buf->b->timecode = in s5p_mfc_handle_frame_copy_time()
237 dst_buf->b->timestamp = in s5p_mfc_handle_frame_copy_time()
239 dst_buf->b->flags &= in s5p_mfc_handle_frame_copy_time()
241 dst_buf->b->flags |= in s5p_mfc_handle_frame_copy_time()
246 dst_buf->b->flags |= in s5p_mfc_handle_frame_copy_time()
250 dst_buf->b->flags |= in s5p_mfc_handle_frame_copy_time()
254 dst_buf->b->flags |= in s5p_mfc_handle_frame_copy_time()
271 struct s5p_mfc_buf *dst_buf; in s5p_mfc_handle_frame_new() local
293 list_for_each_entry(dst_buf, &ctx->dst_queue, list) { in s5p_mfc_handle_frame_new()
295 if (vb2_dma_contig_plane_dma_addr(&dst_buf->b->vb2_buf, 0) in s5p_mfc_handle_frame_new()
297 list_del(&dst_buf->list); in s5p_mfc_handle_frame_new()
299 dst_buf->b->sequence = ctx->sequence; in s5p_mfc_handle_frame_new()
304 dst_buf->b->field = V4L2_FIELD_NONE; in s5p_mfc_handle_frame_new()
306 dst_buf->b->field = in s5p_mfc_handle_frame_new()
308 vb2_set_plane_payload(&dst_buf->b->vb2_buf, 0, in s5p_mfc_handle_frame_new()
310 vb2_set_plane_payload(&dst_buf->b->vb2_buf, 1, in s5p_mfc_handle_frame_new()
312 clear_bit(dst_buf->b->vb2_buf.index, in s5p_mfc_handle_frame_new()
315 vb2_buffer_done(&dst_buf->b->vb2_buf, err ? in s5p_mfc_handle_frame_new()