History

hpeldsp_template: Merge some declarations and initializations

Diego Biurrun committed 12 years ago

Commit cce791b1 parent 2539cf11 file · +4 −4Browse files

Unified · Split

libavcodec/hpeldsp_template.c+4−4
@@ -133,14 +133,14 @@ static inline void FUNCC(OPNAME ## _pixels2_xy2)(uint8_t *_block, \ · 132 unmodified lines
133133 ptrdiff_t line_size, \
134134 int h) \
135135 { \
136− int i, a0, b0, a1, b1; \
137136 pixel *block = (pixel *) _block; \
138137 const pixel *pixels = (const pixel *) _pixels; \
139− a0 = pixels[0]; \
140− b0 = pixels[1] + 2; \
138+ int i, a1, b1; \
139+ int a0 = pixels[0]; \
140+ int b0 = pixels[1] + 2; \
141+ \
141142 a0 += b0; \
142143 b0 += pixels[2]; \
143− \
144144 line_size /= sizeof(pixel); \
145145 pixels += line_size; \
146146 for (i = 0; i < h; i += 2) { \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t