cron job: media_tree daily build: WARNINGS

2019-03-30 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Sun Mar 31 05:00:12 CEST 2019 media-tree git hash:1c3ec30bb23023d738b538e64ac3028902d53692 media_build gi

Re:Hello

2019-03-30 Thread Mr Wong
Hello this is Mr Wong again from hongkong,Can we send the Swift as discuss best regards. Mr Wong Cheng --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

[PATCH v4l-utils v2] v4l2-ctl: add support for fwht stateless encoder

2019-03-30 Thread Dafna Hirschfeld
adjust the code to support both encoder and decoder for stateless fwht Signed-off-by: Dafna Hirschfeld --- utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp b/utils/v4l2-ctl/v4l2-ct

[PATCH v4l-utils 1/3] v4l2-ctl: declare hdr variable as const

2019-03-30 Thread Dafna Hirschfeld
declare the hdr param with 'const' in functions that use fwht header in order to set the fwht stateless params. Signed-off-by: Dafna Hirschfeld --- utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cp

[PATCH v4l-utils 3/3] v4l2-ctl: add support for fwht stateless decoder

2019-03-30 Thread Dafna Hirschfeld
adjust the code to support both encoder and decoder for stateless fwht Signed-off-by: Dafna Hirschfeld --- utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp b/utils/v4l2-ctl/v4l2-ct

[PATCH v4l-utils 2/3] v4l2-ctl: fix debug prints

2019-03-30 Thread Dafna Hirschfeld
replace 'set_fwht_ext_ctrls' with 'set_fwht_ext_ctrl' in debug prints Signed-off-by: Dafna Hirschfeld --- utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp i

[PATCH 06/14] vicodec: improve handling of ENC_CMD_STOP/START

2019-03-30 Thread Dafna Hirschfeld
From: Hans Verkuil Correctly handle stopping and restarting the encoder, keeping track of the stop and drain states. Signed-off-by: Hans Verkuil --- drivers/media/platform/vicodec/vicodec-core.c | 121 +++--- 1 file changed, 100 insertions(+), 21 deletions(-) diff --git a/drivers/

[PATCH 10/14] media: vicodec: add field 'dev_inst' to vicodec_ctx

2019-03-30 Thread Dafna Hirschfeld
Add the field 'dev_inst' to vicodec_ctx that points to the 'vicodec_dev_instance'. This saves many if-elses Signed-off-by: Dafna Hirschfeld --- drivers/media/platform/vicodec/vicodec-core.c | 42 ++- 1 file changed, 13 insertions(+), 29 deletions(-) diff --git a/drivers/media/pl

[PATCH 11/14] media: vicodec: Register another node for stateless encoder

2019-03-30 Thread Dafna Hirschfeld
Add stateless encoder instance field to the dev struct and register another node for the stateless encoder. The stateless API for the node will be implemented in further patches. Signed-off-by: Dafna Hirschfeld --- drivers/media/platform/vicodec/vicodec-core.c | 42 +++ 1 file ch

[PATCH 02/14] vicodec: always return a valid format.

2019-03-30 Thread Dafna Hirschfeld
From: Hans Verkuil Rather than returning width/height values of 0, just default to a format. Formats in V4L2 are always supposed to be valid, there is no concept of an invalid format. Signed-off-by: Hans Verkuil --- drivers/media/platform/vicodec/vicodec-core.c | 26 ++- 1 file

[PATCH 00/14] add support for stateless encoder

2019-03-30 Thread Dafna Hirschfeld
patches 9-13 are new, Dafna Hirschfeld (6): media: vicodec: don't test if info is NULL media: vicodec: add field 'dev_inst' to vicodec_ctx media: vicodec: Register another node for stateless encoder media: vicodec: set pixelformat V4L2_PIX_FMT_FWHT_STATELESS for stateless encoder med

[PATCH 13/14] media: vicodec: Add support for stateless encoder

2019-03-30 Thread Dafna Hirschfeld
Adjust the stateless API code to support both encoder and decoder. Signed-off-by: Dafna Hirschfeld --- drivers/media/platform/vicodec/vicodec-core.c | 58 +++ 1 file changed, 33 insertions(+), 25 deletions(-) diff --git a/drivers/media/platform/vicodec/vicodec-core.c b/drivers/

[PATCH 07/14] vicodec: restrict decoder format list when src fmt is known

2019-03-30 Thread Dafna Hirschfeld
From: Hans Verkuil Report the full list of supported decoder formats until the format encoded in the bitstream is known. After that only report the formats compatible with that initial format. Signed-off-by: Hans Verkuil --- drivers/media/platform/vicodec/vicodec-core.c | 6 -- 1 file chan

[PATCH 03/14] vicodec: pass on enc output format to capture side

2019-03-30 Thread Dafna Hirschfeld
From: Hans Verkuil Setting the encoder output format to e.g. 1920x1080 will set the crop rectangle to 1920x1080, the coded resolution to 1920x1088 and the capture coded resolution and sizeimage to 1920x1088 as well. Signed-off-by: Hans Verkuil --- drivers/media/platform/vicodec/vicodec-core.c

[PATCH 05/14] videobuf2-v4l2: set last_buffer_dequeued in dqbuf

2019-03-30 Thread Dafna Hirschfeld
From: Hans Verkuil last_buffer_dequeued was set to true in __fill_v4l2_buffer, but this is called for qbuf as well. Move it to vb2_dqbuf. Signed-off-by: Hans Verkuil --- drivers/media/common/videobuf2/videobuf2-v4l2.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 04/14] vicodec: add V4L2_CID_MIN_BUFFERS_FOR_OUTPUT

2019-03-30 Thread Dafna Hirschfeld
From: Hans Verkuil The stateful encoder requires the presence of this control. Since a single buffer is sufficient for vicodec, we just set this control to 1. Signed-off-by: Hans Verkuil --- drivers/media/platform/vicodec/vicodec-core.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-)

[PATCH 01/14] kernel/sysctl.c: bug fix

2019-03-30 Thread Dafna Hirschfeld
From: Hans Verkuil Signed-off-by: Hans Verkuil --- kernel/sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index e5da394d1ca3..3e959d67d619 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -124,7 +124,7 @@ static int sixty = 60;

[PATCH 08/14] vicodec: fix vicodec_buf_queue()

2019-03-30 Thread Dafna Hirschfeld
From: Hans Verkuil Only set first_source_change_sent for decoders. Signed-off-by: Hans Verkuil --- drivers/media/platform/vicodec/vicodec-core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/vicodec/vicodec-core.c b/drivers/media/platform/vicodec

[PATCH 09/14] media: vicodec: don't test if info is NULL

2019-03-30 Thread Dafna Hirschfeld
pixel info of q_data is never set to NULL so there is no need to test if it is. Signed-off-by: Dafna Hirschfeld --- drivers/media/platform/vicodec/vicodec-core.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/media/platform/vicodec/vicodec-core.c b/drivers/media/pla

[PATCH 12/14] media: vicodec: set pixelformat V4L2_PIX_FMT_FWHT_STATELESS for stateless encoder

2019-03-30 Thread Dafna Hirschfeld
for stateless encoder, set the capture pixelformat to V4L2_PIX_FMT_FWHT_STATELESS and the pix info to pixfmt_stateless_fwht Signed-off-by: Dafna Hirschfeld --- drivers/media/platform/vicodec/vicodec-core.c | 31 --- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/

[PATCH 2/2] media: ov2659: fix unbalanced mutex_lock/unlock

2019-03-30 Thread Akinobu Mita
Avoid returning with mutex locked. Fixes: fa8cb6444c32 ("[media] ov2659: Don't depend on subdev API") Cc: "Lad, Prabhakar" Cc: Sakari Ailus Cc: Mauro Carvalho Chehab Signed-off-by: Akinobu Mita --- drivers/media/i2c/ov2659.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[PATCH 1/2] media: ov2659: make S_FMT ioctl succeed even if requested format doesn't match

2019-03-30 Thread Akinobu Mita
This driver returns an error if unsupported media bus pixel code is requested by VIDIOC_SUBDEV_S_FMT. But according to Documentation/media/uapi/v4l/vidioc-subdev-g-fmt.rst, Drivers must not return an error solely because the requested format doesn't match the device capabilities. They must instea

[PATCH 0/2] media: ov2659: two fixes for ov2659 driver

2019-03-30 Thread Akinobu Mita
This patchset contains two fixes for ov2659 driver. Akinobu Mita (2): media: ov2659: make S_FMT ioctl succeed even if requested format doesn't match media: ov2659: fix unbalanced mutex_lock/unlock drivers/media/i2c/ov2659.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) -

[PATCH] media: index.rst: exclude Indexes section from latex/pdf output

2019-03-30 Thread Mauro Carvalho Chehab
With LaTex, the Index at the end will always be present. Having an extra chapter for it there will just add extra noise to the document. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/media/

OK

2019-03-30 Thread Ahmed Ahmed
Greetings, It was nice to have your contact and I hope this mail doesn't come to you as a surprise or be treated as spam because i consider this info highly classified and pertinent. I am Mr. Ahmed Zama, A Senior staff in one of Bank here in Burkina Faso. I am contacting you with regards to this p