[FFmpeg-soc] [soc]: r598 - rv40/rv40.c

Michael Niedermayer michaelni at gmx.at
Fri Aug 3 21:27:26 CEST 2007


Hi

On Fri, Aug 03, 2007 at 07:19:51PM +0200, kostya wrote:
> Author: kostya
> Date: Fri Aug  3 19:19:51 2007
> New Revision: 598
> 
> Log:
> Add block types and a place to store them
> 
> Modified:
>    rv40/rv40.c
> 
> Modified: rv40/rv40.c
> ==============================================================================
> --- rv40/rv40.c	(original)
> +++ rv40/rv40.c	Fri Aug  3 19:19:51 2007
> @@ -36,6 +36,28 @@
>  
>  //#define DEBUG
>  
> +/** Translation of RV40 macroblock types to lavc ones */
> +static const int rv40_mb_type_to_lavc[12] = {
> +    MB_TYPE_INTRA, MB_TYPE_16x16, MB_TYPE_16x16,   MB_TYPE_8x8,
> +    MB_TYPE_16x16, MB_TYPE_16x16, MB_TYPE_SKIP,    MB_TYPE_DIRECT2,
> +    MB_TYPE_16x8,  MB_TYPE_8x16,  MB_TYPE_DIRECT2, MB_TYPE_16x16
> +};
> +
> +/** RV40 Macroblock types */
> +enum RV40BlockTypes{
> +    RV40_MB_TYPE_0,
> +    RV40_MB_TYPE_1,
> +    RV40_MB_P_16x16,
> +    RV40_MB_P_8x8,
> +    RV40_MB_B_FORWARD, //XXX: maybe vice versa
> +    RV40_MB_B_BACKWARD,
> +    RV40_MB_SKIP,
> +    RV40_MB_B_INTERP,
> +    RV40_MB_P_16x8,
> +    RV40_MB_P_8x16,
> +    RV40_MB_B_DIRECT,
> +    RV40_MB_P_1MV, //XXX: unknown
> +};

please use the standard MB_TYPE* from avcodec.h if possible

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20070803/37f7c429/attachment.pgp>


More information about the FFmpeg-soc mailing list