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 & 0xfffffe00)
43 else if (temp_buffer >= 0x100 && temp_buffer < 0x120) VO++;
44 else if (temp_buffer >= 0x120 && temp_buffer < 0x130) VOL++;
45 else if ( !(0x1AF < temp_buffer && temp_buffer < 0x1B7)
46 && !(0x1B9 < temp_buffer && temp_buffer < 0x1C4)) res++;
49 if (VOP >= VISO && VOP >= VOL && VO >= VOL && VOL > 0 && res==0)