libmix: optimize search start code function in h264

BZ: 189364

optimize search start code ASM function in h264,
if 0 occurs 15, 13, 12, 11 ....3, 1 byte, do not jump out from the loop
immediately, check 15,14,12,....2, 1 byte, if no 0 occurs in these position,
it's impossible to have 0x010000 at these 16 byte.

Change-Id: Ie58776c164d499ec3860e190786a11a9191ec7df
Signed-off-by: ywan171 <yi.a.wang@intel.com>
diff --git a/mixvbp/vbp_manager/viddec_parse_sc.c b/mixvbp/vbp_manager/viddec_parse_sc.c
index 5f76e5d..80e1266 100755
--- a/mixvbp/vbp_manager/viddec_parse_sc.c
+++ b/mixvbp/vbp_manager/viddec_parse_sc.c
@@ -47,8 +47,13 @@
             "sub $0x10, %%eax\n\t"                 //eax-16 --> eax
             "cmp $0x10, %%eax\n\t"                 //eax >= 16?
             "jge MATCH_8_ZERO\n\t"                 //search next 16 bytes
+            "jmp END\n\t"
 
             "DATA_RET:\n\t"
+            "test $0xd555, %%edx\n\t"
+            "jz PREPARE_NEXT_MATCH\n\t"
+
+            "END:\n\t"
             "movl %%ecx, %1\n\t"                   //ecx --> ptr
             "movl %%eax, %0\n\t"                   //eax --> data_left
             : "+m"(data_left), "+m"(ptr)           //data_left --> eax, ptr -> ecx