Re: [FFmpeg-devel] [PATCH]lavc/dpx: Support 10-bit packing method b (msbpad)

2018-06-21 Thread Carl Eugen Hoyos
2018-06-16 23:03 GMT+02:00, Carl Eugen Hoyos : > 2018-06-16 21:32 GMT+02:00, Jerome Martinez : >> On 16/06/2018 17:49, Carl Eugen Hoyos wrote: > >>> +*lbuf = (*lbuf << 10) | (*lbuf >> shift); >> >> Padding bits are 0 in all DPX files I have seen up to now >> but in theory padding bits are not d

Re: [FFmpeg-devel] [PATCH]lavc/dpx: Support 10-bit packing method b (msbpad)

2018-06-16 Thread Carl Eugen Hoyos
2018-06-16 21:32 GMT+02:00, Jerome Martinez : > On 16/06/2018 17:49, Carl Eugen Hoyos wrote: >> +*lbuf = (*lbuf << 10) | (*lbuf >> shift); > > Padding bits are 0 in all DPX files I have seen up to now > but in theory padding bits are not defined Of course not, new patch attached. Thank you!

Re: [FFmpeg-devel] [PATCH]lavc/dpx: Support 10-bit packing method b (msbpad)

2018-06-16 Thread Jerome Martinez
On 16/06/2018 17:49, Carl Eugen Hoyos wrote: Hi! Attached patch allows to decode 10-bit dpx files with packing method b, needs the 12-bit patch. Great to see the support of Method B. Please comment, Carl Eugen [...] +    *lbuf = (*lbuf << 10) | (*lbuf >> shift); Padding bits are 0 in al

[FFmpeg-devel] [PATCH]lavc/dpx: Support 10-bit packing method b (msbpad)

2018-06-16 Thread Carl Eugen Hoyos
Hi! Attached patch allows to decode 10-bit dpx files with packing method b, needs the 12-bit patch. Please comment, Carl Eugen From 401bdebba6dc8fa2253c720107a971b3fbf2c312 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 16 Jun 2018 17:47:46 +0200 Subject: [PATCH] lavc/dpx: Support 10