Lines Matching refs:code

33     M4OSA_UInt8 code;
103 M4OSA_UInt32 code, j;
141 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 8);
142 if (code == 0)
144 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 8);
145 if (code == 0)
147 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 8);
148 if (code == 1)
150 /* start code found */
151 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 8);
155 if ((code > 0x1F) && (code < 0x30))
157 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
159 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
161 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
163 if (code == 1)
165 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
167 vol_verid = (M4OSA_UInt8)code;
168 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
171 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
173 if (code == 15)
174 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
176 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
178 if (code == 1)
180 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
182 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
184 if (code == 1)
186 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
189 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
192 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
196 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
199 video_object_layer_shape = (M4OSA_UInt8)code;
201 if (code != 0) return 0; /* only rectangular case supported */
203 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
205 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
207 pDci->uiTimeScale = code;
210 j = code - 1;
217 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
219 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
221 if (code == 1)
223 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
231 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
233 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
235 pVideoSize->m_uiWidth = code;
236 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
238 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
240 pVideoSize->m_uiHeight = code;
241 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
246 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
248 interlaced = (M4OSA_UInt8)code;
249 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
254 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
256 sprite_enable = (M4OSA_UInt8)code;
260 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
262 sprite_enable = (M4OSA_UInt8)code;
270 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
272 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
274 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
276 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
278 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
280 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
282 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
284 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
288 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
290 sprite_warping_points = (M4OSA_UInt8)code;
291 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
293 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
295 sprite_brightness_change = (M4OSA_UInt8)code;
298 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
304 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
308 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 1); /* not 8 bits */
309 if (code)
311 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
313 quant_precision = (M4OSA_UInt8)code;
314 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
321 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
326 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
328 if (code)
330 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
332 if (code)
334 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 8);/* */
338 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 8);
339 if (code == 0)
345 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
347 if (code)
349 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 8);/* */
353 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 8);
354 if (code == 0)
363 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
367 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
369 complexity_estimation_disable = (M4OSA_UInt8)code;
370 if (!code)
375 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
377 pDci->uiUseOfResynchMarker = (code) ? 0 : 1;
379 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt,
381 pDci->bDataPartition = (code) ? M4OSA_TRUE : M4OSA_FALSE;
382 if (code)
385 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 1);
386 pDci->bUseOfRVLC = (code) ? M4OSA_TRUE : M4OSA_FALSE;
391 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 1);/* newpred */
392 if (code)
397 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 1);
398 reduced_resolution_vop_enable = (M4OSA_UInt8)code;
401 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 1);/* scalability */
402 scalability = (M4OSA_UInt8)code;
403 if (code)
406 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 1);
407 b_hierarchy_type = (M4OSA_UInt8)code;
409 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 4);
411 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 1);
413 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 5);
415 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 5);
417 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 5);
419 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 5);
421 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 1);
422 enhancement_type = (M4OSA_UInt8)code;
426 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 1);
428 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 1);
430 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 5);
432 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 5);
434 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 5);
436 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 5);
444 else if(code == 0xB0)
447 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 8);
448 pDci->uiProfile = (M4OSA_UInt8)code;
453 else if(code == 0xB5)
456 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 1);
457 if (code == 1)
460 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 4);
461 vol_verid = (M4OSA_UInt8)code;
463 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 3);
468 code = M4VD_EXTERNAL_GetBitsFromMemory(&parsingCtxt, 7);
477 if ((code >> 2) == 0x20)
690 if (mpeg4ProfileLevelTable[i].code == profileAndLevel) {