Home
last modified time | relevance | path

Searched refs:buffer_size (Results 1 – 11 of 11) sorted by relevance

/frameworks/compile/libbcc/bcinfo/Wrap/
Dfile_wrapper_output.cpp38 bool FileWrapperOutput::Write(const uint8_t* buffer, size_t buffer_size) { in Write() argument
43 if (buffer_size > 0) { in Write()
44 return buffer_size == fwrite(buffer, 1, buffer_size, _file); in Write()
Dwrapper_output.cpp19 bool WrapperOutput::Write(const uint8_t* buffer, size_t buffer_size) { in Write() argument
21 for (size_t i = 0; i < buffer_size; ++i) { in Write()
/frameworks/base/media/mca/filterfw/native/core/
Dnative_program.cpp136 static const int buffer_size = 1024; in CallGetValue() local
137 char result[buffer_size]; in CallGetValue()
138 result[buffer_size - 1] = '\0'; in CallGetValue()
139 getvalue_function_(key.c_str(), result, buffer_size, user_data_); in CallGetValue()
Dshader_program.cpp384 int buffer_size; in ScanUniforms() local
388 glGetProgramiv(program_, GL_ACTIVE_UNIFORM_MAX_LENGTH, &buffer_size); in ScanUniforms()
389 std::vector<GLchar> name(buffer_size); in ScanUniforms()
391 glGetActiveUniform(program_, i, buffer_size, NULL, &capacity, &type, &name[0]); in ScanUniforms()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dpvdec_api.cpp193 int32 buffer_size; in PVInitVideoDecoder() local
194 if ((buffer_size = BitstreamOpen(stream, idx)) < 0) in PVInitVideoDecoder()
200 video->memoryUsage += buffer_size; in PVInitVideoDecoder()
1007 … uint32 timestamp[], int32 buffer_size[], uint use_ext_timestamp[], uint8 *currYUV) in PVDecodeVideoFrame() argument
1012 …status = (PV_STATUS)PVDecodeVopHeader(decCtrl, buffer, timestamp, buffer_size, &header_info, use_e… in PVDecodeVideoFrame()
1016 if (PVDecodeVopBody(decCtrl, buffer_size) != PV_TRUE) in PVDecodeVideoFrame()
1035 …uint32 timestamp[], int32 buffer_size[], VopHeaderInfo *header_info, uint use_ext_timestamp [], ui… in PVDecodeVopHeader() argument
1057 if (buffer_size[idx] <= 0) in PVDecodeVopHeader()
1071 BitstreamReset(stream, buffer[idx], buffer_size[idx]); in PVDecodeVopHeader()
1080 buffer_size[idx] = 0; in PVDecodeVopHeader()
[all …]
Dbitstream.cpp124 void BitstreamReset(BitstreamDecVideo *stream, uint8 *buffer, int32 buffer_size) in BitstreamReset() argument
128 stream->data_end_pos = buffer_size; in BitstreamReset()
142 int buffer_size = 0; in BitstreamOpen() local
152 return buffer_size; in BitstreamOpen()
Dbitstream.h35 void BitstreamReset(BitstreamDecVideo *stream, uint8 *buffer, int32 buffer_size);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/
Dmp4dec_api.h157 …deoDecControls *decCtrl, uint8 *bitstream[], uint32 *timestamp, int32 *buffer_size, uint use_ext_t…
158 …(VideoDecControls *decCtrl, uint8 *buffer[], uint32 timestamp[], int32 buffer_size[], VopHeaderInf…
159 Bool PVDecodeVopBody(VideoDecControls *decCtrl, int32 buffer_size[]);
/frameworks/compile/libbcc/include/bcinfo/Wrap/
Dwrapper_output.h40 virtual bool Write(const uint8_t* buffer, size_t buffer_size);
Dfile_wrapper_output.h36 virtual bool Write(const uint8_t* buffer, size_t buffer_size);
/frameworks/base/services/core/jni/
Dcom_android_server_location_GpsLocationProvider.cpp688 jbyteArray nmeaArray, jint buffer_size) in android_location_GpsLocationProvider_read_nmea() argument
693 if (length > buffer_size) in android_location_GpsLocationProvider_read_nmea()
694 length = buffer_size; in android_location_GpsLocationProvider_read_nmea()