/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ |
H A D | dpxenc.c | 33 static av_cold int encode_init(AVCodecContext *avctx) argument 35 DPXContext *s = avctx->priv_data; 37 avctx->coded_frame = &s->picture; 38 avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; 39 avctx->coded_frame->key_frame = 1; 45 switch (avctx->pix_fmt) { 54 s->bits_per_component = avctx->bits_per_raw_sample ? avctx->bits_per_raw_sample : 16; 57 av_log(avctx, AV_LOG_INFO, "unsupported pixel format\n"); 76 static void encode_rgb48_10bit(AVCodecContext *avctx, cons argument 102 encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data) argument [all...] |
H A D | kgv1dec.c | 32 AVCodecContext *avctx; member in struct:__anon1939 36 static void decode_flush(AVCodecContext *avctx) argument 38 KgvContext * const c = avctx->priv_data; 41 avctx->release_buffer(avctx, &c->prev); 44 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument 48 KgvContext * const c = avctx->priv_data; 61 if (av_image_check_size(w, h, 0, avctx)) 64 if (w != avctx->width || h != avctx 166 decode_init(AVCodecContext *avctx) argument 177 decode_end(AVCodecContext *avctx) argument [all...] |
H A D | s302m.c | 32 static int s302m_parse_frame_header(AVCodecContext *avctx, const uint8_t *buf, argument 39 av_log(avctx, AV_LOG_ERROR, "frame is too short\n"); 58 av_log(avctx, AV_LOG_ERROR, "frame has invalid header\n"); 63 avctx->bits_per_coded_sample = bits; 65 avctx->sample_fmt = AV_SAMPLE_FMT_S32; 67 avctx->sample_fmt = AV_SAMPLE_FMT_S16; 69 avctx->channels = channels; 70 avctx->sample_rate = 48000; 71 avctx->bit_rate = 48000 * avctx 79 s302m_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument 145 s302m_decode_init(AVCodecContext *avctx) argument [all...] |
H A D | utils.c | 289 static int audio_get_buffer(AVCodecContext *avctx, AVFrame *frame) argument 291 AVCodecInternal *avci = avctx->internal; 295 buf_size = av_samples_get_buffer_size(NULL, avctx->channels, 296 frame->nb_samples, avctx->sample_fmt, 322 if (buf->nb_channels != avctx->channels) { 337 if ((ret = avcodec_fill_audio_frame(frame, avctx->channels, 338 avctx->sample_fmt, buf->data[0], 348 buf->nb_channels = avctx->channels; 358 if (avctx->pkt) frame->pkt_pts = avctx 497 avcodec_default_get_buffer(AVCodecContext *avctx, AVFrame *frame) argument 629 avcodec_open(AVCodecContext *avctx, AVCodec *codec) argument 635 avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVDictionary **options) argument 865 avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) argument 979 avcodec_encode_audio(AVCodecContext *avctx, uint8_t *buf, int buf_size, const short *samples) argument 1058 avcodec_encode_video(AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVFrame *pict) argument 1077 avcodec_encode_subtitle(AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVSubtitle *sub) argument 1092 apply_param_change(AVCodecContext *avctx, AVPacket *avpkt) argument 1134 avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, int *got_picture_ptr, AVPacket *avpkt) argument 1172 avcodec_decode_audio3(AVCodecContext *avctx, int16_t *samples, int *frame_size_ptr, AVPacket *avpkt) argument 1218 avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt) argument 1248 avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, AVPacket *avpkt) argument 1282 avcodec_close(AVCodecContext *avctx) argument 1563 avcodec_flush_buffers(AVCodecContext *avctx) argument 1594 audio_free_buffers(AVCodecContext *avctx) argument 1611 avcodec_default_free_buffers(AVCodecContext *avctx) argument 1812 ff_thread_get_buffer(AVCodecContext *avctx, AVFrame *f) argument 1818 ff_thread_release_buffer(AVCodecContext *avctx, AVFrame *f) argument 1823 ff_thread_finish_setup(AVCodecContext *avctx) argument [all...] |
H A D | dpx.c | 52 static int decode_frame(AVCodecContext *avctx, argument 60 DPXContext *const s = avctx->priv_data; 72 av_log(avctx, AV_LOG_ERROR, "Packet too small for DPX header\n"); 86 av_log(avctx, AV_LOG_ERROR, "DPX marker not found\n"); 92 av_log(avctx, AV_LOG_ERROR, "Invalid data start offset\n"); 106 avctx->bits_per_raw_sample = 110 avctx->sample_aspect_ratio.num = read32(&buf, endian); 111 avctx->sample_aspect_ratio.den = read32(&buf, endian); 121 av_log(avctx, AV_LOG_ERROR, "Unsupported descriptor %d\n", descriptor); 128 avctx 219 decode_init(AVCodecContext *avctx) argument 227 decode_end(AVCodecContext *avctx) argument [all...] |
H A D | iff.c | 122 static int ff_cmap_read_palette(AVCodecContext *avctx, uint32_t *pal) argument 126 if (avctx->bits_per_coded_sample > 8) { 127 av_log(avctx, AV_LOG_ERROR, "bit_per_coded_sample > 8 not supported\n"); 131 count = 1 << avctx->bits_per_coded_sample; 133 count = FFMIN(avctx->extradata_size / 3, count); 136 pal[i] = 0xFF000000 | AV_RB24( avctx->extradata + i*3 ); 139 count = 1 << avctx->bits_per_coded_sample; 142 pal[i] = 0xFF000000 | gray2rgb((i * 255) >> avctx->bits_per_coded_sample); 148 static av_cold int decode_init(AVCodecContext *avctx) argument 150 IffContext *s = avctx 248 decode_frame_ilbm(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument 305 decode_frame_byterun1(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument 361 decode_end(AVCodecContext *avctx) argument [all...] |
H A D | eacmv.c | 36 AVCodecContext *avctx; member in struct:CmvContext 44 static av_cold int cmv_decode_init(AVCodecContext *avctx){ argument 45 CmvContext *s = avctx->priv_data; 46 s->avctx = avctx; 47 avctx->pix_fmt = PIX_FMT_PAL8; 55 for (i=0; i < s->avctx->height && buf_end - buf >= s->avctx->width; i++) { 56 memcpy(dst, buf, s->avctx->width); 58 buf += s->avctx 147 cmv_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument 199 cmv_decode_end(AVCodecContext *avctx) argument [all...] |
H A D | vble.c | 34 AVCodecContext *avctx; member in struct:__anon2002 88 AVFrame *pic = ctx->avctx->coded_frame; 113 static int vble_decode_frame(AVCodecContext *avctx, void *data, int *data_size, argument 116 VBLEContext *ctx = avctx->priv_data; 117 AVFrame *pic = avctx->coded_frame; 122 int width_uv = avctx->width / 2, height_uv = avctx->height / 2; 128 avctx->release_buffer(avctx, pic); 131 if (avctx 174 vble_decode_close(AVCodecContext *avctx) argument 188 vble_decode_init(AVCodecContext *avctx) argument [all...] |
H A D | ansi.c | 73 static av_cold int decode_init(AVCodecContext *avctx) argument 75 AnsiContext *s = avctx->priv_data; 76 avctx->pix_fmt = PIX_FMT_PAL8; 84 if (!avctx->width || !avctx->height) 85 avcodec_set_dimensions(avctx, 80<<3, 25<<4); 90 static void hscroll(AVCodecContext *avctx) argument 92 AnsiContext *s = avctx->priv_data; 95 if (s->y < avctx->height - s->font_height) { 101 for (; i < avctx 110 erase_line(AVCodecContext * avctx, int xoffset, int xlength) argument 119 erase_screen(AVCodecContext *avctx) argument 131 draw_char(AVCodecContext *avctx, int c) argument 158 execute_code(AVCodecContext * avctx, int c) argument 311 decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument 417 decode_close(AVCodecContext *avctx) argument [all...] |
H A D | bethsoftvideo.c | 40 static av_cold int bethsoftvid_decode_init(AVCodecContext *avctx) argument 42 BethsoftvidContext *vid = avctx->priv_data; 46 avctx->pix_fmt = PIX_FMT_PAL8; 65 static int bethsoftvid_decode_frame(AVCodecContext *avctx, argument 69 BethsoftvidContext * vid = avctx->priv_data; 73 int remaining = avctx->width; // number of bytes remaining on a line 74 const int wrap_to_next_line = vid->frame.linesize[0] - avctx->width; 78 if (avctx->reget_buffer(avctx, &vid->frame)) { 79 av_log(avctx, AV_LOG_ERRO 131 bethsoftvid_decode_end(AVCodecContext *avctx) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ |
H A D | vble.c | 36 AVCodecContext *avctx; member in struct:__anon3236 115 static int vble_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, argument 118 VBLEContext *ctx = avctx->priv_data; 124 int width_uv = avctx->width / 2, height_uv = avctx->height / 2; 128 av_log(avctx, AV_LOG_ERROR, "Invalid packet size\n"); 133 if ((ret = ff_get_buffer(avctx, pic, 0)) < 0) 144 av_log(avctx, AV_LOG_WARNING, "Unsupported VBLE Version: %d\n", version); 150 av_log(avctx, AV_LOG_ERROR, "Invalid Code\n"); 155 vble_restore_plane(ctx, pic, &gb, 0, offset, avctx 171 vble_decode_close(AVCodecContext *avctx) argument 179 vble_decode_init(AVCodecContext *avctx) argument [all...] |
H A D | xwddec.c | 31 static int xwd_decode_frame(AVCodecContext *avctx, void *data, argument 52 av_log(avctx, AV_LOG_ERROR, "unsupported version\n"); 57 av_log(avctx, AV_LOG_ERROR, "invalid header size\n"); 63 avctx->width = bytestream2_get_be32u(&gb); 64 avctx->height = bytestream2_get_be32u(&gb); 80 av_log(avctx, AV_LOG_DEBUG, 83 av_log(avctx, AV_LOG_DEBUG, 86 av_log(avctx, AV_LOG_DEBUG, 91 av_log(avctx, AV_LOG_ERROR, "invalid pixmap format\n"); 96 av_log(avctx, AV_LOG_ERRO [all...] |
H A D | 8svx.c | 86 static int eightsvx_decode_frame(AVCodecContext *avctx, void *data, argument 89 EightSvxContext *esc = avctx->priv_data; 97 int chan_size = avpkt->size / avctx->channels - hdr_size; 99 if (avpkt->size % avctx->channels) { 100 av_log(avctx, AV_LOG_WARNING, "Packet with odd size, ignoring last byte\n"); 102 if (avpkt->size < (hdr_size + 1) * avctx->channels) { 103 av_log(avctx, AV_LOG_ERROR, "packet size is too small\n"); 108 if (avctx->channels == 2) 115 if (avctx->channels == 2) { 122 if (avctx 154 eightsvx_decode_init(AVCodecContext *avctx) argument 175 eightsvx_decode_close(AVCodecContext *avctx) argument [all...] |
H A D | bmpenc.c | 34 static av_cold int bmp_encode_init(AVCodecContext *avctx){ argument 35 switch (avctx->pix_fmt) { 37 avctx->bits_per_coded_sample = 32; 40 avctx->bits_per_coded_sample = 24; 45 avctx->bits_per_coded_sample = 16; 53 avctx->bits_per_coded_sample = 8; 56 avctx->bits_per_coded_sample = 1; 59 av_log(avctx, AV_LOG_INFO, "unsupported pixel format\n"); 63 avctx->coded_frame = av_frame_alloc(); 64 if (!avctx 70 bmp_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) argument 166 bmp_encode_close(AVCodecContext *avctx) argument [all...] |
H A D | libvpxdec.c | 40 static av_cold int vpx_init(AVCodecContext *avctx, argument 43 VP8Context *ctx = avctx->priv_data; 46 .threads = FFMIN(avctx->thread_count, 16) 49 av_log(avctx, AV_LOG_INFO, "%s\n", vpx_codec_version_str()); 50 av_log(avctx, AV_LOG_VERBOSE, "%s\n", vpx_codec_build_config()); 54 av_log(avctx, AV_LOG_ERROR, "Failed to initialize decoder: %s\n", 59 avctx->pix_fmt = AV_PIX_FMT_YUV420P; 63 static int vp8_decode(AVCodecContext *avctx, argument 66 VP8Context *ctx = avctx->priv_data; 77 av_log(avctx, AV_LOG_ERRO 107 vp8_free(AVCodecContext *avctx) argument 115 vp8_init(AVCodecContext *avctx) argument 134 vp9_init(AVCodecContext *avctx) argument [all...] |
H A D | v210dec.c | 52 static av_cold int decode_init(AVCodecContext *avctx) argument 54 V210DecContext *s = avctx->priv_data; 56 if (avctx->width & 1) { 57 av_log(avctx, AV_LOG_ERROR, "v210 needs even width\n"); 60 avctx->pix_fmt = AV_PIX_FMT_YUV422P10; 61 avctx->bits_per_raw_sample = 10; 71 static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, argument 74 V210DecContext *s = avctx->priv_data; 84 int aligned_width = ((avctx->width + 47) / 48) * 48; 88 if (avpkt->size < stride * avctx [all...] |
H A D | frame_thread_encoder.c | 68 AVCodecContext *avctx = v; local 69 ThreadContext *c = avctx->internal->frame_thread_encoder; 93 ret = avcodec_encode_video2(avctx, pkt, frame, &got_packet); 113 avcodec_close(avctx); 115 av_freep(&avctx); 119 int ff_frame_thread_encoder_init(AVCodecContext *avctx, AVDictionary *options){ argument 124 if( !(avctx->thread_type & FF_THREAD_FRAME) 125 || !(avctx->codec->capabilities & CODEC_CAP_INTRA_ONLY)) 128 if( !avctx->thread_count 129 && avctx 219 ff_frame_thread_encoder_free(AVCodecContext *avctx) argument 241 ff_thread_video_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet_ptr) argument [all...] |
H A D | libfdk-aacenc.c | 92 static int aac_encode_close(AVCodecContext *avctx) argument 94 AACContext *s = avctx->priv_data; 98 av_freep(&avctx->extradata); 104 static av_cold int aac_encode_init(AVCodecContext *avctx) argument 106 AACContext *s = avctx->priv_data; 114 if ((err = aacEncOpen(&s->handle, 0, avctx->channels)) != AACENC_OK) { 115 av_log(avctx, AV_LOG_ERROR, "Unable to open the encoder: %s\n", 120 if (avctx->profile != FF_PROFILE_UNKNOWN) 121 aot = avctx->profile + 1; 124 av_log(avctx, AV_LOG_ERRO 309 aac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) argument [all...] |
H A D | libschroedingerenc.c | 78 static int set_chroma_format(AVCodecContext *avctx) argument 84 SchroEncoderParams *p_schro_params = avctx->priv_data; 87 if (schro_pixel_format_map[idx].ff_pix_fmt == avctx->pix_fmt) { 94 av_log(avctx, AV_LOG_ERROR, 101 static av_cold int libschroedinger_encode_init(AVCodecContext *avctx) argument 103 SchroEncoderParams *p_schro_params = avctx->priv_data; 113 av_log(avctx, AV_LOG_ERROR, 119 preset = ff_get_schro_video_format_preset(avctx); 123 p_schro_params->format->width = avctx->width; 124 p_schro_params->format->height = avctx 237 libschroedinger_frame_from_data(AVCodecContext *avctx, const AVFrame *frame) argument 264 libschroedinger_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) argument 416 libschroedinger_encode_close(AVCodecContext *avctx) argument [all...] |
H A D | utils.c | 261 int ff_set_sar(AVCodecContext *avctx, AVRational sar) argument 263 int ret = av_image_check_sar(avctx->width, avctx->height, sar); 266 av_log(avctx, AV_LOG_WARNING, "ignoring invalid SAR: %u/%u\n", 268 avctx->sample_aspect_ratio = (AVRational){ 0, 1 }; 271 avctx->sample_aspect_ratio = sar; 519 static int update_frame_pool(AVCodecContext *avctx, AVFrame *frame) argument 521 FramePool *pool = avctx->internal->pool; 524 switch (avctx->codec_type) { 536 avcodec_align_dimensions2(avctx, 618 audio_get_buffer(AVCodecContext *avctx, AVFrame *frame) argument 724 avcodec_default_get_buffer2(AVCodecContext *avctx, AVFrame *frame, int flags) argument 747 ff_init_buffer_info(AVCodecContext *avctx, AVFrame *frame) argument 847 avcodec_default_get_buffer(AVCodecContext *avctx, AVFrame *frame) argument 853 AVCodecContext avctx; member in struct:CompatReleaseBufPriv 874 ff_decode_frame_props(AVCodecContext *avctx, AVFrame *frame) argument 879 get_buffer_internal(AVCodecContext *avctx, AVFrame *frame, int flags) argument 1037 ff_get_buffer(AVCodecContext *avctx, AVFrame *frame, int flags) argument 1045 reget_buffer_internal(AVCodecContext *avctx, AVFrame *frame) argument 1084 ff_reget_buffer(AVCodecContext *avctx, AVFrame *frame) argument 1168 ff_get_format(AVCodecContext *avctx, const enum AVPixelFormat *fmt) argument 1279 ff_codec_open2_recursive(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options) argument 1291 avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options) argument 1654 ff_alloc_packet2(AVCodecContext *avctx, AVPacket *avpkt, int64_t size) argument 1755 avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) argument 1889 avcodec_encode_audio(AVCodecContext *avctx, uint8_t *buf, int buf_size, const short *samples) argument 1973 avcodec_encode_video(AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVFrame *pict) argument 2008 avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) argument 2089 avcodec_encode_subtitle(AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVSubtitle *sub) argument 2139 apply_param_change(AVCodecContext *avctx, AVPacket *avpkt) argument 2196 add_metadata_from_side_data(AVCodecContext *avctx, AVFrame *frame) argument 2254 avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, int *got_picture_ptr, const AVPacket *avpkt) argument 2343 avcodec_decode_audio3(AVCodecContext *avctx, int16_t *samples, int *frame_size_ptr, AVPacket *avpkt) argument 2395 avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, const AVPacket *avpkt) argument 2532 recode_subtitle(AVCodecContext *avctx, AVPacket *outpkt, const AVPacket *inpkt) argument 2609 avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, AVPacket *avpkt) argument 2722 avcodec_close(AVCodecContext *avctx) argument 3066 avcodec_flush_buffers(AVCodecContext *avctx) argument 3173 av_get_audio_frame_duration(AVCodecContext *avctx, int frame_bytes) argument 3512 ff_thread_get_format(AVCodecContext *avctx, const enum AVPixelFormat *fmt) argument 3517 ff_thread_get_buffer(AVCodecContext *avctx, ThreadFrame *f, int flags) argument 3523 ff_thread_release_buffer(AVCodecContext *avctx, ThreadFrame *f) argument 3529 ff_thread_finish_setup(AVCodecContext *avctx) argument 3541 ff_thread_can_start_frame(AVCodecContext *avctx) argument 3546 ff_alloc_entries(AVCodecContext *avctx, int count) argument 3551 ff_reset_entries(AVCodecContext *avctx) argument 3555 ff_thread_await_progress2(AVCodecContext *avctx, int field, int thread, int shift) argument 3559 ff_thread_report_progress2(AVCodecContext *avctx, int field, int thread, int n) argument 3590 avpriv_bprint_to_extradata(AVCodecContext *avctx, struct AVBPrint *buf) argument [all...] |
H A D | roqaudioenc.c | 45 static av_cold int roq_dpcm_encode_close(AVCodecContext *avctx) argument 47 ROQDPCMContext *context = avctx->priv_data; 54 static av_cold int roq_dpcm_encode_init(AVCodecContext *avctx) argument 56 ROQDPCMContext *context = avctx->priv_data; 59 if (avctx->channels > 2) { 60 av_log(avctx, AV_LOG_ERROR, "Audio must be mono or stereo\n"); 63 if (avctx->sample_rate != 22050) { 64 av_log(avctx, AV_LOG_ERROR, "Audio must be 22050 Hz\n"); 68 avctx->frame_size = ROQ_FRAME_SIZE; 69 avctx 127 roq_dpcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) argument [all...] |
H A D | dpxenc.c | 35 static av_cold int encode_init(AVCodecContext *avctx) argument 37 DPXContext *s = avctx->priv_data; 38 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(avctx->pix_fmt); 45 switch (avctx->pix_fmt) { 65 if (avctx->bits_per_raw_sample) 66 s->bits_per_component = avctx->bits_per_raw_sample; 69 av_log(avctx, AV_LOG_INFO, "unsupported pixel format\n"); 88 static void encode_rgb48_10bit(AVCodecContext *avctx, const AVPicture *pic, uint8_t *dst) argument 90 DPXContext *s = avctx->priv_data; 94 for (y = 0; y < avctx 113 encode_gbrp10(AVCodecContext *avctx, const AVPicture *pic, uint8_t *dst) argument 139 encode_gbrp12(AVCodecContext *avctx, const AVPicture *pic, uint16_t *dst) argument 166 encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) argument [all...] |
H A D | libvo-aacenc.c | 45 static int aac_encode_close(AVCodecContext *avctx) argument 47 AACContext *s = avctx->priv_data; 50 av_freep(&avctx->extradata); 57 static av_cold int aac_encode_init(AVCodecContext *avctx) argument 59 AACContext *s = avctx->priv_data; 63 avctx->frame_size = FRAME_SIZE; 64 avctx->delay = ENC_DELAY; 66 ff_af_queue_init(avctx, &s->afq); 68 s->end_buffer = av_mallocz(avctx->frame_size * avctx 123 aac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) argument [all...] |
H A D | bmp.c | 30 static int bmp_decode_frame(AVCodecContext *avctx, argument 51 av_log(avctx, AV_LOG_ERROR, "buf size too small (%d)\n", buf_size); 57 av_log(avctx, AV_LOG_ERROR, "bad magic number\n"); 63 av_log(avctx, AV_LOG_ERROR, "not enough data (%d < %u), trying to decode anyway\n", 74 av_log(avctx, AV_LOG_ERROR, "invalid header size %u\n", hsize); 83 av_log(avctx, AV_LOG_ERROR, 103 av_log(avctx, AV_LOG_ERROR, "unsupported BMP file, patch welcome\n"); 109 av_log(avctx, AV_LOG_ERROR, "invalid BMP header\n"); 122 av_log(avctx, AV_LOG_ERROR, "BMP coding %d not supported\n", comp); 135 avctx [all...] |
H A D | escape130.c | 115 static av_cold int escape130_decode_init(AVCodecContext *avctx) argument 117 Escape130Context *s = avctx->priv_data; 118 avctx->pix_fmt = AV_PIX_FMT_YUV420P; 120 if ((avctx->width & 1) || (avctx->height & 1)) { 121 av_log(avctx, AV_LOG_ERROR, 126 s->old_y_avg = av_malloc(avctx->width * avctx->height / 4); 127 s->buf1 = av_malloc(avctx->width * avctx 154 escape130_decode_close(AVCodecContext *avctx) argument 191 escape130_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument [all...] |