[Patch v7 00/12] Add MFC v10.10 support

2018-01-24 Thread Smitha T Murthy
/samsung.git for-v4.16/media/next. - Applied r-o-b from Andrzej, Stanimir on respective patches. - Applied acked-by from Kamil, Hans on respective patches. Smitha T Murthy (12): [media] s5p-mfc: Rename IS_MFCV8 macro [media] s5p-mfc: Adding initial support for MFC v10.10 [media] s5p-mfc: Use

[Patch v7 08/12] [media] s5p-mfc: Add support for HEVC decoder

2018-01-24 Thread Smitha T Murthy
Add support for codec definition and corresponding buffer requirements for HEVC decoder. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda Acked-by: Hans Verkuil --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 1 + drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c | 3

[Patch v7 11/12] [media] s5p-mfc: Add support for HEVC encoder

2018-01-24 Thread Smitha T Murthy
Add HEVC encoder support and necessary registers, V4L2 CIDs, and hevc encoder parameters Signed-off-by: Smitha T Murthy Acked-by: Hans Verkuil --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 28 +- drivers/media/platform/s5p-mfc/s5p_mfc.c| 1 + drivers/media/platform/s5p-mfc

[Patch v7 09/12] [media] s5p-mfc: Add VP9 decoder support

2018-01-24 Thread Smitha T Murthy
Add support for codec definition and corresponding buffer requirements for VP9 decoder. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda Acked-by: Hans Verkuil --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 6 ++ drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c | 3

[Patch v7 12/12] Documention: v4l: Documentation for HEVC CIDs

2018-01-24 Thread Smitha T Murthy
Added V4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy --- Documentation/media/uapi/v4l/extended-controls.rst | 400 + 1 file changed, 400 insertions(+) diff --git a/Documentation/media/uapi/v4l/extended-controls.rst b/Documentation/media/uapi/v4l/extended

[Patch v7 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2018-01-24 Thread Smitha T Murthy
Add v4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/v4l2-core/v4l2-ctrls.c | 119 +++ include/uapi/linux/v4l2-controls.h | 93 ++- 2 files changed, 211 insertions(+), 1

[Patch v7 07/12] Documentation: v4l: Documentation for HEVC v4l2 definition

2018-01-24 Thread Smitha T Murthy
Add V4L2 definition for HEVC compressed format which is also known as H.265. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda Reviewed-by: Stanimir Varbanov Acked-by: Hans Verkuil --- Documentation/media/uapi/v4l/pixfmt-compressed.rst | 5 + 1 file changed, 5 insertions(+) diff

[Patch v7 04/12] [media] s5p-mfc: Support MFCv10.10 buffer requirements

2018-01-24 Thread Smitha T Murthy
Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size for MFCv10.10. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda Acked-by: Kamil Debski Acked-by: Hans Verkuil --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 19 + drivers/media/platform/s5p-mfc

[Patch v7 06/12] [media] v4l2-ioctl: add HEVC format description

2018-01-24 Thread Smitha T Murthy
HEVC is a video coding format Signed-off-by: Smitha T Murthy Reviewed-by: Stanimir Varbanov Acked-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index

[Patch v7 03/12] [media] s5p-mfc: Use min scratch buffer size as provided by F/W

2018-01-24 Thread Smitha T Murthy
After MFC v8.0, mfc f/w lets the driver know how much scratch buffer size is required for decoder. If mfc f/w has the functionality, E_MIN_SCRATCH_BUFFER_SIZE, driver can know how much scratch buffer size is required for encoder too. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda

[Patch v7 05/12] [media] videodev2.h: Add v4l2 definition for HEVC

2018-01-24 Thread Smitha T Murthy
Add V4L2 definition for HEVC compressed format Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda Reviewed-by: Stanimir Varbanov Acked-by: Hans Verkuil --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi

[Patch v7 02/12] [media] s5p-mfc: Adding initial support for MFC v10.10

2018-01-24 Thread Smitha T Murthy
Adding the support for MFC v10.10, with new register file and necessary hw control, decoder, encoder and structural changes. CC: Rob Herring CC: devicet...@vger.kernel.org Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda Acked-by: Rob Herring Acked-by: Hans Verkuil

[Patch v7 01/12] [media] s5p-mfc: Rename IS_MFCV8 macro

2018-01-24 Thread Smitha T Murthy
This patch renames macro IS_MFCV8 to IS_MFCV8_PLUS so that the MFCv8 code can be resued for MFCv10.10 support. Since the MFCv8 specific code holds good for MFC v10.10 also. Signed-off-by: Smitha T Murthy Acked-by: Andrzej Hajda Acked-by: Hans Verkuil --- drivers/media/platform/s5p-mfc

Re: [Patch v6 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2018-01-22 Thread Smitha T Murthy
On Mon, 2018-01-22 at 12:08 +0100, Hans Verkuil wrote: > On 08/12/17 10:08, Smitha T Murthy wrote: > > Add v4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > --- > > dri

Re: [Patch v6 12/12] Documention: v4l: Documentation for HEVC CIDs

2018-01-22 Thread Smitha T Murthy
On Mon, 2018-01-22 at 13:15 +0100, Hans Verkuil wrote: > On 08/12/17 10:08, Smitha T Murthy wrote: > > Added V4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > --- > > Documentation/media/uapi/v4l/extended-controls.rst | 395 > > ++

Re: [Patch v6 00/12] Add MFC v10.10 support

2018-01-22 Thread Smitha T Murthy
once it's posted and this can be merged > for 4.17. > > Regards, > > Hans > Thank you so much for the review. I will update the same by this week and post. Regards, Smitha > On 08/12/17 10:08, Smitha T Murthy wrote: > > This patch series adds MFC v10.

Re: [Patch v7 12/12] Documention: v4l: Documentation for HEVC CIDs

2018-01-29 Thread Smitha T Murthy
On Wed, 2018-01-24 at 15:16 +0100, Hans Verkuil wrote: > On 24/01/18 11:59, Smitha T Murthy wrote: > > Added V4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > --- > > Documentation/media/uapi/v4l/extended-controls.rst | 400 > > ++

Re: [Patch v7 12/12] Documention: v4l: Documentation for HEVC CIDs

2018-01-29 Thread Smitha T Murthy
On Mon, 2018-01-29 at 14:27 +0100, Hans Verkuil wrote: > On 01/29/2018 01:42 PM, Smitha T Murthy wrote: > > On Wed, 2018-01-24 at 15:16 +0100, Hans Verkuil wrote: > >> On 24/01/18 11:59, Smitha T Murthy wrote: > >>> Added V4l2 controls for HEVC encoder > >>

Re: [Patch v7 12/12] Documention: v4l: Documentation for HEVC CIDs

2018-01-29 Thread Smitha T Murthy
On Mon, 2018-01-29 at 14:27 +0100, Hans Verkuil wrote: > On 01/29/2018 01:42 PM, Smitha T Murthy wrote: > > On Wed, 2018-01-24 at 15:16 +0100, Hans Verkuil wrote: > >> On 24/01/18 11:59, Smitha T Murthy wrote: > >>> Added V4l2 controls for HEVC encoder > >>

Re: [Patch v6 02/12] [media] s5p-mfc: Adding initial support for MFC v10.10

2018-01-18 Thread Smitha T Murthy
On Fri, 2017-12-08 at 14:25 +0100, Philippe Ombredanne wrote: > Smitha, > > On Fri, Dec 8, 2017 at 10:08 AM, Smitha T Murthy wrote: > > Adding the support for MFC v10.10, with new register file and > > necessary hw control, decoder, encoder and structural changes. > >

[PATCH] [media] s5p-mfc: Align stream buffer and CPB buffer to 512

2017-01-18 Thread Smitha T Murthy
>From MFCv6 onwards encoder stream buffer and decoder CPB buffer need to be aligned with 512. Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c |9 + drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.h |3 +++ 2 files changed, 12 insertions(+)

[PATCH 01/11] [media] s5p-mfc: Rename IS_MFCV8 macro

2017-01-18 Thread Smitha T Murthy
This patch renames macro IS_MFCV8 to IS_MFCV8_PLUS so that the MFCv8 code can be resued for MFCv10.10 support. Since the MFCv8 specific code holds good for MFC v10.10 also. Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p-mfc/s5p_mfc_common.h |2 +- drivers/media/platform/s5p

[PATCH 09/11] [media] s5p-mfc: Add support for HEVC encoder

2017-01-18 Thread Smitha T Murthy
Add HEVC encoder support and necessary registers, V4L2 CIDs, and hevc encoder parameters Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 28 +- drivers/media/platform/s5p-mfc/s5p_mfc.c|1 + drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c |3

[PATCH 02/11] [media] s5p-mfc: Adding initial support for MFC v10.10

2017-01-18 Thread Smitha T Murthy
Adding the support for MFC v10.10, with new register file and necessary hw control, decoder, encoder and structural changes. CC: Rob Herring CC: devicet...@vger.kernel.org Signed-off-by: Smitha T Murthy --- .../devicetree/bindings/media/s5p-mfc.txt |1 + drivers/media/platform

[PATCH 04/11] [media] s5p-mfc: Support MFCv10.10 buffer requirements

2017-01-18 Thread Smitha T Murthy
Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size for MFCv10.10. Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 13 +++ drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | 97 ++- drivers/media/platform/s5p-mfc

[PATCH 11/11] Documention: v4l: Documentation for HEVC CIDs

2017-01-18 Thread Smitha T Murthy
Added V4l2 controls for HEVC encoder CC: Laurent Pinchart Signed-off-by: Smitha T Murthy --- Documentation/media/uapi/v4l/extended-controls.rst | 190 1 files changed, 190 insertions(+), 0 deletions(-) diff --git a/Documentation/media/uapi/v4l/extended-controls.rst b

[PATCH 10/11] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-01-18 Thread Smitha T Murthy
Add v4l2 controls for HEVC encoder CC: Hans Verkuil CC: Wu-Cheng Li CC: Kieran Bingham CC: Vladimir Zapolskiy CC: Laurent Pinchart Signed-off-by: Smitha T Murthy --- drivers/media/v4l2-core/v4l2-ctrls.c | 51 include/uapi/linux/v4l2-controls.h | 109

[PATCH 06/11] [media] videodev2.h: Add v4l2 definition for HEVC

2017-01-18 Thread Smitha T Murthy
Add V4L2 definition for HEVC compressed format Signed-off-by: Smitha T Murthy --- include/uapi/linux/videodev2.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 46e8a2e3..620e941 100644 --- a/include

[PATCH 00/11] Add MFC v10.10 support

2017-01-18 Thread Smitha T Murthy
requirement for V8 onwards This patch series is created on top of krzk/for-next and following patch [1] [1]: https://lkml.org/lkml/2017/1/18/136 Smitha T Murthy (11): [media] s5p-mfc: Rename IS_MFCV8 macro [media] s5p-mfc: Adding initial support for MFC v10.10 [media] s5p-mfc: Use min

[PATCH 03/11] [media] s5p-mfc: Use min scratch buffer size

2017-01-18 Thread Smitha T Murthy
After MFC v8.0, mfc f/w lets the driver know how much scratch buffer size is required for decoder. If mfc f/w has the functionality, E_MIN_SCRATCH_BUFFER_SIZE, driver can know how much scratch buffer size is required for encoder too. Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p

[PATCH 08/11] [media] s5p-mfc: Add VP9 decoder support

2017-01-18 Thread Smitha T Murthy
Add support for codec definition and corresponding buffer requirements for VP9 decoder. Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h |6 + drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c |3 ++ drivers/media/platform/s5p-mfc/s5p_mfc_common.h

[PATCH 05/11] [media] s5p-mfc: Add support for HEVC decoder

2017-01-18 Thread Smitha T Murthy
Add support for codec definition and corresponding buffer requirements for HEVC decoder. Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h |3 +++ drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c |3 +++ drivers/media/platform/s5p-mfc/s5p_mfc_common.h

Re: [PATCH 02/11] [media] s5p-mfc: Adding initial support for MFC v10.10

2017-01-31 Thread Smitha T Murthy
On Wed, 2017-01-18 at 16:10 +0100, Andrzej Hajda wrote: > On 18.01.2017 11:02, Smitha T Murthy wrote: > > Adding the support for MFC v10.10, with new register file and > > necessary hw control, decoder, encoder and structural changes. > > > > CC: Rob Herring > &g

Re: [PATCH] [media] s5p-mfc: Align stream buffer and CPB buffer to 512

2017-01-31 Thread Smitha T Murthy
On Wed, 2017-01-18 at 15:37 +0100, Andrzej Hajda wrote: > Hi Smitha, > > On 18.01.2017 10:37, Smitha T Murthy wrote: > > >From MFCv6 onwards encoder stream buffer and decoder CPB buffer > > Unexpected char at the beginning. > > > need to be aligned with 512.

Re: [PATCH 01/11] [media] s5p-mfc: Rename IS_MFCV8 macro

2017-01-31 Thread Smitha T Murthy
On Wed, 2017-01-18 at 15:51 +0100, Andrzej Hajda wrote: > On 18.01.2017 11:01, Smitha T Murthy wrote: > > This patch renames macro IS_MFCV8 to IS_MFCV8_PLUS so that the MFCv8 > > code can be resued for MFCv10.10 support. Since the MFCv8 specific code > > holds goo

Re: [Patch v2 02/11] s5p-mfc: Adding initial support for MFC v10.10

2017-03-19 Thread Smitha T Murthy
On Wed, 2017-03-15 at 14:52 -0500, Rob Herring wrote: > On Fri, Mar 03, 2017 at 02:37:07PM +0530, Smitha T Murthy wrote: > > Adding the support for MFC v10.10, with new register file and > > necessary hw control, decoder, encoder and structural changes. > > > > Sig

Re: [Patch v2 02/11] s5p-mfc: Adding initial support for MFC v10.10

2017-03-14 Thread Smitha T Murthy
On Mon, 2017-03-06 at 14:58 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > Adding the support for MFC v10.10, with new register file and > > necessary hw control, decoder, encoder and structural changes. > > > > Signed-off-by: Smitha T Mur

Re: [Patch v2 03/11] s5p-mfc: Use min scratch buffer size as provided by F/W

2017-03-14 Thread Smitha T Murthy
On Mon, 2017-03-06 at 15:18 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > After MFC v8.0, mfc f/w lets the driver know how much scratch buffer > > size is required for decoder. If mfc f/w has the functionality, > > E_MIN_SCRATCH_BUFFER_SIZE

Re: [Patch v2 04/11] s5p-mfc: Support MFCv10.10 buffer requirements

2017-03-14 Thread Smitha T Murthy
On Mon, 2017-03-06 at 15:48 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size > > for MFCv10.10. > > > > Signed-off-by: Smitha T Murthy > > --- > > driver

Re: [Patch v2 09/11] v4l2: Add v4l2 control IDs for HEVC encoder

2017-03-14 Thread Smitha T Murthy
On Tue, 2017-03-07 at 09:48 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > Add v4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > --- > > drivers/media/v4l2-core/v4l2-ctrls.c | 51 + > &

Re: [Patch v2 07/11] Documentation: v4l: Documentation for HEVC v4l2 definition

2017-03-14 Thread Smitha T Murthy
On Tue, 2017-03-07 at 09:39 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > Add V4L2 definition for HEVC compressed format > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > Thank you for the

Re: [Patch v2 05/11] videodev2.h: Add v4l2 definition for HEVC

2017-03-14 Thread Smitha T Murthy
On Mon, 2017-03-06 at 15:52 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > Add V4L2 definition for HEVC compressed format > > > > Signed-off-by: Smitha T Murthy > Reviewed-by: Andrzej Hajda > -- > Regards > Andrzej Thank you

Re: [Patch v2 10/11] s5p-mfc: Add support for HEVC encoder

2017-03-14 Thread Smitha T Murthy
On Tue, 2017-03-07 at 12:33 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > Add HEVC encoder support and necessary registers, V4L2 CIDs, > > and hevc encoder parameters > > > > Signed-off-by: Smitha T Murthy > > --- > > driver

Re: [Patch v2 11/11] Documention: v4l: Documentation for HEVC CIDs

2017-03-14 Thread Smitha T Murthy
On Tue, 2017-03-07 at 13:08 +0100, Andrzej Hajda wrote: > On 03.03.2017 10:07, Smitha T Murthy wrote: > > Added V4l2 controls for HEVC encoder > > It should be rather "Document controls for HEVC encoder" or sth similar. > > In general most of comments are in p

[Patch v2 10/11] s5p-mfc: Add support for HEVC encoder

2017-03-03 Thread Smitha T Murthy
Add HEVC encoder support and necessary registers, V4L2 CIDs, and hevc encoder parameters Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 28 +- drivers/media/platform/s5p-mfc/s5p_mfc.c|1 + drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c |3

[Patch v2 01/11] s5p-mfc: Rename IS_MFCV8 macro

2017-03-03 Thread Smitha T Murthy
This patch renames macro IS_MFCV8 to IS_MFCV8_PLUS so that the MFCv8 code can be resued for MFCv10.10 support. Since the MFCv8 specific code holds good for MFC v10.10 also. Signed-off-by: Smitha T Murthy Acked-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/s5p_mfc_common.h |2

[Patch v2 00/11] Add MFC v10.10 support

2017-03-03 Thread Smitha T Murthy
tches. [1]: http://www.mail-archive.com/linux-media@vger.kernel.org/msg108520.html Smitha T Murthy (11): s5p-mfc: Rename IS_MFCV8 macro s5p-mfc: Adding initial support for MFC v10.10 s5p-mfc: Use min scratch buffer size as provided by F/W s5p-mfc: Support MFCv10.10 buffer require

[Patch v2 04/11] s5p-mfc: Support MFCv10.10 buffer requirements

2017-03-03 Thread Smitha T Murthy
Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size for MFCv10.10. Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 19 + drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | 99 ++- drivers/media/platform/s5p-mfc

[Patch v2 11/11] Documention: v4l: Documentation for HEVC CIDs

2017-03-03 Thread Smitha T Murthy
Added V4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy --- Documentation/media/uapi/v4l/extended-controls.rst | 314 1 files changed, 314 insertions(+), 0 deletions(-) diff --git a/Documentation/media/uapi/v4l/extended-controls.rst b/Documentation/media/uapi

[Patch v2 05/11] videodev2.h: Add v4l2 definition for HEVC

2017-03-03 Thread Smitha T Murthy
Add V4L2 definition for HEVC compressed format Signed-off-by: Smitha T Murthy --- include/uapi/linux/videodev2.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 46e8a2e3..620e941 100644 --- a/include

[Patch v2 08/11] s5p-mfc: Add VP9 decoder support

2017-03-03 Thread Smitha T Murthy
Add support for codec definition and corresponding buffer requirements for VP9 decoder. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h |6 + drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c |3 ++ drivers/media/platform

[Patch v2 09/11] v4l2: Add v4l2 control IDs for HEVC encoder

2017-03-03 Thread Smitha T Murthy
Add v4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy --- drivers/media/v4l2-core/v4l2-ctrls.c | 51 + include/uapi/linux/v4l2-controls.h | 129 ++ 2 files changed, 180 insertions(+), 0 deletions(-) diff --git a/drivers/media/v4l2

[Patch v2 07/11] Documentation: v4l: Documentation for HEVC v4l2 definition

2017-03-03 Thread Smitha T Murthy
Add V4L2 definition for HEVC compressed format Signed-off-by: Smitha T Murthy --- Documentation/media/uapi/v4l/pixfmt-013.rst |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Documentation/media/uapi/v4l/pixfmt-013.rst b/Documentation/media/uapi/v4l/pixfmt-013.rst

[Patch v2 06/11] s5p-mfc: Add support for HEVC decoder

2017-03-03 Thread Smitha T Murthy
Add support for codec definition and corresponding buffer requirements for HEVC decoder. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h |1 + drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c |3 +++ drivers/media/platform

[Patch v2 02/11] s5p-mfc: Adding initial support for MFC v10.10

2017-03-03 Thread Smitha T Murthy
Adding the support for MFC v10.10, with new register file and necessary hw control, decoder, encoder and structural changes. Signed-off-by: Smitha T Murthy CC: Rob Herring CC: devicet...@vger.kernel.org --- .../devicetree/bindings/media/s5p-mfc.txt |1 + drivers/media/platform/s5p

[Patch v2 03/11] s5p-mfc: Use min scratch buffer size as provided by F/W

2017-03-03 Thread Smitha T Murthy
After MFC v8.0, mfc f/w lets the driver know how much scratch buffer size is required for decoder. If mfc f/w has the functionality, E_MIN_SCRATCH_BUFFER_SIZE, driver can know how much scratch buffer size is required for encoder too. Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p

Re: [PATCH 10/11] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-02-12 Thread Smitha T Murthy
Basically I was following the convention used for other codecs in the same file. > > On 18.01.2017 11:02, Smitha T Murthy wrote: > > Add v4l2 controls for HEVC encoder > > > > CC: Hans Verkuil > > CC: Wu-Cheng Li > > CC: Kieran Bingham > > CC: Vladimir

Re: [PATCH 08/11] [media] s5p-mfc: Add VP9 decoder support

2017-02-06 Thread Smitha T Murthy
On Thu, 2017-02-02 at 09:39 +0100, Andrzej Hajda wrote: > On 18.01.2017 11:02, Smitha T Murthy wrote: > > Add support for codec definition and corresponding buffer > > requirements for VP9 decoder. > > > > Signed-off-by: Smitha T Murthy > > --- > > driver

Re: [PATCH 04/11] [media] s5p-mfc: Support MFCv10.10 buffer requirements

2017-02-06 Thread Smitha T Murthy
On Thu, 2017-02-02 at 09:30 +0100, Andrzej Hajda wrote: > Hi Smitha, > > Ups, I have missed this patch, I hope it wont influence the review :) > > > On 18.01.2017 11:02, Smitha T Murthy wrote: > > Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffe

Re: [PATCH 05/11] [media] s5p-mfc: Add support for HEVC decoder

2017-02-06 Thread Smitha T Murthy
On Thu, 2017-02-02 at 09:20 +0100, Andrzej Hajda wrote: > On 02.02.2017 08:58, Andrzej Hajda wrote: > > On 18.01.2017 11:02, Smitha T Murthy wrote: > >> Add support for codec definition and corresponding buffer > >> requirements for HEVC decoder. > >>

Re: [PATCH 02/11] [media] s5p-mfc: Adding initial support for MFC v10.10

2017-02-06 Thread Smitha T Murthy
On Sat, 2017-01-21 at 14:28 -0600, Rob Herring wrote: > On Wed, Jan 18, 2017 at 03:32:00PM +0530, Smitha T Murthy wrote: > > Adding the support for MFC v10.10, with new register file and > > necessary hw control, decoder, encoder and structural changes. > > > > CC: R

Re: [PATCH 06/11] [media] videodev2.h: Add v4l2 definition for HEVC

2017-02-06 Thread Smitha T Murthy
On Thu, 2017-02-02 at 09:34 +0100, Andrzej Hajda wrote: > On 18.01.2017 11:02, Smitha T Murthy wrote: > > Add V4L2 definition for HEVC compressed format > > > > Signed-off-by: Smitha T Murthy > Beside small nitpick. > > Reviewed-by: Andrzej Hajda > > >

Re: [PATCH 09/11] [media] s5p-mfc: Add support for HEVC encoder

2017-02-06 Thread Smitha T Murthy
On Thu, 2017-02-02 at 09:55 +0100, Andrzej Hajda wrote: > On 18.01.2017 11:02, Smitha T Murthy wrote: > > Add HEVC encoder support and necessary registers, V4L2 CIDs, > > and hevc encoder parameters > > > > Signed-off-by: Smitha T Murthy > > --- > > driver

Re: [PATCH 03/11] [media] s5p-mfc: Use min scratch buffer size

2017-02-06 Thread Smitha T Murthy
On Thu, 2017-02-02 at 08:16 +0100, Andrzej Hajda wrote: > On 18.01.2017 11:02, Smitha T Murthy wrote: > > After MFC v8.0, mfc f/w lets the driver know how much scratch buffer > > size is required for decoder. If mfc f/w has the functionality, > > E_MIN_SCRATCH_BUFFER_SIZE

Re: [PATCH 05/11] [media] s5p-mfc: Add support for HEVC decoder

2017-02-06 Thread Smitha T Murthy
On Thu, 2017-02-02 at 08:58 +0100, Andrzej Hajda wrote: > On 18.01.2017 11:02, Smitha T Murthy wrote: > > Add support for codec definition and corresponding buffer > > requirements for HEVC decoder. > > > > Signed-off-by: Smitha T Murthy > > --- > > driver

Re: [Patch v2 10/11] s5p-mfc: Add support for HEVC encoder

2017-03-27 Thread Smitha T Murthy
On Mon, 2017-03-27 at 14:09 +0200, Andrzej Hajda wrote: > Hi Smitha, > > Sorry for late reply, it seems I have missed this email. > > > On 14.03.2017 12:41, Smitha T Murthy wrote: > > On Tue, 2017-03-07 at 12:33 +0100, Andrzej Hajda wrote: > >> On 03.03.

Re: [Patch v3 04/11] [media] s5p-mfc: Support MFCv10.10 buffer requirements

2017-04-03 Thread Smitha T Murthy
On Mon, 2017-04-03 at 09:41 +0200, Andrzej Hajda wrote: > On 31.03.2017 11:06, Smitha T Murthy wrote: > > Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size > > for MFCv10.10. > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrze

Re: [Patch v3 07/11] Documentation: v4l: Documentation for HEVC v4l2 definition

2017-04-03 Thread Smitha T Murthy
On Mon, 2017-04-03 at 10:10 +0200, Hans Verkuil wrote: > On 03/31/2017 11:06 AM, Smitha T Murthy wrote: > > Add V4L2 definition for HEVC compressed format > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > --- > > Document

Re: [Patch v3 05/11] [media] videodev2.h: Add v4l2 definition for HEVC

2017-04-03 Thread Smitha T Murthy
On Mon, 2017-04-03 at 10:11 +0200, Hans Verkuil wrote: > On 03/31/2017 11:06 AM, Smitha T Murthy wrote: > > Add V4L2 definition for HEVC compressed format > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > --- > > include/uapi/linu

Re: [Patch v3 06/11] [media] s5p-mfc: Add support for HEVC decoder

2017-04-03 Thread Smitha T Murthy
On Mon, 2017-04-03 at 10:13 +0200, Hans Verkuil wrote: > On 03/31/2017 11:06 AM, Smitha T Murthy wrote: > > Add support for codec definition and corresponding buffer > > requirements for HEVC decoder. > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: An

Re: [Patch v3 09/11] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-04-03 Thread Smitha T Murthy
On Mon, 2017-04-03 at 10:22 +0200, Hans Verkuil wrote: > On 03/31/2017 11:06 AM, Smitha T Murthy wrote: > > Add v4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > --- > > dri

Re: [Patch v3 10/11] [media] s5p-mfc: Add support for HEVC encoder

2017-04-03 Thread Smitha T Murthy
On Mon, 2017-04-03 at 10:59 +0200, Andrzej Hajda wrote: > On 31.03.2017 11:06, Smitha T Murthy wrote: > > Add HEVC encoder support and necessary registers, V4L2 CIDs, > > and hevc encoder parameters > > > > Signed-off-by: Smitha T Murthy > > --- > > driver

Re: [Patch v3 07/11] Documentation: v4l: Documentation for HEVC v4l2 definition

2017-04-03 Thread Smitha T Murthy
On Mon, 2017-04-03 at 14:12 +0200, Hans Verkuil wrote: > On 04/03/2017 02:12 PM, Smitha T Murthy wrote: > > On Mon, 2017-04-03 at 10:10 +0200, Hans Verkuil wrote: > >> On 03/31/2017 11:06 AM, Smitha T Murthy wrote: > >>> Add V4L2 definition for HEVC compressed fo

Re: [Patch v3 11/11] Documention: v4l: Documentation for HEVC CIDs

2017-04-04 Thread Smitha T Murthy
On Mon, 2017-04-03 at 10:28 +0200, Hans Verkuil wrote: > On 03/31/2017 11:06 AM, Smitha T Murthy wrote: > > Added V4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > --- > > Documentation/media/uapi/v4l/extended-controls.rst | 355 >

[Patch v4 00/12] Add MFC v10.10 support

2017-04-05 Thread Smitha T Murthy
on respective patches. Smitha T Murthy (12): [media] s5p-mfc: Rename IS_MFCV8 macro [media] s5p-mfc: Adding initial support for MFC v10.10 [media] s5p-mfc: Use min scratch buffer size as provided by F/W [media] s5p-mfc: Support MFCv10.10 buffer requirements [media] videodev2.h: Add v4l2

[Patch v4 01/12] [media] s5p-mfc: Rename IS_MFCV8 macro

2017-04-05 Thread Smitha T Murthy
This patch renames macro IS_MFCV8 to IS_MFCV8_PLUS so that the MFCv8 code can be resued for MFCv10.10 support. Since the MFCv8 specific code holds good for MFC v10.10 also. Signed-off-by: Smitha T Murthy Acked-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/s5p_mfc_common.h | 2

[Patch v4 02/12] [media] s5p-mfc: Adding initial support for MFC v10.10

2017-04-05 Thread Smitha T Murthy
Adding the support for MFC v10.10, with new register file and necessary hw control, decoder, encoder and structural changes. CC: Rob Herring CC: devicet...@vger.kernel.org Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda Acked-by: Rob Herring --- .../devicetree/bindings/media/s5p

[Patch v4 03/12] [media] s5p-mfc: Use min scratch buffer size as provided by F/W

2017-04-05 Thread Smitha T Murthy
After MFC v8.0, mfc f/w lets the driver know how much scratch buffer size is required for decoder. If mfc f/w has the functionality, E_MIN_SCRATCH_BUFFER_SIZE, driver can know how much scratch buffer size is required for encoder too. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda

[Patch v4 06/12] [media] v4l2-ioctl: add HEVC format description

2017-04-05 Thread Smitha T Murthy
HEVC is a video coding format Signed-off-by: Smitha T Murthy --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 0c3f238..529d1f8 100644 --- a/drivers/media/v4l2-core/v4l2

[Patch v4 08/12] [media] s5p-mfc: Add support for HEVC decoder

2017-04-05 Thread Smitha T Murthy
Add support for codec definition and corresponding buffer requirements for HEVC decoder. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 1 + drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c | 3 +++ drivers/media/platform/s5p

[Patch v4 04/12] [media] s5p-mfc: Support MFCv10.10 buffer requirements

2017-04-05 Thread Smitha T Murthy
Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size for MFCv10.10. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 19 + drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | 95

[Patch v4 09/12] [media] s5p-mfc: Add VP9 decoder support

2017-04-05 Thread Smitha T Murthy
Add support for codec definition and corresponding buffer requirements for VP9 decoder. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 6 ++ drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c | 3 +++ drivers/media/platform

[Patch v4 11/12] [media] s5p-mfc: Add support for HEVC encoder

2017-04-05 Thread Smitha T Murthy
Add HEVC encoder support and necessary registers, V4L2 CIDs, and hevc encoder parameters Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 28 +- drivers/media/platform/s5p-mfc/s5p_mfc.c| 1 + drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c | 3

[Patch v4 12/12] Documention: v4l: Documentation for HEVC CIDs

2017-04-05 Thread Smitha T Murthy
Added V4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy --- Documentation/media/uapi/v4l/extended-controls.rst | 391 + 1 file changed, 391 insertions(+) diff --git a/Documentation/media/uapi/v4l/extended-controls.rst b/Documentation/media/uapi/v4l/extended

[Patch v4 07/12] Documentation: v4l: Documentation for HEVC v4l2 definition

2017-04-05 Thread Smitha T Murthy
Add V4L2 definition for HEVC compressed format which is also known as H.265. Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- Documentation/media/uapi/v4l/pixfmt-013.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/media/uapi/v4l/pixfmt-013.rst b

[Patch v4 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-04-05 Thread Smitha T Murthy
Add v4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/v4l2-core/v4l2-ctrls.c | 104 +++ include/uapi/linux/v4l2-controls.h | 132 +++ 2 files changed, 236 insertions(+) diff

[Patch v4 05/12] [media] videodev2.h: Add v4l2 definition for HEVC

2017-04-05 Thread Smitha T Murthy
Add V4L2 definition for HEVC compressed format Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 316be62..03d4765 100644 --- a

Re: [Patch v4 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-04-07 Thread Smitha T Murthy
On Thu, 2017-04-06 at 15:14 +0200, Sylwester Nawrocki wrote: > On 04/06/2017 08:11 AM, Smitha T Murthy wrote: > > @@ -775,6 +832,47 @@ const char *v4l2_ctrl_get_name(u32 id) > > case V4L2_CID_MPEG_VIDEO_VPX_P_FRAME_QP:return "VPX > > P-Fra

Re: [Patch v4 12/12] Documention: v4l: Documentation for HEVC CIDs

2017-04-07 Thread Smitha T Murthy
On Thu, 2017-04-06 at 15:33 +0200, Hans Verkuil wrote: > On 04/06/2017 08:11 AM, Smitha T Murthy wrote: > > Added V4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > General comment: don't forget to build the pdf and check that as well.

Re: [Patch v4 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-04-07 Thread Smitha T Murthy
On Fri, 2017-04-07 at 11:25 +0200, Sylwester Nawrocki wrote: > On 04/07/2017 10:31 AM, Smitha T Murthy wrote: > > On Thu, 2017-04-06 at 15:14 +0200, Sylwester Nawrocki wrote: > >> On 04/06/2017 08:11 AM, Smitha T Murthy wrote: > >>> @@ -775,6 +832,47 @@ const c

Re: [Patch v4 12/12] Documention: v4l: Documentation for HEVC CIDs

2017-04-07 Thread Smitha T Murthy
On Thu, 2017-04-06 at 16:47 +0200, Sylwester Nawrocki wrote: > On 04/06/2017 08:11 AM, Smitha T Murthy wrote: > > Added V4l2 controls for HEVC encoder > > s/HEVC/H.265/HEVC ? > Ok I will change it. > > Signed-off-by: Smitha T Murthy > > --- > > D

Re: [Patch v4 12/12] Documention: v4l: Documentation for HEVC CIDs

2017-04-07 Thread Smitha T Murthy
On Fri, 2017-04-07 at 12:26 +0200, Sylwester Nawrocki wrote: > On 04/07/2017 12:03 PM, Smitha T Murthy wrote: > >>> +``V4L2_CID_MPEG_VIDEO_HEVC_LF`` > >>> +Indicates loop filtering. Control ID 0 indicates loop filtering > >>> +is enable

Re: [Patch v3 10/11] [media] s5p-mfc: Add support for HEVC encoder (fwd)

2017-04-11 Thread Smitha T Murthy
On Tue, 2017-04-11 at 11:00 +0200, Sylwester Nawrocki wrote: > Hi, > > On 04/03/2017 08:17 AM, Smitha T Murthy wrote: > > On Mon, 2017-04-03 at 08:00 +0200, Julia Lawall wrote: > >> See line 2101 > >> > >> julia > >> > > Thank you for bring

Re: [Patch v2 10/11] s5p-mfc: Add support for HEVC encoder

2017-03-31 Thread Smitha T Murthy
On Tue, 2017-03-28 at 10:15 +0530, Smitha T Murthy wrote: > On Mon, 2017-03-27 at 14:09 +0200, Andrzej Hajda wrote: > > Hi Smitha, > > > > Sorry for late reply, it seems I have missed this email. > > > > > > On 14.03.2017 12:41, Smitha T Murthy wrote:

[Patch v3 02/11] [media] s5p-mfc: Adding initial support for MFC v10.10

2017-03-31 Thread Smitha T Murthy
Adding the support for MFC v10.10, with new register file and necessary hw control, decoder, encoder and structural changes. CC: Rob Herring CC: devicet...@vger.kernel.org Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda Acked-by: Rob Herring --- .../devicetree/bindings/media/s5p

[Patch v3 00/11] Add MFC v10.10 support

2017-03-31 Thread Smitha T Murthy
ng on respective patch. [1]: http://www.mail-archive.com/linux-media@vger.kernel.org/msg108520.html Smitha T Murthy (11): [media] s5p-mfc: Rename IS_MFCV8 macro [media] s5p-mfc: Adding initial support for MFC v10.10 [media] s5p-mfc: Use min scratch buffer size as provided by F/W [media] s5

[Patch v3 04/11] [media] s5p-mfc: Support MFCv10.10 buffer requirements

2017-03-31 Thread Smitha T Murthy
Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size for MFCv10.10. Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 19 + drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | 95 +++-- drivers/media/platform/s5p-mfc

[Patch v3 09/11] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-03-31 Thread Smitha T Murthy
Add v4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- drivers/media/v4l2-core/v4l2-ctrls.c | 103 +++ include/uapi/linux/v4l2-controls.h | 133 +++ 2 files changed, 236 insertions(+) diff

[Patch v3 07/11] Documentation: v4l: Documentation for HEVC v4l2 definition

2017-03-31 Thread Smitha T Murthy
Add V4L2 definition for HEVC compressed format Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda --- Documentation/media/uapi/v4l/pixfmt-013.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/media/uapi/v4l/pixfmt-013.rst b/Documentation/media/uapi/v4l/pixfmt

[Patch v3 11/11] Documention: v4l: Documentation for HEVC CIDs

2017-03-31 Thread Smitha T Murthy
Added V4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy --- Documentation/media/uapi/v4l/extended-controls.rst | 355 + 1 file changed, 355 insertions(+) diff --git a/Documentation/media/uapi/v4l/extended-controls.rst b/Documentation/media/uapi/v4l/extended

  1   2   >