commit | 0fe0e66f243bf25ec98e8b7a242fb383b3708662 | [log] [tgz] |
---|---|---|
author | Jonas Larsson <ljonas@google.com> | Tue Oct 15 00:50:25 2019 -0700 |
committer | June Tate-Gans <jtgans@google.com> | Tue Oct 15 15:26:14 2019 -0500 |
tree | e9dd87a7969609049fd56890883244a196efaa86 | |
parent | 557eb9903d4a57144407191067a7131fd914fe57 [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