Searched refs:count (Results 1 - 25 of 1169) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCameraBase.cpp213 int32_t count; local
216 &count);
220 count = 0;
222 return count;
H A DCameraMetadata.cpp276 // string.size() doesn't count the null termination character.
347 entry.count = 0;
352 entry.count = 0;
363 entry.count = 0;
H A DCameraUtils.cpp42 if (entry.count == 0) {
48 if (entry.count == 0) {
/frameworks/av/camera/ndk/
H A DNdkCaptureRequest.cpp105 ACaptureRequest* req, uint32_t tag, uint32_t count, const NDK_TYPE* data) { \
107 if (req == nullptr || (count > 0 && data == nullptr)) { \
108 ALOGE("%s: invalid argument! req %p, tag 0x%x, count %d, data 0x%p", \
109 __FUNCTION__, req, tag, count, data); \
112 return req->settings->update(tag, count, data); \
/frameworks/av/camera/ndk/impl/
H A DACameraDevice.cpp81 if (entry.count != 1) {
82 ALOGW("%s: bad count %zu for partial result count", __FUNCTION__, entry.count);
89 if (entry.count != 2) {
90 ALOGW("%s: bad count %zu for shading map size", __FUNCTION__, entry.count);
538 if (outputSet.count(outputPair) == 0) {
1043 if (mSequenceCallbackMap.count(sequenceId) == 0) {
1085 if (mSequenceCallbackMap.count(sequenceI
[all...]
H A DACameraManager.cpp273 bool firstStatus = (mDeviceStatusMap.count(cameraId) == 0);
317 ALOGE("%s: Error getting camera count: %s", __FUNCTION__,
417 if (mCameraIds.count(cameraId) == 0) {
H A DACameraMetadata.cpp66 if (entry.count == 0 || entry.type != TYPE_BYTE) {
67 ALOGE("%s: malformed available capability key! count %zu, type %d",
68 __FUNCTION__, entry.count, entry.type);
73 capabilities.setCapacity(entry.count);
74 for (size_t i = 0; i < entry.count; i++) {
92 if (entry.count == 0 || entry.count % 4 || entry.type != TYPE_INT32) {
93 ALOGE("%s: malformed available stream configuration key! count %zu, type %d",
94 __FUNCTION__, entry.count, entry.type);
99 filteredStreamConfigs.setCapacity(entry.count);
180 update(uint32_t tag, uint32_t count, const uint8_t* data) argument
185 update(uint32_t tag, uint32_t count, const int32_t* data) argument
190 update(uint32_t tag, uint32_t count, const float* data) argument
195 update(uint32_t tag, uint32_t count, const double* data) argument
200 update(uint32_t tag, uint32_t count, const int64_t* data) argument
205 update(uint32_t tag, uint32_t count, const ACameraMetadata_rational* data) argument
[all...]
H A DACameraMetadata.h51 camera_status_t update(uint32_t tag, uint32_t count, const uint8_t* data);
52 camera_status_t update(uint32_t tag, uint32_t count, const int32_t* data);
53 camera_status_t update(uint32_t tag, uint32_t count, const float* data);
54 camera_status_t update(uint32_t tag, uint32_t count, const double* data);
55 camera_status_t update(uint32_t tag, uint32_t count, const int64_t* data);
56 camera_status_t update(uint32_t tag, uint32_t count, const ACameraMetadata_rational* data);
70 camera_status_t updateImpl(uint32_t tag, uint32_t count, const NDK_T* data) { argument
83 if (count == 0 && data == nullptr) {
88 ret = mData.update(tag, reinterpret_cast<const INTERNAL_T*>(data), count);
/frameworks/av/cmds/screenrecord/
H A DProgram.cpp230 const float* vertices, const float* texes, size_t count) const {
237 glDrawArrays(GL_TRIANGLES, 0, count);
H A DProgram.h62 const float* vertices, const float* texes, size_t count) const;
/frameworks/av/include/camera/ndk/
H A DNdkCameraMetadata.h108 * Count of elements (NOT count of bytes) in this metadata entry.
110 uint32_t count; member in struct:ACameraMetadata_entry
115 * <p>The type field above defines which union member pointer is valid. The count field above
153 * Count of elements (NOT count of bytes) in this metadata entry.
155 uint32_t count; member in struct:ACameraMetadata_const_entry
160 * <p>The type field above defines which union member pointer is valid. The count field above
H A DNdkCaptureRequest.h184 * <p>Set count to 0 and data to NULL to remove a tag from the capture request.</p>
188 * @param count number of elements to be set in data argument
193 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if request is NULL, count is larger than
198 ACaptureRequest* request, uint32_t tag, uint32_t count, const uint8_t* data);
203 * <p>Set count to 0 and data to NULL to remove a tag from the capture request.</p>
207 * @param count number of elements to be set in data argument
212 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if request is NULL, count is larger than
217 ACaptureRequest* request, uint32_t tag, uint32_t count, const int32_t* data);
222 * <p>Set count to 0 and data to NULL to remove a tag from the capture request.</p>
226 * @param count numbe
[all...]
/frameworks/av/include/media/
H A DAudioEffect.h122 * count: as input, the maximum number of descriptor than should be returned
129 * indicated by count.
136 * *count number of descriptors returned if returned status is NO_ERROR.
138 * NO_MEMORY. This happens if the count passed as input is less than the number
140 * *count is limited to kMaxPreProcessing on return.
144 uint32_t *count);
H A DIAudioPolicyService.h122 uint32_t *count) = 0;
H A DToneGenerator.h262 unsigned short mCurCount; // Current sequence repeat count
268 unsigned short mLoopCounter; // Current tone loopback count
300 void getSamples(short *outBuffer, unsigned int count,
/frameworks/av/include/media/nbaio/
H A DAudioBufferProviderSource.h45 virtual ssize_t read(void *buffer, size_t count);
H A DAudioStreamInSource.h48 virtual ssize_t read(void *buffer, size_t count);
H A DAudioStreamOutSink.h48 virtual ssize_t write(const void *buffer, size_t count);
H A DLibsndfileSink.h45 virtual ssize_t write(const void *buffer, size_t count);
H A DLibsndfileSource.h46 virtual ssize_t read(void *buffer, size_t count);
H A DMonoPipe.h30 // - write() cannot overrun; instead it will return a short actual count if insufficient space
59 virtual ssize_t write(const void *buffer, size_t count);
70 // a write that would otherwise block instead returns a short transfer count.
H A DMonoPipeReader.h50 virtual ssize_t read(void *buffer, size_t count);
H A DNBAIO.h51 // attributes, rather than a struct with separate fields for format, sample rate, channel count,
55 // Sample rate and channel count are explicit, PCM interleaved 16-bit is assumed.
70 // Convert a sample rate in Hz and channel count to an NBAIO_Format
77 // Return the channel count of an NBAIO_Format
81 typedef ssize_t (*writeVia_t)(void *user, void *buffer, size_t count);
82 typedef ssize_t (*readVia_t)(void *user, const void *buffer, size_t count);
158 // larger transfer count, however it will make a good faith effort to give an accurate estimate.
169 // count Maximum number of frames to transfer.
179 virtual ssize_t write(const void *buffer, size_t count) = 0;
188 // block Number of frames per block, that is a suggested value for 'count' i
[all...]
H A DPipe.h56 virtual ssize_t write(const void *buffer, size_t count);
H A DPipeReader.h48 virtual ssize_t read(void *buffer, size_t count);

Completed in 174 milliseconds

1234567891011>>