~ubuntu-branches/ubuntu/wily/vdpau-video/wily

« back to all changes in this revision

Viewing changes to src/vdpau_dump.c

  • Committer: Package Import Robot
  • Author(s): Sebastian Ramacher
  • Date: 2014-05-09 17:17:38 UTC
  • mfrom: (2.2.3 sid)
  • Revision ID: package-import@ubuntu.com-20140509171738-p0zwgb5cyw6c77op
Tags: 0.7.4-1
* New upstream release.
* debian/control:
  - Add myself to Uploaders.
  - Remove Andres Mejia from Uploaders since he is MIA. Thank you for
    maintaing vdpau-video. (Closes: #743561)
  - Point Homepage to the new home at freedesktop.org.
  - Bump Standards-Version to 3.9.5.
  - Add dh-autoreconf to Build-Depends.
  - Update Vcs-* to use canonical URLs.
* debian/watch: Update watch file to fetch tarball from from the new home at
  freedesktop.org. Thanks to Ross Gammon.
* debian/patches:
  - autoreconf.patch: Removed, no longer needed.
  - cast.patch: Fix build with libvdpau-dev >= 0.7-2. Bump Build-Depends on
    libvdpau-dev accordingly.
  - GL-version-1_3.patch: Apply workaround from Ubuntu to fix build
    failure. (Closes: #713612)
  - libva-constants.patch: Apply patch from upstream to fix build with
    recent libva versions.
* debian/copyright: Convert to Copyright Format 1.0.
* debian/rules:
  - Install upstream changelog.
  - Build with autoreconf.
  - Remove obsolete bits.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *  vdpau_dump.c - Dump utilities
3
3
 *
4
 
 *  vdpau-video (C) 2009-2011 Splitted-Desktop Systems
 
4
 *  libva-vdpau-driver (C) 2009-2011 Splitted-Desktop Systems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
59
59
        _(VAEncSequenceParameterBufferType);
60
60
        _(VAEncPictureParameterBufferType);
61
61
        _(VAEncSliceParameterBufferType);
62
 
        _(VAEncH264VUIBufferType);
63
 
        _(VAEncH264SEIBufferType);
64
 
#endif
 
62
#endif
 
63
#if VA_CHECK_VERSION(0,31,1)
 
64
        _(VAQMatrixBufferType);
 
65
#endif
 
66
#if VA_CHECK_VERSION(0,32,0)
 
67
        _(VAEncMiscParameterBufferType);
 
68
#endif
 
69
    default:
 
70
        break;
65
71
#undef _
66
72
    }
67
73
    return str;
103
109
 
104
110
// Dumps matrix[N][M] = N rows x M columns (uint8_t)
105
111
static void
106
 
dump_matrix_NxM(const char *label, uint8_t *matrix, int N, int M, int L)
 
112
dump_matrix_NxM(const char *label, const uint8_t *matrix, int N, int M, int L)
107
113
{
108
114
    int i, j, n = 0;
109
115