Author Topic: lv_unpack_raw?? Any idea what that does?  (Read 4591 times)

nikfreak

  • Developer
  • Hero Member
  • *****
  • Posts: 1195
lv_unpack_raw?? Any idea what that does?
« on: May 31, 2015, 11:09:29 AM »
See attached picture (click to resize). Ever seen this on any other rom / camera? Tried to call it like lv_save_raw but maybe I was incapable of understanding how and what to do with lv_unpack_raw. There's also this DAF (0x7ADC8). It is seems to be a state object (there's string DafState.c in ROM or it might be a property) related to EVF and get's logged in dm.log's but I can't seem to find it in a1ex's bitbucket state object diagram pages for 70D. I think DAF could be related to 70D's DualAutofocus but it's just a guess. Anyways I tried to search for lv_unpack_raw but couldn't find any infos on that. Searching for it in another ROM didn't yield to a result...
Code: [Select]
DAF:ff0d8648:be:03: [DAF] dafProperty break 5
DAF:ff68aefc:be:03: GetDafKParam 0112
DAF:ff0d7f64:be:03: [BP] lens BP
DAF:ff0d961c:be:03: [DAF] PROP_DAF_DATA_REQUEST
.
.
.
Evf:ff68c314:be:03: [DAF] IFE 6-4 -> 6-6

70D.112 & 100D.101

nikfreak

  • Developer
  • Hero Member
  • *****
  • Posts: 1195
Re: lv_unpack_raw?? Any idea what that does?
« Reply #1 on: May 31, 2015, 12:46:37 PM »
And here is another screenshot. Please see red markings (click to resize). Are these abort messages in my dm.log anything to worry about in conjunction with lv_unpack_raw?? I just got the feeling I have to call it somehow in code but it's just a guess...

70D.112 & 100D.101

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: lv_unpack_raw?? Any idea what that does?
« Reply #2 on: May 31, 2015, 02:14:51 PM »
Probably 16-bit (unpacked) raw data. You could check the value at 0x978c0.

This is also present in 7D2, but I couldn't find it in any other camera.

It seems similar to lv_af_raw.

nikfreak

  • Developer
  • Hero Member
  • *****
  • Posts: 1195
Re: lv_unpack_raw?? Any idea what that does?
« Reply #3 on: May 31, 2015, 03:27:35 PM »
MEM(0x978C0) returns 0
MEM(0x978B4) returns 34 so should be raw_type
70D.112 & 100D.101