mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 13:10:37 +00:00
cosmetics: Fix another common typo, dependAnt --> dependEnt.
Originally committed as revision 8114 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bae79c048f
commit
eafcac6ac8
@ -31,7 +31,7 @@ intreadwrite.h reading and writing of unaligned big/little/native-endia
|
||||
|
||||
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)
|
||||
* Efficient (low CPU and memory usage)
|
||||
* Useful (avoid useless features almost noone needs)
|
||||
|
@ -383,7 +383,7 @@ typedef struct RcOverride{
|
||||
/* Unsupported options :
|
||||
* Syntax Arithmetic coding (SAC)
|
||||
* Reference Picture Selection
|
||||
* Independant Segment Decoding */
|
||||
* Independent Segment Decoding */
|
||||
/* /Fx */
|
||||
/* codec capabilities */
|
||||
|
||||
@ -1705,14 +1705,14 @@ typedef struct AVCodecContext {
|
||||
|
||||
/**
|
||||
* 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
|
||||
* - decoding: set by user
|
||||
*/
|
||||
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
|
||||
* default implementation will execute the parts serially
|
||||
* @param count the number of things to execute
|
||||
|
@ -2519,7 +2519,7 @@ void mpeg4_encode_picture_header(MpegEncContext * s, int picture_number)
|
||||
#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)
|
||||
{
|
||||
|
@ -901,7 +901,7 @@ typedef struct MJpegDecodeContext {
|
||||
int cur_scan; /* current scan, used by JPEG-LS */
|
||||
} 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);
|
||||
|
||||
|
@ -751,7 +751,7 @@ float ff_rate_estimate_qscale(MpegEncContext *s, int dry_run)
|
||||
//printf("%f ", q);
|
||||
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_qcount*=a->qblur;
|
||||
|
||||
@ -811,7 +811,7 @@ static int init_pass2(MpegEncContext *s)
|
||||
int i, toobig;
|
||||
double fps= 1/av_q2d(s->avctx->time_base);
|
||||
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_available_bits= (uint64_t)(s->bit_rate*(double)rcc->num_entries/fps);
|
||||
double rate_factor=0;
|
||||
|
@ -422,7 +422,7 @@ typedef struct Plane{
|
||||
}Plane;
|
||||
|
||||
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;
|
||||
RangeCoder c;
|
||||
@ -473,7 +473,7 @@ typedef struct SnowContext{
|
||||
int me_cache_generation;
|
||||
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;
|
||||
|
||||
typedef struct {
|
||||
|
@ -65,7 +65,7 @@ static VLC svq1_inter_mean;
|
||||
#define SVQ1_BLOCK_INTRA 3
|
||||
|
||||
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;
|
||||
DSPContext dsp;
|
||||
AVFrame picture;
|
||||
|
@ -108,7 +108,7 @@ int ff_wma_init(AVCodecContext * avctx, int flags2)
|
||||
s->nb_block_sizes = 1;
|
||||
}
|
||||
|
||||
/* init rate dependant parameters */
|
||||
/* init rate dependent parameters */
|
||||
s->use_noise_coding = 1;
|
||||
high_freq = s->sample_rate * 0.5;
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
#include "common.h"
|
||||
|
||||
/* here we can use OS dependant allocation functions */
|
||||
/* here we can use OS dependent allocation functions */
|
||||
#undef malloc
|
||||
#undef free
|
||||
#undef realloc
|
||||
|
Loading…
Reference in New Issue
Block a user