25 #define VOS_STARTCODE 0x1B0
26 #define USER_DATA_STARTCODE 0x1B2
27 #define GOP_STARTCODE 0x1B3
28 #define VISUAL_OBJ_STARTCODE 0x1B5
29 #define VOP_STARTCODE 0x1B6
30 #define SLICE_STARTCODE 0x1B7
31 #define EXT_STARTCODE 0x1B8
35 uint32_t temp_buffer = -1;
36 int VO = 0, VOL = 0, VOP = 0, VISO = 0, res = 0;
41 temp_buffer = (temp_buffer << 8) + probe_packet->
buf[
i];
42 if (temp_buffer & 0xfffffe00)
51 else if (temp_buffer >= 0x100 && temp_buffer < 0x120)
53 else if (temp_buffer >= 0x120 && temp_buffer < 0x130)
57 else if (!(0x1AF < temp_buffer && temp_buffer < 0x1B7) &&
58 !(0x1B9 < temp_buffer && temp_buffer < 0x1C4))
65 if (res_main && 2*res_main < VOP)
68 if (VOP >= VISO && VOP >= VOL && VO >= VOL && VOL > 0 && res == 0)
71 if (VOP >= VISO && VOP >= VOL && VO >= VOL && VOL > 0 && VOP+VO > 4)