Searched refs:hsub (Results 1 - 11 of 11) sorted by relevance

/netbsd-current/sys/external/bsd/drm2/dist/drm/
H A Ddrm_fourcc.c165 { .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 },
166 { .format = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 },
167 { .format = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 },
168 { .format = DRM_FORMAT_XRGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 },
169 { .format = DRM_FORMAT_XBGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 },
170 { .format = DRM_FORMAT_RGBX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 },
171 { .format = DRM_FORMAT_BGRX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 },
172 { .format = DRM_FORMAT_ARGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true },
173 { .format = DRM_FORMAT_ABGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = true },
174 { .format = DRM_FORMAT_RGBA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub
[all...]
H A Ddrm_framebuffer.c165 return DIV_ROUND_UP(width, format->hsub);
/netbsd-current/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_fourcc.h128 /** @hsub: Horizontal chroma subsampling factor */
129 u8 hsub; member in struct:drm_format_info
202 return info->is_yuv && info->hsub == 4 && info->vsub == 4;
217 return info->is_yuv && info->hsub == 4 && info->vsub == 1;
232 return info->is_yuv && info->hsub == 2 && info->vsub == 2;
247 return info->is_yuv && info->hsub == 2 && info->vsub == 1;
262 return info->is_yuv && info->hsub == 1 && info->vsub == 1;
284 return width / info->hsub;
/netbsd-current/sys/external/bsd/drm2/drm/
H A Ddrm_gem_framebuffer_helper.c126 unsigned hsub = (plane > 0 ? fb->format->hsub : 1); /* XXX ? */ local
139 + (mode_cmd->width/hsub)*fb->format->cpp[plane]
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_sprite.c261 u32 src_x, src_y, src_w, src_h, hsub, vsub; local
283 hsub = fb->format->hsub;
286 hsub = vsub = max(fb->format->hsub, fb->format->vsub);
289 if (src_x % hsub || src_w % hsub) {
291 src_x, src_w, hsub, rotated ? "rotated " : "");
H A Dintel_display.c2608 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
2610 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
2612 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, },
2614 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, },
2627 .hsub = 1, .vsub = 1, },
2630 .hsub = 1, .vsub = 1, },
2633 .hsub = 1, .vsub = 1, .has_alpha = true },
2636 .hsub = 1, .vsub = 1, .has_alpha = true },
2639 .hsub = 2, .vsub = 1, .is_yuv = true },
2642 .hsub
2864 intel_fb_plane_get_subsampling(int *hsub, int *vsub, const struct drm_framebuffer *fb, int color_plane) argument
2910 int hsub, vsub; local
2954 int hsub, vsub; local
3168 unsigned int hsub = i ? fb->format->hsub : 1; local
3746 int hsub; local
3956 int hsub, vsub; local
[all...]
/netbsd-current/sys/arch/arm/sunxi/
H A Dsunxi_mixer.c1022 const int hsub = format->hsub; local
1025 const u_int src_cw = src_w / hsub;
1036 VSU_WRITE(sc, VS_C_HSTEP_REG, (hstep / hsub) << 4);
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64RegisterInfo.cpp176 if (RC == &AArch64::GPR32allRegClass && Idx == AArch64::hsub)
178 else if (RC == &AArch64::GPR64allRegClass && Idx == AArch64::hsub)
H A DAArch64InstrInfo.cpp3489 DestReg = RI.getMatchingSuperReg(DestReg, AArch64::hsub,
3491 SrcReg = RI.getMatchingSuperReg(SrcReg, AArch64::hsub,
3497 DestReg = RI.getMatchingSuperReg(DestReg, AArch64::hsub,
3499 SrcReg = RI.getMatchingSuperReg(SrcReg, AArch64::hsub,
H A DAArch64ISelLowering.cpp3477 DAG.getTargetConstant(AArch64::hsub, DL, MVT::i32)),
6768 setVecVal(AArch64::hsub);
6787 return DAG.getTargetExtractSubreg(AArch64::hsub, DL, VT, Sel);
16537 DAG.getTargetConstant(AArch64::hsub, DL, MVT::i32)),
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp559 SubReg = AArch64::hsub;
3646 return BuildFn(AArch64::hsub);
3732 ExtractSubReg = AArch64::hsub;
4085 SubregIdx = AArch64::hsub;

Completed in 345 milliseconds