Magic Lantern Forum

Developing Magic Lantern => Reverse Engineering => Topic started by: Chucho on September 10, 2012, 01:38:11 AM

Title: Initializing the h.264 encoder
Post by: Chucho on September 10, 2012, 01:38:11 AM
Hi, I'm trying to pin point exactly were the h264 encoder gets initialize but I can't seem to figure it out. There's initializeH264encoder @ 0xffc8288 in the 600d but that not what I'm looking for. I'm looking for something in the MovieRecoder task or in the MovWriter task. Anybody have any hints?
I've found some of the mjpeg decoding tables that can also be used as encoding tables bit_dc_luminance @ 0xff65c2a0, val_dc_chrominance @ 0xff65c2b0, bit_dc_chrominance @ 0xff65c2d0, bit_ac_luminance @ 0xff65c300, val_ac_luminance at 0xff65c310, bit_ac_chrominance @ 0xff65c3b2, val_ac_chrominance @ 0xff65c3c4, Huffman_something_fixed_table1 @ 0xff65c468, Huffman_something_fixed_table2 @ 0xff65c4c8, Huffman_something_fixed_table3 @ 0xff65c528, Qtable_something_ table1 @ 0xff65c588, Qtable_something_ table2 @ 0xff65c608, Qtable_something_ table3 @ 0xff65c688 and Qtable_something_ table4 @ 0xff3db970.
Title: Re: Initializing the h.264 encoder
Post by: 1% on September 10, 2012, 02:10:41 AM
Have you seen:

NSTUB(0xFF1116C8, str:lvcdevStartH264_pInputAddress_pStreamAddress1_)