IMX6 Cropping Issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX6 Cropping Issue

522件の閲覧回数
raoudi82
Contributor I

I am testing using a cropping example of ipu-example.
==========================================
// Input image size and format
task.input.width = 1280;
task.input.height = 1024;
//task.input.format = v4l2_fourcc('R', 'G', 'B', 'P');
task.input.format = v4l2_fourcc('U', 'Y', 'V', 'Y');

task.input.crop.pos.x = 480;
task.input.crop.pos.y = 460;
task.input.crop.w = 246;
task.input.crop.h = 262;

// Output image size and format
task.output.width = 480;
task.output.height = 480;
//task.output.format = v4l2_fourcc('R', 'G', 'B', 'P');
task.output.format = v4l2_fourcc('U', 'Y', 'V', 'Y');

task.output.crop.pos.x = 0;
task.output.crop.pos.y = 0;
task.output.crop.w = 480;
task.output.crop.h = 480;

==========================================

It is OK.
if i set task.input.crop.pos.x from 480 to 481, it  is not work correctly.
The result is the same above settings(pos.x is 480).

For example, increasing the value of pos.x by 4, such as 480, 484, 488, works fine, but increasing by 1 does not work.

how can i this problem?


help me plz.

ラベル(1)
0 件の賞賛
1 返信

481件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Han

seems it is IPU IC Main Processing Memory restriction as

described for example in sect.37.4.5.4 Main Processing Section

i.MX6DQ Reference Manual:

"Each memory word (128 bits) stores 4 adjacent pixels".

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛