Open asmaamirkhan opened 3 years ago
Hi there 🙋,
I have two streams and two instances of RGA stream1:
V4L2_PIX_FMT_RGB24
stream2:
Description:
Examples:
// rgaCrop->ops->setSrcCrop(rgaCrop, cropX, cropY, cropW, cropH); rgaCrop->ops->setSrcCrop(rgaCrop, 224, 57, 38, 11); //ok, works fine! rgaCrop->ops->setSrcCrop(rgaCrop, 224, 57, 38, 8); //broken, causes crash
Kernel output for broken example:
[ 6857.941744] rga: Rga sync pid 7344 wait 1 task done timeout [ 6857.941775] rga: interrupt = 700 status = 1 [ 6857.941786] rga2: src : aw = 38 ah = 8 stride = 384 format is 2 [ 6857.941793] rga2: dst : aw = 480 ah = 160 stride = 360 format is 2 [ 6857.941799] rga2: rga2 CMD [ 6857.941807] rga2: 00000000 00028002 000159a0 00027a70 [ 6857.941814] rga2: 00030a70 00000000 00000180 00070025 [ 6857.941822] rga2: 13c60000 0b450000 00000000 00000000 [ 6857.941829] rga2: 00000000 00000000 00000002 00000140 [ 6857.941837] rga2: 00012d40 00017840 00000168 009f01df [ 6857.941844] rga2: 00000000 00000000 0000ff00 ffffffff [ 6857.941851] rga2: 00000007 00000000 00000000 00000101 [ 6858.141737] rga: Rga sync pid 7344 wait 1 task done timeout [ 6858.141763] rga: interrupt = 700 status = 1 [ 6858.141774] rga2: src : aw = 38 ah = 8 stride = 384 format is 2 [ 6858.141782] rga2: dst : aw = 480 ah = 160 stride = 360 format is 2 [ 6858.141788] rga2: rga2 CMD [ 6858.141797] rga2: 00000000 00028002 000159a0 00027a70 [ 6858.141805] rga2: 00030a70 00000000 00000180 00070025 [ 6858.141813] rga2: 13c60000 0b450000 00000000 00000000 [ 6858.141820] rga2: 00000000 00000000 00000002 00000140 [ 6858.141828] rga2: 00012d40 00017840 00000168 009f01df [ 6858.141836] rga2: 00000000 00000000 0000ff00 ffffffff [ 6858.141843] rga2: 00000007 00000000 00000000 00000101 . . .
Are there any constraints about values that can be used for cropping functionality?
Used board: RK1808
Try it -> https://github.com/rockchip-linux/linux-rga
Hi there 🙋,
I have two streams and two instances of RGA stream1:
V4L2_PIX_FMT_RGB24
stream2:
V4L2_PIX_FMT_RGB24
Description:
Examples:
Kernel output for broken example:
Are there any constraints about values that can be used for cropping functionality?