Rearrange MpegEncContext to simplify access from asm
authorMans Rullgard <mans@mansr.com>
Sat, 29 Jan 2011 17:14:29 +0000 (17:14 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 30 Jan 2011 02:41:47 +0000 (03:41 +0100)
commit451b4b86355216ee4b255ca86ea578864127e03a
treeaefadb55aaf5ea0b58ad219358d8394775698964
parent5231d6277f2c3b7c13a309964a6edbfa0e9570b5
Rearrange MpegEncContext to simplify access from asm

This moves the fields needed by asm near the top, before any
structs or other members which complicate the offset calculation.
Modifying other structs will no longer require updating the offsets,
and the asm code is slightly simpler due to the smaller offsets.

Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit d461a4731781e492d83ef254f9c0fbd0ce6e47eb)
libavcodec/arm/asm-offsets.h
libavcodec/arm/mpegvideo_neon.S
libavcodec/mpegvideo.h