Mercurial > libavcodec.hg
comparison cabac.h @ 3992:a09b5b667229 libavcodec
10l
author | michael |
---|---|
date | Wed, 11 Oct 2006 13:25:29 +0000 |
parents | 72bae00a317f |
children | 8b7c59b7af01 |
comparison
equal
deleted
inserted
replaced
3991:72bae00a317f | 3992:a09b5b667229 |
---|---|
378 asm volatile( | 378 asm volatile( |
379 "movzbl (%1), %%eax \n\t" | 379 "movzbl (%1), %%eax \n\t" |
380 "movl "RANGE "(%2), %%ebx \n\t" | 380 "movl "RANGE "(%2), %%ebx \n\t" |
381 "movl "RANGE "(%2), %%edx \n\t" | 381 "movl "RANGE "(%2), %%edx \n\t" |
382 "shrl $23, %%ebx \n\t" | 382 "shrl $23, %%ebx \n\t" |
383 "movzbl ff_h264_lps_range(%%ebx, %%eax, 4), %%esi\n\t" | 383 "movzbl "MANGLE(ff_h264_lps_range)"(%%ebx, %%eax, 4), %%esi\n\t" |
384 "shll $17, %%esi \n\t" | 384 "shll $17, %%esi \n\t" |
385 "movl "LOW "(%2), %%ebx \n\t" | 385 "movl "LOW "(%2), %%ebx \n\t" |
386 //eax:state ebx:low, edx:range, esi:RangeLPS | 386 //eax:state ebx:low, edx:range, esi:RangeLPS |
387 "subl %%esi, %%edx \n\t" | 387 "subl %%esi, %%edx \n\t" |
388 "cmpl %%edx, %%ebx \n\t" | 388 "cmpl %%edx, %%ebx \n\t" |
448 asm volatile( | 448 asm volatile( |
449 "movzbl (%1), %%eax \n\t" | 449 "movzbl (%1), %%eax \n\t" |
450 "movl "RANGE "(%2), %%ebx \n\t" | 450 "movl "RANGE "(%2), %%ebx \n\t" |
451 "movl "RANGE "(%2), %%edx \n\t" | 451 "movl "RANGE "(%2), %%edx \n\t" |
452 "shrl $23, %%ebx \n\t" | 452 "shrl $23, %%ebx \n\t" |
453 "movzbl ff_h264_lps_range(%%ebx, %%eax, 4), %%esi\n\t" | 453 "movzbl "MANGLE(ff_h264_lps_range)"(%%ebx, %%eax, 4), %%esi\n\t" |
454 "shll $17, %%esi \n\t" | 454 "shll $17, %%esi \n\t" |
455 "movl "LOW "(%2), %%ebx \n\t" | 455 "movl "LOW "(%2), %%ebx \n\t" |
456 //eax:state ebx:low, edx:range, esi:RangeLPS | 456 //eax:state ebx:low, edx:range, esi:RangeLPS |
457 "subl %%esi, %%edx \n\t" | 457 "subl %%esi, %%edx \n\t" |
458 #ifdef CMOV_IS_FAST //FIXME actually define this somewhere | 458 #ifdef CMOV_IS_FAST //FIXME actually define this somewhere |