Home | History | Annotate | Download | only in libgscaler

Lines Matching refs:handle

46 static int exynos_gsc_m2m_wait_frame_done(void *handle);
47 static int exynos_gsc_m2m_stop(void *handle);
845 void exynos_gsc_release(void *handle)
847 struct GSC_HANDLE *gsc_handle = (struct GSC_HANDLE *)handle;
849 if (handle == NULL) {
850 ALOGE("%s::handle == NULL() fail", __func__);
994 void *handle)
997 struct GSC_HANDLE *gsc_handle = (struct GSC_HANDLE *)handle;
1001 if (handle == NULL) {
1002 ALOGE("%s::handle == NULL() fail", __func__);
1039 void *handle,
1053 gsc_handle = (struct GSC_HANDLE *)handle;
1055 if (handle == NULL) {
1056 ALOGE("%s::handle == NULL() fail", __func__);
1082 void *handle,
1097 gsc_handle = (struct GSC_HANDLE *)handle;
1099 if (handle == NULL) {
1100 ALOGE("%s::handle == NULL() fail", __func__);
1125 void *handle,
1132 gsc_handle = (struct GSC_HANDLE *)handle;
1134 if (handle == NULL) {
1135 ALOGE("%s::handle == NULL() fail", __func__);
1163 void *handle,
1168 gsc_handle = (struct GSC_HANDLE *)handle;
1172 if (handle == NULL) {
1173 ALOGE("%s::handle == NULL() fail", __func__);
1192 void *handle,
1197 gsc_handle = (struct GSC_HANDLE *)handle;
1202 if (handle == NULL) {
1203 ALOGE("%s::handle == NULL() fail", __func__);
1321 int exynos_gsc_m2m_config(void *handle,
1335 gsc_handle = (struct GSC_HANDLE *)handle;
1380 int exynos_gsc_out_config(void *handle,
1403 gsc_handle = (struct GSC_HANDLE *)handle;
1620 static int exynos_gsc_out_run(void *handle,
1631 gsc_handle = (struct GSC_HANDLE *)handle;
1632 if (handle == NULL) {
1633 ALOGE("%s::handle == NULL() fail", __func__);
1710 int exynos_gsc_out_stop(void *handle)
1720 gsc_handle = (struct GSC_HANDLE *)handle;
1721 if (handle == NULL) {
1722 ALOGE("%s::handle == NULL() fail", __func__);
1752 static int exynos_gsc_m2m_run_core(void *handle)
1758 gsc_handle = (struct GSC_HANDLE *)handle;
1762 if (handle == NULL) {
1763 ALOGE("%s::handle == NULL() fail", __func__);
1800 if (exynos_gsc_m2m_wait_frame_done(handle) < 0) {
1894 exynos_gsc_m2m_stop(handle);
1898 static int exynos_gsc_m2m_wait_frame_done(void *handle)
1902 gsc_handle = (struct GSC_HANDLE *)handle;
1906 if (handle == NULL) {
1907 ALOGE("%s::handle == NULL() fail", __func__);
1937 static int exynos_gsc_m2m_stop(void *handle)
1943 gsc_handle = (struct GSC_HANDLE *)handle;
2024 void *handle)
2028 gsc_handle = (struct GSC_HANDLE *)handle;
2032 if (handle == NULL) {
2033 ALOGE("%s::handle == NULL() fail", __func__);
2044 if (exynos_gsc_m2m_run_core(handle) < 0) {
2049 if (exynos_gsc_m2m_wait_frame_done(handle) < 0) {
2064 if (exynos_gsc_m2m_stop(handle) < 0) {
2084 int exynos_gsc_m2m_run(void *handle,
2088 struct GSC_HANDLE *gsc_handle = handle;
2097 ret = exynos_gsc_set_src_addr(handle, addr, src_img->acquireFenceFd);
2107 ret = exynos_gsc_set_dst_addr(handle, addr, dst_img->acquireFenceFd);
2114 ret = exynos_gsc_m2m_run_core(handle);
2138 int exynos_gsc_config_exclusive(void *handle,
2147 handle;
2148 if (handle == NULL) {
2149 ALOGE("%s::handle == NULL() fail", __func__);
2155 ret = exynos_gsc_m2m_config(handle, src_img, dst_img);
2158 ret = exynos_gsc_out_config(handle, src_img, dst_img);
2173 int exynos_gsc_run_exclusive(void *handle,
2182 gsc_handle = (struct GSC_HANDLE *)handle;
2183 if (handle == NULL) {
2184 ALOGE("%s::handle == NULL() fail", __func__);
2190 ret = exynos_gsc_m2m_run(handle, src_img, dst_img);
2193 ret = exynos_gsc_out_run(handle, src_img);
2207 int exynos_gsc_wait_frame_done_exclusive(void *handle)
2211 gsc_handle = (struct GSC_HANDLE *)handle;
2215 if (handle == NULL) {
2216 ALOGE("%s::handle == NULL() fail", __func__);
2221 ret = exynos_gsc_m2m_wait_frame_done(handle);
2228 int exynos_gsc_stop_exclusive(void *handle)
2232 gsc_handle = (struct GSC_HANDLE *)handle;
2236 if (handle == NULL) {
2237 ALOGE("%s::handle == NULL() fail", __func__);
2243 ret = exynos_gsc_m2m_stop(handle);
2246 ret = exynos_gsc_out_stop(handle);
2261 void *handle,
2266 gsc_handle = (struct GSC_HANDLE *)handle;
2270 if (handle == NULL) {
2271 ALOGE("%s::handle == NULL() fail", __func__);
2297 void *handle,
2301 gsc_handle = (struct GSC_HANDLE *)handle;
2305 if (handle == NULL) {
2306 ALOGE("%s::handle == NULL() fail", __func__);