On Fri, Jan 14, 2011 at 2:18 AM, cristian paradiso <gui...@yahoo.it> wrote:
> Hi Alex I got my hdmi monitor and it is a pity I cannot use it with
> ML, when you have time please try to do something for it. thanks
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to ml-devel+u...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/ml-devel?hl=en
> --
>>> ml-devel+u...@googlegroups.com
>>> For more options, visit this group
>>> athttp://groups.google.com/group/ml-devel?hl=en
>>>
>>> LOG000.LOG
>>> 350KViewDownload
>>
>> --
>> http://magiclantern.wikia.com/
>>
>> To post to this group, send email to ml-d...@googlegroups.com
>> To unsubscribe from this group, send email to
>> ml-devel+u...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/ml-devel?hl=en
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ml-devel?hl=en
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
This means:
- only vector cropmarks can work here
- zebras and focus markers will overwrite Canon menus (and I can't fix that)
Can you post a screenshot of Magic Lantern screen on the external monitor?
How to decode VRAM.BIN (may be useful for developers working on other
cameras, like 60D/500D)
Code: http://magiclantern.wikia.com/wiki/VRAM/550D
In [1]: s = readseg("VRAM.BIN", 0, 691200)
In [2]: guesspitch(s)
3840.0
>>>> ml-devel+u...@googlegroups.com
>>>> For more options, visit this group
>>>> athttp://groups.google.com/group/ml-devel?hl=en
>>>>
>>>> LOG000.LOG
>>>> 350KViewDownload
>>>
>>> --
>>> http://magiclantern.wikia.com/
>>>
>>> To post to this group, send email to ml-d...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> ml-devel+u...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/ml-devel?hl=en
>>
>> --
>> http://magiclantern.wikia.com/
>>
>> To post to this group, send email to ml-d...@googlegroups.com
>> To unsubscribe from this group, send email to
>> ml-devel+u...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/ml-devel?hl=en
>>
>> --
>> http://magiclantern.wikia.com/
>>
>> To post to this group, send email to ml-d...@googlegroups.com
>> To unsubscribe from this group, send email to
>> ml-devel+u...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/ml-devel?hl=en
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ml-devel?hl=en
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
This time, the VRAM file will have around 4 MB.
Diff (what I've changed in the code since the last build):
- dump_seg(YUV422_IMAGE_BUFFER, 720*480*2, "B:/VRAM.BIN");
+ dump_seg(YUV422_IMAGE_BUFFER, 1920*1080*2, "B:/VRAM.BIN");
>>>>>> ml-devel+u...@googlegroups.com
>>>>>> For more options, visit this group
>>>>>> athttp://groups.google.com/group/ml-devel?hl=en
>>>>>>
>>>>>> LOG000.LOG
>>>>>> 350KViewDownload
>>>>>
>>>>> --
>>>>> http://magiclantern.wikia.com/
>>>>>
>>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>>> To unsubscribe from this group, send email to
>>>>> ml-devel+u...@googlegroups.com
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/ml-devel?hl=en
>>>>
>>>> --
>>>> http://magiclantern.wikia.com/
>>>>
>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> ml-devel+u...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/ml-devel?hl=en
>>>>
>>>> --
>>>> http://magiclantern.wikia.com/
>>>>
>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> ml-devel+u...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/ml-devel?hl=en
>>>
>>> --
>>> http://magiclantern.wikia.com/
>>>
>>> To post to this group, send email to ml-d...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> ml-devel+u...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/ml-devel?hl=en
>>>
>>> --
>>> http://magiclantern.wikia.com/
>>>
>>> To post to this group, send email to ml-d...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> ml-devel+u...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/ml-devel?hl=en
>>
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ml-devel?hl=en
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
Now, questions:
* Does the ML display center itself when you press Record? (with HDMI
monitor attached)
(from Cropmarks wiki page: "While recording it will switch back to 480p")
* Now I'm curious what happens with the other buffer, which we use for
silent pictures. Take a silent picture with the HDMI connected and
send it to me.
* The other unknown is how do we know when the monitor is connected.
To find this, you need to follow this procedure:
- I assume HDMI can be connected while the camera is on (there are
entries about this in hotplug_task)
- If anything goes wrong, take the battery out quickly
- Put a second camera to record the screen of your 550D (there will be
some very small text, so focus it well).
- Press Debug->Toggle draw_prop (you will see codes on the screen)
- Connect/disconnect HDMI display a few times
- After that, disable draw_prop and do a Debug -> dump dmlog
* If the camera display goes off when plugging the ext monitor, you
need to repeat the same thing by recording the HDMI display.
- Send me the movie(s) and the LOGxxx.LOG file(s) from your SD card.
See http://vimeo.com/groups/magiclantern/forumthread:236295 for an
example of how to do it (there's a link to a movie like the one you
should get)
>>>>>> ml-devel+u...@googlegroups.com
>>>>>> For more options, visit this group
>>>>>> athttp://groups.google.com/group/ml-devel?hl=en
>>>>>>
>>>>>> LOG000.LOG
>>>>>> 350KViewDownload
>>>>>
>>>>> --
>>>>> http://magiclantern.wikia.com/
>>>>>
>>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>>> To unsubscribe from this group, send email to
>>>>> ml-devel+u...@googlegroups.com
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/ml-devel?hl=en
>>>>
>>>> --
>>>> http://magiclantern.wikia.com/
>>>>
>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> ml-devel+u...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/ml-devel?hl=en
>>>>
>>>> --
>>>> http://magiclantern.wikia.com/
>>>>
>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> ml-devel+u...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/ml-devel?hl=en
>>>
>>> --
>>> http://magiclantern.wikia.com/
>>>
>>> To post to this group, send email to ml-d...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> ml-devel+u...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/ml-devel?hl=en
>>>
>>> --
>>> http://magiclantern.wikia.com/
>>>
>>> To post to this group, send email to ml-d...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> ml-devel+u...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/ml-devel?hl=en
>>
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ml-devel?hl=en
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
>>>>>>> ml-devel+u...@googlegroups.com
>>>>>>> For more options, visit this group
>>>>>>> athttp://groups.google.com/group/ml-devel?hl=en
>>>>>>>
>>>>>>> LOG000.LOG
>>>>>>> 350KViewDownload
>>>>>>
>>>>>> --
>>>>>> http://magiclantern.wikia.com/
>>>>>>
>>>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>>>> To unsubscribe from this group, send email to
>>>>>> ml-devel+u...@googlegroups.com
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/ml-devel?hl=en
>>>>>
>>>>> --
>>>>> http://magiclantern.wikia.com/
>>>>>
>>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>>> To unsubscribe from this group, send email to
>>>>> ml-devel+u...@googlegroups.com
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/ml-devel?hl=en
>>>>>
>>>>> --
>>>>> http://magiclantern.wikia.com/
>>>>>
>>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>>> To unsubscribe from this group, send email to
>>>>> ml-devel+u...@googlegroups.com
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/ml-devel?hl=en
>>>>
>>>> --
>>>> http://magiclantern.wikia.com/
>>>>
>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> ml-devel+u...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/ml-devel?hl=en
>>>>
>>>> --
>>>> http://magiclantern.wikia.com/
>>>>
>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>> To unsubscribe from this group, send email to
>>>> ml-devel+u...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/ml-devel?hl=en
>>>
>>
>> --
>> http://magiclantern.wikia.com/
>>
>> To post to this group, send email to ml-d...@googlegroups.com
>> To unsubscribe from this group, send email to
>> ml-devel+u...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/ml-devel?hl=en
>>
>> --
>> http://magiclantern.wikia.com/
>>
>> To post to this group, send email to ml-d...@googlegroups.com
>> To unsubscribe from this group, send email to
>> ml-devel+u...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/ml-devel?hl=en
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ml-devel?hl=en
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
>>>>>>>> ml-devel+u...@googlegroups.com
>>>>>>>> For more options, visit this group
>>>>>>>> athttp://groups.google.com/group/ml-devel?hl=en
>>>>>>>>
>>>>>>>> LOG000.LOG
>>>>>>>> 350KViewDownload
>>>>>>>
>>>>>>> --
>>>>>>> http://magiclantern.wikia.com/
>>>>>>>
>>>>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>>>>> To unsubscribe from this group, send email to
>>>>>>> ml-devel+u...@googlegroups.com
>>>>>>> For more options, visit this group at
>>>>>>> http://groups.google.com/group/ml-devel?hl=en
>>>>>>
>>>>>> --
>>>>>> http://magiclantern.wikia.com/
>>>>>>
>>>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>>>> To unsubscribe from this group, send email to
>>>>>> ml-devel+u...@googlegroups.com
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/ml-devel?hl=en
>>>>>>
>>>>>> --
>>>>>> http://magiclantern.wikia.com/
>>>>>>
>>>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>>>> To unsubscribe from this group, send email to
>>>>>> ml-devel+u...@googlegroups.com
>>>>>> For more options, visit this group at
>>>>>> http://groups.google.com/group/ml-devel?hl=en
>>>>>
>>>>> --
>>>>> http://magiclantern.wikia.com/
>>>>>
>>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>>> To unsubscribe from this group, send email to
>>>>> ml-devel+u...@googlegroups.com
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/ml-devel?hl=en
>>>>>
>>>>> --
>>>>> http://magiclantern.wikia.com/
>>>>>
>>>>> To post to this group, send email to ml-d...@googlegroups.com
>>>>> To unsubscribe from this group, send email to
>>>>> ml-devel+u...@googlegroups.com
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/ml-devel?hl=en
>>>>
>>>
>>> --
>>> http://magiclantern.wikia.com/
>>>
>>> To post to this group, send email to ml-d...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> ml-devel+u...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/ml-devel?hl=en
>>>
>>> --
>>> http://magiclantern.wikia.com/
>>>
>>> To post to this group, send email to ml-d...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> ml-devel+u...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/ml-devel?hl=en
>>
>> --
>> http://magiclantern.wikia.com/
>>
>> To post to this group, send email to ml-d...@googlegroups.com
>> To unsubscribe from this group, send email to
>> ml-devel+u...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/ml-devel?hl=en
>>
>> --
>> http://magiclantern.wikia.com/
>>
>> To post to this group, send email to ml-d...@googlegroups.com
>> To unsubscribe from this group, send email to
>> ml-devel+u...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/ml-devel?hl=en
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ml-devel?hl=en
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
¿is it the overlay segment?
No. It's the segment from which are computed the zebra and histogram
=> can be downscaled.
The overlay becomes 960x540: http://magiclantern.wikia.com/wiki/Cropmarks
I believe the BMP gets cropped.
Cristian, can you take a pic of your HDMI screen outside LV mode? (in
M mode, for example).
If you can do another movie where I could read the fine print, that
would be perfect.
On Mon, Jan 17, 2011 at 11:47 PM, cristian paradiso <gui...@yahoo.it> wrote:
> Hi Alex any news with the tests we made?
>
> ________________________________
> Da: sawomedia <audio...@web.de>
> A: Magic Lantern firmware development <ml-d...@googlegroups.com>
> Inviato: Lun 17 gennaio 2011, 21:38:38
> Oggetto: [ML] Re: any Ext monitor fix?
>
> Do you need any other dumps from different monitors (got a lilliput
> here), or is it all the same?
>
> On 14 Jan., 12:02, Alex <broscutama...@gmail.com> wrote:
>> Run the focus peaking build, connect the external display, click Video
>> -> [debug] dump vram and send the vram dump to me.
>>
>> On Fri, Jan 14, 2011 at 2:18 AM, cristian paradiso <guit...@yahoo.it>
>> wrote:
>> > Hi Alex I got my hdmi monitor and it is a pity I cannot use it with
>> > ML, when you have time please try to do something for it. thanks
>>
>> > --
>> >http://magiclantern.wikia.com/
>>
>> > To post to this group, send email to ml-d...@googlegroups.com
>> > To unsubscribe from this group, send email to
>> > ml-devel+u...@googlegroups.com
>> > For more options, visit this group
>> > athttp://groups.google.com/group/ml-devel?hl=en
>>
>>
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ml-devel?hl=en
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
On Tue, Jan 18, 2011 at 12:30 AM, cristian paradiso <gui...@yahoo.it> wrote:
> Ok Alex, today I got my iphone back so I'm going to redo the test tomorrow,
> How long do you want me to do the test for? how many time do I need to
> remove and put back the hdmi connection? anything else you need? tell me in
> details and tomorrow I ll do it! thanks again
>
> ________________________________
> Da: Alex <broscu...@gmail.com>
> A: ml-d...@googlegroups.com
> Inviato: Lun 17 gennaio 2011, 22:05:22
> Oggetto: Re: [ML] Re: any Ext monitor fix?
When I've connected the USB-RCA cable, I've noticed this property changes:
#define PROP_EXTERNAL_MONITOR 0x80030018 // not sure
Can you confirm this is the one?
What aspect ratio does the liliput monitor have? Does the image look
stretched on the monitor? (record a ball, for example).
Also try with an older ML (maybe the 0.2.0 release) which has
Debug->Draw palette. Take a picture of the ext monitor, with the
palette on the screen, when not recording, and another one when
recording. You may need to disable global draw so that the palete
remains on the screen.
> --
The standby mode is 1920x1080i @ 59.94FPS, the record mode is 720x486i @
59.94FPS. These modes are NOT affected by the PAL/NTSC setting of the
camera nor the recording format (480p/720p/1080p, 24,25,30,50,60FPS)!
As you can see the ML-Zebra/Focus-OSD is shifted some pixels to the
right and down. In standby pressing the DISP button changes the live
view area which messes up all the ML-OSD.
Deti
I've found some other buffer sizes: http://magiclantern.wikia.com/wiki/VRAM/550D
What I'm missing is the size of 0x44000080 in standby mode with HDMI
connected. Cristian's 422 silent shot is 1056x704. When a SD monitor
is connected, silent shots are 1024x680. I believe it should be higher
with HDMI monitor.
Sawo said zebra works OK when recording with HDMI connected. How about
focus peaking?
(zebra uses 0x40D07800, focus uses 0x44000080 because it has higher
resolution... at least when ext monitor is not connected)
recording-disp-1x and 2x: focus peak is in sync => pitch of 0x44000080
is correct in this mode
The offsets indicate some incorrect transformation of pixel coords.
Deti, can you redo recording-disp-*.jpg with testpic.png instead of the cables?
(that's the pic I've used for debugging coordinate scaling for focus peaking)
+#define CACHEABLE(x) (((uint32_t)(x)) | 0x40000000)
+#define UNCACHEABLE(x) (((uint32_t)(x)) & ~0x40000000)
Is this correct?
On Tue, Jan 18, 2011 at 10:36 PM, JaKoB <jako...@gmail.com> wrote:
> send me something i have 3 x t2is ill try it =)
>
Next test: silent pictures in all possible modes. I'll do the ones
without monitor. Zebras & focus are disabled (they may write to
unwanted memory addresses).
All the pictures should be decoded successfully (ideal case).
First guesses:
0x7768 0x776c (720x480)
0x78e8 0x78ec (1440x480)
1056x704
0x4bec 0x4bf0
0x1300ce 0x1300d0
2112x704:
0xd0036a 0xd00362
0x2704722 0x2704720
Next step: bmp_printf the values at those addresses, to see if their
values are the same as the ones on the wiki page.
Can you test this build and tell me what numbers are displayed on the
external monitors? (hdmi and rca)
Or take pictures.
This build tests the addresses mentioned in previous e-mails.
Deti
I suggest to try these steps:
* With HDMI in standby (not recording), LV should be 1920x1080.
* Dump the RAM (last item in Video menu) => you'll get a 256MB file named 0.BIN
* Run hunt.py to find those numbers. To do this, change those 2 lines:
A = findaddrs(1056) --- replace with 1920 or 3840
B = findaddrs(704) --- replace with 1080
Post the output here (it will find pairs of addresses which may
contain VRAM resolution).
> A = findaddrs(1056) --- replace with 1920 or 3840
> B = findaddrs(704) --- replace with 1080
>
> Post the output here (it will find pairs of addresses which may
> contain VRAM resolution).
with 1920: 0x77c8 0x77cc 4
with 3840: 0xbc9c8 0xbc9cc 4
Deti
> with 3840: 0xbc9c8 0xbc9cc 4
This is some random stuff.
Deti
My test code is:
bmp_printf(FONT_MED, 10, 100, "LV %dx%d or %dx%d or %dx%d or %dx%d
\nHD %dx%d or %dx%d or %dx%d or %dx%d ", *(int*)0x77c8,
*(int*)0x77cc, (*(int*)0xbc9c8)/2, *(int*)0xbc9cc, *(int*)0x7768,
*(int*)0x776c, (*(int*)0x78e8)/2, *(int*)0x78ec, *(int*)0x4bec,
*(int*)0x4bf0, (*(uint16_t*)0xd0036a) / 2, *(uint16_t*)0xd00362,
*(uint16_t*)0x1300ce, *(uint16_t*)0x1300d0, (*(uint16_t*)0x2704722)/2,
*(uint16_t*)0x2704720);
in some while(1) loop (I've put it in zebra_task).
Deti
Local Display: 720x480
HDMI:
Standby
Disp 1x/2x: 1320x880
Disp 3x: 1620x1080
Recording: 610x388
Deti
So, to summarize:
* I know how to detect if a monitor (HDMI or SD) is plugged in:
PROP_INT(PROP_USBRCA_MONITOR, ext_monitor_rca);
PROP_INT(PROP_HDMI_CHANGE, ext_monitor_hdmi);
* BMP VRAM sizes are known (found by Trammell). 720x480 or 960x540.
* There are LOTS of resolution combinations of the image VRAM buffers:
http://magiclantern.wikia.com/wiki/VRAM/550D
* I've found a method to get the buffer size when external monitor is
NOT plugged in and camera is NOT recording
(this means zoom 1x 5x 10x, photo liveview, video liveview in all 4
movie resolution presets). Seems reliable in my tests.
* TODO:
- how to get buffer sizes when external monitor is NOT plugged and
camera is RECORDING (I'll try this tonight)
- how to get buffer sizes when external monitor is plugged? (both
recording and not recording)
(not yet solved, but we have some guesses)
Other stuff to be solved:
* Coord transformation between LV and BMP (was not needed until now,
because they are usually the same size). Should be very fast. I think
it's only a downsampling by 2.
* Coord transformation between HD and BMP (I'm using this in focus
assist code). It seems to be more than a simple scaling. Not
time-critical.
* Cropmark transformation (was not needed). Trammell proposed separate
bitmaps (best quality, but inconvenient). I think scaling will get a
usable result. Also, not (too) time-critical.
On Wed, Jan 19, 2011 at 1:49 PM, cristian paradiso <gui...@yahoo.it> wrote:
> Hello I see that things are moving about it and I m very happy. Tomorrow I m
> going to to the test that alex asked me with my dp6. Thanks Alex
>
> ________________________________
> Da: Deti <de...@42u.de>
> A: ml-d...@googlegroups.com
> Inviato: Mer 19 gennaio 2011, 10:19:44
> Oggetto: Re: [ML] Re: any Ext monitor fix?
>
> Am 19.01.2011 11:11, schrieb Alex:
>> The second one is 0 when external monitor is not connected (at least
>> here).
> No not here (put into the movie_clock_task). The values are 0 in the
> beginning then they change randomly.
>
> Deti
>
> -- http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ml-devel?hl=en
>
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
> --
> http://magiclantern.wikia.com/
>
> To post to this group, send email to ml-d...@googlegroups.com
> To unsubscribe from this group, send email to
> ml-devel+u...@googlegroups.com
Deti
A/V-Out (Standby + Recording):
PAL: 640x464
NTSC: 640x388
Deti
Added the stuff here http://magiclantern.wikia.com/wiki/VRAM/550D#LV-Sizes:
Deti
Deti
Other question: when recording with HDMI plugged, zebras are already
in sync, which means the pitch of the LV buffer (0x40D07800) is 720*2
(i.e. horizontal resolution is 720px). This is also confirmed by your
test (Untitled 1_3).
Then, what does 640 represent? It's related to the other buffer?
(called HD in the code)
> Other question: when recording with HDMI plugged, zebras are already
> in sync, which means the pitch of the LV buffer (0x40D07800) is 720*2
> (i.e. horizontal resolution is 720px). This is also confirmed by your
> test (Untitled 1_3).
Yes the zebras are in sync, the focus peaking not.
> Then, what does 640 represent? It's related to the other buffer?
> (called HD in the code)
Well the 640 is the width of the live view area which also can be 1320
or 1620. According to this knowledge we can determine the where to draw
the OSD:
- in the 640 mode the LV area is already centered with no borders
- in the 1320 mode the LV area starts at offset 300
- in the 1620 mode the LV area starts at offset 150
Deti
With builtin display, LV and BMP happen to have the same resolution.
When we take the HD buffer only, we can do zebra and focus peaking in
one for loop to avoid reading several times the same buffer.
> With builtin display, LV and BMP happen to have the same resolution.
You mean 720x480?
Deti
The HD buffer depends on:
- Video resolution (even when not recording!)
- zoom 1x 5x 10x (we may ignore that and disable zebras/focus in zoom mode)
- recording / non recording state
And it seems it does not change when we plug the HDMI buffer. This can
be confirmed/infirmed with silent pics (but not in current builds).
Here are my latest hypotheses about this buffer (not yet 100% confirmed):
http://magiclantern.wikia.com/wiki/VRAM/550D#0x44000080
This post shows how (on the 5D), some of the LV info stuff is presented
outside the active video area (into the black bar area). So this buffer
resolution changes is making room for these I guess.
This implies you may be able to put additional information into the
black borders around the video in various modes.
Morgan.
The main guess is that this buffer does not change its size when
plugging an external monitor. To validate this, silent pics taken in
all modes should be decoded correctly by 422-jpg.py from this zip.
Without monitor connected, the test worked for me in the following modes:
- Photo: zoom x1, x3, x5
- Video: full HD, 720p, 640crop (both recording and not recording)
- 640 non-crop, when recording only
It dit not work in 640 non-crop when not recording (I've got only
horizontal bands).
Can you do the silent picture tests with external monitor (HD or SD) plugged in?
Deti
Can you test also in 720p and maybe 640 modes?
Another bug: in 720, while not recording, sometimes works and
sometimes not. Probably the buffer is dynamically allocated from a
list of preset addresses?