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