History

all: fix typos found by codespell

Timo Rothenpieler committed 1 year ago

Commit 262d41c1 parent 8d439b2303 files · +482 −481Browse files

Showing the changes to libavcodec (134 of 303 files). Show all

Unified · Split

134 files
  1. libavcodec/aac/aacdec.c +3 −3
  2. libavcodec/aaccoder_twoloop.h +4 −4
  3. libavcodec/aacpsy.c +1 −1
  4. libavcodec/aacsbr_template.c +1 −1
  5. libavcodec/aarch64/me_cmp_neon.S +5 −5
  6. libavcodec/alsdec.c +2 −2
  7. libavcodec/amfdec.c +1 −1
  8. libavcodec/amfenc_av1.c +13 −13
  9. libavcodec/amfenc_h264.c +7 −7
  10. libavcodec/amfenc_hevc.c +9 −9
  11. libavcodec/aptx.h +1 −1
  12. libavcodec/arm/hevcdsp_idct_neon.S +1 −1
  13. libavcodec/arm/hevcdsp_sao_neon.S +1 −1
  14. libavcodec/ass_split.c +1 −1
  15. libavcodec/ass_split.h +1 −1
  16. libavcodec/atrac3plusdsp.c +1 −1
  17. libavcodec/atrac9dec.c +4 −4
  18. libavcodec/avcodec.h +2 −2
  19. libavcodec/bsf/h266_metadata.c +1 −1
  20. libavcodec/cavsdec.c +1 −1
  21. libavcodec/cbs.h +1 −1
  22. libavcodec/cbs_h266_syntax_template.c +1 −1
  23. libavcodec/cbs_internal.h +2 −2
  24. libavcodec/ccaption_dec.c +1 −1
  25. libavcodec/codec_par.h +1 −1
  26. libavcodec/dca_xll.c +2 −2
  27. libavcodec/dcaenc.c +1 −1
  28. libavcodec/diracdec.c +1 −1
  29. libavcodec/dovi_rpudec.c +1 −1
  30. libavcodec/dovi_rpuenc.c +1 −1
  31. libavcodec/evc.h +1 −1
  32. libavcodec/evc_parse.h +1 −1
  33. libavcodec/evc_ps.h +1 −1
  34. libavcodec/evrcdec.c +1 −1
  35. libavcodec/ffv1enc.c +1 −1
  36. libavcodec/flac_parse.h +1 −1
  37. libavcodec/g729postfilter.c +2 −2
  38. libavcodec/h264_parse.h +1 −1
  39. libavcodec/h264dec.c +1 −1
  40. libavcodec/h264dec.h +1 −1
  41. libavcodec/h274.c +2 −2
  42. libavcodec/hapenc.c +1 −1
  43. libavcodec/hevc/hevcdec.c +2 −2
  44. libavcodec/ilbcdec.c +3 −3
  45. libavcodec/j2kenc.c +1 −1
  46. libavcodec/jpeg2000dec.c +2 −2
  47. libavcodec/libaribcaption.c +1 −1
  48. libavcodec/libjxlenc.c +1 −1
  49. libavcodec/liboapvenc.c +2 −2
  50. libavcodec/loongarch/hevc_mc.S +2 −2
  51. libavcodec/loongarch/loongson_asm.S +1 −1
  52. libavcodec/loongarch/vc1dsp_loongarch.h +1 −1
  53. libavcodec/magicyuvenc.c +1 −1
  54. libavcodec/mjpegdec.c +1 −1
  55. libavcodec/mjpegenc_huffman.c +2 −2
  56. libavcodec/mlz.h +1 −1
  57. libavcodec/movtextenc.c +1 −1
  58. libavcodec/mpeg4videodec.c +1 −1
  59. libavcodec/mpegaudiodec_template.c +1 −1
  60. libavcodec/mpegvideo_enc.c +1 −1
  61. libavcodec/nellymoser.c +1 −1
  62. libavcodec/nellymoser.h +1 −1
  63. libavcodec/nellymoserdec.c +1 −1
  64. libavcodec/opus/enc.c +1 −1
  65. libavcodec/opus/tab.c +1 −1
  66. libavcodec/packet.h +1 −1
  67. libavcodec/pgssubdec.c +1 −1
  68. libavcodec/pictordec.c +1 −1
  69. libavcodec/ppc/hpeldsp_altivec.c +1 −1
  70. libavcodec/ppc/vp8dsp_altivec.c +1 −1
  71. libavcodec/psd.c +2 −2
  72. libavcodec/qsvdec.c +3 −3
  73. libavcodec/qsvenc.c +1 −1
  74. libavcodec/riscv/aacencdsp_init.c +1 −1
  75. libavcodec/riscv/aacencdsp_rvv.S +1 −1
  76. libavcodec/riscv/ac3dsp_rvv.S +1 −1
  77. libavcodec/riscv/blockdsp_init.c +1 −1
  78. libavcodec/riscv/blockdsp_rvv.S +1 −1
  79. libavcodec/riscv/h263dsp_rvv.S +1 −1
  80. libavcodec/riscv/h26x/asm.S +1 −1
  81. libavcodec/riscv/h26x/h2656_inter_rvv.S +1 −1
  82. libavcodec/riscv/h26x/h2656dsp.h +1 −1
  83. libavcodec/riscv/hevcdsp_init.c +1 −1
  84. libavcodec/riscv/me_cmp_init.c +1 −1
  85. libavcodec/riscv/me_cmp_rvv.S +1 −1
  86. libavcodec/riscv/rv34dsp_init.c +1 −1
  87. libavcodec/riscv/rv34dsp_rvv.S +1 −1
  88. libavcodec/riscv/rv40dsp_init.c +1 −1
  89. libavcodec/riscv/rv40dsp_rvv.S +1 −1
  90. libavcodec/riscv/svqenc_init.c +1 −1
  91. libavcodec/riscv/svqenc_rvv.S +1 −1
  92. libavcodec/riscv/takdsp_init.c +1 −1
  93. libavcodec/riscv/takdsp_rvv.S +1 −1
  94. libavcodec/riscv/vc1dsp_init.c +1 −1
  95. libavcodec/riscv/vc1dsp_rvi.S +1 −1
  96. libavcodec/riscv/vc1dsp_rvv.S +1 −1
  97. libavcodec/riscv/vp8dsp_init.c +1 −1
  98. libavcodec/riscv/vp8dsp_rvi.S +1 −1
  99. libavcodec/riscv/vp8dsp_rvv.S +1 −1
  100. libavcodec/riscv/vp9_intra_rvv.S +1 −1
  101. libavcodec/riscv/vp9_mc_rvi.S +1 −1
  102. libavcodec/riscv/vp9_mc_rvv.S +1 −1
  103. libavcodec/riscv/vp9dsp.h +1 −1
  104. libavcodec/riscv/vp9dsp_init.c +1 −1
  105. libavcodec/riscv/vvc/dsp_init.c +1 −1
  106. libavcodec/riscv/vvc/mc_rvv.S +1 −1
  107. libavcodec/riscv/vvc/sad_rvv.S +1 −1
  108. libavcodec/rpzaenc.c +1 −1
  109. libavcodec/snowenc.c +3 −3
  110. libavcodec/speexdec.c +1 −1
  111. libavcodec/tests/apv.c +1 −1
  112. libavcodec/tests/avpacket.c +1 −1
  113. libavcodec/tests/jpeg2000dwt.c +2 −2
  114. libavcodec/utils.c +1 −1
  115. libavcodec/v4l2_context.h +1 −1
  116. libavcodec/v4l2_m2m_dec.c +1 −1
  117. libavcodec/v4l2_m2m_enc.c +1 −1
  118. libavcodec/vaapi_encode_h265.c +1 −1
  119. libavcodec/vbndec.c +1 −1
  120. libavcodec/vc2enc.c +1 −1
  121. libavcodec/vlc.c +1 −1
  122. libavcodec/vorbisdec.c +2 −2
  123. libavcodec/vp3.c +1 −1
  124. libavcodec/vp8.c +3 −3
  125. libavcodec/vulkan/rangecoder.comp +1 −1
  126. libavcodec/vulkan_decode.c +1 −1
  127. libavcodec/vulkan_encode_h265.c +1 −1
  128. libavcodec/vvc/intra_utils.c +1 −1
  129. libavcodec/vvc/mvs.c +1 −1
  130. libavcodec/vvc_parser.c +2 −2
  131. libavcodec/x86/celt_pvq_search.asm +1 −1
  132. libavcodec/x86/dirac_dwt.asm +1 −1
  133. libavcodec/x86/hevc/idct.asm +1 −1
  134. libavcodec/x86/vp9itxfm_16bpp_avx512.asm +1 −1
libavcodec/aac/aacdec.c+3−3
@@ -395,8 +395,8 @@ static uint64_t sniff_channel_order(uint8_t (*layout_map)[3], int tags) · 394 unmodified lines
395395 FFSWAP(struct elem_to_channel, e2c_vec[6], e2c_vec[4]); // FLc & FRc fifth (final), SiL & SiR seventh
396396 FFSWAP(struct elem_to_channel, e2c_vec[7], e2c_vec[6]); // LFE2 seventh (final), SiL & SiR eight (final)
397397 FFSWAP(struct elem_to_channel, e2c_vec[9], e2c_vec[8]); // TpFL & TpFR ninth (final), TFC tenth (final)
398− FFSWAP(struct elem_to_channel, e2c_vec[11], e2c_vec[10]); // TC eleventh (final), TpSiL & TpSiR twelth
399− FFSWAP(struct elem_to_channel, e2c_vec[12], e2c_vec[11]); // TpBL & TpBR twelth (final), TpSiL & TpSiR thirteenth (final)
398+ FFSWAP(struct elem_to_channel, e2c_vec[11], e2c_vec[10]); // TC eleventh (final), TpSiL & TpSiR twelfth
399+ FFSWAP(struct elem_to_channel, e2c_vec[12], e2c_vec[11]); // TpBL & TpBR twelfth (final), TpSiL & TpSiR thirteenth (final)
400400 } else {
401401 // For everything else, utilize the AV channel position define as a
402402 // stable sort.
@@ -1728,7 +1728,7 @@ int ff_aac_decode_ics(AACDecContext *ac, SingleChannelElement *sce, · 1325 unmodified lines
17281728 }
17291729 }
17301730 // I see no textual basis in the spec for this occurring after SSR gain
1731− // control, but this is what both reference and real implmentations do
1731+ // control, but this is what both reference and real implementations do
17321732 if (tns->present && er_syntax) {
17331733 ret = ff_aac_decode_tns(ac, tns, gb, ics);
17341734 if (ret < 0)
libavcodec/aaccoder_twoloop.h+4−4
@@ -311,14 +311,14 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx, · 310 unmodified lines
311311
312312 /**
313313 * Scale uplims to match rate distortion to quality
314− * bu applying noisy band depriorization and tonal band priorization.
314+ * bu applying noisy band depriorization and tonal band prioritization.
315315 * Maxval-energy ratio gives us an idea of how noisy/tonal the band is.
316316 * If maxval^2 ~ energy, then that band is mostly noise, and we can relax
317317 * rate distortion requirements.
318318 */
319319 memcpy(euplims, uplims, sizeof(euplims));
320320 for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) {
321− /** psy already priorizes transients to some extent */
321+ /** psy already prioritizes transients to some extent */
322322 float de_psy_factor = (sce->ics.num_windows > 1) ? 8.0f / sce->ics.group_len[w] : 1.0f;
323323 start = w*128;
324324 for (g = 0; g < sce->ics.num_swb; g++) {
@@ -331,7 +331,7 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx, · 6 unmodified lines
331331 nzslope * cleanup_factor);
332332 energy2uplim *= de_psy_factor;
333333 if (!(avctx->flags & AV_CODEC_FLAG_QSCALE)) {
334− /** In ABR, we need to priorize less and let rate control do its thing */
334+ /** In ABR, we need to prioritize less and let rate control do its thing */
335335 energy2uplim = sqrtf(energy2uplim);
336336 }
337337 energy2uplim = FFMAX(0.015625f, FFMIN(1.0f, energy2uplim));
@@ -345,7 +345,7 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx, · 7 unmodified lines
345345 2.0f);
346346 energy2uplim *= de_psy_factor;
347347 if (!(avctx->flags & AV_CODEC_FLAG_QSCALE)) {
348− /** In ABR, we need to priorize less and let rate control do its thing */
348+ /** In ABR, we need to prioritize less and let rate control do its thing */
349349 energy2uplim = sqrtf(energy2uplim);
350350 }
351351 energy2uplim = FFMAX(0.015625f, FFMIN(1.0f, energy2uplim));
libavcodec/aacpsy.c+1−1
@@ -168,7 +168,7 @@ typedef struct AacPsyContext{ · 167 unmodified lines
168168 * LAME psy model preset struct
169169 */
170170 typedef struct PsyLamePreset {
171− int quality; ///< Quality to map the rest of the vaules to.
171+ int quality; ///< Quality to map the rest of the values to.
172172 /* This is overloaded to be both kbps per channel in ABR mode, and
173173 * requested quality in constant quality mode.
174174 */
libavcodec/aacsbr_template.c+1−1
@@ -59,7 +59,7 @@ static void sbr_turnoff(SpectralBandReplication *sbr) { · 58 unmodified lines
5959 sbr->start = 0;
6060 sbr->usac = 0;
6161 sbr->ready_for_dequant = 0;
62− // Init defults used in pure upsampling mode
62+ // Init defaults used in pure upsampling mode
6363 sbr->kx[1] = 32; //Typo in spec, kx' inits to 32
6464 sbr->m[1] = 0;
6565 // Reset values for first SBR header
libavcodec/aarch64/me_cmp_neon.S+5−5
@@ -534,7 +534,7 @@ function ff_pix_abs16_y2_neon, export=1 · 533 unmodified lines
534534 ld1 {v2.16b}, [x2], x3 // Load pix3 for first iteration
535535 ld1 {v0.16b}, [x1], x3 // Load pix1 for first iteration
536536 urhadd v30.16b, v1.16b, v2.16b // Rounding halving add, first iteration
537− ld1 {v5.16b}, [x2], x3 // Load pix3 for second iteartion
537+ ld1 {v5.16b}, [x2], x3 // Load pix3 for second iteration
538538 uabal v29.8h, v0.8b, v30.8b // Absolute difference of lower half, first iteration
539539 uabal2 v28.8h, v0.16b, v30.16b // Absolute difference of upper half, first iteration
540540 ld1 {v3.16b}, [x1], x3 // Load pix1 for second iteration
@@ -606,7 +606,7 @@ function sse16_neon, export=1 · 65 unmodified lines
606606 uabd v27.16b, v2.16b, v3.16b // Absolute difference, second iteration
607607 uadalp v17.4s, v29.8h // Pairwise add, first iteration
608608 ld1 {v4.16b}, [x1], x3 // Load pix1 for third iteration
609− umull v26.8h, v27.8b, v27.8b // Mulitply lower half, second iteration
609+ umull v26.8h, v27.8b, v27.8b // Multiply lower half, second iteration
610610 umull2 v25.8h, v27.16b, v27.16b // Multiply upper half, second iteration
611611 ld1 {v5.16b}, [x2], x3 // Load pix2 for third iteration
612612 uadalp v17.4s, v26.8h // Pairwise add and accumulate, second iteration
@@ -616,7 +616,7 @@ function sse16_neon, export=1 · 3 unmodified lines
616616 umull v23.8h, v24.8b, v24.8b // Multiply lower half, third iteration
617617 umull2 v22.8h, v24.16b, v24.16b // Multiply upper half, third iteration
618618 uadalp v17.4s, v23.8h // Pairwise add and accumulate, third iteration
619− ld1 {v7.16b}, [x2], x3 // Load pix2 for fouth iteration
619+ ld1 {v7.16b}, [x2], x3 // Load pix2 for fourth iteration
620620 uadalp v17.4s, v22.8h // Pairwise add and accumulate, third iteration
621621 uabd v21.16b, v6.16b, v7.16b // Absolute difference, fourth iteration
622622 uadalp v17.4s, v28.8h // Pairwise add and accumulate, first iteration
@@ -748,7 +748,7 @@ function sse4_neon, export=1 · 125 unmodified lines
748748 uabdl v28.8h, v4.8b, v5.8b // Absolute difference, third iteration
749749 umlal v16.4s, v29.4h, v29.4h // Multiply and accumulate, second iteration
750750 sub w4, w4, #4
751− uabdl v27.8h, v6.8b, v7.8b // Absolue difference, fourth iteration
751+ uabdl v27.8h, v6.8b, v7.8b // Absolute difference, fourth iteration
752752 umlal v16.4s, v28.4h, v28.4h // Multiply and accumulate, third iteration
753753 cmp w4, #4
754754 umlal v16.4s, v27.4h, v27.4h // Multiply and accumulate, fourth iteration
@@ -1593,7 +1593,7 @@ function sse16_neon_dotprod, export=1 · 838 unmodified lines
15931593 uabd v24.16b, v4.16b, v5.16b // Absolute difference, third iteration
15941594 ld1 {v6.16b}, [x1], x3 // Load pix1 for fourth iteration
15951595 udot v17.4s, v24.16b, v24.16b
1596− ld1 {v7.16b}, [x2], x3 // Load pix2 for fouth iteration
1596+ ld1 {v7.16b}, [x2], x3 // Load pix2 for fourth iteration
15971597 uabd v21.16b, v6.16b, v7.16b // Absolute difference, fourth iteration
15981598 sub w4, w4, #4 // h -= 4
15991599 udot v17.4s, v21.16b, v21.16b
libavcodec/alsdec.c+2−2
@@ -224,7 +224,7 @@ typedef struct ALSDecContext { · 223 unmodified lines
224224 int32_t *quant_cof_buffer; ///< contains all quantized parcor coefficients
225225 int32_t **lpc_cof; ///< coefficients of the direct form prediction filter for a channel
226226 int32_t *lpc_cof_buffer; ///< contains all coefficients of the direct form prediction filter
227− int32_t *lpc_cof_reversed_buffer; ///< temporary buffer to set up a reversed versio of lpc_cof_buffer
227+ int32_t *lpc_cof_reversed_buffer; ///< temporary buffer to set up a reversed version of lpc_cof_buffer
228228 ALSChannelData **chan_data; ///< channel data for multi-channel correlation
229229 ALSChannelData *chan_data_buffer; ///< contains channel data for all channels
230230 int *reverted_channels; ///< stores a flag for each reverted channel
@@ -1558,7 +1558,7 @@ static int read_diff_float_data(ALSDecContext *ctx, unsigned int ra_frame) { · 1327 unmodified lines
15581558 if (highest_byte) {
15591559 for (i = 0; i < frame_length; ++i) {
15601560 if (ctx->raw_samples[c][i] != 0) {
1561− //The following logic is taken from Tabel 14.45 and 14.46 from the ISO spec
1561+ //The following logic is taken from Table 14.45 and 14.46 from the ISO spec
15621562 if (av_cmp_sf_ieee754(acf[c], FLOAT_1)) {
15631563 nbits[i] = 23 - av_log2(abs(ctx->raw_samples[c][i]));
15641564 } else {
libavcodec/amfdec.c+1−1
@@ -656,7 +656,7 @@ static int amf_decode_frame(AVCodecContext *avctx, struct AVFrame *frame) · 655 unmodified lines
656656 }else
657657 return AVERROR_EOF;
658658 } else {
659− av_log(avctx, AV_LOG_ERROR, "Unkown result from QueryOutput %d\n", res);
659+ av_log(avctx, AV_LOG_ERROR, "Unknown result from QueryOutput %d\n", res);
660660 }
661661 return got_frame ? 0 : AVERROR(EAGAIN);
662662 }
libavcodec/amfenc_av1.c+13−13
@@ -32,11 +32,11 @@ static const AVOption options[] = { · 31 unmodified lines
3232
3333 { "usage", "Set the encoding usage", OFFSET(usage), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, AMF_VIDEO_ENCODER_AV1_USAGE_LOW_LATENCY_HIGH_QUALITY, VE, .unit = "usage" },
3434 { "transcoding", "Generic Transcoding", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_USAGE_TRANSCODING }, 0, 0, VE, .unit = "usage" },
35− { "ultralowlatency", "ultra low latency trancoding", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_USAGE_ULTRA_LOW_LATENCY }, 0, 0, VE, .unit = "usage" },
35+ { "ultralowlatency", "ultra low latency transcoding", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_USAGE_ULTRA_LOW_LATENCY }, 0, 0, VE, .unit = "usage" },
3636 { "lowlatency", "Low latency usecase", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_USAGE_LOW_LATENCY }, 0, 0, VE, .unit = "usage" },
3737 { "webcam", "Webcam", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_USAGE_WEBCAM }, 0, 0, VE, .unit = "usage" },
38− { "high_quality", "high quality trancoding", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_USAGE_HIGH_QUALITY }, 0, 0, VE, .unit = "usage" },
39− { "lowlatency_high_quality","low latency yet high quality trancoding", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_USAGE_LOW_LATENCY_HIGH_QUALITY }, 0, 0, VE, .unit = "usage" },
38+ { "high_quality", "high quality transcoding", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_USAGE_HIGH_QUALITY }, 0, 0, VE, .unit = "usage" },
39+ { "lowlatency_high_quality","low latency yet high quality transcoding", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_USAGE_LOW_LATENCY_HIGH_QUALITY }, 0, 0, VE, .unit = "usage" },
4040
4141 { "bitdepth", "Set color bit deph", OFFSET(bit_depth), AV_OPT_TYPE_INT, {.i64 = AMF_COLOR_BIT_DEPTH_UNDEFINED }, AMF_COLOR_BIT_DEPTH_UNDEFINED, AMF_COLOR_BIT_DEPTH_10, VE, .unit = "bitdepth" },
4242 { "8", "8 bit", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_COLOR_BIT_DEPTH_8 }, 0, 0, VE, .unit = "bitdepth" },
@@ -88,7 +88,7 @@ static const AVOption options[] = { · 45 unmodified lines
8888 { "rc", "Set the rate control mode", OFFSET(rate_control_mode), AV_OPT_TYPE_INT, {.i64 = AMF_VIDEO_ENCODER_AV1_RATE_CONTROL_METHOD_UNKNOWN }, AMF_VIDEO_ENCODER_AV1_RATE_CONTROL_METHOD_UNKNOWN, AMF_VIDEO_ENCODER_AV1_RATE_CONTROL_METHOD_HIGH_QUALITY_CBR, VE, .unit = "rc" },
8989 { "cqp", "Constant Quantization Parameter", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_RATE_CONTROL_METHOD_CONSTANT_QP }, 0, 0, VE, .unit = "rc" },
9090 { "vbr_latency", "Latency Constrained Variable Bitrate", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_RATE_CONTROL_METHOD_LATENCY_CONSTRAINED_VBR }, 0, 0, VE, .unit = "rc" },
91− { "vbr_peak", "Peak Contrained Variable Bitrate", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_RATE_CONTROL_METHOD_PEAK_CONSTRAINED_VBR }, 0, 0, VE, .unit = "rc" },
91+ { "vbr_peak", "Peak Constrained Variable Bitrate", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_RATE_CONTROL_METHOD_PEAK_CONSTRAINED_VBR }, 0, 0, VE, .unit = "rc" },
9292 { "cbr", "Constant Bitrate", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_RATE_CONTROL_METHOD_CBR }, 0, 0, VE, .unit = "rc" },
9393 { "qvbr", "Quality Variable Bitrate", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_RATE_CONTROL_METHOD_QUALITY_VBR }, 0, 0, VE, .unit = "rc" },
9494 { "hqvbr", "High Quality Variable Bitrate", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_VIDEO_ENCODER_AV1_RATE_CONTROL_METHOD_HIGH_QUALITY_VBR }, 0, 0, VE, .unit = "rc" },
@@ -148,16 +148,16 @@ static const AVOption options[] = { · 53 unmodified lines
148148 { "pa_scene_change_detection_enable", "Enable scene change detection", OFFSET(pa_scene_change_detection), AV_OPT_TYPE_BOOL, {.i64 = -1 }, -1, 1, VE },
149149
150150 { "pa_scene_change_detection_sensitivity", "Set the sensitivity of scene change detection", OFFSET(pa_scene_change_detection_sensitivity), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_HIGH, VE, .unit = "scene_change_sensitivity" },
151− { "low", "low scene change dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_LOW }, 0, 0, VE, .unit = "scene_change_sensitivity" },
152− { "medium", "medium scene change dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_MEDIUM }, 0, 0, VE, .unit = "scene_change_sensitivity" },
153− { "high", "high scene change dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_HIGH }, 0, 0, VE, .unit = "scene_change_sensitivity" },
151+ { "low", "low scene change detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_LOW }, 0, 0, VE, .unit = "scene_change_sensitivity" },
152+ { "medium", "medium scene change detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_MEDIUM }, 0, 0, VE, .unit = "scene_change_sensitivity" },
153+ { "high", "high scene change detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_HIGH }, 0, 0, VE, .unit = "scene_change_sensitivity" },
154154
155155 { "pa_static_scene_detection_enable", "Enable static scene detection", OFFSET(pa_static_scene_detection), AV_OPT_TYPE_BOOL, {.i64 = -1 }, -1, 1, VE },
156156
157157 { "pa_static_scene_detection_sensitivity", "Set the sensitivity of static scene detection", OFFSET(pa_static_scene_detection_sensitivity), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_HIGH, VE , .unit = "static_scene_sensitivity" },
158− { "low", "low static scene dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_LOW }, 0, 0, VE, .unit = "static_scene_sensitivity" },
159− { "medium", "medium static scene dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_MEDIUM }, 0, 0, VE, .unit = "static_scene_sensitivity" },
160− { "high", "high static scene dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_HIGH }, 0, 0, VE, .unit = "static_scene_sensitivity" },
158+ { "low", "low static scene detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_LOW }, 0, 0, VE, .unit = "static_scene_sensitivity" },
159+ { "medium", "medium static scene detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_MEDIUM }, 0, 0, VE, .unit = "static_scene_sensitivity" },
160+ { "high", "high static scene detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_HIGH }, 0, 0, VE, .unit = "static_scene_sensitivity" },
161161
162162 { "pa_initial_qp_after_scene_change", "The QP value that is used immediately after a scene change", OFFSET(pa_initial_qp), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, 51, VE },
163163 { "pa_max_qp_before_force_skip", "The QP threshold to allow a skip frame", OFFSET(pa_max_qp), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, 51, VE },
@@ -267,7 +267,7 @@ static av_cold int amf_encode_init_av1(AVCodecContext* avctx) · 103 unmodified lines
267267 // Color Transfer Characteristics (AMF matches ISO/IEC)
268268 if(avctx->color_primaries != AVCOL_PRI_UNSPECIFIED && (pix_fmt == AV_PIX_FMT_NV12 || pix_fmt == AV_PIX_FMT_P010)){
269269 // if input is YUV, color_primaries are for VUI only
270− // AMF VCN color coversion supports only specifc output primaries BT2020 for 10-bit and BT709 for 8-bit
270+ // AMF VCN color conversion supports only specific output primaries BT2020 for 10-bit and BT709 for 8-bit
271271 // vpp_amf supports more
272272 AMF_ASSIGN_PROPERTY_INT64(res, ctx->encoder, AMF_VIDEO_ENCODER_AV1_OUTPUT_TRANSFER_CHARACTERISTIC, avctx->color_trc);
273273 }
@@ -275,7 +275,7 @@ static av_cold int amf_encode_init_av1(AVCodecContext* avctx) · 1 unmodified line
275275 // Color Primaries (AMF matches ISO/IEC)
276276 if(avctx->color_primaries != AVCOL_PRI_UNSPECIFIED || pix_fmt == AV_PIX_FMT_NV12 || pix_fmt == AV_PIX_FMT_P010 )
277277 {
278− // AMF VCN color coversion supports only specifc primaries BT2020 for 10-bit and BT709 for 8-bit
278+ // AMF VCN color conversion supports only specific primaries BT2020 for 10-bit and BT709 for 8-bit
279279 // vpp_amf supports more
280280 AMF_ASSIGN_PROPERTY_INT64(res, ctx->encoder, AMF_VIDEO_ENCODER_AV1_OUTPUT_COLOR_PRIMARIES, avctx->color_primaries);
281281 }
@@ -657,7 +657,7 @@ static av_cold int amf_encode_init_av1(AVCodecContext* avctx) · 375 unmodified lines
657657 buffer->pVtbl->Release(buffer);
658658 var.pInterface->pVtbl->Release(var.pInterface);
659659
660− //processing crop informaiton according to alignment
660+ //processing crop information according to alignment
661661 if (ctx->encoder->pVtbl->GetProperty(ctx->encoder, AMF_VIDEO_ENCODER_AV1_CAP_WIDTH_ALIGNMENT_FACTOR_LOCAL, &var) != AMF_OK)
662662 // assume older driver and Navi3x
663663 width_alignment_factor = 64;
libavcodec/amfenc_h264.c+7−7
@@ -82,7 +82,7 @@ static const AVOption options[] = { · 81 unmodified lines
8282 { "rc", "Rate Control Method", OFFSET(rate_control_mode), AV_OPT_TYPE_INT, { .i64 = AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_UNKNOWN }, AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_UNKNOWN, AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_HIGH_QUALITY_CBR, VE, .unit = "rc" },
8383 { "cqp", "Constant Quantization Parameter", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_CONSTANT_QP }, 0, 0, VE, .unit = "rc" },
8484 { "cbr", "Constant Bitrate", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_CBR }, 0, 0, VE, .unit = "rc" },
85− { "vbr_peak", "Peak Contrained Variable Bitrate", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_PEAK_CONSTRAINED_VBR }, 0, 0, VE, .unit = "rc" },
85+ { "vbr_peak", "Peak Constrained Variable Bitrate", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_PEAK_CONSTRAINED_VBR }, 0, 0, VE, .unit = "rc" },
8686 { "vbr_latency", "Latency Constrained Variable Bitrate", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_LATENCY_CONSTRAINED_VBR }, 0, 0, VE, .unit = "rc" },
8787 { "qvbr", "Quality Variable Bitrate", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_QUALITY_VBR }, 0, 0, VE, .unit = "rc" },
8888 { "hqvbr", "High Quality Variable Bitrate", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_VIDEO_ENCODER_RATE_CONTROL_METHOD_HIGH_QUALITY_VBR }, 0, 0, VE, .unit = "rc" },
@@ -151,16 +151,16 @@ static const AVOption options[] = { · 62 unmodified lines
151151 { "pa_scene_change_detection_enable", "Enable scene change detection", OFFSET(pa_scene_change_detection), AV_OPT_TYPE_BOOL, {.i64 = -1 }, -1, 1, VE },
152152
153153 { "pa_scene_change_detection_sensitivity", "Set the sensitivity of scene change detection", OFFSET(pa_scene_change_detection_sensitivity), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_HIGH, VE, .unit = "scene_change_sensitivity" },
154− { "low", "low scene change dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_LOW }, 0, 0, VE, .unit = "scene_change_sensitivity" },
155− { "medium", "medium scene change dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_MEDIUM }, 0, 0, VE, .unit = "scene_change_sensitivity" },
156− { "high", "high scene change dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_HIGH }, 0, 0, VE, .unit = "scene_change_sensitivity" },
154+ { "low", "low scene change detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_LOW }, 0, 0, VE, .unit = "scene_change_sensitivity" },
155+ { "medium", "medium scene change detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_MEDIUM }, 0, 0, VE, .unit = "scene_change_sensitivity" },
156+ { "high", "high scene change detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_HIGH }, 0, 0, VE, .unit = "scene_change_sensitivity" },
157157
158158 { "pa_static_scene_detection_enable", "Enable static scene detection", OFFSET(pa_static_scene_detection), AV_OPT_TYPE_BOOL, {.i64 = -1 }, -1, 1, VE },
159159
160160 { "pa_static_scene_detection_sensitivity", "Set the sensitivity of static scene detection", OFFSET(pa_static_scene_detection_sensitivity), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_HIGH, VE , .unit = "static_scene_sensitivity" },
161− { "low", "low static scene dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_LOW }, 0, 0, VE, .unit = "static_scene_sensitivity" },
162− { "medium", "medium static scene dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_MEDIUM }, 0, 0, VE, .unit = "static_scene_sensitivity" },
163− { "high", "high static scene dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_HIGH }, 0, 0, VE, .unit = "static_scene_sensitivity" },
161+ { "low", "low static scene detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_LOW }, 0, 0, VE, .unit = "static_scene_sensitivity" },
162+ { "medium", "medium static scene detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_MEDIUM }, 0, 0, VE, .unit = "static_scene_sensitivity" },
163+ { "high", "high static scene detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_HIGH }, 0, 0, VE, .unit = "static_scene_sensitivity" },
164164
165165 { "pa_initial_qp_after_scene_change", "The QP value that is used immediately after a scene change", OFFSET(pa_initial_qp), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, 51, VE },
166166 { "pa_max_qp_before_force_skip", "The QP threshold to allow a skip frame", OFFSET(pa_max_qp), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, 51, VE },
libavcodec/amfenc_hevc.c+9−9
@@ -74,7 +74,7 @@ static const AVOption options[] = { · 73 unmodified lines
7474 { "rc", "Set the rate control mode", OFFSET(rate_control_mode), AV_OPT_TYPE_INT, { .i64 = AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_UNKNOWN }, AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_UNKNOWN, AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_HIGH_QUALITY_CBR, VE, .unit = "rc" },
7575 { "cqp", "Constant Quantization Parameter", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_CONSTANT_QP }, 0, 0, VE, .unit = "rc" },
7676 { "cbr", "Constant Bitrate", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_CBR }, 0, 0, VE, .unit = "rc" },
77− { "vbr_peak", "Peak Contrained Variable Bitrate", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_PEAK_CONSTRAINED_VBR }, 0, 0, VE, .unit = "rc" },
77+ { "vbr_peak", "Peak Constrained Variable Bitrate", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_PEAK_CONSTRAINED_VBR }, 0, 0, VE, .unit = "rc" },
7878 { "vbr_latency", "Latency Constrained Variable Bitrate", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_LATENCY_CONSTRAINED_VBR }, 0, 0, VE, .unit = "rc" },
7979 { "qvbr", "Quality Variable Bitrate", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_QUALITY_VBR }, 0, 0, VE, .unit = "rc" },
8080 { "hqvbr", "High Quality Variable Bitrate", 0, AV_OPT_TYPE_CONST, { .i64 = AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_HIGH_QUALITY_VBR }, 0, 0, VE, .unit = "rc" },
@@ -121,16 +121,16 @@ static const AVOption options[] = { · 40 unmodified lines
121121 { "pa_scene_change_detection_enable", "Enable scene change detection", OFFSET(pa_scene_change_detection), AV_OPT_TYPE_BOOL, {.i64 = -1 }, -1, 1, VE },
122122
123123 { "pa_scene_change_detection_sensitivity", "Set the sensitivity of scene change detection", OFFSET(pa_scene_change_detection_sensitivity), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_HIGH, VE, .unit = "scene_change_sensitivity" },
124− { "low", "low scene change dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_LOW }, 0, 0, VE, .unit = "scene_change_sensitivity" },
125− { "medium", "medium scene change dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_MEDIUM }, 0, 0, VE, .unit = "scene_change_sensitivity" },
126− { "high", "high scene change dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_HIGH }, 0, 0, VE, .unit = "scene_change_sensitivity" },
124+ { "low", "low scene change detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_LOW }, 0, 0, VE, .unit = "scene_change_sensitivity" },
125+ { "medium", "medium scene change detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_MEDIUM }, 0, 0, VE, .unit = "scene_change_sensitivity" },
126+ { "high", "high scene change detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_SCENE_CHANGE_DETECTION_SENSITIVITY_HIGH }, 0, 0, VE, .unit = "scene_change_sensitivity" },
127127
128128 { "pa_static_scene_detection_enable", "Enable static scene detection", OFFSET(pa_static_scene_detection), AV_OPT_TYPE_BOOL, {.i64 = -1 }, -1, 1, VE },
129129
130130 { "pa_static_scene_detection_sensitivity", "Set the sensitivity of static scene detection", OFFSET(pa_static_scene_detection_sensitivity), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_HIGH, VE , .unit = "static_scene_sensitivity" },
131− { "low", "low static scene dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_LOW }, 0, 0, VE, .unit = "static_scene_sensitivity" },
132− { "medium", "medium static scene dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_MEDIUM }, 0, 0, VE, .unit = "static_scene_sensitivity" },
133− { "high", "high static scene dectection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_HIGH }, 0, 0, VE, .unit = "static_scene_sensitivity" },
131+ { "low", "low static scene detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_LOW }, 0, 0, VE, .unit = "static_scene_sensitivity" },
132+ { "medium", "medium static scene detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_MEDIUM }, 0, 0, VE, .unit = "static_scene_sensitivity" },
133+ { "high", "high static scene detection sensitivity", 0, AV_OPT_TYPE_CONST, {.i64 = AMF_PA_STATIC_SCENE_DETECTION_SENSITIVITY_HIGH }, 0, 0, VE, .unit = "static_scene_sensitivity" },
134134
135135 { "pa_initial_qp_after_scene_change", "The QP value that is used immediately after a scene change", OFFSET(pa_initial_qp), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, 51, VE },
136136 { "pa_max_qp_before_force_skip", "The QP threshold to allow a skip frame", OFFSET(pa_max_qp), AV_OPT_TYPE_INT, {.i64 = -1 }, -1, 51, VE },
@@ -261,7 +261,7 @@ static av_cold int amf_encode_init_hevc(AVCodecContext *avctx) · 124 unmodified lines
261261 // Color Transfer Characteristics (AMF matches ISO/IEC)
262262 if(avctx->color_trc != AVCOL_TRC_UNSPECIFIED && (pix_fmt == AV_PIX_FMT_NV12 || pix_fmt == AV_PIX_FMT_P010)){
263263 // if input is YUV, color_trc is for VUI only - any value
264− // AMF VCN color coversion supports only specifc output transfer characterstic SMPTE2084 for 10-bit and BT709 for 8-bit
264+ // AMF VCN color conversion supports only specific output transfer characteristic SMPTE2084 for 10-bit and BT709 for 8-bit
265265 // vpp_amf supports more
266266 AMF_ASSIGN_PROPERTY_INT64(res, ctx->encoder, AMF_VIDEO_ENCODER_HEVC_OUTPUT_TRANSFER_CHARACTERISTIC, avctx->color_trc);
267267 }
@@ -269,7 +269,7 @@ static av_cold int amf_encode_init_hevc(AVCodecContext *avctx) · 1 unmodified line
269269 // Color Primaries (AMF matches ISO/IEC)
270270 if(avctx->color_primaries != AVCOL_PRI_UNSPECIFIED && (pix_fmt == AV_PIX_FMT_NV12 || pix_fmt == AV_PIX_FMT_P010)){
271271 // if input is YUV, color_primaries are for VUI only
272− // AMF VCN color coversion supports only specifc output primaries BT2020 for 10-bit and BT709 for 8-bit
272+ // AMF VCN color conversion supports only specific output primaries BT2020 for 10-bit and BT709 for 8-bit
273273 // vpp_amf supports more
274274 AMF_ASSIGN_PROPERTY_INT64(res, ctx->encoder, AMF_VIDEO_ENCODER_HEVC_OUTPUT_COLOR_PRIMARIES, avctx->color_primaries);
275275 }
libavcodec/aptx.h+1−1
@@ -108,7 +108,7 @@ typedef const struct { · 107 unmodified lines
108108
109109 extern ConstTables ff_aptx_quant_tables[2][NB_SUBBANDS];
110110
111−/* Rounded right shift with optionnal clipping */
111+/* Rounded right shift with optional clipping */
112112 #define RSHIFT_SIZE(size) \
113113 av_always_inline \
114114 static int##size##_t rshift##size(int##size##_t value, int shift) \
libavcodec/arm/hevcdsp_idct_neon.S+1−1
@@ -783,7 +783,7 @@ endfunc · 782 unmodified lines
783783 transpose8_4x4 d29, d3, d21, d23
784784 store16 d22, d23, d20, d21, d2, d3, d28, d29, r8
785785
786− @ reload multiplication coefficiens to q1
786+ @ reload multiplication coefficients to q1
787787 vld1.s16 {q1}, [r9, :128]
788788 .endm
789789
libavcodec/arm/hevcdsp_sao_neon.S+1−1
@@ -100,7 +100,7 @@ function ff_hevc_sao_edge_filter_neon_8, export=1 · 99 unmodified lines
100100 mov r12, r4 // r12 = height
101101 mov r6, r0 // r6 = r0 = dst
102102 mov r7, r1 // r7 = r1 = src
103− vld1.8 {d0}, [r11] // edge_idx tabel load in d0 5x8bit
103+ vld1.8 {d0}, [r11] // edge_idx table load in d0 5x8bit
104104 vld1.16 {q1}, [r10] // sao_offset_val table load in q1, 5x16bit
105105 vmov.u8 d1, #2
106106 vmov.u16 q2, #1
libavcodec/ass_split.c+1−1
@@ -1,5 +1,5 @@
11 /*
2− * SSA/ASS spliting functions
2+ * SSA/ASS splitting functions
33 * Copyright (c) 2010 Aurelien Jacobs <aurel@gnuage.org>
44 *
55 * This file is part of FFmpeg.
libavcodec/ass_split.h+1−1
@@ -1,5 +1,5 @@
11 /*
2− * SSA/ASS spliting functions
2+ * SSA/ASS splitting functions
33 * Copyright (c) 2010 Aurelien Jacobs <aurel@gnuage.org>
44 *
55 * This file is part of FFmpeg.
libavcodec/atrac3plusdsp.c+1−1
@@ -114,7 +114,7 @@ av_cold void ff_atrac3p_init_dsp_static(void) · 113 unmodified lines
114114 * @param[in] fdsp ptr to floating-point DSP context
115115 * @param[in] invert_phase flag indicating 180° phase shift
116116 * @param[in] reg_offset region offset for trimming envelope data
117− * @param[out] out receives sythesized data
117+ * @param[out] out receives synthesized data
118118 */
119119 static void waves_synth(Atrac3pWaveSynthParams *synth_param,
120120 Atrac3pWavesData *waves_info,
libavcodec/atrac9dec.c+4−4
@@ -80,7 +80,7 @@ typedef struct ATRAC9BlockData { · 79 unmodified lines
8080 int cpe_base_channel;
8181 int is_signs[30];
8282
83− int reuseable;
83+ int reusable;
8484
8585 } ATRAC9BlockData;
8686
@@ -689,7 +689,7 @@ static int atrac9_decode_block(ATRAC9Context *s, GetBitContext *gb, · 602 unmodified lines
689689 if (!reuse_params) {
690690 int stereo_band, ext_band;
691691 const int min_band_count = s->samplerate_idx > 7 ? 1 : 3;
692− b->reuseable = 0;
692+ b->reusable = 0;
693693 b->band_count = get_bits(gb, 4) + min_band_count;
694694 b->q_unit_cnt = at9_tab_band_q_unit_map[b->band_count];
695695
@@ -721,9 +721,9 @@ static int atrac9_decode_block(ATRAC9Context *s, GetBitContext *gb, · 25 unmodified lines
721721 }
722722 b->band_ext_q_unit = at9_tab_band_q_unit_map[ext_band];
723723 }
724− b->reuseable = 1;
724+ b->reusable = 1;
725725 }
726− if (!b->reuseable) {
726+ if (!b->reusable) {
727727 av_log(s->avctx, AV_LOG_ERROR, "invalid block reused!\n");
728728 return AVERROR_INVALIDDATA;
729729 }
libavcodec/avcodec.h+2−2
@@ -225,7 +225,7 @@ typedef struct RcOverride{ · 224 unmodified lines
225225 #define AV_CODEC_FLAG_QPEL (1 << 4)
226226 /**
227227 * Request the encoder to output reconstructed frames, i.e.\ frames that would
228− * be produced by decoding the encoded bistream. These frames may be retrieved
228+ * be produced by decoding the encoded bitstream. These frames may be retrieved
229229 * by calling avcodec_receive_frame() immediately after a successful call to
230230 * avcodec_receive_packet().
231231 *
@@ -2900,7 +2900,7 @@ int avcodec_fill_audio_frame(AVFrame *frame, int nb_channels, · 2668 unmodified lines
29002900 *
29012901 * @note for encoders, this function will only do something if the encoder
29022902 * declares support for AV_CODEC_CAP_ENCODER_FLUSH. When called, the encoder
2903− * will drain any remaining packets, and can then be re-used for a different
2903+ * will drain any remaining packets, and can then be reused for a different
29042904 * stream (as opposed to sending a null frame which will leave the encoder
29052905 * in a permanent EOF state after draining). This can be desirable if the
29062906 * cost of tearing down and replacing the encoder instance is high.
libavcodec/bsf/h266_metadata.c+1−1
@@ -80,7 +80,7 @@ static int h266_metadata_update_fragment(AVBSFContext *bsf, AVPacket *pkt, · 79 unmodified lines
8080 }
8181 }
8282 if (!ph) {
83− av_log(bsf, AV_LOG_ERROR, "no avaliable picture header");
83+ av_log(bsf, AV_LOG_ERROR, "no available picture header");
8484 return AVERROR_INVALIDDATA;
8585 }
8686
libavcodec/cavsdec.c+1−1
@@ -1184,7 +1184,7 @@ static int decode_seq_header(AVSContext *h) · 1183 unmodified lines
11841184 h->profile = get_bits(&h->gb, 8);
11851185 if (h->profile != 0x20) {
11861186 avpriv_report_missing_feature(h->avctx,
1187− "only supprt JiZhun profile");
1187+ "only support JiZhun profile");
11881188 return AVERROR_PATCHWELCOME;
11891189 }
11901190 h->level = get_bits(&h->gb, 8);
libavcodec/cbs.h+1−1
@@ -516,7 +516,7 @@ enum CbsDiscardFlags { · 515 unmodified lines
516516 };
517517
518518 /**
519− * Discard units accroding to 'skip'.
519+ * Discard units according to 'skip'.
520520 */
521521 void CBS_FUNC(discard_units)(CodedBitstreamContext *ctx,
522522 CodedBitstreamFragment *frag,
libavcodec/cbs_h266_syntax_template.c+1−1
@@ -1725,7 +1725,7 @@ static int FUNC(pps) (CodedBitstreamContext *ctx, RWContext *rw, · 1724 unmodified lines
17251725 current->pps_pic_height_in_luma_samples !=
17261726 sps->sps_pic_height_max_in_luma_samples)) {
17271727 av_log(ctx->log_ctx, AV_LOG_ERROR,
1728− "Resoltuion change is not allowed, "
1728+ "Resolution change is not allowed, "
17291729 "in max resolution (%ux%u) mismatched with pps(%ux%u).\n",
17301730 sps->sps_pic_width_max_in_luma_samples,
17311731 sps->sps_pic_height_max_in_luma_samples,
libavcodec/cbs_internal.h+2−2
@@ -273,7 +273,7 @@ int CBS_FUNC(write_signed)(CodedBitstreamContext *ctx, PutBitContext *pbc, · 272 unmodified lines
273273 } while (0)
274274
275275 // End of a syntax element which is made up of subelements which
276−// are aleady traced, so we are only showing the value.
276+// are already traced, so we are only showing the value.
277277 #define CBS_TRACE_READ_END_VALUE_ONLY() \
278278 do { \
279279 if (ctx->trace_enable) { \
@@ -310,7 +310,7 @@ int CBS_FUNC(write_signed)(CodedBitstreamContext *ctx, PutBitContext *pbc, · 30 unmodified lines
310310 } while (0)
311311
312312 // End of a syntax element which is made up of subelements which are
313−// aleady traced, so we are only showing the value. This forges a
313+// already traced, so we are only showing the value. This forges a
314314 // PutBitContext to point to the position of the start of the syntax
315315 // element, but the other state doesn't matter because length is zero.
316316 #define CBS_TRACE_WRITE_END_VALUE_ONLY() \
libavcodec/ccaption_dec.c+1−1
@@ -814,7 +814,7 @@ static int process_cc608(CCaptionSubContext *ctx, uint8_t hi, uint8_t lo) · 813 unmodified lines
814814 break;
815815 case 0x2e:
816816 /* erase buffered (non displayed) memory */
817− // Only in realtime mode. In buffered mode, we re-use the inactive screen
817+ // Only in realtime mode. In buffered mode, we reuse the inactive screen
818818 // for our own buffering.
819819 if (ctx->real_time) {
820820 struct Screen *screen = ctx->screen + !ctx->active_screen;
libavcodec/codec_par.h+1−1
@@ -148,7 +148,7 @@ typedef struct AVCodecParameters { · 147 unmodified lines
148148 * durations. Should be set to { 0, 1 } when some frames have differing
149149 * durations or if the value is not known.
150150 *
151− * @note This field correponds to values that are stored in codec-level
151+ * @note This field corresponds to values that are stored in codec-level
152152 * headers and is typically overridden by container/transport-layer
153153 * timestamps, when available. It should thus be used only as a last resort,
154154 * when no higher-level timing information is available.
libavcodec/dca_xll.c+2−2
@@ -311,7 +311,7 @@ static int chs_parse_header(DCAXllDecoder *s, DCAXllChSet *c, DCAExssAsset *asse · 310 unmodified lines
311311 b->highest_pred_order = b->adapt_pred_order[i];
312312 }
313313 if (b->highest_pred_order > s->nsegsamples) {
314− av_log(s->avctx, AV_LOG_ERROR, "Invalid XLL adaptive predicition order\n");
314+ av_log(s->avctx, AV_LOG_ERROR, "Invalid XLL adaptive prediction order\n");
315315 return AVERROR_INVALIDDATA;
316316 }
317317
@@ -666,7 +666,7 @@ static void chs_filter_band_data(DCAXllDecoder *s, DCAXllChSet *c, int band) · 348 unmodified lines
666666 }
667667 }
668668
669− // Inverse pairwise channel decorrellation
669+ // Inverse pairwise channel decorrelation
670670 if (b->decor_enabled) {
671671 int32_t *tmp[DCA_XLL_CHANNELS_MAX];
672672
libavcodec/dcaenc.c+1−1
@@ -854,7 +854,7 @@ static int init_quantization_noise(DCAEncContext *c, int noise, int forbid_zero) · 853 unmodified lines
854854 if (c->lfe_channel)
855855 c->consumed_bits += 72;
856856
857− /* attempt to guess the bit distribution based on the prevoius frame */
857+ /* attempt to guess the bit distribution based on the previous frame */
858858 for (ch = 0; ch < c->fullband_channels; ch++) {
859859 for (band = 0; band < 32; band++) {
860860 int snr_cb = c->peak_cb[ch][band] - c->band_masking_cb[band] - noise;
libavcodec/diracdec.c+1−1
@@ -826,7 +826,7 @@ static int subband_coeffs(const DiracContext *s, int x, int y, int p, · 825 unmodified lines
826826 int level, coef = 0;
827827 for (level = 0; level < s->wavelet_depth; level++) {
828828 SliceCoeffs *o = &c[level];
829− const SubBand *b = &s->plane[p].band[level][3]; /* orientation doens't matter */
829+ const SubBand *b = &s->plane[p].band[level][3]; /* orientation doesn't matter */
830830 o->top = b->height * y / s->num_y;
831831 o->left = b->width * x / s->num_x;
832832 o->tot_h = ((b->width * (x + 1)) / s->num_x) - o->left;
libavcodec/dovi_rpudec.c+1−1
@@ -365,7 +365,7 @@ int ff_dovi_rpu_parse(DOVIContext *s, const uint8_t *rpu, size_t rpu_size, · 364 unmodified lines
365365
366366 /* Container */
367367 if (s->cfg.dv_profile == 10 /* dav1.10 */) {
368− /* DV inside AV1 re-uses an EMDF container skeleton, but with fixed
368+ /* DV inside AV1 reuses an EMDF container skeleton, but with fixed
369369 * values - so we can effectively treat this as a magic byte sequence.
370370 *
371371 * The exact fields are, as follows:
libavcodec/dovi_rpuenc.c+1−1
@@ -300,7 +300,7 @@ static int cmp_dm_level0(const AVDOVIColorMetadata *dm1, · 299 unmodified lines
300300 sizeof(AVDOVIColorMetadata) -offsetof(AVDOVIColorMetadata, signal_eotf));
301301 }
302302
303−/* Tries to re-use the static ext blocks. May reorder `ext->dm_static` */
303+/* Tries to reuse the static ext blocks. May reorder `ext->dm_static` */
304304 static int try_reuse_ext(DOVIExt *ext, const AVDOVIMetadata *metadata)
305305 {
306306 int i, j, idx = 0;
libavcodec/evc.h+1−1
@@ -56,7 +56,7 @@ enum EVCNALUnitType { · 55 unmodified lines
5656 EVC_RSV_VCL_NUT22 = 22,
5757 EVC_RSV_VCL_NUT23 = 23,
5858 EVC_SPS_NUT = 24, /* Sequence parameter set */
59− EVC_PPS_NUT = 25, /* Picture paremeter set */
59+ EVC_PPS_NUT = 25, /* Picture parameter set */
6060 EVC_APS_NUT = 26, /* Adaptation parameter set */
6161 EVC_FD_NUT = 27, /* Filler data */
6262 EVC_SEI_NUT = 28, /* Supplemental enhancement information */
libavcodec/evc_parse.h+1−1
@@ -31,7 +31,7 @@ · 30 unmodified lines
3131 #include "evc.h"
3232 #include "evc_ps.h"
3333
34−// The sturcture reflects Slice Header RBSP(raw byte sequence payload) layout
34+// The structure reflects Slice Header RBSP(raw byte sequence payload) layout
3535 // @see ISO_IEC_23094-1 section 7.3.2.6
3636 //
3737 // The following descriptors specify the parsing process of each element
libavcodec/evc_ps.h+1−1
@@ -102,7 +102,7 @@ typedef struct VUIParameters { · 101 unmodified lines
102102 HRDParameters hrd_parameters;
103103 } VUIParameters;
104104
105−// The sturcture reflects SPS RBSP(raw byte sequence payload) layout
105+// The structure reflects SPS RBSP(raw byte sequence payload) layout
106106 // @see ISO_IEC_23094-1 section 7.3.2.1
107107 //
108108 // The following descriptors specify the parsing process of each element
libavcodec/evrcdec.c+1−1
@@ -182,7 +182,7 @@ static evrc_packet_rate buf_size2bitrate(const int buf_size) · 181 unmodified lines
182182 *
183183 * @param avctx the AV codec context
184184 * @param buf_size length of the buffer
185− * @param buf the bufffer
185+ * @param buf the buffer
186186 *
187187 * @return the bitrate on success,
188188 * RATE_ERRS if the bitrate cannot be satisfactorily determined
libavcodec/ffv1enc.c+1−1
@@ -979,7 +979,7 @@ static av_cold int encode_init_internal(AVCodecContext *avctx) · 978 unmodified lines
979979 if ((ret = ff_ffv1_common_init(avctx, s)) < 0)
980980 return ret;
981981
982− if (s->ac == 1) // Compatbility with common command line usage
982+ if (s->ac == 1) // Compatibility with common command line usage
983983 s->ac = AC_RANGE_CUSTOM_TAB;
984984 else if (s->ac == AC_RANGE_DEFAULT_TAB_FORCE)
985985 s->ac = AC_RANGE_DEFAULT_TAB;
libavcodec/flac_parse.h+1−1
@@ -58,7 +58,7 @@ typedef struct FLACFrameInfo { · 57 unmodified lines
5858 * @param[out] s where parsed information is stored
5959 * @param[in] buffer pointer to start of 34-byte streaminfo data
6060 *
61− * @return negative error code on faiure or >= 0 on success
61+ * @return negative error code on failure or >= 0 on success
6262 */
6363 int ff_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo *s,
6464 const uint8_t *buffer);
libavcodec/g729postfilter.c+2−2
@@ -211,8 +211,8 @@ static int16_t long_term_filter(AudioDSPContext *adsp, int pitch_delay_int, · 210 unmodified lines
211211 /* Compute signals with non-integer delay k (with 1/8 precision),
212212 where k is in [0;6] range.
213213 Entire delay is qual to best_delay+(k+1)/8
214− This is archieved by applying an interpolation filter of
215− legth 33 to source signal. */
214+ This is achieved by applying an interpolation filter of
215+ length 33 to source signal. */
216216 for (k = 0; k < ANALYZED_FRAC_DELAYS; k++) {
217217 ff_acelp_interpolate(&delayed_signal[k][0],
218218 &sig_scaled[RES_PREV_DATA_SIZE - best_delay_int],
libavcodec/h264_parse.h+1−1
@@ -36,7 +36,7 @@ · 35 unmodified lines
3636 #define MB_TYPE_REF0 MB_TYPE_CODEC_SPECIFIC
3737 #define MB_TYPE_8x8DCT 0x01000000
3838
39−// This table must be here because scan8[constant] must be known at compiletime
39+// This table must be here because scan8[constant] must be known at compile time
4040 static const uint8_t scan8[16 * 3 + 3] = {
4141 4 + 1 * 8, 5 + 1 * 8, 4 + 2 * 8, 5 + 2 * 8,
4242 6 + 1 * 8, 7 + 1 * 8, 6 + 2 * 8, 7 + 2 * 8,
libavcodec/h264dec.c+1−1
@@ -754,7 +754,7 @@ static int decode_nal_units(H264Context *h, AVBufferRef *buf_ref, · 753 unmodified lines
754754 if (h->cur_pic_ptr->decode_error_flags) {
755755 /* Frame-threading in use */
756756 atomic_int *decode_error = h->cur_pic_ptr->decode_error_flags;
757− /* Using atomics here is not supposed to provide syncronisation;
757+ /* Using atomics here is not supposed to provide synchronisation;
758758 * they are merely used to allow to set decode_error from both
759759 * decoding threads in case of coded slices. */
760760 atomic_fetch_or_explicit(decode_error, FF_DECODE_ERROR_DECODE_SLICES,
libavcodec/h264dec.h+1−1
@@ -541,7 +541,7 @@ typedef struct H264Context { · 540 unmodified lines
541541 * all subsequently output fraames are also marked as recovered
542542 *
543543 * In effect, if you want all subsequent DECODED frames marked as recovered, set frame_recovered
544− * If you want all subsequent DISPAYED frames marked as recovered, set the frame->recovered
544+ * If you want all subsequent DISPLAYED frames marked as recovered, set the frame->recovered
545545 */
546546 int frame_recovered;
547547
libavcodec/h274.c+2−2
@@ -96,7 +96,7 @@ static void init_slice_c(int8_t out[64][64], uint8_t h, uint8_t v, · 95 unmodified lines
9696 }
9797 }
9898
99− // Deblock horizontal edges by simple attentuation of values
99+ // Deblock horizontal edges by simple attenuation of values
100100 for (int y = 0; y < 64; y += 8) {
101101 for (int x = 0; x < 64; x++) {
102102 out[y + 0][x] = (out[y + 0][x] * deblock_coeff) >> 7;
@@ -239,7 +239,7 @@ int ff_h274_apply_film_grain(AVFrame *out_frame, const AVFrame *in_frame, · 136 unmodified lines
239239
240240 uint8_t * const out = out_frame->data[c];
241241 const int out_stride = out_frame->linesize[c];
242− int8_t * const grain = out_frame->data[c]; // re-use output buffer for grain
242+ int8_t * const grain = out_frame->data[c]; // reuse output buffer for grain
243243 const int grain_stride = out_stride;
244244 const uint8_t * const in = in_frame->data[c];
245245 const int in_stride = in_frame->linesize[c];
libavcodec/hapenc.c+1−1
@@ -305,7 +305,7 @@ static av_cold int hap_init(AVCodecContext *avctx) · 304 unmodified lines
305305 }
306306 break;
307307 default:
308− av_log(avctx, AV_LOG_ERROR, "Invalid compresor %02X\n", ctx->opt_compressor);
308+ av_log(avctx, AV_LOG_ERROR, "Invalid compressor %02X\n", ctx->opt_compressor);
309309 return AVERROR_INVALIDDATA;
310310 }
311311 if (corrected_chunk_count != ctx->opt_chunk_count) {
libavcodec/hevc/hevcdec.c+2−2
@@ -3544,7 +3544,7 @@ static int decode_slice(HEVCContext *s, unsigned nal_idx, GetBitContext *gb) · 3543 unmodified lines
35443544
35453545 ret = hls_slice_header(&s->sh, s, gb);
35463546 if (ret < 0) {
3547− // hls_slice_header() does not cleanup on failure thus the state now is inconsistant so we cannot use it on depandant slices
3547+ // hls_slice_header() does not cleanup on failure thus the state now is inconsistent so we cannot use it on dependent slices
35483548 s->slice_initialized = 0;
35493549 return ret;
35503550 }
@@ -4206,7 +4206,7 @@ static void hevc_decode_flush(AVCodecContext *avctx) · 655 unmodified lines
42064206 static const AVOption options[] = {
42074207 { "apply_defdispwin", "Apply default display window from VUI", OFFSET(apply_defdispwin),
42084208 AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, PAR },
4209− { "strict-displaywin", "stricly apply default display window size", OFFSET(apply_defdispwin),
4209+ { "strict-displaywin", "strictly apply default display window size", OFFSET(apply_defdispwin),
42104210 AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, PAR },
42114211 { "view_ids", "Array of view IDs that should be decoded and output; a single -1 to decode all views",
42124212 .offset = OFFSET(view_ids), .type = AV_OPT_TYPE_INT | AV_OPT_TYPE_FLAG_ARRAY,
libavcodec/ilbcdec.c+3−3
@@ -1097,7 +1097,7 @@ static void do_plc(int16_t *plc_residual, /* (o) concealed residual */ · 1096 unmodified lines
10971097 use_gain = 29491; /* 0.9 in Q15 */
10981098 }
10991099
1100− /* Compute mixing factor of picth repeatition and noise:
1100+ /* Compute mixing factor of picth repetition and noise:
11011101 for max_per>0.7 set periodicity to 1.0
11021102 0.4<max_per<0.7 set periodicity to (maxper-0.4)/0.7-0.4)
11031103 max_per<0.4 set periodicity to 0.0
@@ -1142,7 +1142,7 @@ static void do_plc(int16_t *plc_residual, /* (o) concealed residual */ · 38 unmodified lines
11421142 randvec[i] = s->prevResidual[pick];
11431143 }
11441144
1145− /* pitch repeatition component */
1145+ /* pitch repetition component */
11461146 pick = i - use_lag;
11471147
11481148 if (pick < 0) {
@@ -1160,7 +1160,7 @@ static void do_plc(int16_t *plc_residual, /* (o) concealed residual */ · 11 unmodified lines
11601160 tot_gain = SPL_MUL_16_16_RSFT(29491, use_gain, 15); /* 0.9*use_gain */
11611161 }
11621162
1163− /* mix noise and pitch repeatition */
1163+ /* mix noise and pitch repetition */
11641164 plc_residual[i] = SPL_MUL_16_16_RSFT(tot_gain, (pitchfact * plc_residual[i] + (32767 - pitchfact) * randvec[i] + 16384) >> 15, 15);
11651165
11661166 /* Shifting down the result one step extra to ensure that no overflow
libavcodec/j2kenc.c+1−1
@@ -1802,7 +1802,7 @@ static int j2kenc_destroy(AVCodecContext *avctx) · 1801 unmodified lines
18021802 return 0;
18031803 }
18041804
1805−// taken from the libopenjpeg wraper so it matches
1805+// taken from the libopenjpeg wrapper so it matches
18061806
18071807 #define OFFSET(x) offsetof(Jpeg2000EncoderContext, x)
18081808 #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
libavcodec/jpeg2000dec.c+2−2
@@ -1362,7 +1362,7 @@ static int jpeg2000_decode_packet(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile, · 1361 unmodified lines
13621362 }
13631363 bits_to_read = (uint8_t) (bits_to_read + cblk->lblock);
13641364 segment_bytes = get_bits(s, bits_to_read);
1365− // Write length information for HT Refinment segment
1365+ // Write length information for HT Refinement segment
13661366 cblk->pass_lengths[1] += segment_bytes;
13671367 } else if (!(cblk->modes & (JPEG2000_CBLK_TERMALL | JPEG2000_CBLK_BYPASS))) {
13681368 // Common case for non-HT code-blocks; we have only one segment
@@ -2814,7 +2814,7 @@ static av_cold int jpeg2000_decode_init(AVCodecContext *avctx) · 1445 unmodified lines
28142814 Jpeg2000DecoderContext *s = avctx->priv_data;
28152815
28162816 if (avctx->lowres)
2817− av_log(avctx, AV_LOG_WARNING, "lowres is overriden by reduction_factor but set anyway\n");
2817+ av_log(avctx, AV_LOG_WARNING, "lowres is overridden by reduction_factor but set anyway\n");
28182818 if (!s->reduction_factor && avctx->lowres < JPEG2000_MAX_RESLEVELS) {
28192819 s->reduction_factor = avctx->lowres;
28202820 }
libavcodec/libaribcaption.c+1−1
@@ -250,7 +250,7 @@ static uint8_t clut_pick_or_set(ARIBCaptionContext *ctx, int r, int g, int b, in · 249 unmodified lines
250250 return c;
251251 }
252252
253−/* initialiaze CLUT with each character colors */
253+/* initialize CLUT with each character colors */
254254 static void clut_init(ARIBCaptionContext *ctx, aribcc_caption_region_t *region)
255255 {
256256 aribcc_color_t text_color, back_color, stroke_color;
libavcodec/libjxlenc.c+1−1
@@ -93,7 +93,7 @@ static float quality_to_distance(float quality) · 92 unmodified lines
9393 }
9494
9595 /**
96− * Initalize the encoder on a per-file basis. All of these need to be set
96+ * Initialize the encoder on a per-file basis. All of these need to be set
9797 * once each time the encoder is reset, which is each frame for still
9898 * images, to make the image2 muxer work. For animation this is run once.
9999 *
libavcodec/liboapvenc.c+2−2
@@ -44,7 +44,7 @@ · 43 unmodified lines
4444 #define MAX_BS_BUF (128 * 1024 * 1024)
4545 #define MAX_NUM_FRMS (1) // supports only 1-frame in an access unit
4646 #define FRM_IDX (0) // supports only 1-frame in an access unit
47−#define MAX_NUM_CC (OAPV_MAX_CC) // Max number of color componets (upto 4:4:4:4)
47+#define MAX_NUM_CC (OAPV_MAX_CC) // Max number of color components (upto 4:4:4:4)
4848
4949 /**
5050 * The structure stores all the states associated with the instance of APV encoder
@@ -393,7 +393,7 @@ static int liboapve_encode(AVCodecContext *avctx, AVPacket *avpkt, · 342 unmodified lines
393393 uint8_t *data = apv->bitb.addr;
394394 int size = apv->stat.write;
395395
396− // The encoder may return a "Raw bitstream" formated AU, including au_size.
396+ // The encoder may return a "Raw bitstream" formatted AU, including au_size.
397397 // Discard it as we only need the access_unit() structure.
398398 if (size > 4 && AV_RB32(data) != APV_SIGNATURE) {
399399 data += 4;
libavcodec/loongarch/hevc_mc.S+2−2
@@ -674,7 +674,7 @@ endfunc · 673 unmodified lines
674674 vdp2.h.bu.b \out1, \in1, vr5
675675 vdp2.h.bu.b vr12, \in2, vr5
676676 vdp2.h.bu.b vr20, \in3, vr5
677− vbsrl.v \in0, \in0, 1 //Back up previous 7 loaded datas,
677+ vbsrl.v \in0, \in0, 1 //Back up previous 7 loaded data,
678678 vbsrl.v \in1, \in1, 1 //so just need to insert the 8th
679679 vbsrl.v \in2, \in2, 1 //load in the next loop.
680680 vbsrl.v \in3, \in3, 1
@@ -903,7 +903,7 @@ endfunc · 222 unmodified lines
903903 xvhaddw.d.h xr7
904904 xvhaddw.d.h xr8
905905 xvhaddw.d.h xr9
906− xvbsrl.v xr14, xr14, 1 //Back up previous 7 loaded datas,
906+ xvbsrl.v xr14, xr14, 1 //Back up previous 7 loaded data,
907907 xvbsrl.v xr15, xr15, 1 //so just need to insert the 8th
908908 xvbsrl.v xr16, xr16, 1 //load in next loop.
909909 xvbsrl.v xr17, xr17, 1
libavcodec/loongarch/loongson_asm.S+1−1
@@ -332,7 +332,7 @@ ASM_PREF\name: ; · 331 unmodified lines
332332
333333 /*
334334 * Description : Store elements of vector
335− * vd : Data vector to be stroed
335+ * vd : Data vector to be stored
336336 * rk : Address of data storage
337337 * ra : Offset of address
338338 * si : Index of data in vd
libavcodec/loongarch/vc1dsp_loongarch.h+1−1
@@ -30,7 +30,7 @@ void ff_vc1_inv_trans_8x8_dc_lasx(uint8_t *dest, ptrdiff_t stride, int16_t *bloc · 29 unmodified lines
3030 void ff_vc1_inv_trans_8x4_lasx(uint8_t *dest, ptrdiff_t stride, int16_t *block);
3131 void ff_vc1_inv_trans_8x4_dc_lasx(uint8_t *dest, ptrdiff_t stride, int16_t *block);
3232 void ff_vc1_inv_trans_4x8_dc_lasx(uint8_t *dest, ptrdiff_t stride, int16_t *block);
33−void ff_vc1_inv_trans_4x8_lasx(uint8_t *dest, ptrdiff_t stride, int16_t *blokc);
33+void ff_vc1_inv_trans_4x8_lasx(uint8_t *dest, ptrdiff_t stride, int16_t *block);
3434 void ff_vc1_inv_trans_4x4_dc_lasx(uint8_t *dest, ptrdiff_t stride, int16_t *block);
3535 void ff_vc1_inv_trans_4x4_lasx(uint8_t *dest, ptrdiff_t stride, int16_t *block);
3636
libavcodec/magicyuvenc.c+1−1
@@ -50,7 +50,7 @@ typedef struct HuffEntry { · 49 unmodified lines
5050
5151 typedef struct PTable {
5252 int value; ///< input value
53− int64_t prob; ///< number of occurences of this value in input
53+ int64_t prob; ///< number of occurrences of this value in input
5454 } PTable;
5555
5656 typedef struct Slice {
libavcodec/mjpegdec.c+1−1
@@ -2124,7 +2124,7 @@ static int mjpeg_decode_app(MJpegDecodeContext *s) · 2123 unmodified lines
21242124 av_log(s->avctx, AV_LOG_WARNING, "Invalid number of markers coded in APP2\n");
21252125 goto out;
21262126 } else if (s->iccnum != 0 && nummarkers != s->iccnum) {
2127− av_log(s->avctx, AV_LOG_WARNING, "Mistmatch in coded number of ICC markers between markers\n");
2127+ av_log(s->avctx, AV_LOG_WARNING, "Mismatch in coded number of ICC markers between markers\n");
21282128 goto out;
21292129 } else if (seqno > nummarkers) {
21302130 av_log(s->avctx, AV_LOG_WARNING, "Mismatching sequence number and coded number of ICC markers\n");
libavcodec/mjpegenc_huffman.c+2−2
@@ -30,7 +30,7 @@ · 29 unmodified lines
3030 */
3131 typedef struct PTable {
3232 int value; ///< input value
33− int prob; ///< number of occurences of this value in input
33+ int prob; ///< number of occurrences of this value in input
3434 } PTable;
3535
3636 /**
@@ -179,7 +179,7 @@ void ff_mjpeg_encode_huffman_close(MJpegEncHuffmanContext *s, uint8_t bits[17], · 142 unmodified lines
179179
180180 // val_counts[0] is the fake element we added earlier.
181181 av_assert1(val_counts[0].prob == 0 && val_counts[0].value == 256);
182− // The following loop puts the values with higher occurence first,
182+ // The following loop puts the values with higher occurrence first,
183183 // ensuring that they get the shorter codes.
184184 for (int i = 0; i < nval; ++i)
185185 val[i] = val_counts[nval - i].value;
libavcodec/mlz.h+1−1
@@ -42,7 +42,7 @@ typedef struct MLZDict { · 41 unmodified lines
4242 int match_len;
4343 } MLZDict;
4444
45−/** MLZ data strucure
45+/** MLZ data structure
4646 */
4747 typedef struct MLZ {
4848 int dic_code_bit;
libavcodec/movtextenc.c+1−1
@@ -259,7 +259,7 @@ static int encode_sample_description(AVCodecContext *avctx) · 258 unmodified lines
259259 // Build font table
260260 // We can't build a complete font table since that would require
261261 // scanning all dialogs first. But we can at least fill in what
262− // is avaiable in the ASS header
262+ // is available in the ASS header
263263 if (style && ass->styles_count) {
264264 // Find unique font names
265265 if (style->font_name) {
libavcodec/mpeg4videodec.c+1−1
@@ -3592,7 +3592,7 @@ int ff_mpeg4_parse_picture_header(Mpeg4DecContext *ctx, GetBitContext *gb, · 3591 unmodified lines
35923592
35933593 // If we have not switched to studio profile than we also did not switch bps
35943594 // that means something else (like a previous instance) outside set bps which
3595− // would be inconsistant with the currect state, thus reset it
3595+ // would be inconsistent with the correct state, thus reset it
35963596 if (!s->studio_profile && s->avctx->bits_per_raw_sample != 8)
35973597 s->avctx->bits_per_raw_sample = 0;
35983598
libavcodec/mpegaudiodec_template.c+1−1
@@ -1770,7 +1770,7 @@ static av_cold int decode_init_mp3on4(AVCodecContext * avctx) · 1769 unmodified lines
17701770 else
17711771 s->syncword = 0xfff00000;
17721772
1773− /* Init the first mp3 decoder in standard way, so that all tables get builded
1773+ /* Init the first mp3 decoder in standard way, so that all tables get built
17741774 * We replace avctx->priv_data with the context of the first decoder so that
17751775 * decode_init() does not have to be changed.
17761776 * Other decoders will be initialized here copying data from the first context
libavcodec/mpegvideo_enc.c+1−1
@@ -1828,7 +1828,7 @@ static int select_input_picture(MPVMainEncContext *const m) · 1827 unmodified lines
18281828
18291829 if (m->reordered_input_picture[0]->shared || s->c.avctx->rc_buffer_size) {
18301830 // input is a shared pix, so we can't modify it -> allocate a new
1831− // one & ensure that the shared one is reuseable
1831+ // one & ensure that the shared one is reusable
18321832 av_frame_move_ref(s->new_pic, m->reordered_input_picture[0]->f);
18331833
18341834 ret = prepare_picture(s, m->reordered_input_picture[0]->f, s->new_pic);
libavcodec/nellymoser.c+1−1
@@ -28,7 +28,7 @@ · 27 unmodified lines
2828 /**
2929 * @file
3030 * The 3 alphanumeric copyright notices are md5summed they are from the original
31− * implementors. The original code is available from http://code.google.com/p/nelly2pcm/
31+ * implementers. The original code is available from http://code.google.com/p/nelly2pcm/
3232 */
3333
3434 #include <stdlib.h>
libavcodec/nellymoser.h+1−1
@@ -28,7 +28,7 @@ · 27 unmodified lines
2828 /**
2929 * @file
3030 * The 3 alphanumeric copyright notices are md5summed they are from the original
31− * implementors. The original code is available from http://code.google.com/p/nelly2pcm/
31+ * implementers. The original code is available from http://code.google.com/p/nelly2pcm/
3232 */
3333
3434 #ifndef AVCODEC_NELLYMOSER_H
libavcodec/nellymoserdec.c+1−1
@@ -28,7 +28,7 @@ · 27 unmodified lines
2828 /**
2929 * @file
3030 * The 3 alphanumeric copyright notices are md5summed they are from the original
31− * implementors. The original code is available from http://code.google.com/p/nelly2pcm/
31+ * implementers. The original code is available from http://code.google.com/p/nelly2pcm/
3232 */
3333
3434 #include "libavutil/channel_layout.h"
libavcodec/opus/enc.c+1−1
@@ -433,7 +433,7 @@ static void celt_encode_frame(OpusEncContext *s, OpusRangeCoder *rc, · 432 unmodified lines
433433
434434 if (f->silence) {
435435 if (f->framebits >= 16)
436− ff_opus_rc_enc_log(rc, 1, 15); /* Silence (if using explicit singalling) */
436+ ff_opus_rc_enc_log(rc, 1, 15); /* Silence (if using explicit signalling) */
437437 for (int ch = 0; ch < s->channels; ch++)
438438 memset(s->last_quantized_energy[ch], 0.0f, sizeof(float)*CELT_MAX_BANDS);
439439 return;
libavcodec/opus/tab.c+1−1
@@ -1155,7 +1155,7 @@ const uint32_t * const ff_celt_pvq_u_row[15] = { · 1154 unmodified lines
11551155 };
11561156
11571157 /* Deemphasis constant (alpha_p), as specified in RFC6716 as 0.8500061035.
1158− * libopus uses a slighly rounded constant, set to 0.85 exactly,
1158+ * libopus uses a slightly rounded constant, set to 0.85 exactly,
11591159 * to simplify its fixed-point version, but it's not significant to impact
11601160 * compliance. */
11611161 #define CELT_EMPH_COEFF 0.8500061035
libavcodec/packet.h+1−1
@@ -142,7 +142,7 @@ enum AVPacketSideDataType { · 141 unmodified lines
142142 AV_PKT_DATA_CPB_PROPERTIES,
143143
144144 /**
145− * Recommmends skipping the specified number of samples
145+ * Recommends skipping the specified number of samples
146146 * @code
147147 * u32le number of samples to skip from start of this packet
148148 * u32le number of samples to skip from end of this packet
libavcodec/pgssubdec.c+1−1
@@ -447,7 +447,7 @@ static int parse_presentation_segment(AVCodecContext *avctx, · 446 unmodified lines
447447 PGSSubObjectRef *const object = &ctx->presentation.objects[i];
448448
449449 if (buf_end - buf < 8) {
450− av_log(avctx, AV_LOG_ERROR, "Insufficent space for object\n");
450+ av_log(avctx, AV_LOG_ERROR, "Insufficient space for object\n");
451451 ctx->presentation.object_count = i;
452452 return AVERROR_INVALIDDATA;
453453 }
libavcodec/pictordec.c+1−1
@@ -172,7 +172,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *frame, · 171 unmodified lines
172172 1 byte run (=0)
173173 2 bytes run
174174 1 byte val
175− thats 5 bytes and the maximum run we can code is 65535
175+ that's 5 bytes and the maximum run we can code is 65535
176176
177177 The RLE decoder can exit prematurly but it does not on any image available
178178 Based on this the formula is assumed correct for undamaged images.
libavcodec/ppc/hpeldsp_altivec.c+1−1
@@ -46,7 +46,7 @@ void ff_put_pixels16_altivec(uint8_t *block, const uint8_t *pixels, ptrdiff_t li · 45 unmodified lines
4646 register ptrdiff_t line_size_4 = line_size * (1 << 2);
4747
4848 // hand-unrolling the loop by 4 gains about 15%
49−// mininum execution time goes from 74 to 60 cycles
49+// minimum execution time goes from 74 to 60 cycles
5050 // it's faster than -funroll-loops, but using
5151 // -funroll-loops w/ this is bad - 74 cycles again.
5252 // all this is on a 7450, tuning for the 7450
libavcodec/ppc/vp8dsp_altivec.c+1−1
@@ -312,7 +312,7 @@ static void put_vp8_pixels16_altivec(uint8_t *dst, ptrdiff_t dstride, const uint · 311 unmodified lines
312312 perm = vec_lvsl(0, src);
313313 #endif
314314 // hand-unrolling the loop by 4 gains about 15%
315−// mininum execution time goes from 74 to 60 cycles
315+// minimum execution time goes from 74 to 60 cycles
316316 // it's faster than -funroll-loops, but using
317317 // -funroll-loops w/ this is bad - 74 cycles again.
318318 // all this is on a 7450, tuning for the 7450
libavcodec/psd.c+2−2
@@ -173,10 +173,10 @@ static int decode_header(PSDContext * s) · 172 unmodified lines
173173 }
174174 bytestream2_skip(&s->gb, len_section);
175175
176− /* image ressources */
176+ /* image resources */
177177 len_section = bytestream2_get_be32(&s->gb);
178178 if (len_section < 0) {
179− av_log(s->avctx, AV_LOG_ERROR, "Negative size for image ressources section.\n");
179+ av_log(s->avctx, AV_LOG_ERROR, "Negative size for image resources section.\n");
180180 return AVERROR_INVALIDDATA;
181181 }
182182
libavcodec/qsvdec.c+3−3
@@ -696,7 +696,7 @@ static int qsv_export_hdr_side_data(AVCodecContext *avctx, mfxExtMasteringDispla · 695 unmodified lines
696696 {
697697 int ret;
698698
699− // The SDK re-uses this flag for HDR SEI parsing
699+ // The SDK reuses this flag for HDR SEI parsing
700700 if (mdcv->InsertPayloadToggle) {
701701 AVMasteringDisplayMetadata *mastering;
702702 const int mapping[3] = {2, 0, 1};
@@ -726,7 +726,7 @@ static int qsv_export_hdr_side_data(AVCodecContext *avctx, mfxExtMasteringDispla · 23 unmodified lines
726726 }
727727 }
728728
729− // The SDK re-uses this flag for HDR SEI parsing
729+ // The SDK reuses this flag for HDR SEI parsing
730730 if (clli->InsertPayloadToggle) {
731731 AVContentLightMetadata *light;
732732
@@ -1002,7 +1002,7 @@ static int qsv_process_data(AVCodecContext *avctx, QSVContext *q, · 269 unmodified lines
10021002
10031003 // sw_pix_fmt, coded_width/height should be set for ff_get_format(),
10041004 // assume sw_pix_fmt is NV12 and coded_width/height to be 1280x720,
1005− // the assumption may be not corret but will be updated after header decoded if not true.
1005+ // the assumption may be not correct but will be updated after header decoded if not true.
10061006 if (q->orig_pix_fmt != AV_PIX_FMT_NONE)
10071007 pix_fmt = q->orig_pix_fmt;
10081008 if (!avctx->coded_width)
libavcodec/qsvenc.c+1−1
@@ -2057,7 +2057,7 @@ static int submit_frame(QSVEncContext *q, const AVFrame *frame, · 2056 unmodified lines
20572057 }
20582058 } else {
20592059 /* make a copy if the input is not padded as libmfx requires */
2060− /* and to make allocation continious for data[0]/data[1] */
2060+ /* and to make allocation continuous for data[0]/data[1] */
20612061 if ((frame->height & (q->height_align - 1) || frame->linesize[0] & (q->width_align - 1)) ||
20622062 ((frame->format == AV_PIX_FMT_NV12 || frame->format == AV_PIX_FMT_P010 || frame->format == AV_PIX_FMT_P012) &&
20632063 (frame->data[1] - frame->data[0] != frame->linesize[0] * FFALIGN(qf->frame->height, q->height_align)))) {
libavcodec/riscv/aacencdsp_init.c+1−1
@@ -1,6 +1,6 @@
11 /*
22 * AAC encoder assembly optimizations
3− * Copyright (c) 2023 Institue of Software Chinese Academy of Sciences (ISCAS).
3+ * Copyright (c) 2023 Institute of Software Chinese Academy of Sciences (ISCAS).
44 *
55 * This file is part of FFmpeg.
66 *
libavcodec/riscv/aacencdsp_rvv.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2023 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2023 Institute of Software Chinese Academy of Sciences (ISCAS).
33 * Copyright © 2024 Rémi Denis-Courmont.
44 *
55 * This file is part of FFmpeg.
libavcodec/riscv/ac3dsp_rvv.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2023 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2023 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/blockdsp_init.c+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/blockdsp_rvv.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/h263dsp_rvv.S+1−1
@@ -43,7 +43,7 @@ func ff_h263_h_loop_filter_rvv, zve32x · 42 unmodified lines
4343 vsrl.vi v18, v16, 16 - 3 # v18 = (v16 < 0) ? 7 : 0
4444 slli t2, t1, 1 # 2 * strength
4545 vadd.vv v16, v16, v18
46− # v16 (d) is signed 7-bit, but later arithmetics require 9 bits.
46+ # v16 (d) is signed 7-bit, but later arithmetic require 9 bits.
4747 vsra.vi v16, v16, 3 # d
4848 vmv.v.x v20, t2
4949 vmslt.vi v0, v16, 0
libavcodec/riscv/h26x/asm.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/h26x/h2656_inter_rvv.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/h26x/h2656dsp.h+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/hevcdsp_init.c+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/me_cmp_init.c+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/me_cmp_rvv.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/rv34dsp_init.c+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/rv34dsp_rvv.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/rv40dsp_init.c+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/rv40dsp_rvv.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/svqenc_init.c+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2023 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2023 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/svqenc_rvv.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2023 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2023 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/takdsp_init.c+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2023 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2023 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/takdsp_rvv.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2023 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2023 Institute of Software Chinese Academy of Sciences (ISCAS).
33 * Copyright (c) 2023 Rémi Denis-Courmont
44 *
55 * This file is part of FFmpeg.
libavcodec/riscv/vc1dsp_init.c+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2023 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2023 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/vc1dsp_rvi.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/vc1dsp_rvv.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2023 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2023 Institute of Software Chinese Academy of Sciences (ISCAS).
33 * Copyright (c) 2024 Rémi Denis-Courmont.
44 *
55 * This file is part of FFmpeg.
libavcodec/riscv/vp8dsp_init.c+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/vp8dsp_rvi.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/vp8dsp_rvv.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 * Copyright © 2024 Rémi Denis-Courmont.
44 *
55 * This file is part of FFmpeg.
libavcodec/riscv/vp9_intra_rvv.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/vp9_mc_rvi.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/vp9_mc_rvv.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/vp9dsp.h+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/vp9dsp_init.c+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/vvc/dsp_init.c+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/vvc/mc_rvv.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/riscv/vvc/sad_rvv.S+1−1
@@ -1,5 +1,5 @@
11 /*
2− * Copyright (c) 2024 Institue of Software Chinese Academy of Sciences (ISCAS).
2+ * Copyright (c) 2024 Institute of Software Chinese Academy of Sciences (ISCAS).
33 *
44 * This file is part of FFmpeg.
55 *
libavcodec/rpzaenc.c+1−1
@@ -619,7 +619,7 @@ static void rpza_encode_stream(RpzaContext *s, const AVFrame *pict) · 618 unmodified lines
619619
620620 if (compare_blocks(&prev_pixels[pblock_offset],
621621 &src_pixels[block_offset], &bi, s->skip_frame_thresh) != 0) {
622− // write out skipable blocks
622+ // write out skippable blocks
623623 if (n_blocks) {
624624
625625 // write skip opcode
libavcodec/snowenc.c+3−3
@@ -787,7 +787,7 @@ static int get_block_rd(SnowEncContext *enc, int mb_x, int mb_y, · 786 unmodified lines
787787 int y1= FFMIN(block_h*2, h-sy);
788788 int i,x,y;
789789
790− av_assert2(s->chroma_h_shift == s->chroma_v_shift); //obmc and square assumtions below chckinhg only block_w
790+ av_assert2(s->chroma_h_shift == s->chroma_v_shift); //obmc and square assumptions below chckinhg only block_w
791791
792792 ff_snow_pred_block(s, cur, tmp, ref_stride, sx, sy, block_w*2, block_h*2, &s->block[mb_x + mb_y*b_stride], plane_index, w, h);
793793
@@ -884,7 +884,7 @@ static int get_4block_rd(SnowEncContext *enc, int mb_x, int mb_y, int plane_inde · 90 unmodified lines
884884 int rate= 0;
885885 const int penalty_factor= get_penalty_factor(enc->lambda, enc->lambda2, s->avctx->me_cmp);
886886
887− av_assert2(s->chroma_h_shift == s->chroma_v_shift); //obmc and square assumtions below
887+ av_assert2(s->chroma_h_shift == s->chroma_v_shift); //obmc and square assumptions below
888888
889889 for(i=0; i<9; i++){
890890 int mb_x2= mb_x + (i%3) - 1;
@@ -2108,7 +2108,7 @@ static const AVOption options[] = { · 1217 unmodified lines
21082108 { "iter", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = FF_ME_ITER }, 0, 0, VE, .unit = "motion_est" },
21092109 { "memc_only", "Only do ME/MC (I frames -> ref, P frame -> ME+MC).", OFFSET(memc_only), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE },
21102110 { "no_bitstream", "Skip final bitstream writeout.", OFFSET(no_bitstream), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, VE },
2111− { "intra_penalty", "Penalty for intra blocks in block decission", OFFSET(intra_penalty), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE },
2111+ { "intra_penalty", "Penalty for intra blocks in block decision", OFFSET(intra_penalty), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE },
21122112 { "iterative_dia_size", "Dia size for the iterative ME", OFFSET(iterative_dia_size), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE },
21132113 { "sc_threshold", "Scene change threshold", OFFSET(scenechange_threshold), AV_OPT_TYPE_INT, { .i64 = 0 }, INT_MIN, INT_MAX, VE },
21142114 { "pred", "Spatial decomposition type", OFFSET(pred), AV_OPT_TYPE_INT, { .i64 = 0 }, DWT_97, DWT_53, VE, .unit = "pred" },
libavcodec/speexdec.c+1−1
@@ -1299,7 +1299,7 @@ static int sb_decode(AVCodecContext *avctx, void *ptr_st, · 1298 unmodified lines
12991299 lsp_interpolate(st->old_qlsp, qlsp, interp_qlsp, st->lpc_size, sub, st->nb_subframes, 0.05f);
13001300 lsp_to_lpc(interp_qlsp, ak, st->lpc_size);
13011301
1302− /* Calculate reponse ratio between the low and high filter in the middle
1302+ /* Calculate response ratio between the low and high filter in the middle
13031303 of the band (4000 Hz) */
13041304 st->pi_gain[sub] = 1.f;
13051305 rh = 1.f;
libavcodec/tests/apv.c+1−1
@@ -285,7 +285,7 @@ static int random_coeff(AVLFG *lfg) · 284 unmodified lines
285285
286286 static int random_run(AVLFG *lfg)
287287 {
288− // Expoenential distrbution of run lengths.
288+ // Expoenential distribution of run lengths.
289289 unsigned int random = av_lfg_get(lfg);
290290 for (int len = 0;; len++) {
291291 if (random & (1 << len))
libavcodec/tests/avpacket.c+1−1
@@ -87,7 +87,7 @@ int main(void) · 86 unmodified lines
8787 /* test av_packet_alloc */
8888 avpkt = av_packet_alloc();
8989 if(!avpkt) {
90− av_log(NULL, AV_LOG_ERROR, "av_packet_alloc failed to allcoate AVPacket\n");
90+ av_log(NULL, AV_LOG_ERROR, "av_packet_alloc failed to allocate AVPacket\n");
9191 return 1;
9292 }
9393
libavcodec/tests/jpeg2000dwt.c+2−2
@@ -58,7 +58,7 @@ static int test_dwt(int *array, int *ref, int border[2][2], int decomp_levels, i · 57 unmodified lines
5858 }
5959 for (j = 0; j<MAX_W * MAX_W; j++) {
6060 if (FFABS(array[j] - (int64_t)ref[j]) > max_diff) {
61− fprintf(stderr, "missmatch at %d (%d != %d) decomp:%d border %d %d %d %d\n",
61+ fprintf(stderr, "mismatch at %d (%d != %d) decomp:%d border %d %d %d %d\n",
6262 j, array[j], ref[j],decomp_levels, border[0][0], border[0][1], border[1][0], border[1][1]);
6363 return 2;
6464 }
@@ -97,7 +97,7 @@ static int test_dwtf(float *array, float *ref, int border[2][2], int decomp_leve · 32 unmodified lines
9797 }
9898 for (j = 0; j<MAX_W * MAX_W; j++) {
9999 if (FFABS(array[j] - ref[j]) > max_diff) {
100− fprintf(stderr, "missmatch at %d (%f != %f) decomp:%d border %d %d %d %d\n",
100+ fprintf(stderr, "mismatch at %d (%f != %f) decomp:%d border %d %d %d %d\n",
101101 j, array[j], ref[j],decomp_levels, border[0][0], border[0][1], border[1][0], border[1][1]);
102102 return 2;
103103 }
libavcodec/utils.c+1−1
@@ -336,7 +336,7 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, · 335 unmodified lines
336336
337337 // H.264 uses edge emulation for out of frame motion vectors, for this
338338 // it requires a temporary area large enough to hold a 21x21 block,
339− // increasing witdth ensure that the temporary area is large enough,
339+ // increasing width ensure that the temporary area is large enough,
340340 // the next rounded up width is 32
341341 *width = FFMAX(*width, 32);
342342 }
libavcodec/v4l2_context.h+1−1
@@ -124,7 +124,7 @@ int ff_v4l2_context_get_format(V4L2Context* ctx, int probe); · 123 unmodified lines
124124 * Releases a V4L2Context.
125125 *
126126 * @param[in] ctx A pointer to a V4L2Context.
127− * The caller is reponsible for freeing it.
127+ * The caller is responsible for freeing it.
128128 * It must not be used after calling this function.
129129 */
130130 void ff_v4l2_context_release(V4L2Context* ctx);
libavcodec/v4l2_m2m_dec.c+1−1
@@ -164,7 +164,7 @@ static int v4l2_receive_frame(AVCodecContext *avctx, AVFrame *frame) · 163 unmodified lines
164164 if (!s->draining) {
165165 ret = v4l2_try_start(avctx);
166166 if (ret) {
167− /* cant recover */
167+ /* can't recover */
168168 if (ret != AVERROR(ENOMEM))
169169 ret = 0;
170170 goto fail;
libavcodec/v4l2_m2m_enc.c+1−1
@@ -187,7 +187,7 @@ static int v4l2_prepare_encoder(V4L2m2mContext *s) · 186 unmodified lines
187187 return ret;
188188
189189 /**
190− * settingss
190+ * settings
191191 */
192192 if (avctx->framerate.num || avctx->framerate.den)
193193 v4l2_set_timeperframe(s, avctx->framerate.den, avctx->framerate.num);
libavcodec/vaapi_encode_h265.c+1−1
@@ -526,7 +526,7 @@ static int vaapi_encode_h265_init_picture_params(AVCodecContext *avctx, · 525 unmodified lines
526526 priv->sei_needed = 0;
527527
528528 // Only look for the metadata on I/IDR frame on the output. We
529− // may force an IDR frame on the output where the medadata gets
529+ // may force an IDR frame on the output where the metadata gets
530530 // changed on the input frame.
531531 if ((priv->sei & SEI_MASTERING_DISPLAY) &&
532532 (pic->type == FF_HW_PICTURE_TYPE_I || pic->type == FF_HW_PICTURE_TYPE_IDR)) {
libavcodec/vbndec.c+1−1
@@ -142,7 +142,7 @@ static int vbn_decode_frame(AVCodecContext *avctx, · 141 unmodified lines
142142 return image_len;
143143
144144 if (image_len < linesize * avctx->coded_height) {
145− av_log(avctx, AV_LOG_ERROR, "Insufficent data\n");
145+ av_log(avctx, AV_LOG_ERROR, "Insufficient data\n");
146146 ret = AVERROR_INVALIDDATA;
147147 goto out;
148148 }
libavcodec/vc2enc.c+1−1
@@ -621,7 +621,7 @@ static int count_hq_slice(SliceArgs *slice, int quant_idx) · 620 unmodified lines
621621 return bits;
622622 }
623623
624−/* Approaches the best possible quantizer asymptotically, its kinda exaustive
624+/* Approaches the best possible quantizer asymptotically, its kinda exhaustive
625625 * but we have a LUT to get the coefficient size in bits. Guaranteed to never
626626 * overshoot, which is apparently very important when streaming */
627627 static int rate_control(AVCodecContext *avctx, void *arg)
libavcodec/vlc.c+1−1
@@ -491,7 +491,7 @@ static int vlc_multi_gen(VLC_MULTI_ELEM *table, const VLC *single, · 490 unmodified lines
491491 // We can only add a code that fits with the shortest other code into the table
492492 // We assume the table is sorted by bits and we skip subtables which from our
493493 // point of view are basically random corrupted entries
494− // If we have not a single useable vlc we end with max = nb_codes
494+ // If we have not a single usable vlc we end with max = nb_codes
495495 if (buf[max - 1].bits+minbits > numbits)
496496 break;
497497 }
libavcodec/vorbisdec.c+2−2
@@ -375,13 +375,13 @@ static int vorbis_parse_setup_hdr_codebooks(vorbis_context *vc) · 374 unmodified lines
375375 }
376376 ff_dlog(NULL, " We expect %d numbers for building the codevectors. \n",
377377 codebook_lookup_values);
378− ff_dlog(NULL, " delta %f minmum %f \n",
378+ ff_dlog(NULL, " delta %f minimum %f \n",
379379 codebook_delta_value, codebook_minimum_value);
380380
381381 for (i = 0; i < codebook_lookup_values; ++i) {
382382 codebook_multiplicands[i] = get_bits(gb, codebook_value_bits);
383383
384− ff_dlog(NULL, " multiplicands*delta+minmum : %e \n",
384+ ff_dlog(NULL, " multiplicands*delta+minimum : %e \n",
385385 (float)codebook_multiplicands[i] * codebook_delta_value + codebook_minimum_value);
386386 ff_dlog(NULL, " multiplicand %u\n", codebook_multiplicands[i]);
387387 }
libavcodec/vp3.c+1−1
@@ -2713,7 +2713,7 @@ static int vp3_decode_frame(AVCodecContext *avctx, AVFrame *frame, · 2712 unmodified lines
27132713 mb_height_mul = get_bits(&gb, 5);
27142714 mb_height_div = get_bits(&gb, 3);
27152715 if (mb_width_mul != 1 || mb_width_div != 1 || mb_height_mul != 1 || mb_height_div != 1)
2716− avpriv_request_sample(s->avctx, "unexpected macroblock dimension multipler/divider");
2716+ avpriv_request_sample(s->avctx, "unexpected macroblock dimension multiplier/divider");
27172717
27182718 if (get_bits(&gb, 2))
27192719 avpriv_request_sample(s->avctx, "unknown bits");
libavcodec/vp8.c+3−3
@@ -733,7 +733,7 @@ static int vp8_decode_frame_header(VP8Context *s, const uint8_t *buf, int buf_si · 732 unmodified lines
733733 int height = s->avctx->height;
734734
735735 if (buf_size < 3) {
736− av_log(s->avctx, AV_LOG_ERROR, "Insufficent data (%d) for header\n", buf_size);
736+ av_log(s->avctx, AV_LOG_ERROR, "Insufficient data (%d) for header\n", buf_size);
737737 return AVERROR_INVALIDDATA;
738738 }
739739
@@ -2416,7 +2416,7 @@ static av_always_inline int decode_mb_row_no_filter(AVCodecContext *avctx, void · 1676 unmodified lines
24162416 mb = s->macroblocks_base + ((s->mb_width + 1) * (mb_y + 1) + 1);
24172417 else {
24182418 // Make sure the previous frame has read its segmentation map,
2419− // if we re-use the same map.
2419+ // if we reuse the same map.
24202420 if (prev_frame && s->segmentation.enabled &&
24212421 !s->segmentation.update_map)
24222422 ff_progress_frame_await(&prev_frame->tf, mb_y);
@@ -2761,7 +2761,7 @@ int vp78_decode_frame(AVCodecContext *avctx, AVFrame *rframe, int *got_frame, · 338 unmodified lines
27612761
27622762 if (s->mb_layout == 1) {
27632763 // Make sure the previous frame has read its segmentation map,
2764− // if we re-use the same map.
2764+ // if we reuse the same map.
27652765 if (prev_frame && s->segmentation.enabled &&
27662766 !s->segmentation.update_map)
27672767 ff_progress_frame_await(&prev_frame->tf, 1);
libavcodec/vulkan/rangecoder.comp+1−1
@@ -189,7 +189,7 @@ void rac_init_dec(out RangeCoder r, u8buf data, uint buf_size) · 188 unmodified lines
189189 rac_init(r, OFFBUF(u8buf, data, 2), buf_size - 2);
190190
191191 u8vec2 prime = u8vec2buf(data).v;
192− /* Switch endianess of the priming bytes */
192+ /* Switch endianness of the priming bytes */
193193 r.low = pack16(prime.yx);
194194
195195 if (r.low >= 0xFF00) {
libavcodec/vulkan_decode.c+1−1
@@ -1327,7 +1327,7 @@ int ff_vk_decode_init(AVCodecContext *avctx) · 1326 unmodified lines
13271327
13281328 ff_vk_decode_flush(avctx);
13291329
1330− av_log(avctx, AV_LOG_VERBOSE, "Vulkan decoder initialization sucessful\n");
1330+ av_log(avctx, AV_LOG_VERBOSE, "Vulkan decoder initialization successful\n");
13311331
13321332 return 0;
13331333
libavcodec/vulkan_encode_h265.c+1−1
@@ -207,7 +207,7 @@ static int vk_enc_h265_update_pic_info(AVCodecContext *avctx, · 206 unmodified lines
207207 }
208208
209209 // Only look for the metadata on I/IDR frame on the output. We
210− // may force an IDR frame on the output where the medadata gets
210+ // may force an IDR frame on the output where the metadata gets
211211 // changed on the input frame.
212212 if ((enc->unit_elems & UNIT_SEI_MASTERING_DISPLAY) &&
213213 (pic->type == FF_HW_PICTURE_TYPE_I || pic->type == FF_HW_PICTURE_TYPE_IDR)) {
libavcodec/vvc/intra_utils.c+1−1
@@ -193,7 +193,7 @@ int ff_vvc_intra_inv_angle_derive(const int intra_pred_angle) · 192 unmodified lines
193193 return -ROUNDED_DIV(32*512, -intra_pred_angle);
194194 }
195195
196−//8.4.5.2.7 Wide angle intra prediction mode mapping proces
196+//8.4.5.2.7 Wide angle intra prediction mode mapping process
197197 int ff_vvc_wide_angle_mode_mapping(const CodingUnit *cu,
198198 const int tb_width, const int tb_height, const int c_idx, int pred_mode_intra)
199199 {
libavcodec/vvc/mvs.c+1−1
@@ -926,7 +926,7 @@ static void affine_cps_from_nb(const VVCLocalContext *lc, · 925 unmodified lines
926926 }
927927 }
928928
929−//derive affine neighbour's postion, width and height,
929+//derive affine neighbour's position, width and height,
930930 static int affine_neighbour_cb(const VVCFrameContext *fc, const int x_nb, const int y_nb, int *x_cb, int *y_cb, int *cbw, int *cbh)
931931 {
932932 const int log2_min_cb_size = fc->ps.sps->min_cb_log2_size_y;
libavcodec/vvc_parser.c+2−2
@@ -300,14 +300,14 @@ static int get_pu_info(PuInfo *info, const CodedBitstreamH266Context *h266, · 299 unmodified lines
300300 }
301301 info->pps = h266->pps[info->ph->ph_pic_parameter_set_id];
302302 if (!info->pps) {
303− av_log(logctx, AV_LOG_ERROR, "PPS id %d is not avaliable.\n",
303+ av_log(logctx, AV_LOG_ERROR, "PPS id %d is not available.\n",
304304 info->ph->ph_pic_parameter_set_id);
305305 ret = AVERROR_INVALIDDATA;
306306 goto error;
307307 }
308308 info->sps = h266->sps[info->pps->pps_seq_parameter_set_id];
309309 if (!info->sps) {
310− av_log(logctx, AV_LOG_ERROR, "SPS id %d is not avaliable.\n",
310+ av_log(logctx, AV_LOG_ERROR, "SPS id %d is not available.\n",
311311 info->pps->pps_seq_parameter_set_id);
312312 ret = AVERROR_INVALIDDATA;
313313 goto error;
libavcodec/x86/celt_pvq_search.asm+1−1
@@ -104,7 +104,7 @@ align 16 · 103 unmodified lines
104104 addps m5, m7 ; m5 = Sxy_new = X[i] + Sxy_norm
105105
106106 %if USE_APPROXIMATION == 1
107− andps m5, m0 ; if(X[i] == 0) Sxy_new = 0; Prevent aproximation error from setting pulses in array padding.
107+ andps m5, m0 ; if(X[i] == 0) Sxy_new = 0; Prevent approximation error from setting pulses in array padding.
108108 %endif
109109
110110 %else
libavcodec/x86/dirac_dwt.asm+1−1
@@ -1,5 +1,5 @@
11 ;******************************************************************************
2−;* x86 optimized discrete wavelet trasnform
2+;* x86 optimized discrete wavelet transform
33 ;* Copyright (c) 2010 David Conrad
44 ;*
55 ;* This file is part of FFmpeg.
libavcodec/x86/hevc/idct.asm+1−1
@@ -532,7 +532,7 @@ cglobal hevc_idct_8x8_%1, 1, 1, 8, coeffs · 531 unmodified lines
532532 ; %1, %2 - transform constants
533533 ; %3, %4 - regs with interleaved coeffs
534534 ; %5 - 1/0 SWAP or add
535−; %6, %7 - registers for intermidiate sums
535+; %6, %7 - registers for intermediate sums
536536 ; %8 - accumulator register
537537 %macro ADD_ROWS 8
538538 pmaddwd %6, %3, %1
libavcodec/x86/vp9itxfm_16bpp_avx512.asm+1−1
@@ -26,7 +26,7 @@ · 25 unmodified lines
2626
2727 SECTION_RODATA 64
2828
29−; Thw following set of constants are ordered to form the
29+; The following set of constants are ordered to form the
3030 ; qword shuffle mask { 0, 2, 4, 6, 1, 3, 5, 7 }
3131 %define deintq_perm pd_5520
3232 pd_5520: dd 5520

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t