Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/hardware/interfaces/wifi/1.3/default/tests/
Dringbuffer_unit_tests.cpp41 const std::vector<uint8_t> input(maxBufferSize_ / 2, '0'); in TEST_F() local
43 buffer_.append(input); in TEST_F()
46 EXPECT_EQ(input, buffer_.getData().front()); in TEST_F()
51 const std::vector<uint8_t> input(maxBufferSize_ / 2, '0'); in TEST_F() local
54 buffer_.append(input); in TEST_F()
63 const std::vector<uint8_t> input(maxBufferSize_ / 2, '0'); in TEST_F() local
66 buffer_.append(input); in TEST_F()
74 const std::vector<uint8_t> input = {}; in TEST_F() local
75 buffer_.append(input); in TEST_F()
80 const std::vector<uint8_t> input(maxBufferSize_ + 1, '0'); in TEST_F() local
[all …]
/hardware/interfaces/wifi/1.3/default/
Dringbuffer.cpp29 void Ringbuffer::append(const std::vector<uint8_t>& input) { in append() argument
30 if (input.size() == 0) { in append()
33 if (input.size() > maxSize_) { in append()
34 LOG(INFO) << "Oversized message of " << input.size() in append()
38 data_.push_back(input); in append()
39 size_ += input.size() * sizeof(input[0]); in append()
/hardware/google/av/media/codecs/amr_nb_wb/
DC2SoftAmrDec.cpp51 .withConstValue(new C2StreamFormatConfig::input(0u, C2FormatCompressed)) in IntfImpl()
61 .withConstValue(AllocSharedString<C2PortMimeConfig::input>( in IntfImpl()
97 .withDefault(new C2BitrateTuning::input(0u, 4750)) in IntfImpl()
100 .withDefault(new C2BitrateTuning::input(0u, 6600)) in IntfImpl()
108 .withConstValue(new C2StreamMaxBufferSizeInfo::input(0u, 8192)) in IntfImpl()
113 std::shared_ptr<C2StreamFormatConfig::input> mInputFormat;
115 std::shared_ptr<C2PortMimeConfig::input> mInputMediaType;
119 std::shared_ptr<C2BitrateTuning::input> mBitrate;
120 std::shared_ptr<C2StreamMaxBufferSizeInfo::input> mInputMaxBufSize;
227 static status_t calculateNumFrames(const uint8 *input, size_t inSize, in calculateNumFrames() argument
[all …]
DC2SoftAmrNbEnc.cpp41 new C2StreamFormatConfig::input(0u, C2FormatAudio)) in IntfImpl()
52 .withConstValue(AllocSharedString<C2PortMimeConfig::input>( in IntfImpl()
64 .withDefault(new C2StreamChannelCountInfo::input(0u, 1)) in IntfImpl()
71 .withDefault(new C2StreamSampleRateInfo::input(0u, 8000)) in IntfImpl()
86 .withConstValue(new C2StreamMaxBufferSizeInfo::input(0u, 8192)) in IntfImpl()
95 std::shared_ptr<C2StreamFormatConfig::input> mInputFormat;
97 std::shared_ptr<C2PortMimeConfig::input> mInputMediaType;
99 std::shared_ptr<C2StreamSampleRateInfo::input> mSampleRate;
100 std::shared_ptr<C2StreamChannelCountInfo::input> mChannelCount;
102 std::shared_ptr<C2StreamMaxBufferSizeInfo::input> mInputMaxBufSize;
[all …]
DC2SoftAmrWbEnc.cpp43 new C2StreamFormatConfig::input(0u, C2FormatAudio)) in IntfImpl()
54 .withConstValue(AllocSharedString<C2PortMimeConfig::input>( in IntfImpl()
66 .withDefault(new C2StreamChannelCountInfo::input(0u, 1)) in IntfImpl()
73 .withDefault(new C2StreamSampleRateInfo::input(0u, 16000)) in IntfImpl()
88 .withConstValue(new C2StreamMaxBufferSizeInfo::input(0u, 8192)) in IntfImpl()
97 std::shared_ptr<C2StreamFormatConfig::input> mInputFormat;
99 std::shared_ptr<C2PortMimeConfig::input> mInputMediaType;
101 std::shared_ptr<C2StreamSampleRateInfo::input> mSampleRate;
102 std::shared_ptr<C2StreamChannelCountInfo::input> mChannelCount;
104 std::shared_ptr<C2StreamMaxBufferSizeInfo::input> mInputMaxBufSize;
[all …]
/hardware/google/av/media/codecs/gsm/
DC2SoftGsmDec.cpp40 .withConstValue(new C2StreamFormatConfig::input(0u, C2FormatCompressed)) in IntfImpl()
50 .withConstValue(AllocSharedString<C2PortMimeConfig::input>( in IntfImpl()
76 .withDefault(new C2BitrateTuning::input(0u, 13200)) in IntfImpl()
83 ….withConstValue(new C2StreamMaxBufferSizeInfo::input(0u, 1024 / MSGSM_IN_FRM_SZ * MSGSM_IN_FRM_SZ)) in IntfImpl()
88 std::shared_ptr<C2StreamFormatConfig::input> mInputFormat;
90 std::shared_ptr<C2PortMimeConfig::input> mInputMediaType;
94 std::shared_ptr<C2BitrateTuning::input> mBitrate;
95 std::shared_ptr<C2StreamMaxBufferSizeInfo::input> mInputMaxBufSize;
180 work->worklets.front()->output.flags = work->input.flags; in process()
187 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
[all …]
/hardware/google/av/media/codecs/raw/
DC2SoftRawDec.cpp41 .withConstValue(new C2StreamFormatConfig::input(0u, C2FormatCompressed)) in IntfImpl()
51 .withConstValue(AllocSharedString<C2PortMimeConfig::input>( in IntfImpl()
77 .withDefault(new C2BitrateTuning::input(0u, 64000)) in IntfImpl()
84 .withConstValue(new C2StreamMaxBufferSizeInfo::input(0u, 64 * 1024)) in IntfImpl()
101 std::shared_ptr<C2StreamFormatConfig::input> mInputFormat;
103 std::shared_ptr<C2PortMimeConfig::input> mInputMediaType;
107 std::shared_ptr<C2BitrateTuning::input> mBitrate;
108 std::shared_ptr<C2StreamMaxBufferSizeInfo::input> mInputMaxBufSize;
158 (int)work->input.ordinal.timestamp.peeku(), (int)work->input.ordinal.frameIndex.peeku()); in process()
160 work->worklets.front()->output.flags = work->input.flags; in process()
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidParser.h121 uint32_t mask(int64_t input) const { in mask()
122 return static_cast<uint32_t>(input & rawMask()); in mask()
125 bool decode(uint32_t input, double *output) const { in decode()
129 int64_t s = signExtendIfNeeded(input); in decode()
137 bool encode(double input, uint32_t *output) const { in encode()
141 input = input / a - b; in encode()
142 if (input < minRaw || input > maxRaw) { in encode()
145 *output = static_cast<uint32_t>(static_cast<int64_t>(input) & rawMask()); in encode()
/hardware/google/av/media/codecs/flac/
DC2SoftFlacDec.cpp41 .withConstValue(new C2StreamFormatConfig::input(0u, C2FormatCompressed)) in IntfImpl()
51 .withConstValue(AllocSharedString<C2PortMimeConfig::input>( in IntfImpl()
77 .withDefault(new C2BitrateTuning::input(0u, 768000)) in IntfImpl()
84 .withConstValue(new C2StreamMaxBufferSizeInfo::input(0u, 32768)) in IntfImpl()
89 std::shared_ptr<C2StreamFormatConfig::input> mInputFormat;
91 std::shared_ptr<C2PortMimeConfig::input> mInputMediaType;
95 std::shared_ptr<C2BitrateTuning::input> mBitrate;
96 std::shared_ptr<C2StreamMaxBufferSizeInfo::input> mInputMaxBufSize;
162 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork()
164 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
[all …]
DC2SoftFlacEnc.cpp37 .withConstValue(new C2StreamFormatConfig::input(0u, C2FormatAudio)) in IntfImpl()
45 .withConstValue(AllocSharedString<C2PortMimeConfig::input>( in IntfImpl()
55 .withDefault(new C2StreamSampleRateInfo::input(0u, 44100)) in IntfImpl()
61 .withDefault(new C2StreamChannelCountInfo::input(0u, 1)) in IntfImpl()
73 .withConstValue(new C2StreamMaxBufferSizeInfo::input(0u, 4608)) in IntfImpl()
82 std::shared_ptr<C2StreamFormatConfig::input> mInputFormat;
84 std::shared_ptr<C2PortMimeConfig::input> mInputMediaType;
86 std::shared_ptr<C2StreamSampleRateInfo::input> mSampleRate;
87 std::shared_ptr<C2StreamChannelCountInfo::input> mChannelCount;
89 std::shared_ptr<C2StreamMaxBufferSizeInfo::input> mInputMaxBufSize;
[all …]
/hardware/google/av/media/codecs/g711/
DC2SoftG711Dec.cpp45 .withConstValue(new C2StreamFormatConfig::input(0u, C2FormatCompressed)) in IntfImpl()
55 .withConstValue(AllocSharedString<C2PortMimeConfig::input>( in IntfImpl()
85 .withDefault(new C2BitrateTuning::input(0u, 64000)) in IntfImpl()
92 .withConstValue(new C2StreamMaxBufferSizeInfo::input(0u, 8192)) in IntfImpl()
97 std::shared_ptr<C2StreamFormatConfig::input> mInputFormat;
99 std::shared_ptr<C2PortMimeConfig::input> mInputMediaType;
103 std::shared_ptr<C2BitrateTuning::input> mBitrate;
104 std::shared_ptr<C2StreamMaxBufferSizeInfo::input> mInputMaxBufSize;
146 work->worklets.front()->output.flags = work->input.flags; in process()
156 if (!work->input.buffers.empty()) { in process()
[all …]
/hardware/libhardware/modules/camera/3_4/metadata/
Dv4l2_control_delegate_test.cpp80 uint8_t input = 10; in TEST_F() local
82 EXPECT_CALL(*mock_converter_, MetadataToV4L2(input, _)) in TEST_F()
87 ASSERT_EQ(dut_->SetValue(input), 0); in TEST_F()
91 uint8_t input = 10; in TEST_F() local
93 EXPECT_CALL(*mock_converter_, MetadataToV4L2(input, _)).WillOnce(Return(err)); in TEST_F()
94 ASSERT_EQ(dut_->SetValue(input), err); in TEST_F()
98 uint8_t input = 10; in TEST_F() local
100 EXPECT_CALL(*mock_converter_, MetadataToV4L2(input, _)) in TEST_F()
106 ASSERT_EQ(dut_->SetValue(input), err); in TEST_F()
/hardware/interfaces/input/classifier/1.0/vts/functional/
DVtsHalInputClassifierV1_0TargetTest.cpp30 using ::android::hardware::input::classifier::V1_0::IInputClassifier;
31 using ::android::hardware::input::common::V1_0::Action;
32 using ::android::hardware::input::common::V1_0::Axis;
33 using ::android::hardware::input::common::V1_0::Button;
34 using ::android::hardware::input::common::V1_0::EdgeFlag;
35 using ::android::hardware::input::common::V1_0::MotionEvent;
36 using ::android::hardware::input::common::V1_0::PointerCoords;
37 using ::android::hardware::input::common::V1_0::PointerProperties;
38 using ::android::hardware::input::common::V1_0::Source;
39 using ::android::hardware::input::common::V1_0::ToolType;
[all …]
/hardware/interfaces/tv/input/1.0/default/
DAndroid.bp2 name: "android.hardware.tv.input@1.0-impl",
15 "android.hardware.tv.input@1.0",
21 name: "android.hardware.tv.input@1.0-service",
25 init_rc: ["android.hardware.tv.input@1.0-service.rc"],
38 "android.hardware.tv.input@1.0",
DTvInput.h28 namespace input {
33 using ::android::hardware::tv::input::V1_0::ITvInput;
34 using ::android::hardware::tv::input::V1_0::ITvInputCallback;
35 using ::android::hardware::tv::input::V1_0::Result;
36 using ::android::hardware::tv::input::V1_0::TvInputEvent;
37 using ::android::hardware::tv::input::V1_0::TvStreamConfig;
/hardware/google/av/media/codecs/aac/
DC2SoftAacDec.cpp64 .withConstValue(new C2StreamFormatConfig::input(0u, C2FormatCompressed)) in IntfImpl()
74 .withConstValue(AllocSharedString<C2PortMimeConfig::input>( in IntfImpl()
102 .withDefault(new C2BitrateTuning::input(0u, 64000)) in IntfImpl()
109 .withConstValue(new C2StreamMaxBufferSizeInfo::input(0u, 8192)) in IntfImpl()
114 .withDefault(new C2StreamAacFormatInfo::input(0u, C2AacStreamFormatRaw)) in IntfImpl()
123 .withDefault(new C2StreamProfileLevelInfo::input(0u, in IntfImpl()
143 … .withDefault(new C2StreamDrcCompressionModeTuning::input(0u, C2Config::DRC_COMPRESSION_HEAVY)) in IntfImpl()
156 … .withDefault(new C2StreamDrcTargetReferenceLevelTuning::input(0u, DRC_DEFAULT_MOBILE_REF_LEVEL)) in IntfImpl()
163 … .withDefault(new C2StreamDrcEncodedTargetLevelTuning::input(0u, DRC_DEFAULT_MOBILE_ENC_LEVEL)) in IntfImpl()
170 … .withDefault(new C2StreamDrcBoostFactorTuning::input(0u, DRC_DEFAULT_MOBILE_DRC_BOOST)) in IntfImpl()
[all …]
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DValidateRequest.cpp57 for (size_t input = 0; input < request.inputs.size(); ++input) { in removeInputTest() local
58 const std::string message = "removeInput: removed input " + std::to_string(input); in removeInputTest()
60 [input](Request* request) { hidl_vec_removeAt(&request->inputs, input); }); in removeInputTest()
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.hal83 * Takes two input tensors of identical {@link OperandType} and compatible
84 * dimensions. The output is the sum of both input tensors, optionally
92 * input operands. It starts with the trailing dimensions, and works its
134 * input[b, strides[1] * i + di, strides[2] * j + dj, channel]
148 * the input.
158 * walking through input in the ‘width’ dimension.
160 * walking through input in the ‘height’ dimension.
171 * the input.
176 * walking through input in the ‘width’ dimension.
178 * walking through input in the ‘height’ dimension.
[all …]
/hardware/google/av/media/codecs/opus/
DC2SoftOpusDec.cpp45 .withConstValue(new C2StreamFormatConfig::input(0u, C2FormatCompressed)) in IntfImpl()
55 .withConstValue(AllocSharedString<C2PortMimeConfig::input>( in IntfImpl()
81 .withDefault(new C2BitrateTuning::input(0u, 6000)) in IntfImpl()
88 .withConstValue(new C2StreamMaxBufferSizeInfo::input(0u, 960 * 6)) in IntfImpl()
93 std::shared_ptr<C2StreamFormatConfig::input> mInputFormat;
95 std::shared_ptr<C2PortMimeConfig::input> mInputMediaType;
99 std::shared_ptr<C2BitrateTuning::input> mBitrate;
100 std::shared_ptr<C2StreamMaxBufferSizeInfo::input> mInputMaxBufSize;
185 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork()
187 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
[all …]
/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonOperationsPrepare.cpp56 const hexagon_nn_input& input = model->getTensor(ins[0]); in average_pool_2d() local
96 return model->addFloatOperationWithActivation(OP_AvgPool_f, pad, act, {input, window, stride}, in average_pool_2d()
129 const hexagon_nn_input& input = model->getTensor(ins[0]); in conv_2d() local
165 return model->addFusedFloatOperation(OP_Conv2d_f, pad, bias, act, {input, filter, stride}, in conv_2d()
176 const hexagon_nn_input& input = model->getTensor(ins[0]); in depthwise_conv_2d() local
218 {input, filter, stride}, outs); in depthwise_conv_2d()
227 const hexagon_nn_input& input = model->getTensor(ins[0]); in fully_connected() local
234 return model->addFusedFloatOperation(OP_MatMul_f, NN_PAD_NA, bias, act, {input, weights}, outs); in fully_connected()
244 const hexagon_nn_input& input = model->getTensor(ins[0]); in l2_pool_2d() local
284 return model->addFloatOperationWithActivation(OP_L2Pool_f, pad, act, {input, window, stride}, in l2_pool_2d()
[all …]
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DValidateRequest.cpp73 for (size_t input = 0; input < request.inputs.size(); ++input) { in removeInputTest() local
74 const std::string message = "removeInput: removed input " + std::to_string(input); in removeInputTest()
76 [input](Request* request) { hidl_vec_removeAt(&request->inputs, input); }); in removeInputTest()
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxDec.cpp79 .withDefault(new C2StreamProfileLevelInfo::input(0u, in IntfImpl()
100 mHdr10PlusInfoInput = C2StreamHdr10PlusInfo::input::AllocShared(0); in IntfImpl()
150 .withConstValue(new C2StreamProfileLevelInfo::input(0u, in IntfImpl()
167 .withDefault(new C2StreamMaxBufferSizeInfo::input(0u, 320 * 240 * 3 / 4)) in IntfImpl()
223 static C2R MaxInputSizeSetter(bool mayBlock, C2P<C2StreamMaxBufferSizeInfo::input> &me, in MaxInputSizeSetter()
232 static C2R ProfileLevelSetter(bool mayBlock, C2P<C2StreamProfileLevelInfo::input> &me, in ProfileLevelSetter()
240 static C2R Hdr10PlusInfoInputSetter(bool mayBlock, C2P<C2StreamHdr10PlusInfo::input> &me) { in Hdr10PlusInfoInputSetter()
253 std::shared_ptr<C2StreamProfileLevelInfo::input> mProfileLevel;
256 std::shared_ptr<C2StreamMaxBufferSizeInfo::input> mMaxInputSize;
263 std::shared_ptr<C2StreamHdr10PlusInfo::input> mHdr10PlusInfoInput;
[all …]
/hardware/google/av/codec2/tests/
DC2Param_test.cpp890 static_assert(C2NumberPortTuning::input::CORE_INDEX == in StaticTest()
892 static_assert(C2NumberPortTuning::input::PARAM_TYPE == in StaticTest()
898 static_assert(sizeof(C2NumberPortTuning::input) == 12, "bad size"); in StaticTest()
900 static_assert(offsetof(C2NumberPortTuning::input, _mSize) == 0, "bad size"); in StaticTest()
901 static_assert(offsetof(C2NumberPortTuning::input, _mIndex) == 4, "bad offset"); in StaticTest()
902 static_assert(offsetof(C2NumberPortTuning::input, mNumber) == 8, "bad offset"); in StaticTest()
911 static_assert(C2NumberStreamTuning::input::CORE_INDEX == in StaticTest()
913 static_assert(C2NumberStreamTuning::input::PARAM_TYPE == in StaticTest()
919 static_assert(sizeof(C2NumberStreamTuning::input) == 12u, "bad size"); in StaticTest()
921 static_assert(offsetof(C2NumberStreamTuning::input, _mSize) == 0, "bad size"); in StaticTest()
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dml_math_func.h30 float input; 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);
113 float inv_biquad_filter_process(inv_biquad_filter_t *pFilter, float input);
114 void inv_calc_state_to_match_output(inv_biquad_filter_t *pFilter, float input);
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dml_math_func.h30 float input; 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);
113 float inv_biquad_filter_process(inv_biquad_filter_t *pFilter, float input);
114 void inv_calc_state_to_match_output(inv_biquad_filter_t *pFilter, float input);

12345678910>>...15