commit | 4340a2c2e4f8af22e9f32453b1bf283310028dca | [log] [tgz] |
---|---|---|
author | Jonas Larsson <ljonas@google.com> | Tue Oct 15 00:50:25 2019 -0700 |
committer | Jonas Larsson <ljonas@google.com> | Tue Oct 15 00:50:25 2019 -0700 |
tree | e9dd87a7969609049fd56890883244a196efaa86 | |
parent | 221717a7f60b4793007077e3aa7fe29bc1dc11eb [diff] |
Tightly pack RGB buffers downloaded from GPU. GStreamer defaults to 4 byte aligning stride for RGB/BGR whereas stride == width * bpp is expected by networks. GPU can support this so override the default stride value when allocating the DMA buffer for download, and propagate the tightly packed stride downstream. BUG: 142698697 Change-Id: I0327f746e547f5ad1805f28efcbd9ea0c6512d9f