Revision ceaf1909 libavcodec/snow.c

View differences:

libavcodec/snow.c
1576 1576
        spatial_compose97i_dy(&cs, buffer, width, height, stride);
1577 1577
}
1578 1578

  
1579
void ff_spatial_idwt_buffered_init(dwt_compose_t *cs, slice_buffer * sb, int width, int height, int stride_line, int type, int decomposition_count){
1579
static void ff_spatial_idwt_buffered_init(dwt_compose_t *cs, slice_buffer * sb, int width, int height, int stride_line, int type, int decomposition_count){
1580 1580
    int level;
1581 1581
    for(level=decomposition_count-1; level>=0; level--){
1582 1582
        switch(type){
......
1589 1589
    }
1590 1590
}
1591 1591

  
1592
void ff_spatial_idwt_init(dwt_compose_t *cs, DWTELEM *buffer, int width, int height, int stride, int type, int decomposition_count){
1592
static void ff_spatial_idwt_init(dwt_compose_t *cs, DWTELEM *buffer, int width, int height, int stride, int type, int decomposition_count){
1593 1593
    int level;
1594 1594
    for(level=decomposition_count-1; level>=0; level--){
1595 1595
        switch(type){
......
1601 1601
    }
1602 1602
}
1603 1603

  
1604
void ff_spatial_idwt_slice(dwt_compose_t *cs, DWTELEM *buffer, int width, int height, int stride, int type, int decomposition_count, int y){
1604
static void ff_spatial_idwt_slice(dwt_compose_t *cs, DWTELEM *buffer, int width, int height, int stride, int type, int decomposition_count, int y){
1605 1605
    const int support = type==1 ? 3 : 5;
1606 1606
    int level;
1607 1607
    if(type==2) return;
......
1619 1619
    }
1620 1620
}
1621 1621

  
1622
void ff_spatial_idwt_buffered_slice(dwt_compose_t *cs, slice_buffer * slice_buf, int width, int height, int stride_line, int type, int decomposition_count, int y){
1622
static void ff_spatial_idwt_buffered_slice(dwt_compose_t *cs, slice_buffer * slice_buf, int width, int height, int stride_line, int type, int decomposition_count, int y){
1623 1623
    const int support = type==1 ? 3 : 5;
1624 1624
    int level;
1625 1625
    if(type==2) return;
......
1637 1637
    }
1638 1638
}
1639 1639

  
1640
void ff_spatial_idwt(DWTELEM *buffer, int width, int height, int stride, int type, int decomposition_count){
1640
static void ff_spatial_idwt(DWTELEM *buffer, int width, int height, int stride, int type, int decomposition_count){
1641 1641
    if(type==2){
1642 1642
        int level;
1643 1643
        for(level=decomposition_count-1; level>=0; level--)
......
3776 3776
    return 0;
3777 3777
}
3778 3778

  
3779
static void init_qexp(){
3779
static void init_qexp(void){
3780 3780
    int i;
3781 3781
    double v=128;
3782 3782

  

Also available in: Unified diff