[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Acked-by: Kamil Debski <ka...@wypas.org> Acked-by: Hans Verkuil <hans.verk...@cisco.co

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Reviewed-by: Stanimir Varbanov <stanimir.varba...@linaro.org> Acked-by: Hans Verkuil <h

[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 <smith...@samsung.com> Reviewed-by: Stanimir Varbanov <stanimir.varba...@linaro.org> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + 1 file changed, 1 insertion(+) di

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/platform/s5p-mfc/reg

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Reviewed-by: Stanimir Varbanov <stanimir.varba...@linaro.org> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- includ

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/platform/s5p-mfc/reg

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/v4l2-core/v4l2-ctrls.c | 119 +++ inclu

[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 <smith...@samsung.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 28 +- drivers/media/platform/s5p-m

[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 <smith...@samsung.com> --- 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

[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 <smith...@samsung.com> Re

[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 <robh...@kernel.org> CC: devicet...@vger.kernel.org Signed-off-by: Smitha T Murthy <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha

[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 <hverk...@xs4all.nl>. - 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:

[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 <smith...@samsung.com> Acked-by: Andrzej Hajda <a.ha...@samsung.com> Acked-by:

[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 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 <smith...@samsung.com> > > --- > > Documentation/med

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 <smith...@samsung.com> Acked-by: Andrzej Hajda <a.ha...@samsung.com> Acked-by:

[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 <robh...@kernel.org> CC: devicet...@vger.kernel.org Signed-off-by: Smitha T Murthy <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Reviewed-by: Stanimir Varbanov <stanimir.varba...@linaro.org> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- includ

[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 <smith...@samsung.com> Re

[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 <smith...@samsung.com> Reviewed-by: Stanimir Varbanov <stanimir.varba...@linaro.org> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + 1 file changed, 1 insertion(+) di

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Acked-by: Kamil Debski <ka...@wypas.org> Acked-by: Hans Verkuil <hans.verk...@cisco.co

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Reviewed-by: Stanimir Varbanov <stanimir.varba...@linaro.org> Acked-by: Hans Verkuil <h

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> --- drivers/media/v4l2-core/v4l2-ctrls.c | 119 +++ include/uapi/linux/v4l2-controls.h | 93 ++

[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 <smith...@samsung.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 28 +- drivers/media/platform/s5p-m

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/platform/s5p-mfc/reg

[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 <smith...@samsung.com> --- 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

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/platform/s5p-mfc/reg

[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
ed review comments by Philippe Ombredanne <pombreda...@nexb.com> - Rebased on latest git://linuxtv.org/snawrocki/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):

[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
e minor, so I hope I can Ack v7 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 p

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

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 <smith...@samsung.com> > > --- > > Documentation/med

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 <smith...@samsung.com> > > Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> &g

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 <smith...@samsung.com> wrote: > > Adding the support for MFC v10.10, with new register file and > > necessary hw control, decoder, enc

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_HEVC_

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_HEVC_

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 <smith...@samsung.com&g

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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Reviewed-by: Stanimir Varbanov <stanimir.varba...@linaro.org> --- Documentation/media/uapi/v4l/pix

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Reviewed-by: Stanimir Varbanov <stanimir.varba...@linaro.org> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- includ

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> Acked-by: Kamil Debski <ka...@wypas.org> --- drivers/media/platform/s5p-mfc/reg

[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 <smith...@samsung.com> Re

[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 <smith...@samsung.com> Reviewed-by: Stanimir Varbanov <stanimir.varba...@linaro.org> Acked-by: Hans Verkuil <hans.verk...@cisco.com> --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + 1 file changed, 1 insertion(+) di

[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 <smith...@samsung.com> --- 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

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 1 + drivers/media/plat

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> --- drivers/media/v4l2-core/v4l2-ctrls.c | 118 +++ include/uapi/linux/v4l2-controls.h | 92 ++

[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 <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha...@samsung.com> --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 6 ++ drivers/media/plat

[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 <smith...@samsung.com> --- drivers/media/platform/s5p-mfc/regs-mfc-v10.h | 28 +- drivers/media/platform/s5p-mfc/s5p_mfc.c| 1 + drivers/media/platform/s

[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 <robh...@kernel.org> CC: devicet...@vger.kernel.org Signed-off-by: Smitha T Murthy <smith...@samsung.com> Reviewed-by: Andrzej Hajda <a.ha

[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 <smith...@samsung.com> Acked-by: Andrzej Hajda <a.ha...@samsung.com> --- d

[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
git://linuxtv.org/snawrocki/samsung.git for-v4.15/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 M

[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

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

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

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

  1   2   3   4   >