vsync properties are specified, the bus_type should
be set to V4L2_MBUS_PARALLEL.
Signed-off-by: Nikhil Devshatwar
---
drivers/media/v4l2-core/v4l2-of.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/media/v4l2-core/v4l2-of.c
b/drivers/media/v4l2-core
vb2_plane_cookie can return NULL if the plane no is greater than
total no of planes or when mem_ops are absent.
Add NULL check to avoid NULL pointer crash in the kernel.
Signed-off-by: Nikhil Devshatwar
---
include/media/videobuf2-dma-contig.h |5 -
1 file changed, 4 insertions(+), 1
ource buffers. Shift all the source buffers
after each iteration and remove the oldest buffer.
Also, with this removes the constraint of pre buffering 3 buffers before call
to STREAMON in case of deinterlacing.
Signed-off-by: Nikhil Devshatwar
---
drivers/media/platform/ti-vpe/vpe.c |
: Nikhil Devshatwar
---
Changes from v1:
* Add check for valid field in qbuf ioctl
* Fix issue with swapped fields
drivers/media/platform/ti-vpe/vpe.c | 124 ---
1 file changed, 102 insertions(+), 22 deletions(-)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b
, creating a sum of n frames.
Signed-off-by: Archit Taneja
Signed-off-by: Nikhil Devshatwar
---
drivers/media/platform/ti-vpe/vpe.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/platform/ti-vpe/vpe.c
index
bottom field with same dmafd and different data_offsets.
Signed-off-by: Nikhil Devshatwar
---
Changes from v2:
* Use data_offset only for OUTPUT stream buffers
drivers/media/platform/ti-vpe/vpe.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/media/platform
rames
Nikhil Devshatwar (3):
media: ti-vpe: Use data offset for getting dma_addr for a plane
media: ti-vpe: Do not perform job transaction atomically
media: ti-vpe: Add support for SEQ_TB buffers
drivers/media/platform/ti-vpe/vpe.c | 191 ---
1 file changed
: Nikhil Devshatwar
---
Changes from v1:
* Add check for valid field in qbuf ioctl
* Fix issue with swapped fields
drivers/media/platform/ti-vpe/vpe.c | 124 ---
1 file changed, 102 insertions(+), 22 deletions(-)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b
ource buffers. Shift all the source buffers
after each iteration and remove the oldest buffer.
Also, with this removes the constraint of pre buffering 3 buffers before call
to STREAMON in case of deinterlacing.
Signed-off-by: Nikhil Devshatwar
---
drivers/media/platform/ti-vpe/vpe.c |
bottom field with same dmafd and different data_offsets.
Signed-off-by: Nikhil Devshatwar
---
drivers/media/platform/ti-vpe/vpe.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/platform/ti-vpe/vpe.c
index
, creating a sum of n frames.
Signed-off-by: Archit Taneja
Signed-off-by: Nikhil Devshatwar
---
drivers/media/platform/ti-vpe/vpe.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/platform/ti-vpe/vpe.c
index
rames
Nikhil Devshatwar (3):
media: ti-vpe: Use data offset for getting dma_addr for a plane
media: ti-vpe: Do not perform job transaction atomically
media: ti-vpe: Add support for SEQ_TB buffers
drivers/media/platform/ti-vpe/vpe.c | 193 ---
1 file changed
ource buffers. Shift all the source buffers
after each iteration and remove the oldest buffer.
Also, with this removes the constraint of pre buffering 3 buffers before call
to STREAMON in case of deinterlacing.
Signed-off-by: Nikhil Devshatwar
---
drivers/media/platform/ti-vpe/vpe.c |
: Nikhil Devshatwar
---
drivers/media/platform/ti-vpe/vpe.c | 122 +--
1 file changed, 101 insertions(+), 21 deletions(-)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/platform/ti-vpe/vpe.c
index e37102b..4cc7dc7 100644
--- a/drivers/media/platform/ti
rames
Nikhil Devshatwar (3):
[media] ti-vpe: Use data offset for getting dma_addr for a plane
[media] ti-vpe: Do not perform job transaction atomically
[media] ti-vpe: Add support for SEQ_TB buffers
drivers/media/platform/ti-vpe/vpe.c | 193 +++
1 file changed
, creating a sum of n frames.
Signed-off-by: Archit Taneja
Signed-off-by: Nikhil Devshatwar
---
drivers/media/platform/ti-vpe/vpe.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/platform/ti-vpe/vpe.c
index
bottom field with same dmafd and different data_offsets.
Signed-off-by: Nikhil Devshatwar
---
drivers/media/platform/ti-vpe/vpe.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/ti-vpe/vpe.c
b/drivers/media/platform/ti-vpe/vpe.c
index
verify_length would fail if the user space fills up the data_offset field
and bytesused is left as zero. Correct this.
If bytesused is not populated, it means bytesused is same as length.
Checking data offset >= bytesused makes sense only if bytesused is valid.
Signed-off-by: Nikhil Devshat
igh but it can have less bytesused.
The real check should be to verify that all the bytesused after data_offset
fit withing the length of the plane.
Signed-off-by: Nikhil Devshatwar
---
drivers/media/v4l2-core/videobuf2-core.c |9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
d
Hi everyboady,
When using V4l2 endpoint framework for parsing device tree nodes,
I don't find any API which can allow me to iterate over all the
endpoints in a specific port
Currectly we have v4l2_of_get_next_endpoint which can be used to
iterate over all the endpoints
under that device_node
Ty
20 matches
Mail list logo