Home
last modified time | relevance | path

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

12345678

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_dct.c27 static void fdct4(const int16_t *input, int16_t *output) { in fdct4() argument
38 output[0] = fdct_round_shift(temp1); in fdct4()
39 output[2] = fdct_round_shift(temp2); in fdct4()
42 output[1] = fdct_round_shift(temp1); in fdct4()
43 output[3] = fdct_round_shift(temp2); in fdct4()
46 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride) { in vp9_fdct4x4_c() argument
99 out = output; in vp9_fdct4x4_c()
106 output[j + i * 4] = (output[j + i * 4] + 1) >> 2; in vp9_fdct4x4_c()
111 static void fadst4(const int16_t *input, int16_t *output) { in fadst4() argument
121 output[0] = output[1] = output[2] = output[3] = 0; in fadst4()
[all …]
/hardware/intel/img/hwcomposer/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 …]
/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.cpp61 void init_mds_listener(void* output) { in init_mds_listener() argument
62 psb_android_output_p aoutput = (psb_android_output_p)output; in init_mds_listener()
71 void deinit_mds_listener(void* output) { in deinit_mds_listener() argument
72 psb_android_output_p aoutput = (psb_android_output_p)output; in deinit_mds_listener()
83 int psb_android_get_mds_mode(void* output) { in psb_android_get_mds_mode() argument
84 if (output == NULL) in psb_android_get_mds_mode()
86 psb_android_output_p aoutput = (psb_android_output_p)output; in psb_android_get_mds_mode()
96 int psb_android_get_mds_decoder_output_resolution(void* output, in psb_android_get_mds_decoder_output_resolution() argument
100 if (output == NULL || in psb_android_get_mds_decoder_output_resolution()
105 psb_android_output_p aoutput = (psb_android_output_p)output; in psb_android_get_mds_decoder_output_resolution()
[all …]
Dpsb_HDMIExtMode.h84 VAStatus psb_HDMIExt_get_prop(psb_android_output_p output, unsigned short *xres, unsigned short *yr…
86 psb_hdmi_mode psb_HDMIExt_get_mode(psb_android_output_p output);
89 psb_HDMIExt_info_p psb_HDMIExt_init(VADriverContextP ctx, psb_android_output_p output);
90 VAStatus psb_HDMIExt_deinit(psb_android_output_p output);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Didct_test.cc31 for (i = 0; i < 256; i++) output[i] = ((i & 0xF) < 4 && (i < 64)) ? 0 : -1; in SetUp()
38 unsigned char output[256]; member in __anon1e13ee830111::IDCTTest
47 EXPECT_EQ(0, output[i]) << i; in TEST_P()
49 EXPECT_EQ(255, output[i]); in TEST_P()
55 REGISTER_STATE_CHECK(UUT(input, output, 16, output, 16)); in TEST_P()
59 EXPECT_EQ(0, output[i]) << "i==" << i; in TEST_P()
61 EXPECT_EQ(255, output[i]) << "i==" << i; in TEST_P()
68 REGISTER_STATE_CHECK(UUT(input, output, 16, output, 16)); in TEST_P()
72 EXPECT_EQ(1, output[i]) << "i==" << i; in TEST_P()
74 EXPECT_EQ(255, output[i]) << "i==" << i; in TEST_P()
[all …]
Ddct16x16_test.cc26 void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch);
44 void reference2_16x16_idct_2d(double *input, double *output) { in reference2_16x16_idct_2d() argument
61 output[k*16+l] = s; in reference2_16x16_idct_2d()
83 void butterfly_16x16_dct_1d(double input[16], double output[16]) { in butterfly_16x16_dct_1d()
107 output[0] = step[0] + step[7]; in butterfly_16x16_dct_1d()
108 output[1] = step[1] + step[6]; in butterfly_16x16_dct_1d()
109 output[2] = step[2] + step[5]; in butterfly_16x16_dct_1d()
110 output[3] = step[3] + step[4]; in butterfly_16x16_dct_1d()
111 output[4] = step[3] - step[4]; in butterfly_16x16_dct_1d()
112 output[5] = step[2] - step[5]; in butterfly_16x16_dct_1d()
[all …]
Didct8x8_test.cc35 void reference_dct_1d(double input[8], double output[8]) { in reference_dct_1d()
39 output[k] = 0.0; in reference_dct_1d()
41 output[k] += input[n]*cos(kPi*(2*n+1)*k/16.0); in reference_dct_1d()
43 output[k] = output[k]*kInvSqrt2; in reference_dct_1d()
47 void reference_dct_2d(int16_t input[64], double output[64]) { in reference_dct_2d()
55 output[j*8 + i] = temp_out[j]; in reference_dct_2d()
61 temp_in[j] = output[j + i*8]; in reference_dct_2d()
64 output[j + i*8] = temp_out[j]; in reference_dct_2d()
68 output[i] *= 2; in reference_dct_2d()
71 void reference_idct_1d(double input[8], double output[8]) { in reference_idct_1d()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_idct.c25 int16_t output[16]; in vp9_iwht4x4_16_add_c() local
28 int16_t *op = output; in vp9_iwht4x4_16_add_c()
50 ip = output; in vp9_iwht4x4_16_add_c()
99 static void idct4(const int16_t *input, int16_t *output) { in idct4() argument
113 output[0] = step[0] + step[3]; in idct4()
114 output[1] = step[1] + step[2]; in idct4()
115 output[2] = step[1] - step[2]; in idct4()
116 output[3] = step[0] - step[3]; in idct4()
159 static void idct8(const int16_t *input, int16_t *output) { in idct8() argument
194 output[0] = step1[0] + step1[7]; in idct8()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Ddct.c14 void vp8_short_fdct4x4_c(short *input, short *output, int pitch) in vp8_short_fdct4x4_c() argument
19 short *op = output; in vp8_short_fdct4x4_c()
38 ip = output; in vp8_short_fdct4x4_c()
39 op = output; in vp8_short_fdct4x4_c()
58 void vp8_short_fdct8x4_c(short *input, short *output, int pitch) in vp8_short_fdct8x4_c() argument
60 vp8_short_fdct4x4_c(input, output, pitch); in vp8_short_fdct8x4_c()
61 vp8_short_fdct4x4_c(input + 4, output + 16, pitch); in vp8_short_fdct8x4_c()
64 void vp8_short_walsh4x4_c(short *input, short *output, int pitch) in vp8_short_walsh4x4_c() argument
70 short *op = output; in vp8_short_walsh4x4_c()
88 ip = output; in vp8_short_walsh4x4_c()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/
Dvp9_itrans32_dspr2.c22 static void idct32_rows_dspr2(const int16_t *input, int16_t *output, in idct32_rows_dspr2() argument
90 : [output] "r" (output) in idct32_rows_dspr2()
93 output += 1; in idct32_rows_dspr2()
833 output[0 * 32] = step1_0 + step2_31; in idct32_rows_dspr2()
834 output[1 * 32] = step1_1 + step2_30; in idct32_rows_dspr2()
835 output[2 * 32] = step1_2 + step2_29; in idct32_rows_dspr2()
836 output[3 * 32] = step1_3 + step2_28; in idct32_rows_dspr2()
837 output[4 * 32] = step1_4 + step1_27; in idct32_rows_dspr2()
838 output[5 * 32] = step1_5 + step1_26; in idct32_rows_dspr2()
839 output[6 * 32] = step1_6 + step1_25; in idct32_rows_dspr2()
[all …]
Dvp9_itrans8_dspr2.c22 static void idct8_rows_dspr2(const int16_t *input, int16_t *output, in idct8_rows_dspr2() argument
195 [output] "r" (output), [input] "r" (input) in idct8_rows_dspr2()
199 output += 1; in idct8_rows_dspr2()
471 static void iadst8_dspr2(const int16_t *input, int16_t *output) { in iadst8_dspr2() argument
485 output[0] = output[1] = output[2] = output[3] = output[4] in iadst8_dspr2()
486 = output[5] = output[6] = output[7] = 0; in iadst8_dspr2()
539 output[0] = x0; in iadst8_dspr2()
540 output[1] = -x4; in iadst8_dspr2()
541 output[2] = x6; in iadst8_dspr2()
542 output[3] = -x2; in iadst8_dspr2()
[all …]
Dvp9_itrans16_dspr2.c22 static void idct16_rows_dspr2(const int16_t *input, int16_t *output, in idct16_rows_dspr2() argument
359 : [output] "r" (output), in idct16_rows_dspr2()
395 : [output] "r" (output), in idct16_rows_dspr2()
403 output += 1; in idct16_rows_dspr2()
914 static void iadst16(const int16_t *input, int16_t *output) { in iadst16() argument
936 output[0] = output[1] = output[2] = output[3] = output[4] in iadst16()
937 = output[5] = output[6] = output[7] = output[8] in iadst16()
938 = output[9] = output[10] = output[11] = output[12] in iadst16()
939 = output[13] = output[14] = output[15] = 0; in iadst16()
1067 output[0] = x0; in iadst16()
[all …]
Dvp9_itrans4_dspr2.c22 static void vp9_idct4_rows_dspr2(const int16_t *input, int16_t *output) { in vp9_idct4_rows_dspr2() argument
95 [output] "+r" (output) in vp9_idct4_rows_dspr2()
103 output += 1; in vp9_idct4_rows_dspr2()
322 static void iadst4_dspr2(const int16_t *input, int16_t *output) { in iadst4_dspr2() argument
332 output[0] = output[1] = output[2] = output[3] = 0; in iadst4_dspr2()
359 output[0] = dct_const_round_shift(s0); in iadst4_dspr2()
360 output[1] = dct_const_round_shift(s1); in iadst4_dspr2()
361 output[2] = dct_const_round_shift(s2); in iadst4_dspr2()
362 output[3] = dct_const_round_shift(s3); in iadst4_dspr2()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Didctllm.c35 short output[16]; in vp8_short_idct4x4llm_c() local
37 short *op = output; in vp8_short_idct4x4llm_c()
64 ip = output; in vp8_short_idct4x4llm_c()
65 op = output; in vp8_short_idct4x4llm_c()
91 ip = output; in vp8_short_idct4x4llm_c()
142 short output[16]; in vp8_short_inv_walsh4x4_c() local
147 short *op = output; in vp8_short_inv_walsh4x4_c()
164 ip = output; in vp8_short_inv_walsh4x4_c()
165 op = output; in vp8_short_inv_walsh4x4_c()
190 mb_dqcoeff[i * 16] = output[i]; in vp8_short_inv_walsh4x4_c()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ppc/
Dcsystemdependent.c40 void (*vp8_short_fdct4x4)(short *input, short *output, int pitch);
41 void (*vp8_short_fdct8x4)(short *input, short *output, int pitch);
42 void (*vp8_fast_fdct4x4)(short *input, short *output, int pitch);
43 void (*vp8_fast_fdct8x4)(short *input, short *output, int pitch);
44 void (*short_walsh4x4)(short *input, short *output, int pitch);
59 extern void short_fdct4x4_c(short *input, short *output, int pitch);
60 extern void short_fdct8x4_c(short *input, short *output, int pitch);
61 extern void vp8_short_walsh4x4_c(short *input, short *output, int pitch);
93 extern void vp8_short_fdct4x4_ppc(short *input, short *output, int pitch);
94 extern void vp8_short_fdct8x4_ppc(short *input, short *output, int pitch);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/
Dwrap-commit-msg.py44 output = ""
53 output += wrap(text)
55 output += line
56 output += wrap(text)
64 fileobj.write(output)
/hardware/libhardware_legacy/audio/
DAudioPolicyCompatClient.cpp58 status_t AudioPolicyCompatClient::closeOutput(audio_io_handle_t output) in closeOutput() argument
60 return mServiceOps->close_output(mService, output); in closeOutput()
63 status_t AudioPolicyCompatClient::suspendOutput(audio_io_handle_t output) in suspendOutput() argument
65 return mServiceOps->suspend_output(mService, output); in suspendOutput()
68 status_t AudioPolicyCompatClient::restoreOutput(audio_io_handle_t output) in restoreOutput() argument
70 return mServiceOps->restore_output(mService, output); in restoreOutput()
122 audio_io_handle_t output, in setStreamVolume() argument
126 volume, output, delayMs); in setStreamVolume()
DAudioPolicyManagerBase.cpp466 audio_io_handle_t output = mOutputs.keyAt(i); in setForceUse() local
467 audio_devices_t newDevice = getNewDevice(output, true /*fromCache*/); in setForceUse()
468 setOutputDevice(output, newDevice, (newDevice != AUDIO_DEVICE_NONE)); in setForceUse()
470 applyStreamVolumes(output, newDevice, 0, true); in setForceUse()
544 audio_io_handle_t output = 0; in getOutput() local
639 output = mpClientInterface->openOutput(profile->mModule->mHandle, in getOutput()
649 if (output == 0 || in getOutput()
654 "format %d %d, channelMask %04x %04x", output, samplingRate, in getOutput()
657 if (output != 0) { in getOutput()
658 mpClientInterface->closeOutput(output); in getOutput()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/
Ddct_arm.c16 void vp8_short_fdct8x4_armv6(short *input, short *output, int pitch) in vp8_short_fdct8x4_armv6() argument
18 vp8_short_fdct4x4_armv6(input, output, pitch); in vp8_short_fdct8x4_armv6()
19 vp8_short_fdct4x4_armv6(input + 4, output + 16, pitch); in vp8_short_fdct8x4_armv6()
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
Dml_math_func.c613 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) in inv_convert_to_body() argument
615 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004); in inv_convert_to_body()
616 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020); in inv_convert_to_body()
617 output[2] = input[(orientation>>6) & 0x03] * SIGNSET(orientation & 0x100); in inv_convert_to_body()
625 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output) in inv_convert_to_chip() argument
627 output[orientation & 0x03] = input[0] * SIGNSET(orientation & 0x004); in inv_convert_to_chip()
628 output[(orientation>>3) & 0x03] = input[1] * SIGNSET(orientation & 0x020); in inv_convert_to_chip()
629 output[(orientation>>6) & 0x03] = input[2] * SIGNSET(orientation & 0x100); in inv_convert_to_chip()
640 …t_to_body_with_scale(unsigned short orientation, long sensitivity, const long *input, long *output) in inv_convert_to_body_with_scale() argument
642 output[0] = inv_q30_mult(input[orientation & 0x03] * in inv_convert_to_body_with_scale()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/arm/neon/
Dvp9_idct32x32_add_neon.asm71 ; Load from output (used as temporary storage)
72 ; reg1 = output[first_offset]
73 ; reg2 = output[second_offset]
75 ; output, whether reading or storing) must be passed in. use 0 for first
87 ; Store into output (sometimes as as temporary storage)
88 ; output[first_offset] = reg1
89 ; output[second_offset] = reg2
91 ; output, whether reading or storing) must be passed in. use 0 for first
239 ; valid output registers are anything but q8-q11
284 ; valid output registers are anything but q8-q11
[all …]

12345678