Lines Matching full:blocks
38 …MCCreateBlocks(Display *dpy, XvMCContext *context, unsigned int num_blocks, XvMCBlockArray *blocks) in XvMCCreateBlocks() argument
47 assert(blocks); in XvMCCreateBlocks()
49 blocks->context_id = context->context_id; in XvMCCreateBlocks()
50 blocks->num_blocks = num_blocks; in XvMCCreateBlocks()
51 blocks->blocks = MALLOC(BLOCK_SIZE_BYTES * num_blocks); in XvMCCreateBlocks()
52 blocks->privData = NULL; in XvMCCreateBlocks()
58 Status XvMCDestroyBlocks(Display *dpy, XvMCBlockArray *blocks) in XvMCDestroyBlocks() argument
61 assert(blocks); in XvMCDestroyBlocks()
62 FREE(blocks->blocks); in XvMCDestroyBlocks()
68 …croBlocks(Display *dpy, XvMCContext *context, unsigned int num_blocks, XvMCMacroBlockArray *blocks) in XvMCCreateMacroBlocks() argument
77 assert(blocks); in XvMCCreateMacroBlocks()
79 blocks->context_id = context->context_id; in XvMCCreateMacroBlocks()
80 blocks->num_blocks = num_blocks; in XvMCCreateMacroBlocks()
81 blocks->macro_blocks = MALLOC(sizeof(XvMCMacroBlock) * num_blocks); in XvMCCreateMacroBlocks()
82 blocks->privData = NULL; in XvMCCreateMacroBlocks()
88 Status XvMCDestroyMacroBlocks(Display *dpy, XvMCMacroBlockArray *blocks) in XvMCDestroyMacroBlocks() argument
91 assert(blocks); in XvMCDestroyMacroBlocks()
92 FREE(blocks->macro_blocks); in XvMCDestroyMacroBlocks()