[media] v4l: Copy timestamp source flags to destination on m2m devices
Copy the flags containing the timestamp source from source buffer flags to the destination buffer flags on memory-to-memory devices. This is analogous to copying the timestamp field from source to destination. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Bu işleme şunda yer alıyor:

işlemeyi yapan:
Mauro Carvalho Chehab

ebeveyn
599b08929e
işleme
309f4d62ed
@@ -90,6 +90,10 @@ void gsc_m2m_job_finish(struct gsc_ctx *ctx, int vb_state)
|
||||
if (src_vb && dst_vb) {
|
||||
dst_vb->v4l2_buf.timestamp = src_vb->v4l2_buf.timestamp;
|
||||
dst_vb->v4l2_buf.timecode = src_vb->v4l2_buf.timecode;
|
||||
dst_vb->v4l2_buf.flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK;
|
||||
dst_vb->v4l2_buf.flags |=
|
||||
src_vb->v4l2_buf.flags
|
||||
& V4L2_BUF_FLAG_TSTAMP_SRC_MASK;
|
||||
|
||||
v4l2_m2m_buf_done(src_vb, vb_state);
|
||||
v4l2_m2m_buf_done(dst_vb, vb_state);
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle