~ubuntu-branches/ubuntu/trusty/gstreamer1.0/trusty

« back to all changes in this revision

Viewing changes to tests/benchmarks/caps.c

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2012-09-14 09:04:41 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120914090441-1ul912ezvm3xfael
Tags: 0.11.94-1
* New upstream release:
  + debian/libgstreamer.symbols:
    - Update symbols file.
  + debian/control.in:
    - Build-depend on gtk-doc >= 1.12.
  + debian/patches/0001-netclientclock-simplify-by-using-g_socket_condition_.patch:
    - Dropped, merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
#define NUM_CAPS 10000
27
27
 
 
28
#define AUDIO_FORMATS_ALL " { S8, U8, " \
 
29
    "S16LE, S16BE, U16LE, U16BE, " \
 
30
    "S24_32LE, S24_32BE, U24_32LE, U24_32BE, " \
 
31
    "S32LE, S32BE, U32LE, U32BE, " \
 
32
    "S24LE, S24BE, U24LE, U24BE, " \
 
33
    "S20LE, S20BE, U20LE, U20BE, " \
 
34
    "S18LE, S18BE, U18LE, U18BE, " \
 
35
    "F32LE, F32BE, F64LE, F64BE }"
28
36
 
29
37
#define GST_AUDIO_INT_PAD_TEMPLATE_CAPS \
30
 
  "audio/x-raw-int, " \
 
38
  "audio/x-raw, " \
 
39
  "format = (string) " AUDIO_FORMATS_ALL ", " \
31
40
  "rate = (int) [ 1, MAX ], " \
32
 
  "channels = (int) [ 1, MAX ], " \
33
 
  "endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, " \
34
 
  "width = (int) { 8, 16, 24, 32 }, " \
35
 
  "depth = (int) [ 1, 32 ], " \
36
 
  "signed = (boolean) { true, false }"
 
41
  "channels = (int) [ 1, MAX ]"
37
42
 
38
43
 
39
44
gint