Searched refs:arg (Results 1 - 25 of 201) sorted by relevance

123456789

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
H A Dargs.h20 struct arg { struct
45 struct arg arg_init(char **argv);
46 int arg_match(struct arg *arg_, const struct arg_def *def, char **argv);
47 const char *arg_next(struct arg *arg);
51 unsigned int arg_parse_uint(const struct arg *arg);
52 int arg_parse_int(const struct arg *arg);
53 struct vpx_rational arg_parse_rational(const struct arg *ar
[all...]
H A Dargs.c28 struct arg arg_init(char **argv) {
29 struct arg a;
39 int arg_match(struct arg *arg_, const struct arg_def *def, char **argv) {
40 struct arg arg; local
45 arg = arg_init(argv);
48 && strlen(arg.argv[0]) == strlen(def->short_name) + 1
49 && !strcmp(arg.argv[0] + 1, def->short_name)) {
51 arg.name = arg
86 arg_next(struct arg *arg) argument
139 arg_parse_uint(const struct arg *arg) argument
158 arg_parse_int(const struct arg *arg) argument
181 arg_parse_rational(const struct arg *arg) argument
210 arg_parse_enum(const struct arg *arg) argument
234 arg_parse_enum_or_int(const struct arg *arg) argument
[all...]
H A Dvpxdec.c501 struct arg arg; local
539 for (argi = argj = argv; (*argj = *argi); argi += arg.argv_step) {
540 memset(&arg, 0, sizeof(arg));
541 arg.argv_step = 1;
543 if (arg_match(&arg, &codecarg, argi)) {
544 interface = get_vpx_decoder_by_name(arg.val);
546 die("Error: Unrecognized argument (%s) to --codec\n", arg.val);
547 } else if (arg_match(&arg,
977 struct arg arg; local
[all...]
/hardware/intel/img/hwcomposer/ips/common/
H A DVsyncControl.cpp50 struct drm_psb_vsync_set_arg arg; local
51 memset(&arg, 0, sizeof(struct drm_psb_vsync_set_arg));
54 arg.vsync.pipe = disp;
57 arg.vsync_operation_mask = VSYNC_ENABLE;
59 arg.vsync_operation_mask = VSYNC_DISABLE;
62 return drm->writeReadIoctl(DRM_PSB_VSYNC_SET, &arg, sizeof(arg));
69 struct drm_psb_vsync_set_arg arg; local
70 memset(&arg, 0, sizeof(struct drm_psb_vsync_set_arg));
72 arg
[all...]
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/
H A DPERF.awk49 arg = ARGV[i];
50 if (gsub("^what=", "",arg)) { what = arg }
51 else if (gsub("^to=", "",arg)) { to = arg }
52 else if (gsub("^from=", "",arg)) { from = arg }
53 else if (gsub("^how=", "",arg)) { how = arg }
54 else if (gsub("^who=", "",arg)) { wh
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
H A Dvp9_spatial_scalable_encoder.c124 struct arg arg = {0}; local
160 for (argi = argj = argv; (*argj = *argi); argi += arg.argv_step) {
161 arg.argv_step = 1;
163 if (arg_match(&arg, &encoding_mode_arg, argi)) {
164 svc_ctx->encoding_mode = arg_parse_enum_or_int(&arg);
165 } else if (arg_match(&arg, &frames_arg, argi)) {
166 app_input->frames_to_code = arg_parse_uint(&arg);
167 } else if (arg_match(&arg, &width_arg, argi)) {
168 enc_cfg->g_w = arg_parse_uint(&arg);
[all...]
/hardware/intel/common/libwsbm/src/
H A Dwsbm_ttmpool.c118 union ttm_pl_create_arg arg; local
134 arg.req.size = size;
135 arg.req.placement = placement;
136 arg.req.page_alignment = alignment / pageSize;
139 arg, ret);
145 dBuf->kBuf.gpuOffset = arg.rep.gpu_offset;
146 dBuf->mapHandle = arg.rep.map_handle;
147 dBuf->realSize = arg.rep.bo_size;
148 dBuf->kBuf.placement = arg.rep.placement;
149 dBuf->kBuf.handle = arg
167 union ttm_pl_reference_arg arg; local
212 struct ttm_pl_reference_req arg; local
252 struct ttm_pl_synccpu_arg arg; local
304 struct ttm_pl_synccpu_arg arg; local
466 union ttm_pl_setstatus_arg arg; local
539 union ttm_pl_create_ub_arg arg; local
[all...]
/hardware/libhardware/tests/camera2/
H A DTestSettings.cpp87 const char *arg = argv[optind-1]; local
89 if (strstr(arg, "--gtest_") != arg) {
90 std::cerr << "Unknown argument: " << arg << std::endl;
100 const char *arg = optarg ?: "1"; local
101 mForkingDisabled = atoi(arg);
/hardware/intel/img/hwcomposer/ips/anniedale/
H A DAnnCursorPlane.cpp195 struct drm_psb_register_rw_arg arg; local
196 memset(&arg, 0, sizeof(struct drm_psb_register_rw_arg));
198 arg.plane_enable_mask = 1;
200 arg.plane_disable_mask = 1;
203 arg.plane.type = DC_CURSOR_PLANE;
204 arg.plane.index = mIndex;
205 arg.plane.ctx = 0;
209 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg));
222 struct drm_psb_register_rw_arg arg; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/x86/
H A Dquantize_mmx.asm28 mov rsi, arg(0) ;coeff_ptr
31 mov rax, arg(1) ;zbin_ptr
46 mov rdx, arg(6) ;quant_ptr
49 mov rcx, arg(5) ;round_ptr
58 mov rdi, arg(2) ;qcoeff_ptr
63 mov rax, arg(3) ;dequant_ptr
67 mov rax, arg(7) ;dqcoeff_ptr
74 mov rax, arg(1) ;zbin_ptr
98 mov rdi, arg(2) ;qcoeff_ptr
103 mov rax, arg(
[all...]
H A Dsubtract_mmx.asm27 mov rdi, arg(2) ;diff
28 mov rax, arg(3) ;Predictor
29 mov rsi, arg(0) ;z
30 movsxd rdx, dword ptr arg(1);src_stride;
31 movsxd rcx, dword ptr arg(4);pitch
87 mov rdi, arg(0) ;diff
88 mov rsi, arg(1) ;src
89 movsxd rdx, dword ptr arg(2);src_stride
90 mov rax, arg(3) ;pred
92 movsxd rbx, dword ptr arg(
[all...]
/hardware/ti/omap4-aah/domx/mm_osal/inc/
H A Dtimm_osal_task.h70 typedef void *(*TIMM_OSAL_TaskProc) (void *arg); /*Linux */
/hardware/ti/omap4xxx/domx/mm_osal/inc/
H A Dtimm_osal_task.h70 typedef void *(*TIMM_OSAL_TaskProc) (void *arg); /*Linux */
/hardware/broadcom/wlan/bcmdhd/dhdutil/
H A Ddhdu_nl80211.c38 static int dhd_nl_error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, void *arg) argument
40 int *ret = arg;
45 static int dhd_nl_finish_handler(struct nl_msg *msg, void *arg) argument
47 int *ret = arg;
52 static int dhd_nl_ack_handler(struct nl_msg *msg, void *arg) argument
54 int *ret = arg;
59 static int dhd_nl_valid_handler(struct nl_msg *msg, void *arg) argument
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/
H A Dvariance_impl_ssse3.asm47 movsxd rax, dword ptr arg(5) ; xoffset
55 movsxd rdx, dword ptr arg(6) ; yoffset
63 mov rsi, arg(0) ;ref_ptr
64 mov rdi, arg(2) ;src_ptr
65 movsxd rcx, dword ptr arg(4) ;Height
84 add rsi, dword ptr arg(1) ;ref_pixels_per_line
86 movsxd r8, dword ptr arg(1) ;ref_pixels_per_line
87 movsxd r9, dword ptr arg(3) ;src_pixels_per_line
137 add rsi, dword ptr arg(1) ;ref_pixels_per_line
138 add rdi, dword ptr arg(
[all...]
H A Dsad_sse2.asm29 mov rsi, arg(0) ;src_ptr
30 mov rdi, arg(2) ;ref_ptr
32 movsxd rax, dword ptr arg(1) ;src_stride
33 movsxd rdx, dword ptr arg(3) ;ref_stride
103 mov rsi, arg(0) ;src_ptr
104 mov rdi, arg(2) ;ref_ptr
106 movsxd rbx, dword ptr arg(1) ;src_stride
107 movsxd rdx, dword ptr arg(3) ;ref_stride
117 cmp eax, arg(4)
166 mov rsi, arg(
[all...]
H A Dsad_sse4.asm173 mov rsi, arg(0) ;src_ptr
174 mov rdi, arg(2) ;ref_ptr
176 movsxd rax, dword ptr arg(1) ;src_stride
177 movsxd rdx, dword ptr arg(3) ;ref_stride
188 mov rdi, arg(4) ;Results
215 mov rsi, arg(0) ;src_ptr
216 mov rdi, arg(2) ;ref_ptr
218 movsxd rax, dword ptr arg(1) ;src_stride
219 movsxd rdx, dword ptr arg(3) ;ref_stride
226 mov rdi, arg(
[all...]
/hardware/intel/img/hwcomposer/ips/tangier/
H A DTngGrallocBufferMapper.cpp62 struct psb_gtt_mapping_arg arg; local
72 arg.type = PSB_GTT_MAP_TYPE_VIRTUAL;
73 arg.page_align = gttAlign;
74 arg.vaddr = (uint32_t)vaddr;
75 arg.size = size;
78 ret = drm->writeReadIoctl(DRM_PSB_GTT_MAP, &arg, sizeof(arg));
84 VLOGTRACE("offset = %#x", arg.offset_pages);
85 *offset = arg.offset_pages;
91 struct psb_gtt_mapping_arg arg; local
[all...]
/hardware/ti/omap3/omx/system/src/openmax_il/lcml/src/
H A DLCML_DspCodec.c122 void* MessagingThread(void *arg);
318 OMX_PRDSP1 (((LCML_CODEC_INTERFACE *)hInt)->dbg, "%d :: CR PH arg[%d] = %d \n",__LINE__, i, crData.cData[i]);
635 OMX_PRINT2 (((LCML_CODEC_INTERFACE *)hInt)->dbg, "%d :: CR PH arg[%d] = %d \n",__LINE__,i,crData.cData[i]);
1426 OMX_PRINT2 (((LCML_CODEC_INTERFACE *)hComponent)->dbg, "STRMControl: arg[0]: message = %x\n",(int)args[0]);
1427 OMX_PRINT2 (((LCML_CODEC_INTERFACE *)hComponent)->dbg, "STRMControl: arg[1]: address = %p\n",args[1]);
1428 OMX_PRINT2 (((LCML_CODEC_INTERFACE *)hComponent)->dbg, "STRMControl: arg[2]: size = %d\n",(int)args[2]);
1689 * @param[in] arg Unused - Required by pthreads API
1693 void* MessagingThread(void* arg) argument
1711 OMX_PRINT1 (((LCML_CODEC_INTERFACE *)((LCML_DSP_INTERFACE *)arg)->pCodecinterfacehandle)->dbg, "Inside the Messaging thread\n");
1713 ((LCML_DSP_INTERFACE *)arg)
[all...]
/hardware/intel/img/libdrm/
H A Ddepcomp79 # HP compiler uses -M and no extra arg.
99 for arg
101 case $arg in
102 -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
103 *) set fnord "$@" "$arg" ;;
106 shift # $arg
410 for arg
412 case $arg in
420 set fnord "$@" "$arg"
422 shift # $arg
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
H A Dencode_test_driver.h119 void Control(int ctrl_id, int arg) { argument
120 const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg);
124 void Control(int ctrl_id, struct vpx_scaling_mode *arg) { argument
125 const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg);
129 void Control(int ctrl_id, struct vpx_svc_layer_id *arg) { argument
130 const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg);
135 void Control(int ctrl_id, vpx_active_map_t *arg) { argument
136 const vpx_codec_err_t res = vpx_codec_control_(&encoder_, ctrl_id, arg);
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/
H A DOMX_Debug.h69 #define OMX_INFOPRINT(handle, str,arg...) (OMX_LOG_PRINT(OMX_MASK_INFO | (handle), "(INFO) "str, ##arg))
70 #define OMX_WARNPRINT(handle, str,arg...) (OMX_LOG_PRINT(OMX_MASK_WARN | (handle), "(WARN) "str, ##arg))
71 #define OMX_ERRPRINT(handle, str,arg...) (OMX_LOG_PRINT(OMX_MASK_ERROR | (handle), "(ERROR) "str, ##arg))
72 #define OMX_FATALPRINT(handle, str,arg...) (OMX_LOG_PRINT(OMX_MASK_FATAL | (handle), "(FATAL) "str, ##arg))
/hardware/ti/omap4-aah/domx/omx_core/inc/
H A DOMX_Debug.h94 #define OMX_INFOPRINT(handle, str,arg...) (OMX_LOG_PRINT(OMX_MASK_INFO | (handle), "(INFO) "str, ##arg))
95 #define OMX_WARNPRINT(handle, str,arg...) (OMX_LOG_PRINT(OMX_MASK_WARN | (handle), "(WARN) "str, ##arg))
96 #define OMX_ERRPRINT(handle, str,arg...) (OMX_LOG_PRINT(OMX_MASK_ERROR | (handle), "(ERROR) "str, ##arg))
97 #define OMX_FATALPRINT(handle, str,arg...) (OMX_LOG_PRINT(OMX_MASK_FATAL | (handle), "(FATAL) "str, ##arg))
/hardware/ti/omap4-aah/
H A Dstacktrace.c49 static _Unwind_Reason_Code trace_function(__unwind_context *context, void *arg) argument
51 stack_crawl_state_t* state = (stack_crawl_state_t*)arg;
/hardware/ti/omap4xxx/domx/omx_core/inc/
H A DOMX_Debug.h94 #define OMX_INFOPRINT(handle, str,arg...) (OMX_LOG_PRINT(OMX_MASK_INFO | (handle), "(INFO) "str, ##arg))
95 #define OMX_WARNPRINT(handle, str,arg...) (OMX_LOG_PRINT(OMX_MASK_WARN | (handle), "(WARN) "str, ##arg))
96 #define OMX_ERRPRINT(handle, str,arg...) (OMX_LOG_PRINT(OMX_MASK_ERROR | (handle), "(ERROR) "str, ##arg))
97 #define OMX_FATALPRINT(handle, str,arg...) (OMX_LOG_PRINT(OMX_MASK_FATAL | (handle), "(FATAL) "str, ##arg))

Completed in 682 milliseconds

123456789