Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 25 of 102) sorted by relevance

12345

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
Dmem_ops_aligned.h46 #define mem_get_ne_aligned_generic(end,sz) \ argument
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) \ argument
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) \ argument
59 static unsigned MEM_VALUE_T mem_get_##end##sz##_aligned(const void *vmem) {\
60 const uint##sz##_t *mem = (const uint##sz##_t *)vmem;\
62 swap_endian_##sz(val,raw);\
[all …]
Dmem_ops.h135 #define mem_get_s_generic(end,sz) \ argument
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/bsp/intel/soc/common/bootctrl/
Dbootctrl.c43 ssize_t sz, size; in bootctrl_read_metadata() local
60 sz = read(fd, buf, size); in bootctrl_read_metadata()
61 if (sz == 0) { in bootctrl_read_metadata()
63 } else if (sz < 0) { in bootctrl_read_metadata()
72 size -= sz; in bootctrl_read_metadata()
73 buf += sz; in bootctrl_read_metadata()
89 ssize_t sz, size; in bootctrl_write_metadata() local
107 sz = write(fd, buf, size); in bootctrl_write_metadata()
108 if (sz == 0) { in bootctrl_write_metadata()
110 } else if (sz < 0) { in bootctrl_write_metadata()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dvpxstats.c25 stats->buf.sz = 0; in stats_open_file()
36 stats->buf.sz = stat_buf.st_size; in stats_open_file()
37 stats->buf.buf = mmap(NULL, stats->buf.sz, PROT_READ, MAP_PRIVATE, fd, 0); in stats_open_file()
47 stats->buf.sz = stats->buf_alloc_sz = ftell(stats->file); in stats_open_file()
56 nbytes = fread(stats->buf.buf, 1, stats->buf.sz, stats->file); in stats_open_file()
57 res = (nbytes == stats->buf.sz); in stats_open_file()
69 stats->buf.sz = 0; in stats_open_mem()
83 munmap(stats->buf.buf, stats->buf.sz); in stats_close()
101 if (stats->buf.sz + len > stats->buf_alloc_sz) { in stats_write()
115 stats->buf.sz += len; in stats_write()
Drate_hist.c30 int *sz; member
55 hist->sz = calloc(hist->samples, sizeof(*hist->sz)); in init_rate_histogram()
68 free(hist->sz); in destroy_rate_histogram()
86 hist->sz[idx] = (int)pkt->data.frame.sz; in update_rate_histogram()
100 sum_sz += hist->sz[i_idx]; in update_rate_histogram()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dsuperframe_test.cc50 const uint8_t marker = buffer[pkt->data.frame.sz - 1]; in MutateEncoderOutputHook()
55 pkt->data.frame.sz >= index_sz && in MutateEncoderOutputHook()
56 buffer[pkt->data.frame.sz - index_sz] == marker) { in MutateEncoderOutputHook()
60 modified_buf_ = new uint8_t[pkt->data.frame.sz - index_sz]; in MutateEncoderOutputHook()
62 pkt->data.frame.sz - index_sz); in MutateEncoderOutputHook()
65 modified_pkt_.data.frame.sz -= index_sz; in MutateEncoderOutputHook()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dlookahead.c21 unsigned int sz; /* Number of buffers currently in the queue */ member
116 if(ctx->sz + 2 > ctx->max_sz) in vp8_lookahead_push()
118 ctx->sz++; in vp8_lookahead_push()
184 if(ctx->sz && (drain || ctx->sz == ctx->max_sz - 1)) in vp8_lookahead_pop()
187 ctx->sz--; in vp8_lookahead_pop()
203 if(index < ctx->sz) in vp8_lookahead_peek()
229 return ctx->sz; in vp8_lookahead_depth()
Dquantize.c26 int x, y, z, sz; in vp8_fast_quantize_b_c() local
47 sz = (z >> 31); /* sign of z */ in vp8_fast_quantize_b_c()
48 x = (z ^ sz) - sz; /* x = abs(z) */ in vp8_fast_quantize_b_c()
55 x = (y ^ sz) - sz; /* get the sign back */ in vp8_fast_quantize_b_c()
73 int x, y, z, sz; in vp8_fast_quantize_b_c() local
87 sz = (z >> 31); /* sign of z */ in vp8_fast_quantize_b_c()
88 x = (z ^ sz) - sz; /* x = abs(z) */ in vp8_fast_quantize_b_c()
91 x = (y ^ sz) - sz; /* get the sign back */ in vp8_fast_quantize_b_c()
110 int x, y, z, sz; in vp8_regular_quantize_b_c() local
135 sz = (z >> 31); /* sign of z */ in vp8_regular_quantize_b_c()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_lookahead.c23 unsigned int sz; /* Number of buffers currently in the queue */ member
102 if (ctx->sz + 1 + MAX_PRE_FRAMES > ctx->max_sz) in vp9_lookahead_push()
104 ctx->sz++; in vp9_lookahead_push()
169 if (ctx->sz && (drain || ctx->sz == ctx->max_sz - MAX_PRE_FRAMES)) { in vp9_lookahead_pop()
171 ctx->sz--; in vp9_lookahead_pop()
183 if (index < (int)ctx->sz) { in vp9_lookahead_peek()
203 return ctx->sz; in vp9_lookahead_depth()
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_glue_pipe.c138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() argument
142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite()
170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead() argument
174 len = read(fd, buf, sz); in loc_eng_dmn_conn_glue_piperead()
Dloc_eng_dmn_conn_glue_pipe.h40 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);
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_glue_pipe.c138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() argument
142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite()
170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead() argument
174 len = read(fd, buf, sz); in loc_eng_dmn_conn_glue_piperead()
Dloc_eng_dmn_conn_glue_pipe.h40 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);
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_glue_pipe.c138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() argument
142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite()
170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead() argument
174 len = read(fd, buf, sz); in loc_eng_dmn_conn_glue_piperead()
Dloc_eng_dmn_conn_glue_pipe.h40 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);
/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_glue_pipe.c138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() argument
142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite()
170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead() argument
174 len = read(fd, buf, sz); in loc_eng_dmn_conn_glue_piperead()
Dloc_eng_dmn_conn_glue_pipe.h40 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);
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_glue_pipe.c138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() argument
142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite()
170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead() argument
174 len = read(fd, buf, sz); in loc_eng_dmn_conn_glue_piperead()
Dloc_eng_dmn_conn_glue_pipe.h40 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);
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_glue_pipe.c138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() argument
142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite()
170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead() argument
174 len = read(fd, buf, sz); in loc_eng_dmn_conn_glue_piperead()
Dloc_eng_dmn_conn_glue_pipe.h40 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);
/hardware/broadcom/libbt/src/
Dupio.c150 int fd, sz, id; in init_rfkill() local
166 sz = read(fd, &buf, sizeof(buf)); in init_rfkill()
169 if (sz >= 9 && memcmp(buf, "bluetooth", 9) == 0) in init_rfkill()
288 int sz; in upio_set_bluetooth_power() local
335 sz = write(fd, &buffer, 1); in upio_set_bluetooth_power()
337 if (sz < 0) { in upio_set_bluetooth_power()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/neon/
Dfastquantizeb_neon.asm41 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)
174 vshr.s16 q2, q0, #15 ; sz
205 veor.s16 q12, q2 ; y^sz
208 vsub.s16 q12, q2 ; x1=(y^sz)-sz = (y^sz)-(-1) (2's complement)
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
Dobj_int_extract.c71 int parse_macho(uint8_t *base_buf, size_t sz, output_fmt_t mode) { in parse_macho() argument
217 #define COPY_STRUCT(dst, buf, ofst, sz) do {\ argument
218 if(ofst + sizeof((*(dst))) > sz) goto bail;\
233 size_t sz; /* Buffer size */ member
244 COPY_STRUCT(&elf->e_ident, elf->buf, 0, elf->sz); in parse_elf_header()
260 COPY_STRUCT(&elf->hdr32, elf->buf, 0, elf->sz); in parse_elf_header()
277 COPY_STRUCT(&elf->hdr64, elf->buf, 0, elf->sz); in parse_elf_header()
306 elf->sz); in parse_elf_section()
322 elf->sz); in parse_elf_section()
366 COPY_STRUCT(sym32, elf->buf, ofst, elf->sz); in parse_elf_symbol()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/
Dvp8_dx_iface.c93 ctx->priv->sz = sizeof(*ctx->priv); in vp8_init_ctx()
101 ctx->priv->alg_priv->si.sz = sizeof(ctx->priv->alg_priv->si); in vp8_init_ctx()
137 mmap.sz = sizeof(vpx_codec_alg_priv_t); in vp8_init()
257 unsigned int sz; in vp8_get_si() local
259 if (si->sz >= sizeof(vp8_stream_info_t)) in vp8_get_si()
260 sz = sizeof(vp8_stream_info_t); in vp8_get_si()
262 sz = sizeof(vpx_codec_stream_info_t); in vp8_get_si()
264 memcpy(si, &ctx->si, sz); in vp8_get_si()
265 si->sz = sz; in vp8_get_si()
406 ctx->mmaps[i].sz = vp8_mem_req_segs[i].sz; in vp8_decode()
[all …]

12345