OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr32372.c] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
typedef struct AVCodecContext
2
{
3
  int flags;
4
  void *priv_data;
5
  char codec_name[32];
6
}
7
AVCodecContext;
8
typedef struct ScanTable
9
{
10
  int obmc;
11
  int umvplus;
12
  int h263_aic;
13
}
14
MpegEncContext;
15
MPV_encode_init (AVCodecContext *avctx)
16
{
17
  MpegEncContext *s = avctx->priv_data;
18
  s->umvplus = (avctx->flags & 0x02000000) ? 1 : 0;
19
  s->h263_aic = (avctx->flags & 0x01000000) ? 1 : 0;
20
  s->h263_aic = s->obmc || s->umvplus;
21
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.