/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
D | xvmc_bench.c | 188 XvMCMacroBlockArray mb_array; in main() local 232 assert(XvMCCreateMacroBlocks(display, &context, mbw * mbh, &mb_array) == Success); in main() 237 mb_array.macro_blocks[mby * mbw + mbx].x = mbx; in main() 238 mb_array.macro_blocks[mby * mbw + mbx].y = mby; in main() 239 mb_array.macro_blocks[mby * mbw + mbx].macroblock_type = XVMC_MB_TYPE_INTRA; in main() 242 mb_array.macro_blocks[mby * mbw + mbx].dct_type = XVMC_DCT_TYPE_FRAME; in main() 251 mb_array.macro_blocks[mby * mbw + mbx].index = (mby * mbw + mbx) * BLOCKS_PER_MACROBLOCK; in main() 252 mb_array.macro_blocks[mby * mbw + mbx].coded_block_pattern = 0x3F; in main() 265 …, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &block_array) ==… in main() 291 assert(XvMCDestroyMacroBlocks(display, &mb_array) == Success); in main()
|
D | test_rendering.c | 146 XvMCMacroBlockArray mb_array; in main() local 186 assert(XvMCCreateMacroBlocks(display, &context, NUM_MACROBLOCKS, &mb_array) == Success); in main() 188 mb = mb_array.macro_blocks; in main() 264 …NULL, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) ==… in main() 266 …&context, XVMC_FRAME_PICTURE, NULL, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) ==… in main() 268 …ace(display, &context, 0, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) ==… in main() 270 …text, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) ==… in main() 318 assert(XvMCDestroyMacroBlocks(display, &mb_array) == Success); in main()
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/ |
D | xvmc_bench.c | 188 XvMCMacroBlockArray mb_array; in main() local 232 assert(XvMCCreateMacroBlocks(display, &context, mbw * mbh, &mb_array) == Success); in main() 237 mb_array.macro_blocks[mby * mbw + mbx].x = mbx; in main() 238 mb_array.macro_blocks[mby * mbw + mbx].y = mby; in main() 239 mb_array.macro_blocks[mby * mbw + mbx].macroblock_type = XVMC_MB_TYPE_INTRA; in main() 242 mb_array.macro_blocks[mby * mbw + mbx].dct_type = XVMC_DCT_TYPE_FRAME; in main() 251 mb_array.macro_blocks[mby * mbw + mbx].index = (mby * mbw + mbx) * BLOCKS_PER_MACROBLOCK; in main() 252 mb_array.macro_blocks[mby * mbw + mbx].coded_block_pattern = 0x3F; in main() 265 …, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, mbw * mbh, 0, &mb_array, &block_array) ==… in main() 291 assert(XvMCDestroyMacroBlocks(display, &mb_array) == Success); in main()
|
D | test_rendering.c | 146 XvMCMacroBlockArray mb_array; in main() local 186 assert(XvMCCreateMacroBlocks(display, &context, NUM_MACROBLOCKS, &mb_array) == Success); in main() 188 mb = mb_array.macro_blocks; in main() 264 …NULL, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) ==… in main() 266 …&context, XVMC_FRAME_PICTURE, NULL, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) ==… in main() 268 …ace(display, &context, 0, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) ==… in main() 270 …text, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) ==… in main() 318 assert(XvMCDestroyMacroBlocks(display, &mb_array) == Success); in main()
|