| 60 | // Recipe to expression |
| 61 | |
| 62 | static avifBool avifPushConstant(avifSampleTransformExpression * expression, int32_t constant) |
| 63 | { |
| 64 | avifSampleTransformToken * token = (avifSampleTransformToken *)avifArrayPush(expression); |
| 65 | if (token == NULL) { |
| 66 | return AVIF_FALSE; |
| 67 | } |
| 68 | token->type = AVIF_SAMPLE_TRANSFORM_CONSTANT; |
| 69 | token->constant = constant; |
| 70 | return AVIF_TRUE; |
| 71 | } |
| 72 | static avifBool avifPushInputImageItem(avifSampleTransformExpression * expression, uint8_t inputImageItemIndex) |
| 73 | { |
| 74 | avifSampleTransformToken * token = (avifSampleTransformToken *)avifArrayPush(expression); |
no test coverage detected