Skip to content

Commit

Permalink
rename members in heif_pyramid_layer_info
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Oct 30, 2024
1 parent a3aa518 commit 0a0a10b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions libheif/api/libheif/heif.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1155,8 +1155,8 @@ struct heif_pyramid_layer_info* heif_context_get_pyramid_entity_group_info(struc
for (size_t i=0; i<pymd_layers.size(); i++) {
layerInfo[i].layer_image_id = items[i];
layerInfo[i].layer_binning = pymd_layers[i].layer_binning;
layerInfo[i].tiles_in_layer_row = pymd_layers[i].tiles_in_layer_row_minus1 + 1;
layerInfo[i].tiles_in_layer_column = pymd_layers[i].tiles_in_layer_column_minus1 + 1;
layerInfo[i].tile_rows_in_layer = pymd_layers[i].tiles_in_layer_row_minus1 + 1;
layerInfo[i].tile_columns_in_layer = pymd_layers[i].tiles_in_layer_column_minus1 + 1;
}

*out_num_layers = static_cast<int>(pymd_layers.size());
Expand Down
4 changes: 2 additions & 2 deletions libheif/api/libheif/heif_experimental.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ struct heif_error heif_context_add_unci_image(struct heif_context* ctx,
struct heif_pyramid_layer_info {
heif_item_id layer_image_id;
uint16_t layer_binning;
uint32_t tiles_in_layer_row;
uint32_t tiles_in_layer_column;
uint32_t tile_rows_in_layer;
uint32_t tile_columns_in_layer;
};

#if ENABLE_EXPERIMENTAL_FEATURES
Expand Down

0 comments on commit 0a0a10b

Please sign in to comment.