MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / parse_matrix_coeffs

Function parse_matrix_coeffs

ffmpeg.c:3669–3684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3667}
3668
3669static void parse_matrix_coeffs(uint16_t *dest, const char *str)
3670{
3671 int i;
3672 const char *p = str;
3673 for(i = 0;; i++) {
3674 dest[i] = atoi(p);
3675 if(i == 63)
3676 break;
3677 p = strchr(p, ',');
3678 if(!p) {
3679 fprintf(stderr, "Syntax error in matrix \"%s\" at coeff %d\n", str, i);
3680 av_exit(1);
3681 }
3682 p++;
3683 }
3684}
3685
3686static void opt_inter_matrix(const char *arg)
3687{

Callers 2

opt_inter_matrixFunction · 0.85
opt_intra_matrixFunction · 0.85

Calls 1

av_exitFunction · 0.85

Tested by

no test coverage detected