Tool/software: Linux
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.
Tool/software: Linux
yes.
this is exact my question & request.
when i run on linux, while not using gstreamer. i need dce test as reference. to use libdce in my media engine.
appreciate, it's exact what I need.
after went through the code, i had some questions:
1. app (basing on libdce) must open drm device, and gst-plugins-ducati does it in the similar way, right?
I mean to "global_fd = drmOpen("omapdrm", NULL);"
is there any potential security issue?
2. there is no DRI2Authenticate() in display-wayland.c, why?
3. I want to give a quick try by skipping video rendering on a Wayland platform, then I can ignore all wayland operation in display-wayland.c
is it doable?
by the way, it seems there is a mistake in display-wayland.c line 086--093
I think the alignment should be done during omap_bo_new(), not after that, something like:
*pitch = ALIGN2(width*bpp/8, PAGE_SHIFT),
bo = omap_bo_new(disp->dev, pitch*height, bo_flags)
....
otherwise, when video width is much smaller comparing to pitch. bo_data_size/pitch will less than original height. for example:( temp ignore bpp), 176x144 video resolution may create bo with size of 176x144x4; if pitch is 176x8, then we got final height of 144/2)
after another thought, use bpp to calculate pitch also doesn't sound good enough.