comparison mimic.c @ 8288:800444234375 libavcodec

clear_block mmx
author lorenm
date Wed, 10 Dec 2008 21:35:17 +0000
parents e70975d5ff80
children 409d20e15da8
comparison
equal deleted inserted replaced
8287:7a1d037482c4 8288:800444234375
161 static int vlc_decode_block(MimicContext *ctx, int num_coeffs, int qscale) 161 static int vlc_decode_block(MimicContext *ctx, int num_coeffs, int qscale)
162 { 162 {
163 DCTELEM *block = ctx->dct_block; 163 DCTELEM *block = ctx->dct_block;
164 unsigned int pos; 164 unsigned int pos;
165 165
166 memset(block, 0, 64 * sizeof(DCTELEM)); 166 ctx->dsp.clear_block(block);
167 167
168 block[0] = get_bits(&ctx->gb, 8) << 3; 168 block[0] = get_bits(&ctx->gb, 8) << 3;
169 169
170 for(pos = 1; pos < num_coeffs; pos++) { 170 for(pos = 1; pos < num_coeffs; pos++) {
171 uint32_t vlc, num_bits; 171 uint32_t vlc, num_bits;