Vitaliy,
I've been back-tracing these routines and there are two things I would like to look at. The constant shown in Screen 1, below, shows 6000 (I changed it to decimal, I think your version still shows it in hex) being loaded into a register. Can you put in a patch for this? I can't figure out what it is for and it does appear in the basic setup routine, so I would like to be able to experiment with it.
The second request is shown in Screen 2, below. I've noticed that the codec behaves differently in some fundamental ways for frame rates below 30 fps. I've looked everywhere for conditional statements that might be related to this and this is the only one I've found so far that seems appropriate. I would like to be able to experiment with this as well. I know it looks odd that the comparison is against 0x30 rather than 0x3000, but a compiler would produce such an optimization.
I'm studying the tables you pointed out to me. I believe there is something more basic going on that needs to be fixed first - that is, why 25p behaves so differently when it is wrapped in the interlaced frame - the streams should look virtually identical and they don't. After that is resolved then I think playing around with the codec tables will make more sense. I'm afraid that with this more fundamental problem in the way changing the tables will be too confusing.
Chris
Thread: GH1 IDA Pro database research
Results 11 to 20 of 65
-
Senior Member
- Join Date
- Aug 2006
- Location
- Colorado Springs
- Posts
- 473
08-24-2010 06:19 PM
Last edited by cbrandin; 08-24-2010 at 06:34 PM.
-
Bronze Member
- Join Date
- Apr 2010
- Posts
- 2,415
08-24-2010 06:32 PM
OK. Will be added.
As for conditional jump, I think you need two variants (to unconditional and nops).
I'll try to implement ability to make your own patches via INI files in next releases.
Working on this.
-
Senior Member
- Join Date
- Aug 2006
- Location
- Colorado Springs
- Posts
- 473
08-24-2010 06:51 PM
Thanks, that would be great. For the 0x30 compare, just making it possible to change the number would be fine for now. I'll just set it 0x00 if I want to always go one way and 0xFF for the other (obviously won't work if at 0xFF, but I don't care for now).
ChrisLast edited by cbrandin; 08-24-2010 at 07:04 PM.
-
Senior Member
- Join Date
- Aug 2006
- Location
- Colorado Springs
- Posts
- 473
08-24-2010 07:00 PM
I was wondering. Obviously the AVCHD codec portion of the firmware is capable of things the camera isn't. Are there any other Panasonic cameras that actually use these capabilities? If they share a common library it might be worth having a look at other firmware, if we can get it.
I've looked at the H.264 reference software and haven't been able to find any hints there.
Chris
-
Bronze Member
- Join Date
- Apr 2010
- Posts
- 2,415
08-24-2010 07:20 PM
Both patches added to PTool.
Download new release, please.
As for comparison.
Main bitrate related functions have many such comparisons and I don't see reason why you selected this specific one. Can you explain it?
-
Senior Member
- Join Date
- Aug 2006
- Location
- Colorado Springs
- Posts
- 473
08-24-2010 07:29 PM
Because the codec behaves differently above 30fps. It's just a speculation at this point, probably won't go anywhere.
Chris
-
Bronze Member
- Join Date
- Apr 2010
- Posts
- 2,415
-
Senior Member
- Join Date
- Aug 2006
- Location
- Colorado Springs
- Posts
- 473
08-24-2010 07:40 PM
Oh, I see. Well, I picked it because I don't understand what it is doing. As for the two digit thing - that could be just because of the compiler. Like I said - it probably won't mean anything, but maybe I'll understand why it's there.
Chris
-
Senior Member
- Join Date
- Aug 2006
- Location
- Colorado Springs
- Posts
- 473
08-24-2010 09:32 PM
Well, so far this is turning out to be sort of a bust. I don't see where either setting makes any difference at all - even with big changes.
I can only shoot low light right now - and everything tends to be better behaved under these circumstances. Tomorrow I'll test out the scenes that typically break the codec (they require daytime shooting) and see what happens.
Funny, in low light the Native 24p patch works just great.
Ughhh! I hope I haven't wasted your time.
Chris
-
Senior Member
- Join Date
- Aug 2006
- Location
- Colorado Springs
- Posts
- 473
08-25-2010 11:30 AM
I tested with the high detail daylight scene - no luck. Damned if I can figure out what these settings do. I guess I'll have to dig a lot deeper.
ChrisLast edited by cbrandin; 08-25-2010 at 11:39 AM.





