提交 eafcac6a 编写于 作者: D Diego Biurrun

cosmetics: Fix another common typo, dependAnt --> dependEnt.

Originally committed as revision 8114 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 bae79c04
...@@ -31,7 +31,7 @@ intreadwrite.h reading and writing of unaligned big/little/native-endia ...@@ -31,7 +31,7 @@ intreadwrite.h reading and writing of unaligned big/little/native-endia
Goals: Goals:
====== ======
* Modular (few interdependancies and the possibility of disabling individual parts during ./configure) * Modular (few interdependencies and the possibility of disabling individual parts during ./configure)
* Small (source and object) * Small (source and object)
* Efficient (low CPU and memory usage) * Efficient (low CPU and memory usage)
* Useful (avoid useless features almost noone needs) * Useful (avoid useless features almost noone needs)
...@@ -383,7 +383,7 @@ typedef struct RcOverride{ ...@@ -383,7 +383,7 @@ typedef struct RcOverride{
/* Unsupported options : /* Unsupported options :
* Syntax Arithmetic coding (SAC) * Syntax Arithmetic coding (SAC)
* Reference Picture Selection * Reference Picture Selection
* Independant Segment Decoding */ * Independent Segment Decoding */
/* /Fx */ /* /Fx */
/* codec capabilities */ /* codec capabilities */
...@@ -1705,14 +1705,14 @@ typedef struct AVCodecContext { ...@@ -1705,14 +1705,14 @@ typedef struct AVCodecContext {
/** /**
* Thread count. * Thread count.
* is used to decide how many independant tasks should be passed to execute() * is used to decide how many independent tasks should be passed to execute()
* - encoding: set by user * - encoding: set by user
* - decoding: set by user * - decoding: set by user
*/ */
int thread_count; int thread_count;
/** /**
* the codec may call this to execute several independant things. it will return only after * the codec may call this to execute several independent things. it will return only after
* finishing all tasks, the user may replace this with some multithreaded implementation, the * finishing all tasks, the user may replace this with some multithreaded implementation, the
* default implementation will execute the parts serially * default implementation will execute the parts serially
* @param count the number of things to execute * @param count the number of things to execute
......
...@@ -2519,7 +2519,7 @@ void mpeg4_encode_picture_header(MpegEncContext * s, int picture_number) ...@@ -2519,7 +2519,7 @@ void mpeg4_encode_picture_header(MpegEncContext * s, int picture_number)
#endif //CONFIG_ENCODERS #endif //CONFIG_ENCODERS
/** /**
* set qscale and update qscale dependant variables. * set qscale and update qscale dependent variables.
*/ */
void ff_set_qscale(MpegEncContext * s, int qscale) void ff_set_qscale(MpegEncContext * s, int qscale)
{ {
......
...@@ -901,7 +901,7 @@ typedef struct MJpegDecodeContext { ...@@ -901,7 +901,7 @@ typedef struct MJpegDecodeContext {
int cur_scan; /* current scan, used by JPEG-LS */ int cur_scan; /* current scan, used by JPEG-LS */
} MJpegDecodeContext; } MJpegDecodeContext;
#include "jpeg_ls.c" //FIXME make jpeg-ls more independant #include "jpeg_ls.c" //FIXME make jpeg-ls more independent
static int mjpeg_decode_dht(MJpegDecodeContext *s); static int mjpeg_decode_dht(MJpegDecodeContext *s);
......
...@@ -751,7 +751,7 @@ float ff_rate_estimate_qscale(MpegEncContext *s, int dry_run) ...@@ -751,7 +751,7 @@ float ff_rate_estimate_qscale(MpegEncContext *s, int dry_run)
//printf("%f ", q); //printf("%f ", q);
assert(q>0.0); assert(q>0.0);
if(pict_type==P_TYPE || s->intra_only){ //FIXME type dependant blur like in 2-pass if(pict_type==P_TYPE || s->intra_only){ //FIXME type dependent blur like in 2-pass
rcc->short_term_qsum*=a->qblur; rcc->short_term_qsum*=a->qblur;
rcc->short_term_qcount*=a->qblur; rcc->short_term_qcount*=a->qblur;
...@@ -811,7 +811,7 @@ static int init_pass2(MpegEncContext *s) ...@@ -811,7 +811,7 @@ static int init_pass2(MpegEncContext *s)
int i, toobig; int i, toobig;
double fps= 1/av_q2d(s->avctx->time_base); double fps= 1/av_q2d(s->avctx->time_base);
double complexity[5]={0,0,0,0,0}; // aproximate bits at quant=1 double complexity[5]={0,0,0,0,0}; // aproximate bits at quant=1
uint64_t const_bits[5]={0,0,0,0,0}; // quantizer idependant bits uint64_t const_bits[5]={0,0,0,0,0}; // quantizer independent bits
uint64_t all_const_bits; uint64_t all_const_bits;
uint64_t all_available_bits= (uint64_t)(s->bit_rate*(double)rcc->num_entries/fps); uint64_t all_available_bits= (uint64_t)(s->bit_rate*(double)rcc->num_entries/fps);
double rate_factor=0; double rate_factor=0;
......
...@@ -422,7 +422,7 @@ typedef struct Plane{ ...@@ -422,7 +422,7 @@ typedef struct Plane{
}Plane; }Plane;
typedef struct SnowContext{ typedef struct SnowContext{
// MpegEncContext m; // needed for motion estimation, should not be used for anything else, the idea is to make the motion estimation eventually independant of MpegEncContext, so this will be removed then (FIXME/XXX) // MpegEncContext m; // needed for motion estimation, should not be used for anything else, the idea is to make the motion estimation eventually independent of MpegEncContext, so this will be removed then (FIXME/XXX)
AVCodecContext *avctx; AVCodecContext *avctx;
RangeCoder c; RangeCoder c;
...@@ -473,7 +473,7 @@ typedef struct SnowContext{ ...@@ -473,7 +473,7 @@ typedef struct SnowContext{
int me_cache_generation; int me_cache_generation;
slice_buffer sb; slice_buffer sb;
MpegEncContext m; // needed for motion estimation, should not be used for anything else, the idea is to make the motion estimation eventually independant of MpegEncContext, so this will be removed then (FIXME/XXX) MpegEncContext m; // needed for motion estimation, should not be used for anything else, the idea is to make the motion estimation eventually independent of MpegEncContext, so this will be removed then (FIXME/XXX)
}SnowContext; }SnowContext;
typedef struct { typedef struct {
......
...@@ -65,7 +65,7 @@ static VLC svq1_inter_mean; ...@@ -65,7 +65,7 @@ static VLC svq1_inter_mean;
#define SVQ1_BLOCK_INTRA 3 #define SVQ1_BLOCK_INTRA 3
typedef struct SVQ1Context { typedef struct SVQ1Context {
MpegEncContext m; // needed for motion estimation, should not be used for anything else, the idea is to make the motion estimation eventually independant of MpegEncContext, so this will be removed then (FIXME/XXX) MpegEncContext m; // needed for motion estimation, should not be used for anything else, the idea is to make the motion estimation eventually independent of MpegEncContext, so this will be removed then (FIXME/XXX)
AVCodecContext *avctx; AVCodecContext *avctx;
DSPContext dsp; DSPContext dsp;
AVFrame picture; AVFrame picture;
......
...@@ -108,7 +108,7 @@ int ff_wma_init(AVCodecContext * avctx, int flags2) ...@@ -108,7 +108,7 @@ int ff_wma_init(AVCodecContext * avctx, int flags2)
s->nb_block_sizes = 1; s->nb_block_sizes = 1;
} }
/* init rate dependant parameters */ /* init rate dependent parameters */
s->use_noise_coding = 1; s->use_noise_coding = 1;
high_freq = s->sample_rate * 0.5; high_freq = s->sample_rate * 0.5;
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "common.h" #include "common.h"
/* here we can use OS dependant allocation functions */ /* here we can use OS dependent allocation functions */
#undef malloc #undef malloc
#undef free #undef free
#undef realloc #undef realloc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册