Re: [FFmpeg-devel] [PATCH 5/7] avcodec/dpx: improve decoding of 10 bit gray images

2018-12-07 Thread Carl Eugen Hoyos
2018-12-06 20:34 GMT+01:00, Paul B Mahol : > +temp = *lbuf >> shift & 0x3FF; > +*lbuf = *lbuf >> 10; > + > +return temp; > +} > + > static uint16_t read10in32(const uint8_t **ptr, uint32_t * lbuf, >int * n_datum, int is_big, int shift) > { > @@ -38

[FFmpeg-devel] [PATCH 5/7] avcodec/dpx: improve decoding of 10 bit gray images

2018-12-06 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/dpx.c | 28 +--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c index cfe601..ed17bf3858 100644 --- a/libavcodec/dpx.c +++ b/libavcodec/dpx.c @@ -51,6 +51,24 @@ static unsign