of particular interest to real time streaming applications.
Temporal scalability allows the encoder to produce a stream that can
- be decimated to different frame rates, with independent rate targetting
+ be decimated to different frame rates, with independent rate targeting
for each substream.
Multiframe quality enhancement postprocessing can make visual quality
cpi->this_frame_target = (int)target;
- /* TODO: if we separate rate targeting from Q targetting, move this.
+ /* TODO: if we separate rate targeting from Q targeting, move this.
* Reset the active worst quality to the baseline value for key frames.
*/
if (cpi->pass != 2) cpi->active_worst_quality = cpi->worst_quality;
return target;
}
-// TODO(marpan/jianj): bits_off_target and buffer_level are used in the saame
+// TODO(marpan/jianj): bits_off_target and buffer_level are used in the same
// way for CBR mode, for the buffering updates below. Look into removing one
// of these (i.e., bits_off_target).
// Update the buffer level before encoding with the per-frame-bandwidth,
// In particular temporal layer counter (which is incremented in
// vp9_inc_frame_in_layer()) won't be incremented, so on a dropped
// frame we try the same temporal_layer_id on next incoming frame.
- // This is to avoid an issue with temporal alignement with full
+ // This is to avoid an issue with temporal alignment with full
// superframe dropping.
vp9_inc_frame_in_layer(cpi);
}
// Periodic key frames is based on the super-frame counter
// (svc.current_superframe), also only base spatial layer is key frame.
// Key frame is set for any of the following: very first frame, frame flags
- // indicates key, superframe counter hits key frequencey, or (non-intra) sync
+ // indicates key, superframe counter hits key frequency, or (non-intra) sync
// flag is set for spatial layer 0.
if ((cm->current_video_frame == 0 && !svc->previous_frame_is_intra_only) ||
(cpi->frame_flags & FRAMEFLAGS_KEY) ||
// A maximum bitrate for a frame is defined.
// However this limit is extended if a very high rate is given on the command
- // line or the the rate cannnot be acheived because of a user specificed max q
+ // line or the rate can not be achieved because of a user specified max q
// (e.g. when the user specifies lossless encode).
//
// If a level is specified that requires a lower maximum rate then the level
static const double rcf_mult[FRAME_SCALE_STEPS] = { 1.0, 2.0 };
typedef struct {
- // Rate targetting variables
+ // Rate targeting variables
int base_frame_target; // A baseline frame target before adjustment
// for previous under or over shoot.
int this_frame_target; // Actual frame target after rc adjustment.