/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/ |
D | mem_ops_aligned.h | 46 #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 …]
|
D | mem_ops.h | 135 #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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
D | vpxstats.c | 25 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()
|
D | rate_hist.c | 30 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/ |
D | superframe_test.cc | 50 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/vp9/encoder/ |
D | vp9_lookahead.c | 23 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/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
D | lookahead.c | 21 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()
|
D | quantize.c | 26 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/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_glue_pipe.c | 138 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()
|
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);
|
D | loc_eng_dmn_conn.cpp | 119 int length, sz; in loc_api_server_proc() local 125 sz = sizeof(struct ctrl_msgbuf) + 256; in loc_api_server_proc() 126 p_cmsgbuf = (struct ctrl_msgbuf *) malloc(sz); in loc_api_server_proc() 135 length = loc_eng_dmn_conn_glue_msgrcv(loc_api_server_msgqid, p_cmsgbuf, sz); in loc_api_server_proc()
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_glue_pipe.c | 138 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()
|
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);
|
D | loc_eng_dmn_conn.cpp | 119 int length, sz; in loc_api_server_proc() local 125 sz = sizeof(struct ctrl_msgbuf) + 256; in loc_api_server_proc() 126 p_cmsgbuf = (struct ctrl_msgbuf *) malloc(sz); in loc_api_server_proc() 135 length = loc_eng_dmn_conn_glue_msgrcv(loc_api_server_msgqid, p_cmsgbuf, sz); in loc_api_server_proc()
|
/hardware/broadcom/libbt/src/ |
D | upio.c | 149 int fd, sz, id; in init_rfkill() local 165 sz = read(fd, &buf, sizeof(buf)); in init_rfkill() 168 if (sz >= 9 && memcmp(buf, "bluetooth", 9) == 0) in init_rfkill() 253 int sz; in upio_set_bluetooth_power() local 300 sz = write(fd, &buffer, 1); in upio_set_bluetooth_power() 302 if (sz < 0) { in upio_set_bluetooth_power()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/ |
D | obj_int_extract.c | 71 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/encoder/arm/neon/ |
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) 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/vp8/ |
D | vp8_dx_iface.c | 93 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 …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
D | example_xma.c | 165 mmap.id, mmap.sz, mmap.align, in main() 169 mmap.priv = calloc(1, mmap.sz + align); in main() 171 mmap.priv = malloc(mmap.sz + align); in main() 176 alloc_sz += mmap.sz + align; in main()
|
D | twopass_encoder.c | 86 const size_t pkt_size = pkt->data.twopass_stats.sz; in get_frame_stats() 87 stats->buf = realloc(stats->buf, stats->sz + pkt_size); in get_frame_stats() 88 memcpy((uint8_t *)stats->buf + stats->sz, pkt_buf, pkt_size); in get_frame_stats() 89 stats->sz += pkt_size; in get_frame_stats() 113 pkt->data.frame.sz, in encode_frame()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/armv6/ |
D | vp8_fast_quantize_b_armv6.asm | 49 ssub16 r9, r9, lr ; x = (z ^ sz) - sz 63 ssub16 r12, r12, r11 ; x = (z ^ sz) - sz 72 ssub16 r0, r0, lr ; x = (y ^ sz) - sz 82 ssub16 r10, r10, r11 ; x = (y ^ sz) - sz
|
/hardware/libhardware_legacy/uevent/ |
D | uevent.c | 45 int sz = 64*1024; in uevent_init() local 57 setsockopt(s, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz)); in uevent_init()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/internal/ |
D | vpx_codec_internal.h | 373 unsigned int sz; member 500 size_t sz = sizeof(info->detail); in vpx_internal_error() local 504 vsnprintf(info->detail, sz - 1, fmt, ap); in vpx_internal_error() 506 info->detail[sz - 1] = '\0'; in vpx_internal_error() 518 unsigned long sz; member
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/ |
D | vpx_encoder.c | 282 pkt->data.raw.sz + priv->enc.cx_data_pad_before + in vpx_codec_get_cx_data() 283 priv->enc.cx_data_pad_after <= priv->enc.cx_data_dst_buf.sz) { in vpx_codec_get_cx_data() 287 pkt->data.raw.sz); in vpx_codec_get_cx_data() 290 modified_pkt->data.raw.sz += priv->enc.cx_data_pad_before + in vpx_codec_get_cx_data() 296 priv->enc.cx_data_dst_buf.buf = dst_buf + pkt->data.raw.sz; in vpx_codec_get_cx_data() 297 priv->enc.cx_data_dst_buf.sz -= pkt->data.raw.sz; in vpx_codec_get_cx_data() 318 ctx->priv->enc.cx_data_dst_buf.sz = 0; in vpx_codec_set_cx_data_buf()
|
/hardware/intel/img/hwcomposer/common/observers/ |
D | UeventObserver.cpp | 61 int sz = 64 * 1024; in initialize() local 73 if (setsockopt(mUeventFd, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz))) { in initialize()
|