Searched defs:buffer_size (Results 201 - 225 of 345) sorted by relevance

1234567891011>>

/external/chromium_org/media/audio/mac/
H A Daudio_low_latency_input_mac.cc186 UInt32 buffer_size = 0; local
187 UInt32 property_size = sizeof(buffer_size);
192 &buffer_size,
201 if (manager_->input_stream_count() == 1 || number_of_frames_ < buffer_size) {
202 buffer_size = number_of_frames_;
207 &buffer_size,
208 sizeof(buffer_size));
/external/chromium_org/media/audio/win/
H A Daudio_manager_win.cc422 int buffer_size = kFallbackBufferSize; local
434 buffer_size = 256;
445 buffer_size = params.frames_per_buffer();
497 buffer_size = input_params.frames_per_buffer();
505 buffer_size = user_buffer_size;
509 sample_rate, bits_per_sample, buffer_size, effects);
/external/chromium_org/media/base/
H A Dyuv_convert_unittest.cc93 static void SwapRedAndBlueChannels(unsigned char* pixels, size_t buffer_size) { argument
94 for (size_t i = 0; i < buffer_size; i += 4) {
/external/chromium_org/media/filters/
H A Daudio_renderer_impl.cc282 int buffer_size = stream->audio_decoder_config().samples_per_second() / 100; local
290 buffer_size);
H A Dopus_audio_decoder.cc450 const int buffer_size = local
462 buffer_size,
/external/chromium_org/mojo/android/system/
H A Dcore_impl.cc65 const size_t buffer_size = env->GetDirectBufferCapacity(buffer); local
66 DCHECK_EQ(buffer_size % record_size, 0u);
68 const size_t nb_handles = buffer_size / record_size;
83 const size_t buffer_size = env->GetDirectBufferCapacity(options_buffer); local
84 DCHECK_EQ(buffer_size, sizeof(MojoCreateMessagePipeOptions));
86 DCHECK_EQ(options->struct_size, buffer_size);
103 const size_t buffer_size = env->GetDirectBufferCapacity(options_buffer); local
104 DCHECK_EQ(buffer_size, sizeof(MojoCreateDataPipeOptions));
106 DCHECK_EQ(options->struct_size, buffer_size);
124 const size_t buffer_size local
155 uint32_t buffer_size = 0; local
181 uint32_t buffer_size = 0; local
208 uint32_t buffer_size = elements_capacity; local
228 uint32_t buffer_size = num_bytes; local
256 uint32_t buffer_size = limit; local
271 uint32_t buffer_size = num_bytes; local
297 const size_t buffer_size = env->GetDirectBufferCapacity(options_buffer); local
[all...]
/external/chromium_org/mojo/apps/js/test/
H A Djs_to_cpp_unittest.cc70 uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer)); local
72 data_pipe_handle, buffer, &buffer_size, MOJO_READ_DATA_FLAG_NONE);
74 EXPECT_EQ(64u, buffer_size);
82 uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer)); local
84 message_pipe_handle, buffer, &buffer_size, 0, 0, 0);
86 EXPECT_EQ(64u, buffer_size);
166 uint32_t buffer_size = static_cast<uint32_t>(sizeof(buffer)); local
168 data_pipe_handle, buffer, &buffer_size, MOJO_READ_DATA_FLAG_NONE);
171 for (uint32_t i = 0; i < buffer_size; ++i)
177 uint32_t buffer_size local
[all...]
/external/chromium_org/remoting/client/plugin/
H A Dpepper_packet_socket_factory.cc116 int buffer_size,
160 int buffer_size,
162 : data(new net::IOBufferWithSize(buffer_size)),
165 memcpy(data->data(), buffer, buffer_size);
158 PendingPacket( const void* buffer, int buffer_size, const pp::NetAddress& address) argument
/external/chromium_org/remoting/codec/
H A Dvideo_encoder_vpx.cc194 const int buffer_size = y_stride * y_rows + 2*uv_stride * uv_rows; local
195 scoped_ptr<uint8[]> image_buffer(new uint8[buffer_size]);
198 memset(image_buffer.get(), 128, buffer_size);
/external/chromium_org/sandbox/win/src/
H A Dpolicy_low_level.cc133 size_t buffer_size = sizeof(PolicyBuffer) + kRuleBufferSize; local
134 char* memory = new char[buffer_size];
136 memcpy(buffer_, other.buffer_, buffer_size);
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtcvideoframe.cc158 uint8* buffer, size_t buffer_size, int w, int h, size_t pixel_width,
162 video_buffer->Alias(buffer, buffer_size);
163 Attach(video_buffer.get(), buffer_size, w, h, pixel_width, pixel_height,
276 RefCountedBuffer* video_buffer, size_t buffer_size, int w, int h,
370 size_t buffer_size = VideoFrame::SizeOf(w, h); local
372 new RefCountedBuffer(buffer_size));
373 Attach(video_buffer.get(), buffer_size, w, h, pixel_width, pixel_height,
157 Alias( uint8* buffer, size_t buffer_size, int w, int h, size_t pixel_width, size_t pixel_height, int64 elapsed_time, int64 time_stamp, int rotation) argument
275 Attach( RefCountedBuffer* video_buffer, size_t buffer_size, int w, int h, size_t pixel_width, size_t pixel_height, int64 elapsed_time, int64 time_stamp, int rotation) argument
/external/chromium_org/third_party/libwebp/enc/
H A Dalpha.c92 const size_t buffer_size = VP8LBitWriterNumBytes(&tmp_bw); local
93 VP8BitWriterAppend(bw, buffer, buffer_size);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/
H A Degl_g3d.c232 uint rgba[4], depth_stencil[2], buffer_size; local
238 buffer_size = 0;
242 buffer_size += rgba[i];
288 conf->BufferSize = buffer_size;
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
H A Dcoded_stream.cc518 int buffer_size; local
519 if (NextNonEmpty(input_, &void_buffer, &buffer_size)) {
521 buffer_end_ = buffer_ + buffer_size;
522 GOOGLE_CHECK_GE(buffer_size, 0);
524 if (total_bytes_read_ <= INT_MAX - buffer_size) {
525 total_bytes_read_ += buffer_size;
534 // overflow_bytes_ = total_bytes_read_ + buffer_size - INT_MAX;
537 overflow_bytes_ = total_bytes_read_ - (INT_MAX - buffer_size);
/external/chromium_org/tools/android/forwarder2/
H A Dsocket.cc311 int Socket::Read(void* buffer, size_t buffer_size) { argument
316 int ret = HANDLE_EINTR(read(socket_, buffer, buffer_size));
324 int Socket::NonBlockingRead(void* buffer, size_t buffer_size) { argument
326 int ret = HANDLE_EINTR(read(socket_, buffer, buffer_size));
/external/chromium_org/v8/src/
H A Dflags.cc269 int buffer_size,
303 CHECK(n < static_cast<size_t>(buffer_size)); // buffer is too small
267 SplitArgument(const char* arg, char* buffer, int buffer_size, const char** name, const char** value, bool* is_bool) argument
/external/dhcpcd/
H A Ddhcpcd.h125 size_t buffer_size, buffer_len, buffer_pos; member in struct:interface
/external/jhead/
H A Djpgfile.c317 int ReadJpegSectionsFromBuffer (unsigned char* buffer, unsigned int buffer_size, ReadMode_t ReadMode) argument
327 if (buffer_size < 1) {
382 if (pos+itemlen-2 > buffer_size) {
400 size = buffer_size - pos;
848 int WriteJpegToBuffer(unsigned char* buffer, unsigned int buffer_size) argument
857 if (buffer_size < 1) {
887 if (pos+Sections[a].Size > buffer_size) {
898 if (pos+Sections[a].Size > buffer_size) {
/external/kernel-headers/original/uapi/linux/
H A Dncp_fs.h34 int buffer_size; /* The negotiated buffer size, to be member in struct:ncp_fs_info
45 unsigned int buffer_size; member in struct:ncp_fs_info_v2
/external/libpng/
H A Dpngpread.c31 png_bytep buffer, png_size_t buffer_size)
36 png_push_restore_buffer(png_ptr, buffer, buffer_size);
38 while (png_ptr->buffer_size)
57 png_size_t remaining = png_ptr->buffer_size;
58 png_ptr->buffer_size = 0;
82 if (png_ptr->buffer_size != 0)
139 png_ptr->buffer_size = 0;
157 if (png_ptr->buffer_size < num_to_check)
159 num_to_check = png_ptr->buffer_size;
203 if (png_ptr->buffer_size <
30 png_process_data(png_structrp png_ptr, png_inforp info_ptr, png_bytep buffer, png_size_t buffer_size) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/common/
H A Degl_g3d.c232 uint rgba[4], depth_stencil[2], buffer_size; local
238 buffer_size = 0;
242 buffer_size += rgba[i];
288 conf->BufferSize = buffer_size;
/external/opencv/cv/src/
H A Dcvapprox.cpp69 int buffer_size; local
82 buffer_size = (chain->total + 8) * sizeof( _CvPtInfo );
103 if( method > CV_CHAIN_APPROX_SIMPLE && buffer_size > (int)sizeof(local_buffer))
105 buffer = (char *) cvAlloc( buffer_size );
/external/opencv/otherlibs/highgui/
H A Dgrfmt_tiff.cpp561 const int buffer_size = 1 << 12; local
562 uchar buffer[buffer_size];
572 if( src_pitch+32 > buffer_size )
/external/protobuf/src/google/protobuf/io/
H A Dcoded_stream.cc491 int buffer_size; local
492 if (input_->Next(&void_buffer, &buffer_size)) {
494 buffer_end_ = buffer_ + buffer_size;
495 GOOGLE_CHECK_GE(buffer_size, 0);
497 if (total_bytes_read_ <= INT_MAX - buffer_size) {
498 total_bytes_read_ += buffer_size;
507 // overflow_bytes_ = total_bytes_read_ + buffer_size - INT_MAX;
510 overflow_bytes_ = total_bytes_read_ - (INT_MAX - buffer_size);
/external/webp/src/enc/
H A Dalpha.c92 const size_t buffer_size = VP8LBitWriterNumBytes(&tmp_bw); local
93 VP8BitWriterAppend(bw, buffer, buffer_size);

Completed in 9779 milliseconds

1234567891011>>