comparison pixdesc.c @ 987:f2fa8ffe7a05 libavutil

Reindent after r24101.
author stefano
date Thu, 08 Jul 2010 22:05:33 +0000
parents da1b5110dbd0
children 732bb5b10aec
comparison
equal deleted inserted replaced
986:093c69c7b752 987:f2fa8ffe7a05
23 #include "pixdesc.h" 23 #include "pixdesc.h"
24 24
25 #include "intreadwrite.h" 25 #include "intreadwrite.h"
26 26
27 void av_read_image_line(uint16_t *dst, const uint8_t *data[4], const int linesize[4], 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 AVComponentDescriptor comp= desc->comp[c]; 30 AVComponentDescriptor comp= desc->comp[c];
31 int plane= comp.plane; 31 int plane= comp.plane;
32 int depth= comp.depth_minus1+1; 32 int depth= comp.depth_minus1+1;
33 int mask = (1<<depth)-1; 33 int mask = (1<<depth)-1;
64 } 64 }
65 } 65 }
66 } 66 }
67 67
68 void av_write_image_line(const uint16_t *src, uint8_t *data[4], const int linesize[4], 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 AVComponentDescriptor comp = desc->comp[c]; 71 AVComponentDescriptor comp = desc->comp[c];
72 int plane = comp.plane; 72 int plane = comp.plane;
73 int depth = comp.depth_minus1+1; 73 int depth = comp.depth_minus1+1;
74 int step = comp.step_minus1+1; 74 int step = comp.step_minus1+1;