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

« back to all changes in this revision

Viewing changes to regression_tests/bifs-2D-background-background2D-layer2D.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 254
 
6
 graphicsProfileLevelIndication 254
 
7
 ODProfileLevelIndication 255
 
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 600
 
17
     pixelHeight 400
 
18
    }
 
19
   }
 
20
  }
 
21
  ES_Descriptor {
 
22
   ES_ID 2
 
23
   decConfigDescr DecoderConfigDescriptor {
 
24
    streamType 1
 
25
   }
 
26
  }
 
27
 ]
 
28
}
 
29
 
 
30
OrderedGroup {
 
31
 children [
 
32
  DEF B1 Background2D {
 
33
   backColor 1 1 1
 
34
  }
 
35
  WorldInfo {
 
36
   info ["This shows Background2D within a layer2D" "Note that the background is stretched to the layer size" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"]
 
37
   title "Background Test"
 
38
  }
 
39
  Transform2D {
 
40
   translation 100 0
 
41
   children [
 
42
    DEF L Layer2D {
 
43
     size 400 300
 
44
     children [
 
45
      Shape {
 
46
       appearance Appearance {
 
47
        material Material2D {
 
48
         filled TRUE
 
49
        }
 
50
       }
 
51
       geometry DEF RC Rectangle {
 
52
        size 200 100
 
53
       }
 
54
      }
 
55
     ]
 
56
     background Background2D {
 
57
      url [od:10]
 
58
     }
 
59
    }
 
60
   ]
 
61
  }
 
62
  DEF TS TimeSensor {
 
63
   cycleInterval 2
 
64
   loop TRUE
 
65
  }
 
66
  DEF PI PositionInterpolator2D {
 
67
   key [0 1]
 
68
   keyValue [400 300 0 0]
 
69
  }
 
70
 ]
 
71
}
 
72
 
 
73
ROUTE TS.fraction_changed TO PI.set_fraction
 
74
ROUTE PI.value_changed TO L.size
 
75
 
 
76
AT 0 {
 
77
  UPDATE OD [
 
78
   ObjectDescriptor {
 
79
    objectDescriptorID 10
 
80
    esDescr [
 
81
     ES_Descriptor {
 
82
      ES_ID 20
 
83
      muxInfo MuxInfo {
 
84
       fileName "auxiliary_files/sky.jpg"
 
85
      }
 
86
     }
 
87
    ]
 
88
   }
 
89
  ]
 
90
}
 
91