Searched refs:buffer_size (Results 1 - 18 of 18) sorted by relevance

/frameworks/compile/libbcc/bcinfo/Wrap/
H A Dwrapper_output.cpp19 bool WrapperOutput::Write(const uint8_t* buffer, size_t buffer_size) { argument
21 for (size_t i = 0; i < buffer_size; ++i) {
H A Dfile_wrapper_output.cpp38 bool FileWrapperOutput::Write(const uint8_t* buffer, size_t buffer_size) { argument
43 if (buffer_size > 0) {
44 return buffer_size == fwrite(buffer, 1, buffer_size, _file);
/frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/
H A Dfile_wrapper_output.h36 virtual bool Write(const uint8_t* buffer, size_t buffer_size);
H A Dwrapper_output.h40 virtual bool Write(const uint8_t* buffer, size_t buffer_size);
/frameworks/av/media/libstagefright/foundation/
H A DMediaBufferGroup.cpp39 MediaBufferGroup::MediaBufferGroup(size_t buffers, size_t buffer_size, size_t growthLimit) argument
48 if (buffer_size >= kSharedMemoryThreshold) {
54 size_t augmented_size = buffer_size + sizeof(MediaBuffer::SharedControl);
61 ALOGW("Only allocated %zu shared buffers of size %zu", i, buffer_size);
73 MediaBuffer *buffer = new MediaBuffer(buffer_size);
76 ALOGW("Only allocated %zu malloc buffers of size %zu", i, buffer_size);
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_program.cpp136 static const int buffer_size = 1024; local
137 char result[buffer_size];
138 result[buffer_size - 1] = '\0';
139 getvalue_function_(key.c_str(), result, buffer_size, user_data_);
H A Dshader_program.cpp377 int buffer_size; local
381 glGetProgramiv(program_, GL_ACTIVE_UNIFORM_MAX_LENGTH, &buffer_size);
382 std::vector<GLchar> name(buffer_size);
384 glGetActiveUniform(program_, i, buffer_size, NULL, &capacity, &type, &name[0]);
/frameworks/av/include/media/stagefright/
H A DMediaBufferGroup.h35 MediaBufferGroup(size_t buffers, size_t buffer_size, size_t growthLimit = 0);
/frameworks/av/media/libstagefright/foundation/include/
H A DMediaBufferGroup.h35 MediaBufferGroup(size_t buffers, size_t buffer_size, size_t growthLimit = 0);
/frameworks/av/media/libstagefright/include/
H A DMediaBufferGroup.h35 MediaBufferGroup(size_t buffers, size_t buffer_size, size_t growthLimit = 0);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/
H A Dmp4dec_api.h157 OSCL_IMPORT_REF Bool PVDecodeVideoFrame(VideoDecControls *decCtrl, uint8 *bitstream[], uint32 *timestamp, int32 *buffer_size, uint use_ext_timestamp[], uint8* currYUV);
158 Bool PVDecodeVopHeader(VideoDecControls *decCtrl, uint8 *buffer[], uint32 timestamp[], int32 buffer_size[], VopHeaderInfo *header_info, uint use_ext_timestamp[], uint8 *currYUV);
159 Bool PVDecodeVopBody(VideoDecControls *decCtrl, int32 buffer_size[]);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpvdec_api.cpp213 int32 buffer_size; local
214 if ((buffer_size = BitstreamOpen(stream, idx)) < 0)
220 video->memoryUsage += buffer_size;
1056 uint32 timestamp[], int32 buffer_size[], uint use_ext_timestamp[], uint8 *currYUV)
1061 status = (PV_STATUS)PVDecodeVopHeader(decCtrl, buffer, timestamp, buffer_size, &header_info, use_ext_timestamp, currYUV);
1065 if (PVDecodeVopBody(decCtrl, buffer_size) != PV_TRUE)
1084 uint32 timestamp[], int32 buffer_size[], VopHeaderInfo *header_info, uint use_ext_timestamp [], uint8 *currYUV)
1106 if (buffer_size[idx] <= 0)
1120 BitstreamReset(stream, buffer[idx], buffer_size[idx]);
1129 buffer_size[id
1055 PVDecodeVideoFrame(VideoDecControls *decCtrl, uint8 *buffer[], uint32 timestamp[], int32 buffer_size[], uint use_ext_timestamp[], uint8 *currYUV) argument
1083 PVDecodeVopHeader(VideoDecControls *decCtrl, uint8 *buffer[], uint32 timestamp[], int32 buffer_size[], VopHeaderInfo *header_info, uint use_ext_timestamp [], uint8 *currYUV) argument
1294 PVDecodeVopBody(VideoDecControls *decCtrl, int32 buffer_size[]) argument
[all...]
H A Dbitstream.cpp124 void BitstreamReset(BitstreamDecVideo *stream, uint8 *buffer, int32 buffer_size) argument
128 stream->data_end_pos = buffer_size;
142 int buffer_size = 0; local
152 return buffer_size;
H A Dbitstream.h35 void BitstreamReset(BitstreamDecVideo *stream, uint8 *buffer, int32 buffer_size);
/frameworks/base/tools/aapt2/compile/
H A DPngCrunch.cpp148 size_t buffer_size; local
149 if (!in->Next((const void**)&signature, &buffer_size)) {
155 if (buffer_size < kPngSignatureSize || png_sig_cmp(signature, 0, kPngSignatureSize) != 0) {
162 in->BackUp(buffer_size - kPngSignatureSize);
/frameworks/opt/net/wifi/libwifi_hal/
H A Dhal_tool.cpp254 char* buffer, int buffer_size) {
275 char* buffer, int buffer_size) {
253 wifi_get_firmware_version_stub(wifi_interface_handle iface, char* buffer, int buffer_size) argument
274 wifi_get_driver_version_stub(wifi_interface_handle iface, char* buffer, int buffer_size) argument
/frameworks/native/libs/vr/libpdx_uds/
H A Dremote_method_tests.cpp758 const int buffer_size = 20; local
759 std::vector<std::uint8_t> buffer(buffer_size, 'x');
760 std::vector<std::uint8_t> expected(buffer_size, 0);
763 EXPECT_EQ(buffer_size, ret);
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_GnssLocationProvider.cpp1358 jbyteArray nmeaArray, jint buffer_size) {
1362 if (length > buffer_size)
1363 length = buffer_size;
1357 android_location_GnssLocationProvider_read_nmea(JNIEnv* env, jobject , jbyteArray nmeaArray, jint buffer_size) argument

Completed in 301 milliseconds