~ubuntu-branches/ubuntu/raring/gpac/raring

« back to all changes in this revision

Viewing changes to regression_tests/bifs-command-replace-route.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
 audioProfileLevelIndication 255
 
4
 visualProfileLevelIndication 254
 
5
 sceneProfileLevelIndication 1
 
6
 graphicsProfileLevelIndication 1
 
7
 ODProfileLevelIndication 1
 
8
 esDescr [
 
9
  ES_Descriptor {
 
10
   ES_ID 1
 
11
   decConfigDescr DecoderConfigDescriptor {
 
12
    streamType 3
 
13
    decSpecificInfo BIFSConfig {
 
14
     isCommandStream true
 
15
     pixelMetric true
 
16
     pixelWidth 300
 
17
     pixelHeight 300
 
18
    }
 
19
   }
 
20
  }
 
21
 ]
 
22
}
 
23
 
 
24
OrderedGroup {
 
25
 children [
 
26
  WorldInfo {
 
27
   info ["This shows route replacement" "through BIFS commands" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"]
 
28
   title "route replace test"
 
29
  }
 
30
  DEF BACK Background2D {
 
31
   backColor 1 1 1
 
32
  }
 
33
  DEF TR Transform2D {
 
34
   scale 0.5 0.5
 
35
   children [
 
36
    Shape {
 
37
     appearance Appearance {
 
38
      material DEF MAT Material2D {
 
39
       emissiveColor 1 0 0
 
40
       filled TRUE
 
41
      }
 
42
     }
 
43
     geometry IndexedFaceSet2D {
 
44
      coord DEF COORD Coordinate2D {
 
45
       point [-100 0 -50 100 50 100 100 0 50 -100 -50 -100]
 
46
      }
 
47
     }
 
48
    }
 
49
   ]
 
50
  }
 
51
  DEF TS TimeSensor {
 
52
   loop TRUE
 
53
  }
 
54
  DEF SI ScalarInterpolator {
 
55
   key [0 0.5 1]
 
56
   keyValue [0 1 0]
 
57
  }
 
58
 ]
 
59
}
 
60
 
 
61
ROUTE TS.fraction_changed TO SI.set_fraction
 
62
DEF R1 ROUTE SI.value_changed TO MAT.transparency
 
63
 
 
64
AT 2000 {
 
65
 REPLACE ROUTE R1 BY SI.value_changed TO TR.rotationAngle
 
66
}
 
67