From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([85.220.165.71]:34793 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727000AbeGSLOv (ORCPT ); Thu, 19 Jul 2018 07:14:51 -0400 Message-ID: <1531996340.3755.5.camel@pengutronix.de> Subject: Re: [PATCH] media: coda: add missing h.264 levels From: Philipp Zabel To: linux-media@vger.kernel.org, Hans Verkuil Cc: kernel@pengutronix.de Date: Thu, 19 Jul 2018 12:32:20 +0200 In-Reply-To: <20180628110147.24428-1-p.zabel@pengutronix.de> References: <20180628110147.24428-1-p.zabel@pengutronix.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Hi, On Thu, 2018-06-28 at 13:01 +0200, Philipp Zabel wrote: > This enables reordering support for h.264 main profile level 4.2, > 5.0, and 5.1 streams. Even though we likely can't play back such > streams at full speed, we should still recognize them correctly. > > Signed-off-by: Philipp Zabel > --- > drivers/media/platform/coda/coda-h264.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/media/platform/coda/coda-h264.c b/drivers/media/platform/coda/coda-h264.c > index 0e27412e01f5..07b4c706504f 100644 > --- a/drivers/media/platform/coda/coda-h264.c > +++ b/drivers/media/platform/coda/coda-h264.c > @@ -108,6 +108,9 @@ int coda_h264_level(int level_idc) > case 32: return V4L2_MPEG_VIDEO_H264_LEVEL_3_2; > case 40: return V4L2_MPEG_VIDEO_H264_LEVEL_4_0; > case 41: return V4L2_MPEG_VIDEO_H264_LEVEL_4_1; > + case 42: return V4L2_MPEG_VIDEO_H264_LEVEL_4_2; > + case 50: return V4L2_MPEG_VIDEO_H264_LEVEL_5_0; > + case 51: return V4L2_MPEG_VIDEO_H264_LEVEL_5_1; > default: return -EINVAL; > } > } I've seen that some newer coda patches have been accepted already, maybe this fell through the cracks? regards Philipp