Linux Sound subsystem development
 help / color / mirror / Atom feed
* mpeg2 support in kernel?
@ 1999-02-10  7:11 Britton
  1999-02-10 12:23 ` Erik de Castro Lopo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Britton @ 1999-02-10  7:11 UTC (permalink / raw)
  To: linux-sound


I see the following snipet of code in the O'Reilly Linux Multimedia Guide:

if (formats & AFMT_MPEG) {
  printf("  MPEG 2");
  (deffmt = AFMT_MPEG) ? printf(" (default)\n") : printf("\n");
}

Is there something you can compile into the kernel that will let the "dsp"
produce mpeg 2 encoded stuff?  If so I'd love to know about it.

__
GNU GPL: "The Source will be with you... always."

Britton Kerin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mpeg2 support in kernel?
  1999-02-10  7:11 mpeg2 support in kernel? Britton
@ 1999-02-10 12:23 ` Erik de Castro Lopo
  1999-02-10 12:37 ` Hannu Savolainen
  1999-02-10 17:20 ` Britton
  2 siblings, 0 replies; 4+ messages in thread
From: Erik de Castro Lopo @ 1999-02-10 12:23 UTC (permalink / raw)
  To: linux-sound

Britton wrote:
> 
> I see the following snipet of code in the O'Reilly Linux Multimedia Guide:
> 
> if (formats & AFMT_MPEG) {
>   printf("  MPEG 2");
>   (deffmt = AFMT_MPEG) ? printf(" (default)\n") : printf("\n");
> }
> 
> Is there something you can compile into the kernel that will let the "dsp"
> produce mpeg 2 encoded stuff?  If so I'd love to know about it.

MPEG encoding/decoding does not belong in the kernel but in a 
user space program or library. The libary option is probably
best.

Erik
-- 
+-------------------------------------------------+
     Erik de Castro Lopo     erikd@zip.com.au
+-------------------------------------------------+
"We all know Linux is great...it does infinite loops in 5 
seconds." -- Linus Torvalds

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mpeg2 support in kernel?
  1999-02-10  7:11 mpeg2 support in kernel? Britton
  1999-02-10 12:23 ` Erik de Castro Lopo
@ 1999-02-10 12:37 ` Hannu Savolainen
  1999-02-10 17:20 ` Britton
  2 siblings, 0 replies; 4+ messages in thread
From: Hannu Savolainen @ 1999-02-10 12:37 UTC (permalink / raw)
  To: linux-sound

On Wed, 10 Feb 1999, Erik de Castro Lopo wrote:

> MPEG encoding/decoding does not belong in the kernel but in a 
> user space program or library. The libary option is probably
> best.
True. The sample format option is there just for (future) devices that
support MPEG encoding/decoding in hardware.

Best regards,

Hannu
-----
Hannu Savolainen (hannu@opensound.com)
http://www.opensound.com (Open Sound System (OSS))
http://www.opensound.com/ossfree (OSS/Free)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mpeg2 support in kernel?
  1999-02-10  7:11 mpeg2 support in kernel? Britton
  1999-02-10 12:23 ` Erik de Castro Lopo
  1999-02-10 12:37 ` Hannu Savolainen
@ 1999-02-10 17:20 ` Britton
  2 siblings, 0 replies; 4+ messages in thread
From: Britton @ 1999-02-10 17:20 UTC (permalink / raw)
  To: linux-sound


On Wed, 10 Feb 1999, Erik de Castro Lopo wrote:

> Britton wrote:
> > 
> > I see the following snipet of code in the O'Reilly Linux Multimedia Guide:
> > 
> > if (formats & AFMT_MPEG) {
> >   printf("  MPEG 2");
> >   (deffmt = AFMT_MPEG) ? printf(" (default)\n") : printf("\n");
> > }
> > 
> > Is there something you can compile into the kernel that will let the "dsp"
> > produce mpeg 2 encoded stuff?  If so I'd love to know about it.
> 
> MPEG encoding/decoding does not belong in the kernel but in a 
> user space program or library. The libary option is probably
> best.

That's what I'd have thought.  So the above snipet of code is testing for
that support in one of the included files?


Britton Kerin

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-02-10 17:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-10  7:11 mpeg2 support in kernel? Britton
1999-02-10 12:23 ` Erik de Castro Lopo
1999-02-10 12:37 ` Hannu Savolainen
1999-02-10 17:20 ` Britton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox