Searched refs:mb_array (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/frontends/xvmc/tests/ |
D | xvmc_bench.c | 192 XvMCMacroBlockArray mb_array; in main() local 241 assert(XvMCCreateMacroBlocks(display, &context, mbw * mbh, &mb_array) == Success); in main() 246 mb_array.macro_blocks[mby * mbw + mbx].x = mbx; in main() 247 mb_array.macro_blocks[mby * mbw + mbx].y = mby; in main() 248 mb_array.macro_blocks[mby * mbw + mbx].macroblock_type = XVMC_MB_TYPE_INTRA; in main() 251 mb_array.macro_blocks[mby * mbw + mbx].dct_type = XVMC_DCT_TYPE_FRAME; in main() 260 mb_array.macro_blocks[mby * mbw + mbx].index = (mby * mbw + mbx) * BLOCKS_PER_MACROBLOCK; in main() 261 mb_array.macro_blocks[mby * mbw + mbx].coded_block_pattern = 0x3F; in main() 274 …, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &block_array) ==… in main() 300 assert(XvMCDestroyMacroBlocks(display, &mb_array) == Success); in main()
|
D | test_rendering.c | 148 XvMCMacroBlockArray mb_array; in main() local 189 assert(XvMCCreateMacroBlocks(display, &context, NUM_MACROBLOCKS, &mb_array) == Success); in main() 191 mb = mb_array.macro_blocks; in main() 267 …NULL, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) ==… in main() 269 …&context, XVMC_FRAME_PICTURE, NULL, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) ==… in main() 271 …ace(display, &context, 0, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) ==… in main() 273 …text, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) ==… in main() 321 assert(XvMCDestroyMacroBlocks(display, &mb_array) == Success); in main()
|