1 /* 2 * vdpau_dump.h - Dump utilities 3 * 4 * libva-vdpau-driver (C) 2009-2011 Splitted-Desktop Systems 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 19 */ 20 21 #ifndef VDPAU_DUMP_H 22 #define VDPAU_DUMP_H 23 24 #include "vdpau_driver.h" 25 #include "vdpau_decode.h" 26 27 // Returns string representation of FOURCC 28 const char *string_of_FOURCC(uint32_t fourcc) 29 attribute_hidden; 30 31 // Returns string representation of VABufferType 32 const char *string_of_VABufferType(VABufferType type) 33 attribute_hidden; 34 35 // Returns string representation of VdpCodec 36 const char *string_of_VdpCodec(VdpCodec codec) 37 attribute_hidden; 38 39 // Dumps VdpPictureInfoMPEG1Or2 40 void dump_VdpPictureInfoMPEG1Or2(VdpPictureInfoMPEG1Or2 *pic_info) 41 attribute_hidden; 42 43 // Dumps VdpPictureInfoMPEG4Part2 44 #if HAVE_VDPAU_MPEG4 45 void dump_VdpPictureInfoMPEG4Part2(VdpPictureInfoMPEG4Part2 *pic_info) 46 attribute_hidden; 47 #endif 48 49 // Dumps VdpPictureInfoH264 50 void dump_VdpPictureInfoH264(VdpPictureInfoH264 *pic_info) 51 attribute_hidden; 52 53 // Dumps VdpPictureInfoVC1 54 void dump_VdpPictureInfoVC1(VdpPictureInfoVC1 *pic_info) 55 attribute_hidden; 56 57 // Dumps VdpBitstreamBuffer 58 void dump_VdpBitstreamBuffer(VdpBitstreamBuffer *bitstream_buffer) 59 attribute_hidden; 60 61 #endif /* VDPAU_DUMP_H */ 62