Re: [FFmpeg-devel] colorspace.h

2015-06-06 Thread Timo Rothenpieler
> The specific code I'm referring to is at the end of colorspace.h where it > looks like they're trying to encode RGB to BT.601. > > #define RGB_TO_Y(r1, g1, b1, shift) > #define RGB_TO_U(r1, g1, b1, shift) > #define RGB_TO_V(r1, g1, b1, shift) A quick search over the ffmpeg codebase tells me th

Re: [FFmpeg-devel] colorspace.h

2015-06-05 Thread Chris
rs encode(255,128,0,601); //use 601 or 709 as last argument } -Original Message- From: Michael Niedermayer To: FFmpeg development discussions and patches Sent: Wed, Jun 3, 2015 11:52 am Subject: Re: [FFmpeg-devel] colorspace.h On Tue, Jun 02, 2015 at 02:28:59AM -0400, Chris wrote: >

Re: [FFmpeg-devel] colorspace.h

2015-06-04 Thread Chris
ors encode(255,128,0,709); //use 601 or 709 as last argument } == -Original Message- From: Michael Niedermayer To: FFmpeg development discussions and patches Sent: Wed, Jun 3, 2015 11:52 am Subject: Re: [FFmpeg-devel] colorspace.h On Tue, Jun 02, 2015 at 02:28:59AM -0400, Chris

Re: [FFmpeg-devel] colorspace.h

2015-06-03 Thread Chris
gram will be written with both 601 and 709. It will be expandable to other color spaces. -Original Message- From: Michael Niedermayer To: FFmpeg development discussions and patches Sent: Wed, Jun 3, 2015 11:52 am Subject: Re: [FFmpeg-devel] colorspace.h On Tue, Jun 02, 2015 at 02:28:59AM

Re: [FFmpeg-devel] colorspace.h

2015-06-03 Thread Chris
m: Michael Niedermayer To: FFmpeg development discussions and patches Sent: Wed, Jun 3, 2015 11:52 am Subject: Re: [FFmpeg-devel] colorspace.h On Tue, Jun 02, 2015 at 02:28:59AM -0400, Chris wrote: > Hello - > > I have found what I believe to be some questionable code in colorspace.h.

Re: [FFmpeg-devel] colorspace.h

2015-06-03 Thread Michael Niedermayer
On Tue, Jun 02, 2015 at 02:28:59AM -0400, Chris wrote: > Hello - > > I have found what I believe to be some questionable code in colorspace.h. I > have modified the code to what I believe is correct but am unable to compile > ffmpeg myself on Windows to test my modifications, despite spending ma

[FFmpeg-devel] colorspace.h

2015-06-01 Thread Chris
Hello - I have found what I believe to be some questionable code in colorspace.h. I have modified the code to what I believe is correct but am unable to compile ffmpeg myself on Windows to test my modifications, despite spending many hours trying to do so and reading several how-to's. We can d