PD#SWPL-5313
Problem:
Decoder V4L2 interface Phase3(AFBC&MMU Support)
Solution:
1. add a member private for struct vb2_v4l2_buffer
2. add vframe type VIDTYPE_V4L_EOS
Verify:
u212
Change-Id: Iaa1f8c9a09845248f5012b90beda82ec487a2afd
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
(cherry picked from commit
035c54e5c273a23462d399a1507cfaff45be440e)
b->timestamp = ns_to_timeval(vb->timestamp);
b->timecode = vbuf->timecode;
b->sequence = vbuf->sequence;
- b->reserved2 = 0;
+ b->reserved2 = vbuf->private;
b->reserved = 0;
if (q->is_multiplanar) {
#define VIDTYPE_SUPPORT_COMPRESS 0x8000000
#define VIDTYPE_PRE_DI_AFBC 0x10000000
#define VIDTYPE_RGB_444 0x20000000
+#define VIDTYPE_V4L_EOS 0x80000000
/* 2019-04-22 Suggestions from brian.zhu*/
#define VIDTYPE_DI_PW 0x40000000
__u32 field;
struct v4l2_timecode timecode;
__u32 sequence;
+ __u32 private;
};
/*