Posts: 64
Joined: May 2012
Reputation:
1
So I've been back looking at this when time allows it. Of note, cximage is used by all image types except jpg. This bring about an interesting test I did. I took a test directory of Nikon NEFs and converted them to TIFFs. Browsing the TIFFS does not appear to leak! So that helps in looking further at cximage.
I also had two test forks, one with libdcr updated the other with cximage being updated. Unfortunately both leaked for RAW images.
To Do: Figure out where in CXIMAGE_FORMAT_RAW that memory is leaking
Posts: 17,859
Joined: Jul 2011
Reputation:
371
2014-06-11, 06:43
(This post was last modified: 2014-06-11, 06:43 by Martijn.)
Please use pastebin.com
Devs are reluctant to download from such sites. Best would be creating a pull request on github
Posts: 819
Joined: Aug 2012
Reputation:
35
Ace
Team-Kodi Member
Posts: 819
The diff is difficult to read, but the buffer you want to free is already freed in the destructor of CxMemFile...
Posts: 16,946
Joined: Feb 2011
Reputation:
256
@ace20022 i disagree ... this buffer is only freed in CxMemFile::Close (which is called from CxMemFile::~CxMemFile()) when m_bFreeOnClose is true which is not the case as in CxMemFile::CxMemfile (c'tor) the buffer is != 0. That fix is valid imo ... will review a bit more and do a PR for common review.
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)
Posts: 1,606
Joined: Jul 2007
Reputation:
51
Don't RAW formats often change while maintaining the same extension? My perspective is as a Canon user who's had a few cameras and uses Adobe Creative Suite/Cloud.
A Canon CR2 does not seem to universally determine format support. Every time a NEW camera comes out, Adobe Camera RAW needs to be updated to support that camera. I've been in situations where Canon T2i CR2's worked fine but T4i CR2's would not open without an update to Adobe Camera RAW and this seems to be the issue whenever a new camera is rolled out. There's always at least some small differences between sensors, sometimes large differences, so their RAW data is different.
Posts: 87
Joined: Jan 2011
Reputation:
0
hi,
I wanted to ask support for NEF will be developed?
Current Status:
14.0-Helix version displays photos but does not impose information captured image parameters
I noticed watching the discussion thread about libraw. Library is used by Gwenview and is stable. IMHO speed is better in Gwenview than Kodi