Skip to content

Commit

Permalink
Addressing some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankGalligan committed Oct 18, 2024
1 parent db2b321 commit a410bd2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ The changes are relative to the previous release, unless the baseline is specifi
avifGainMapMetadataDouble structs.
* Add avif(Un)SignedFraction structs and avifDoubleTo(Un)SignedFraction
utility functions.
* In avif.h, changed "AVIF_SPEED_FASTEST" value to 13 from 10.

## [1.1.1] - 2024-07-30

Expand Down
2 changes: 1 addition & 1 deletion apps/avifenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ static void syntaxLong(void)
printf(" -s,--speed S : Encoder speed (%d-%d, slowest-fastest, 'default' or 'd' for codec internal defaults. default speed: 6)\n",
AVIF_SPEED_SLOWEST,
AVIF_SPEED_FASTEST);
printf(" libaom & rav1e range 0-10\n");
printf(" libaom range 0-9 & rav1e range 0-10\n");
printf("\n");
printf("Advanced options:\n");
printf(" -j,--jobs J : Number of jobs (worker threads). Use \"all\" to potentially use as many cores as possible (default: all)\n");
Expand Down
3 changes: 1 addition & 2 deletions src/codec_svt.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,10 @@ static avifResult svtCodecEncodeImage(avifCodec * codec,
if (encoder->speed != AVIF_SPEED_DEFAULT) {
#if SVT_AV1_CHECK_VERSION(0, 9, 0)
int speed = AVIF_CLAMP(encoder->speed, 0, AVIF_SPEED_FASTEST);
svt_config->enc_mode = (int8_t)speed;
#else
int speed = AVIF_CLAMP(encoder->speed, 0, 8);
svt_config->enc_mode = (int8_t)speed;
#endif
svt_config->enc_mode = (int8_t)speed;
}

if (color_format == EB_YUV422 || image->depth > 10) {
Expand Down

0 comments on commit a410bd2

Please sign in to comment.