Author Topic: LiveView Crop Registers  (Read 1204 times)

theBilalFakhouri

  • Contributor
  • Senior
  • *****
  • Posts: 353
LiveView Crop Registers
« 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
700D 1.1.5 | no more ISOless LV err 8

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 5800
Re: LiveView Crop Registers
« Reply #1 on: July 03, 2019, 05:25:47 PM »
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

  • Contributor
  • Senior
  • *****
  • Posts: 353
Re: LiveView Crop Registers
« Reply #2 on: July 03, 2019, 06:39:14 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 .
700D 1.1.5 | no more ISOless LV err 8

andy kh

  • Hero Member
  • *****
  • Posts: 513
Re: LiveView Crop Registers
« Reply #3 on: July 03, 2019, 06:46:25 PM »
Very interesting
5D Mark III - 70D

theBilalFakhouri

  • Contributor
  • Senior
  • *****
  • Posts: 353
Re: LiveView Crop Registers
« Reply #4 on: July 03, 2019, 07:56:39 PM »
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 .
700D 1.1.5 | no more ISOless LV err 8

theBilalFakhouri

  • Contributor
  • Senior
  • *****
  • Posts: 353
Re: LiveView Crop Registers
« Reply #5 on: July 03, 2019, 08:31:09 PM »
I could center it by these two registers:

C0F118E0 in x10 value=0xad0102   tweaked to 0xed0178
C0F118E4 in x10 value=0x2050307 tweaked to 0x205037d
700D 1.1.5 | no more ISOless LV err 8

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 5800
Re: LiveView Crop Registers
« Reply #6 on: July 05, 2019, 05:16:43 PM »
Is it possible for you to find regs zooming further while in x3crop mode as well?

Danne

  • Contributor
  • Hero Member
  • *****
  • Posts: 5800
Re: LiveView Crop Registers
« Reply #7 on: July 06, 2019, 12:01:19 AM »
Some progress
Added these two on top of my anamorphic rewired eosm mode(working from Movie crop mode regs)
Code: [Select]
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

  • Contributor
  • Hero Member
  • *****
  • Posts: 5800
Re: LiveView Crop Registers
« Reply #8 on: July 06, 2019, 07:17:00 PM »
Here´s an interesting reg. Found it on my eosm going from x10 back to x1 using adtg_gui:
Code: [Select]
c0f11b8c:   50009Normally set to zero in x10 previewmode
Code: [Select]
c0f11b8c:  0This 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):
Code: [Select]
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

  • New to the forum
  • *
  • Posts: 19
Re: LiveView Crop Registers
« Reply #9 on: July 20, 2019, 05:21:52 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.