Movie mode framebuffers are different (
edit: in size) from those used in still image mode and play mode. In case of DIGIC II, all of the above buffers have the pixelformat mentioned by reyalp
here, in the "Live viewports" thread (according to the wikia article this is probably Y411).
This means, these (DIGIC II) cameras create their "movies" with about half horizontal color-resolution than their photos: four horizontal pixels get the same U and V values.
What could be the use of this information? I think, it would be possible to
- get decent
resolution live pictures without moving the shutter
- use the DSP (via the Canon MJPEG routines) to compress those pictures
- sort of custom (slower) movie mode, maybe
- transfer them via PTP (much faster than uncompressed)
But there is a problem, which affects the new models (DIGIC 4, 5) without MJPEG codec: in case of these, the usual JPEG engine could be used - depending on how fast it is. Unfortunately, this is undiscovered area.
Also, according to these findings, it's NOT possible to have (much) greater resolution movies, even if one could set the CCD & A/D & timings to produce something bigger, the buffers would overflow. The buffer addresses are hardcoded in several parts of the firmware.
About the method I'm using:
- create dumps of the camera's (whole) RAM
-> dump_memory() in /core/main.c needs fixing as it tries to dump 32MBytes of RAM fixed now in trunk- inspect them visually with a hacked version of
Hexplorer - with the "pixel view" window enabled, I browse through the dumps (I've implemented Y411, UYVY, ... viewing modes, source, binary is
available on request attached below, also works with current versions of wine)
| |
|
Visual inspection example (movie live viewports) | | Pixel format menu in pixel view |
Finally a question, maybe somebody can answer it:
Why am I not able to dump the RAM, when movie record is in progress? During record, the dumping process just hangs (haven't checked, where). Is write() blocked? Does VxWorks block the access of some memory ranges?
Have to break up the post, more to follow.
Edit: attached is that hacked Hexplorer version (sources, .exe) - get the official package first, link in the post.
... and almost forgot, that it contains win32 binaries, so, according to virustotal.com, it's clean and has the following characteristics:
MD5 : a7c95698ca1b17c24981fa6e048d6427
SHA1 : d2a09ad4e3c39bad6b992e81e0693c13046c5ed0
SHA256: ffd11ee82d6a0c73f0becbe55003ee26d41e61485455fff87f4e587120920dc8