Lines Matching defs:error
322 av_log(NULL, AV_LOG_WARNING, "Flush the frame error.\n");
809 char *error, int error_len);
815 char error[1024] = {0};
820 ret = init_output_stream(ost, frame, error, sizeof(error));
823 ost->file_index, ost->index, error);
848 for (int i = 0; i<FF_ARRAY_ELEMS(ost->error); i++) {
850 ost->error[i] = AV_RL64(sd + 8 + 8*i);
852 ost->error[i] = -1;
876 if (ost->error[0]>=0 && (enc->flags & AV_CODEC_FLAG_PSNR))
877 fprintf(vstats_file, "PSNR= %6.2f ", psnr(ost->error[0] / (enc->width * enc->height * 255.0 * 255.0)));
1587 double error, error_sum = 0;
1594 error = enc->error[j];
1597 error = ost->error[j];
1602 error_sum += error;
1604 p = psnr(error / scale);
2601 static int init_input_stream(int ist_index, char *error, int error_len)
2609 snprintf(error, error_len, "Decoder (codec %s) not found for input stream #%d:%d",
2641 snprintf(error, error_len, "Device setup failed for "
2651 snprintf(error, error_len,
3118 char *error, int error_len)
3146 snprintf(error, error_len, "Device setup failed for "
3163 snprintf(error, error_len,
3173 snprintf(error, error_len,
3282 char error[1024] = {0};
3309 if ((ret = init_input_stream(i, error, sizeof(error))) < 0) {
3448 av_log(NULL, AV_LOG_ERROR, "%s\n", error);
3585 fprintf(stderr, "Queuing command failed with error %s\n", av_err2str(ret));
3591 "Parse error, at least 3 arguments were expected, "
3614 fprintf(stderr,"error parsing debug value\n");
4189 * @return 0 for success, <0 for error
4235 * @return 0 for success, <0 for error