commit | c7d9c91417bf69c783f390e48dbbe7aafb45bbda | [log] [tgz] |
---|---|---|
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Wed Nov 23 13:30:39 2016 +0530 |
committer | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Thu Nov 24 12:25:49 2016 +0530 |
tree | 44bb55c287a63a4530fd5c7dba20da93d9161dff | |
parent | 0a69e08c392b8373067e7b241a491d6798d82ad5 [diff] |
Encoder: Defined structures for accessing MB header data Instead of using hard coded address offsets, defined structures to access MB Header for each MB type This improves readability of the code Also helps in maintaining required alignment for MV MV elements need to be aligned to 2 byte boundary Unaligned accesses result in undefined behavior Bug: 33073518 Test: Tested with -fsanitize=alignment enabled on avcenc Change-Id: I51c009b7deded76315a4bf2880444d21ae7d517f