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.

TDA4VM: TDA4VM ,mipmap problem of opengl texture

Part Number: TDA4VM
Other Parts Discussed in Thread: TDA4VH,

Hello

TDA4VH
SDK: 8.2.2

Issue:

When TDA4VH is testing texture size 1420 x 2880 (W x H), format RGB565 or RGB888, sampling to a smaller size, such as 960 x 720, the picture will randomly have mosaic errors, there is no such problem on TDA4VM, turn off mipmap The picture is fine.

param detail:

    glGenTextures(1, &m_hTexture);
    glBindTexture(GL_TEXTURE_2Dm_hTexture);
    glTexParameteri(GL_TEXTURE_2DGL_TEXTURE_WRAP_SGL_CLAMP_TO_EDGE);    
    // set texture wrapping to GL_REPEAT (default wrapping method)
    glTexParameteri(GL_TEXTURE_2DGL_TEXTURE_WRAP_TGL_CLAMP_TO_EDGE);
    glTexParameteri(GL_TEXTURE_2DGL_TEXTURE_MIN_FILTERGL_NEAREST);
    glTexParameteri(GL_TEXTURE_2DGL_TEXTURE_MAG_FILTERGL_NEAREST);