aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/h264_deblock_10bit.asm
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-17 09:25:24 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-07-26 17:02:24 +0200
commit8a3329ffba0070bd22cc72287d3dc7cbb96e9e9e (patch)
tree9f992d78c43ed4fc1e01b72741c8971cc87e0964 /libavcodec/x86/h264_deblock_10bit.asm
parent37ec33f42c42f0058b3271d79096dbc215b1902e (diff)
downloadffmpeg-8a3329ffba0070bd22cc72287d3dc7cbb96e9e9e.tar.gz
avformat/segafilmenc: Don't store packet info in linked list
Up until now, the Sega FILM muxer would store some information about each packet in a linked list. When writing the trailer, the information in said linked list would be used to write a table in the file header. Each entry in said table is 16 bytes long, but each entry of the linked list is 32 bytes long (assuming 64 bit pointer and no padding). Therefore it makes sense to remove the linked list and write the array entries directly into a dynamic buffer while writing the packet (this is possible because the table entries don't depend on any information not available when writing the packet (the offset is not relative to the beginning of the file, but to the end of the table). This also simplifies writing the array at the end (there is no need to traverse a linked list). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/x86/h264_deblock_10bit.asm')
0 files changed, 0 insertions, 0 deletions