Browse Source

dsputil: Move ff_svq3 function declarations to a separate header

tags/n1.2
Diego Biurrun 12 years ago
parent
commit
75d5156ac1
4 changed files with 29 additions and 3 deletions
  1. +0
    -3
      libavcodec/dsputil.h
  2. +1
    -0
      libavcodec/h264.c
  3. +1
    -0
      libavcodec/svq3.c
  4. +27
    -0
      libavcodec/svq3.h

+ 0
- 3
libavcodec/dsputil.h View File

@@ -50,9 +50,6 @@ void ff_fdct_mmx(int16_t *block);
void ff_fdct_mmxext(int16_t *block);
void ff_fdct_sse2(int16_t *block);

void ff_svq3_luma_dc_dequant_idct_c(int16_t *output, int16_t *input, int qp);
void ff_svq3_add_idct_c(uint8_t *dst, int16_t *block, int stride, int qp, int dc);

/* encoding scans */
extern const uint8_t ff_alternate_horizontal_scan[64];
extern const uint8_t ff_alternate_vertical_scan[64];


+ 1
- 0
libavcodec/h264.c View File

@@ -39,6 +39,7 @@
#include "golomb.h"
#include "mathops.h"
#include "rectangle.h"
#include "svq3.h"
#include "thread.h"
#include "vdpau_internal.h"
#include "libavutil/avassert.h"


+ 1
- 0
libavcodec/svq3.c View File

@@ -57,6 +57,7 @@
#endif

#include "svq1.h"
#include "svq3.h"

/**
* @file


+ 27
- 0
libavcodec/svq3.h View File

@@ -0,0 +1,27 @@
/*
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* Libav is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef AVCODEC_SVQ3_H
#define AVCODEC_SVQ3_H

#include <stdint.h>

void ff_svq3_luma_dc_dequant_idct_c(int16_t *output, int16_t *input, int qp);
void ff_svq3_add_idct_c(uint8_t *dst, int16_t *block, int stride, int qp, int dc);

#endif /* AVCODEC_DSPUTIL_H */

Loading…
Cancel
Save