Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 224) sorted by relevance

123456789

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dargs.c28 struct arg arg_init(char **argv) { in arg_init()
29 struct arg a; in arg_init()
39 int arg_match(struct arg *arg_, const struct arg_def *def, char **argv) { in arg_match()
40 struct arg arg; in arg_match() local
45 arg = arg_init(argv); in arg_match()
48 && strlen(arg.argv[0]) == strlen(def->short_name) + 1 in arg_match()
49 && !strcmp(arg.argv[0] + 1, def->short_name)) { in arg_match()
51 arg.name = arg.argv[0] + 1; in arg_match()
52 arg.val = def->has_val ? arg.argv[1] : NULL; in arg_match()
53 arg.argv_step = def->has_val ? 2 : 1; in arg_match()
[all …]
Dargs.h20 struct arg { struct
45 struct arg arg_init(char **argv); argument
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 *arg);
54 int arg_parse_enum_or_int(const struct arg *arg);
Dvpxdec.c501 struct arg arg; in main_loop() local
539 for (argi = argj = argv; (*argj = *argi); argi += arg.argv_step) { in main_loop()
540 memset(&arg, 0, sizeof(arg)); in main_loop()
541 arg.argv_step = 1; in main_loop()
543 if (arg_match(&arg, &codecarg, argi)) { in main_loop()
544 interface = get_vpx_decoder_by_name(arg.val); in main_loop()
546 die("Error: Unrecognized argument (%s) to --codec\n", arg.val); in main_loop()
547 } else if (arg_match(&arg, &looparg, argi)) { in main_loop()
549 } else if (arg_match(&arg, &outputfile, argi)) in main_loop()
550 outfile_pattern = arg.val; in main_loop()
[all …]
Dvpxenc.c656 struct arg arg; in parse_global_config() local
666 for (argi = argj = argv; (*argj = *argi); argi += arg.argv_step) { in parse_global_config()
667 arg.argv_step = 1; in parse_global_config()
669 if (arg_match(&arg, &codecarg, argi)) { in parse_global_config()
670 global->codec = get_vpx_encoder_by_name(arg.val); in parse_global_config()
672 die("Error: Unrecognized argument (%s) to --codec\n", arg.val); in parse_global_config()
673 } else if (arg_match(&arg, &passes, argi)) { in parse_global_config()
674 global->passes = arg_parse_uint(&arg); in parse_global_config()
678 } else if (arg_match(&arg, &pass_arg, argi)) { in parse_global_config()
679 global->pass = arg_parse_uint(&arg); in parse_global_config()
[all …]
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/
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)) { who = arg }
55 else if (gsub("^boundary=","",arg)) { boundary = arg }
56 else if (gsub("^after=", "",arg)) { after = arg }
57 else if (gsub("^debug=", "",arg)) { debug = arg }
58 else if (gsub("^size=", "",arg)) { min = max = (arg) }
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DVsyncControl.cpp50 struct drm_psb_vsync_set_arg arg; in control() local
51 memset(&arg, 0, sizeof(struct drm_psb_vsync_set_arg)); in control()
54 arg.vsync.pipe = disp; in control()
57 arg.vsync_operation_mask = VSYNC_ENABLE; in control()
59 arg.vsync_operation_mask = VSYNC_DISABLE; in control()
62 return drm->writeReadIoctl(DRM_PSB_VSYNC_SET, &arg, sizeof(arg)); in control()
69 struct drm_psb_vsync_set_arg arg; in wait() local
70 memset(&arg, 0, sizeof(struct drm_psb_vsync_set_arg)); in wait()
72 arg.vsync_operation_mask = VSYNC_WAIT; in wait()
75 arg.vsync.pipe = disp; in wait()
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DVsyncControl.cpp50 struct drm_psb_vsync_set_arg arg; in control() local
51 memset(&arg, 0, sizeof(struct drm_psb_vsync_set_arg)); in control()
54 arg.vsync.pipe = disp; in control()
57 arg.vsync_operation_mask = VSYNC_ENABLE; in control()
59 arg.vsync_operation_mask = VSYNC_DISABLE; in control()
62 return drm->writeReadIoctl(DRM_PSB_VSYNC_SET, &arg, sizeof(arg)); in control()
69 struct drm_psb_vsync_set_arg arg; in wait() local
70 memset(&arg, 0, sizeof(struct drm_psb_vsync_set_arg)); in wait()
72 arg.vsync_operation_mask = VSYNC_WAIT; in wait()
75 arg.vsync.pipe = disp; in wait()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Dvp9_spatial_scalable_encoder.c124 struct arg arg = {0}; in parse_command_line() local
160 for (argi = argj = argv; (*argj = *argi); argi += arg.argv_step) { in parse_command_line()
161 arg.argv_step = 1; in parse_command_line()
163 if (arg_match(&arg, &encoding_mode_arg, argi)) { in parse_command_line()
164 svc_ctx->encoding_mode = arg_parse_enum_or_int(&arg); in parse_command_line()
165 } else if (arg_match(&arg, &frames_arg, argi)) { in parse_command_line()
166 app_input->frames_to_code = arg_parse_uint(&arg); in parse_command_line()
167 } else if (arg_match(&arg, &width_arg, argi)) { in parse_command_line()
168 enc_cfg->g_w = arg_parse_uint(&arg); in parse_command_line()
169 } else if (arg_match(&arg, &height_arg, argi)) { in parse_command_line()
[all …]
/hardware/intel/common/libwsbm/src/
Dwsbm_ttmpool.c118 union ttm_pl_create_arg arg; in pool_create() local
134 arg.req.size = size; in pool_create()
135 arg.req.placement = placement; in pool_create()
136 arg.req.page_alignment = alignment / pageSize; in pool_create()
139 arg, ret); in pool_create()
145 dBuf->kBuf.gpuOffset = arg.rep.gpu_offset; in pool_create()
146 dBuf->mapHandle = arg.rep.map_handle; in pool_create()
147 dBuf->realSize = arg.rep.bo_size; in pool_create()
148 dBuf->kBuf.placement = arg.rep.placement; in pool_create()
149 dBuf->kBuf.handle = arg.rep.handle; in pool_create()
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DAnnCursorPlane.cpp170 struct drm_psb_register_rw_arg arg; in enablePlane() local
171 memset(&arg, 0, sizeof(struct drm_psb_register_rw_arg)); in enablePlane()
173 arg.plane_enable_mask = 1; in enablePlane()
175 arg.plane_disable_mask = 1; in enablePlane()
178 arg.plane.type = DC_CURSOR_PLANE; in enablePlane()
179 arg.plane.index = mIndex; in enablePlane()
180 arg.plane.ctx = 0; in enablePlane()
184 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in enablePlane()
197 struct drm_psb_register_rw_arg arg; in isDisabled() local
198 memset(&arg, 0, sizeof(struct drm_psb_register_rw_arg)); in isDisabled()
[all …]
DAnnRGBPlane.cpp201 struct drm_psb_register_rw_arg arg; in enablePlane() local
202 memset(&arg, 0, sizeof(struct drm_psb_register_rw_arg)); in enablePlane()
204 arg.plane_enable_mask = 1; in enablePlane()
206 arg.plane_disable_mask = 1; in enablePlane()
210 arg.plane.type = DC_SPRITE_PLANE; in enablePlane()
212 arg.plane.type = DC_PRIMARY_PLANE; in enablePlane()
214 arg.plane.index = mIndex; in enablePlane()
215 arg.plane.ctx = 0; in enablePlane()
219 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in enablePlane()
232 struct drm_psb_register_rw_arg arg; in isDisabled() local
[all …]
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DAnnCursorPlane.cpp191 struct drm_psb_register_rw_arg arg; in enablePlane() local
192 memset(&arg, 0, sizeof(struct drm_psb_register_rw_arg)); in enablePlane()
194 arg.plane_enable_mask = 1; in enablePlane()
196 arg.plane_disable_mask = 1; in enablePlane()
199 arg.plane.type = DC_CURSOR_PLANE; in enablePlane()
200 arg.plane.index = mIndex; in enablePlane()
201 arg.plane.ctx = 0; in enablePlane()
205 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in enablePlane()
218 struct drm_psb_register_rw_arg arg; in isDisabled() local
219 memset(&arg, 0, sizeof(struct drm_psb_register_rw_arg)); in isDisabled()
[all …]
DAnnRGBPlane.cpp259 struct drm_psb_register_rw_arg arg; in enablePlane() local
260 memset(&arg, 0, sizeof(struct drm_psb_register_rw_arg)); in enablePlane()
262 arg.plane_enable_mask = 1; in enablePlane()
264 arg.plane_disable_mask = 1; in enablePlane()
268 arg.plane.type = DC_SPRITE_PLANE; in enablePlane()
270 arg.plane.type = DC_PRIMARY_PLANE; in enablePlane()
272 arg.plane.index = mIndex; in enablePlane()
273 arg.plane.ctx = 0; in enablePlane()
277 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in enablePlane()
290 struct drm_psb_register_rw_arg arg; in isDisabled() local
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
DTngCursorPlane.cpp188 struct drm_psb_register_rw_arg arg; in enablePlane() local
189 memset(&arg, 0, sizeof(struct drm_psb_register_rw_arg)); in enablePlane()
191 arg.plane_enable_mask = 1; in enablePlane()
193 arg.plane_disable_mask = 1; in enablePlane()
196 arg.plane.type = DC_CURSOR_PLANE; in enablePlane()
197 arg.plane.index = mIndex; in enablePlane()
198 arg.plane.ctx = 0; in enablePlane()
202 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in enablePlane()
215 struct drm_psb_register_rw_arg arg; in isDisabled() local
216 memset(&arg, 0, sizeof(struct drm_psb_register_rw_arg)); in isDisabled()
[all …]
DTngSpritePlane.cpp125 struct drm_psb_register_rw_arg arg; in enablePlane() local
126 memset(&arg, 0, sizeof(struct drm_psb_register_rw_arg)); in enablePlane()
128 arg.plane_enable_mask = 1; in enablePlane()
130 arg.plane_disable_mask = 1; in enablePlane()
132 arg.plane.type = DC_SPRITE_PLANE; in enablePlane()
133 arg.plane.index = mIndex; in enablePlane()
134 arg.plane.ctx = 0; in enablePlane()
138 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in enablePlane()
160 struct drm_psb_register_rw_arg arg; in isDisabled() local
161 memset(&arg, 0, sizeof(struct drm_psb_register_rw_arg)); in isDisabled()
[all …]
DTngGrallocBufferMapper.cpp62 struct psb_gtt_mapping_arg arg; in gttMap() local
72 arg.type = PSB_GTT_MAP_TYPE_VIRTUAL; in gttMap()
73 arg.page_align = gttAlign; in gttMap()
74 arg.vaddr = (unsigned long)vaddr; in gttMap()
75 arg.size = size; in gttMap()
78 ret = drm->writeReadIoctl(DRM_PSB_GTT_MAP, &arg, sizeof(arg)); in gttMap()
84 VTRACE("offset = %#x", arg.offset_pages); in gttMap()
85 *offset = arg.offset_pages; in gttMap()
91 struct psb_gtt_mapping_arg arg; in gttUnmap() local
101 arg.type = PSB_GTT_MAP_TYPE_VIRTUAL; in gttUnmap()
[all …]
DTngPrimaryPlane.cpp76 struct drm_psb_register_rw_arg arg; in enablePlane() local
77 memset(&arg, 0, sizeof(struct drm_psb_register_rw_arg)); in enablePlane()
79 arg.plane_enable_mask = 1; in enablePlane()
81 arg.plane_disable_mask = 1; in enablePlane()
83 arg.plane.type = DC_PRIMARY_PLANE; in enablePlane()
84 arg.plane.index = mIndex; in enablePlane()
85 arg.plane.ctx = 0; in enablePlane()
89 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in enablePlane()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/
DTngGrallocBufferMapper.cpp62 struct psb_gtt_mapping_arg arg; in gttMap() local
72 arg.type = PSB_GTT_MAP_TYPE_VIRTUAL; in gttMap()
73 arg.page_align = gttAlign; in gttMap()
74 arg.vaddr = (uint32_t)vaddr; in gttMap()
75 arg.size = size; in gttMap()
78 ret = drm->writeReadIoctl(DRM_PSB_GTT_MAP, &arg, sizeof(arg)); in gttMap()
84 VLOGTRACE("offset = %#x", arg.offset_pages); in gttMap()
85 *offset = arg.offset_pages; in gttMap()
91 struct psb_gtt_mapping_arg arg; in gttUnmap() local
101 arg.type = PSB_GTT_MAP_TYPE_VIRTUAL; in gttUnmap()
[all …]
/hardware/ti/omap3/omx/system/src/openmax_il/lcml/src/
DLCML_DspCodec.c122 void* MessagingThread(void *arg);
1693 void* MessagingThread(void* arg) in MessagingThread() argument
1711 …OMX_PRINT1 (((LCML_CODEC_INTERFACE *)((LCML_DSP_INTERFACE *)arg)->pCodecinterfacehandle)->dbg, "In… in MessagingThread()
1713 ((LCML_DSP_INTERFACE *)arg)->pPERFcomp = in MessagingThread()
1720 if (((LCML_DSP_INTERFACE *)arg)->ReUseMap) in MessagingThread()
1722 pthread_mutex_lock(&((LCML_DSP_INTERFACE *)arg)->m_isStopped_mutex); in MessagingThread()
1728 if (((LCML_DSP_INTERFACE *)arg)->pshutdownFlag == 1) in MessagingThread()
1730 …OMX_PRINT2 (((LCML_CODEC_INTERFACE *)((LCML_DSP_INTERFACE *)arg)->pCodecinterfacehandle)->dbg, "Br… in MessagingThread()
1743 …status = DSPManager_WaitForEvents(((LCML_DSP_INTERFACE *)arg)->g_aNotificationObjects, 3, &index, … in MessagingThread()
1745 …status = DSPManager_WaitForEvents(((LCML_DSP_INTERFACE *)arg)->g_aNotificationObjects, 1, &index, … in MessagingThread()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/
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(4) ;Results
[all …]
Dvariance_impl_sse2.asm32 mov rax, arg(0) ;[src_ptr]
94 mov rsi, arg(0) ;[src_ptr]
95 mov rdi, arg(2) ;[ref_ptr]
97 movsxd rax, DWORD PTR arg(1) ;[source_stride]
98 movsxd rdx, DWORD PTR arg(3) ;[recon_stride]
199 mov rax, arg(5) ;[Sum]
200 mov rdi, arg(4) ;[SSE]
239 mov rsi, arg(0) ;[src_ptr]
240 mov rdi, arg(2) ;[ref_ptr]
242 movsxd rax, DWORD PTR arg(1) ;[source_stride]
[all …]
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(3) ;src_pixels_per_line
[all …]
Drecon_sse2.asm29 mov rsi, arg(0) ;src;
32 movsxd rax, dword ptr arg(1) ;src_stride;
33 mov rdi, arg(2) ;dst;
38 movsxd rcx, dword ptr arg(3) ;dst_stride
136 mov rdi, arg(2) ;above;
137 mov rsi, arg(3) ;left;
138 movsxd rax, dword ptr arg(4) ;left_stride;
167 movsxd rcx, dword ptr arg(1) ;dst_stride
169 mov rdi, arg(0) ;dst;
209 ;arg(3), arg(4) not used
[all …]
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(0) ;src_ptr
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/x86/
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(3) ;dequant_ptr
[all …]

123456789