You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to implement the conversion to HEIF format using a simple example, and it was successful. However, the CPU usage is very high. My encoders and decoders are libde265 and libx265. When running this code, the CPU usage spikes significantly:
error = heif_context_encode_image(ctx, image, encoder, nullptr, nullptr);
if (error.code != heif_error_Ok) {
std::cerr << "编码图像失败: " << error.message << std::endl;
heif_encoder_release(encoder);
heif_image_release(image);
heif_context_free(ctx);
return false;
}
The text was updated successfully, but these errors were encountered:
I tried to implement the conversion to HEIF format using a simple example, and it was successful. However, the CPU usage is very high. My encoders and decoders are libde265 and libx265. When running this code, the CPU usage spikes significantly:
error = heif_context_encode_image(ctx, image, encoder, nullptr, nullptr);
if (error.code != heif_error_Ok) {
std::cerr << "编码图像失败: " << error.message << std::endl;
heif_encoder_release(encoder);
heif_image_release(image);
heif_context_free(ctx);
return false;
}
The text was updated successfully, but these errors were encountered: