| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/sample/ |
| H A D | sample_adebayer_module.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 19 #define INTERP_SAMPLE(x0, x1, ratio) ((ratio) * ((x1) - (x0)) + x0) 26 printf("\t 0) ADEBAYER v1: enable/disable with AUTO mode in sync.\n"); in sample_adebayer_usage() 27 printf("\t 1) ADEBAYER v1: set sharp strength of 250 with AUTO modein sync.\n"); in sample_adebayer_usage() 28 printf("\t 2) ADEBAYER v1: set sharp strength of 0 with AUTO modein sync.\n"); in sample_adebayer_usage() 29 printf("\t 3) ADEBAYER v1: set high freq thresh of 250 with AUTO modein sync.\n"); in sample_adebayer_usage() 30 printf("\t 4) ADEBAYER v1: set high freq thresh of 0 with AUTO mode in sync.\n"); in sample_adebayer_usage() 31 printf("\t 5) ADEBAYER v1: set low freq thresh of 250 with AUTO mode in sync.\n"); in sample_adebayer_usage() 32 printf("\t 6) ADEBAYER v1: set low freq thresh of 0 with AUTO mode in sync.\n"); in sample_adebayer_usage() 35 printf("\t 7) ADEBAYER v1: enable/disable with MANUAL mode in sync.\n"); in sample_adebayer_usage() [all …]
|
| H A D | sample_accm_module.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 24 printf("\t 0) CCM: Set CCM MANUAL Mode.\n"); in sample_accm_usage() 25 printf("\t 1) CCM: Set CCM AUTO Mode.\n"); in sample_accm_usage() 26 printf("\t 2) CCM: Get CCM Mode.\n"); in sample_accm_usage() 29 printf("\t 5) CCM: Get ACCM Sat-level.\n"); in sample_accm_usage() 32 printf("\t a) CCM: Set Ccm Attr & Sync .\n"); in sample_accm_usage() 34 printf("\t c) CCM: Set Mode Manual & Sync.\n"); in sample_accm_usage() 35 printf("\t d) CCM: Set Mode Manual & Async.\n"); in sample_accm_usage() 36 printf("\t e) CCM: Set Mode Auto & Sync.\n"); in sample_accm_usage() 37 printf("\t f) CCM: Set Mode Auto & Async.\n"); in sample_accm_usage() [all …]
|
| H A D | sample_a3dlut_module.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 24 printf("\t 0) 3DLUT: Set 3DLUT MANUAL Mode.\n"); in sample_a3dlut_usage() 25 printf("\t 1) 3DLUT: Set 3DLUT AUTO Mode.\n"); in sample_a3dlut_usage() 26 printf("\t 2) 3DLUT: Get 3DLUT Mode.\n"); in sample_a3dlut_usage() 32 printf("\t a) 3DLUT: Set 3dlut Attr & Sync .\n"); in sample_a3dlut_usage() 34 printf("\t c) 3DLUT: Set Mode Manual & Sync.\n"); in sample_a3dlut_usage() 35 printf("\t d) 3DLUT: Set Mode Manual & Async.\n"); in sample_a3dlut_usage() 36 printf("\t e) 3DLUT: Set Mode Auto & Sync.\n"); in sample_a3dlut_usage() 37 printf("\t f) 3DLUT: Set Mode Auto & Async.\n"); in sample_a3dlut_usage() 38 printf("\t g) 3DLUT: Set Manual attr & Sync.\n"); in sample_a3dlut_usage() [all …]
|
| H A D | sample_agamma_module.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 27 printf("\t 0) AGAMMA: test rk_aiq_user_api2_agamma_v10_SetAttrib stManual Sync.\n"); in sample_agamma_usage() 31 printf("\t 4) AGAMMA: test rk_aiq_user_api2_agamma_v11_SetAttrib stManual Sync.\n"); in sample_agamma_usage() 34 printf("\t 7) AGAMMA: test rk_aiq_user_api2_agamma_SetAttrib stManual Sync.\n"); in sample_agamma_usage() 36 printf("\t 9) AGAMMA: test rk_aiq_user_api2_agamma_SetAttrib stFast Sync.\n"); in sample_agamma_usage() 54 int key = -1; in sample_agamma_module() 74 if (demo_ctx->camGroup) { in sample_agamma_module() 75 ctx = (rk_aiq_sys_ctx_t*)(demo_ctx->camgroup_ctx); in sample_agamma_module() 77 ctx = (rk_aiq_sys_ctx_t*)(demo_ctx->aiq_ctx); in sample_agamma_module() 92 printf("\t AGAMMA test rk_aiq_user_api2_agamma_v10_SetAttrib stManual Sync\n\n"); in sample_agamma_module() [all …]
|
| H A D | sample_awb_module.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 54 opMode_t mode; in sample_get_wbmode() local 55 rk_aiq_uapi2_getWBMode(ctx, &mode); in sample_get_wbmode() 56 printf("get WBMode=%d\n\n", mode); in sample_get_wbmode() 148 adjust.sync.sync_mode = RK_AIQ_UAPI_MODE_DEFAULT; in sample_set_awb_gain_adjust() 185 attr.sync.sync_mode = RK_AIQ_UAPI_MODE_DEFAULT; in sample_set_awbv30_atrr() 207 static int sample_awb_awbv21_setAllAttr(const rk_aiq_sys_ctx_t* ctx, rk_aiq_uapi_mode_sync_e sync) in sample_awb_awbv21_setAllAttr() argument 214 attr.sync.sync_mode = sync; in sample_awb_awbv21_setAllAttr() 229 printf("\t sync = %d, done = %d\n", attr.sync.sync_mode, attr.sync.done); in sample_awb_awbv21_getAllAttr() 231 printf("\t mode = %s\n", (attr.mode > 0 ? "auto" : "manual")); in sample_awb_awbv21_getAllAttr() [all …]
|
| H A D | sample_aie_module.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 24 printf("\t a) AIE: Set effect mode.\n"); in sample_aie_usage() 25 printf("\t b) AIE: Get effect mode.\n"); in sample_aie_usage() 27 printf("\t 1) AIE: Set effect mode & Async .\n"); in sample_aie_usage() 28 printf("\t 2) AIE: Set effect mode & Sync .\n"); in sample_aie_usage() 30 printf("\t 4) AIE: Get attrib & Sync .\n"); in sample_aie_usage() 54 static int sample_aie_set_mode(const rk_aiq_sys_ctx_t* ctx, int mode, in sample_aie_set_mode() argument 55 rk_aiq_uapi_mode_sync_e sync) in sample_aie_set_mode() argument 64 attr.sync.sync_mode = sync; in sample_aie_set_mode() 65 attr.mode = (rk_aiq_ie_effect_t)mode; in sample_aie_set_mode() [all …]
|
| H A D | sample_again_module.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 23 printf("\t 0) AGAIN: get again attri on sync mode.\n"); in sample_again_usage() 24 printf("\t 1) AGAIN: set again attri auto on sync mode.\n"); in sample_again_usage() 25 printf("\t 2) AGAIN: set again attri manual on sync mode.\n"); in sample_again_usage() 26 printf("\t 3) AGAIN: set again attri to default vaule on sync mode.\n"); in sample_again_usage() 27 printf("\t 4) AGAIN: get again attri on async mode.\n"); in sample_again_usage() 28 printf("\t 5) AGAIN: set again attri auto on async mode.\n"); in sample_again_usage() 29 printf("\t 6) AGAIN: set again attri manual on async mode.\n"); in sample_again_usage() 30 printf("\t 7) AGAIN: set again attri to default vaule on async mode.\n"); in sample_again_usage() 45 gainV2_attr.sync.sync_mode = sync_mode; in sample_again_getAttr_v2() [all …]
|
| H A D | sample_acnr_module.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 23 printf("\t 0) ACNR: get acnr attri on sync mode.\n"); in sample_acnr_usage() 24 printf("\t 1) ACNR: get acnr strength on sync mode.\n"); in sample_acnr_usage() 25 printf("\t 2) ACNR: set acnr attri auto on sync mode.\n"); in sample_acnr_usage() 26 printf("\t 3) ACNR: set acnr attri manual on sync mode.\n"); in sample_acnr_usage() 27 printf("\t 4) ACNR: set acnr attri reg value on sync mode.\n"); in sample_acnr_usage() 28 …printf("\t 5) ACNR: set acnr strength max value 1.0 on sync mode, only on auto mode has ef… in sample_acnr_usage() 29 …printf("\t 6) ACNR: set acnr strength min value 0.0 on sync mode, only on auto mode has ef… in sample_acnr_usage() 30 …printf("\t 7) ACNR: set acnr strength med value 0.5 on sync mode, only on auto mode has ef… in sample_acnr_usage() 31 printf("\t 8) ACNR: set acnr attri to default vaule on sync mode.\n"); in sample_acnr_usage() [all …]
|
| H A D | sample_ablc_module.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 23 printf("\t 0) ABLC: get ablc attri on sync mode.\n"); in sample_ablc_usage() 24 printf("\t 1) ABLC: set ablc attri auto on sync mode.\n"); in sample_ablc_usage() 25 printf("\t 2) ABLC: set ablc attri manual on sync mode.\n"); in sample_ablc_usage() 26 printf("\t 3) ABLC: set ablc attri to default value on sync mode.\n"); in sample_ablc_usage() 27 printf("\t 4) ABLC: get ablc attri on async mode.\n"); in sample_ablc_usage() 28 printf("\t 5) ABLC: set ablc attri auto on async mode.\n"); in sample_ablc_usage() 29 printf("\t 6) ABLC: set ablc attri manual on async mode.\n"); in sample_ablc_usage() 30 printf("\t 7) ABLC: set ablc attri to default value on async mode.\n"); in sample_ablc_usage() 45 blc_attr.sync.sync_mode = sync_mode; in sample_ablc_getAttr() [all …]
|
| H A D | sample_acp_module.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 25 printf("\t 2) ACP: Set brightness & Sync .\n"); in sample_acp_usage() 27 printf("\t 4) ACP: Set contrast & Sync .\n"); in sample_acp_usage() 29 printf("\t 6) ACP: Set saturation & Sync.\n"); in sample_acp_usage() 31 printf("\t 8) ACP: Set hue & Sync.\n"); in sample_acp_usage() 33 printf("\t a) ACP: Get acp attrib & Sync.\n"); in sample_acp_usage() 127 rk_aiq_uapi_mode_sync_e sync) in sample_acp_set_brightness() argument 136 attr.sync.sync_mode = sync; in sample_acp_set_brightness() 142 printf("set acp brightness: %d, done: %d\n\n", brightness, attr.sync.done); in sample_acp_set_brightness() 148 rk_aiq_uapi_mode_sync_e sync) in sample_acp_set_contrast() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/sti/ |
| H A D | sti_vtg.c | 1 // SPDX-License-Identifier: GPL-2.0 74 #define AWG_DELAY_HD (-9) 75 #define AWG_DELAY_ED (-8) 76 #define AWG_DELAY_SD (-7) 156 writel(1, vtg->regs + VTG_DRST_AUTOC); in vtg_reset() 160 const struct drm_display_mode *mode) in vtg_set_output_window() argument 166 u32 xstart = sti_vtg_get_pixel_number(*mode, 0); in vtg_set_output_window() 167 u32 ystart = sti_vtg_get_line_number(*mode, 0); in vtg_set_output_window() 168 u32 xstop = sti_vtg_get_pixel_number(*mode, mode->hdisplay - 1); in vtg_set_output_window() 169 u32 ystop = sti_vtg_get_line_number(*mode, mode->vdisplay - 1); in vtg_set_output_window() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/rga/ |
| H A D | im2d_single.h | 4 * Cerf Yu <cerf.yu@rock-chips.com> 10 * http://www.apache.org/licenses/LICENSE-2.0 32 * @param sync 33 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. 35 * When 'sync == 0', the fence_fd used to identify the current job state 39 IM_API IM_STATUS imcopy(const rga_buffer_t src, rga_buffer_t dst, int sync = 1, int *release_fence_… 49 * X-direction resize factor. 51 * X-direction resize factor. 54 * @param sync 55 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK3588/include/ |
| H A D | im2d_single.h | 4 * Cerf Yu <cerf.yu@rock-chips.com> 10 * http://www.apache.org/licenses/LICENSE-2.0 32 * @param sync 33 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. 35 * When 'sync == 0', the fence_fd used to identify the current job state 39 IM_API IM_STATUS imcopy(const rga_buffer_t src, rga_buffer_t dst, int sync = 1, int *release_fence_… 49 * X-direction resize factor. 51 * X-direction resize factor. 54 * @param sync 55 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RK356X/include/ |
| H A D | im2d_single.h | 4 * Cerf Yu <cerf.yu@rock-chips.com> 10 * http://www.apache.org/licenses/LICENSE-2.0 32 * @param sync 33 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. 35 * When 'sync == 0', the fence_fd used to identify the current job state 39 IM_API IM_STATUS imcopy(const rga_buffer_t src, rga_buffer_t dst, int sync = 1, int *release_fence_… 49 * X-direction resize factor. 51 * X-direction resize factor. 54 * @param sync 55 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. [all …]
|
| /OK3568_Linux_fs/external/linux-rga/im2d_api/ |
| H A D | im2d_single.h | 4 * Cerf Yu <cerf.yu@rock-chips.com> 10 * http://www.apache.org/licenses/LICENSE-2.0 32 * @param sync 33 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. 35 * When 'sync == 0', the fence_fd used to identify the current job state 39 IM_API IM_STATUS imcopy(const rga_buffer_t src, rga_buffer_t dst, int sync = 1, int *release_fence_… 49 * X-direction resize factor. 51 * X-direction resize factor. 54 * @param sync 55 * When 'sync == 1', wait for the operation to complete and return, otherwise return directly. [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/fb/ |
| H A D | viafb.modes | 10 # 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) 15 # Sync Width 3.813 us 0.064 ms 28 mode "640x480-60" 31 timings 39722 48 16 33 10 96 2 endmode mode "480x640-60" 35 # 640x480, 75 Hz, Non-Interlaced (31.50 MHz dotclock) 40 # Sync Width 2.032 us 0.080 ms 52 mode "640x480-75" 56 # 640x480, 85 Hz, Non-Interlaced (36.000 MHz dotclock) 61 # Sync Width 1.556 us 0.069 ms 73 mode "640x480-85" [all …]
|
| /OK3568_Linux_fs/kernel/include/drm/ |
| H A D | drm_modes.h | 3 * Copyright © 2007-2008 Dave Airlie 4 * Copyright © 2007-2008 Intel Corporation 46 * enum drm_mode_status - hardware support status of a mode 47 * @MODE_OK: Mode OK 50 * @MODE_H_ILLEGAL: mode has illegal horizontal timings 51 * @MODE_V_ILLEGAL: mode has illegal vertical timings 53 * @MODE_NOMODE: no mode with a matching name 54 * @MODE_NO_INTERLACE: interlaced mode not supported 55 * @MODE_NO_DBLESCAN: doublescan mode not supported 56 * @MODE_NO_VSCAN: multiscan mode not supported [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/rga/RV110X/include/ |
| H A D | im2d.hpp | 4 * PutinLee <putin.lee@rock-chips.com> 5 * Cerf Yu <cerf.yu@rock-chips.com> 11 * http://www.apache.org/licenses/LICENSE-2.0 96 * @param sync 102 …ga_buffer_t dst, double fx = 0, double fy = 0, int interpolation = 0, int sync = 1, int *release_f… 110 * @param sync 116 IM_API IM_STATUS imcrop(const rga_buffer_t src, rga_buffer_t dst, im_rect rect, int sync = 1, int *… 127 * @param sync 133 IM_API IM_STATUS imrotate(const rga_buffer_t src, rga_buffer_t dst, int rotation, int sync = 1, int… 140 * @param mode [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/uAPI2/ |
| H A D | rk_aiq_user_api2_agamma.cpp | 2 * Copyright (c) 2019-2022 Rockchip Eletronics Co., Ltd. 8 * http://www.apache.org/licenses/LICENSE-2.0 34 attr_v10.sync.done = attr.sync.done; in rk_aiq_user_api2_agamma_SetAttrib() 35 attr_v10.sync.sync_mode = attr.sync.sync_mode; in rk_aiq_user_api2_agamma_SetAttrib() 36 if (attr.atrrV21.mode == GAMMA_MODE_OFF) in rk_aiq_user_api2_agamma_SetAttrib() 37 attr_v10.mode = RK_AIQ_GAMMA_MODE_AUTO; in rk_aiq_user_api2_agamma_SetAttrib() 38 else if (attr.atrrV21.mode == GAMMA_MODE_MANUAL || attr.atrrV21.mode == GAMMA_MODE_FAST) in rk_aiq_user_api2_agamma_SetAttrib() 39 attr_v10.mode = RK_AIQ_GAMMA_MODE_MANUAL; in rk_aiq_user_api2_agamma_SetAttrib() 47 if (attr.atrrV21.mode == GAMMA_MODE_FAST) { in rk_aiq_user_api2_agamma_SetAttrib() 69 attr_v11.sync.done = attr.sync.done; in rk_aiq_user_api2_agamma_SetAttrib() [all …]
|
| H A D | rk_aiq_user_api2_imgproc.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 43 * Desc: set ae mode 45 * mode contains: auto & manual 75 opMode_t mode in rk_aiq_uapi2_setExpMode() argument 88 if (mode == OP_AUTO) { in rk_aiq_uapi2_setExpMode() 90 } else if (mode == OP_MANUAL) { in rk_aiq_uapi2_setExpMode() 102 RKAIQ_IMGPROC_CHECK_RET(ret, "mode is not supported!"); in rk_aiq_uapi2_setExpMode() 113 opMode_t *mode in rk_aiq_uapi2_getExpMode() argument 118 if ((ctx == NULL) || (mode == NULL)) { in rk_aiq_uapi2_getExpMode() 125 *mode = OP_AUTO; in rk_aiq_uapi2_getExpMode() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/arm64/mte/ |
| H A D | check_mmap_options.c | 1 // SPDX-License-Identifier: GPL-2.0 29 1, 537, 989, 1269, MT_GRANULE_SIZE - 1, MT_GRANULE_SIZE, 30 /* page size - 1*/ 0, /* page_size */ 0, /* page size + 1 */ 0 33 static int check_mte_memory(char *ptr, int size, int mode, int tag_check) in check_mte_memory() argument 35 mte_initialize_current_context(mode, (uintptr_t)ptr, size); in check_mte_memory() 41 mte_initialize_current_context(mode, (uintptr_t)ptr, -UNDERFLOW); in check_mte_memory() 42 memset(ptr - UNDERFLOW, '2', UNDERFLOW); in check_mte_memory() 49 mte_initialize_current_context(mode, (uintptr_t)ptr, size + OVERFLOW); in check_mte_memory() 60 static int check_anonymous_memory_mapping(int mem_type, int mode, int mapping, int tag_check) in check_anonymous_memory_mapping() argument 67 mte_switch_mode(mode, MTE_ALLOW_NON_ZERO_TAG); in check_anonymous_memory_mapping() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | cpu_setup_ppc970.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 #include <asm/asm-offsets.h> 15 /* Do nothing if not running in HV mode */ 28 sync 31 sync 34 sync 37 sync 41 li r3,0x1200 /* enable i-fetch cacheability */ 50 sync 71 /* Do nothing if not running in HV mode */ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | qcom,q6afe.txt | 7 - compatible: 10 Definition: must be "qcom,q6afe-v<MAJOR-NUMBER>.<MINOR-NUMBER>" 20 - compatible: 23 Definition: must be "qcom,q6afe-dais" 25 - #sound-dai-cells 30 - #address-cells 35 - #size-cells 43 - reg 48 - qcom,sd-lines 50 Value type: <prop-encoded-array> [all …]
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/video/ |
| H A D | exynos-dp.txt | 6 compatible: should be "samsung,exynos5-dp" 10 samsung,h-res: X resolution of the panel 11 samsung,h-sync-width: hsync value 12 samsung,h-back-porch: left margin 13 samsung,h-front-porch right margin 14 samsung,v-res: Y resolution of the panel 15 samsung,v-sync-width: vsync value 16 samsung,v-back-porch: upper margin 17 samsung,v-front-porch: lower margin 18 samsung,v-sync-rate: refresh rate [all …]
|
| /OK3568_Linux_fs/external/linux-rga/im2d_api/src/ |
| H A D | im2d.cpp | 4 * PutinLee <putin.lee@rock-chips.com> 5 * Cerf Yu <cerf.yu@rock-chips.com> 11 * http://www.apache.org/licenses/LICENSE-2.0 228 int fd = -1; in importbuffer_GraphicBuffer_handle() 238 return -1; in importbuffer_GraphicBuffer_handle() 253 return -1; in importbuffer_GraphicBuffer_handle() 263 return importbuffer_GraphicBuffer_handle(buf->handle); in importbuffer_GraphicBuffer() 319 ret = rkRga.RkRgaGetBufferFd(buf->handle, &buffer.fd); in wrapbuffer_GraphicBuffer() 321 IM_LOGE("rga_im2d: get buffer fd fail: %s, hnd=%p", strerror(errno), (void*)(buf->handle)); in wrapbuffer_GraphicBuffer() 324 ret = rkRga.RkRgaGetHandleMapCpuAddress(buf->handle, &buffer.vir_addr); in wrapbuffer_GraphicBuffer() [all …]
|