- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The is Image 1
----------------------------------------
|AAAAAAAA |
| |
----------------------------------------
Image2
--------
|A|
--------
The Dest Image can be
----------------------------------------
|AAAAAAAA |
| |
----------------------------------------
It Can't paste image.I only use this;
Thanks in advance.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you want to copy one image (say some small sprite) into another image (say, bigger, for example background)?
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes.The Image is YV12 PixelFormat.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We do not have such a special variant of IPP function, but you should be able to use just ordinary ippiCopy function, just need to determine correct sizes of data chunks
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Y = 0.257*R' + 0.504*G' + 0.098*B' + 16
Cb = -0.148*R' - 0.291*G' + 0.439*B' + 128
Cr = 0.439*R' - 0.368*G' - 0.071*B' + 128
Image1 is only character'A' ( Color is Red) BackGroud color is Black.
I make Image2's correspounding position value is Image1's.
I found In Character'A' area, there is not only red, but some transparent.
I thinkthe wrong maybe the Cb,Cr use by 4 pixels.I Set the value is( -0.148*255 + 128, 0.439*255 + 128).
I use rgb565 is right,but itexhaust more time!
My English is poor, my description may be no clear!
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We do not have copy function for RGB565 data, but if you use RGB24 it is possible to copy small image into arbitrary point of another image.
Vladimir
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page