ok: good news: the cache hack is seems to be working, checking now...
Etiquette, expectations, entitlement...
@autoexec_bin | #magiclantern | Discord | Reddit | Server issues
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: shawnwytch on May 31, 2013, 09:02:09 PM
how are you guys converting these files? so u can see them in premiere or resolve
Quote from: dlrpgmsvc on May 29, 2013, 07:38:42 PM
@Xaint : you said, some posts ago, that zebras seems not to be aligned. Can you confirm this or do they are ok ? Many thanks !
Quote from: dlrpgmsvc on May 28, 2013, 09:34:42 PM
try to go to the wrench menu and then -restore ml defaults- then shut down and restart your 550d so we have same settings, then see if warn circles appear in quick review ... in my 500d not!
Quote from: dlrpgmsvc on May 28, 2013, 08:52:20 PM
Ouch ! Here I'm missing something very hard to understand for me ! Why I'm missing the warning circles in the QR mode ?!?
Can you send me your BIN, please ? Just to check ! Thanks !
I checked and double-checked: I get perfectly identical histogram values in lv and qr, BUT in qr there are no warning circles !
If you send your bin, then, if the problem persists, it's a matter of values and parameters inside ml or canon menus in my camera. If, otherwise, the problem is gone, then it's a difference in our sources !
Quote from: dlrpgmsvc on May 28, 2013, 03:15:56 PM
Yes, I have yet done your modifications some days ago, but the problem is still into the parameters "skip...and so on" I think. You have found the right modifications I already done. Now I inserted your NEW parameters of skippage and dimensions you have lastly found, but I still don't see the overexposure circles in qr that I see in LV, and the ETTR hint data is different from liveview to Quickreview. The problem may be :
[1] The dimensions and skip parameters
[2] The raw photo EDMAC address
[3] The value in sds 3 front state, like discussed here in my latest modifications: https://bitbucket.org/dlrpgmsvc/magic-lantern/commits/3c7ce12b6ec26a796be0030d70aa837783e91ee2
[4] Something else (?)
What do you think ? And: are you sure the skip and dimensions parameters are ok ? You said it's off about 2 pixels on one side and three pixels on other side, so: why you don't correct the skip or dimensions parameters accordingly ? Or is this not correctable ? It's just a curiosity, I know this don't solve our problem so much...
Quote from: dlrpgmsvc on May 27, 2013, 02:08:21 PM
Also, have you managed to follow the hints in the link I posted on the first post of this thread ? I lost myself because I'm not so aquainted with Linux o/s ... so I cannot manage to launch all that mess commands in order to guess the values we need... did you succeeded in some degree ?
#if defined(CONFIG_550D)
width = 5344;
height = 3516;
skip_left = 142;
skip_right = 18;
skip_top = 58;
skip_bottom = 10;
#endif
Quote from: a1ex on May 23, 2013, 06:14:27 PM
For photo histograms, you need to enable CONFIG_RAW_PHOTO in internals.h (look at 5D2/5D3). Then, you need to intercept the raw image buffer from Canon's state object (this is the task that develops the image). The state machine is just like 5D2 one.
You will also have to guess the photo EDMAC. They are only 32 of them (maybe less). It's likely to be the same as on 5D2.
Then, find the offsets until you get raw zebras aligned correctly (1% knows a program that autodetects those, I did them by trial and error). Be careful with bayer grid alignment (top-left pixel should be red, otherwise you have to skip one line and/or column).
Quote from: xaint on May 26, 2013, 08:38:14 PM
First thing: sorry for my horrible english
I think,i have successfully enabled raw histogram in quick review mode.
Here are the changes i've made: (dlrpgmsvc please check! )
in raw.c i've add:
...
/** We have access to raw data in photo mode too :) */
#define CONFIG_RAW_PHOTO
#define SDS_FRONT3_STATE (*(struct state_object **)0x3840)
#ifdef CONFIG_550D
#define DISPLAY_STATE DISPLAY_STATEOBJ
#define INPUT_ENABLE_IMAGE_PHYSICAL_SCREEN_PARAMETER 19
#define MOVREC_STATE (*(struct state_object **)0x5B34)
#define LV_STATE (*(struct state_object **)0x4B74)
#define LVCAE_STATE (*(struct state_object **)0x51E4)
#define SDS_FRONT3_STATE (*(struct state_object **)0x3840) <<<<<<<<<<<<<<<<<<<<<<<<<<<<
#endif
QuoteThen, you need to intercept the raw image buffer from Canon's state object
#ifdef CONFIG_550D
if (old_state == 0 && input == 3 && new_state == 1)
raw_buffer_intercept_from_stateobj();
#endif
#ifdef SDS_FRONT3_STATE
static int stateobj_sdsf3_spy(struct state_object * self, int x, int input, int z, int t)
{
int old_state = self->current_state;
int ans = StateTransition(self, x, input, z, t);
int new_state = self->current_state;
#ifdef CONFIG_5D2
// SDSf3:(0) -- 3 sdsMem1toRAWcompress-->(1)
// SDSf3:(1) -- 3 sdsMem1toJpegDevelop-->(1)
if (old_state == 0 && input == 3 && new_state == 1)
raw_buffer_intercept_from_stateobj();
#endif
#ifdef CONFIG_550D <<<<<<<<<<<<<<<<<<<<<<<<<<<<
if (old_state == 0 && input == 3 && new_state == 1) <<<<<<<<<<<<<<<<<<<<<<<<<<<<
raw_buffer_intercept_from_stateobj(); <<<<<<<<<<<<<<<<<<<<<<<<<<<<
#endif <<<<<<<<<<<<<<<<<<<<<<<<<<<<
return ans;
}
#endif
#if defined(CONFIG_5D2) || defined(CONFIG_500D) || defined (CONFIG_550D) || defined(CONFIG_600D) || defined(CONFIG_650D) || defined(CONFIG_EOSM) // remove this: defined(CONFIG_550D)
#define RAW_PHOTO_EDMAC 0xc0f04A08
#endif
#if defined(CONFIG_5D3) || defined(CONFIG_6D)
#define RAW_PHOTO_EDMAC 0xc0f04808
#endif
#if defined(CONFIG_60D)
#define RAW_PHOTO_EDMAC 0xc0f04208
#endif
#if defined(CONFIG_5D2) || defined(CONFIG_500D)|| defined(CONFIG_600D) || defined(CONFIG_650D) || defined(CONFIG_EOSM)
#define RAW_PHOTO_EDMAC 0xc0f04A08
#endif
#if defined(CONFIG_5D3) || defined(CONFIG_6D)
#define RAW_PHOTO_EDMAC 0xc0f04808
#endif
#if defined(CONFIG_60D)
#define RAW_PHOTO_EDMAC 0xc0f04208
#endif
#if defined(CONFIG_550D) <<<<<<<<<<<<<<<<<<<<<<<<<<<<
#define RAW_PHOTO_EDMAC 0xc0f04208 <<<<<<<<<<<<<<<<<<<<<<<<<<<<
#endif <<<<<<<<<<<<<<<<<<<<<<<<<<<<
#ifdef CONFIG_550D
raw_info.buffer = (void*) shamem_read(RAW_PHOTO_EDMAC);
#endif
Quote from: dlrpgmsvc on May 27, 2013, 12:38:42 AM
I found that this code you added :
#ifdef CONFIG_550D
raw_info.buffer = (void*) shamem_read(RAW_PHOTO_EDMAC);
#endif
Is not needed at all... it don't solve our problem, however we clean out the code a bit...
#if defined(CONFIG_550D)
width = 5344;
height = 3516;
skip_left = 142;
skip_right = 18;
skip_top = 58;
skip_bottom = 10;
#endif
Be careful with bayer grid alignment (top-left pixel should be red, otherwise you have to skip one line and/or column).
QuoteThen, find the offsets until you get raw zebras aligned correctly
Quote from: 3pointedit on May 27, 2013, 02:56:56 PM
Sorry, does this 18MP dump mean we can have a shutterless image capture in RAW? At full res!
#ifdef CONFIG_550D
raw_info.buffer = (void*) shamem_read(RAW_PHOTO_EDMAC);
#endif
#ifdef CONFIG_550D
raw_info.buffer = (void*) shamem_read(RAW_PHOTO_EDMAC);
#endif
Quote from: dlrpgmsvc on May 23, 2013, 05:51:26 PM
One question: why, if raw histogram enabled, the live view shows raw histo and then the quick review show the normal histo ? Do this is normal ? Do we must enable some option to have raw histo ALSO on the quick review ? Many thanks in advance for your replies !
#if defined(CONFIG_550D)
#define RAW_PHOTO_EDMAC 0xc0f04208
#endif
raw_info.buffer = (void*) raw_buffer_photo;
#ifdef CONFIG_550D
raw_info.buffer = (void*) shamem_read(RAW_PHOTO_EDMAC);
#endif
#if defined(CONFIG_550D)
width = 5344;
height = 3516;
skip_left = 142;
skip_right = 0;
skip_top = 50;
#endif
Page created in 0.094 seconds with 13 queries.