Re: real-time process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Jan Hudec" <bulb@ucw.cz>:
> AFAIK, you just have to make them do blocking waiting for the data. When
> it blocks, scheduler will run something else for a timer tick.

The blocking call affects the video streaming. Specially if u r talking of
MPEG
streams, the buffer overflow/underflow will lead to display going crazy.
Best is to follow a non blocking call, and design ur application
accordingly.

(Well,
> you would probably like it to wake up when there are at least n bytes
> available; now that would have to be done in kernel).
> Displaying video does not have to be real-time. It can skip frames if
> something else interferes and delays it too much.

AFAIK Skipping frames is decided by the encoder and decoder not in
the transportation layer ( where data is actually xfered ).

-nagaraj
\(*_*)/


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux