We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In some frame sizes (160x128, 480x320, ...) there was a glitch in top left corner.
Solution: in function h264enc *h264enc_new(const struct h264enc_params *p) need to increase size for buffers:
h264enc *h264enc_new(const struct h264enc_params *p)
/* allocate reference picture memory */ unsigned int luma_size = ALIGN(c->mb_width * 16, 32) * ALIGN(c->mb_height * 16, 32); unsigned int chroma_size = ALIGN(c->mb_width * 16, 32) * ALIGN(c->mb_height * 8, 32); luma_size*=2; //ugly fix chroma_size*=2;
This fix this problem!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In some frame sizes (160x128, 480x320, ...) there was a glitch in top left corner.
Solution: in function
h264enc *h264enc_new(const struct h264enc_params *p)
need to increase size for buffers:This fix this problem!
The text was updated successfully, but these errors were encountered: