/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_mc.h | 87 bool vl_mc_init_buffer(struct vl_mc *renderer, struct vl_mc_buffer *buffer); 89 void vl_mc_cleanup_buffer(struct vl_mc_buffer *buffer); 91 void vl_mc_set_surface(struct vl_mc_buffer *buffer, struct pipe_surface *surface); 93 void vl_mc_render_ref(struct vl_mc *renderer, struct vl_mc_buffer *buffer, struct pipe_sampler_view *ref); 95 void vl_mc_render_ycbcr(struct vl_mc *renderer, struct vl_mc_buffer *buffer, unsigned component, unsigned num_instances);
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/ |
translate_test.c | 57 unsigned char* buffer[5]; local 136 for (i = 1; i < Elements(buffer); ++i) 137 buffer[i] = align_malloc(buffer_size, 4096); 249 memset(buffer[i], 0xcd - (0x22 * i), 4096); 252 buffer[0] = (unsigned char*)float_buffer; 254 buffer[0] = (unsigned char*)double_buffer; 256 buffer[0] = (unsigned char*)half_buffer; 260 buffer[0] = byte_buffer; 262 translate[0]->set_buffer(translate[0], 0, buffer[0], input_format_size, count - 1); 263 translate[0]->run_elts(translate[0], elts, count, 0, buffer[1]) [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_device/android/ |
fine_audio_buffer.cc | 39 // audio frames are pulled in chunks of 10ms we will need a buffer that can 44 void FineAudioBuffer::GetBufferData(int8_t* buffer) { 46 memcpy(buffer, &cache_buffer_.get()[cached_buffer_start_], 53 memcpy(buffer, &cache_buffer_.get()[cached_buffer_start_], cached_bytes_); 54 // Push another n*10ms of audio to |buffer|. n > 1 if 57 int8_t* unwritten_buffer = &buffer[cached_bytes_]; 74 // Put the samples that were written to |buffer| but are not used in the 77 int8_t* cache_ptr = &buffer[cache_location]; 80 // If cached_bytes_ is larger than the cache buffer, uninitialized memory
|
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/i420/main/source/ |
i420.cc | 101 // Reallocate buffer. 108 uint8_t *buffer = _encodedImage._buffer; local 110 buffer = InsertHeader(buffer, width, height); 113 buffer); 122 uint8_t* I420Encoder::InsertHeader(uint8_t *buffer, uint16_t width, 124 *buffer++ = static_cast<uint8_t>(width >> 8); 125 *buffer++ = static_cast<uint8_t>(width & 0xFF); 126 *buffer++ = static_cast<uint8_t>(height >> 8); 127 *buffer++ = static_cast<uint8_t>(height & 0xFF) 189 const uint8_t* buffer = inputImage._buffer; local [all...] |
/external/harfbuzz_ng/src/ |
hb-buffer-serialize.cc | 27 #include "hb-buffer-private.hh" 92 _hb_buffer_serialize_glyphs_json (hb_buffer_t *buffer, 101 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, NULL); 102 hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, NULL); 165 _hb_buffer_serialize_glyphs_text (hb_buffer_t *buffer, 174 hb_glyph_info_t *info = hb_buffer_get_glyph_infos (buffer, NULL); 175 hb_glyph_position_t *pos = hb_buffer_get_glyph_positions (buffer, NULL); 229 * @buffer: a buffer. 246 hb_buffer_serialize_glyphs (hb_buffer_t *buffer, [all...] |
/external/harfbuzz_ng/util/ |
view-cairo.hh | 54 void consume_text (hb_buffer_t *buffer, 60 void shape_failed (hb_buffer_t *buffer, 67 void consume_glyphs (hb_buffer_t *buffer, 72 direction = hb_buffer_get_direction (buffer); 74 helper_cairo_line_from_buffer (&l, buffer, text, text_len, scale, utf8_clusters);
|
options.hh | 197 void setup_buffer (hb_buffer_t *buffer) 199 hb_buffer_set_direction (buffer, hb_direction_from_string (direction, -1)); 200 hb_buffer_set_script (buffer, hb_script_from_string (script, -1)); 201 hb_buffer_set_language (buffer, hb_language_from_string (language, -1)); 202 hb_buffer_set_flags (buffer, (hb_buffer_flags_t) (HB_BUFFER_FLAG_DEFAULT | 206 hb_buffer_guess_segment_properties (buffer); 209 void populate_buffer (hb_buffer_t *buffer, const char *text, int text_len, 212 hb_buffer_clear_contents (buffer); 215 hb_buffer_add_utf8 (buffer, text_before, len, len, 0); 217 hb_buffer_add_utf8 (buffer, text, text_len, 0, text_len) [all...] |
/external/icu/icu4c/source/common/ |
ucat.c | 24 * Fill in buffer with a set_num/msg_num key string, given the numeric 25 * values. Numeric values must be >= 0. Buffer must be of length 29 _catkey(char* buffer, int32_t set_num, int32_t msg_num) { 31 i = T_CString_integerToString(buffer, set_num, 10); 32 buffer[i++] = SEPARATOR; 33 T_CString_integerToString(buffer+i, msg_num, 10); 34 return buffer;
|
/external/libcxx/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/ |
Android.mk | 17 test_makefile := external/libcxx/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/Android.mk 19 test_name := input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubseekpos 23 test_name := input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubsync 27 test_name := input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubsetbuf 31 test_name := input.output/stream.buffers/streambuf/streambuf.members/streambuf.buffer/pubseekoff
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_mc.h | 87 bool vl_mc_init_buffer(struct vl_mc *renderer, struct vl_mc_buffer *buffer); 89 void vl_mc_cleanup_buffer(struct vl_mc_buffer *buffer); 91 void vl_mc_set_surface(struct vl_mc_buffer *buffer, struct pipe_surface *surface); 93 void vl_mc_render_ref(struct vl_mc *renderer, struct vl_mc_buffer *buffer, struct pipe_sampler_view *ref); 95 void vl_mc_render_ycbcr(struct vl_mc *renderer, struct vl_mc_buffer *buffer, unsigned component, unsigned num_instances);
|
/external/mesa3d/src/gallium/tests/unit/ |
translate_test.c | 57 unsigned char* buffer[5]; local 136 for (i = 1; i < Elements(buffer); ++i) 137 buffer[i] = align_malloc(buffer_size, 4096); 249 memset(buffer[i], 0xcd - (0x22 * i), 4096); 252 buffer[0] = (unsigned char*)float_buffer; 254 buffer[0] = (unsigned char*)double_buffer; 256 buffer[0] = (unsigned char*)half_buffer; 260 buffer[0] = byte_buffer; 262 translate[0]->set_buffer(translate[0], 0, buffer[0], input_format_size, count - 1); 263 translate[0]->run_elts(translate[0], elts, count, 0, buffer[1]) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
Event.java | 114 protected StringBuffer encodeBody(StringBuffer buffer) { 116 buffer.append(eventType); 119 buffer.append(SEMICOLON); 120 this.parameters.encode(buffer); 122 return buffer;
|
/external/oprofile/libop/ |
op_xml_out.h | 64 void open_xml_element(tag_t tag, int with_attrs, char *buffer, size_t size); 65 void close_xml_element(tag_t tag, int has_nested, char *buffer, size_t size); 66 void init_xml_int_attr(tag_t attr, int value, char *buffer, size_t size); 67 void init_xml_dbl_attr(tag_t attr, double value, char *buffer, size_t size); 68 void init_xml_str_attr(tag_t attr, char const *str, char *buffer, size_t size);
|
/external/qemu/android/ |
async-utils.c | 22 void* buffer, 26 ar->buffer = buffer; 46 ar->buffer + ar->pos, 70 const void* buffer, 74 aw->buffer = buffer; 94 aw->buffer + aw->pos, 118 void* buffer, 122 alr->buffer = buffer 186 char* buffer = (char*) alr->buffer; local [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
testiconv.c | 32 char buffer[BUFSIZ]; local 48 while ( fgets(buffer, sizeof(buffer), file) ) { 51 ucs4 = SDL_iconv_string("UCS-4", "UTF-8", buffer, SDL_strlen(buffer)+1);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
Utils.java | 71 StringBuffer buffer = new StringBuffer(); local 80 buffer.append('-'); 90 buffer.append(Character.toLowerCase(value.charAt(i))); 94 buffer.append(Character.toUpperCase(value.charAt(i))); 99 return buffer.toString(); 395 StringBuffer buffer = new StringBuffer(value.length() * 4 / 3); local 405 case '<': buffer.append("<"); continue; 406 case '>': buffer.append(">"); continue; 407 case '&': buffer.append("&"); continue; 408 case '"': buffer.append(forAttribute ? """ : "\""); continue 435 StringBuffer buffer = new StringBuffer(value); local [all...] |
/frameworks/av/media/libstagefright/tests/ |
DummyRecorder.cpp | 78 MediaBuffer *buffer; local 80 while (mStarted && (err = mSource->read(&buffer)) == OK){ 81 // if not getting a valid buffer from source, then exit 82 if (buffer == NULL) { 85 buffer->release(); 86 buffer = NULL;
|
/frameworks/av/services/audioflinger/ |
PlaybackTracks.h | 32 void *buffer, 42 void dump(char* buffer, size_t size, bool active); 62 void setAuxBuffer(int EffectId, int32_t *buffer); 64 void setMainBuffer(int16_t *buffer) { mMainBuffer = buffer; } 86 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer, 182 TimedBuffer(const sp<IMemory>& buffer, int64_t pts); 183 const sp<IMemory>& buffer() const { return mBuffer; } function in class:TimedTrack::TimedBuffer 197 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer [all...] |
/frameworks/base/core/java/android/net/dhcp/ |
DhcpNakPacket.java | 59 void finishPacket(ByteBuffer buffer) { 60 addTlv(buffer, DHCP_MESSAGE_TYPE, DHCP_MESSAGE_TYPE_NAK); 61 addTlv(buffer, DHCP_SERVER_IDENTIFIER, mServerIdentifier); 62 addTlv(buffer, DHCP_MESSAGE, mMessage); 63 addTlvEnd(buffer);
|
/frameworks/native/include/ui/ |
FramebufferNativeWindow.h | 71 static int dequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd); 72 static int queueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd); 76 static int dequeueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer** buffer); 77 static int queueBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer); 78 static int lockBuffer_DEPRECATED(ANativeWindow* window, ANativeWindowBuffer* buffer);
|
/hardware/intel/common/libmix/videodecoder/securevideo/moorefield/ |
VideoDecoderAVCSecure.h | 27 virtual Decode_Status start(VideoConfigBuffer *buffer); 30 // data in the decoded buffer is all encrypted. 31 virtual Decode_Status decode(VideoDecodeBuffer *buffer); 33 virtual Decode_Status decodeFrame(VideoDecodeBuffer *buffer, vbp_data_h264 *data); 43 Decode_Status processClassicInputBuffer(VideoDecodeBuffer *buffer, vbp_data_h264 **data); 44 Decode_Status processModularInputBuffer(VideoDecodeBuffer *buffer, vbp_data_h264 **data); 60 uint32_t sliceStartOffset; // offset of Slice unit in the firewalled buffer
|
/libcore/luni/src/main/java/java/io/ |
BufferedOutputStream.java | 25 * most (smaller) requests can be satisfied by accessing the buffer alone. The 26 * drawback is that some extra space is required to hold the buffer and that 27 * copying takes place when flushing that buffer, but this is usually outweighed 40 * The buffer containing the bytes to be written to the target stream. 50 * Constructs a new {@code BufferedOutputStream}, providing {@code out} with a buffer 53 * @param out the {@code OutputStream} the buffer writes to. 61 * of buffer. 63 * @param out the {@code OutputStream} the buffer writes to. 64 * @param size the size of buffer in bytes. 96 * Writes {@code count} bytes from the byte array {@code buffer} starting a [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
DerInputStream.java | 73 && buffer[contentOffset] != 0 74 && (buffer[offset - 1] & UNUSED_BITS_MASK[buffer[contentOffset] - 1]) != 0) { 84 if (buffer[contentOffset] != 0 && buffer[contentOffset] != (byte) 0xFF) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
BytesBufferPool.java | 79 public synchronized void recycle(BytesBuffer buffer) { 80 if (buffer.data.length != mBufferSize) return; 82 buffer.offset = 0; 83 buffer.length = 0; 84 mList.add(buffer);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
UpdatePreviewTask.java | 57 SharedBuffer buffer = MasterImage.getImage().getPreviewBuffer(); local 61 mPreviewPipeline.compute(buffer, renderingPreset, 0); 62 // set the preset we used in the buffer for later inspection UI-side 63 buffer.getProducer().setPreset(renderingPreset); 64 buffer.getProducer().sync(); 65 buffer.swapProducer(); // push back the result
|