Skip to content
Snippets Groups Projects
Commit f2e246f5 authored by Diego Elio Pettenò's avatar Diego Elio Pettenò Committed by Janne Grunau
Browse files

Make ff_png_pass_xmin and ff_png_pass_xshift static to png.c.

parent 676f1f53
No related branches found
No related tags found
No related merge requests found
...@@ -31,12 +31,12 @@ const uint8_t ff_png_pass_ymask[NB_PASSES] = { ...@@ -31,12 +31,12 @@ const uint8_t ff_png_pass_ymask[NB_PASSES] = {
}; };
/* minimum x value */ /* minimum x value */
const uint8_t ff_png_pass_xmin[NB_PASSES] = { static const uint8_t ff_png_pass_xmin[NB_PASSES] = {
0, 4, 0, 2, 0, 1, 0 0, 4, 0, 2, 0, 1, 0
}; };
/* x shift to get row width */ /* x shift to get row width */
const uint8_t ff_png_pass_xshift[NB_PASSES] = { static const uint8_t ff_png_pass_xshift[NB_PASSES] = {
3, 3, 2, 2, 1, 1, 0 3, 3, 2, 2, 1, 1, 0
}; };
......
...@@ -55,12 +55,6 @@ extern const uint8_t ff_mngsig[8]; ...@@ -55,12 +55,6 @@ extern const uint8_t ff_mngsig[8];
/* Mask to determine which y pixels are valid in a pass */ /* Mask to determine which y pixels are valid in a pass */
extern const uint8_t ff_png_pass_ymask[NB_PASSES]; extern const uint8_t ff_png_pass_ymask[NB_PASSES];
/* minimum x value */
extern const uint8_t ff_png_pass_xmin[NB_PASSES];
/* x shift to get row width */
extern const uint8_t ff_png_pass_xshift[NB_PASSES];
/* Mask to determine which pixels are valid in a pass */ /* Mask to determine which pixels are valid in a pass */
extern const uint8_t ff_png_pass_mask[NB_PASSES]; extern const uint8_t ff_png_pass_mask[NB_PASSES];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment