This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • Resolved

TDA3MV: How to change issCapture output frame resolution

Expert 1120 points

Replies: 4

Views: 49

Part Number: TDA3MV

Hi,

I would like to change the issCapture output resolution from 1280*800 to another one, how can I do?

I'm using AR0140 to capture images.

Thank you,
Gary

  • Hi Gary,

    I think AR0140 is configured for the highest supported resolution. Could you please check if AR0140 supports higher resolution?

    Rgds,

    Brijesh

  • In reply to Brijesh Jadav:

    Hi Brijesh,

    If I want to resize to e.g. 640*480, how can I do it?

    Thank you,
    Gary

  • In reply to Gary Kuo55:

    Hi Gary,

    You could use ISP to resize to smaller resolution. 

    Or you could crop top-left corner in the capture module.

    Rgds,

    Brijesh

  • In reply to Brijesh Jadav:

    Hello Gary,

    Please refer to AR0140 sensor settings in file ar0140_linear_1280x800_setup.h

    The following lines of code can be changed to set sensor output resolution

        {0x3004, 0x0020, 0x00},     /* X_ADDR_START             */ \
        {0x3002, 0x0018, 0x00},     /* Y_ADDR_START             */ \
        {0x3008, 0x051F, 0x00},     /* X_ADDR_END               */ \
        {0x3006, 0x0337, 0x00},     /* Y_ADDR_END               */ \

    Please make sure that sensor resolution is also changed in the functions IssSensor_AR0140_TIDA_Init and IssSensor_AR0140_Init

        info->width             = 1280;
        info->height            = 800;

    Please also make sure that black line position in the struct aewbConfig_ar0140 is also modified accordingly.

        798U,       /* Black Line Vertical Start */

    This must be equal to (sensor output lines - 2). If you set the sensor output to 640x480, Black Line Vertical Start must be 478.

    Regards,

    Mayank

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.