comparison truemotion1.c @ 7129:322023e630a6 libavcodec

mark read-only data as const
author stefang
date Tue, 24 Jun 2008 20:01:31 +0000
parents e943e1409077
children bc36a075bf35
comparison
equal deleted inserted replaced
7128:614bc53e67a8 7129:322023e630a6
115 int block_height; // hres 115 int block_height; // hres
116 int block_type; 116 int block_type;
117 } comp_types; 117 } comp_types;
118 118
119 /* { valid for metatype }, algorithm, num of deltas, vert res, horiz res */ 119 /* { valid for metatype }, algorithm, num of deltas, vert res, horiz res */
120 static comp_types compression_types[17] = { 120 static const comp_types compression_types[17] = {
121 { ALGO_NOP, 0, 0, 0 }, 121 { ALGO_NOP, 0, 0, 0 },
122 122
123 { ALGO_RGB16V, 4, 4, BLOCK_4x4 }, 123 { ALGO_RGB16V, 4, 4, BLOCK_4x4 },
124 { ALGO_RGB16H, 4, 4, BLOCK_4x4 }, 124 { ALGO_RGB16H, 4, 4, BLOCK_4x4 },
125 { ALGO_RGB16V, 4, 2, BLOCK_4x2 }, 125 { ALGO_RGB16V, 4, 2, BLOCK_4x2 },