Mercurial > libavcodec.hg
comparison qpeg.c @ 7129:322023e630a6 libavcodec
mark read-only data as const
author | stefang |
---|---|
date | Tue, 24 Jun 2008 20:01:31 +0000 |
parents | e943e1409077 |
children | e9d9d946f213 |
comparison
equal
deleted
inserted
replaced
7128:614bc53e67a8 | 7129:322023e630a6 |
---|---|
106 } | 106 } |
107 } | 107 } |
108 } | 108 } |
109 } | 109 } |
110 | 110 |
111 static int qpeg_table_h[16] = | 111 static const int qpeg_table_h[16] = |
112 { 0x00, 0x20, 0x20, 0x20, 0x18, 0x10, 0x10, 0x20, 0x10, 0x08, 0x18, 0x08, 0x08, 0x18, 0x10, 0x04}; | 112 { 0x00, 0x20, 0x20, 0x20, 0x18, 0x10, 0x10, 0x20, 0x10, 0x08, 0x18, 0x08, 0x08, 0x18, 0x10, 0x04}; |
113 static int qpeg_table_w[16] = | 113 static const int qpeg_table_w[16] = |
114 { 0x00, 0x20, 0x18, 0x08, 0x18, 0x10, 0x20, 0x10, 0x08, 0x10, 0x20, 0x20, 0x08, 0x10, 0x18, 0x04}; | 114 { 0x00, 0x20, 0x18, 0x08, 0x18, 0x10, 0x20, 0x10, 0x08, 0x10, 0x20, 0x20, 0x08, 0x10, 0x18, 0x04}; |
115 | 115 |
116 /* Decodes delta frames */ | 116 /* Decodes delta frames */ |
117 static void qpeg_decode_inter(const uint8_t *src, uint8_t *dst, int size, | 117 static void qpeg_decode_inter(const uint8_t *src, uint8_t *dst, int size, |
118 int stride, int width, int height, | 118 int stride, int width, int height, |