Re: [FFmpeg-devel] [PATCH] avcodec: v4l2_m2m: add MJPEG enc/dec support

2018-08-13 Thread Maxime Jourdan
2018-08-13 2:26 GMT+02:00 Mark Thompson : > On 13/08/18 00:33, Maxime Jourdan wrote: >> Hi Jorge, unfortunately don't have a SBC that features a V4L2 M2M >> MJPEG/JPEG encoder so I couldn't test it. >> >> Hi Mark, thanks for the extensive review. Too

Re: [FFmpeg-devel] [PATCH] avcodec: v4l2_m2m: add MJPEG enc/dec support

2018-08-12 Thread Maxime Jourdan
Hi Jorge, unfortunately don't have a SBC that features a V4L2 M2M MJPEG/JPEG encoder so I couldn't test it. Hi Mark, thanks for the extensive review. Too bad neither scenario worked fully. 2018-08-12 19:24 GMT+02:00 Mark Thompson : > On 12/08/18 15:40, Maxime Jourdan wrote: &g

[FFmpeg-devel] [PATCH] avcodec: v4l2_m2m: add MJPEG enc/dec support

2018-08-12 Thread Maxime Jourdan
Tested on an Odroid-C2 with a V4L2 M2M MJPEG decoder. Signed-off-by: Maxime Jourdan --- configure | 3 +++ libavcodec/Makefile | 2 ++ libavcodec/allcodecs.c| 2 ++ libavcodec/v4l2_m2m_dec.c | 1 + libavcodec/v4l2_m2m_enc.c | 1 + 5 files changed, 9 insertions(+) diff

Re: [FFmpeg-devel] [PATCH] avcodec: v4l2_m2m: reduce the minimum amount of buffers

2018-04-05 Thread Maxime Jourdan
he end the driver will adjust the min/max buffers anyway). 2018-04-05 22:14 GMT+02:00 Jorge Ramirez-Ortiz : > On 04/05/2018 06:42 PM, Maxime Jourdan wrote: > >> Reduce the minimum amount of CAPTURE and OUTPUT buffers to 1. >> > > makes sense to me if that is indeed the case. &

[FFmpeg-devel] [PATCH] avcodec: v4l2_m2m: reduce the minimum amount of buffers

2018-04-05 Thread Maxime Jourdan
Reduce the minimum amount of CAPTURE and OUTPUT buffers to 1. There are drivers that may work with such drastic settings, and FFmpeg doesn't complain. --- libavcodec/v4l2_m2m.h | 2 +- libavcodec/v4l2_m2m_dec.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/