25 #define VISUAL_OBJECT_START_CODE 0x000001b5
26 #define VOP_START_CODE 0x000001b6
30 uint32_t temp_buffer= -1;
31 int VO=0, VOL=0, VOP = 0, VISO = 0,
res=0;
34 for(i=0; i<probe_packet->
buf_size; i++){
35 temp_buffer = (temp_buffer<<8) + probe_packet->
buf[i];
36 if ((temp_buffer & 0xffffff00) != 0x100)
41 else if (temp_buffer < 0x120) VO++;
42 else if (temp_buffer < 0x130) VOL++;
43 else if ( !(0x1AF < temp_buffer && temp_buffer < 0x1B7)
44 && !(0x1B9 < temp_buffer && temp_buffer < 0x1C4))
res++;
47 if (VOP >= VISO && VOP >= VOL && VO >= VOL && VOL > 0 &&
res==0)