Lines Matching refs:handle
245 static CScalerNonStream *GetNonStreamScaler(void *handle) in GetNonStreamScaler() argument
247 if (handle == NULL) { in GetNonStreamScaler()
252 CScalerNonStream *sc = reinterpret_cast<CScalerNonStream *>(handle); in GetNonStreamScaler()
254 SC_LOGE("Invalid Scaler handle %p", handle); in GetNonStreamScaler()
279 int exynos_sc_destroy(void *handle) in exynos_sc_destroy() argument
283 CScalerNonStream *sc = GetNonStreamScaler(handle); in exynos_sc_destroy()
288 SC_LOGE("Failed to stop Scaler (handle %p)", handle); in exynos_sc_destroy()
298 void *handle, in exynos_sc_set_csc_property() argument
304 CScalerNonStream *sc = GetNonStreamScaler(handle); in exynos_sc_set_csc_property()
316 void *handle, in exynos_sc_set_src_format() argument
328 CScalerNonStream *sc = GetNonStreamScaler(handle); in exynos_sc_set_src_format()
343 void *handle, in exynos_sc_set_dst_format() argument
355 CScalerNonStream *sc = GetNonStreamScaler(handle); in exynos_sc_set_dst_format()
373 void *handle, in exynos_sc_set_rotation() argument
378 CScalerNonStream *sc = GetNonStreamScaler(handle); in exynos_sc_set_rotation()
386 void *handle, in exynos_sc_set_framerate() argument
389 CScalerNonStream *sc = GetNonStreamScaler(handle); in exynos_sc_set_framerate()
397 void *handle, in exynos_sc_set_src_addr() argument
402 CScalerNonStream *sc = GetNonStreamScaler(handle); in exynos_sc_set_src_addr()
411 void *handle, in exynos_sc_set_dst_addr() argument
416 CScalerNonStream *sc = GetNonStreamScaler(handle); in exynos_sc_set_dst_addr()
424 int exynos_sc_convert(void *handle) in exynos_sc_convert() argument
426 CScalerNonStream *sc = GetNonStreamScaler(handle); in exynos_sc_convert()
433 static CScalerBlendV4L2 *GetScalerBlend(void *handle) in GetScalerBlend() argument
435 if (handle == NULL) { in GetScalerBlend()
440 CScalerBlendV4L2 *sc = reinterpret_cast<CScalerBlendV4L2 *>(handle); in GetScalerBlend()
442 SC_LOGE("Invalid Scaler handle %p", handle); in GetScalerBlend()
449 static CScalerV4L2 *GetScaler(void *handle) in GetScaler() argument
451 if (handle == NULL) { in GetScaler()
456 CScalerV4L2 *sc = reinterpret_cast<CScalerV4L2 *>(handle); in GetScaler()
458 SC_LOGE("Invalid Scaler handle %p", handle); in GetScaler()
488 int exynos_sc_free_and_close(void *handle) in exynos_sc_free_and_close() argument
490 CScalerV4L2 *sc = GetScaler(handle); in exynos_sc_free_and_close()
496 SC_LOGE("Failed to stop Scaler (handle %p)", handle); in exynos_sc_free_and_close()
505 int exynos_sc_stop_exclusive(void *handle) in exynos_sc_stop_exclusive() argument
507 CScalerV4L2 *sc = GetScaler(handle); in exynos_sc_stop_exclusive()
512 SC_LOGE("Failed to stop Scaler (handle %p)", handle); in exynos_sc_stop_exclusive()
519 int exynos_sc_csc_exclusive(void *handle, in exynos_sc_csc_exclusive() argument
523 CScalerV4L2 *sc = GetScaler(handle); in exynos_sc_csc_exclusive()
534 void *handle, in exynos_sc_config_exclusive() argument
538 CScalerV4L2 *sc = GetScaler(handle); in exynos_sc_config_exclusive()
598 void *handle, in exynos_sc_run_exclusive() argument
602 CScalerV4L2 *sc = GetScaler(handle); in exynos_sc_run_exclusive()
668 void *handle, in exynos_sc_config_blend_exclusive() argument
674 CScalerBlendV4L2 *sc = GetScalerBlend(handle); in exynos_sc_config_blend_exclusive()
758 void *handle) in exynos_sc_wait_frame_done_exclusive() argument
760 CScalerV4L2 *sc = GetScaler(handle); in exynos_sc_wait_frame_done_exclusive()