Hi list,

As libva is being used on Android and the interest to use it is
growing lately,  I would want to know your opinion about adding debug
logging for Android to the current library.  So far, in the Android.mk
file there's a linkage for the liblog library which provides all the
necessary elements to add Android logs that will actually show up
while executing libva.

Although, these are not used at all on libva.  I would want to add
this support without adding more probing to the code.  So, the
proposal is to extend the definition of va_xxxMessage functions, by
adding a code compilation check for ANDROID and actually call the
android log system from there.  This will require to add other
functions like va_debugMessage, va_warnMessage, va_verboseMessage.
Adding calls to the new functions will be a separate patch.

The code compilation variables will be activated from the Android.mk.
Also, the idea is to keep it compatible with all versions of Android
known at the moment.  The log macros were re-defined for
Android-JellyBean, so the necessity to be backwards compatible.

Would you agree on this approach?

Thanks.

-- 
Daniel.
_______________________________________________
Libva mailing list
Libva@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to