19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: image.c,v 1.39 2006-11-10 18:58:39 chl Exp $ |
* $Id: image.c,v 1.42 2008-11-26 01:04:34 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
478 |
src[0], src_stride[0], image->y, image->u, image->v, |
src[0], src_stride[0], image->y, image->u, image->v, |
479 |
edged_width, edged_width2, width, height, (csp & XVID_CSP_VFLIP), |
edged_width, edged_width2, width, height, (csp & XVID_CSP_VFLIP), |
480 |
interlacing?rgbi_to_yv12 :rgb_to_yv12, |
interlacing?rgbi_to_yv12 :rgb_to_yv12, |
481 |
interlacing?rgbi_to_yv12_c:rgb_to_yv12_c, 4); |
interlacing?rgbi_to_yv12_c:rgb_to_yv12_c, 3); |
482 |
break; |
break; |
483 |
|
|
484 |
case XVID_CSP_RGBA : |
case XVID_CSP_RGBA : |
662 |
dst[0], dst_stride[0], image->y, image->u, image->v, |
dst[0], dst_stride[0], image->y, image->u, image->v, |
663 |
edged_width, edged_width2, width, height, (csp & XVID_CSP_VFLIP), |
edged_width, edged_width2, width, height, (csp & XVID_CSP_VFLIP), |
664 |
interlacing?yv12_to_rgbi :yv12_to_rgb, |
interlacing?yv12_to_rgbi :yv12_to_rgb, |
665 |
interlacing?yv12_to_rgbi_c:yv12_to_rgb_c, 4); |
interlacing?yv12_to_rgbi_c:yv12_to_rgb_c, 3); |
666 |
return 0; |
return 0; |
667 |
|
|
668 |
case XVID_CSP_RGBA: |
case XVID_CSP_RGBA: |
1075 |
return 0; /* not yet supported */ |
return 0; /* not yet supported */ |
1076 |
if (deintl_core==0) { |
if (deintl_core==0) { |
1077 |
deintl_core = deinterlace_c; |
deintl_core = deinterlace_c; |
1078 |
#ifdef ARCH_IS_IA32 |
#if defined(ARCH_IS_IA32) || defined(ARCH_IS_X86_64) |
1079 |
{ |
{ |
1080 |
int cpu_flags = check_cpu_features(); |
int cpu_flags = check_cpu_features(); |
1081 |
if (cpu_flags & XVID_CPU_MMX) |
if (cpu_flags & XVID_CPU_MMX) |