| /xsrc/external/mit/xf86-video-intel/dist/xvmc/ |
| intel_xvmc_dump.c | 69 XvMCMacroBlock *mb; local 112 mb = ¯oblock_array->macro_blocks[i]; 114 fprintf(fp, "- MB(%d): ", i); 115 fprintf(fp, "x (%d) y (%d) ", mb->x, mb->y); 117 if (mb->macroblock_type & XVMC_MB_TYPE_MOTION_FORWARD) 119 if (mb->macroblock_type & XVMC_MB_TYPE_MOTION_BACKWARD) 121 if (mb->macroblock_type & XVMC_MB_TYPE_PATTERN) 123 if (mb->macroblock_type & XVMC_MB_TYPE_INTRA) 128 if (mb->motion_type & XVMC_PREDICTION_FIELD [all...] |
| i915_xvmc.c | 718 static void i915_mc_mpeg_set_origin(XvMCContext * context, XvMCMacroBlock * mb) 727 set_origin.dw1.h_origin = mb->x; 728 set_origin.dw1.v_origin = mb->y; 734 XvMCMacroBlock * mb) 743 (mb->dct_type == XVMC_DCT_TYPE_FIELD); 750 XvMCMacroBlock * mb) 762 ((mb->macroblock_type & XVMC_MB_TYPE_MOTION_FORWARD) ? 1 : 0); 764 ((mb->macroblock_type & XVMC_MB_TYPE_MOTION_BACKWARD) ? 1 : 0); 767 (mb->dct_type == XVMC_DCT_TYPE_FIELD); 769 if (!(mb->coded_block_pattern & 0x3f) 1022 XvMCMacroBlock *mb; local [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/xvmc/ |
| intel_xvmc_dump.c | 69 XvMCMacroBlock *mb; local 112 mb = ¯oblock_array->macro_blocks[i]; 114 fprintf(fp, "- MB(%d): ", i); 115 fprintf(fp, "x (%d) y (%d) ", mb->x, mb->y); 117 if (mb->macroblock_type & XVMC_MB_TYPE_MOTION_FORWARD) 119 if (mb->macroblock_type & XVMC_MB_TYPE_MOTION_BACKWARD) 121 if (mb->macroblock_type & XVMC_MB_TYPE_PATTERN) 123 if (mb->macroblock_type & XVMC_MB_TYPE_INTRA) 128 if (mb->motion_type & XVMC_PREDICTION_FIELD [all...] |
| i915_xvmc.c | 718 static void i915_mc_mpeg_set_origin(XvMCContext * context, XvMCMacroBlock * mb) 727 set_origin.dw1.h_origin = mb->x; 728 set_origin.dw1.v_origin = mb->y; 734 XvMCMacroBlock * mb) 743 (mb->dct_type == XVMC_DCT_TYPE_FIELD); 750 XvMCMacroBlock * mb) 762 ((mb->macroblock_type & XVMC_MB_TYPE_MOTION_FORWARD) ? 1 : 0); 764 ((mb->macroblock_type & XVMC_MB_TYPE_MOTION_BACKWARD) ? 1 : 0); 767 (mb->dct_type == XVMC_DCT_TYPE_FIELD); 769 if (!(mb->coded_block_pattern & 0x3f) 1022 XvMCMacroBlock *mb; local [all...] |
| /xsrc/external/mit/xf86-video-intel-old/dist/src/xvmc/ |
| intel_xvmc_dump.c | 65 XvMCMacroBlock *mb; local 104 mb = ¯oblock_array->macro_blocks[i]; 106 fprintf(fp, "- MB(%d): ", i); 107 fprintf(fp, "x (%d) y (%d) ", mb->x, mb->y); 109 if (mb->macroblock_type & XVMC_MB_TYPE_MOTION_FORWARD) 111 if (mb->macroblock_type & XVMC_MB_TYPE_MOTION_BACKWARD) 113 if (mb->macroblock_type & XVMC_MB_TYPE_PATTERN) 115 if (mb->macroblock_type & XVMC_MB_TYPE_INTRA) 120 if (mb->motion_type & XVMC_PREDICTION_FIELD [all...] |
| /xsrc/external/mit/libX11/dist/modules/im/ximcp/ |
| imLcLkup.c | 53 char *mb = ic->private.local.base.mb; local 86 ret = strlen(&mb[b[ic->private.local.composed].mb]); 91 memcpy(buffer, &mb[b[ic->private.local.composed].mb], ret);
|
| imLcIm.c | 76 DTStructIndex mb; member in struct:_XimCacheStruct 135 Xfree (b->mb); 136 b->mb = NULL; 305 _XimCachedDefaultTreeBase.mb = (((char *) m) + m->mb); 452 if (! b->mb && ! (b->mb = Xmalloc (1)) ) 460 b->mb[0] = 0; 475 m->mb = m->wc + sizeof (wchar_t) * m->wcused; 476 m->utf8 = m->mb + m->mbused [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv50/ |
| nv84_video.h | 105 static inline uint32_t mb(uint32_t coord) function 131 const struct pipe_mpeg12_macroblock *mb);
|
| nv84_video.c | 193 align(0x20 * mb(dec->base.width) * mb(dec->base.height), 0x100); 222 const struct pipe_mpeg12_macroblock *mb = (const struct pipe_mpeg12_macroblock *)macroblocks; local 223 for (int i = 0; i < num_macroblocks; i++, mb++) { 227 mb); 306 dec->frame_mbs = mb(dec->base.width) * mb_half(dec->base.height) * 2; 423 align(0x20 * mb(templ->width) * mb(templ->height), 0x100) + 424 (6 * 64 * 8) * mb(templ->width) * mb(templ->height) + 0x100 [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/xvmc/ |
| surface.c | 51 struct pipe_mpeg12_macroblock *mb, 61 mb->base.codec = PIPE_VIDEO_FORMAT_MPEG12; 62 mb->x = xvmc_mb->x; 63 mb->y = xvmc_mb->y; 64 mb->macroblock_type = xvmc_mb->macroblock_type; 68 mb->macroblock_modes.bits.frame_motion_type = xvmc_mb->motion_type; 69 mb->macroblock_modes.bits.field_motion_type = 0; 74 mb->macroblock_modes.bits.frame_motion_type = 0; 75 mb->macroblock_modes.bits.field_motion_type = xvmc_mb->motion_type; 82 mb->macroblock_modes.bits.dct_type = xvmc_mb->dct_type 224 struct pipe_mpeg12_macroblock mb[num_macroblocks]; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/xvmc/tests/ |
| test_rendering.c | 150 XvMCMacroBlock *mb; local 191 mb = mb_array.macro_blocks; 197 mb->x = mbx; 198 mb->y = mby; 199 mb->macroblock_type = XVMC_MB_TYPE_INTRA; 200 /*mb->motion_type = ;*/ 201 /*mb->motion_vertical_field_select = ;*/ 202 mb->dct_type = XVMC_DCT_TYPE_FRAME; 203 /*mb->PMV[0][0][0] = ; 204 mb->PMV[0][0][1] = [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv50/ |
| nv84_video.h | 105 static inline uint32_t mb(uint32_t coord) function 131 const struct pipe_mpeg12_macroblock *mb);
|
| nv84_video.c | 193 align(0x20 * mb(dec->base.width) * mb(dec->base.height), 0x100); 222 const struct pipe_mpeg12_macroblock *mb = (const struct pipe_mpeg12_macroblock *)macroblocks; local 223 for (int i = 0; i < num_macroblocks; i++, mb++) { 227 mb); 306 dec->frame_mbs = mb(dec->base.width) * mb_half(dec->base.height) * 2; 423 align(0x20 * mb(templ->width) * mb(templ->height), 0x100) + 424 (6 * 64 * 8) * mb(templ->width) * mb(templ->height) + 0x100 [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/xvmc/ |
| surface.c | 51 struct pipe_mpeg12_macroblock *mb, 61 mb->base.codec = PIPE_VIDEO_FORMAT_MPEG12; 62 mb->x = xvmc_mb->x; 63 mb->y = xvmc_mb->y; 64 mb->macroblock_type = xvmc_mb->macroblock_type; 68 mb->macroblock_modes.bits.frame_motion_type = xvmc_mb->motion_type; 69 mb->macroblock_modes.bits.field_motion_type = 0; 74 mb->macroblock_modes.bits.frame_motion_type = 0; 75 mb->macroblock_modes.bits.field_motion_type = xvmc_mb->motion_type; 82 mb->macroblock_modes.bits.dct_type = xvmc_mb->dct_type 224 struct pipe_mpeg12_macroblock mb[num_macroblocks]; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/xvmc/tests/ |
| test_rendering.c | 150 XvMCMacroBlock *mb; local 191 mb = mb_array.macro_blocks; 197 mb->x = mbx; 198 mb->y = mby; 199 mb->macroblock_type = XVMC_MB_TYPE_INTRA; 200 /*mb->motion_type = ;*/ 201 /*mb->motion_vertical_field_select = ;*/ 202 mb->dct_type = XVMC_DCT_TYPE_FRAME; 203 /*mb->PMV[0][0][0] = ; 204 mb->PMV[0][0][1] = [all...] |
| /xsrc/external/mit/libX11/dist/src/xlibi18n/ |
| XimintL.h | 54 DTCharIndex mb; member in struct:_DefTree 55 DTCharIndex wc; /* make from mb */ 56 DTCharIndex utf8; /* make from mb */ 62 char *mb; member in struct:_DefTreeBase
|
| /xsrc/external/mit/pixman/dist/pixman/ |
| pixman-combine-float.c | 80 float ma, mr, mg, mb; local 93 mb = mask[i + 3]; 97 sb *= mb; 102 mb *= sa; 115 ma = mr = mg = mb = sa; 126 dest[i + 3] = combine_c (mb, sb, da, db);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/ |
| vl_mpeg12_bitstream.c | 656 motion_vector_frame(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) 658 int dmv = mb->macroblock_modes.bits.frame_motion_type == PIPE_MPEG12_MO_TYPE_DUAL_PRIME; 661 if (mb->macroblock_modes.bits.frame_motion_type == PIPE_MPEG12_MO_TYPE_FIELD) { 662 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << s; 664 mb->PMV[0][s][0] = wrap(mb->PMV[0][s][0] + delta[0], bs->desc->f_code[s][0]); 665 mb->PMV[0][s][1] = wrap(DIV2DOWN(mb->PMV[0][s][1]) + delta[1], bs->desc->f_code[s][1]) * 2; 667 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << (s + 2); 669 mb->PMV[1][s][0] = wrap(mb->PMV[1][s][0] + delta[0], bs->desc->f_code[s][0]) 805 struct pipe_mpeg12_macroblock mb; local [all...] |
| vl_mpeg12_decoder.c | 321 MacroBlockTypeToPipeWeights(const struct pipe_mpeg12_macroblock *mb, unsigned weights[2]) 323 assert(mb); 325 switch (mb->macroblock_type & (PIPE_MPEG12_MB_TYPE_MOTION_FORWARD | PIPE_MPEG12_MB_TYPE_MOTION_BACKWARD)) { 342 if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { 346 /* no motion vector, but also not intra mb -> 356 MotionVectorToPipe(const struct pipe_mpeg12_macroblock *mb, unsigned vector, 361 assert(mb); 363 if (mb->macroblock_type & (PIPE_MPEG12_MB_TYPE_MOTION_FORWARD | PIPE_MPEG12_MB_TYPE_MOTION_BACKWARD)) { 364 switch (mb->macroblock_modes.bits.frame_motion_type) { 366 mv.top.x = mb->PMV[0][vector][0] 660 const struct pipe_mpeg12_macroblock *mb = (const struct pipe_mpeg12_macroblock *)macroblocks; local [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/ |
| nouveau_video.c | 104 nouveau_vpe_mb_dct_blocks(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb) 107 unsigned cbp = mb->coded_block_pattern; 108 short *db = mb->blocks; 122 } else if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { 129 nouveau_vpe_mb_data_blocks(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb) 132 unsigned cbp = mb->coded_block_pattern; 133 short *db = mb->blocks; 139 } else if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { 148 const struct pipe_mpeg12_macroblock *mb, 152 bool intra = mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA 419 const struct pipe_mpeg12_macroblock *mb; local [all...] |
| nouveau_vp3_video.h | 83 // target.. size = (((mb(w)*((mb(h)+1)&~1))+3)>>2)<<8 * (max_references+1) 148 static inline uint32_t mb(uint32_t coord) function 173 uint32_t w = mb(dec->base.width), size; 199 *bucket_size = mb(dec->base.width) * 3;
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/vl/ |
| vl_mpeg12_bitstream.c | 656 motion_vector_frame(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) 658 int dmv = mb->macroblock_modes.bits.frame_motion_type == PIPE_MPEG12_MO_TYPE_DUAL_PRIME; 661 if (mb->macroblock_modes.bits.frame_motion_type == PIPE_MPEG12_MO_TYPE_FIELD) { 662 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << s; 664 mb->PMV[0][s][0] = wrap(mb->PMV[0][s][0] + delta[0], bs->desc->f_code[s][0]); 665 mb->PMV[0][s][1] = wrap(DIV2DOWN(mb->PMV[0][s][1]) + delta[1], bs->desc->f_code[s][1]) * 2; 667 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << (s + 2); 669 mb->PMV[1][s][0] = wrap(mb->PMV[1][s][0] + delta[0], bs->desc->f_code[s][0]) 805 struct pipe_mpeg12_macroblock mb; local [all...] |
| vl_mpeg12_decoder.c | 321 MacroBlockTypeToPipeWeights(const struct pipe_mpeg12_macroblock *mb, unsigned weights[2]) 323 assert(mb); 325 switch (mb->macroblock_type & (PIPE_MPEG12_MB_TYPE_MOTION_FORWARD | PIPE_MPEG12_MB_TYPE_MOTION_BACKWARD)) { 342 if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { 346 /* no motion vector, but also not intra mb -> 356 MotionVectorToPipe(const struct pipe_mpeg12_macroblock *mb, unsigned vector, 361 assert(mb); 363 if (mb->macroblock_type & (PIPE_MPEG12_MB_TYPE_MOTION_FORWARD | PIPE_MPEG12_MB_TYPE_MOTION_BACKWARD)) { 364 switch (mb->macroblock_modes.bits.frame_motion_type) { 366 mv.top.x = mb->PMV[0][vector][0] 660 const struct pipe_mpeg12_macroblock *mb = (const struct pipe_mpeg12_macroblock *)macroblocks; local [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/ |
| nouveau_video.c | 104 nouveau_vpe_mb_dct_blocks(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb) 107 unsigned cbp = mb->coded_block_pattern; 108 short *db = mb->blocks; 122 } else if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { 129 nouveau_vpe_mb_data_blocks(struct nouveau_decoder *dec, const struct pipe_mpeg12_macroblock *mb) 132 unsigned cbp = mb->coded_block_pattern; 133 short *db = mb->blocks; 139 } else if (mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA) { 148 const struct pipe_mpeg12_macroblock *mb, 152 bool intra = mb->macroblock_type & PIPE_MPEG12_MB_TYPE_INTRA 419 const struct pipe_mpeg12_macroblock *mb; local [all...] |
| nouveau_vp3_video.h | 83 // target.. size = (((mb(w)*((mb(h)+1)&~1))+3)>>2)<<8 * (max_references+1) 148 static inline uint32_t mb(uint32_t coord) function 173 uint32_t w = mb(dec->base.width), size; 199 *bucket_size = mb(dec->base.width) * 3;
|