* Supports: PAL8 (RGB 8bpp, paletted)
* : BGR24 (RGB 24bpp) (can also output it as RGB32)
* : RGB32 (RGB 32bpp, 4th plane is probably alpha and it's ignored)
- *
*/
#include <stdio.h>
* filter_coeffs contains coefficients of the right half of the symmetric
* interpolation filter. filter_coeffs[0] should the central (unpaired) coefficient.
* See ff_acelp_interp_filter for an example.
- *
*/
void ff_acelp_interpolate(int16_t* out, const int16_t* in,
const int16_t* filter_coeffs, int precision,
*
* @param[in] ind Array of 5 indexes
* @param[out] isf_q Buffer for isf_q[LP_ORDER]
- *
*/
static void decode_isf_indices_36b(uint16_t *ind, float *isf_q)
{
*
* @param[in] ind Array of 7 indexes
* @param[out] isf_q Buffer for isf_q[LP_ORDER]
- *
*/
static void decode_isf_indices_46b(uint16_t *ind, float *isf_q)
{
*
* @param[in,out] isf_q Current quantized ISF
* @param[in,out] isf_past Past quantized ISF
- *
*/
static void isf_add_mean_and_past(float *isf_q, float *isf_past)
{
* @{
* @}
* @}
- *
*/
/**
#endif
/**
- *
* - encoding: Set by user.
* - decoding: unused
*/
#endif
/**
- *
* Note: Value depends upon the compare function used for fullpel ME.
* - encoding: Set by user.
* - decoding: unused
#define FF_LEVEL_UNKNOWN -99
/**
- *
* - encoding: unused
* - decoding: Set by user.
*/
enum AVDiscard skip_loop_filter;
/**
- *
* - encoding: unused
* - decoding: Set by user.
*/
enum AVDiscard skip_idct;
/**
- *
* - encoding: unused
* - decoding: Set by user.
*/
* @param src Source packet
*
* @return 0 on success AVERROR on failure.
- *
*/
int av_packet_copy_props(AVPacket *dst, const AVPacket *src);
*
* Same behaviour av_fast_malloc but the buffer has additional
* AV_INPUT_PADDING_SIZE at the end which will always memset to 0.
- *
*/
void av_fast_padded_malloc(void *ptr, unsigned int *size, size_t min_size);
};
/**
- *
* @param buf_size size of buf in bits
*/
void ff_init_cabac_decoder(CABACContext *c, const uint8_t *buf, int buf_size){
#endif
/**
- *
* @return the number of bytes read or 0 if no end
*/
static int av_unused get_cabac_terminate(CABACContext *c){
* | 6 | 7 |
* 1 3 |
* ---------
- *
*/
void ff_cavs_filter(AVSContext *h, enum cavs_mb mb_type)
{
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
}
/**
- *
* @return the removed picture or NULL if an error occurs
*/
static H264Picture *remove_short(H264Context *h, int frame_num, int ref_mask)
}
/**
- *
* @return non zero if the loop filter can be skipped
*/
static int fill_filter_caches(const H264Context *h, H264SliceContext *sl, int mb_type)
* A mdct based codec using a 256 points large transform
* divided into 32 bands with some mix of scale factors.
* Only mono is supported.
- *
*/
* http://www.pcisys.net/~melanson/codecs
*
* Supports: BGR24 (RGB 24bpp)
- *
*/
#include <stdio.h>
* http://www.pcisys.net/~melanson/codecs
*
* Supports: BGR24 (RGB 24bpp)
- *
*/
#include <stdio.h>
}
/**
- *
* @param truncate 1 for truncation, 0 for using intra
*/
void ff_fix_long_mvs(MpegEncContext * s, uint8_t *field_select_table, int field_select,
int ff_mpeg4_frame_end(AVCodecContext *avctx, const uint8_t *buf, int buf_size);
/**
- *
* @return the mb_type
*/
int ff_mpeg4_set_direct_mv(MpegEncContext *s, int mx, int my);
* Microsoft Video-1 Decoder by Mike Melanson (melanson@pcisys.net)
* For more information about the MS Video-1 format, visit:
* http://www.pcisys.net/~melanson/codecs/
- *
*/
#include <stdio.h>
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
#define BIAS (0x84) /* Bias for linear code. */
-/*
- * alaw2linear() - Convert an A-law value to 16-bit linear PCM
- *
- */
+/* alaw2linear() - Convert an A-law value to 16-bit linear PCM */
static av_cold int alaw2linear(unsigned char a_val)
{
int t;
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
}
/**
- *
* Called by process_subpacket_11 to process more data from subpacket 11
* with sb 0-8.
* Called by process_subpacket_12 to process data from subpacket 12 with
* G. N. N. Martin Presented in March 1979 to the Video &
* Data Recording Conference,
* IBM UK Scientific Center held in Southampton July 24-27 1979."
- *
*/
#include <string.h>
} RLTable;
/**
- *
* @param static_store static uint8_t array[2][2*MAX_RUN + MAX_LEVEL + 3] which will hold
* the level and run tables, if this is NULL av_malloc() will be used
*/
* @file
* Shorten decoder
* @author Jeff Muizelaar
- *
*/
#include <limits.h>
* then this coded picture is packed with ZLib
*
* Supports: BGR8,BGR555,BGR24 - only BGR8 and BGR555 tested
- *
*/
#include <stdio.h>
/**
* @file
* VC-1 and WMV3 decoder common code
- *
*/
#include "libavutil/attributes.h"
/**
* @file
* VC-1 and WMV3 decoder
- *
*/
#include "libavutil/common.h"
/**
* @file
* VC-1 and WMV3 decoder
- *
*/
#ifndef AVCODEC_VC1DSP_H
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
void ff_formats_unref(AVFilterFormats **ref);
/**
- *
* Before After
* ________ ________
* |formats |<---------. |formats |<---------.
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
* @{
* @}
* @}
- *
*/
#include <time.h>
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
* 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
- *
*/
#include "libavutil/avstring.h"
* @file
*
* Unix socket url_protocol
- *
*/
#include <sys/un.h>
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
#define LEN_PRETTY_GUID 34
/*
- *
* File system routines
- *
*/
#define WTV_SECTOR_BITS 12
}
/*
- *
* Main demuxer
- *
*/
typedef struct WtvStream {
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
}
av_dict_free(&d);
@endcode
- *
*/
#define AV_DICT_MATCH_CASE 1
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
/**
* @file
* pixel format definitions
- *
*/
#include "libavutil/avconfig.h"
/*
- *
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
*
* Audio sample format enumeration and related convenience functions.
* @{
- *
*/
/**
* brgb|rgbr|gbrg|brgb
* 1001 0010 0100 1001
* a67b 89cA BdCD eEFf
- *
*/
static const vector unsigned char
perm_rgb_0 = { 0x00, 0x01, 0x10, 0x02, 0x03, 0x11, 0x04, 0x05,