~ubuntu-branches/ubuntu/intrepid/gpac/intrepid-proposed

« back to all changes in this revision

Viewing changes to regression_tests/bifs-interpolation-scalaranimator.bt

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2007-01-24 23:34:57 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070124233457-zzlls8afkt0nyakj
Tags: 0.4.2~rc2-0ubuntu1
* New upstream release
  * Most notably MP4 tagging support via MP4Box -itags
* debian/patches/01_64bits.dpatch: dropped; included upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
InitialObjectDescriptor {
 
2
  objectDescriptorID 1
 
3
  ODProfileLevelIndication 0x01
 
4
  sceneProfileLevelIndication 0x01
 
5
  audioProfileLevelIndication 0xFF
 
6
  visualProfileLevelIndication 0xFE
 
7
  graphicsProfileLevelIndication 0x01
 
8
 
 
9
  esdescr [
 
10
    ES_Descriptor {
 
11
      es_id 1
 
12
      decConfigDescr DecoderConfigDescriptor {
 
13
                                streamType 3
 
14
                                decSpecificInfo BIFSConfig {
 
15
                                  isCommandStream true
 
16
                                  pixelMetric true
 
17
                                  pixelWidth 400
 
18
                                  pixelHeight 200
 
19
                                }
 
20
      }
 
21
    }
 
22
  ]
 
23
}
 
24
 
 
25
OrderedGroup { 
 
26
 children [
 
27
  WorldInfo {
 
28
   title "ScalarAnimator test"
 
29
   info ["This shows ScalarAnimator using bezier spline interpolation" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"]
 
30
  }
 
31
  DEF BACK Background2D { backColor 1 1 1}
 
32
  DEF TR Transform2D {   
 
33
   scale 0.5 0.5
 
34
   children [
 
35
    Shape { 
 
36
     appearance Appearance { material DEF MAT Material2D { emissiveColor 1 0 0 filled TRUE } }
 
37
     geometry IndexedFaceSet2D {
 
38
      coord DEF COORD Coordinate2D { 
 
39
       point [-100 0, -50 100, 50 100, 100 0, 50 -100, -50 -100]
 
40
      } 
 
41
     }
 
42
    }
 
43
   ]
 
44
  }
 
45
  DEF TS TimeSensor {
 
46
        cycleInterval 4.0
 
47
   loop TRUE
 
48
  }
 
49
  DEF V Valuator {
 
50
        Factor2 0
 
51
        Offset2 0.5
 
52
  }
 
53
  DEF SI ScalarAnimator {
 
54
#   key [0 0.25 0.5 0.75 1]
 
55
 
 
56
   keyValueType 2
 
57
   keyValue [0.5 0.0 1 0.5]
 
58
   keyType 2
 
59
   keySpline [0.4 0.5, 0.15 0.15]
 
60
  }
 
61
 ]
 
62
}
 
63
 
 
64
ROUTE TS.fraction_changed TO SI.set_fraction
 
65
DEF R1 ROUTE SI.value_changed TO V.inSFFloat
 
66
ROUTE V.outSFVec2f TO TR.scale