@@ -73,7 +73,7 @@ struct encoder_struct_aom
73
73
bool lossless;
74
74
bool lossless_alpha;
75
75
bool auto_tiles;
76
- bool intra_block_copy ;
76
+ bool enable_intra_block_copy ;
77
77
78
78
#if defined(HAVE_AOM_CODEC_SET_OPTION)
79
79
std::vector<custom_option> custom_options;
@@ -163,7 +163,7 @@ static const char* kParam_alpha_min_q = "alpha-min-q";
163
163
static const char * kParam_alpha_max_q = " alpha-max-q" ;
164
164
static const char * kParam_lossless_alpha = " lossless-alpha" ;
165
165
static const char * kParam_auto_tiles = " auto-tiles" ;
166
- static const char * kParam_intra_block_copy = " intra-block-copy " ;
166
+ static const char * kParam_enable_intra_block_copy = " enable-intrabc " ;
167
167
static const char * kParam_threads = " threads" ;
168
168
static const char * kParam_realtime = " realtime" ;
169
169
static const char * kParam_speed = " speed" ;
@@ -378,7 +378,7 @@ static void aom_init_parameters()
378
378
#if defined(AOM_CTRL_AV1E_SET_ENABLE_INTRABC)
379
379
assert (i < MAX_NPARAMETERS);
380
380
p->version = 2 ;
381
- p->name = kParam_intra_block_copy ;
381
+ p->name = kParam_enable_intra_block_copy ;
382
382
p->type = heif_encoder_parameter_type_boolean;
383
383
p->boolean .default_value = true ;
384
384
p->has_default = true ;
@@ -598,8 +598,8 @@ struct heif_error aom_set_parameter_boolean(void* encoder_raw, const char* name,
598
598
encoder->auto_tiles = value;
599
599
return heif_error_ok;
600
600
#if defined(AOM_CTRL_AV1E_SET_ENABLE_INTRABC)
601
- } else if (strcmp (name, kParam_intra_block_copy ) == 0 ) {
602
- encoder->intra_block_copy = value;
601
+ } else if (strcmp (name, kParam_enable_intra_block_copy ) == 0 ) {
602
+ encoder->enable_intra_block_copy = value;
603
603
return heif_error_ok;
604
604
#endif
605
605
}
@@ -1055,7 +1055,7 @@ struct heif_error aom_encode_image(void* encoder_raw, const struct heif_image* i
1055
1055
#endif
1056
1056
1057
1057
#if defined(AOM_CTRL_AV1E_SET_ENABLE_INTRABC)
1058
- aom_codec_control (&codec, AV1E_SET_ENABLE_INTRABC, encoder->intra_block_copy );
1058
+ aom_codec_control (&codec, AV1E_SET_ENABLE_INTRABC, encoder->enable_intra_block_copy );
1059
1059
#endif
1060
1060
1061
1061
#if defined(HAVE_AOM_CODEC_SET_OPTION)
0 commit comments