[FFmpeg-devel] [PATCH] avformat/rtpdec_rfc4175: fix interlace format

2022-02-02 Thread Patrick Keroulas
. Signed-off-by: Patrick Keroulas --- libavformat/rtpdec_rfc4175.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c index 8e73c07838..83abe499f8 100644 --- a/libavformat/rtpdec_rfc4175.c +++ b/libavformat

[FFmpeg-devel] [PATCH v8 3/3] avformat/rtpdec_rfc4175: handle interlace format

2018-07-10 Thread Patrick Keroulas
consist of fields, and their heights are half of the frame size, so some adjustments must be done here and there to take that into account. Signed-off-by: Damien Riegel Signed-off-by: Patrick Keroulas --- libavformat/rtpdec_rfc4175.c | 57 1 file changed

[FFmpeg-devel] [PATCH v8 2/3] avcodec/bitpacked: add interlace support

2018-07-10 Thread Patrick Keroulas
the decoder to dynamically determine the frame format, i.e. progressive or interlaced. Signed-off-by: Patrick Keroulas Signed-off-by: Damien Riegel --- Changes v7 -> v8: style --- --- libavcodec/bitpacked.c | 140 + 1 file changed, 117 inserti

[FFmpeg-devel] [PATCH v8 1/3] avcodec: add side data type for ancillary

2018-07-10 Thread Patrick Keroulas
Ancillary data can carry various side data that can't be transmitted in bitstreams. For now, this struct includes interlaced field flags and the must be attached to an AVPacket as side data. Signed-off-by: Patrick Keroulas --- Changes v7 -> v8: * Merge the definition of AVAncillaryData and

Re: [FFmpeg-devel] [PATCH v7 1/4] avcodec: add side data type for ancillary

2018-06-07 Thread Patrick Keroulas
Would someone be nice to review this patchset? Thank you. - Original Message - > From: "Patrick Keroulas" > To: ffmpeg-devel@ffmpeg.org > Cc: "Patrick Keroulas" > Sent: Friday, May 25, 2018 10:16:28 AM > Subject: [PATCH v7 1/4] avcodec: add side data

[FFmpeg-devel] [PATCH v7 2/4] libavutil: add ancillary data

2018-05-25 Thread Patrick Keroulas
Ancillary data can carry various side data that can't be transmitted in bitstreams. For now, this struct includes interlaced field flags and the must be attached to an AVPacket as side data. Signed-off-by: Patrick Keroulas <patrick.kerou...@savoirfairelinux.com> --- libavutil/Ma

[FFmpeg-devel] [PATCH v7 4/4] avformat/rtpdec_rfc4175: handle interlace format

2018-05-25 Thread Patrick Keroulas
ecoder In interlaced mode, received data only consist of fields, and their heights are half of the frame size, so some adjustments must be done here and there to take that into account. Signed-off-by: Damien Riegel <damien.rie...@savoirfairelinux.com> Signed-off-by: Patrick Keroulas &l

[FFmpeg-devel] [PATCH v7 3/4] avcodec/bitpacked: add interlace support

2018-05-25 Thread Patrick Keroulas
bottom). The AVAncillary Data carried by AVPacket side data allows the decoder to dynamically determine the frame format, i.e. progressive or interlaced. Signed-off-by: Patrick Keroulas <patrick.kerou...@savoirfairelinux.com> Signed-off-by: Damien Riegel <damien.rie...@savoirfairelinux.com&g

[FFmpeg-devel] [PATCH v7 1/4] avcodec: add side data type for ancillary

2018-05-25 Thread Patrick Keroulas
avcodec: add side data type for ancillary Create a new type of side data to be attached to AVPacket in order to transmit out of band parameters for typical codecs. Signed-off-by: Patrick Keroulas <patrick.kerou...@savoirfairelinux.com> --- doc/APIchanges| 3 +++ libavcodec/avc

Re: [FFmpeg-devel] [PATCH v6 1/3] avcodec: add flags for packets with top/bottom field

2018-05-23 Thread Patrick Keroulas
ec: add flags for packets > with top/bottom field > On 23 May 2018 at 20:01, wm4 <nfx...@googlemail.com> wrote: > >> On Wed, 23 May 2018 14:29:38 -0400 (EDT) >> Patrick Keroulas <patrick.kerou...@savoirfairelinux.com> wrote: >> >> > - Original

Re: [FFmpeg-devel] [PATCH v6 1/3] avcodec: add flags for packets with top/bottom field

2018-05-23 Thread Patrick Keroulas
ay 2018 16:46:17 +0100 > Rostislav Pehlivanov <atomnu...@gmail.com> wrote: > >> On 23 May 2018 at 16:18, wm4 <nfx...@googlemail.com> wrote: >> >> > On Tue, 22 May 2018 17:19:35 -0400 (EDT) >> > Patrick Keroulas <patrick.kerou...@savoirfairelinux.com&g

Re: [FFmpeg-devel] [PATCH v6 1/3] avcodec: add flags for packets with top/bottom field

2018-05-22 Thread Patrick Keroulas
- Original Message - > From: "Rostislav Pehlivanov" > To: "FFmpeg development discussions and patches" > Sent: Friday, May 18, 2018 5:28:42 PM > Subject: Re: [FFmpeg-devel] [PATCH v6 1/3] avcodec: add flags for packets > with top/bottom

Re: [FFmpeg-devel] [PATCH v6 1/3] avcodec: add flags for packets with top/bottom field

2018-05-18 Thread Patrick Keroulas
lt;nfx...@googlemail.com> wrote: >> > >> > > On Mon, 14 May 2018 18:26:35 -0400 >> > > Patrick Keroulas <patrick.kerou...@savoirfairelinux.com> wrote: >> > > >> > > > Signed-off-by: Patrick Keroulas <patrick.keroulas@ >> savo

[FFmpeg-devel] [PATCH v6 2/3] avcodec/bitpacked: add interlace support

2018-05-14 Thread Patrick Keroulas
bottom). The additionnal field flags in AVPacket allow the decoder to dynamically determine the frame format, i.e. progressive or interlaced. Signed-off-by: Patrick Keroulas <patrick.kerou...@savoirfairelinux.com> Signed-off-by: Damien Riegel <damien.rie...@savoirfairelinux.com> ---

[FFmpeg-devel] [PATCH v6 1/3] avcodec: add flags for packets with top/bottom field

2018-05-14 Thread Patrick Keroulas
Signed-off-by: Patrick Keroulas <patrick.kerou...@savoirfairelinux.com> --- doc/APIchanges | 3 +++ libavcodec/avcodec.h | 8 libavcodec/version.h | 4 ++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index bbefc83..d06868e

[FFmpeg-devel] [PATCH v6 3/3] avformat/rtpdec_rfc4175: handle interlace format

2018-05-14 Thread Patrick Keroulas
ecoder In interlaced mode, received data only consist of fields, and their heights are half of the frame size, so some adjustments must be done here and there to take that into account. Signed-off-by: Damien Riegel <damien.rie...@savoirfairelinux.com> Signed-off-by: Patrick Keroulas &l

[FFmpeg-devel] [PATCH v5 2/2] avformat/rtpdec_rfc4175: handle interlace format

2018-05-14 Thread Patrick Keroulas
ecoder In interlaced mode, received data only consist of fields, and their heights are half of the frame size, so some adjustments must be done here and there to take that into account. Signed-off-by: Damien Riegel <damien.rie...@savoirfairelinux.com> Signed-off-by: Patrick Keroulas &l

[FFmpeg-devel] [PATCH v5 1/2] avcodec/bitpacked: add interlace support

2018-05-14 Thread Patrick Keroulas
bottom). The additionnal field flags in AVPacket allow the decoder to dynamically determine the frame format, i.e. progressive or interlaced. Signed-off-by: Patrick Keroulas <patrick.kerou...@savoirfairelinux.com> Signed-off-by: Damien Riegel <damien.rie...@savoirfairelinux.com> --- Chan

[FFmpeg-devel] [PATCH v4 3/3] avformat/rtpdec_rfc4175: handle interlace format

2018-04-25 Thread Patrick Keroulas
ecoder In interlaced mode, received data only consist of fields, and their heights are half of the frame size, so some adjustments must be done here and there to take that into account. Signed-off-by: Damien Riegel <damien.rie...@savoirfairelinux.com> Signed-off-by: Patrick Keroulas &l

[FFmpeg-devel] [PATCH v4 2/3] avcodec/bitpacked: add interlace support

2018-04-25 Thread Patrick Keroulas
bottom). The additionnal field flags in AVPacket allow the decoder to dynamically determine the frame format, i.e. progressive or interlaced. Signed-off-by: Patrick Keroulas <patrick.kerou...@savoirfairelinux.com> Signed-off-by: Damien Riegel <damien.rie...@savoirfairelinux.com> --- Change

[FFmpeg-devel] [PATCH v4 1/3] avcodec/bitpacked: move ff_get_buffer

2018-04-25 Thread Patrick Keroulas
From: Damien Riegel ff_get_buffer is used to allocate a buffer to hold frame's content. This function was called in the function in charge of decoding an AVPacket containing raw video with the yuv422 pixel format and a depth of 10-bit. RFC4175 supports both

[FFmpeg-devel] [PATCH v3 3/3] avformat/rtpdec_rfc4175: handle interlace format

2018-04-24 Thread Patrick Keroulas
ecoder In interlaced mode, received data only consist of fields, and their heights are half of the frame size, so some adjustments must be done here and there to take that into account. Signed-off-by: Damien Riegel <damien.rie...@savoirfairelinux.com> Signed-off-by: Patrick Keroulas &l

[FFmpeg-devel] [PATCH v3 2/3] avcodec/bitpacked: add interlace support

2018-04-24 Thread Patrick Keroulas
bottom). The additionnal field flags in AVPacket allow the decoder to dynamically determine the frame format, i.e. progressive or interlaced. Signed-off-by: Damien Riegel <damien.rie...@savoirfairelinux.com> Signed-off-by: Patrick Keroulas <patrick.kerou...@savoirfairelinux.com> --- Cha

[FFmpeg-devel] [PATCH v3 1/3] avcodec/bitpacked: move ff_get_buffer

2018-04-24 Thread Patrick Keroulas
From: Damien Riegel ff_get_buffer is used to allocate a buffer to hold frame's content. This function was called in the function in charge of decoding an AVPacket containing raw video with the yuv422 pixel format and a depth of 10-bit. RFC4175 supports both

[FFmpeg-devel] [PATCH v2 2/3] avcodec/bitpacked: add interlace support

2018-04-20 Thread Patrick Keroulas
bottom). Signed-off-by: Damien Riegel <damien.rie...@savoirfairelinux.com> Signed-off-by: Patrick Keroulas <patrick.kerou...@savoirfairelinux.com> --- Change v1 -> v2: Replaced field packets cloning with partial frame decoding. @ Rostislav Pehlivanov: Regarding your comment on v1 (th

[FFmpeg-devel] [PATCH v2 1/3] avcodec/bitpacked: move ff_get_buffer

2018-04-20 Thread Patrick Keroulas
From: Damien Riegel ff_get_buffer is used to allocate a buffer to hold frame's content. This function was called in the function in charge of decoding an AVPacket containing raw video with the yuv422 pixel format and a depth of 10-bit. RFC4175 supports both

Re: [FFmpeg-devel] [PATCH v1 2/3] avcodec/bitpacked: add interlace support

2018-04-12 Thread Patrick Keroulas
> From: "Paul B Mahol" <one...@gmail.com> > To: "FFmpeg development discussions and patches" <ffmpeg-devel@ffmpeg.org> > Cc: "Damien Riegel" <damien.rie...@savoirfairelinux.com>, "Patrick Keroulas" > <patrick.kerou...@sav

[FFmpeg-devel] [PATCH v1 2/3] avcodec/bitpacked: add interlace support

2018-04-10 Thread Patrick Keroulas
; Signed-off-by: Patrick Keroulas <patrick.kerou...@savoirfairelinux.com> --- libavcodec/avcodec.h | 4 +++ libavcodec/bitpacked.c | 76 ++ 2 files changed, 68 insertions(+), 12 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcod

[FFmpeg-devel] [PATCH v1 3/3] avformat/rtpdec_rfc4175: handle interlace format

2018-04-10 Thread Patrick Keroulas
From: Damien Riegel In order to handle the interlaced formats, the demuxer has only a few things to do: - parse the SDP correctly and propagate the information - check the field bit in the RFC4175 header, and pass that information to the decoder In

[FFmpeg-devel] [PATCH v1 1/3] avcodec/bitpacked: move ff_get_buffer

2018-04-10 Thread Patrick Keroulas
From: Damien Riegel ff_get_buffer is used to allocate a buffer to hold frame's content. This function was called in the function in charge of decoding an AVPacket containing raw video with the yuv422 pixel format and a depth of 10-bit. RFC4175 supports both