[FFmpeg-devel] [PATCH] lavd/v4l2: add HEVC streams support

2022-11-09 Thread Dima Buzdyk
Signed-off-by: Dima Buzdyk --- libavcodec/hevc_parser.c | 4 libavdevice/v4l2-common.c | 3 +++ libavdevice/v4l2.c| 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libavcodec/hevc_parser.c b/libavcodec/hevc_parser.c index 59f9a0ff3e..8f99a277a1 100644 --- a

[FFmpeg-devel] [RFC PATCH] lavd/v4l2: cover all bufer if bytesperline is set by driver

2022-11-09 Thread Dima Buzdyk
data provided by the driver. As a result user will be able to get image stream from device, albeit having garbage in padding bytes. Signed-off-by: Dima Buzdyk --- libavdevice/v4l2.c | 32 +++- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/libavdevice

[FFmpeg-devel] [PATCH 1/2] avdevice/v4l2: add support for HEVC payloads

2020-07-15 Thread Dima Buzdyk
* Add mapping for V4L2_PIX_FMT_HEVC payloads * Request bitstream parsing just like H264 Signed-off-by: Dima Buzdyk --- libavdevice/v4l2-common.c | 3 +++ libavdevice/v4l2.c| 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) This change add support for HEVC playback for v4l2 devices

[FFmpeg-devel] [PATCH v2 2/2] avcodec/hevc_parser: handle PARSER_FLAG_ONCE

2020-07-15 Thread Dima Buzdyk
* make HEVC parser respect PARSER_FLAG_ONCE flag Signed-off-by: Dima Buzdyk --- libavcodec/hevc_parser.c | 4 libavformat/avformat.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libavcodec/hevc_parser.c b/libavcodec/hevc_parser.c index 5af4b788d5..d0c9aa6e44

[FFmpeg-devel] [PATCH v2 1/2] avdevice/v4l2: add support for HEVC payloads

2020-07-15 Thread Dima Buzdyk
* Add mapping for V4L2_PIX_FMT_HEVC payloads * Request bitstream parsing just like H264 Signed-off-by: Dima Buzdyk --- libavdevice/v4l2-common.c | 3 +++ libavdevice/v4l2.c| 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libavdevice/v4l2-common.c b/libavdevice/v4l2

[FFmpeg-devel] [PATCH 2/2] avcodec/hevc_parser: handle PARSER_FLAG_ONCE

2020-07-14 Thread Dima Buzdyk
* make HEVC parser respect PARSER_FLAG_ONCE flag Signed-off-by: Dima Buzdyk --- libavcodec/hevc_parser.c | 4 libavformat/avformat.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libavcodec/hevc_parser.c b/libavcodec/hevc_parser.c index 5af4b788d5..d0c9aa6e44