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

« back to all changes in this revision

Viewing changes to regression_tests/bifs-2D-positioning-layout-scroll-full.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 800
 
17
     pixelHeight 400
 
18
    }
 
19
   }
 
20
  }
 
21
 ]
 
22
}
 
23
 
 
24
OrderedGroup {
 
25
 children [
 
26
  Background2D {
 
27
   backColor 1 1 1
 
28
  }
 
29
  WorldInfo {
 
30
   info ["This shows Layout node" "performing scrolling in different direction" "" "GPAC Regression Tests" "(C) 2002-2004 GPAC Team"]
 
31
   title "Layout Test"
 
32
  }
 
33
  Transform2D {
 
34
   translation -250 160
 
35
   children [
 
36
    DEF BOUNDS Shape {
 
37
     appearance Appearance {
 
38
      material Material2D {
 
39
       emissiveColor 0 0 0
 
40
      }
 
41
     }
 
42
     geometry Rectangle {
 
43
      size 200 60
 
44
     }
 
45
    }
 
46
    Transform2D {
 
47
     translation 0 -50
 
48
     children [
 
49
      Shape {
 
50
       appearance DEF APPTEXT Appearance {
 
51
        material Material2D {
 
52
         emissiveColor 0 0 0
 
53
         filled TRUE
 
54
        }
 
55
       }
 
56
       geometry Text {
 
57
        string ["scroll smooth vertical"]
 
58
        fontStyle DEF FS FontStyle {
 
59
         justify ["MIDDLE"]
 
60
         size 16
 
61
        }
 
62
       }
 
63
      }
 
64
     ]
 
65
    }
 
66
    Layout {
 
67
     wrap TRUE
 
68
     size 200 60
 
69
     justify ["BEGIN" "BEGIN"]
 
70
     smoothScroll TRUE
 
71
     loop TRUE
 
72
     scrollRate 0.1
 
73
     children [
 
74
      DEF S1 Shape {
 
75
       appearance Appearance {
 
76
        material Material2D {
 
77
         emissiveColor 1 0 0
 
78
         filled TRUE
 
79
        }
 
80
       }
 
81
       geometry Rectangle {
 
82
        size 50 50
 
83
       }
 
84
      }
 
85
      DEF S2 Shape {
 
86
       appearance USE APPTEXT
 
87
       geometry Text {
 
88
        string ["Sample Text"]
 
89
        fontStyle USE FS
 
90
       }
 
91
      }
 
92
      DEF S3 Shape {
 
93
       appearance Appearance {
 
94
        material Material2D {
 
95
         emissiveColor 0 1 0
 
96
         filled TRUE
 
97
        }
 
98
       }
 
99
       geometry Circle {
 
100
        radius 25
 
101
       }
 
102
      }
 
103
     ]
 
104
    }
 
105
   ]
 
106
  }
 
107
  Transform2D {
 
108
   translation -250 60
 
109
   children [
 
110
    USE BOUNDS
 
111
    Transform2D {
 
112
     translation 0 -50
 
113
     children [
 
114
      Shape {
 
115
       appearance USE APPTEXT
 
116
       geometry Text {
 
117
        string ["scroll smooth vertical inverse"]
 
118
        fontStyle USE FS
 
119
       }
 
120
      }
 
121
     ]
 
122
    }
 
123
    Layout {
 
124
     wrap TRUE
 
125
     size 200 60
 
126
     justify ["BEGIN" "BEGIN"]
 
127
     smoothScroll TRUE
 
128
     loop TRUE
 
129
     scrollRate -0.1
 
130
     children [
 
131
      USE S1
 
132
      USE S2
 
133
      USE S3
 
134
     ]
 
135
    }
 
136
   ]
 
137
  }
 
138
  Transform2D {
 
139
   translation -250 -40
 
140
   children [
 
141
    USE BOUNDS
 
142
    Transform2D {
 
143
     translation 0 -50
 
144
     children [
 
145
      Shape {
 
146
       appearance USE APPTEXT
 
147
       geometry Text {
 
148
        string ["scroll smooth horizontal"]
 
149
        fontStyle USE FS
 
150
       }
 
151
      }
 
152
     ]
 
153
    }
 
154
    Layout {
 
155
     wrap TRUE
 
156
     size 200 60
 
157
     justify ["BEGIN" "BEGIN"]
 
158
     smoothScroll TRUE
 
159
     loop TRUE
 
160
     scrollVertical FALSE
 
161
     scrollRate 0.1
 
162
     children [
 
163
      USE S1
 
164
      USE S2
 
165
      USE S3
 
166
     ]
 
167
    }
 
168
   ]
 
169
  }
 
170
  Transform2D {
 
171
   translation -250 -140
 
172
   children [
 
173
    USE BOUNDS
 
174
    Transform2D {
 
175
     translation 0 -50
 
176
     children [
 
177
      Shape {
 
178
       appearance USE APPTEXT
 
179
       geometry Text {
 
180
        string ["scroll smooth horizontal inverse"]
 
181
        fontStyle USE FS
 
182
       }
 
183
      }
 
184
     ]
 
185
    }
 
186
    Layout {
 
187
     wrap TRUE
 
188
     size 200 60
 
189
     justify ["BEGIN" "BEGIN"]
 
190
     smoothScroll TRUE
 
191
     loop TRUE
 
192
     scrollVertical FALSE
 
193
     scrollRate -0.1
 
194
     children [
 
195
      USE S1
 
196
      USE S2
 
197
      USE S3
 
198
     ]
 
199
    }
 
200
   ]
 
201
  }
 
202
  Transform2D {
 
203
   translation 0 120
 
204
   children [
 
205
    DEF BOUNDS2 Shape {
 
206
     appearance Appearance {
 
207
      material Material2D {
 
208
       emissiveColor 0 0 0
 
209
      }
 
210
     }
 
211
     geometry Rectangle {
 
212
      size 100 150
 
213
     }
 
214
    }
 
215
    Transform2D {
 
216
     translation 0 -90
 
217
     children [
 
218
      Shape {
 
219
       appearance USE APPTEXT
 
220
       geometry Text {
 
221
        string ["scroll smooth vertical"]
 
222
        fontStyle USE FS
 
223
       }
 
224
      }
 
225
     ]
 
226
    }
 
227
    Layout {
 
228
     wrap TRUE
 
229
     size 100 150
 
230
     horizontal FALSE
 
231
     justify ["BEGIN" "BEGIN"]
 
232
     smoothScroll TRUE
 
233
     loop TRUE
 
234
     scrollRate 0.1
 
235
     children [
 
236
      USE S1
 
237
      USE S2
 
238
      USE S3
 
239
     ]
 
240
    }
 
241
   ]
 
242
  }
 
243
  Transform2D {
 
244
   translation 200 120
 
245
   children [
 
246
    USE BOUNDS2
 
247
    Transform2D {
 
248
     translation 0 -90
 
249
     children [
 
250
      Shape {
 
251
       appearance USE APPTEXT
 
252
       geometry Text {
 
253
        string ["scroll smooth vertical inverse"]
 
254
        fontStyle USE FS
 
255
       }
 
256
      }
 
257
     ]
 
258
    }
 
259
    Layout {
 
260
     wrap TRUE
 
261
     size 100 150
 
262
     horizontal FALSE
 
263
     justify ["BEGIN" "BEGIN"]
 
264
     smoothScroll TRUE
 
265
     loop TRUE
 
266
     scrollRate -0.1
 
267
     children [
 
268
      USE S1
 
269
      USE S2
 
270
      USE S3
 
271
     ]
 
272
    }
 
273
   ]
 
274
  }
 
275
  Transform2D {
 
276
   translation 0 -80
 
277
   children [
 
278
    USE BOUNDS2
 
279
    Transform2D {
 
280
     translation 0 -90
 
281
     children [
 
282
      Shape {
 
283
       appearance USE APPTEXT
 
284
       geometry Text {
 
285
        string ["scroll smooth horizontal"]
 
286
        fontStyle USE FS
 
287
       }
 
288
      }
 
289
     ]
 
290
    }
 
291
    Layout {
 
292
     wrap TRUE
 
293
     size 100 150
 
294
     horizontal FALSE
 
295
     justify ["BEGIN" "BEGIN"]
 
296
     smoothScroll TRUE
 
297
     loop TRUE
 
298
     scrollVertical FALSE
 
299
     scrollRate 0.1
 
300
     children [
 
301
      USE S1
 
302
      USE S2
 
303
      USE S3
 
304
     ]
 
305
    }
 
306
   ]
 
307
  }
 
308
  Transform2D {
 
309
   translation 200 -80
 
310
   children [
 
311
    USE BOUNDS2
 
312
    Transform2D {
 
313
     translation 0 -90
 
314
     children [
 
315
      Shape {
 
316
       appearance USE APPTEXT
 
317
       geometry Text {
 
318
        string ["scroll smooth horizontal inverse"]
 
319
        fontStyle USE FS
 
320
       }
 
321
      }
 
322
     ]
 
323
    }
 
324
    Layout {
 
325
     wrap TRUE
 
326
     size 100 150
 
327
     horizontal FALSE
 
328
     justify ["BEGIN" "BEGIN"]
 
329
     smoothScroll TRUE
 
330
     loop TRUE
 
331
     scrollVertical FALSE
 
332
     scrollRate -0.1
 
333
     children [
 
334
      USE S1
 
335
      USE S2
 
336
      USE S3
 
337
     ]
 
338
    }
 
339
   ]
 
340
  }
 
341
 ]
 
342
}
 
343
 
 
344