Browse code

avcodec: rename prores encoders

Using the first names of authors sounds somewhat unprofessional
and might be considered offensive which is not intended.
The new names use the initials of the authors due to simplicity
and the possibility to apply it consistently without the need
to find political correct names for each future case where
alternative codecs might exist. Also its shorter ...

If someone has a better idea, like maybe 2 random letters
and people prefer it then iam happy to switch to that ...

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2013/04/12 05:47:27
Showing 10 changed files
... ...
@@ -334,8 +334,8 @@ OBJS-$(CONFIG_PPM_ENCODER)             += pnmenc.o pnm.o
334 334
 OBJS-$(CONFIG_PRORES_DECODER)          += proresdec2.o proresdsp.o
335 335
 OBJS-$(CONFIG_PRORES_LGPL_DECODER)     += proresdec_lgpl.o proresdsp.o proresdata.o
336 336
 OBJS-$(CONFIG_PRORES_ENCODER)          += proresenc_anatoliy.o
337
-OBJS-$(CONFIG_PRORES_ANATOLIY_ENCODER) += proresenc_anatoliy.o
338
-OBJS-$(CONFIG_PRORES_KOSTYA_ENCODER)   += proresenc_kostya.o proresdata.o proresdsp.o
337
+OBJS-$(CONFIG_PRORES_AW_ENCODER)       += proresenc_anatoliy.o
338
+OBJS-$(CONFIG_PRORES_KS_ENCODER)       += proresenc_kostya.o proresdata.o proresdsp.o
339 339
 OBJS-$(CONFIG_PTX_DECODER)             += ptx.o
340 340
 OBJS-$(CONFIG_QCELP_DECODER)           += qcelpdec.o                     \
341 341
                                           celp_filters.o acelp_vectors.o \
... ...
@@ -220,8 +220,8 @@ void avcodec_register_all(void)
220 220
     REGISTER_ENCDEC (PNG,               png);
221 221
     REGISTER_ENCDEC (PPM,               ppm);
222 222
     REGISTER_ENCDEC (PRORES,            prores);
223
-    REGISTER_ENCODER(PRORES_ANATOLIY,   prores_anatoliy);
224
-    REGISTER_ENCODER(PRORES_KOSTYA,     prores_kostya);
223
+    REGISTER_ENCODER(PRORES_AW,         prores_aw);
224
+    REGISTER_ENCODER(PRORES_KS,         prores_ks);
225 225
     REGISTER_DECODER(PRORES_LGPL,       prores_lgpl);
226 226
     REGISTER_DECODER(PTX,               ptx);
227 227
     REGISTER_DECODER(QDRAW,             qdraw);
... ...
@@ -56,7 +56,7 @@ static void prores_idct_put_c(uint16_t *out, int linesize, int16_t *block, const
56 56
 }
57 57
 #endif
58 58
 
59
-#if CONFIG_PRORES_KOSTYA_ENCODER
59
+#if CONFIG_PRORES_KS_ENCODER
60 60
 static void prores_fdct_c(const uint16_t *src, int linesize, int16_t *block)
61 61
 {
62 62
     int x, y;
... ...
@@ -82,7 +82,7 @@ void ff_proresdsp_init(ProresDSPContext *dsp, AVCodecContext *avctx)
82 82
     ff_init_scantable_permutation(dsp->idct_permutation,
83 83
                                   dsp->idct_permutation_type);
84 84
 #endif
85
-#if CONFIG_PRORES_KOSTYA_ENCODER
85
+#if CONFIG_PRORES_KS_ENCODER
86 86
     dsp->fdct                 = prores_fdct_c;
87 87
     dsp->dct_permutation_type = FF_NO_IDCT_PERM;
88 88
     ff_init_scantable_permutation(dsp->dct_permutation,
... ...
@@ -597,8 +597,8 @@ static av_cold int prores_encode_close(AVCodecContext *avctx)
597 597
     return 0;
598 598
 }
599 599
 
600
-AVCodec ff_prores_anatoliy_encoder = {
601
-    .name           = "prores_anatoliy",
600
+AVCodec ff_prores_aw_encoder = {
601
+    .name           = "prores_aw",
602 602
     .type           = AVMEDIA_TYPE_VIDEO,
603 603
     .id             = AV_CODEC_ID_PRORES,
604 604
     .priv_data_size = sizeof(ProresContext),
... ...
@@ -1060,8 +1060,8 @@ static const AVClass proresenc_class = {
1060 1060
     .version    = LIBAVUTIL_VERSION_INT,
1061 1061
 };
1062 1062
 
1063
-AVCodec ff_prores_kostya_encoder = {
1064
-    .name           = "prores_kostya",
1063
+AVCodec ff_prores_ks_encoder = {
1064
+    .name           = "prores_ks",
1065 1065
     .type           = AVMEDIA_TYPE_VIDEO,
1066 1066
     .id             = AV_CODEC_ID_PRORES,
1067 1067
     .priv_data_size = sizeof(ProresContext),
... ...
@@ -202,11 +202,11 @@ fate-vsynth%-mpng:               CODEC   = png
202 202
 
203 203
 FATE_VCODEC-$(call ENCDEC, MSVIDEO1, AVI) += msvideo1
204 204
 
205
-FATE_VCODEC-$(call ENCDEC, PRORES, MOV) += prores prores_kostya
205
+FATE_VCODEC-$(call ENCDEC, PRORES, MOV) += prores prores_ks
206 206
 fate-vsynth%-prores:             FMT     = mov
207 207
 
208
-fate-vsynth%-prores_kostya:      ENCOPTS = -profile hq
209
-fate-vsynth%-prores_kostya:      FMT     = mov
208
+fate-vsynth%-prores_ks:          ENCOPTS = -profile hq
209
+fate-vsynth%-prores_ks:          FMT     = mov
210 210
 
211 211
 FATE_VCODEC-$(call ENCDEC, QTRLE, MOV)  += qtrle qtrlegray
212 212
 fate-vsynth%-qtrle:              FMT     = mov
213 213
deleted file mode 100644
... ...
@@ -1,4 +0,0 @@
1
-36411e06db3f86ddedd6171a56784d6b *tests/data/fate/vsynth1-prores_kostya.mov
2
-3858911 tests/data/fate/vsynth1-prores_kostya.mov
3
-0a4153637d0cc0a88a8bcbf04cfaf8c6 *tests/data/fate/vsynth1-prores_kostya.out.rawvideo
4
-stddev:    3.17 PSNR: 38.09 MAXDIFF:   39 bytes:  7603200/  7603200
5 1
new file mode 100644
... ...
@@ -0,0 +1,4 @@
0
+2f760d0e579bbbe24a922e9cbcf3294c *tests/data/fate/vsynth1-prores_ks.mov
1
+3858911 tests/data/fate/vsynth1-prores_ks.mov
2
+0a4153637d0cc0a88a8bcbf04cfaf8c6 *tests/data/fate/vsynth1-prores_ks.out.rawvideo
3
+stddev:    3.17 PSNR: 38.09 MAXDIFF:   39 bytes:  7603200/  7603200
0 4
deleted file mode 100644
... ...
@@ -1,4 +0,0 @@
1
-7de64c634620de738c98aa22e9df927d *tests/data/fate/vsynth2-prores_kostya.mov
2
-3884596 tests/data/fate/vsynth2-prores_kostya.mov
3
-ca2f6c1162635dedfa468c90f1fdc0ef *tests/data/fate/vsynth2-prores_kostya.out.rawvideo
4
-stddev:    0.92 PSNR: 48.77 MAXDIFF:   10 bytes:  7603200/  7603200
5 1
new file mode 100644
... ...
@@ -0,0 +1,4 @@
0
+12c24e7305e131388d5beb2a980293f4 *tests/data/fate/vsynth2-prores_ks.mov
1
+3884596 tests/data/fate/vsynth2-prores_ks.mov
2
+ca2f6c1162635dedfa468c90f1fdc0ef *tests/data/fate/vsynth2-prores_ks.out.rawvideo
3
+stddev:    0.92 PSNR: 48.77 MAXDIFF:   10 bytes:  7603200/  7603200