Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/hardware/intel/img/hwcomposer/common/base/
DDrm.cpp201 memcpy(&output->mode, &output->crtc->mode, sizeof(drmModeModeInfo)); in detect()
228 …ILOGTRACE("mode is: %dx%d@%dHz", output->mode.hdisplay, output->mode.vdisplay, output->mode.vrefre… in detect()
276 drmModeModeInfoPtr mode; in setDrmMode() local
279 mode = &output->connector->modes[i]; in setDrmMode()
280 if (mode->type & DRM_MODE_TYPE_PREFERRED) { in setDrmMode()
283 if (isSameDrmMode(&value, mode)) { in setDrmMode()
289 mode = &output->connector->modes[index]; in setDrmMode()
290 return setDrmMode(outputIndex, mode); in setDrmMode()
320 drmModeModeInfoPtr mode; in setRefreshRate() local
323 mode = &output->connector->modes[i]; in setRefreshRate()
[all …]
DDrm.h60 bool setDpmsMode(int device, int mode);
62 bool getModeInfo(int device, drmModeModeInfo& mode);
65 bool isSameDrmMode(drmModeModeInfoPtr mode, drmModeModeInfoPtr base) const;
72 bool setDrmMode(int index, drmModeModeInfoPtr mode);
90 drmModeModeInfo mode; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
Dx86.h213 x87_set_control_word(unsigned short mode) { in x87_set_control_word() argument
214 __asm__ __volatile__("fldcw %0" : : "m"(*&mode)); in x87_set_control_word()
218 unsigned short mode; in x87_get_control_word() local
219 __asm__ __volatile__("fstcw %0\n\t":"=m"(*&mode):); in x87_get_control_word()
220 return mode; in x87_get_control_word()
224 x87_set_control_word(unsigned short mode) { in x87_set_control_word() argument
225 asm volatile("fldcw %0" : : "m"(*&mode)); in x87_set_control_word()
229 unsigned short mode; in x87_get_control_word() local
230 asm volatile("fstcw %0\n\t":"=m"(*&mode):); in x87_get_control_word()
231 return mode; in x87_get_control_word()
[all …]
/hardware/intel/img/psb_video/src/android/
Dpsb_mds.cpp60 int mode = MDS_MODE_NONE; in getMode() local
62 mode = mListener->getDisplayMode(false); in getMode()
63 if (checkMode(mode, (MDS_VIDEO_ON | MDS_HDMI_CONNECTED))) in getMode()
64 mode = MDS_HDMI_VIDEO_ISPLAYING; in getMode()
65 else if (checkMode(mode, (MDS_VIDEO_ON | MDS_WIDI_ON))) in getMode()
66 mode = MDS_WIDI_VIDEO_ISPLAYING; in getMode()
68 mode = MDS_INIT_VALUE; in getMode()
70 return mode; in getMode()
84 int mode = mListener->getDisplayMode(false); in getDecoderOutputResolution() local
85 if (!checkMode(mode, (MDS_VIDEO_ON | MDS_WIDI_ON))) in getDecoderOutputResolution()
/hardware/intel/img/libdrm/tests/modeprint/
Dmodeprint.c66 int printMode(struct drm_mode_modeinfo *mode) in printMode() argument
69 printf("Mode: %s\n", mode->name); in printMode()
70 printf("\tclock : %i\n", mode->clock); in printMode()
71 printf("\thdisplay : %i\n", mode->hdisplay); in printMode()
72 printf("\thsync_start : %i\n", mode->hsync_start); in printMode()
73 printf("\thsync_end : %i\n", mode->hsync_end); in printMode()
74 printf("\thtotal : %i\n", mode->htotal); in printMode()
75 printf("\thskew : %i\n", mode->hskew); in printMode()
76 printf("\tvdisplay : %i\n", mode->vdisplay); in printMode()
77 printf("\tvsync_start : %i\n", mode->vsync_start); in printMode()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/
Dreconintra_arm.c22 int mode,
31 int mode = x->mode_info_context->mbmi.mode; in vp8_build_intra_predictors_mby_neon() local
35 vp8_build_intra_predictors_mby_neon_func(y_buffer, ypred_ptr, y_stride, mode, Up, Left); in vp8_build_intra_predictors_mby_neon()
42 int mode,
51 int mode = x->mode_info_context->mbmi.mode; in vp8_build_intra_predictors_mby_s_neon() local
55 vp8_build_intra_predictors_mby_s_neon_func(y_buffer, ypred_ptr, y_stride, mode, Up, Left); in vp8_build_intra_predictors_mby_s_neon()
/hardware/libhardware_legacy/audio/
DAudioHardwareInterface.cpp54 static const char* displayMode(int mode) in displayMode() argument
56 if ((mode < AudioSystem::MODE_INVALID) || (mode >= AudioSystem::NUM_MODES)) in displayMode()
58 return routingModeStrings[mode+3]; in displayMode()
86 status_t AudioHardwareBase::setMode(int mode) in setMode() argument
89 ALOGD("setMode(%s)", displayMode(mode)); in setMode()
91 if ((mode < 0) || (mode >= AudioSystem::NUM_MODES)) in setMode()
93 if (mMode == mode) in setMode()
95 mMode = mode; in setMode()
/hardware/qcom/display/msm8084/libexternal/
Dexternal.cpp60 int mode = getUserMode(); in configure() local
61 if (mode == -1) { in configure()
63 mode = getBestMode(); in configure()
65 setResolution(mode); in configure()
253 const msm_hdmi_mode_timing_info* mode) in setDisplayTiming() argument
260 (mode->video_format << 16); in setDisplayTiming()
264 info.xres = mode->active_h; in setDisplayTiming()
265 info.yres = mode->active_v; in setDisplayTiming()
267 info.pixclock = (mode->pixel_freq)*1000; in setDisplayTiming()
268 info.vmode = mode->interlaced ? in setDisplayTiming()
[all …]
/hardware/qcom/display/msm8226/libexternal/
Dexternal.cpp60 int mode = getUserMode(); in configure() local
61 if (mode == -1) { in configure()
63 mode = getBestMode(); in configure()
65 setResolution(mode); in configure()
253 const msm_hdmi_mode_timing_info* mode) in setDisplayTiming() argument
260 (mode->video_format << 16); in setDisplayTiming()
264 info.xres = mode->active_h; in setDisplayTiming()
265 info.yres = mode->active_v; in setDisplayTiming()
267 info.pixclock = (mode->pixel_freq)*1000; in setDisplayTiming()
268 info.vmode = mode->interlaced ? in setDisplayTiming()
[all …]
/hardware/qcom/display/msm8974/libexternal/
Dexternal.cpp96 int mode = getUserMode(); in configureHDMIDisplay() local
97 if (mode == -1) { in configureHDMIDisplay()
99 mode = getBestMode(); in configureHDMIDisplay()
101 setResolution(mode); in configureHDMIDisplay()
355 const msm_hdmi_mode_timing_info* mode) in setDisplayTiming() argument
362 (mode->video_format << 16); in setDisplayTiming()
366 info.xres = mode->active_h; in setDisplayTiming()
367 info.yres = mode->active_v; in setDisplayTiming()
369 info.pixclock = (mode->pixel_freq)*1000; in setDisplayTiming()
370 info.vmode = mode->interlaced ? in setDisplayTiming()
[all …]
/hardware/intel/img/libdrm/tests/modetest/
Dmodetest.c141 void dump_mode(drmModeModeInfo *mode) in dump_mode() argument
144 mode->name, in dump_mode()
145 (float)mode->vrefresh / 1000, in dump_mode()
146 mode->hdisplay, in dump_mode()
147 mode->hsync_start, in dump_mode()
148 mode->hsync_end, in dump_mode()
149 mode->htotal, in dump_mode()
150 mode->vdisplay, in dump_mode()
151 mode->vsync_start, in dump_mode()
152 mode->vsync_end, in dump_mode()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dloopfilter.c119 mode; /* index in mode_lf_deltas */ in vp8_loop_filter_frame_init() local
166 mode = 0; /* B_PRED */ in vp8_loop_filter_frame_init()
168 lvl_mode = lvl_ref + mbd->mode_lf_deltas[mode]; in vp8_loop_filter_frame_init()
172 lfi->lvl[seg][ref][mode] = lvl_mode; in vp8_loop_filter_frame_init()
174 mode = 1; /* all the rest of Intra modes */ in vp8_loop_filter_frame_init()
177 lfi->lvl[seg][ref][mode] = lvl_mode; in vp8_loop_filter_frame_init()
186 for (mode = 1; mode < 4; mode++) in vp8_loop_filter_frame_init()
188 lvl_mode = lvl_ref + mbd->mode_lf_deltas[mode]; in vp8_loop_filter_frame_init()
192 lfi->lvl[seg][ref][mode] = lvl_mode; in vp8_loop_filter_frame_init()
212 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && in vp8_loop_filter_row_normal()
[all …]
/hardware/intel/img/hwcomposer/common/devices/
DPhysicalDevice.cpp163 drmModeModeInfo mode; in getDisplaySize() local
165 bool ret = drm->getModeInfo(mType, mode); in getDisplaySize()
170 *width = mode.hdisplay; in getDisplaySize()
171 *height = mode.vdisplay; in getDisplaySize()
310 drmModeModeInfo mode; in updateDisplayConfigs() local
311 ret = drm->getModeInfo(mType, mode); in updateDisplayConfigs()
333 dpiX = mode.hdisplay / physWidthInch; in updateDisplayConfigs()
334 dpiY = mode.vdisplay / physHeightInch; in updateDisplayConfigs()
340 DisplayConfig *config = new DisplayConfig(mode.vrefresh, in updateDisplayConfigs()
341 mode.hdisplay, in updateDisplayConfigs()
[all …]
/hardware/intel/img/libdrm/
Dinstall-sh74 mode=0755
129 -m) mode=$2
132 case $mode in
135 echo "$0: invalid mode: $mode" >&2
201 case $mode in
212 cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
219 cp_umask=$mode$u_plus_rw;;
323 mkdir_mode=-m$mode
443 test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
465 && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
/hardware/invensense/60xx/mlsdk/mllite/
DmlSetGyroBias.c35 int mode; member
89 inv_error_t inv_set_gyro_bias_in_hw_unit(const short *bias, int mode) in inv_set_gyro_bias_in_hw_unit() argument
99 sgb.mode = mode; in inv_set_gyro_bias_in_hw_unit()
107 inv_error_t inv_set_gyro_bias_in_dps(const long *bias, int mode) in inv_set_gyro_bias_in_dps() argument
127 result = inv_set_gyro_bias_in_hw_unit(offset, mode); in inv_set_gyro_bias_in_dps()
131 inv_error_t inv_set_gyro_bias_in_dps_float(const float *bias, int mode) in inv_set_gyro_bias_in_dps_float() argument
139 result = inv_set_gyro_bias_in_dps(biasL, mode); in inv_set_gyro_bias_in_dps_float()
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
Dfimc-is-metadata.h227 enum processing_mode mode; member
231 enum processing_mode mode; member
239 enum processing_mode mode; member
243 enum processing_mode mode; member
251 enum processing_mode mode; member
256 enum processing_mode mode; member
265 enum processing_mode mode; member
269 enum processing_mode mode; member
277 enum processing_mode mode; member
281 enum processing_mode mode; member
[all …]
/hardware/samsung_slsi/exynos5/libcamera2/
Dfimc-is-metadata.h209 enum processing_mode mode; member
212 enum processing_mode mode; member
216 enum processing_mode mode; member
220 enum processing_mode mode; member
224 enum processing_mode mode; member
229 enum processing_mode mode; member
234 enum processing_mode mode; member
237 enum processing_mode mode; member
241 enum processing_mode mode; member
245 enum processing_mode mode; member
[all …]
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dmsm_rmnet.h13 #define RMNET_IS_MODE_QOS(mode) \ argument
14 ((mode & RMNET_MODE_QOS) == RMNET_MODE_QOS)
15 #define RMNET_IS_MODE_IP(mode) \ argument
16 ((mode & RMNET_MODE_LLP_IP) == RMNET_MODE_LLP_IP)
/hardware/qcom/msm8x74/kernel-headers/linux/
Dmsm_rmnet.h27 #define RMNET_IS_MODE_QOS(mode) ((mode & RMNET_MODE_QOS) == RMNET_MODE_QOS) argument
29 #define RMNET_IS_MODE_IP(mode) ((mode & RMNET_MODE_LLP_IP) == RMNET_MODE_LLP_IP) argument
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_rmnet.h26 #define RMNET_IS_MODE_QOS(mode) \ argument
27 ((mode & RMNET_MODE_QOS) == RMNET_MODE_QOS)
28 #define RMNET_IS_MODE_IP(mode) \ argument
29 ((mode & RMNET_MODE_LLP_IP) == RMNET_MODE_LLP_IP)
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_rmnet.h27 #define RMNET_IS_MODE_QOS(mode) ((mode & RMNET_MODE_QOS) == RMNET_MODE_QOS) argument
29 #define RMNET_IS_MODE_IP(mode) ((mode & RMNET_MODE_LLP_IP) == RMNET_MODE_LLP_IP) argument
/hardware/qcom/gps/core/
Dgps_extended.h40 LocPositionMode mode; member
50 mode(m), recurrence(recr), in LocPosMode()
64 mode(LOC_POSITION_MODE_MS_BASED), in LocPosMode()
74 return anotherMode.mode == mode && in equals()
/hardware/qcom/gps/msm8960/core/
Dgps_extended.h40 LocPositionMode mode; member
50 mode(m), recurrence(recr), in LocPosMode()
64 mode(LOC_POSITION_MODE_MS_BASED), in LocPosMode()
74 return anotherMode.mode == mode && in equals()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_decodemv.c50 const int mode = vp9_read_tree(r, vp9_inter_mode_tree, in read_inter_mode() local
53 ++cm->counts.inter_mode[ctx][mode]; in read_inter_mode()
55 return NEARESTMV + mode; in read_inter_mode()
182 mbmi->mode = mi->bmi[3].as_mode; in read_intra_frame_mode_info()
187 mi->bmi[1].as_mode = mi->bmi[3].as_mode = mbmi->mode = in read_intra_frame_mode_info()
193 mi->bmi[2].as_mode = mi->bmi[3].as_mode = mbmi->mode = in read_intra_frame_mode_info()
197 mbmi->mode = read_intra_mode(r, in read_intra_frame_mode_info()
201 mbmi->uv_mode = read_intra_mode(r, vp9_kf_uv_mode_prob[mbmi->mode]); in read_intra_frame_mode_info()
262 const REFERENCE_MODE mode = in read_block_reference_mode() local
265 ++cm->counts.comp_inter[ctx][mode]; in read_block_reference_mode()
[all …]
/hardware/qcom/display/msm8960/libexternal/
Dexternal.cpp94 int mode = getUserMode(); in configureHDMIDisplay() local
95 if (mode == -1) { in configureHDMIDisplay()
97 mode = getBestMode(); in configureHDMIDisplay()
99 setResolution(mode); in configureHDMIDisplay()
483 int ExternalDisplay::getModeOrder(int mode) in getModeOrder() argument
487 switch (mode) { in getModeOrder()
531 int mode = atoi(property_value); in getUserMode() local
533 if(isValidMode(mode) && !isInterlacedMode(mode)) { in getUserMode()
534 ALOGD_IF(DEBUG, "%s: setting the HDMI mode = %d", __FUNCTION__, mode); in getUserMode()
535 return mode; in getUserMode()
[all …]

12345678910>>...14