I'm testing TI's H.264 encoder, using the DMAI test application on a DM3730. The encode time for a 720x480 frame is on average 45ms. This is 3x the spec'd time of this encoder, which comes to 14.2ms. I'm hoping my DSP clock is simply running at 260MHz (OPP1 - OPP50), rather than the desired 800MHz (OPP4 - OPP-SB). Other forum posts claim that when the ARM OPP changes, the DSP OPP changes simultaneously, but none of the original posters have ever confirmed. I have forced the ARM OPP to 300MHz and 1GHz, and observed the expected differences in ARM operations, but with no effect on DSP time.
How is the DSP clock configured from Linux? Is it actually configured from Linux or is the DSP portion of the OPP support in Linux not yet complete? Is there anything in codec engine, or codec server, that controls DSP frequency? My understanding is the frequency in server.tcf is for reference, and doesn't actually control the DSP's frequency. I don't have an emulator setup so I can't use the "What's my DSP frequency" project from the wiki.
Any insight into determining and setting the DSP clock would be appreciated. Thanks.