we are using H264 encoder and we need to implement motion detection. For that we are using MVs/SAD generated by encoder but we need also to compute DC value of each block to improve the algorithm, To avoid recomputing it separately from encoder (since it already read and separate YUV of incoming video) we would like to be able to get it from encoder memory. Encoder should calculate it for internal process so maybe it is saved somewhere in memory. Is that matrix of DC coefficients saved for each encoded frame?
If not, using preprocessor feature, is it possible to just have a function called for each MB so we can add DC calculation ? Just callback when a MB is read inside memory...but not to implement MDMA setup (As for normal preprocessor usage) or YUV separation.
Thanks in advance