OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mbw
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/
xvmc_bench.c
189
unsigned int
mbw
, mbh;
local
197
mbw
= align(config.input_width, MACROBLOCK_WIDTH) / MACROBLOCK_WIDTH;
231
assert(XvMCCreateBlocks(display, &context,
mbw
* mbh * BLOCKS_PER_MACROBLOCK, &block_array) == Success);
232
assert(XvMCCreateMacroBlocks(display, &context,
mbw
* mbh, &mb_array) == Success);
235
for (mbx = 0; mbx <
mbw
; ++mbx)
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
[
all
...]
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
xvmc_bench.c
189
unsigned int
mbw
, mbh;
local
197
mbw
= align(config.input_width, MACROBLOCK_WIDTH) / MACROBLOCK_WIDTH;
231
assert(XvMCCreateBlocks(display, &context,
mbw
* mbh * BLOCKS_PER_MACROBLOCK, &block_array) == Success);
232
assert(XvMCCreateMacroBlocks(display, &context,
mbw
* mbh, &mb_array) == Success);
235
for (mbx = 0; mbx <
mbw
; ++mbx)
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
[
all
...]
Completed in 831 milliseconds