Comments (4)
Are you sure you have NV12 and not NV21?
NV12 has a UV plane with U followed by V. NV12ToI420Rotate outputs the U to
the u, u_stride and V to the v, v_stride.
The same function can be used for NV21 by passing u and v swapped.
Original comment by [email protected]
on 7 Mar 2012 at 6:36
from libyuv.
oh wait... my bad. Fixed in r208
Original comment by [email protected]
on 7 Mar 2012 at 6:39
- Changed state: Started
from libyuv.
Original comment by [email protected]
on 7 Mar 2012 at 7:20
- Changed state: Fixed
from libyuv.
Thanks for the fast commit :) !
I'll continue to investigate the other point I mentioned on the libyuv google
group about rotation.
But that's another issue I'll open as soon as I'll get a clear idea of what's
going wrong (and maybe a patch too).
My first analysis is that the culprit is ~maybe~ webRTC that sends to libyuv
request with a rotation of 270 or 90 while they don't invert width and height
for dest frame. (even if that's actually what they want to do, rotate a 352 ×
288 into a new 352 × 288 with content rotate of 270° -- but that's maybe not
supported by libyuv).
Anyway, libyuv probably should make sure that it doesn't try to write out of
the dst frame in this kind of case.
But it's probably more about sanity check than about real "bug" (unless it's
something that could be considered as expected feature of libyuv).
But, I'll keep you in touch with a new issue :). Or if there is another mean
you prefer me to use for this kind of point?
Original comment by [email protected]
on 8 Mar 2012 at 10:32
from libyuv.
Related Issues (20)
- ARGBToUVJRow_SSSE3 used but expected ARGBToUVJRow_AVX2 HOT 3
- NV12ToARGBRow_SSSE3 used, but should be NV12ToARGBRow_AVX2, based on I422ToARGBRow_AVX2 HOT 5
- I411ToARGBRow_SSSE3 used but expected AVX2. Adapt from I422ToARGBRow_AVX2 HOT 5
- I422ToYUY2Row_SSE2 - port to AVX2 HOT 1
- I422ToARGBRow_SSSE3 used; expected I422ToARGBRow_AVX2 HOT 5
- ScaleRowDown2Box_Odd_SSSE3 for odd source width subsampling.
- Convert16To8 for higher bit depth conversions
- Convert16ToF16 for higher bit depth conversions to half float.
- MJPGToARGB prototype in wrong header HOT 2
- Row_ name consistency HOT 3
- Signed int overflows in row_gcc.cc HOT 12
- test msan HOT 8
- rename MIPS_DSPR2 to DSPR2 HOT 2
- -DLIBYUV_DISABLE_X86=1 build HOT 2
- libyuv 'Source' shows old svn content - update or remove HOT 1
- SVN turn down HOT 1
- libyuv_neon.a library build failed in ios building HOT 2
- Android - android/test_runner.py ImportError: No module named dependency_manager HOT 4
- ARGBToRGB565 neon use vsri HOT 1
- ARGBToA
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libyuv.