Browse code

10l, commit that should have been stashed into the merge. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2011/04/18 06:57:50
Showing 31 changed files
... ...
@@ -15,7 +15,7 @@ be properly added to the respective issue.
15 15
 The subscription URL for the ffmpeg-issues list is:
16 16
 http://live.polito/mailman/listinfo/ffmpeg-issues
17 17
 The URL of the webinterface of the tracker is:
18
-http(s)://roundup.libav.org/
18
+http(s)://roundup.ffmpeg/roundup/ffmpeg/
19 19
 Note the URLs in this document are obfuscated, you must append the top level
20 20
 domain for non-profit organizations to the tracker, and of Italy to the
21 21
 mailing list.
... ...
@@ -187,7 +187,7 @@ feature_request/closed/wont_implement
187 187
     be legal, philosophical or others.
188 188
 
189 189
 Note, please do not use type-status-substatus combinations other than the
190
-above without asking on libav-devel first!
190
+above without asking on ffmpeg-dev first!
191 191
 
192 192
 Note2, if you provide the requested info do not forget to remove the
193 193
 needs_more_info substate.
... ...
@@ -173,7 +173,7 @@ Set the first PID for data packets (default 0x0100, max 0x0f00).
173 173
 
174 174
 The recognized metadata settings in mpegts muxer are @code{service_provider}
175 175
 and @code{service_name}. If they are not set the default for
176
-@code{service_provider} is "Libav" and the default for
176
+@code{service_provider} is "FFmpeg" and the default for
177 177
 @code{service_name} is "Service01".
178 178
 
179 179
 @example
... ...
@@ -2844,7 +2844,7 @@ int ff_check_alignment(void){
2844 2844
                 "Compiler did not align stack variables. Libavcodec has been miscompiled\n"
2845 2845
                 "and may be very slow or crash. This is not a bug in libavcodec,\n"
2846 2846
                 "but in the compiler. You may try recompiling using gcc >= 4.2.\n"
2847
-                "Do not report crashes to Libav developers.\n");
2847
+                "Do not report crashes to FFmpeg developers.\n");
2848 2848
 #endif
2849 2849
             did_fail=1;
2850 2850
         }
... ...
@@ -787,7 +787,7 @@ static av_always_inline int dv_init_enc_block(EncBlockInfo* bi, uint8_t *data, i
787 787
        method suggested in SMPTE 314M Table 22, and an improved
788 788
        method. The SMPTE method is very conservative; it assigns class
789 789
        3 (i.e. severe quantization) to any block where the largest AC
790
-       component is greater than 36. Libav's DV encoder tracks AC bit
790
+       component is greater than 36. FFmpeg's DV encoder tracks AC bit
791 791
        consumption precisely, so there is no need to bias most blocks
792 792
        towards strongly lossy compression. Instead, we assign class 2
793 793
        to most blocks, and use class 3 only when strictly necessary
... ...
@@ -795,7 +795,7 @@ static av_always_inline int dv_init_enc_block(EncBlockInfo* bi, uint8_t *data, i
795 795
 
796 796
 #if 0 /* SMPTE spec method */
797 797
     static const int classes[] = {12, 24, 36, 0xffff};
798
-#else /* improved Libav method */
798
+#else /* improved FFmpeg method */
799 799
     static const int classes[] = {-1, -1, 255, 0xffff};
800 800
 #endif
801 801
     int max  = classes[0];
... ...
@@ -60,7 +60,7 @@ struct dxva_context {
60 60
     uint64_t workaround;
61 61
 
62 62
     /**
63
-     * Private to the Libav AVHWAccel implementation
63
+     * Private to the FFmpeg AVHWAccel implementation
64 64
      */
65 65
     unsigned report_id;
66 66
 };
... ...
@@ -95,7 +95,7 @@ static void fill_picture_parameters(struct dxva_context *ctx, const H264Context
95 95
     pp->wBitFields                    = ((s->picture_structure != PICT_FRAME) <<  0) |
96 96
                                         (h->sps.mb_aff                        <<  1) |
97 97
                                         (h->sps.residual_color_transform_flag <<  2) |
98
-                                        /* sp_for_switch_flag (not implemented by Libav) */
98
+                                        /* sp_for_switch_flag (not implemented by FFmpeg) */
99 99
                                         (0                                    <<  3) |
100 100
                                         (h->sps.chroma_format_idc             <<  4) |
101 101
                                         ((h->nal_ref_idc != 0)                <<  6) |
... ...
@@ -146,8 +146,8 @@ static void fill_picture_parameters(struct dxva_context *ctx, const H264Context
146 146
     pp->deblocking_filter_control_present_flag = h->pps.deblocking_filter_parameters_present;
147 147
     pp->redundant_pic_cnt_present_flag= h->pps.redundant_pic_cnt_present;
148 148
     pp->Reserved8BitsB                = 0;
149
-    pp->slice_group_change_rate_minus1= 0;  /* XXX not implemented by Libav */
150
-    //pp->SliceGroupMap[810];               /* XXX not implemented by Libav */
149
+    pp->slice_group_change_rate_minus1= 0;  /* XXX not implemented by FFmpeg */
150
+    //pp->SliceGroupMap[810];               /* XXX not implemented by FFmpeg */
151 151
 }
152 152
 
153 153
 static void fill_scaling_lists(const H264Context *h, DXVA_Qmatrix_H264 *qm)
... ...
@@ -243,7 +243,7 @@ static void fill_slice_long(AVCodecContext *avctx, DXVA_Slice_H264_Long *slice,
243 243
             }
244 244
         }
245 245
     }
246
-    slice->slice_qs_delta    = 0; /* XXX not implemented by Libav */
246
+    slice->slice_qs_delta    = 0; /* XXX not implemented by FFmpeg */
247 247
     slice->slice_qp_delta    = s->qscale - h->pps.init_qp;
248 248
     slice->redundant_pic_cnt = h->redundant_pic_count;
249 249
     if (h->slice_type == FF_B_TYPE)
... ...
@@ -40,7 +40,7 @@
40 40
 * (or test broken JPEG-LS decoder) and slow down ordinary decoding a bit.
41 41
 *
42 42
 * There is no Golomb code with length >= 32 bits possible, so check and
43
-* avoid situation of 32 zeros, Libav Golomb decoder is painfully slow
43
+* avoid situation of 32 zeros, FFmpeg Golomb decoder is painfully slow
44 44
 * on this errors.
45 45
 */
46 46
 //#define JLS_BROKEN
... ...
@@ -30,7 +30,7 @@
30 30
 #include <libdirac_common/dirac_types.h>
31 31
 
32 32
 /**
33
-* Table providing a Dirac chroma format to Libav pixel format mapping.
33
+* Table providing a Dirac chroma format to FFmpeg pixel format mapping.
34 34
 */
35 35
 static const struct {
36 36
     enum PixelFormat ff_pix_fmt;
... ...
@@ -47,7 +47,7 @@ typedef struct FfmpegDiracDecoderParams {
47 47
 
48 48
 
49 49
 /**
50
-* returns Libav chroma format
50
+* returns FFmpeg chroma format
51 51
 */
52 52
 static enum PixelFormat GetFfmpegChromaFormat(dirac_chroma_t dirac_pix_fmt)
53 53
 {
... ...
@@ -103,7 +103,7 @@ static int libdirac_decode_frame(AVCodecContext *avccontext,
103 103
 
104 104
         case STATE_SEQUENCE:
105 105
         {
106
-            /* tell Libav about sequence details */
106
+            /* tell FFmpeg about sequence details */
107 107
             dirac_sourceparams_t *src_params = &p_dirac_params->p_decoder->src_params;
108 108
 
109 109
             if (av_image_check_size(src_params->width, src_params->height,
... ...
@@ -118,7 +118,7 @@ static SchroBuffer* FfmpegFindNextSchroParseUnit(FfmpegSchroParseUnitContext *pa
118 118
 }
119 119
 
120 120
 /**
121
-* Returns Libav chroma format.
121
+* Returns FFmpeg chroma format.
122 122
 */
123 123
 static enum PixelFormat GetFfmpegChromaFormat(SchroChromaFormat schro_pix_fmt)
124 124
 {
... ...
@@ -169,7 +169,7 @@ static void libschroedinger_handle_first_access_unit(AVCodecContext *avccontext)
169 169
 
170 170
     p_schro_params->format = schro_decoder_get_video_format(decoder);
171 171
 
172
-    /* Tell Libav about sequence details. */
172
+    /* Tell FFmpeg about sequence details. */
173 173
     if (av_image_check_size(p_schro_params->format->width, p_schro_params->format->height,
174 174
                             0, avccontext) < 0) {
175 175
         av_log(avccontext, AV_LOG_ERROR, "invalid dimensions (%dx%d)\n",
... ...
@@ -30,7 +30,7 @@
30 30
  * and o_ prefixes on variables which are libogg types.
31 31
  */
32 32
 
33
-/* Libav includes */
33
+/* FFmpeg includes */
34 34
 #include "libavutil/intreadwrite.h"
35 35
 #include "libavutil/log.h"
36 36
 #include "libavutil/base64.h"
... ...
@@ -209,7 +209,7 @@ static int vlc_decode_block(MimicContext *ctx, int num_coeffs, int qscale)
209 209
 
210 210
         value = get_bits(&ctx->gb, num_bits);
211 211
 
212
-        /* Libav's IDCT behaves somewhat different from the original code, so
212
+        /* FFmpeg's IDCT behaves somewhat different from the original code, so
213 213
          * a factor of 4 was added to the input */
214 214
 
215 215
         coeff = vlcdec_lookup[num_bits][value];
... ...
@@ -64,7 +64,7 @@ typedef struct TM2Context{
64 64
 * Huffman codes for each of streams
65 65
 */
66 66
 typedef struct TM2Codes{
67
-    VLC vlc; ///< table for Libav bitstream reader
67
+    VLC vlc; ///< table for FFmpeg bitstream reader
68 68
     int bits;
69 69
     int *recode; ///< table for converting from code indexes to values
70 70
     int length;
... ...
@@ -1247,7 +1247,7 @@ int ff_match_2uint16(const uint16_t (*tab)[2], int size, int a, int b){
1247 1247
 
1248 1248
 void av_log_missing_feature(void *avc, const char *feature, int want_sample)
1249 1249
 {
1250
-    av_log(avc, AV_LOG_WARNING, "%s not implemented. Update your Libav "
1250
+    av_log(avc, AV_LOG_WARNING, "%s not implemented. Update your FFmpeg "
1251 1251
             "version to the newest one from Git. If the problem still "
1252 1252
             "occurs, it means that your file has a feature which has not "
1253 1253
             "been implemented.", feature);
... ...
@@ -258,7 +258,7 @@ static int start_frame(AVCodecContext          *avctx,
258 258
     pic_param->seq_fields.bits.delta_pic_order_always_zero_flag = h->sps.delta_pic_order_always_zero_flag;
259 259
     pic_param->num_slice_groups_minus1                          = h->pps.slice_group_count - 1;
260 260
     pic_param->slice_group_map_type                             = h->pps.mb_slice_group_map_type;
261
-    pic_param->slice_group_change_rate_minus1                   = 0; /* XXX: unimplemented in Libav */
261
+    pic_param->slice_group_change_rate_minus1                   = 0; /* XXX: unimplemented in FFmpeg */
262 262
     pic_param->pic_init_qp_minus26                              = h->pps.init_qp - 26;
263 263
     pic_param->pic_init_qs_minus26                              = h->pps.init_qs - 26;
264 264
     pic_param->chroma_qp_index_offset                           = h->pps.chroma_qp_index_offset[0];
... ...
@@ -129,7 +129,7 @@ static int vaapi_mpeg4_decode_slice(AVCodecContext *avctx, const uint8_t *buffer
129 129
 
130 130
     /* video_plane_with_short_video_header() contains all GOBs
131 131
      * in-order, and this is what VA API (Intel backend) expects: only
132
-     * a single slice param. So fake macroblock_number for Libav so
132
+     * a single slice param. So fake macroblock_number for FFmpeg so
133 133
      * that we don't call vaapi_mpeg4_decode_slice() again
134 134
      */
135 135
     if (avctx->codec->id == CODEC_ID_H263)
... ...
@@ -24,7 +24,7 @@
24 24
 #include "vc1.h"
25 25
 #include "vc1data.h"
26 26
 
27
-/** Translate Libav MV modes to VA API */
27
+/** Translate FFmpeg MV modes to VA API */
28 28
 static int get_VAMvModeVC1(enum MVModes mv_mode)
29 29
 {
30 30
     switch (mv_mode) {
... ...
@@ -116,7 +116,7 @@ static inline VAMvModeVC1 vc1_get_MVMODE2(VC1Context *v)
116 116
     return 0;
117 117
 }
118 118
 
119
-/** Pack Libav bitplanes into a VABitPlaneBuffer element */
119
+/** Pack FFmpeg bitplanes into a VABitPlaneBuffer element */
120 120
 static inline void vc1_pack_bitplanes(uint8_t *bitplane, int n, const uint8_t *ff_bp[3], int x, int y, int stride)
121 121
 {
122 122
     const int bitplane_index = n / 2;
... ...
@@ -1,19 +1,19 @@
1 1
 /*
2 2
  *
3
- * This file is part of Libav.
3
+ * This file is part of FFmpeg.
4 4
  *
5
- * Libav is free software; you can redistribute it and/or
5
+ * FFmpeg is free software; you can redistribute it and/or
6 6
  * modify it under the terms of the GNU Lesser General Public
7 7
  * License as published by the Free Software Foundation; either
8 8
  * version 2.1 of the License, or (at your option) any later version.
9 9
  *
10
- * Libav is distributed in the hope that it will be useful,
10
+ * FFmpeg is distributed in the hope that it will be useful,
11 11
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 12
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 13
  * Lesser General Public License for more details.
14 14
  *
15 15
  * You should have received a copy of the GNU Lesser General Public
16
- * License along with Libav; if not, write to the Free Software
16
+ * License along with FFmpeg; if not, write to the Free Software
17 17
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 18
  */
19 19
 
... ...
@@ -957,7 +957,7 @@ static av_cold int vorbis_encode_init(AVCodecContext *avccontext)
957 957
     vorbis_enc_context *venc = avccontext->priv_data;
958 958
 
959 959
     if (avccontext->channels != 2) {
960
-        av_log(avccontext, AV_LOG_ERROR, "Current Libav Vorbis encoder only supports 2 channels.\n");
960
+        av_log(avccontext, AV_LOG_ERROR, "Current FFmpeg Vorbis encoder only supports 2 channels.\n");
961 961
         return -1;
962 962
     }
963 963
 
... ...
@@ -1912,7 +1912,7 @@ static int wmavoice_decode_packet(AVCodecContext *ctx, void *data,
1912 1912
     *data_size = 0;
1913 1913
 
1914 1914
     /* Packets are sometimes a multiple of ctx->block_align, with a packet
1915
-     * header at each ctx->block_align bytes. However, Libav's ASF demuxer
1915
+     * header at each ctx->block_align bytes. However, FFmpeg's ASF demuxer
1916 1916
      * feeds us ASF packets, which may concatenate multiple "codec" packets
1917 1917
      * in a single "muxer" packet, so we artificially emulate that by
1918 1918
      * capping the packet size at ctx->block_align. */
... ...
@@ -2,20 +2,20 @@
2 2
  * Copyright (c) 2010 Brandon Mintern
3 3
  * Copyright (c) 2007 Bobby Bingham
4 4
  *
5
- * This file is part of Libav.
5
+ * This file is part of FFmpeg.
6 6
  *
7
- * Libav is free software; you can redistribute it and/or
7
+ * FFmpeg is free software; you can redistribute it and/or
8 8
  * modify it under the terms of the GNU Lesser General Public
9 9
  * License as published by the Free Software Foundation; either
10 10
  * version 2.1 of the License, or (at your option) any later version.
11 11
  *
12
- * Libav is distributed in the hope that it will be useful,
12
+ * FFmpeg is distributed in the hope that it will be useful,
13 13
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 14
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 15
  * Lesser General Public License for more details.
16 16
  *
17 17
  * You should have received a copy of the GNU Lesser General Public
18
- * License along with Libav; if not, write to the Free Software
18
+ * License along with FFmpeg; if not, write to the Free Software
19 19
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
  */
21 21
 
... ...
@@ -750,7 +750,7 @@ typedef struct AVFormatContext {
750 750
     /**
751 751
      * Decoding: total stream bitrate in bit/s, 0 if not
752 752
      * available. Never set it directly if the file_size and the
753
-     * duration are known as Libav can compute it automatically.
753
+     * duration are known as FFmpeg can compute it automatically.
754 754
      */
755 755
     int bit_rate;
756 756
 
... ...
@@ -588,7 +588,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
588 588
 
589 589
                     /* Extract palette from extradata if bpp <= 8. */
590 590
                     /* This code assumes that extradata contains only palette. */
591
-                    /* This is true for all paletted codecs implemented in Libav. */
591
+                    /* This is true for all paletted codecs implemented in FFmpeg. */
592 592
                     if (st->codec->extradata_size && (st->codec->bits_per_coded_sample <= 8)) {
593 593
 #if HAVE_BIGENDIAN
594 594
                         for (i = 0; i < FFMIN(st->codec->extradata_size, AVPALETTE_SIZE)/4; i++)
... ...
@@ -181,7 +181,7 @@ static int mpegts_write_section1(MpegTSSection *s, int tid, int id,
181 181
 /*********************************************/
182 182
 /* mpegts writer */
183 183
 
184
-#define DEFAULT_PROVIDER_NAME   "Libav"
184
+#define DEFAULT_PROVIDER_NAME   "FFmpeg"
185 185
 #define DEFAULT_SERVICE_NAME    "Service01"
186 186
 
187 187
 /* a PES packet header is generated every DEFAULT_PES_HEADER_FREQ packets */
... ...
@@ -499,7 +499,7 @@ static void mxf_write_identification(AVFormatContext *s)
499 499
 {
500 500
     MXFContext *mxf = s->priv_data;
501 501
     AVIOContext *pb = s->pb;
502
-    const char *company = "Libav";
502
+    const char *company = "FFmpeg";
503 503
     const char *product = "OP1a Muxer";
504 504
     const char *version;
505 505
     int length;
... ...
@@ -59,7 +59,7 @@ static int speex_header(AVFormatContext *s, int idx) {
59 59
         st->codec->channels = AV_RL32(p + 48);
60 60
 
61 61
         /* We treat the whole Speex packet as a single frame everywhere Speex
62
-           is handled in Libav.  This avoids the complexities of splitting
62
+           is handled in FFmpeg.  This avoids the complexities of splitting
63 63
            and joining individual Speex frames, which are not always
64 64
            byte-aligned. */
65 65
         st->codec->frame_size = AV_RL32(p + 56);
... ...
@@ -28,7 +28,7 @@ int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
28 28
     case AVERROR_EOF:               errstr = "End of file"; break;
29 29
     case AVERROR_INVALIDDATA:       errstr = "Invalid data found when processing input"; break;
30 30
     case AVERROR_NUMEXPECTED:       errstr = "Number syntax expected in filename"; break;
31
-    case AVERROR_PATCHWELCOME:      errstr = "Not yet implemented in Libav, patches welcome"; break;
31
+    case AVERROR_PATCHWELCOME:      errstr = "Not yet implemented in FFmpeg, patches welcome"; break;
32 32
     case AVERROR_DEMUXER_NOT_FOUND: errstr = "Demuxer not found"; break;
33 33
     case AVERROR_MUXER_NOT_FOUND:   errstr = "Muxer not found"; break;
34 34
     case AVERROR_DECODER_NOT_FOUND: errstr = "Decoder not found"; break;
... ...
@@ -50,7 +50,7 @@
50 50
 
51 51
 #define AVERROR_EOF         AVERROR(EPIPE)   ///< End of file
52 52
 
53
-#define AVERROR_PATCHWELCOME    (-MKTAG('P','A','W','E')) ///< Not yet implemented in Libav, patches welcome
53
+#define AVERROR_PATCHWELCOME    (-MKTAG('P','A','W','E')) ///< Not yet implemented in FFmpeg, patches welcome
54 54
 
55 55
 #if LIBAVUTIL_VERSION_MAJOR > 50
56 56
 #define AVERROR_INVALIDDATA     (-MKTAG('I','N','D','A')) ///< Invalid data found when processing input
... ...
@@ -1,6 +1,6 @@
1
-6e9bd63c5cadd7550ad313553ebf665f *./tests/data/lavf/lavf.mxf
1
+785e38ddd2466046f30aa36399b8f8fa *./tests/data/lavf/lavf.mxf
2 2
 525881 ./tests/data/lavf/lavf.mxf
3 3
 ./tests/data/lavf/lavf.mxf CRC=0x4ace0849
4
-e7168856f2b54c6272685967e707fb21 *./tests/data/lavf/lavf.mxf_d10
4
+b3174e2db508564c1cce0b5e3c1bc1bd *./tests/data/lavf/lavf.mxf_d10
5 5
 5330989 ./tests/data/lavf/lavf.mxf_d10
6 6
 ./tests/data/lavf/lavf.mxf_d10 CRC=0xc3f4f92e
... ...
@@ -1,3 +1,3 @@
1
-1cebaf8b13700a3360e0c32551e36646 *./tests/data/lavf/lavf.ts
1
+e8d609b8a5b5854a4485718434b287f7 *./tests/data/lavf/lavf.ts
2 2
 406644 ./tests/data/lavf/lavf.ts
3 3
 ./tests/data/lavf/lavf.ts CRC=0x133216c1
... ...
@@ -16,7 +16,7 @@ echo patCHeck 1e10.0
16 16
 echo This tool is intended to help a human check/review patches it is very far from
17 17
 echo being free of false positives and negatives, its output are just hints of what
18 18
 echo may or may not be bad. When you use it and it misses something or detects
19
-echo something wrong, fix it and send a patch to the libav-devel mailing list.
19
+echo something wrong, fix it and send a patch to the ffmpeg-dev mailing list.
20 20
 echo License:GPL Autor: Michael Niedermayer
21 21
 
22 22
 ERE_PRITYP='(unsigned *|)(char|short|long|int|long *int|short *int|void|float|double|(u|)int(8|16|32|64)_t)'