[MPlayer-dev-eng] Need a guide to implement a codec library using hardware video codec

Lee Kwangwoo kwlee at mtekvision.com
Tue Apr 15 02:50:53 CEST 2008


> -----Original Message-----
> From: mplayer-dev-eng-bounces at mplayerhq.hu [mailto:mplayer-dev-eng-
> bounces at mplayerhq.hu] On Behalf Of Compn
> Sent: Monday, April 14, 2008 9:17 PM
> To: mplayer-dev-eng at mplayerhq.hu
> Subject: Re: [MPlayer-dev-eng] Need a guide to implement a codec
library
> using hardware video codec
> 
> On Mon, 14 Apr 2008 14:04:38 +0900, Lee Kwangwoo wrote:
> >Hello,
> >
> >I'm porting the mplayer with a hardware video codec in a SoC.
> 
> which project is this for?

This project is for my company, which makes ARM based mobile processor
including hardware video codec.

> >It is capable of decoding H.264 and MPEG4. It can also encode frame
> >with such formats.
> >
> >In the libmpcodecs/vd.c you explicitly note a comment - "do not add
any
> >new decoders here" for mpcodes_vd_drivers[]. So if I use the
> >libavcodec/h264.c, should I replace that file with my own decoder
file
> >or add feature to support a hardware decoder with a define macro?
> 
> this just means that any new codecs should go into libavcodec from
> ffmpeg. if you are porting mplayer to a new hardware device, you can
> ignore this warning.

Thank you for your guide.

> >I think that I need to replace the functions, for example -
> >decode_nal_units(), because the hardware decoder requires one frame
> >starting with nal header and output a decoded YUV420 frame.
> >
> >Any comments and guide will be very helpful.
> >Thank you,
> >
> >Kwangwoo Lee
> 
> good luck
> 
> -compn

Thank you.

Kwangwoo Lee



More information about the MPlayer-dev-eng mailing list