Home
last modified time | relevance | path

Searched refs:current_buffer (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/media/base/
Dseekable_buffer.cc47 BufferQueue::iterator current_buffer = current_buffer_; in GetCurrentChunk() local
50 while (current_buffer != buffers_.end() && in GetCurrentChunk()
51 current_buffer_offset >= (*current_buffer)->data_size()) { in GetCurrentChunk()
52 ++current_buffer; in GetCurrentChunk()
55 if (current_buffer == buffers_.end()) in GetCurrentChunk()
57 *data = (*current_buffer)->data() + current_buffer_offset; in GetCurrentChunk()
58 *size = (*current_buffer)->data_size() - current_buffer_offset; in GetCurrentChunk()
188 BufferQueue::iterator current_buffer = current_buffer_; in InternalRead() local
195 if (current_buffer == buffers_.end()) in InternalRead()
198 scoped_refptr<DataBuffer> buffer = *current_buffer; in InternalRead()
[all …]
Daudio_buffer_queue.cc66 BufferQueue::iterator current_buffer = current_buffer_; in InternalRead() local
73 if (current_buffer == buffers_.end()) in InternalRead()
76 scoped_refptr<AudioBuffer> buffer = *current_buffer; in InternalRead()
111 BufferQueue::iterator next = current_buffer + 1; in InternalRead()
116 current_buffer = next; in InternalRead()
129 buffers_.erase(buffers_.begin(), current_buffer); in InternalRead()
/external/chromium_org/sandbox/win/src/
Dpolicy_low_level.cc73 PolicyBuffer* current_buffer = &policy_store_->data[0]; in Done() local
74 char* buffer_end = reinterpret_cast<char*>(current_buffer) + in Done()
83 policy_store_->entry[service] = current_buffer; in Done()
99 PolicyOpcode* opcodes_start = &current_buffer->opcodes[svc_opcode_count]; in Done()
110 current_buffer->opcode_count += svc_opcode_count; in Done()
112 / sizeof(current_buffer[0]); in Done()
113 current_buffer = &current_buffer[policy_byte_count + 1]; in Done()
/external/qemu/hw/android/goldfish/
Daudio.c105 int current_buffer; member
232 QFIELD_INT32(current_buffer), in QFIELD_INT32()
310 s->current_buffer = 0; in enable_audio()
463 if (s->current_buffer == 0) s->current_buffer = 1; in goldfish_audio_write()
471 if (s->current_buffer == 0) s->current_buffer = 2; in goldfish_audio_write()
507 while (free && s->current_buffer) { in goldfish_audio_callback()
510 while (free && s->current_buffer == 1) { in goldfish_audio_callback()
518 s->current_buffer = (goldfish_audio_buff_length( s->out_buff2 ) ? 2 : 0); in goldfish_audio_callback()
526 while (free && s->current_buffer == 2) { in goldfish_audio_callback()
534 s->current_buffer = (goldfish_audio_buff_length( s->out_buff1 ) ? 1 : 0); in goldfish_audio_callback()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
Dvl_winsys_dri.c59 bool current_buffer; member
138 scrn->current_buffer = !scrn->current_buffer; in vl_dri2_flush_frontbuffer()
165 scrn->current_buffer = false; in vl_dri2_set_drawable()
220 } else if (back_left->name != scrn->buffer_names[scrn->current_buffer]) { in vl_screen_texture_from_drawable()
221 vl_compositor_reset_dirty_area(&scrn->dirty_areas[scrn->current_buffer]); in vl_screen_texture_from_drawable()
222 scrn->buffer_names[scrn->current_buffer] = back_left->name; in vl_screen_texture_from_drawable()
253 return &scrn->dirty_areas[scrn->current_buffer]; in vl_screen_get_dirty_area()
Dvl_mpeg12_decoder.h78 unsigned current_buffer; member
Dvl_mpeg12_decoder.c457 buffer = dec->dec_buffers[dec->current_buffer]; in vl_mpeg12_get_decode_buffer()
487 dec->dec_buffers[dec->current_buffer] = buffer; in vl_mpeg12_get_decode_buffer()
758 ++dec->current_buffer; in vl_mpeg12_end_frame()
759 dec->current_buffer %= 4; in vl_mpeg12_end_frame()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_winsys_dri.c59 bool current_buffer; member
138 scrn->current_buffer = !scrn->current_buffer; in vl_dri2_flush_frontbuffer()
165 scrn->current_buffer = false; in vl_dri2_set_drawable()
220 } else if (back_left->name != scrn->buffer_names[scrn->current_buffer]) { in vl_screen_texture_from_drawable()
221 vl_compositor_reset_dirty_area(&scrn->dirty_areas[scrn->current_buffer]); in vl_screen_texture_from_drawable()
222 scrn->buffer_names[scrn->current_buffer] = back_left->name; in vl_screen_texture_from_drawable()
253 return &scrn->dirty_areas[scrn->current_buffer]; in vl_screen_get_dirty_area()
Dvl_mpeg12_decoder.h78 unsigned current_buffer; member
Dvl_mpeg12_decoder.c457 buffer = dec->dec_buffers[dec->current_buffer]; in vl_mpeg12_get_decode_buffer()
487 dec->dec_buffers[dec->current_buffer] = buffer; in vl_mpeg12_get_decode_buffer()
758 ++dec->current_buffer; in vl_mpeg12_end_frame()
759 dec->current_buffer %= 4; in vl_mpeg12_end_frame()
/external/chromium_org/chrome/app/
Dimage_pre_reader_win.cc77 std::vector<uint8>* current_buffer, in ReadMissingBytes() argument
80 DCHECK(current_buffer != NULL); in ReadMissingBytes()
82 size_t current_length = current_buffer->size(); in ReadMissingBytes()
87 current_buffer->resize(desired_length); in ReadMissingBytes()
89 &(current_buffer->at(current_length)), in ReadMissingBytes()
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
DSDL_QuartzVideo.h123 Uint8 *current_buffer; /* the buffer being copied to the screen */ member
167 #define current_buffer (this->hidden->current_buffer) macro
DSDL_QuartzVideo.m1336 src = current_buffer + SDL_VideoSurface->offset;
1392 create two buffers, replace current_buffer with current_context and set it
1413 current_buffer = surface->pixels;
/external/libpng/
Dpngstruct.h371 png_bytep current_buffer; /* buffer for recently used data */ member
Dpngpread.c720 png_ptr->current_buffer = buffer; in png_push_restore_buffer()
723 png_ptr->current_buffer_ptr = png_ptr->current_buffer; in png_push_restore_buffer()
/external/chromium_org/third_party/libpng/
Dpngpread.c731 png_ptr->current_buffer = buffer; in png_push_restore_buffer()
734 png_ptr->current_buffer_ptr = png_ptr->current_buffer; in png_push_restore_buffer()
Dpng.h1395 png_bytep current_buffer PNG_DEPSTRUCT; /* buffer for recently used data */
/external/qemu/distrib/libpng-1.2.46/
Dpngpread.c731 png_ptr->current_buffer = buffer; in png_push_restore_buffer()
734 png_ptr->current_buffer_ptr = png_ptr->current_buffer; in png_push_restore_buffer()
Dpng.h1448 png_bytep current_buffer PNG_DEPSTRUCT; /* buffer for recently used data */