Patch by by Christophe GISQUET ( echo $name| tr "[A-Z ]" "[a-z.]"|sed s/$/@free.fr/ )
Thread: [PATCH] Clean up in C VC-1 DSP functions
Originally committed as revision 9535 to svn://svn.ffmpeg.org/ffmpeg/trunk
... | ... |
@@ -375,63 +375,63 @@ static void vc1_mspel_mc(uint8_t *dst, const uint8_t *src, int stride, int mode, |
375 | 375 |
/* this one is defined in dsputil.c */ |
376 | 376 |
void ff_put_vc1_mspel_mc00_c(uint8_t *dst, const uint8_t *src, int stride, int rnd); |
377 | 377 |
|
378 |
-static void ff_put_vc1_mspel_mc10_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
378 |
+static void put_vc1_mspel_mc10_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
379 | 379 |
vc1_mspel_mc(dst, src, stride, 0x1, rnd); |
380 | 380 |
} |
381 | 381 |
|
382 |
-static void ff_put_vc1_mspel_mc20_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
382 |
+static void put_vc1_mspel_mc20_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
383 | 383 |
vc1_mspel_mc(dst, src, stride, 0x2, rnd); |
384 | 384 |
} |
385 | 385 |
|
386 |
-static void ff_put_vc1_mspel_mc30_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
386 |
+static void put_vc1_mspel_mc30_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
387 | 387 |
vc1_mspel_mc(dst, src, stride, 0x3, rnd); |
388 | 388 |
} |
389 | 389 |
|
390 |
-static void ff_put_vc1_mspel_mc01_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
390 |
+static void put_vc1_mspel_mc01_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
391 | 391 |
vc1_mspel_mc(dst, src, stride, 0x4, rnd); |
392 | 392 |
} |
393 | 393 |
|
394 |
-static void ff_put_vc1_mspel_mc11_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
394 |
+static void put_vc1_mspel_mc11_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
395 | 395 |
vc1_mspel_mc(dst, src, stride, 0x5, rnd); |
396 | 396 |
} |
397 | 397 |
|
398 |
-static void ff_put_vc1_mspel_mc21_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
398 |
+static void put_vc1_mspel_mc21_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
399 | 399 |
vc1_mspel_mc(dst, src, stride, 0x6, rnd); |
400 | 400 |
} |
401 | 401 |
|
402 |
-static void ff_put_vc1_mspel_mc31_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
402 |
+static void put_vc1_mspel_mc31_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
403 | 403 |
vc1_mspel_mc(dst, src, stride, 0x7, rnd); |
404 | 404 |
} |
405 | 405 |
|
406 |
-static void ff_put_vc1_mspel_mc02_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
406 |
+static void put_vc1_mspel_mc02_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
407 | 407 |
vc1_mspel_mc(dst, src, stride, 0x8, rnd); |
408 | 408 |
} |
409 | 409 |
|
410 |
-static void ff_put_vc1_mspel_mc12_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
410 |
+static void put_vc1_mspel_mc12_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
411 | 411 |
vc1_mspel_mc(dst, src, stride, 0x9, rnd); |
412 | 412 |
} |
413 | 413 |
|
414 |
-static void ff_put_vc1_mspel_mc22_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
414 |
+static void put_vc1_mspel_mc22_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
415 | 415 |
vc1_mspel_mc(dst, src, stride, 0xA, rnd); |
416 | 416 |
} |
417 | 417 |
|
418 |
-static void ff_put_vc1_mspel_mc32_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
418 |
+static void put_vc1_mspel_mc32_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
419 | 419 |
vc1_mspel_mc(dst, src, stride, 0xB, rnd); |
420 | 420 |
} |
421 | 421 |
|
422 |
-static void ff_put_vc1_mspel_mc03_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
422 |
+static void put_vc1_mspel_mc03_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
423 | 423 |
vc1_mspel_mc(dst, src, stride, 0xC, rnd); |
424 | 424 |
} |
425 | 425 |
|
426 |
-static void ff_put_vc1_mspel_mc13_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
426 |
+static void put_vc1_mspel_mc13_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
427 | 427 |
vc1_mspel_mc(dst, src, stride, 0xD, rnd); |
428 | 428 |
} |
429 | 429 |
|
430 |
-static void ff_put_vc1_mspel_mc23_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
430 |
+static void put_vc1_mspel_mc23_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
431 | 431 |
vc1_mspel_mc(dst, src, stride, 0xE, rnd); |
432 | 432 |
} |
433 | 433 |
|
434 |
-static void ff_put_vc1_mspel_mc33_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
434 |
+static void put_vc1_mspel_mc33_c(uint8_t *dst, const uint8_t *src, int stride, int rnd) { |
|
435 | 435 |
vc1_mspel_mc(dst, src, stride, 0xF, rnd); |
436 | 436 |
} |
437 | 437 |
|
... | ... |
@@ -444,19 +444,19 @@ void ff_vc1dsp_init(DSPContext* dsp, AVCodecContext *avctx) { |
444 | 444 |
dsp->vc1_v_overlap = vc1_v_overlap_c; |
445 | 445 |
|
446 | 446 |
dsp->put_vc1_mspel_pixels_tab[ 0] = ff_put_vc1_mspel_mc00_c; |
447 |
- dsp->put_vc1_mspel_pixels_tab[ 1] = ff_put_vc1_mspel_mc10_c; |
|
448 |
- dsp->put_vc1_mspel_pixels_tab[ 2] = ff_put_vc1_mspel_mc20_c; |
|
449 |
- dsp->put_vc1_mspel_pixels_tab[ 3] = ff_put_vc1_mspel_mc30_c; |
|
450 |
- dsp->put_vc1_mspel_pixels_tab[ 4] = ff_put_vc1_mspel_mc01_c; |
|
451 |
- dsp->put_vc1_mspel_pixels_tab[ 5] = ff_put_vc1_mspel_mc11_c; |
|
452 |
- dsp->put_vc1_mspel_pixels_tab[ 6] = ff_put_vc1_mspel_mc21_c; |
|
453 |
- dsp->put_vc1_mspel_pixels_tab[ 7] = ff_put_vc1_mspel_mc31_c; |
|
454 |
- dsp->put_vc1_mspel_pixels_tab[ 8] = ff_put_vc1_mspel_mc02_c; |
|
455 |
- dsp->put_vc1_mspel_pixels_tab[ 9] = ff_put_vc1_mspel_mc12_c; |
|
456 |
- dsp->put_vc1_mspel_pixels_tab[10] = ff_put_vc1_mspel_mc22_c; |
|
457 |
- dsp->put_vc1_mspel_pixels_tab[11] = ff_put_vc1_mspel_mc32_c; |
|
458 |
- dsp->put_vc1_mspel_pixels_tab[12] = ff_put_vc1_mspel_mc03_c; |
|
459 |
- dsp->put_vc1_mspel_pixels_tab[13] = ff_put_vc1_mspel_mc13_c; |
|
460 |
- dsp->put_vc1_mspel_pixels_tab[14] = ff_put_vc1_mspel_mc23_c; |
|
461 |
- dsp->put_vc1_mspel_pixels_tab[15] = ff_put_vc1_mspel_mc33_c; |
|
447 |
+ dsp->put_vc1_mspel_pixels_tab[ 1] = put_vc1_mspel_mc10_c; |
|
448 |
+ dsp->put_vc1_mspel_pixels_tab[ 2] = put_vc1_mspel_mc20_c; |
|
449 |
+ dsp->put_vc1_mspel_pixels_tab[ 3] = put_vc1_mspel_mc30_c; |
|
450 |
+ dsp->put_vc1_mspel_pixels_tab[ 4] = put_vc1_mspel_mc01_c; |
|
451 |
+ dsp->put_vc1_mspel_pixels_tab[ 5] = put_vc1_mspel_mc11_c; |
|
452 |
+ dsp->put_vc1_mspel_pixels_tab[ 6] = put_vc1_mspel_mc21_c; |
|
453 |
+ dsp->put_vc1_mspel_pixels_tab[ 7] = put_vc1_mspel_mc31_c; |
|
454 |
+ dsp->put_vc1_mspel_pixels_tab[ 8] = put_vc1_mspel_mc02_c; |
|
455 |
+ dsp->put_vc1_mspel_pixels_tab[ 9] = put_vc1_mspel_mc12_c; |
|
456 |
+ dsp->put_vc1_mspel_pixels_tab[10] = put_vc1_mspel_mc22_c; |
|
457 |
+ dsp->put_vc1_mspel_pixels_tab[11] = put_vc1_mspel_mc32_c; |
|
458 |
+ dsp->put_vc1_mspel_pixels_tab[12] = put_vc1_mspel_mc03_c; |
|
459 |
+ dsp->put_vc1_mspel_pixels_tab[13] = put_vc1_mspel_mc13_c; |
|
460 |
+ dsp->put_vc1_mspel_pixels_tab[14] = put_vc1_mspel_mc23_c; |
|
461 |
+ dsp->put_vc1_mspel_pixels_tab[15] = put_vc1_mspel_mc33_c; |
|
462 | 462 |
} |