MCPcopy Create free account
hub / github.com/AOMediaCodec/libavif / avifPushOperator

Function avifPushOperator

src/sampletransform.c:82–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80 return AVIF_TRUE;
81}
82static avifBool avifPushOperator(avifSampleTransformExpression * expression, avifSampleTransformTokenType operator)
83{
84 avifSampleTransformToken * token = (avifSampleTransformToken *)avifArrayPush(expression);
85 if (token == NULL) {
86 return AVIF_FALSE;
87 }
88 token->type = (uint8_t)operator;
89 return AVIF_TRUE;
90}
91
92avifResult avifSampleTransformRecipeToExpression(avifSampleTransformRecipe recipe, avifSampleTransformExpression * expression)
93{

Callers 1

Calls 1

avifArrayPushFunction · 0.85

Tested by

no test coverage detected