/* ---------------------------------------------------------------- * * * File Name: armVCM4P10_CAVLCTables.c * OpenMAX DL: v1.0.2 * Revision: 9641 * Date: Thursday, February 7, 2008 * * (c) Copyright 2007-2008 ARM Limited. All Rights Reserved. * * * * Optimized CAVLC tables for H.264 * */ #include "omxtypes.h" #include "armOMX.h" #include "armVCM4P10_CAVLCTables.h" /* 4x4 DeZigZag table */ const OMX_U8 armVCM4P10_ZigZag_4x4[16] = { 0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15 }; /* 2x2 DeZigZag table */ const OMX_U8 armVCM4P10_ZigZag_2x2[4] = { 0, 1, 2, 3 }; /* * Suffix To Level table * We increment the suffix length if * ((LevelCode>>1)+1)>(3<<(SuffixLength-1)) && SuffixLength<6 * (LevelCode>>1)>=(3<<(SuffixLength-1)) && SuffixLength<6 * LevelCode >= 3<= (3<