Skip to contentSkip to conversation

Enhance MPEG2 video decoder frame API

PATCH New Hugues Fruchet 1 participant 2 messages Oct 7, 2016 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Enhance MPEG2 video decoder frame API

This patchset refine the original MPEG2 controls introduced by Florent Revest in [1] by adding support of various MPEG2 extensions, including frame & field interlaced bistream.
This is a work in progress in order to start discussion around V4L2 frame API standardisation.

[1] http://www.spinics.net/lists/linux-media/msg104824.html

Hugues Fruchet (1):
[media] v4l2-ctrls: add mpeg2 parser metadata

 drivers/media/v4l2-core/v4l2-ctrls.c |   2 +-
 include/uapi/linux/v4l2-controls.h   | 163 +++++++++++++++++++++++++++++------
 2 files changed, 140 insertions(+), 25 deletions(-)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 v4l2-ctrls: add mpeg2 parser metadata

---
 drivers/media/v4l2-core/v4l2-ctrls.c |   2 +-
 include/uapi/linux/v4l2-controls.h   | 163 +++++++++++++++++++++++++++++------
 2 files changed, 140 insertions(+), 25 deletions(-)
drivers/media/v4l2-core/v4l2-ctrls.c +1 -1
index c8bc4d4..6187dfc 100644
@@ -2115,7 +2115,7 @@ static struct v4l2_ctrl *v4l2_ctrl_new(struct v4l2_ctrl_handler *hdl,
 		elem_size = sizeof(u32);
 		break;
 	case V4L2_CTRL_TYPE_MPEG2_FRAME_HDR:
-		elem_size = sizeof(struct v4l2_ctrl_mpeg2_frame_hdr);
+		elem_size = sizeof(struct v4l2_ctrl_mpeg2_meta);
 		break;
 	default:
 		if (type < V4L2_CTRL_COMPOUND_TYPES)
include/uapi/linux/v4l2-controls.h +139 -24

173 lines not on this page · raw message

Signature · 1 line
1.9.1