Req Better RAW-support (pictures)
#12
I've given it a shot yesterday.

1. added libraw to the unified depends buildsystem (glad it had a proper autotools buildsystem at first look) and compiled it for osx
2. added proper libraw detection support to our configure
3. fixed your source pitch calculation and removed the flip altering (why did you alter it to 3?)

I only tested it with one random raw cr2 i've found on google (5010x3336 50MB).

There are multiple problems here.

1. Libraw only decodes the image. If i am correct it doesn't apply any corrections based on the raw metadata (whitebalance, color matrix, color profile). So basically you get flat decoded rgb data. (i might be wrong - but it looked flat)
2. Libraw only decodes the image in full resolution. Based on texture size limitations - current cximage implementation also scales the image down for getting a texture fit. There is no such possibility in libraw (at least i didn't find one).
3. Not sure how to solve 2. - but i guess thats what makes libraw so slow in comparison to cximage (we are copying all pixels but the texture then only shows the upper left square).

I am not into the picture stuff and how to handle the limited texture sizes (imo scaling down is only an option for getting the full screen overview - when zooming in there should be a new more detailed texture from the source data).

Well i feel not up to the task to tackle this (also i am not very interested in it). If it jus was about getting libraw rolling on all our platforms i would be able to do that. But the deeper integration and correction of its usage in xbmc is nothing for me.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply


Messages In This Thread
Better RAW-support (pictures) - by Robotica - 2013-06-14, 14:55
RE: Better RAW-support (pictures) - by WiSo - 2013-06-14, 16:10
RE: Better RAW-support (pictures) - by jopie - 2013-06-19, 22:11
RE: Better RAW-support (pictures) - by Ace - 2013-06-25, 16:15
RE: Better RAW-support (pictures) - by Ace - 2013-06-26, 13:01
RE: Better RAW-support (pictures) - by Memphiz - 2013-06-26, 14:22
RE: Better RAW-support (pictures) - by Ace - 2013-06-26, 23:12
RE: Better RAW-support (pictures) - by smf007 - 2013-06-27, 02:34
RE: Better RAW-support (pictures) - by Ace - 2013-06-27, 12:00
RE: Better RAW-support (pictures) - by Ace - 2013-06-27, 14:00
RE: Better RAW-support (pictures) - by smf007 - 2013-06-28, 00:21
RE: Better RAW-support (pictures) - by smf007 - 2013-06-28, 01:52
RE: Better RAW-support (pictures) - by WiSo - 2013-06-28, 11:47
RE: Better RAW-support (pictures) - by smf007 - 2013-06-28, 16:27
RE: Better RAW-support (pictures) - by smf007 - 2013-06-28, 22:42
RE: Better RAW-support (pictures) - by WiSo - 2013-06-30, 18:18
RE: Better RAW-support (pictures) - by smf007 - 2013-07-01, 23:05
RE: Better RAW-support (pictures) - by smf007 - 2013-07-04, 05:37
RE: Better RAW-support (pictures) - by Ace - 2013-07-04, 07:11
RE: Better RAW-support (pictures) - by spiff - 2013-07-04, 11:38
RE: Better RAW-support (pictures) - by smf007 - 2013-08-03, 19:45
RE: Better RAW-support (pictures) - by smf007 - 2013-08-03, 20:10
RE: Better RAW-support (pictures) - by smf007 - 2013-08-09, 04:40
RE: Better RAW-support (pictures) - by smf007 - 2013-09-23, 23:03
RE: Better RAW-support (pictures) - by Ace - 2013-09-24, 12:30
RE: Better RAW-support (pictures) - by smf007 - 2013-09-28, 20:09
RE: Better RAW-support (pictures) - by smf007 - 2013-10-08, 23:37
RE: Better RAW-support (pictures) - by WiSo - 2013-10-15, 22:41
RE: Better RAW-support (pictures) - by smf007 - 2013-10-18, 20:17
RE: Better RAW-support (pictures) - by Ace - 2013-10-15, 22:58
RE: Better RAW-support (pictures) - by WiSo - 2013-10-16, 13:54
RE: Better RAW-support (pictures) - by WiSo - 2013-10-18, 21:27
RE: Better RAW-support (pictures) - by smf007 - 2013-10-18, 22:51
RE: Better RAW-support (pictures) - by smf007 - 2014-05-29, 01:03
RE: Better RAW-support (pictures) - by smf007 - 2014-06-11, 06:28
RE: Better RAW-support (pictures) - by zag - 2014-06-11, 10:15
RE: Better RAW-support (pictures) - by Ace - 2014-06-11, 13:10
RE: Better RAW-support (pictures) - by smf007 - 2014-06-11, 13:55
RE: Better RAW-support (pictures) - by smf007 - 2014-06-11, 23:53
RE: Better RAW-support (pictures) - by smf007 - 2014-06-12, 02:52
RE: Better RAW-support (pictures) - by Ace - 2014-06-12, 07:33
RE: Better RAW-support (pictures) - by m_o_d - 2014-12-27, 21:41
RE: Better RAW-support (pictures) - by smf007 - 2014-12-28, 22:32
RE: Better RAW-support (pictures) - by m_o_d - 2014-12-28, 23:23
RE: Better RAW-support (pictures) - by neutro - 2015-06-28, 02:42
RE: Better RAW-support (pictures) - by tavoc - 2016-02-02, 10:11
RE: Better RAW-support (pictures) - by zag - 2016-02-02, 11:31
RE: Better RAW-support (pictures) - by tavoc - 2016-02-02, 12:22
RE: Better RAW-support (pictures) - by jjd-uk - 2016-02-02, 15:18
RE: Better RAW-support (pictures) - by tavoc - 2016-02-02, 15:36
Logout Mark Read Team Forum Stats Members Help
Better RAW-support (pictures)3