GNOME Bugzilla – Bug 641399
vp8dec: add VP8_DEBUG_TXT_* postprocessing flags
Last modified: 2018-01-25 19:44:35 UTC
Created attachment 180016 [details] [review] patch vp8dec.diff v1 Add VP8_DEBUG_TXT_* flags for postprocessing. It needed to do some codec debuging and bug reporting. see libvpx/vpx/vp8.h: .... VP8_DEBUG_TXT_FRAME_INFO = 1<<3, /**< print frame information */ VP8_DEBUG_TXT_MBLK_MODES = 1<<4, /**< print macro block modes over each macro block */ VP8_DEBUG_TXT_DC_DIFF = 1<<5, /**< print dc diff for each macro block */ VP8_DEBUG_TXT_RATE_INFO = 1<<6, /**< print video rate info (encoder only) */ Patch is attached.
Created attachment 180460 [details] [review] vp8dec v2 Updated patch: make modenames same like on theoradec.
Comment on attachment 180460 [details] [review] vp8dec v2 Looks like these have been added recently, so maybe you could make them conditional with an #ifdef so things continue to compile with older versions of libvpx? Will this functionality always be available at runtime, or does one need to compile libvpx with special configure switches that aren't enabled by default to get support for these flags?
You have right, it was add at November just after v0.9.5 . There is currently no version number to check. Looks like i should wait with it.
You could add a configure check that tries to compile something with these flags to check the version.
6.5 years later, it's probably safe to push now: commit 1bb4b83e9a5d9b9d5f443abb7bf79a19db47e244 (HEAD -> master) Author: Oleksij Rempel <linux@rempel-privat.de> Date: Wed Feb 9 12:48:00 2011 +0000 vpx: add VP8_DEBUG_TXT_* flags for postprocessing https://bugzilla.gnome.org/show_bug.cgi?id=641399