Showing the changes to libavfilter (2 of 4 files). Show all
Unified · Split
| @@ -120,6 +120,10 @@ int dnn_execute_layer_math_unary(DnnOperand *operands, const int32_t *input_oper · 119 unmodified lines | ||
| 120 | 120 | for (int i = 0; i < dims_count; ++i) |
| 121 | 121 | dst[i] = asinh(src[i]); |
| 122 | 122 | return 0; |
| 123 | + case DMUO_ACOSH: | |
| 124 | + for (int i = 0; i < dims_count; ++i) | |
| 125 | + dst[i] = acosh(src[i]); | |
| 126 | + return 0; | |
| 123 | 127 | default: |
| 124 | 128 | return -1; |
| 125 | 129 | } |
| @@ -41,6 +41,7 @@ typedef enum { · 40 unmodified lines | ||
| 41 | 41 | DMUO_COSH = 8, |
| 42 | 42 | DMUO_TANH = 9, |
| 43 | 43 | DMUO_ASINH = 10, |
| 44 | + DMUO_ACOSH = 11, | |
| 44 | 45 | DMUO_COUNT |
| 45 | 46 | } DNNMathUnaryOperation; |
| 46 | 47 | |