Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 202) 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/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 …]
Dwsbm_slabpool.c223 wsbmTimeAdd(struct timeval *arg, struct timeval *add) in wsbmTimeAdd() argument
227 arg->tv_sec += add->tv_sec; in wsbmTimeAdd()
228 arg->tv_usec += add->tv_usec; in wsbmTimeAdd()
229 sec = arg->tv_usec / 1000000; in wsbmTimeAdd()
230 arg->tv_sec += sec; in wsbmTimeAdd()
231 arg->tv_usec -= sec * 1000000; in wsbmTimeAdd()
237 struct ttm_pl_reference_req arg; in wsbmFreeKernelBO() local
244 arg.handle = kbo->kBuf.handle; in wsbmFreeKernelBO()
247 slabPool->devOffset + TTM_PL_UNREF, &arg, in wsbmFreeKernelBO()
248 sizeof(arg)); in wsbmFreeKernelBO()
[all …]
/hardware/intel/img/hwcomposer/ips/anniedale/
DAnnCursorPlane.cpp195 struct drm_psb_register_rw_arg arg; in enablePlane() local
196 memset(&arg, 0, sizeof(struct drm_psb_register_rw_arg)); in enablePlane()
198 arg.plane_enable_mask = 1; in enablePlane()
200 arg.plane_disable_mask = 1; in enablePlane()
203 arg.plane.type = DC_CURSOR_PLANE; in enablePlane()
204 arg.plane.index = mIndex; in enablePlane()
205 arg.plane.ctx = 0; in enablePlane()
209 bool ret = drm->writeReadIoctl(DRM_PSB_REGISTER_RW, &arg, sizeof(arg)); in enablePlane()
222 struct drm_psb_register_rw_arg arg; in isDisabled() local
223 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/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/img/hwcomposer/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/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 …]
Dsubpixel_ssse3.asm48 movsxd rdx, DWORD PTR arg(5) ;table index
56 mov rdi, arg(2) ;output_ptr
65 mov rsi, arg(0) ;src_ptr
66 movsxd rax, dword ptr arg(1) ;src_pixels_per_line
67 movsxd rcx, dword ptr arg(4) ;output_height
69 movsxd rdx, dword ptr arg(3) ;output_pitch
123 mov rsi, arg(0) ;src_ptr
125 movsxd rax, dword ptr arg(1) ;src_pixels_per_line
126 movsxd rcx, dword ptr arg(4) ;output_height
128 movsxd rdx, dword ptr arg(3) ;output_pitch
[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 …]
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(4);pred_stride
[all …]
/hardware/intel/img/libdrm/
Ddepcomp99 for arg
101 case $arg in
102 -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
103 *) set fnord "$@" "$arg" ;;
410 for arg
412 case $arg in
420 set fnord "$@" "$arg"
461 for arg in "$@"; do
467 case "$arg" in
469 set fnord "$@" "$arg"; shift ;;
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/
Dvp9_sad_sse4.asm158 mov rdi, arg(4) ;Results
183 mov rsi, arg(0) ;src_ptr
184 mov rdi, arg(2) ;ref_ptr
186 movsxd rax, dword ptr arg(1) ;src_stride
187 movsxd rdx, dword ptr arg(3) ;ref_stride
224 mov rsi, arg(0) ;src_ptr
225 mov rdi, arg(2) ;ref_ptr
227 movsxd rax, dword ptr arg(1) ;src_stride
228 movsxd rdx, dword ptr arg(3) ;ref_stride
261 mov rsi, arg(0) ;src_ptr
[all …]
Dvp9_variance_impl_sse2.asm30 mov rax, arg(0) ;[src_ptr]
92 mov rsi, arg(0) ;[src_ptr]
93 mov rdi, arg(2) ;[ref_ptr]
95 movsxd rax, DWORD PTR arg(1) ;[source_stride]
96 movsxd rdx, DWORD PTR arg(3) ;[recon_stride]
197 mov rax, arg(5) ;[Sum]
198 mov rdi, arg(4) ;[SSE]
237 mov rsi, arg(0) ;[src_ptr]
238 mov rdi, arg(2) ;[ref_ptr]
240 movsxd rax, DWORD PTR arg(1) ;[source_stride]
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/x86/
Dvp9_subpixel_8t_sse2.asm18 mov rdx, arg(5) ;filter ptr
89 mov rdx, arg(5) ;filter ptr
90 mov rsi, arg(0) ;src_ptr
91 mov rdi, arg(2) ;output_ptr
210 mov rsi, arg(0) ;src_ptr
211 mov rdi, arg(2) ;output_ptr
213 movsxd rax, DWORD PTR arg(1) ;pixels_per_line
214 movsxd rbx, DWORD PTR arg(3) ;out_pitch
216 movsxd rcx, DWORD PTR arg(4) ;output_height
281 movsxd rax, DWORD PTR arg(1) ;pixels_per_line
[all …]

123456789