Revision ee435580

View differences:

libavfilter/vf_pixdesctest.c
91 91

  
92 92
        for (i = y1; i < y1 + h1; i++) {
93 93
            av_read_image_line(priv->line,
94
                      inpic->data,
95
                      inpic->linesize,
96
                      priv->pix_desc,
97
                      0, i, c, w1, 0);
94
                               inpic->data,
95
                               inpic->linesize,
96
                               priv->pix_desc,
97
                               0, i, c, w1, 0);
98 98

  
99 99
            av_write_image_line(priv->line,
100
                       outpic->data,
101
                       outpic->linesize,
102
                       priv->pix_desc,
103
                       0, i, c, w1);
100
                                outpic->data,
101
                                outpic->linesize,
102
                                priv->pix_desc,
103
                                0, i, c, w1);
104 104
        }
105 105
    }
106 106

  
libavutil/pixdesc.c
25 25
#include "intreadwrite.h"
26 26

  
27 27
void av_read_image_line(uint16_t *dst, const uint8_t *data[4], const int linesize[4],
28
               const AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component)
28
                        const AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component)
29 29
{
30 30
    AVComponentDescriptor comp= desc->comp[c];
31 31
    int plane= comp.plane;
......
66 66
}
67 67

  
68 68
void av_write_image_line(const uint16_t *src, uint8_t *data[4], const int linesize[4],
69
                const AVPixFmtDescriptor *desc, int x, int y, int c, int w)
69
                         const AVPixFmtDescriptor *desc, int x, int y, int c, int w)
70 70
{
71 71
    AVComponentDescriptor comp = desc->comp[c];
72 72
    int plane = comp.plane;
libavutil/pixdesc.h
109 109
 * data[0]. The behavior is undefined if the format is not paletted.
110 110
 */
111 111
void av_read_image_line(uint16_t *dst, const uint8_t *data[4], const int linesize[4],
112
               const AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component);
112
                        const AVPixFmtDescriptor *desc, int x, int y, int c, int w, int read_pal_component);
113 113

  
114 114
/**
115 115
 * Write the values from src to the pixel format component c of an
......
126 126
 * values to write to the image line
127 127
 */
128 128
void av_write_image_line(const uint16_t *src, uint8_t *data[4], const int linesize[4],
129
                const AVPixFmtDescriptor *desc, int x, int y, int c, int w);
129
                         const AVPixFmtDescriptor *desc, int x, int y, int c, int w);
130 130

  
131 131
/**
132 132
 * Return the pixel format corresponding to name.

Also available in: Unified diff