Revision 484a337c

View differences:

libavcodec/dsputil.c
437 437
}
438 438

  
439 439

  
440
static void put_pixels_clamped_c(const DCTELEM *block, uint8_t *restrict pixels,
441
                                 int line_size)
440
void ff_put_pixels_clamped_c(const DCTELEM *block, uint8_t *restrict pixels,
441
                             int line_size)
442 442
{
443 443
    int i;
444 444
    uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
......
493 493
    }
494 494
}
495 495

  
496
static void put_signed_pixels_clamped_c(const DCTELEM *block,
497
                                        uint8_t *restrict pixels,
498
                                        int line_size)
496
void ff_put_signed_pixels_clamped_c(const DCTELEM *block,
497
                                    uint8_t *restrict pixels,
498
                                    int line_size)
499 499
{
500 500
    int i, j;
501 501

  
......
535 535
    }
536 536
}
537 537

  
538
static void add_pixels_clamped_c(const DCTELEM *block, uint8_t *restrict pixels,
539
                          int line_size)
538
void ff_add_pixels_clamped_c(const DCTELEM *block, uint8_t *restrict pixels,
539
                             int line_size)
540 540
{
541 541
    int i;
542 542
    uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
......
3961 3961
static void ff_wmv2_idct_put_c(uint8_t *dest, int line_size, DCTELEM *block)
3962 3962
{
3963 3963
    ff_wmv2_idct_c(block);
3964
    put_pixels_clamped_c(block, dest, line_size);
3964
    ff_put_pixels_clamped_c(block, dest, line_size);
3965 3965
}
3966 3966
static void ff_wmv2_idct_add_c(uint8_t *dest, int line_size, DCTELEM *block)
3967 3967
{
3968 3968
    ff_wmv2_idct_c(block);
3969
    add_pixels_clamped_c(block, dest, line_size);
3969
    ff_add_pixels_clamped_c(block, dest, line_size);
3970 3970
}
3971 3971
static void ff_jref_idct_put(uint8_t *dest, int line_size, DCTELEM *block)
3972 3972
{
3973 3973
    j_rev_dct (block);
3974
    put_pixels_clamped_c(block, dest, line_size);
3974
    ff_put_pixels_clamped_c(block, dest, line_size);
3975 3975
}
3976 3976
static void ff_jref_idct_add(uint8_t *dest, int line_size, DCTELEM *block)
3977 3977
{
3978 3978
    j_rev_dct (block);
3979
    add_pixels_clamped_c(block, dest, line_size);
3979
    ff_add_pixels_clamped_c(block, dest, line_size);
3980 3980
}
3981 3981

  
3982 3982
static void ff_jref_idct4_put(uint8_t *dest, int line_size, DCTELEM *block)
......
4135 4135

  
4136 4136
    c->get_pixels = get_pixels_c;
4137 4137
    c->diff_pixels = diff_pixels_c;
4138
    c->put_pixels_clamped = put_pixels_clamped_c;
4139
    c->put_signed_pixels_clamped = put_signed_pixels_clamped_c;
4138
    c->put_pixels_clamped = ff_put_pixels_clamped_c;
4139
    c->put_signed_pixels_clamped = ff_put_signed_pixels_clamped_c;
4140 4140
    c->put_pixels_nonclamped = put_pixels_nonclamped_c;
4141
    c->add_pixels_clamped = add_pixels_clamped_c;
4141
    c->add_pixels_clamped = ff_add_pixels_clamped_c;
4142 4142
    c->add_pixels8 = add_pixels8_c;
4143 4143
    c->add_pixels4 = add_pixels4_c;
4144 4144
    c->sum_abs_dctelem = sum_abs_dctelem_c;
libavcodec/dsputil.h
198 198
                         int block_w, int block_h,
199 199
                         int src_x, int src_y, int w, int h);
200 200

  
201
void ff_add_pixels_clamped_c(const DCTELEM *block, uint8_t *dest, int linesize);
202
void ff_put_pixels_clamped_c(const DCTELEM *block, uint8_t *dest, int linesize);
203
void ff_put_signed_pixels_clamped_c(const DCTELEM *block, uint8_t *dest, int linesize);
204

  
201 205
/**
202 206
 * DSPContext.
203 207
 */

Also available in: Unified diff