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

2018-02-02 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 v8 07/12] Documentation: v4l: Documentation for HEVC v4l2 definition

2018-02-02 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 v8 06/12] [media] v4l2-ioctl: add HEVC format description

2018-02-02 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 v8 09/12] [media] s5p-mfc: Add VP9 decoder support

2018-02-02 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 v8 05/12] [media] videodev2.h: Add v4l2 definition for HEVC

2018-02-02 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 v8 08/12] [media] s5p-mfc: Add support for HEVC decoder

2018-02-02 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 v8 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2018-02-02 Thread Smitha T Murthy
Add v4l2 controls for HEVC encoder Signed-off-by: Smitha T Murthy Reviewed-by: Andrzej Hajda Acked-by: Hans Verkuil --- drivers/media/v4l2-core/v4l2-ctrls.c | 119 +++ include/uapi/linux/v4l2-controls.h | 93 ++- 2 files changed, 211

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

2018-02-02 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 v8 12/12] Documention: v4l: Documentation for HEVC CIDs

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

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

2018-02-02 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 v8 02/12] [media] s5p-mfc: Adding initial support for MFC v10.10

2018-02-02 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 v8 00/12] Add MFC v10.10 support

2018-02-02 Thread Smitha T Murthy
requirement for V8 onwards Changes since v7: - Addressed review comments by Hans Verkuil . - Rebased on latest git://linuxtv.org/snawrocki/samsung.git for-v4.16/media/next. - Applied acked-by Hans on respective patches. Smitha T Murthy (12): [media] s5p-mfc: Rename IS_MFCV8 macro [media

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

2018-02-02 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 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 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 > > ++

[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

[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 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 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 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 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 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 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 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 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 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

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 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 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 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. > >

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

2017-12-13 Thread Smitha T Murthy
On Tue, 2017-12-12 at 10:46 +0100, Sylwester Nawrocki wrote: > On 12/12/2017 03:34 AM, Smitha T Murthy wrote: > >> s/Lay/Layer here and below > >> > > Ok I will change it. > > While it's fine to make such change for controls up to > V4L2_CID_MPEG_VIDEO_

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

2017-12-11 Thread Smitha T Murthy
On Sat, 2017-12-09 at 20:48 +0200, Stanimir Varbanov wrote: > Hi Smitha, > > Thanks for the patches! > > On 12/08/2017 11:08 AM, Smitha T Murthy wrote: > > Add v4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej

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

2017-12-08 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 --- Documentation/media/uapi/v4l/pixfmt-compressed.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation

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

2017-12-08 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 v6 04/12] [media] s5p-mfc: Support MFCv10.10 buffer requirements

2017-12-08 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 --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 19 + drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | 93

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

2017-12-08 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 v6 06/12] [media] v4l2-ioctl: add HEVC format description

2017-12-08 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 v6 12/12] Documention: v4l: Documentation for HEVC CIDs

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

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

2017-12-08 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 v6 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-12-08 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 | 118 +++ include/uapi/linux/v4l2-controls.h | 92 ++- 2 files changed, 209 insertions(+), 1

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

2017-12-08 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 v6 11/12] [media] s5p-mfc: Add support for HEVC encoder

2017-12-08 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 v6 02/12] [media] s5p-mfc: Adding initial support for MFC v10.10

2017-12-08 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 v6 01/12] [media] s5p-mfc: Rename IS_MFCV8 macro

2017-12-08 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 v6 00/12] Add MFC v10.10 support

2017-12-08 Thread Smitha T Murthy
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 min scratch buffer size as provided by F/W [media

Re: [RFC v5 00/11] V4L2 Explicit Synchronization

2017-11-20 Thread Smitha T Murthy
Hi Gustavo, I am currently referring to your implementation for explicit synchronisation. For the same I needed your testapp, but I am unable to download the same at the link provided “https://gitlab.collabora.com/padovan/v4l2-fences-test” Could you please help me out with the same. Regards Smit

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

2017-07-24 Thread Smitha T Murthy
On Thu, 2017-07-20 at 18:46 +0300, Stanimir Varbanov wrote: > Hi, > > >>> + > >>> +* - ``V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN`` > >>> + - Main profile. > >> > >> MAIN10? > >> > > No just MAIN. > > I haven't because the MFC does not supported it? > > If so, I think we have to add MAIN10 for

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

2017-07-24 Thread Smitha T Murthy
On Thu, 2017-07-20 at 16:50 +0200, Hans Verkuil wrote: > On 19/06/17 07:10, Smitha T Murthy wrote: > > Added V4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > --- > > Documentation/media/uapi/v4l/extended-controls.rst | 364 > > ++

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

2017-07-23 Thread Smitha T Murthy
On Thu, 2017-07-20 at 15:32 +0200, Hans Verkuil wrote: > On 19/06/17 07:10, 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 v5 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-07-23 Thread Smitha T Murthy
On Thu, 2017-07-20 at 15:13 +0200, Hans Verkuil wrote: > On 19/06/17 07:10, Smitha T Murthy wrote: > > Add v4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > --- > > dri

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

2017-07-23 Thread Smitha T Murthy
On Thu, 2017-07-20 at 15:07 +0200, Hans Verkuil wrote: > On 19/06/17 07:10, Smitha T Murthy wrote: > > HEVC is a video coding format > > > > Signed-off-by: Smitha T Murthy > > --- > > drivers/media/v4l2-core/v4l2-ioctl.c | 1 + > > 1 file changed, 1 ins

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

2017-07-23 Thread Smitha T Murthy
On Thu, 2017-07-20 at 15:07 +0200, Hans Verkuil wrote: > On 19/06/17 07:10, Smitha T Murthy wrote: > > Add V4L2 definition for HEVC compressed format > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > --- > > include/uapi/linux/v

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

2017-07-17 Thread Smitha T Murthy
On Fri, 2017-07-07 at 17:59 +0300, Stanimir Varbanov wrote: > Hi, > > On 06/19/2017 08:10 AM, Smitha T Murthy wrote: > > Added V4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > --- > > Documentation/med

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

2017-07-17 Thread Smitha T Murthy
On Fri, 2017-07-07 at 17:56 +0300, Stanimir Varbanov wrote: > Hi Smitha, > > On 06/19/2017 08:10 AM, Smitha T Murthy wrote: > > Add V4L2 definition for HEVC compressed format > > > > Signed-off-by: Smitha T Murthy > > Reviewed-by: Andrzej Hajda > > ---

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

2017-06-30 Thread Smitha T Murthy
On Wed, 2017-06-28 at 22:04 +0200, Kamil Debski wrote: > Hi, > > Please find my comments inline. > > On 19 June 2017 at 07:10, Smitha T Murthy wrote: > > Added V4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > --- > > Docum

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

2017-06-27 Thread Smitha T Murthy
On Tue, 2017-06-27 at 22:30 +0200, Kamil Debski wrote: > Hi, > > Please find my comments inline. > > On 19 June 2017 at 07:10, Smitha T Murthy wrote: > > Aligning the luma_dpb_size, chroma_dpb_size, mv_size and me_buffer_size > > for MFCv10.10. > > &

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

2017-06-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 Acked-by: Andrzej Hajda --- drivers/media/platform/s5p-mfc/s5p_mfc_common.h | 2

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

2017-06-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 Reviewed-by: Andrzej Hajda Acked-by: Rob Herring --- .../devicetree/bindings/media/s5p

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

2017-06-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 Reviewed-by: Andrzej Hajda

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

2017-06-18 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 2b8feb8..488de3d 100644 --- a

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

2017-06-18 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 v5 07/12] Documentation: v4l: Documentation for HEVC v4l2 definition

2017-06-18 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 v5 06/12] [media] v4l2-ioctl: add HEVC format description

2017-06-18 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 e5a2187..4f6f8d9 100644 --- a/drivers/media/v4l2-core/v4l2

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

2017-06-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 v5 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-06-18 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 | 84 2 files changed, 187 insertions(+) diff

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

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

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

2017-06-18 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 v5 04/12] [media] s5p-mfc: Support MFCv10.10 buffer requirements

2017-06-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 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 v5 00/12] Add MFC v10.10 support

2017-06-18 Thread Smitha T Murthy
applies on both branches. - Applied r-o-b from Andrzej on respective patches. - Built and checked the Documentation. 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

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

2017-06-12 Thread Smitha T Murthy
On Fri, 2017-06-09 at 19:36 +0200, Sylwester Nawrocki wrote: > On 04/06/2017 08:11 AM, Smitha T Murthy wrote: > > This patch series adds MFC v10.10 support. MFC v10.10 is used in some > > of Exynos7 variants. > > > > This adds support for following: > > >

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 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 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 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 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 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

[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

[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 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 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 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 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 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 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 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 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

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 >

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 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 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 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 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 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 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

  1   2   >