| 1230 | static const char infeNameSampleTransform[] = "SampleTransform"; |
| 1231 | |
| 1232 | static const char * getInfeName(avifItemCategory itemCategory) |
| 1233 | { |
| 1234 | if (avifIsAlpha(itemCategory)) { |
| 1235 | return infeNameAlpha; |
| 1236 | } |
| 1237 | if (itemCategory == AVIF_ITEM_GAIN_MAP) { |
| 1238 | return infeNameGainMap; |
| 1239 | } |
| 1240 | if (itemCategory >= AVIF_SAMPLE_TRANSFORM_MIN_CATEGORY && itemCategory <= AVIF_SAMPLE_TRANSFORM_MAX_CATEGORY) { |
| 1241 | return infeNameSampleTransform; |
| 1242 | } |
| 1243 | return infeNameColor; |
| 1244 | } |
| 1245 | |
| 1246 | // Adds the items for a single cell or a grid of cells. Outputs the topLevelItemID which is |
| 1247 | // the only item if there is exactly one cell, or the grid item for multiple cells. |
no test coverage detected