Revision 92f441ae

View differences:

libavcodec/x86/h264_intrapred.asm
2536 2536
    psrlq     m0, 8
2537 2537
    movd      [r1+r2*2], m0
2538 2538
    RET
2539

  
2540
;-----------------------------------------------------------------------------
2541
; void pred4x4_vertical_left_mmxext(uint8_t *src, const uint8_t *topright, int stride)
2542
;-----------------------------------------------------------------------------
2543

  
2544
INIT_MMX
2545
cglobal pred4x4_vertical_left_mmxext, 3,3
2546
    sub       r0, r2
2547
    movq      m1, [r0]
2548
    punpckldq m1, [r1]
2549
    movq      m3, m1
2550
    movq      m2, m1
2551
    psrlq     m3, 8
2552
    psrlq     m2, 16
2553
    movq      m4, m3
2554
    pavgb     m4, m1
2555
    PRED4x4_LOWPASS m0, m1, m2, m3, m5
2556
    lea       r1, [r0+r2*2]
2557
    movh      [r0+r2*1], m4
2558
    movh      [r0+r2*2], m0
2559
    psrlq     m4, 8
2560
    psrlq     m0, 8
2561
    movh      [r1+r2*1], m4
2562
    movh      [r1+r2*2], m0
2563
    RET
2539 2564
%endif
libavcodec/x86/h264_intrapred_init.c
84 84
void ff_pred8x8l_horizontal_down_ssse3(uint8_t *src, int has_topleft, int has_topright, int stride);
85 85
void ff_pred4x4_dc_mmxext          (uint8_t *src, const uint8_t *topright, int stride);
86 86
void ff_pred4x4_down_left_mmxext   (uint8_t *src, const uint8_t *topright, int stride);
87
void ff_pred4x4_vertical_left_mmxext(uint8_t *src, const uint8_t *topright, int stride);
87 88
void ff_pred4x4_tm_vp8_mmx         (uint8_t *src, const uint8_t *topright, int stride);
88 89
void ff_pred4x4_tm_vp8_mmxext      (uint8_t *src, const uint8_t *topright, int stride);
89 90
void ff_pred4x4_tm_vp8_ssse3       (uint8_t *src, const uint8_t *topright, int stride);
......
133 134
#if CONFIG_GPL
134 135
        if (codec_id == CODEC_ID_VP8 || codec_id == CODEC_ID_H264)
135 136
            h->pred4x4  [DIAG_DOWN_LEFT_PRED ] = ff_pred4x4_down_left_mmxext;
137
        if (codec_id == CODEC_ID_SVQ3 || codec_id == CODEC_ID_H264)
138
            h->pred4x4  [VERT_LEFT_PRED      ] = ff_pred4x4_vertical_left_mmxext;
136 139
        if (codec_id == CODEC_ID_SVQ3 || codec_id == CODEC_ID_H264) {
137 140
            h->pred8x8  [TOP_DC_PRED8x8      ] = ff_pred8x8_top_dc_mmxext;
138 141
            h->pred8x8  [DC_PRED8x8          ] = ff_pred8x8_dc_mmxext;

Also available in: Unified diff