[svn] / branches / release-1_3-branch / xvidcore / src / image / image.c Repository:
ViewVC logotype

Diff of /branches/release-1_3-branch/xvidcore/src/image/image.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1734, Fri Oct 13 08:39:31 2006 UTC revision 1760, Sat Nov 11 05:07:25 2006 UTC
# Line 19  Line 19 
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.37 2006-10-13 08:39:31 Isibaar Exp $   * $Id: image.c,v 1.40 2006-11-11 05:07:25 chl Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 473  Line 473 
473                          interlacing?abgri_to_yv12_c:abgr_to_yv12_c, 4);                          interlacing?abgri_to_yv12_c:abgr_to_yv12_c, 4);
474                  break;                  break;
475    
476            case XVID_CSP_RGB:
477                    safe_packed_conv(
478                            src[0], src_stride[0], image->y, image->u, image->v,
479                            edged_width, edged_width2, width, height, (csp & XVID_CSP_VFLIP),
480                            interlacing?rgbi_to_yv12  :rgb_to_yv12,
481                            interlacing?rgbi_to_yv12_c:rgb_to_yv12_c, 3);
482                    break;
483    
484          case XVID_CSP_RGBA :          case XVID_CSP_RGBA :
485                  safe_packed_conv(                  safe_packed_conv(
486                          src[0], src_stride[0], image->y, image->u, image->v,                          src[0], src_stride[0], image->y, image->u, image->v,
# Line 649  Line 657 
657                          interlacing?yv12_to_abgri_c:yv12_to_abgr_c, 4);                          interlacing?yv12_to_abgri_c:yv12_to_abgr_c, 4);
658                  return 0;                  return 0;
659    
660            case XVID_CSP_RGB:
661                    safe_packed_conv(
662                            dst[0], dst_stride[0], image->y, image->u, image->v,
663                            edged_width, edged_width2, width, height, (csp & XVID_CSP_VFLIP),
664                            interlacing?yv12_to_rgbi  :yv12_to_rgb,
665                            interlacing?yv12_to_rgbi_c:yv12_to_rgb_c, 4);
666                    return 0;
667    
668          case XVID_CSP_RGBA:          case XVID_CSP_RGBA:
669                  safe_packed_conv(                  safe_packed_conv(
670                          dst[0], dst_stride[0], image->y, image->u, image->v,                          dst[0], dst_stride[0], image->y, image->u, image->v,
# Line 1058  Line 1074 
1074          if (img->csp!=XVID_CSP_PLANAR && img->csp!=XVID_CSP_I420 && img->csp!=XVID_CSP_YV12)          if (img->csp!=XVID_CSP_PLANAR && img->csp!=XVID_CSP_I420 && img->csp!=XVID_CSP_YV12)
1075                  return 0;       /* not yet supported */                  return 0;       /* not yet supported */
1076          if (deintl_core==0) {          if (deintl_core==0) {
                 const int cpu_flags = check_cpu_features();  
1077                  deintl_core = deinterlace_c;                  deintl_core = deinterlace_c;
1078  #ifdef ARCH_IS_IA32  #ifdef ARCH_IS_IA32
1079                    {
1080                            int cpu_flags = check_cpu_features();
1081                  if (cpu_flags & XVID_CPU_MMX)                  if (cpu_flags & XVID_CPU_MMX)
1082                          deintl_core = xvid_deinterlace_sse;                          deintl_core = xvid_deinterlace_sse;
1083                    }
1084  #endif  #endif
1085          }          }
1086          if (!bottom_first) {          if (!bottom_first) {

Legend:
Removed from v.1734  
changed lines
  Added in v.1760

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4