diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-03-10 19:58:22 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-03-10 20:17:11 +0100 |
commit | c4e0d845e28f06b73c9048d7159b9eb9f714c314 (patch) | |
tree | bf74a0537d392525e63fff17e6424cd6a20e0f03 /libavcodec | |
parent | 0d2f4eedc8a46892471c51cbc7a78cd9a489771a (diff) | |
download | ffmpeg-c4e0d845e28f06b73c9048d7159b9eb9f714c314.tar.gz |
snowenc: mark some encode_subband arguments const.
This makes it more obvious that this function only does bitstream
encoding.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/snowenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index 2bcbd7e721..8a6dce01ab 100644 --- a/libavcodec/snowenc.c +++ b/libavcodec/snowenc.c @@ -827,7 +827,7 @@ static int get_4block_rd(SnowContext *s, int mb_x, int mb_y, int plane_index){ return distortion + rate*penalty_factor; } -static int encode_subband_c0run(SnowContext *s, SubBand *b, IDWTELEM *src, IDWTELEM *parent, int stride, int orientation){ +static int encode_subband_c0run(SnowContext *s, SubBand *b, const IDWTELEM *src, const IDWTELEM *parent, int stride, int orientation){ const int w= b->width; const int h= b->height; int x, y; @@ -947,7 +947,7 @@ static int encode_subband_c0run(SnowContext *s, SubBand *b, IDWTELEM *src, IDWTE return 0; } -static int encode_subband(SnowContext *s, SubBand *b, IDWTELEM *src, IDWTELEM *parent, int stride, int orientation){ +static int encode_subband(SnowContext *s, SubBand *b, const IDWTELEM *src, const IDWTELEM *parent, int stride, int orientation){ // encode_subband_qtree(s, b, src, parent, stride, orientation); // encode_subband_z0run(s, b, src, parent, stride, orientation); return encode_subband_c0run(s, b, src, parent, stride, orientation); |