• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Color shifting with r408
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Color shifting with r408


  • Subject: Color shifting with r408
  • From: Robert Monaghan <email@hidden>
  • Date: Wed, 23 Dec 2009 14:32:01 -0800

Hi everyone,

I am working on a FxPlug Filter. I have created a simple filter that uses both r408 and r4fl.
Currently, the filter takes incoming r408 (or r4fl) bytes, converts them to RGB, does some work, and then back to r408.

I am having a really difficult time trying to get the r408 image to match the r4fl image. The r4fl is always darker than the r408.
I am on Snow Leopard, testing with Final Cut Pro 7.0.1. I am using a scale value of 255/219 on the incoming Y channel,
and a value of 219/255 to scale back out.
The formula looks something li

The odd part about this, is that the code that I normally use in my QuickTime component to convert from r408/r4fl to RGB (and back) doesn't work with this API.
I get color shifting with r408 and luminance problems with r4fl.

Can anyone suggest some ways of tweaking the YCbCr <-> RGB code to get a match? (Or better yet, post a recommended C code sample for both r408 and r4fl).

Thanks,

bob.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Color shifting with r408
      • From: Darrin Cardani <email@hidden>
  • Prev by Date: automated response
  • Next by Date: Re: Color shifting with r408
  • Previous by thread: automated response
  • Next by thread: Re: Color shifting with r408
  • Index(es):
    • Date
    • Thread