Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 162) sorted by relevance

1234567

/hardware/intel/img/hwcomposer/merrifield/common/base/
DDrm.cpp93 DrmOutput *output = &mOutputs[outputIndex]; in detect() local
121 output->connector = connector; in detect()
122 output->connected = true; in detect()
127 output->encoder = drmModeGetEncoder(mDrmFd, connector->encoder_id); in detect()
128 if (!output->encoder) { in detect()
133 if (!output->encoder) { in detect()
148 output->encoder = encoder; in detect()
155 if (!output->encoder) { in detect()
161 if (output->encoder->crtc_id) { in detect()
163 output->crtc = drmModeGetCrtc(mDrmFd, output->encoder->crtc_id); in detect()
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DDrm.cpp93 DrmOutput *output = &mOutputs[outputIndex]; in detect() local
121 output->connector = connector; in detect()
122 output->connected = true; in detect()
127 output->encoder = drmModeGetEncoder(mDrmFd, connector->encoder_id); in detect()
128 if (!output->encoder) { in detect()
133 if (!output->encoder) { in detect()
148 output->encoder = encoder; in detect()
155 if (!output->encoder) { in detect()
161 if (output->encoder->crtc_id) { in detect()
163 output->crtc = drmModeGetCrtc(mDrmFd, output->encoder->crtc_id); in detect()
[all …]
/hardware/intel/img/psb_video/src/x11/
Dpsb_xvva.c44 #define INIT_OUTPUT_PRIV psb_x11_output_p output = (psb_x11_output_p)(((psb_driver_data_p)ctx->p…
62 static int GetPortId(VADriverContextP ctx, psb_x11_output_p output) in GetPortId() argument
98 output->textured_portID = info[i].base_id + k; in GetPortId()
101 output->overlay_portID = info[i].base_id + k; in GetPortId()
112 if ((output->textured_portID == 0) && (output->overlay_portID == 0)) { in GetPortId()
121 VAStatus psb_init_xvideo(VADriverContextP ctx, psb_x11_output_p output) in psb_init_xvideo() argument
130 output->textured_portID = output->overlay_portID = 0; in psb_init_xvideo()
131 if (GetPortId(ctx, output)) { in psb_init_xvideo()
136 if (output->textured_portID) in psb_init_xvideo()
137 …_DEBUG_GENERAL, "Detected textured Xvideo port_id = %d.\n", (unsigned int)output->textured_portID); in psb_init_xvideo()
[all …]
Dpsb_coverlay.c50 #define INIT_OUTPUT_PRIV psb_x11_output_p output = (psb_x11_output_p)(((psb_driver_data_p)ctx->p…
375 XFillRectangle((Display *)ctx->native_dpy, draw, output->gc, destx, desty, destw, desth); in psb_cleardrawable_stopoverlay()
498 …XPutImage(ctx->native_dpy, output->output_drawable, output->gc, ximg, srcx, srcy, destx, desty, wi… in psb_DisplayRGBASubpicture()
511 XPutImage(ctx->native_dpy, output->extend_drawable, output->extend_gc, ximg, in psb_DisplayRGBASubpicture()
541 if (output->frame_count % 500 == 0 || driver_data->xrandr_update) { in psb_repaint_colorkey()
543 if (output->pClipBoxList) in psb_repaint_colorkey()
544 psb_x11_freeWindowClipBoxList(output->pClipBoxList); in psb_repaint_colorkey()
546 …ret = psb_x11_createWindowClipBoxList(ctx->native_dpy, draw, &output->pClipBoxList, &output->ui32N… in psb_repaint_colorkey()
551 if (output->frame_count == 500) in psb_repaint_colorkey()
552 output->frame_count = 0; in psb_repaint_colorkey()
[all …]
Dpsb_x11.c49 #define INIT_OUTPUT_PRIV psb_x11_output_p output = (psb_x11_output_p)(((psb_driver_data_p)ctx->p…
269 psb_x11_output_p output = calloc(1, sizeof(psb_x11_output_s)); in psb_x11_output_init() local
271 if (output == NULL) { in psb_x11_output_init()
283 return output; in psb_x11_output_init()
286 psb_init_xvideo(ctx, output); in psb_x11_output_init()
288 output->output_drawable = 0; in psb_x11_output_init()
289 output->extend_drawable = 0; in psb_x11_output_init()
290 output->pClipBoxList = NULL; in psb_x11_output_init()
291 output->ui32NumClipBoxList = 0; in psb_x11_output_init()
292 output->frame_count = 0; in psb_x11_output_init()
[all …]
Dpsb_ctexture.c52 #define INIT_OUTPUT_PRIV psb_x11_output_p output = (psb_x11_output_p)(((psb_driver_data_p)ctx->p…
71output->extend_drawable = (Window)psb_xrandr_create_full_screen_window(destx, desty, destw, desth); in psb_extend_dri_init()
72 if (!output->extend_drawable) { in psb_extend_dri_init()
73 …ROR, "%s: Failed to create drawable for extend display # %d\n", __func__, output->extend_drawable); in psb_extend_dri_init()
81 texture_priv->extend_dri_drawable = dri_get_drawable(ctx, output->extend_drawable); in psb_extend_dri_init()
275 if (output->output_drawable != draw) { in psb_putsurface_ctexture()
276 output->output_drawable = draw; in psb_putsurface_ctexture()
331 ret = psb_dri_init(ctx, output->output_drawable); in psb_putsurface_ctexture()
339 if (output->extend_drawable) { in psb_putsurface_ctexture()
340 XDestroyWindow(ctx->native_dpy, output->extend_drawable); in psb_putsurface_ctexture()
[all …]
/hardware/intel/img/psb_video/src/android/
Dpsb_output_android.c51 #define INIT_OUTPUT_PRIV psb_android_output_p output = (psb_android_output_p)(((psb_driver_data_…
90 psb_android_output_p output = calloc(1, sizeof(psb_android_output_s)); in psb_android_output_init() local
94 if (output == NULL) { in psb_android_output_init()
98 memset(output, 0, sizeof(psb_android_output_s)); in psb_android_output_init()
101 output->screen_width = 800; in psb_android_output_init()
102 output->screen_height = 480; in psb_android_output_init()
112 output->screen_width = vinfo.xres; in psb_android_output_init()
113 output->screen_height = vinfo.yres; in psb_android_output_init()
131 return (unsigned char *)output; in psb_android_output_init()
140 if (output->mds != NULL) { in psb_android_output_deinit()
[all …]
Dpsb_android_glue.cpp57 void init_mds_listener(void* output) { in init_mds_listener() argument
58 psb_android_output_p aoutput = (psb_android_output_p)output; in init_mds_listener()
67 void deinit_mds_listener(void* output) { in deinit_mds_listener() argument
68 psb_android_output_p aoutput = (psb_android_output_p)output; in deinit_mds_listener()
79 int psb_android_get_mds_mode(void* output) { in psb_android_get_mds_mode() argument
80 if (output == NULL) in psb_android_get_mds_mode()
82 psb_android_output_p aoutput = (psb_android_output_p)output; in psb_android_get_mds_mode()
92 int psb_android_get_mds_decoder_output_resolution(void* output, in psb_android_get_mds_decoder_output_resolution() argument
96 if (output == NULL || in psb_android_get_mds_decoder_output_resolution()
101 psb_android_output_p aoutput = (psb_android_output_p)output; in psb_android_get_mds_decoder_output_resolution()
[all …]
Dpsb_HDMIExtMode.h83 VAStatus psb_HDMIExt_get_prop(psb_android_output_p output, unsigned short *xres, unsigned short *yr…
85 psb_hdmi_mode psb_HDMIExt_get_mode(psb_android_output_p output);
88 psb_HDMIExt_info_p psb_HDMIExt_init(VADriverContextP ctx, psb_android_output_p output);
89 VAStatus psb_HDMIExt_deinit(psb_android_output_p output);
Dpsb_HDMIExtMode.c36 VAStatus psb_HDMIExt_get_prop(psb_android_output_p output, in psb_HDMIExt_get_prop() argument
39 psb_HDMIExt_info_p psb_HDMIExt_info = (psb_HDMIExt_info_p)output->psb_HDMIExt_info; in psb_HDMIExt_get_prop()
52 psb_hdmi_mode psb_HDMIExt_get_mode(psb_android_output_p output) in psb_HDMIExt_get_mode() argument
54 psb_HDMIExt_info_p psb_HDMIExt_info = (psb_HDMIExt_info_p)output->psb_HDMIExt_info; in psb_HDMIExt_get_mode()
131 psb_HDMIExt_info_p psb_HDMIExt_init(VADriverContextP ctx, psb_android_output_p output) in psb_HDMIExt_init() argument
223 VAStatus psb_HDMIExt_deinit(psb_android_output_p output) in psb_HDMIExt_deinit() argument
225 psb_HDMIExt_info_p psb_HDMIExt_info = (psb_HDMIExt_info_p)output->psb_HDMIExt_info; in psb_HDMIExt_deinit()
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp404 std::stringstream output; in dump() local
406 output << "-- HWC2On1Adapter --\n"; in dump()
408 output << "Adapting to a HWC 1." << static_cast<int>(mHwc1MinorVersion) << in dump()
418 output << "Capabilities: None\n"; in dump()
420 output << "Capabilities:\n"; in dump()
422 output << " " << to_string(capability) << '\n'; in dump()
426 output << "Displays:\n"; in dump()
429 output << display->dump(); in dump()
431 output << '\n'; in dump()
438 output << "HWC1 dump:\n"; in dump()
[all …]
/hardware/google/apf/
Dapf_run.c29 int parse_hex(char* input, uint8_t** output) { in parse_hex() argument
36 *output = malloc(length); in parse_hex()
37 if (*output == NULL) { in parse_hex()
44 (*output)[i] = strtol(byte, &end_ptr, 16); in parse_hex()
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.hal71 * Takes two input tensors of identical type and compatible dimensions. The output
78 * The size of the output is the maximum size along each dimension of the input operands.
84 * output.dimension = {5, 4, 3, 2}
103 * The output dimensions are functions of the filter dimensions, stride, and padding.
105 * The values in output Tensor is computed as:
106 * output[batch, row, col, channel] =
119 * 5: An INT32 value, specifying the output stride in the ‘width’ dimension.
120 * 6: An INT32 value, specifying the output stride in the ‘height’ dimension.
127 * 0: The output 4-D tensor, of shape [batches, out_height, out_width, depth].
148 * 0: The output, a tensor of the same type as the input tensors.
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidParser.h125 bool decode(uint32_t input, double *output) const { in decode()
126 if (output == nullptr) { in decode()
133 *output = (s + b) * a; in decode()
137 bool encode(double input, uint32_t *output) const { in encode()
138 if (output == nullptr) { in encode()
145 *output = static_cast<uint32_t>(static_cast<int64_t>(input) & rawMask()); in encode()
/hardware/libhardware/include/hardware/
Daudio_policy.h142 audio_io_handle_t output,
149 audio_io_handle_t output,
154 void (*release_output)(struct audio_policy *pol, audio_io_handle_t output);
223 audio_io_handle_t output,
286 int (*close_output)(void *service, audio_io_handle_t output);
294 int (*suspend_output)(void *service, audio_io_handle_t output);
297 int (*restore_output)(void *service, audio_io_handle_t output);
329 audio_io_handle_t output,
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioPolicyInterface.h99 virtual status_t startOutput(audio_io_handle_t output,
103 virtual status_t stopOutput(audio_io_handle_t output,
107 virtual void releaseOutput(audio_io_handle_t output) = 0;
205 virtual status_t closeOutput(audio_io_handle_t output) = 0;
208 virtual status_t suspendOutput(audio_io_handle_t output) = 0;
210 virtual status_t restoreOutput(audio_io_handle_t output) = 0;
230 …mVolume(AudioSystem::stream_type stream, float volume, audio_io_handle_t output, int delayMs = 0) …
DAudioPolicyManagerBase.h95 virtual status_t startOutput(audio_io_handle_t output,
98 virtual status_t stopOutput(audio_io_handle_t output,
101 virtual void releaseOutput(audio_io_handle_t output);
365 uint32_t setOutputDevice(audio_io_handle_t output,
383 …virtual float computeVolume(int stream, int index, audio_io_handle_t output, audio_devices_t devic…
386 …status_t checkAndSetVolume(int stream, int index, audio_io_handle_t output, audio_devices_t device…
389 …void applyStreamVolumes(audio_io_handle_t output, audio_devices_t device, int delayMs = 0, bool fo…
394 audio_io_handle_t output,
401 audio_io_handle_t output,
432 void closeOutput(audio_io_handle_t output);
[all …]
/hardware/qcom/audio/post_proc/
Dbundle.c106 output_context_t *get_output(audio_io_handle_t output) in get_output() argument
114 if (out_ctxt->handle == output) in get_output()
120 void add_effect_to_output(output_context_t * output, effect_context_t *context) in add_effect_to_output() argument
124 list_for_each(fx_node, &output->effects_list) { in add_effect_to_output()
131 list_add_tail(&output->effects_list, &context->output_node); in add_effect_to_output()
133 context->ops.start(context, output); in add_effect_to_output()
137 void remove_effect_from_output(output_context_t * output, in remove_effect_from_output() argument
142 list_for_each(fx_node, &output->effects_list) { in remove_effect_from_output()
148 context->ops.stop(context, output); in remove_effect_from_output()
182 int offload_effects_bundle_hal_start_output(audio_io_handle_t output, int pcm_id) in offload_effects_bundle_hal_start_output() argument
[all …]
Dvirtualizer.h52 int virtualizer_start(effect_context_t *context, output_context_t *output);
54 int virtualizer_stop(effect_context_t *context, output_context_t *output);
Dbass_boost.h52 int bassboost_start(effect_context_t *context, output_context_t *output);
54 int bassboost_stop(effect_context_t *context, output_context_t *output);
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dml_math_func.h31 float output; member
94 void inv_convert_to_body(unsigned short orientation, const long *input, long *output);
95 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output);
96 …_to_body_with_scale(unsigned short orientation, long sensitivity, const long *input, long *output);
Dml_math_func.c612 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) in inv_convert_to_body() argument
614 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004); in inv_convert_to_body()
615 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020); in inv_convert_to_body()
616 output[2] = input[(orientation>>6) & 0x03] * SIGNSET(orientation & 0x100); in inv_convert_to_body()
624 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output) in inv_convert_to_chip() argument
626 output[orientation & 0x03] = input[0] * SIGNSET(orientation & 0x004); in inv_convert_to_chip()
627 output[(orientation>>3) & 0x03] = input[1] * SIGNSET(orientation & 0x020); in inv_convert_to_chip()
628 output[(orientation>>6) & 0x03] = input[2] * SIGNSET(orientation & 0x100); in inv_convert_to_chip()
641 const long *input, long *output) in inv_convert_to_body_with_scale() argument
643 output[0] = inv_q30_mult(input[orientation & 0x03] * in inv_convert_to_body_with_scale()
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dml_math_func.h31 float output; member
94 void inv_convert_to_body(unsigned short orientation, const long *input, long *output);
95 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output);
96 …_to_body_with_scale(unsigned short orientation, long sensitivity, const long *input, long *output);
Dml_math_func.c612 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) in inv_convert_to_body() argument
614 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004); in inv_convert_to_body()
615 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020); in inv_convert_to_body()
616 output[2] = input[(orientation>>6) & 0x03] * SIGNSET(orientation & 0x100); in inv_convert_to_body()
624 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output) in inv_convert_to_chip() argument
626 output[orientation & 0x03] = input[0] * SIGNSET(orientation & 0x004); in inv_convert_to_chip()
627 output[(orientation>>3) & 0x03] = input[1] * SIGNSET(orientation & 0x020); in inv_convert_to_chip()
628 output[(orientation>>6) & 0x03] = input[2] * SIGNSET(orientation & 0x100); in inv_convert_to_chip()
641 const long *input, long *output) in inv_convert_to_body_with_scale() argument
643 output[0] = inv_q30_mult(input[orientation & 0x03] * in inv_convert_to_body_with_scale()
[all …]
/hardware/interfaces/audio/common/2.0/
Dtypes.hal107 REROUTING = 11, // For dynamic policy output mixes
159 * Session for effects attached to a particular output stream
164 * Session for effects applied to output mix. These effects can
165 * be moved by audio policy manager to another output stream
178 * It is also used with output tracks and patch tracks, which never have a
316 * bit corresponds to the spatial position of a transducer (output), or
318 * know the context of whether it is for output or input. The constants
325 * interpretation of the various bits. There is no concept of output or
330 * Warning: current representation distinguishes between input and output, but
332 * is an ambiguity between input and output that is currently resolved by
[all …]

1234567