Skip to content

Commit 0a9999e

Browse files
committed
fix typos (#447)
1 parent c7c724b commit 0a9999e

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed

libde265/contextmodel.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void context_model_table::decouple()
9292
{
9393
if (D) printf("%p decouple (%p)\n",this,refcnt);
9494

95-
assert(refcnt); // not necessarily so, but we never use it on an unitialized object
95+
assert(refcnt); // not necessarily so, but we never use it on an uninitialized object
9696

9797
if (*refcnt > 1) {
9898
(*refcnt)--;
@@ -125,7 +125,7 @@ context_model_table& context_model_table::operator=(const context_model_table& s
125125
{
126126
if (D) printf("%p assign = %p\n",this,&src);
127127

128-
// assert(src.refcnt); // not necessarily so, but we never use it on an unitialized object
128+
// assert(src.refcnt); // not necessarily so, but we never use it on an uninitialized object
129129

130130
if (!src.refcnt) {
131131
release();

libde265/decctx.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ de265_error decoder_context::decode_NAL(NAL_unit* nal)
12091209

12101210
if (nal_hdr.nuh_layer_id > 0) {
12111211
// Discard all NAL units with nuh_layer_id > 0
1212-
// These will have to be handeled by an SHVC decoder.
1212+
// These will have to be handled by an SHVC decoder.
12131213
nal_parser.free_NAL_unit(nal);
12141214
return DE265_OK;
12151215
}

libde265/encoder/algo/cb-split.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include <iostream>
3232

3333

34-
// Utility function to encode all four children in a splitted CB.
34+
// Utility function to encode all four children in a split CB.
3535
// Children are coded with the specified algo_cb_split.
3636
enc_cb* Algo_CB_Split::encode_cb_split(encoder_context* ectx,
3737
context_model_table& ctxModel,

libde265/image.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ struct de265_image {
428428
void* userdata);
429429
*/
430430

431-
uint8_t integrity; /* Whether an error occured while the image was decoded.
431+
uint8_t integrity; /* Whether an error occurred while the image was decoded.
432432
When generated, this is initialized to INTEGRITY_CORRECT,
433433
and changed on decoding errors.
434434
*/

libde265/motion.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ void generate_inter_prediction_samples(base_context* ctx,
389389
l,vi->mv[l].x,vi->mv[l].y,refPic->PicOrderCntVal);
390390

391391

392-
// TODO: must predSamples stride really be nCS or can it be somthing smaller like nPbW?
392+
// TODO: must predSamples stride really be nCS or can it be something smaller like nPbW?
393393

394394
if (img->high_bit_depth(0)) {
395395
mc_luma(ctx, sps, vi->mv[l].x, vi->mv[l].y, xP,yP,
@@ -795,7 +795,7 @@ class MotionVectorAccess_de265_image : public MotionVectorAccess
795795
796796
A maximum of 4 candidates are generated.
797797
798-
Note 1: For a CB splitted into two PBs, it does not make sense to merge the
798+
Note 1: For a CB split into two PBs, it does not make sense to merge the
799799
second part to the parameters of the first part, since then, we could use 2Nx2N
800800
right away. -> Exclude this candidate.
801801
*/

libde265/refpic.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void ref_pic_set::compute_derived_values()
7979
- as a list of the relative POC deltas themselves, or
8080
- by shifting an existing ref-pic-set by some number of frames
8181
When shifting an existing set, the frame 0 is also shifted as an additional reference frame.
82-
When coding the ref-pic-sets in the SPS, predicition is always from the previous set.
82+
When coding the ref-pic-sets in the SPS, prediction is always from the previous set.
8383
In the slice header, the ref-pic-set can use any previous set as reference.
8484
*/
8585
bool read_short_term_ref_pic_set(error_queue* errqueue,

libde265/transform.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ void scale_coefficients(thread_context* tctx,
653653

654654
//#define QUANT_IQUANT_SHIFT 20 // Q(QP%6) * IQ(QP%6) = 2^20
655655
#define QUANT_SHIFT 14 // Q(4) = 2^14
656-
//#define SCALE_BITS 15 // Inherited from TMuC, pressumably for fractional bit estimates in RDOQ
656+
//#define SCALE_BITS 15 // Inherited from TMuC, presumably for fractional bit estimates in RDOQ
657657
#define MAX_TR_DYNAMIC_RANGE 15 // Maximum transform dynamic range (excluding sign bit)
658658

659659

libde265/vui.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ de265_error video_usability_information::hrd_parameters(error_queue* errqueue, b
187187
fixed_pic_rate_within_cvs_flag[i] = true;
188188
}
189189

190-
low_delay_hrd_flag[i] = 0;// Infered to be 0 when not present
191-
cpb_cnt_minus1[i] = 0; // Infered to be 0 when not present
190+
low_delay_hrd_flag[i] = 0;// Inferred to be 0 when not present
191+
cpb_cnt_minus1[i] = 0; // Inferred to be 0 when not present
192192

193193
if (fixed_pic_rate_within_cvs_flag[i])
194194
{

libde265/x86/sse-dct.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -2114,7 +2114,7 @@ void ff_hevc_transform_16x16_add_8_sse4(uint8_t *_dst, const int16_t *coeffs,
21142114

21152115

21162116
r4 = _mm_unpackhi_epi64(m128Tmp0, m128Tmp1); //1st half 2nd row
2117-
r6 = _mm_unpackhi_epi64(m128Tmp2, m128Tmp3); //2nd hald 2nd row
2117+
r6 = _mm_unpackhi_epi64(m128Tmp2, m128Tmp3); //2nd half 2nd row
21182118

21192119
m128Tmp0 = _mm_unpackhi_epi32(E0l, E1l);
21202120
m128Tmp1 = _mm_unpackhi_epi32(E2l, E3l);
@@ -4924,7 +4924,7 @@ void ff_hevc_transform_32x32_add_8_sse4(uint8_t *_dst, const int16_t *coeffs,
49244924
m128iS14= _mm_unpackhi_epi64(m128Tmp4,m128Tmp5); //third quarter
49254925
m128iS15= _mm_unpackhi_epi64(m128Tmp6,m128Tmp7); //last quarter
49264926

4927-
//fith row
4927+
//fifth row
49284928

49294929
m128Tmp0= _mm_unpacklo_epi32(E0h,E1h);
49304930
m128Tmp1= _mm_unpacklo_epi32(E2h,E3h);

sherlock265/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CB - Show Coding Block quadtree structure. Prediction modes are
77
PBs for prediction and TBs for residual transforms.
88

99
PB - Show Prediction Block structure. CB blocks may be further
10-
subdivided, possibly using asymetric partitionings. This is
10+
subdivided, possibly using asymmetric partitionings. This is
1111
the level on which motion-compensation and intra-prediction is
1212
performed.
1313

0 commit comments

Comments
 (0)