Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 #13

Closed
Mrqinw opened this issue Oct 30, 2023 · 6 comments
Closed

1 #13

Mrqinw opened this issue Oct 30, 2023 · 6 comments

Comments

@Mrqinw
Copy link

Mrqinw commented Oct 30, 2023

please tell me what is your version of IAR?

@iliasam
Copy link
Owner

iliasam commented Oct 30, 2023

IAR 7.50

@Mrqinw
Copy link
Author

Mrqinw commented Oct 31, 2023

thank you.Can the video of this project be displayed on rgb lcd directly if i dont't connnect the VGA screen?
i have tried this idea,it don't work

@Mrqinw
Copy link
Author

Mrqinw commented Oct 31, 2023

image

@iliasam
Copy link
Owner

iliasam commented Oct 31, 2023

Sorry, I don't understand your question.
Note that "stm32F4_discovery_project" do not need any display, you cant try it first.

@Mrqinw
Copy link
Author

Mrqinw commented Nov 1, 2023

If I want to display the picture on rgb lcd, what do I need to change?

@iliasam
Copy link
Owner

iliasam commented Nov 1, 2023

See https://github.com/iliasam/STM32_HOST_UVC_Camera/blob/master/HAL_source/stm32F429_project/Src/main.c

//Draw captured image
if (USBH_VIDEO_Target_Format == USBH_VIDEO_YUY2)
{
lcd_draw_yuyv_picture((uint8_t*)uvc_ready_framebuffer_ptr);
}
else
{
mjpeg_decompression_and_draw((uint8_t*)uvc_ready_framebuffer_ptr, uvc_ready_frame_length);
}

And also: https://github.com/iliasam/STM32_HOST_UVC_Camera/blob/master/HAL_source/stm32F429_project/Src/mjpeg_decoding.c#L49
UINT output_func(JDEC* jd, void* bitmap, JRECT* rect) {}

@iliasam iliasam closed this as completed Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants