Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: patched-ffmpeg-mt/libavcodec/asv1.c

Issue 789004: ffmpeg roll of source to mar 9 version... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * ASUS V1/V2 codec 2 * ASUS V1/V2 codec
3 * Copyright (c) 2003 Michael Niedermayer 3 * Copyright (c) 2003 Michael Niedermayer
4 * 4 *
5 * This file is part of FFmpeg. 5 * This file is part of FFmpeg.
6 * 6 *
7 * FFmpeg is free software; you can redistribute it and/or 7 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public 8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version. 10 * version 2.1 of the License, or (at your option) any later version.
(...skipping 30 matching lines...) Expand all
41 DSPContext dsp; 41 DSPContext dsp;
42 AVFrame picture; 42 AVFrame picture;
43 PutBitContext pb; 43 PutBitContext pb;
44 GetBitContext gb; 44 GetBitContext gb;
45 ScanTable scantable; 45 ScanTable scantable;
46 int inv_qscale; 46 int inv_qscale;
47 int mb_width; 47 int mb_width;
48 int mb_height; 48 int mb_height;
49 int mb_width2; 49 int mb_width2;
50 int mb_height2; 50 int mb_height2;
51 DECLARE_ALIGNED_16(DCTELEM, block)[6][64]; 51 DECLARE_ALIGNED(16, DCTELEM, block)[6][64];
52 uint16_t intra_matrix[64]; 52 uint16_t intra_matrix[64];
53 int q_intra_matrix[64]; 53 int q_intra_matrix[64];
54 uint8_t *bitstream_buffer; 54 uint8_t *bitstream_buffer;
55 unsigned int bitstream_buffer_size; 55 unsigned int bitstream_buffer_size;
56 } ASV1Context; 56 } ASV1Context;
57 57
58 static const uint8_t scantab[64]={ 58 static const uint8_t scantab[64]={
59 0x00,0x08,0x01,0x09,0x10,0x18,0x11,0x19, 59 0x00,0x08,0x01,0x09,0x10,0x18,0x11,0x19,
60 0x02,0x0A,0x03,0x0B,0x12,0x1A,0x13,0x1B, 60 0x02,0x0A,0x03,0x0B,0x12,0x1A,0x13,0x1B,
61 0x04,0x0C,0x05,0x0D,0x20,0x28,0x21,0x29, 61 0x04,0x0C,0x05,0x0D,0x20,0x28,0x21,0x29,
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 CODEC_TYPE_VIDEO, 659 CODEC_TYPE_VIDEO,
660 CODEC_ID_ASV2, 660 CODEC_ID_ASV2,
661 sizeof(ASV1Context), 661 sizeof(ASV1Context),
662 encode_init, 662 encode_init,
663 encode_frame, 663 encode_frame,
664 //encode_end, 664 //encode_end,
665 .pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE}, 665 .pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
666 .long_name= NULL_IF_CONFIG_SMALL("ASUS V2"), 666 .long_name= NULL_IF_CONFIG_SMALL("ASUS V2"),
667 }; 667 };
668 #endif 668 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698