/external/chromium_org/third_party/opus/src/silk/ |
resampler_private_down_FIR.c | 47 opus_int32 *buf_ptr; local 55 buf_ptr = buf + silk_RSHIFT( index_Q16, 16 ); 62 res_Q6 = silk_SMULWB( buf_ptr[ 0 ], interpol_ptr[ 0 ] ); 63 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 1 ], interpol_ptr[ 1 ] ); 64 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 2 ], interpol_ptr[ 2 ] ); 65 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 3 ], interpol_ptr[ 3 ] ); 66 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 4 ], interpol_ptr[ 4 ] ); 67 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 5 ], interpol_ptr[ 5 ] ); 68 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 6 ], interpol_ptr[ 6 ] ); 69 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 7 ], interpol_ptr[ 7 ] ) [all...] |
resampler_down2_3.c | 48 opus_int32 *buf_ptr; local 65 buf_ptr = buf; 69 res_Q6 = silk_SMULWB( buf_ptr[ 0 ], silk_Resampler_2_3_COEFS_LQ[ 2 ] ); 70 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 1 ], silk_Resampler_2_3_COEFS_LQ[ 3 ] ); 71 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 2 ], silk_Resampler_2_3_COEFS_LQ[ 5 ] ); 72 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 3 ], silk_Resampler_2_3_COEFS_LQ[ 4 ] ); 77 res_Q6 = silk_SMULWB( buf_ptr[ 1 ], silk_Resampler_2_3_COEFS_LQ[ 4 ] ); 78 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 2 ], silk_Resampler_2_3_COEFS_LQ[ 5 ] ); 79 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 3 ], silk_Resampler_2_3_COEFS_LQ[ 3 ] ); 80 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 4 ], silk_Resampler_2_3_COEFS_LQ[ 2 ] ) [all...] |
resampler_private_IIR_FIR.c | 44 opus_int16 *buf_ptr; local 50 buf_ptr = &buf[ index_Q16 >> 16 ]; 52 res_Q15 = silk_SMULBB( buf_ptr[ 0 ], silk_resampler_frac_FIR_12[ table_index ][ 0 ] ); 53 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 1 ], silk_resampler_frac_FIR_12[ table_index ][ 1 ] ); 54 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 2 ], silk_resampler_frac_FIR_12[ table_index ][ 2 ] ); 55 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 3 ], silk_resampler_frac_FIR_12[ table_index ][ 3 ] ); 56 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 4 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 3 ] ); 57 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 5 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 2 ] ); 58 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 6 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 1 ] ); 59 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 7 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 0 ] ) [all...] |
/external/libopus/silk/ |
resampler_private_down_FIR.c | 47 opus_int32 *buf_ptr; local 55 buf_ptr = buf + silk_RSHIFT( index_Q16, 16 ); 62 res_Q6 = silk_SMULWB( buf_ptr[ 0 ], interpol_ptr[ 0 ] ); 63 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 1 ], interpol_ptr[ 1 ] ); 64 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 2 ], interpol_ptr[ 2 ] ); 65 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 3 ], interpol_ptr[ 3 ] ); 66 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 4 ], interpol_ptr[ 4 ] ); 67 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 5 ], interpol_ptr[ 5 ] ); 68 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 6 ], interpol_ptr[ 6 ] ); 69 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 7 ], interpol_ptr[ 7 ] ) [all...] |
resampler_down2_3.c | 48 opus_int32 *buf_ptr; local 65 buf_ptr = buf; 69 res_Q6 = silk_SMULWB( buf_ptr[ 0 ], silk_Resampler_2_3_COEFS_LQ[ 2 ] ); 70 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 1 ], silk_Resampler_2_3_COEFS_LQ[ 3 ] ); 71 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 2 ], silk_Resampler_2_3_COEFS_LQ[ 5 ] ); 72 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 3 ], silk_Resampler_2_3_COEFS_LQ[ 4 ] ); 77 res_Q6 = silk_SMULWB( buf_ptr[ 1 ], silk_Resampler_2_3_COEFS_LQ[ 4 ] ); 78 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 2 ], silk_Resampler_2_3_COEFS_LQ[ 5 ] ); 79 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 3 ], silk_Resampler_2_3_COEFS_LQ[ 3 ] ); 80 res_Q6 = silk_SMLAWB( res_Q6, buf_ptr[ 4 ], silk_Resampler_2_3_COEFS_LQ[ 2 ] ) [all...] |
resampler_private_IIR_FIR.c | 44 opus_int16 *buf_ptr; local 50 buf_ptr = &buf[ index_Q16 >> 16 ]; 52 res_Q15 = silk_SMULBB( buf_ptr[ 0 ], silk_resampler_frac_FIR_12[ table_index ][ 0 ] ); 53 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 1 ], silk_resampler_frac_FIR_12[ table_index ][ 1 ] ); 54 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 2 ], silk_resampler_frac_FIR_12[ table_index ][ 2 ] ); 55 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 3 ], silk_resampler_frac_FIR_12[ table_index ][ 3 ] ); 56 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 4 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 3 ] ); 57 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 5 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 2 ] ); 58 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 6 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 1 ] ); 59 res_Q15 = silk_SMLABB( res_Q15, buf_ptr[ 7 ], silk_resampler_frac_FIR_12[ 11 - table_index ][ 0 ] ) [all...] |
/system/keymaster/ |
google_keymaster_messages.cpp | 36 bool KeymasterResponse::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { 37 if (!copy_uint32_from_buf(buf_ptr, end, &error)) 41 return NonErrorDeserialize(buf_ptr, end); 52 bool SupportedAlgorithmsResponse::NonErrorDeserialize(const uint8_t** buf_ptr, const uint8_t* end) { 56 if (!copy_uint32_array_from_buf(buf_ptr, end, &deserialized_algorithms, &algorithms_length)) 77 bool GenerateKeyResponse::NonErrorDeserialize(const uint8_t** buf_ptr, const uint8_t* end) { 81 if (!copy_size_and_data_from_buf(buf_ptr, end, &key_blob.key_material_size, 83 !enforced.Deserialize(buf_ptr, end) || !unenforced.Deserialize(buf_ptr, end)) 109 bool GetKeyCharacteristicsRequest::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) [all...] |
serializable.cpp | 28 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size) { 29 if (end < *buf_ptr + size) 31 memcpy(dest, *buf_ptr, size); 32 *buf_ptr += size; 36 bool copy_size_and_data_from_buf(const uint8_t** buf_ptr, const uint8_t* end, size_t* size, 38 if (!copy_uint32_from_buf(buf_ptr, end, size) || *buf_ptr + *size > end) { 48 return copy_from_buf(buf_ptr, end, dest->get(), *size); 122 bool Buffer::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { 124 if (!copy_size_and_data_from_buf(buf_ptr, end, &buffer_size_, &buffer_)) [all...] |
authorization_set.cpp | 277 static bool deserialize(keymaster_key_param_t* param, const uint8_t** buf_ptr, const uint8_t* end, 279 if (!copy_uint32_from_buf(buf_ptr, end, ¶m->tag)) 288 return copy_uint32_from_buf(buf_ptr, end, ¶m->enumerated); 291 return copy_uint32_from_buf(buf_ptr, end, ¶m->integer); 293 return copy_uint64_from_buf(buf_ptr, end, ¶m->long_integer); 295 return copy_uint64_from_buf(buf_ptr, end, ¶m->date_time); 298 if (*buf_ptr < end) { 299 param->boolean = static_cast<bool>(**buf_ptr); 300 (*buf_ptr)++; 308 if (!copy_uint32_from_buf(buf_ptr, end, ¶m->blob.data_length) | [all...] |
key_blob.cpp | 131 bool KeyBlob::Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { 133 if (!copy_from_buf(buf_ptr, end, nonce_.get(), NONCE_LENGTH) || 134 !copy_size_and_data_from_buf(buf_ptr, end, &key_material_length_, &tmp_key_ptr) || 135 !copy_from_buf(buf_ptr, end, tag_.get(), TAG_LENGTH) || 136 !enforced_.Deserialize(buf_ptr, end) || !unenforced_.Deserialize(buf_ptr, end)) {
|
/system/keymaster/include/keymaster/ |
serializable.h | 51 virtual bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) = 0; 123 * Copy \p size bytes from \p *buf_ptr into \p dest. If there are fewer than \p size bytes to read, 124 * returns false. Advances *buf_ptr to the next byte to be read. 126 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size); 129 * Extracts a uint32_t size from *buf_ptr, placing it in \p *size, and then reads *size bytes from 130 * *buf_ptr, placing them in newly-allocated storage in *dest. If there aren't enough bytes in 131 * *buf_ptr, returns false. Advances \p *buf_ptr to the next byte to be read. 135 bool copy_size_and_data_from_buf(const uint8_t** buf_ptr, const uint8_t* end, size_t* size, 139 * Copies a value convertible from uint32_t from \p *buf_ptr. Returns false if there are less tha [all...] |
google_keymaster_messages.h | 46 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end); 50 virtual bool NonErrorDeserialize(const uint8_t** buf_ptr, const uint8_t* end) = 0; 61 bool NonErrorDeserialize(const uint8_t** buf_ptr, const uint8_t* end); 89 bool NonErrorDeserialize(const uint8_t** buf_ptr, const uint8_t* end) { 93 if (!copy_uint32_array_from_buf(buf_ptr, end, &tmp, &results_length)) 111 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end) { 112 return key_description.Deserialize(buf_ptr, end); 128 bool NonErrorDeserialize(const uint8_t** buf_ptr, const uint8_t* end); 146 bool Deserialize(const uint8_t** buf_ptr, const uint8_t* end); 155 bool NonErrorDeserialize(const uint8_t** buf_ptr, const uint8_t* end) [all...] |
/external/chromium_org/mojo/public/cpp/bindings/tests/ |
buffer_unittest.cc | 45 void* buf_ptr = NULL; local 52 buf_ptr = buf.Leak(); 56 EXPECT_EQ(ptr, buf_ptr); 66 free(buf_ptr);
|
/external/chromium_org/sdch/open-vcdiff/src/ |
varint_bigendian.cc | 70 char* buf_ptr = &varint_buf[kMaxBytes - 1]; local 71 *buf_ptr = static_cast<char>(v & 0x7F); 72 --buf_ptr; 75 *buf_ptr = static_cast<char>((v & 0x7F) | 0x80); // add continuation bit 76 --buf_ptr;
|
/external/chromium_org/third_party/libvpx/source/libvpx/ |
vpxstats.h | 29 char *buf_ptr; member in struct:__anon17855
|
vpxstats.c | 74 stats->buf_ptr = stats->buf.buf; 106 stats->buf_ptr = new_ptr + (stats->buf_ptr - (char *)stats->buf.buf); 114 memcpy(stats->buf_ptr, pkt, len); 116 stats->buf_ptr += len;
|
/external/libvpx/libvpx/ |
vpxstats.h | 29 char *buf_ptr; member in struct:__anon8697
|
vpxstats.c | 74 stats->buf_ptr = stats->buf.buf; 106 stats->buf_ptr = new_ptr + (stats->buf_ptr - (char *)stats->buf.buf); 114 memcpy(stats->buf_ptr, pkt, len); 116 stats->buf_ptr += len;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
vpxstats.h | 29 char *buf_ptr; member in struct:__anon19878
|
vpxstats.c | 74 stats->buf_ptr = stats->buf.buf; 106 stats->buf_ptr = new_ptr + (stats->buf_ptr - (char *)stats->buf.buf); 114 memcpy(stats->buf_ptr, pkt, len); 116 stats->buf_ptr += len;
|
/system/core/libprocessgroup/ |
processgroup.cpp | 42 char *buf_ptr; member in struct:ctx 79 ctx->buf_ptr = ctx->buf; 90 memmove(ctx->buf, ctx->buf_ptr, ctx->buf_len); 91 ctx->buf_ptr = ctx->buf; 93 ssize_t ret = read(ctx->fd, ctx->buf_ptr + ctx->buf_len, 120 while ((eptr = (char *)memchr(ctx->buf_ptr, '\n', ctx->buf_len)) == NULL) { 133 long pid = strtol(ctx->buf_ptr, &pid_eptr, 10); 141 ctx->buf_len -= (eptr - ctx->buf_ptr) + 1; 142 ctx->buf_ptr = eptr + 1;
|
/external/pcre/dist/sljit/ |
sljitNativeX86_32.c | 260 sljit_ub *buf_ptr; local 341 buf_ptr = inst + size; 349 *buf_ptr = 0; 351 *buf_ptr = reg_map[a] << 3; 353 *buf_ptr = a << 3; 363 *buf_ptr = 0; 367 *buf_ptr++ |= MOD_REG + ((!(flags & EX86_SSE2_OP2)) ? reg_map[b] : b); 372 *buf_ptr |= 0x40; 374 *buf_ptr |= 0x80; 378 *buf_ptr++ |= reg_map[b & REG_MASK] [all...] |
sljitNativeX86_64.c | 366 sljit_ub *buf_ptr; local 485 buf_ptr = inst + size; 493 *buf_ptr = 0; 495 *buf_ptr = reg_lmap[a] << 3; 497 *buf_ptr = a << 3; 507 *buf_ptr = 0; 511 *buf_ptr++ |= MOD_REG + ((!(flags & EX86_SSE2_OP2)) ? reg_lmap[b] : b); 516 *buf_ptr |= 0x40; 518 *buf_ptr |= 0x80; 522 *buf_ptr++ |= reg_lmap[b & REG_MASK] [all...] |
/external/chromium_org/crypto/ |
encryptor.cc | 39 uint8* buf_ptr = reinterpret_cast<uint8*>(buf); local 40 memcpy(buf_ptr, &counter_, sizeof(counter_));
|
/external/chromium_org/media/formats/webm/ |
tracks_builder.cc | 68 static void SerializeInt(uint8** buf_ptr, int* buf_size_ptr, 70 uint8*& buf = *buf_ptr; 79 static void SerializeDouble(uint8** buf_ptr, int* buf_size_ptr, 89 SerializeInt(buf_ptr, buf_size_ptr, tmp.dst, 8); 127 static void WriteStringElement(uint8** buf_ptr, int* buf_size_ptr, 129 uint8*& buf = *buf_ptr;
|