Browse code

cosmetics: Fix ATRAC codec name spelling

Diego Biurrun authored on 2013/09/03 03:21:49
Showing 12 changed files
... ...
@@ -387,7 +387,7 @@ version 0.6:
387 387
 - LPCM support in MPEG-TS (HDMV RID as found on Blu-ray disks)
388 388
 - WMA Pro decoder
389 389
 - Core Audio Format demuxer
390
-- Atrac1 decoder
390
+- ATRAC1 decoder
391 391
 - MD STUDIO audio demuxer
392 392
 - RF64 support in WAV demuxer
393 393
 - MPEG-4 Audio Lossless Coding (ALS) decoder
... ...
@@ -515,7 +515,7 @@ version 0.5:
515 515
 - Interplay C93 demuxer and video decoder
516 516
 - Bethsoft VID demuxer and video decoder
517 517
 - CRYO APC demuxer
518
-- Atrac3 decoder
518
+- ATRAC3 decoder
519 519
 - V.Flash PTX decoder
520 520
 - RoQ muxer, RoQ audio encoder
521 521
 - Renderware TXD demuxer and decoder
... ...
@@ -721,8 +721,8 @@ following image formats are supported:
721 721
     @tab encoding supported through external library libvo-amrwbenc
722 722
 @item Apple lossless audio   @tab  X  @tab  X
723 723
     @tab QuickTime fourcc 'alac'
724
-@item Atrac 1                @tab     @tab  X
725
-@item Atrac 3                @tab     @tab  X
724
+@item ATRAC1                 @tab     @tab  X
725
+@item ATRAC3                 @tab     @tab  X
726 726
 @item Bink Audio             @tab     @tab  X
727 727
     @tab Used in Bink and Smacker files in many games.
728 728
 @item Delphine Software International CIN audio  @tab     @tab  X
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2
- * Atrac common functions
2
+ * ATRAC common functions
3 3
  * Copyright (c) 2006-2008 Maxim Poliakovski
4 4
  * Copyright (c) 2006-2008 Benjamin Larsson
5 5
  *
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2
- * Atrac common data
2
+ * ATRAC common data
3 3
  * Copyright (c) 2009 Maxim Poliakovski
4 4
  * Copyright (c) 2009 Benjamin Larsson
5 5
  *
... ...
@@ -22,7 +22,7 @@
22 22
 
23 23
 /**
24 24
  * @file
25
- * Atrac common header
25
+ * ATRAC common header
26 26
  */
27 27
 
28 28
 #ifndef AVCODEC_ATRAC_H
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2
- * Atrac 1 compatible decoder
2
+ * ATRAC1 compatible decoder
3 3
  * Copyright (c) 2009 Maxim Poliakovski
4 4
  * Copyright (c) 2009 Benjamin Larsson
5 5
  *
... ...
@@ -22,7 +22,7 @@
22 22
 
23 23
 /**
24 24
  * @file
25
- * Atrac 1 compatible decoder.
25
+ * ATRAC1 compatible decoder.
26 26
  * This decoder handles raw ATRAC1 data and probably SDDS data.
27 27
  */
28 28
 
... ...
@@ -374,6 +374,7 @@ static av_cold int atrac1_decode_init(AVCodecContext *avctx)
374 374
 
375 375
 AVCodec ff_atrac1_decoder = {
376 376
     .name           = "atrac1",
377
+    .long_name      = NULL_IF_CONFIG_SMALL("ATRAC1 (Adaptive TRansform Acoustic Coding)"),
377 378
     .type           = AVMEDIA_TYPE_AUDIO,
378 379
     .id             = AV_CODEC_ID_ATRAC1,
379 380
     .priv_data_size = sizeof(AT1Ctx),
... ...
@@ -381,7 +382,6 @@ AVCodec ff_atrac1_decoder = {
381 381
     .close          = atrac1_decode_end,
382 382
     .decode         = atrac1_decode_frame,
383 383
     .capabilities   = CODEC_CAP_DR1,
384
-    .long_name      = NULL_IF_CONFIG_SMALL("Atrac 1 (Adaptive TRansform Acoustic Coding)"),
385 384
     .sample_fmts    = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
386 385
                                                       AV_SAMPLE_FMT_NONE },
387 386
 };
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2
- * Atrac 1 compatible decoder data
2
+ * ATRAC 1 compatible decoder data
3 3
  * Copyright (c) 2009 Maxim Poliakovski
4 4
  * Copyright (c) 2009 Benjamin Larsson
5 5
  *
... ...
@@ -22,7 +22,7 @@
22 22
 
23 23
 /**
24 24
  * @file
25
- * Atrac 1 compatible decoder data
25
+ * ATRAC1 compatible decoder data
26 26
  */
27 27
 
28 28
 #ifndef AVCODEC_ATRAC1DATA_H
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2
- * Atrac 3 compatible decoder
2
+ * ATRAC3 compatible decoder
3 3
  * Copyright (c) 2006-2008 Maxim Poliakovski
4 4
  * Copyright (c) 2006-2008 Benjamin Larsson
5 5
  *
... ...
@@ -22,10 +22,10 @@
22 22
 
23 23
 /**
24 24
  * @file
25
- * Atrac 3 compatible decoder.
25
+ * ATRAC3 compatible decoder.
26 26
  * This decoder handles Sony's ATRAC3 data.
27 27
  *
28
- * Container formats used to store atrac 3 data:
28
+ * Container formats used to store ATRAC3 data:
29 29
  * RealMedia (.rm), RIFF WAV (.wav, .at3), Sony OpenMG (.oma, .aa3).
30 30
  *
31 31
  * To use this decoder, a calling application must supply the extradata
... ...
@@ -996,6 +996,7 @@ static av_cold int atrac3_decode_init(AVCodecContext *avctx)
996 996
 
997 997
 AVCodec ff_atrac3_decoder = {
998 998
     .name             = "atrac3",
999
+    .long_name        = NULL_IF_CONFIG_SMALL("ATRAC3 (Adaptive TRansform Acoustic Coding 3)"),
999 1000
     .type             = AVMEDIA_TYPE_AUDIO,
1000 1001
     .id               = AV_CODEC_ID_ATRAC3,
1001 1002
     .priv_data_size   = sizeof(ATRAC3Context),
... ...
@@ -1004,7 +1005,6 @@ AVCodec ff_atrac3_decoder = {
1004 1004
     .close            = atrac3_decode_close,
1005 1005
     .decode           = atrac3_decode_frame,
1006 1006
     .capabilities     = CODEC_CAP_SUBFRAMES | CODEC_CAP_DR1,
1007
-    .long_name        = NULL_IF_CONFIG_SMALL("Atrac 3 (Adaptive TRansform Acoustic Coding 3)"),
1008 1007
     .sample_fmts      = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP,
1009 1008
                                                         AV_SAMPLE_FMT_NONE },
1010 1009
 };
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2
- * Atrac 3 compatible decoder data
2
+ * ATRAC3 compatible decoder data
3 3
  * Copyright (c) 2006-2007 Maxim Poliakovski
4 4
  * Copyright (c) 2006-2007 Benjamin Larsson
5 5
  *
... ...
@@ -22,7 +22,7 @@
22 22
 
23 23
 /**
24 24
  * @file
25
- * Atrac 3 AKA RealAudio 8 compatible decoder data
25
+ * ATRAC3 AKA RealAudio 8 compatible decoder data
26 26
  */
27 27
 
28 28
 #ifndef AVCODEC_ATRAC3DATA_H
... ...
@@ -1920,7 +1920,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
1920 1920
         .id        = AV_CODEC_ID_ATRAC3,
1921 1921
         .type      = AVMEDIA_TYPE_AUDIO,
1922 1922
         .name      = "atrac3",
1923
-        .long_name = NULL_IF_CONFIG_SMALL("Atrac 3 (Adaptive TRansform Acoustic Coding 3)"),
1923
+        .long_name = NULL_IF_CONFIG_SMALL("ATRAC3 (Adaptive TRansform Acoustic Coding 3)"),
1924 1924
         .props     = AV_CODEC_PROP_LOSSY,
1925 1925
     },
1926 1926
 #if FF_API_VOXWARE
... ...
@@ -1985,7 +1985,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
1985 1985
         .id        = AV_CODEC_ID_ATRAC3P,
1986 1986
         .type      = AVMEDIA_TYPE_AUDIO,
1987 1987
         .name      = "atrac3p",
1988
-        .long_name = NULL_IF_CONFIG_SMALL("Sony ATRAC3+"),
1988
+        .long_name = NULL_IF_CONFIG_SMALL("ATRAC3+ (Adaptive TRansform Acoustic Coding 3+)"),
1989 1989
         .props     = AV_CODEC_PROP_LOSSY,
1990 1990
     },
1991 1991
     {
... ...
@@ -2034,7 +2034,7 @@ static const AVCodecDescriptor codec_descriptors[] = {
2034 2034
         .id        = AV_CODEC_ID_ATRAC1,
2035 2035
         .type      = AVMEDIA_TYPE_AUDIO,
2036 2036
         .name      = "atrac1",
2037
-        .long_name = NULL_IF_CONFIG_SMALL("Atrac 1 (Adaptive TRansform Acoustic Coding)"),
2037
+        .long_name = NULL_IF_CONFIG_SMALL("ATRAC1 (Adaptive TRansform Acoustic Coding)"),
2038 2038
         .props     = AV_CODEC_PROP_LOSSY,
2039 2039
     },
2040 2040
     {
... ...
@@ -342,7 +342,7 @@ static int oma_read_header(AVFormatContext *s)
342 342
         st->codec->sample_rate = samplerate;
343 343
         st->codec->bit_rate    = st->codec->sample_rate * framesize * 8 / 1024;
344 344
 
345
-        /* fake the atrac3 extradata
345
+        /* fake the ATRAC3 extradata
346 346
          * (wav format, makes stream copy to wav work) */
347 347
         st->codec->extradata_size = 14;
348 348
         edata = av_mallocz(14 + FF_INPUT_BUFFER_PADDING_SIZE);
... ...
@@ -29,7 +29,7 @@
29 29
 #include "rmsipr.h"
30 30
 #include "rm.h"
31 31
 
32
-#define DEINT_ID_GENR MKTAG('g', 'e', 'n', 'r') ///< interleaving for Cooker/Atrac
32
+#define DEINT_ID_GENR MKTAG('g', 'e', 'n', 'r') ///< interleaving for Cooker/ATRAC
33 33
 #define DEINT_ID_INT0 MKTAG('I', 'n', 't', '0') ///< no interleaving needed
34 34
 #define DEINT_ID_INT4 MKTAG('I', 'n', 't', '4') ///< interleaving for 28.8
35 35
 #define DEINT_ID_SIPR MKTAG('s', 'i', 'p', 'r') ///< interleaving for Sipro
... ...
@@ -40,9 +40,9 @@ enum IEC61937DataType {
40 40
     IEC61937_DTS1               = 0x0B,          ///< DTS type I   (512 samples)
41 41
     IEC61937_DTS2               = 0x0C,          ///< DTS type II  (1024 samples)
42 42
     IEC61937_DTS3               = 0x0D,          ///< DTS type III (2048 samples)
43
-    IEC61937_ATRAC              = 0x0E,          ///< Atrac data
44
-    IEC61937_ATRAC3             = 0x0F,          ///< Atrac 3 data
45
-    IEC61937_ATRACX             = 0x10,          ///< Atrac 3 plus data
43
+    IEC61937_ATRAC              = 0x0E,          ///< ATRAC data
44
+    IEC61937_ATRAC3             = 0x0F,          ///< ATRAC3 data
45
+    IEC61937_ATRACX             = 0x10,          ///< ATRAC3+ data
46 46
     IEC61937_DTSHD              = 0x11,          ///< DTS HD data
47 47
     IEC61937_WMAPRO             = 0x12,          ///< WMA 9 Professional data
48 48
     IEC61937_MPEG2_AAC_LSF_2048 = 0x13,          ///< MPEG-2 AAC ADTS half-rate low sampling frequency