Searched refs:buffer_index (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium_org/net/websockets/
H A Dwebsocket_frame.cc107 int buffer_index = 0; local
115 buffer[buffer_index++] = first_byte;
129 buffer[buffer_index++] = second_byte;
134 base::WriteBigEndian(buffer + buffer_index, payload_length_16);
135 buffer_index += sizeof(payload_length_16);
137 base::WriteBigEndian(buffer + buffer_index, header.payload_length);
138 buffer_index += sizeof(header.payload_length);
146 buffer + buffer_index);
147 buffer_index += WebSocketFrameHeader::kMaskingKeyLength;
152 DCHECK_EQ(header_size, buffer_index);
[all...]
/external/chromium_org/media/audio/
H A Daudio_device_thread.cc165 uint32 buffer_index = 0; local
182 ++buffer_index;
183 size_t bytes_sent = socket_.Send(&buffer_index, sizeof(buffer_index));
184 if (bytes_sent != sizeof(buffer_index))
/external/chromium_org/content/common/gpu/media/
H A Dtegra_v4l2_video_device.cc36 unsigned int buffer_index,
177 unsigned int buffer_index,
190 if (TegraV4L2_UseEglImage(device_fd_, buffer_index, egl_image) != 0) {
173 CreateEGLImage(EGLDisplay egl_display, EGLContext egl_context, GLuint texture_id, gfx::Size , unsigned int buffer_index, size_t ) argument
H A Dexynos_v4l2_video_device.h36 unsigned int buffer_index,
H A Dtegra_v4l2_video_device.h39 unsigned int buffer_index,
H A Dv4l2_video_device.h76 // used to bind the texture to the returned EGLImageKHR. buffer_index can be
83 unsigned int buffer_index,
H A Dexynos_v4l2_video_device.cc144 unsigned int buffer_index,
154 expbuf.index = buffer_index;
140 CreateEGLImage(EGLDisplay egl_display, EGLContext , GLuint texture_id, gfx::Size frame_buffer_size, unsigned int buffer_index, size_t planes_count) argument
H A Ddxva_video_decode_accelerator.cc537 for (size_t buffer_index = 0; buffer_index < buffers.size();
538 ++buffer_index) {
540 DXVAPictureBuffer::Create(*this, buffers[buffer_index], egl_config_);
545 buffers[buffer_index].id(), picture_buffer)).second;
/external/chromium_org/native_client_sdk/src/libraries/xray/
H A Dxray.c85 int buffer_index; member in struct:XRayTraceCapture
253 int index = capture->buffer_index;
275 capture->buffer_index = index;
340 se->dest = capture->buffer_index;
343 capture->buffer_index =
344 XRayTraceIncrementIndexInline(capture, capture->buffer_index);
365 uint32_t buffer_index = se->dest; local
367 struct XRayTraceBufferEntry* be = &capture->buffer[buffer_index];
406 be->annotation_index = capture->buffer_index;
492 capture->buffer_index
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dencode.c216 if (ISACencLB_obj->buffer_index == 0) {
229 ISACencLB_obj->data_buffer_float[k + ISACencLB_obj->buffer_index] = in[k];
234 if (ISACencLB_obj->buffer_index + FRAMESAMPLES_10ms != FRAMESAMPLES) {
235 ISACencLB_obj->buffer_index += FRAMESAMPLES_10ms;
240 ISACencLB_obj->buffer_index = 0;
673 memcpy(&ISACencUB_obj->data_buffer_float[ISACencUB_obj->buffer_index], in,
678 if (ISACencUB_obj->buffer_index + FRAMESAMPLES_10ms < FRAMESAMPLES) {
679 ISACencUB_obj->buffer_index += FRAMESAMPLES_10ms;
799 ISACencUB_obj->buffer_index = LB_TOTAL_DELAY_SAMPLES;
865 memcpy(&ISACencUB_obj->data_buffer_float[ISACencUB_obj->buffer_index], i
[all...]
H A Dstructs.h320 int buffer_index; member in struct:__anon15781
363 int buffer_index; member in struct:__anon15782
H A Disac.c114 (instISAC->instLB.ISACencLB_obj.buffer_index == 0) &&
128 * If we let this happen, we have to take care of buffer_index and
156 instISAC->instLB.ISACencLB_obj.buffer_index = 0;
160 * care of buffer_index and the last LPC vector. */
196 if ((instISAC->instLB.ISACencLB_obj.buffer_index ==
362 instLB->ISACencLB_obj.buffer_index = 0;
393 instUB->ISACencUB_obj.buffer_index = LB_TOTAL_DELAY_SAMPLES;
395 instUB->ISACencUB_obj.buffer_index = 0;
1548 instISAC->instUB.ISACencUB_obj.buffer_index =
1549 instISAC->instLB.ISACencLB_obj.buffer_index;
[all...]
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Dencode.c216 if (ISACencLB_obj->buffer_index == 0) {
229 ISACencLB_obj->data_buffer_float[k + ISACencLB_obj->buffer_index] = in[k];
234 if (ISACencLB_obj->buffer_index + FRAMESAMPLES_10ms != FRAMESAMPLES) {
235 ISACencLB_obj->buffer_index += FRAMESAMPLES_10ms;
240 ISACencLB_obj->buffer_index = 0;
673 memcpy(&ISACencUB_obj->data_buffer_float[ISACencUB_obj->buffer_index], in,
678 if (ISACencUB_obj->buffer_index + FRAMESAMPLES_10ms < FRAMESAMPLES) {
679 ISACencUB_obj->buffer_index += FRAMESAMPLES_10ms;
799 ISACencUB_obj->buffer_index = LB_TOTAL_DELAY_SAMPLES;
865 memcpy(&ISACencUB_obj->data_buffer_float[ISACencUB_obj->buffer_index], i
[all...]
H A Dstructs.h321 int buffer_index; member in struct:__anon33456
364 int buffer_index; member in struct:__anon33457
H A Disac.c113 (instISAC->instLB.ISACencLB_obj.buffer_index == 0) &&
127 * If we let this happen, we have to take care of buffer_index and
155 instISAC->instLB.ISACencLB_obj.buffer_index = 0;
159 * care of buffer_index and the last LPC vector. */
195 if ((instISAC->instLB.ISACencLB_obj.buffer_index ==
355 instLB->ISACencLB_obj.buffer_index = 0;
386 instUB->ISACencUB_obj.buffer_index = LB_TOTAL_DELAY_SAMPLES;
388 instUB->ISACencUB_obj.buffer_index = 0;
1507 instISAC->instUB.ISACencUB_obj.buffer_index =
1508 instISAC->instLB.ISACencLB_obj.buffer_index;
[all...]
/external/chromium_org/ppapi/proxy/
H A Dvideo_capture_resource.h76 void SetBufferInUse(uint32_t buffer_index);
H A Dvideo_capture_resource.cc228 void VideoCaptureResource::SetBufferInUse(uint32_t buffer_index) { argument
229 CHECK(buffer_index < buffer_in_use_.size());
230 buffer_in_use_[buffer_index] = true;
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
H A Dencode.c70 if (ISACenc_obj->buffer_index == 0) {
82 ISACenc_obj->data_buffer_fix[k + ISACenc_obj->buffer_index] = in[k];
86 if (ISACenc_obj->buffer_index + FRAMESAMPLES_10ms != processed_samples) {
87 ISACenc_obj->buffer_index = ISACenc_obj->buffer_index + FRAMESAMPLES_10ms;
91 ISACenc_obj->buffer_index = 0;
H A Dstructs.h313 int16_t buffer_index; member in struct:__anon15762
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Dencode.c67 if (ISACenc_obj->buffer_index == 0) {
79 ISACenc_obj->data_buffer_fix[k + ISACenc_obj->buffer_index] = in[k];
83 if (ISACenc_obj->buffer_index + FRAMESAMPLES_10ms != processed_samples) {
84 ISACenc_obj->buffer_index = ISACenc_obj->buffer_index + FRAMESAMPLES_10ms;
88 ISACenc_obj->buffer_index = 0;
/external/chromium_org/media/base/android/
H A Dmedia_decoder_job.cc418 int buffer_index = 0; local
433 &buffer_index,
475 buffer_index,
499 ReleaseOutputBuffer(buffer_index, size, render_output, presentation_timestamp,
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
H A Dintel_regions.h154 int buffer_index; member in struct:intel_image_format::__anon14476
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_regions.h154 int buffer_index; member in struct:intel_image_format::__anon27887
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/translate/
H A Dtranslate_sse.c57 unsigned buffer_index; member in struct:translate_buffer_variant
1067 struct translate_buffer *buffer = &p->buffer[variant->buffer_index];
1169 get_offset(p, &p->buffer[variant->buffer_index].stride));
1173 get_offset(p, &p->buffer[variant->buffer_index].base_ptr));
1177 get_offset(p, &p->buffer[variant->buffer_index].max_index));
1233 get_offset(p, &p->buffer[variant->buffer_index].stride));
1487 if (p->buffer_variant[j].buffer_index == key->element[i].input_buffer &&
1493 p->buffer_variant[j].buffer_index = key->element[i].input_buffer;
/external/mesa3d/src/gallium/auxiliary/translate/
H A Dtranslate_sse.c57 unsigned buffer_index; member in struct:translate_buffer_variant
1067 struct translate_buffer *buffer = &p->buffer[variant->buffer_index];
1169 get_offset(p, &p->buffer[variant->buffer_index].stride));
1173 get_offset(p, &p->buffer[variant->buffer_index].base_ptr));
1177 get_offset(p, &p->buffer[variant->buffer_index].max_index));
1233 get_offset(p, &p->buffer[variant->buffer_index].stride));
1487 if (p->buffer_variant[j].buffer_index == key->element[i].input_buffer &&
1493 p->buffer_variant[j].buffer_index = key->element[i].input_buffer;

Completed in 5672 milliseconds

12