Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YUV scaler with conversion #240

Open
GoogleCodeExporter opened this issue Dec 31, 2015 · 6 comments
Open

YUV scaler with conversion #240

GoogleCodeExporter opened this issue Dec 31, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

Currently its a 2 step process to scale and convert.
Implement a YUV to ARGB scaling function.

The primary use case is rendering related, so it would focus on
1. upsampling.  but still work on down sampling.
2. bilinear.  but point sampling should be free.
3. I420 To ARGB.  but other formats should work.  3 plane to single plane.
4. clipping
5. mirroring.  vertically for upside down images, and horizontal for self view.

The low level functions should already be done.  Leverage existing conversion 
and scaling.

If internally done as convert and then scale, a downside is subsampling and 
bilinear cause more blur on chroma than a specialized scale.
To test quality tradeoff, scale YUV to destination size as 444 and convert 444 
to ARGB.

The util/convert supports YUV to ARGB with scaling - adapt the tool to do one 
step.

Original issue reported on code.google.com by [email protected] on 31 May 2013 at 6:55

@GoogleCodeExporter
Copy link
Author

Sounds great - thanks for looking at this, Frank.

Original comment by [email protected] on 31 May 2013 at 7:54

@GoogleCodeExporter
Copy link
Author

r726 adds low level upsampler and high level prototype.

Original comment by [email protected] on 14 Jun 2013 at 4:12

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

Bumping priority to high to reflect this is a top concern

Original comment by [email protected] on 23 Jul 2013 at 9:34

  • Added labels: Priority-High
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

Additional requirement - support ABGR.

Original comment by [email protected] on 23 Sep 2013 at 6:22

@GoogleCodeExporter
Copy link
Author

Suggest also doing a scale post process function which takes ARGB and does 
something.  Eg. a blend.

Original comment by [email protected] on 13 Oct 2013 at 3:03

@GoogleCodeExporter
Copy link
Author

No recent work, so returning this to new/medium priority.
mid level function is implemented.
work is being done on scale functions - any, neon 64 and avx2 optimizations.

Original comment by [email protected] on 3 Apr 2015 at 11:50

  • Changed state: New
  • Added labels: Priority-Medium
  • Removed labels: Priority-High

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant