Created
July 1, 2018 02:52
-
-
Save mihailescu2m/0118e2edd913c5d6fafab7fd118af3be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gscbuf = v4l2_getfree_v4l2buf(gsc->output); | |
if (!gscbuf) | |
return AVERROR(ENOMEM); | |
// copy mfc capture buffer to gsc capture buffer | |
for(i = 0; i < avbuf->num_planes; i++) { | |
gscbuf->plane_info[i].mm_addr = avbuf->plane_info[i].mm_addr; | |
gscbuf->planes[i].bytesused = avbuf->planes[i].bytesused; | |
gscbuf->planes[i].length = avbuf->planes[i].length; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment