Revision 33996217 libavcodec/dwt.c

View differences:

libavcodec/dwt.c
22 22
#include "dsputil.h"
23 23
#include "dwt.h"
24 24

  
25
void slice_buffer_init(slice_buffer * buf, int line_count, int max_allocated_lines, int line_width, IDWTELEM * base_buffer)
25
void ff_slice_buffer_init(slice_buffer * buf, int line_count, int max_allocated_lines, int line_width, IDWTELEM * base_buffer)
26 26
{
27 27
    int i;
28 28

  
......
40 40
    buf->data_stack_top = max_allocated_lines - 1;
41 41
}
42 42

  
43
IDWTELEM * slice_buffer_load_line(slice_buffer * buf, int line)
43
IDWTELEM * ff_slice_buffer_load_line(slice_buffer * buf, int line)
44 44
{
45 45
    IDWTELEM * buffer;
46 46

  
......
56 56
    return buffer;
57 57
}
58 58

  
59
void slice_buffer_release(slice_buffer * buf, int line)
59
void ff_slice_buffer_release(slice_buffer * buf, int line)
60 60
{
61 61
    IDWTELEM * buffer;
62 62

  
......
69 69
    buf->line[line] = NULL;
70 70
}
71 71

  
72
void slice_buffer_flush(slice_buffer * buf)
72
void ff_slice_buffer_flush(slice_buffer * buf)
73 73
{
74 74
    int i;
75 75
    for(i = 0; i < buf->line_count; i++){
76 76
        if (buf->line[i])
77
            slice_buffer_release(buf, i);
77
            ff_slice_buffer_release(buf, i);
78 78
    }
79 79
}
80 80

  
81
void slice_buffer_destroy(slice_buffer * buf)
81
void ff_slice_buffer_destroy(slice_buffer * buf)
82 82
{
83 83
    int i;
84
    slice_buffer_flush(buf);
84
    ff_slice_buffer_flush(buf);
85 85

  
86 86
    for(i = buf->data_count - 1; i >= 0; i--){
87 87
        av_freep(&buf->data_stack[i]);
......
817 817
    return w_c(v, pix1, pix2, line_size, 16, h, 0);
818 818
}
819 819

  
820
int w53_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h){
820
int ff_w53_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h){
821 821
    return w_c(v, pix1, pix2, line_size, 32, h, 1);
822 822
}
823 823

  
824
int w97_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h){
824
int ff_w97_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h){
825 825
    return w_c(v, pix1, pix2, line_size, 32, h, 0);
826 826
}
827 827

  

Also available in: Unified diff