/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/ |
H A D | mem_ops_aligned.h | 46 #define mem_get_ne_aligned_generic(end,sz) \ 47 static unsigned MEM_VALUE_T mem_get_##end##sz##_aligned(const void *vmem) {\ 48 const uint##sz##_t *mem = (const uint##sz##_t *)vmem;\ 52 #define mem_get_sne_aligned_generic(end,sz) \ 53 static signed MEM_VALUE_T mem_get_s##end##sz##_aligned(const void *vmem) {\ 54 const int##sz##_t *mem = (const int##sz##_t *)vmem;\ 58 #define mem_get_se_aligned_generic(end,sz) \ 59 static unsigned MEM_VALUE_T mem_get_##end##sz##_aligne [all...] |
H A D | mem_ops.h | 135 #define mem_get_s_generic(end,sz) \ 136 static signed MEM_VALUE_T mem_get_s##end##sz(const void *vmem) {\ 138 signed MEM_VALUE_T val = mem_get_##end##sz(mem);\ 139 return (val << (MEM_VALUE_T_SZ_BITS - sz)) >> (MEM_VALUE_T_SZ_BITS - sz);\
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
H A D | loc_eng_dmn_conn_glue_pipe.h | 40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz); 41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
|
H A D | loc_eng_dmn_conn_glue_pipe.c | 126 sz - size of the data in buffer 138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) argument 142 result = write(fd, buf, sz); 146 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, result = %d\n", fd, (long) buf, (int) sz, (int) result); */ 158 sz - size of the buffer 170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) argument 174 len = read(fd, buf, sz); 178 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, len = %d\n", fd, (long) buf, (int) sz, len); */
|
H A D | loc_eng_dmn_conn.cpp | 119 int length, sz; local 125 sz = sizeof(struct ctrl_msgbuf) + 256; 126 p_cmsgbuf = (struct ctrl_msgbuf *) malloc(sz); 135 length = loc_eng_dmn_conn_glue_msgrcv(loc_api_server_msgqid, p_cmsgbuf, sz);
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
H A D | loc_eng_dmn_conn_glue_pipe.h | 40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz); 41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
|
H A D | loc_eng_dmn_conn_glue_pipe.c | 126 sz - size of the data in buffer 138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) argument 142 result = write(fd, buf, sz); 146 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, result = %d\n", fd, (long) buf, (int) sz, (int) result); */ 158 sz - size of the buffer 170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) argument 174 len = read(fd, buf, sz); 178 /* LOC_LOGD("fd = %d, buf = 0x%lx, size = %d, len = %d\n", fd, (long) buf, (int) sz, len); */
|
H A D | loc_eng_dmn_conn.cpp | 119 int length, sz; local 125 sz = sizeof(struct ctrl_msgbuf) + 256; 126 p_cmsgbuf = (struct ctrl_msgbuf *) malloc(sz); 135 length = loc_eng_dmn_conn_glue_msgrcv(loc_api_server_msgqid, p_cmsgbuf, sz);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
H A D | superframe_test.cc | 50 const uint8_t marker = buffer[pkt->data.frame.sz - 1]; 55 pkt->data.frame.sz >= index_sz && 56 buffer[pkt->data.frame.sz - index_sz] == marker) { 60 modified_buf_ = new uint8_t[pkt->data.frame.sz - index_sz]; 62 pkt->data.frame.sz - index_sz); 65 modified_pkt_.data.frame.sz -= index_sz;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | vpxstats.c | 25 stats->buf.sz = 0; 36 stats->buf.sz = stat_buf.st_size; 37 stats->buf.buf = mmap(NULL, stats->buf.sz, PROT_READ, MAP_PRIVATE, fd, 0); 47 stats->buf.sz = stats->buf_alloc_sz = ftell(stats->file); 56 nbytes = fread(stats->buf.buf, 1, stats->buf.sz, stats->file); 57 res = (nbytes == stats->buf.sz); 69 stats->buf.sz = 0; 83 munmap(stats->buf.buf, stats->buf.sz); 101 if (stats->buf.sz + len > stats->buf_alloc_sz) { 115 stats->buf.sz [all...] |
H A D | rate_hist.c | 30 int *sz; member in struct:rate_hist 55 hist->sz = calloc(hist->samples, sizeof(*hist->sz)); 68 free(hist->sz); 86 hist->sz[idx] = (int)pkt->data.frame.sz; 100 sum_sz += hist->sz[i_idx];
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
H A D | lookahead.c | 21 unsigned int sz; /* Number of buffers currently in the queue */ member in struct:lookahead_ctx 116 if(ctx->sz + 2 > ctx->max_sz) 118 ctx->sz++; 184 if(ctx->sz && (drain || ctx->sz == ctx->max_sz - 1)) 187 ctx->sz--; 203 if(index < ctx->sz) 229 return ctx->sz;
|
H A D | quantize.c | 26 int x, y, z, sz; local 47 sz = (z >> 31); /* sign of z */ 48 x = (z ^ sz) - sz; /* x = abs(z) */ 55 x = (y ^ sz) - sz; /* get the sign back */ 73 int x, y, z, sz; local 87 sz = (z >> 31); /* sign of z */ 88 x = (z ^ sz) - sz; /* 110 int x, y, z, sz; local 167 int sz; local 222 int x, y, z, sz; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_lookahead.c | 23 unsigned int sz; /* Number of buffers currently in the queue */ member in struct:lookahead_ctx 102 if (ctx->sz + 1 + MAX_PRE_FRAMES > ctx->max_sz) 104 ctx->sz++; 169 if (ctx->sz && (drain || ctx->sz == ctx->max_sz - MAX_PRE_FRAMES)) { 171 ctx->sz--; 183 if (index < (int)ctx->sz) { 203 return ctx->sz;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/neon/ |
H A D | picklpf_arm.c | 16 int sz);
|
H A D | fastquantizeb_neon.asm | 41 vshr.s16 q2, q0, #15 ; sz 63 veor.s16 q4, q2 ; y^sz 79 vsub.s16 q4, q2 ; x1=(y^sz)-sz = (y^sz)-(-1) (2's complement) 93 vsub.s16 q10, q12 ; x2=(y^sz)-sz = (y^sz)-(-1) (2's complement) 174 vshr.s16 q2, q0, #15 ; sz 205 veor.s16 q12, q2 ; y^sz [all...] |
/hardware/libhardware_legacy/uevent/ |
H A D | uevent.c | 45 int sz = 64*1024; local 57 setsockopt(s, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz));
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
H A D | example_xma.c | 165 mmap.id, mmap.sz, mmap.align, 169 mmap.priv = calloc(1, mmap.sz + align); 171 mmap.priv = malloc(mmap.sz + align); 176 alloc_sz += mmap.sz + align;
|
H A D | twopass_encoder.c | 86 const size_t pkt_size = pkt->data.twopass_stats.sz; 87 stats->buf = realloc(stats->buf, stats->sz + pkt_size); 88 memcpy((uint8_t *)stats->buf + stats->sz, pkt_buf, pkt_size); 89 stats->sz += pkt_size; 113 pkt->data.frame.sz,
|
/hardware/broadcom/libbt/src/ |
H A D | upio.c | 149 int fd, sz, id; local 165 sz = read(fd, &buf, sizeof(buf)); 168 if (sz >= 9 && memcmp(buf, "bluetooth", 9) == 0) 253 int sz; local 300 sz = write(fd, &buffer, 1); 302 if (sz < 0) {
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/ |
H A D | obj_int_extract.c | 71 int parse_macho(uint8_t *base_buf, size_t sz, output_fmt_t mode) { argument 217 #define COPY_STRUCT(dst, buf, ofst, sz) do {\ 218 if(ofst + sizeof((*(dst))) > sz) goto bail;\ 233 size_t sz; /* Buffer size */ member in struct:__anon441 244 COPY_STRUCT(&elf->e_ident, elf->buf, 0, elf->sz); 260 COPY_STRUCT(&elf->hdr32, elf->buf, 0, elf->sz); 277 COPY_STRUCT(&elf->hdr64, elf->buf, 0, elf->sz); 306 elf->sz); 322 elf->sz); 366 COPY_STRUCT(sym32, elf->buf, ofst, elf->sz); 387 parse_elf(uint8_t *buf, size_t sz, output_fmt_t mode) argument 632 parse_coff(uint8_t *buf, size_t sz) argument [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/internal/ |
H A D | vpx_codec_internal.h | 373 unsigned int sz; member in struct:vpx_codec_priv 500 size_t sz = sizeof(info->detail); local 504 vsnprintf(info->detail, sz - 1, fmt, ap); 506 info->detail[sz - 1] = '\0'; 518 unsigned long sz; member in struct:__anon657 524 // Allocates mmap.priv and sets mmap.base based on mmap.sz/align/flags
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/ |
H A D | vp8_dx_iface.c | 93 ctx->priv->sz = sizeof(*ctx->priv); 101 ctx->priv->alg_priv->si.sz = sizeof(ctx->priv->alg_priv->si); 137 mmap.sz = sizeof(vpx_codec_alg_priv_t); 257 unsigned int sz; local 259 if (si->sz >= sizeof(vp8_stream_info_t)) 260 sz = sizeof(vp8_stream_info_t); 262 sz = sizeof(vpx_codec_stream_info_t); 264 memcpy(si, &ctx->si, sz); 265 si->sz = sz; [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/ |
H A D | vpx_codec.c | 145 mmap->priv = calloc(1, mmap->sz + align); 147 mmap->priv = malloc(mmap->sz + align); 178 if (mmaps[i].sz < mem_reqs[i].calc_sz(&cfg, init_flags)) {
|
/hardware/intel/img/hwcomposer/common/observers/ |
H A D | UeventObserver.cpp | 61 int sz = 64 * 1024; local 73 if (setsockopt(mUeventFd, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz))) {
|