[FFmpeg-devel] [PATCH] lavc/cbs_av1: Add read/write flag in log message

2019-12-14 Thread Jun Zhao
From: Jun Zhao Before this change, the command: ffmpeg -y -i bear-av1.mp4 -c:v copy bear-av1.ivf -loglevel 99 always dump the log message like: AVBSFContext @ 0x55ff99e78e00] Frame 4: size 320x240 upscaled 320 render 320x240 subsample 2x2 bitdepth 8 tiles 1x1. Last message repeated

Re: [FFmpeg-devel] [PATCH] avutil/eval: make av_expr_eval more thread safe

2019-12-14 Thread Gyan
On 15-12-2019 06:46 am, Marton Balint wrote: Unfortunately the ld() and st() operations store the variables in the AVExpr context and not in the parser in order to keep the stored values between evaluations (which is a rarely(?) used undocumented(?) feature of AVExpr). This causes data race is

Re: [FFmpeg-devel] [PATCH V4 2/2] lavf/libsrt: enable other encryption parameters

2019-12-14 Thread myp...@gmail.com
On Sun, Dec 15, 2019 at 4:48 AM Marton Balint wrote: > > > On Wed, 4 Dec 2019, Jun Zhao wrote: > > > From: Jun Zhao > > > > Enable the SRTO_ENFORCEDENCRYPTION/SRTO_KMREFRESHRATE/ > > SRTO_KMPREANNOUNCE for srt encryption control. > > > > Signed-off-by: Jun Zhao > > --- > > doc/protocols.texi |

Re: [FFmpeg-devel] [PATCH 1/4] tests/checkasm: add overflow test for hevc_add_res

2019-12-14 Thread Fu, Linjie
Hi, > -Original Message- > From: Fu, Linjie > Sent: Wednesday, December 11, 2019 16:46 > To: ffmpeg-devel@ffmpeg.org > Cc: Fu, Linjie ; Xu, Guangxin > Subject: [PATCH 1/4] tests/checkasm: add overflow test for hevc_add_res > > Add overflow test for hevc_add_res when int16_t coeff = -327

Re: [FFmpeg-devel] [PATCH] lavc/hevc_cabac: fix cbf_cb and cbf_cr for transform depth 4

2019-12-14 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel On Behalf Of > Thilo Borgmann > Sent: Thursday, December 12, 2019 22:15 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] lavc/hevc_cabac: fix cbf_cb and cbf_cr > for transform depth 4 > > Hi, > > Am 12.12.19 um 08:27 schrieb Fu

[FFmpeg-devel] [PATCH] avutil/eval: make av_expr_eval more thread safe

2019-12-14 Thread Marton Balint
Unfortunately the ld() and st() operations store the variables in the AVExpr context and not in the parser in order to keep the stored values between evaluations (which is a rarely(?) used undocumented(?) feature of AVExpr). This causes data race issues when the same expression is evaluated from m

Re: [FFmpeg-devel] [WIP][RFC][PATCH] avcodec: add BRAW video decoder

2019-12-14 Thread Kieran Kunhya
> +static av_cold void braw_static_init(void) > +{ > +INIT_VLC_STATIC(&dc_vlc, 13, 16, dc_bits, 1, 1, dc_codes, 2, 2, 8192); > +INIT_VLC_STATIC(&ac_vlc, 18, 194, ac_bits, 1, 1, ac_codes, 4, 4, 262144); > +} > + > +.caps_internal= FF_CODEC_CAP_INIT_THREADSAFE | > +

Re: [FFmpeg-devel] [PATCH] avfilter/drawtext: special metadata fields to allow plotting source filename to output.

2019-12-14 Thread Marton Balint
On Sat, 14 Dec 2019, Alexandre Heitor Schmidt wrote: avfilter/drawtext: Added two special metadata tags which can, be used by 'drawtext' filter and others to have access to source file path, and its basename. The new field AVPacket->source_file will contain a path to its corresponding filenam

Re: [FFmpeg-devel] [PATCHv2] fate: Add an option for disabling the 2k/4k tests

2019-12-14 Thread Martin Storsjö
On Fri, 13 Dec 2019, James Almer wrote: On 12/13/2019 8:07 PM, Martin Storsjö wrote: I intentionally meant to use a different variable for that, to differentiate between the configure-generated CONFIG_LARGE_TESTS from config.mak and the one that is set to pick up a potential user-supplied value

Re: [FFmpeg-devel] [PATCH 1/2] avutil/buffer: add av_buffer_pool_buffer_get_opaque

2019-12-14 Thread Marton Balint
On Sat, 14 Dec 2019, James Almer wrote: On 12/14/2019 7:50 PM, Marton Balint wrote: On Sat, 14 Dec 2019, James Almer wrote: On 12/7/2019 6:57 PM, Marton Balint wrote: In order to access the original opaque parameter of a buffer in the buffer pool. (The buffer pool implementation override

[FFmpeg-devel] [PATCH] avfilter/drawtext: special metadata fields to allow plotting source filename to output.

2019-12-14 Thread Alexandre Heitor Schmidt
avfilter/drawtext: Added two special metadata tags which can, be used by 'drawtext' filter and others to have access to source file path, and its basename. The new field AVPacket->source_file will contain a path to its corresponding filename everytime the packet corresponds to a single file. This

Re: [FFmpeg-devel] [PATCH 1/2] avutil/buffer: add av_buffer_pool_buffer_get_opaque

2019-12-14 Thread James Almer
On 12/14/2019 7:50 PM, Marton Balint wrote: > > > On Sat, 14 Dec 2019, James Almer wrote: > >> On 12/7/2019 6:57 PM, Marton Balint wrote: >>> In order to access the original opaque parameter of a buffer in the >>> buffer >>> pool. (The buffer pool implementation overrides the normal opaque >>> p

Re: [FFmpeg-devel] [PATCH 1/2] avutil/buffer: add av_buffer_pool_buffer_get_opaque

2019-12-14 Thread Marton Balint
On Sat, 14 Dec 2019, James Almer wrote: On 12/7/2019 6:57 PM, Marton Balint wrote: In order to access the original opaque parameter of a buffer in the buffer pool. (The buffer pool implementation overrides the normal opaque parameter but also saves it so it is accessible). Signed-off-by: Mar

[FFmpeg-devel] [PATCH v2 13/14] h264_mp4toannexb: Cosmetics

2019-12-14 Thread Andreas Rheinhardt
Mainly reindentation, but some variables were also put into a smaller scope. Signed-off-by: Andreas Rheinhardt --- libavcodec/h264_mp4toannexb_bsf.c | 50 +++ 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/libavcodec/h264_mp4toannexb_bsf.c b/libavcod

[FFmpeg-devel] [PATCH v2 08/14] h264_mp4toannexb: Try to avoid four byte startcodes

2019-12-14 Thread Andreas Rheinhardt
According to the H.264 specifications, the only NAL units that need to have four byte startcodes in H.264 Annex B format are SPS/PPS units and units that start a new access unit. Before af7e953a, the first of these conditions wasn't upheld as already existing in-band parameter sets would not automa

[FFmpeg-devel] [PATCH v2 02/14] bytestream: Make get_bytes_left compatible with overread

2019-12-14 Thread Andreas Rheinhardt
bytestream2_get_bytes_left returns an unsigned int; as a result, it returns big positive numbers if an overread already happened, making it unsuitable for scenarios where one wants to allow this in a controlled way (because the buffer is actually padded so that no segfaults can happen). So change i

[FFmpeg-devel] [PATCH v2 05/14] h264_mp4toannexb: Add a comment about possible overread

2019-12-14 Thread Andreas Rheinhardt
Before reading a 16bit size field during parsing of extradata, no check is performed to make sure that said length field is actually contained in the extradata. Given that this overread is not dangerous (the extradata is supposed to be padded), only a comment for it has been added; the error itself

[FFmpeg-devel] [PATCH v2 03/14] h264_mp4toannexb: Switch to GetByteContext to read extradata

2019-12-14 Thread Andreas Rheinhardt
This is done in order to improve readability. No functional change is intended with this commit at all; in particular, the unsafe read functions are used throughout as h264_extradata_to_annexb already performs its own checks. (These checks will nevertheless be improved in further commits.) Signed-

[FFmpeg-devel] [PATCH v2 09/14] h264_mp4toannexb: Copy one NAL unit at a time

2019-12-14 Thread Andreas Rheinhardt
If processing an input NAL unit triggers the insertion of data from extradata in front of said NAL unit, the output packet is grown (i.e. reallocated) once to accomodate both the new extradata as well as the input NAL unit itself; this has been changed: In such a situation, the packet is now grown

[FFmpeg-devel] [PATCH v2 11/14] h264_mp4toannexb: Stop reallocating the output buffer

2019-12-14 Thread Andreas Rheinhardt
Up until now, h264_mp4toannexb would grow the output packet's buffer by the desired amount every time another NAL unit of the input packet has been read; this commit changes this: The input buffer is now essentially parsed twice, once to determine the final size of the output packet and once to wri

[FFmpeg-devel] [PATCH v2 01/14] h264_mp4toannexb: Remove unnecessary check

2019-12-14 Thread Andreas Rheinhardt
There can be at most 31 SPS and 255 PPS in the mp4/Matroska extradata. Given that each has a size of at most 2^16-1, the length of the output derived from these parameter sets can never overflow an ordinary 32 bit integer. So use a simple uint32_t instead of uint64_t and replace the unnecessary che

[FFmpeg-devel] [PATCH v2 10/14] h264_mp4toannexb: Consistently use pointer comparisons

2019-12-14 Thread Andreas Rheinhardt
h264_mp4toannexb_filter currently uses both indices/offsets as well as direct pointers comparisons for the checks whether one has reached or even surpassed the end. This commit removes the offsets. Signed-off-by: Andreas Rheinhardt --- libavcodec/h264_mp4toannexb_bsf.c | 6 +- 1 file changed

[FFmpeg-devel] [PATCH v2 12/14] h264_mp4toannexb: Improve overread checks

2019-12-14 Thread Andreas Rheinhardt
1. Left shifts of signed values are undefined as soon as the result is no longer representable in the target type. Therefore make nal_size an uint32_t and drop the check for whether it is < 0. 2. The two checks for overreads (whether the length field is contained in the packet and whether the actua

[FFmpeg-devel] [PATCH v2 14/14] dump_extradata: Insert extradata even for small packets

2019-12-14 Thread Andreas Rheinhardt
3469cfab added a check for whether the extradata coincided with the beginning of the packet's data in order not to add extradata to packets that already have it. But the check used was buggy for packets whose size is smaller than the extradata's size. This commit fixes this. Signed-off-by: Andreas

[FFmpeg-devel] [PATCH v2 06/14] h264_mp4toannexb: Don't forget numOfPictureParameterSets

2019-12-14 Thread Andreas Rheinhardt
The format of an AVCDecoderConfigurationRecord, the out-of-band extradata of H.264 in mp4, is as follows: First four bytes containing version, profile and level, one byte for the length size and one byte each for the number of SPS, followed by the SPS (each with its own size field), followed by a b

[FFmpeg-devel] [PATCH v2 04/14] h264_mp4toannexb: Improve extradata overread checks

2019-12-14 Thread Andreas Rheinhardt
Currently during parsing the extradata, h264_mp4toannexb checks for overreads by adding the size of the current unit to the current position pointer and comparing this to the end position of the extradata. But pointer comparisons and pointer arithmetic are only defined if it does not exceed the obj

[FFmpeg-devel] [PATCH v2 07/14] h264_mp4toannexb: Simplify extradata insertion

2019-12-14 Thread Andreas Rheinhardt
Up until now, h264_mp4toannexb stored the offset of the first SPS and the first PPS in the (output) extradata in its context and used these two numbers together with the size of the extradata and the pointer to the extradata to determine what to insert when inserting extradata. This led to some ver

Re: [FFmpeg-devel] [PATCH 1/2] avutil/buffer: add av_buffer_pool_buffer_get_opaque

2019-12-14 Thread James Almer
On 12/7/2019 6:57 PM, Marton Balint wrote: > In order to access the original opaque parameter of a buffer in the buffer > pool. (The buffer pool implementation overrides the normal opaque parameter > but > also saves it so it is accessible). > > Signed-off-by: Marton Balint > --- > doc/APIchang

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/targa: Check colors vs. available space

2019-12-14 Thread Michael Niedermayer
On Thu, Nov 21, 2019 at 11:26:11PM +0100, Michael Niedermayer wrote: > Fixes: Timeout (37sec -> 52ms) > Fixes: > 18892/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TARGA_fuzzer-5739537854889984 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/project

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/wmavoice: Check remaining input in parse_packet_header()

2019-12-14 Thread Michael Niedermayer
On Sat, Nov 23, 2019 at 06:21:16PM +0100, Michael Niedermayer wrote: > Fixes: Infinite loop > Fixes: > 18914/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMAVOICE_fuzzer-5731902946541568 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpe

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/adpcm: Fix invalid shift in xa_decode()

2019-12-14 Thread Michael Niedermayer
On Wed, Nov 20, 2019 at 11:23:27PM +0100, Michael Niedermayer wrote: > Fixes: left shift of negative value -1 > Fixes: > 18859/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ADPCM_XA_fuzzer-5748474213040128 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/mas

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/apedec: Set error on error in ape_decode_value_3860()

2019-12-14 Thread Michael Niedermayer
On Mon, Nov 18, 2019 at 05:30:10PM +0100, Michael Niedermayer wrote: > Fixes: Timeout (unknown -> 15sec) > Fixes: > 18808/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5677586072207360 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projec

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mp3_header_decompress_bsf: Check sample_rate_index

2019-12-14 Thread Michael Niedermayer
On Sat, Dec 14, 2019 at 01:23:04PM +0100, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The smallest minority on earth is the individual. Those who deny individual rights cannot claim to be defenders of minorities. -

Re: [FFmpeg-devel] [PATCH] avcodec/pnm: Check that the header is not truncated

2019-12-14 Thread Michael Niedermayer
On Sat, Dec 14, 2019 at 08:58:55PM +0100, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have never wished to cater to the crowd; for what I know they do not approve, and what they approve I do not know. -- Epicurus

Re: [FFmpeg-devel] [PATCH V4 2/2] lavf/libsrt: enable other encryption parameters

2019-12-14 Thread Marton Balint
On Wed, 4 Dec 2019, Jun Zhao wrote: From: Jun Zhao Enable the SRTO_ENFORCEDENCRYPTION/SRTO_KMREFRESHRATE/ SRTO_KMPREANNOUNCE for srt encryption control. Signed-off-by: Jun Zhao --- doc/protocols.texi | 20 libavformat/libsrt.c | 18 ++ 2 files change

Re: [FFmpeg-devel] [PATCH 2/2] avdevice/xcbgrab: use a buffer pool for shared memory segments

2019-12-14 Thread Marton Balint
On Sat, 14 Dec 2019, James Almer wrote: On 12/7/2019 6:57 PM, Marton Balint wrote: Also by wrapping the SHM buffer in an AVBufferRef we eliminate yet another possible memcpy improving performance. Signed-off-by: Marton Balint --- libavdevice/xcbgrab.c | 79 ++

Re: [FFmpeg-devel] [PATCH] avcodec/pnm: Check that the header is not truncated

2019-12-14 Thread Paul B Mahol
lgtm On 12/14/19, Michael Niedermayer wrote: > Fixes: Ticket8430 > > Signed-off-by: Michael Niedermayer > --- > libavcodec/pnm.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/libavcodec/pnm.c b/libavcodec/pnm.c > index b4e5d3076b..b5c2881948 100644 > --- a/libavcodec/pnm.c > +

Re: [FFmpeg-devel] [PATCH 2/2] avdevice/xcbgrab: use a buffer pool for shared memory segments

2019-12-14 Thread James Almer
On 12/7/2019 6:57 PM, Marton Balint wrote: > Also by wrapping the SHM buffer in an AVBufferRef we eliminate yet another > possible memcpy improving performance. > > Signed-off-by: Marton Balint > --- > libavdevice/xcbgrab.c | 79 > ++- > 1 file ch

Re: [FFmpeg-devel] [PATCH 1/2] avutil/buffer: add av_buffer_pool_buffer_get_opaque

2019-12-14 Thread Marton Balint
On Sat, 7 Dec 2019, Marton Balint wrote: In order to access the original opaque parameter of a buffer in the buffer pool. (The buffer pool implementation overrides the normal opaque parameter but also saves it so it is accessible). Ping. Will apply soon. Thanks, Marton Signed-off-by: Mar

[FFmpeg-devel] [PATCH] avcodec/pnm: Check that the header is not truncated

2019-12-14 Thread Michael Niedermayer
Fixes: Ticket8430 Signed-off-by: Michael Niedermayer --- libavcodec/pnm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/pnm.c b/libavcodec/pnm.c index b4e5d3076b..b5c2881948 100644 --- a/libavcodec/pnm.c +++ b/libavcodec/pnm.c @@ -117,6 +117,9 @@ int ff_pnm_decode_header(

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/cbs_vp9: Check index_size

2019-12-14 Thread James Almer
On 12/14/2019 9:08 AM, Michael Niedermayer wrote: > Fixes: out of array read > Fixes: > 19300/clusterfuzz-testcase-minimized-ffmpeg_BSF_VP9_METADATA_fuzzer-5653911730126848 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by:

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/cbs_av1_syntax_template: Set seen_frame_header only after successfull uncompressed_header()

2019-12-14 Thread James Almer
On 12/14/2019 2:43 PM, Michael Niedermayer wrote: > Fixes: assertion failure > Fixes: > 19301/clusterfuzz-testcase-minimized-ffmpeg_BSF_AV1_FRAME_MERGE_fuzzer-5743212006473728 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-b

[FFmpeg-devel] [PATCH 1/2] avcodec/cbs_av1_syntax_template: Set seen_frame_header only after successfull uncompressed_header()

2019-12-14 Thread Michael Niedermayer
Fixes: assertion failure Fixes: 19301/clusterfuzz-testcase-minimized-ffmpeg_BSF_AV1_FRAME_MERGE_fuzzer-5743212006473728 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/cbs_av1_syntax_template.

[FFmpeg-devel] [PATCH 2/2] avcodec/wmavoice: Fix rounding and integer anomalies in calc_input_response()

2019-12-14 Thread Michael Niedermayer
Fixes: out of array access Fixes: inf is outside the range of representable values of type 'int' Fixes: signed integer overflow: -9223372036854775808 - 1 cannot be represented in type 'long' Fixes: 19316/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMAVOICE_fuzzer-5677369365102592 Found-by:

Re: [FFmpeg-devel] [PATCHv2] fate: Add an option for disabling the 2k/4k tests

2019-12-14 Thread James Almer
On 12/14/2019 1:36 PM, Carl Eugen Hoyos wrote: > Am Sa., 14. Dez. 2019 um 00:02 Uhr schrieb James Almer : > >> BIG is too generic > > Within fate? > > Carl Eugen For a make option. It could be anything. Big tests? Big binaries? I already said i'm fine with it if no other option is ok for other

Re: [FFmpeg-devel] [PATCHv2] fate: Add an option for disabling the 2k/4k tests

2019-12-14 Thread Carl Eugen Hoyos
Am Sa., 14. Dez. 2019 um 00:02 Uhr schrieb James Almer : > BIG is too generic Within fate? Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffm

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_histogram: clean up code

2019-12-14 Thread Carl Eugen Hoyos
Am Sa., 14. Dez. 2019 um 08:28 Uhr schrieb zhilizhao : > > On Dec 13, 2019, at 10:00 PM, Paul B Mahol wrote: > > > > Please provide some explanation. > > No functional changes, just use temporary variables to make code more > readable, > and may improve a little bit of performance. Such a clai

Re: [FFmpeg-devel] [PATCH 11/15] h264_mp4toannexb: Stop reallocating the output buffer

2019-12-14 Thread Michael Niedermayer
On Thu, Oct 17, 2019 at 10:29:41AM +0200, Andreas Rheinhardt wrote: > Up until now, h264_mp4toannexb would grow the output packet's buffer by > the desired amount every time another NAL unit of the input packet has > been read; this commit changes this: The input buffer is now essentially > parsed

[FFmpeg-devel] [PATCH v1] avcodec/bsf: replace ctx->internal-> with in-> for better readability

2019-12-14 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/bsf.c | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/libavcodec/bsf.c b/libavcodec/bsf.c index c1653cd..a5a5a03 100644 --- a/libavcodec/bsf.c +++ b/libavcodec/bsf.c @@ -175,9 +175,11

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mp3_header_decompress_bsf: Check sample_rate_index

2019-12-14 Thread Paul B Mahol
lgtm On 12/14/19, Michael Niedermayer wrote: > Fixes: out of array read > Fixes: > 19309/clusterfuzz-testcase-minimized-ffmpeg_BSF_MP3_HEADER_DECOMPRESS_fuzzer-5651002950942720 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-b

[FFmpeg-devel] [PATCH 2/2] avcodec/mp3_header_decompress_bsf: Check sample_rate_index

2019-12-14 Thread Michael Niedermayer
Fixes: out of array read Fixes: 19309/clusterfuzz-testcase-minimized-ffmpeg_BSF_MP3_HEADER_DECOMPRESS_fuzzer-5651002950942720 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/mp3_header_decompr

[FFmpeg-devel] [PATCH 1/2] avcodec/cbs_vp9: Check index_size

2019-12-14 Thread Michael Niedermayer
Fixes: out of array read Fixes: 19300/clusterfuzz-testcase-minimized-ffmpeg_BSF_VP9_METADATA_fuzzer-5653911730126848 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/cbs_vp9.c | 3 +++ 1 file c

[FFmpeg-devel] [WIP][RFC][PATCH] avcodec: add BRAW video decoder

2019-12-14 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- Does not use optimized 8x8 idct as its buggy and give errors around high contrast borders. Sending to receive general feedback and useful comments. Still probabbly missing additional post processing. --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c

Re: [FFmpeg-devel] [PATCH]lavc/pnmdec: Fix 16bit decoding

2019-12-14 Thread Carl Eugen Hoyos
Am Fr., 13. Dez. 2019 um 23:06 Uhr schrieb Michael Niedermayer : > > On Fri, Dec 13, 2019 at 07:13:20PM +0100, Carl Eugen Hoyos wrote: > > Hi! > > > > Attached patch fixes decoding a sample provided on irc. > > > > Please comment, Carl Eugen > > > pnmdec.c |2 +- > > 1 file changed, 1 insertio