LiveView Crop Registers

Started by theBilalFakhouri, July 03, 2019, 04:22:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

theBilalFakhouri

By locking the registers between x5 and x10 you can bring x10 real-time preview into x5 vice versa in Canon 700D, here is the registers between the two:
https://docs.google.com/spreadsheets/d/1-3PlMmQHfUx7fh_u61p4v2O9rmP0madKaQjlkGWsBdo/edit#gid=0

I have started to look into it again; I am trying to get real-time correct framing LiveView in x5

Danne

Very interesting. If someone can pull this through it´s you. Looking forward to progress. So I assume you want to lock mv1080p while in x5zoom?

theBilalFakhouri

Quote from: Danne on July 03, 2019, 05:25:47 PM
So I assume you want to lock mv1080p while in x5zoom?

Hmm no, I am not sure if I am doing this in the right way, these registers controlling the cropped LiveView size, I will ignore mv1080 and x1 mods for now, we have x5 cropped LiveView and x10 cropped LiveView I am trying to achieve different LiveView crops like x3, x4 , x6 and so on; in this way we will understand how these registers works together.

I am not looking for full mv1080 into x5, only for the registers that crop LiveView not the RAW data and resolution or FPS, I don't think the values of mv1080 for the registers in spreadsheet above would work to achieve less cropped LiveView if we put them in x5 mode maybe we will have frozen LiveView I will try to make sure and this is because more LiveView registers are changing between mv1080 and x5 but less ones between x5 and x10 , if Canon put also x7 crop originally this would also make the life maybe easier to understand how things works :D unfortunately they didn't.

The correct real-time LiveView will be about between x3 and x2 .

andy kh

5D Mark III - 70D

theBilalFakhouri

Cool results:

Canon x10 LiveView
x10" border="0

Tweaking two registers which Controlling Vertical and Horizontal stretching:
Vertical:      C0F11ACC in x10 value=0x2b003c , Tweaked to 0x2b006c
Horizontal : C0F11A8C in x10 value=0x2b003c , Tweaked to 0x2b006c
x15" border="0

Fixing pixelated LiveView after stretching:
C0F11A90 in x5 value = 0x40222 , in x10=0x50222 , tweaked to 0x60222
C0F11AD0 in x5 value = 0x40222 , in x10=0x50222 , tweaked to 0x60222
x15-Enhanced" border="0

Is this about x15 Crop ? not sure how to calculate it , it's not centered yet , there are registers for that as I remember , the camera locked in the tripod there is no movement between the shots , I know I can dump Image buffers but couldn't convert it to bmp or what ever , I tried https://bitbucket.org/hudson/magic-lantern/downloads/422-jpg-v2.exe but it didn't work so I took screenshots instead.

Oh yeah , I could only stretch it more to give larger crop not less crop unfortunately the LiveView is freezing and I don't think it's that simple to get less crop.

All the registers are documented in the spreadsheet above, I will post the examples here .

theBilalFakhouri

I could center it by these two registers:

C0F118E0 in x10 value=0xad0102   tweaked to 0xed0178
C0F118E4 in x10 value=0x2050307 tweaked to 0x205037d

Danne

Is it possible for you to find regs zooming further while in x3crop mode as well?

Danne

Some progress
Added these two on top of my anamorphic rewired eosm mode(working from Movie crop mode regs)
EngDrvOutLV(0xc0f11588, 0x3);
EngDrvOutLV(0xc0f111c4, 0x0);


c0f111c4 set to 0x0 will be something like x3crop but not fully clean. Usually set to 0x1
When set to 0x0 suddenly some extra headroom with c0f11588 usually 0x1. Set to 0x0 getting 3x3 preview. Of course we want to squeeze it back so that actually works with two units set to 0x3 thanks to c0f111c4 set to 0x0. Image it´s a bit like I imagine a goldfish seeing things but it´s a start. More regs to chew on.

I am working with preview regs I got from Movie crop mode.

Danne

Here´s an interesting reg. Found it on my eosm going from x10 back to x1 using adtg_gui:
c0f11b8c:   50009
Normally set to zero in x10 previewmode
c0f11b8c:  0
This set up gets gets us into x10 preview being in x1 mode as a starting point.(in the end we are in x5 but with x10 preview mode starting in x1):
cmos5 0x300
cmos7 0xa49
adtg8000 0x5
c0f11b8c 0x0


Try move this to see image narrowing down:
c0f11b8c:   50009 to for instance 50008, 50007 and so on.

Ballinger

Quote from: theBilalFakhouri on July 03, 2019, 04:22:12 PM
By locking the registers between x5 and x10 you can bring x10 real-time preview into x5 vice versa in Canon 700D, here is the registers between the two:
https://docs.google.com/spreadsheets/d/1-3PlMmQHfUx7fh_u61p4v2O9rmP0madKaQjlkGWsBdo/edit#gid=0

I have started to look into it again; I am trying to get real-time correct framing LiveView in x5

Pull this off BilaFakhouri, and you've accomplished one of the greatest feats ever in the realm of Magic Lantern development.  This feature would literally transform the 700D into a cinema camera.  They will talk about your greatness for generations to come.