/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ |
H A D | pthread.c | 44 * @param avctx The context. 46 static void validate_thread_parameters(AVCodecContext *avctx) argument 48 int frame_threading_supported = (avctx->codec->capabilities & CODEC_CAP_FRAME_THREADS) 49 && !(avctx->flags & CODEC_FLAG_TRUNCATED) 50 && !(avctx->flags & CODEC_FLAG_LOW_DELAY) 51 && !(avctx->flags2 & CODEC_FLAG2_CHUNKS); 52 if (avctx->thread_count == 1) { 53 avctx->active_thread_type = 0; 54 } else if (frame_threading_supported && (avctx->thread_type & FF_THREAD_FRAME)) { 55 avctx 70 ff_thread_init(AVCodecContext *avctx) argument 82 ff_thread_free(AVCodecContext *avctx) argument [all...] |
H A D | pthread_internal.h | 28 int ff_slice_thread_init(AVCodecContext *avctx); 29 void ff_slice_thread_free(AVCodecContext *avctx); 31 int ff_frame_thread_init(AVCodecContext *avctx); 32 void ff_frame_thread_free(AVCodecContext *avctx, int thread_count);
|
H A D | frame_thread_encoder.h | 23 int ff_frame_thread_encoder_init(AVCodecContext *avctx, AVDictionary *options); 24 void ff_frame_thread_encoder_free(AVCodecContext *avctx); 25 int ff_thread_video_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet_ptr);
|
H A D | avrndec.c | 35 static av_cold int init(AVCodecContext *avctx) argument 37 AVRnContext *a = avctx->priv_data; 41 a->is_mjpeg = avctx->extradata_size < 31 || memcmp(&avctx->extradata[28], "1:1", 3); 43 if(!a->is_mjpeg && avctx->lowres) { 44 av_log(avctx, AV_LOG_ERROR, "lowres is not possible with rawvideo\n"); 49 return ff_mjpeg_decode_init(avctx); 51 if ((ret = av_image_check_size(avctx->width, avctx->height, 0, avctx)) < 67 end(AVCodecContext *avctx) argument 77 decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument [all...] |
H A D | vda.c | 37 int av_vda_default_init(AVCodecContext *avctx) argument 39 avctx->hwaccel_context = av_vda_alloc_context(); 40 if (!avctx->hwaccel_context) 42 return ff_vda_default_init(avctx); 45 void av_vda_default_free(AVCodecContext *avctx) argument 47 ff_vda_default_free(avctx); 48 av_freep(&avctx->hwaccel_context); 51 void ff_vda_default_free(AVCodecContext *avctx) argument 53 AVVDAContext *vda = avctx->hwaccel_context; 64 int av_vda_default_init(AVCodecContext *avctx) argument [all...] |
H A D | rawenc.c | 34 static av_cold int raw_encode_init(AVCodecContext *avctx) argument 36 const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(avctx->pix_fmt); 38 avctx->coded_frame = avctx->priv_data; 39 avcodec_get_frame_defaults(avctx->coded_frame); 40 avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; 41 avctx->bits_per_coded_sample = av_get_bits_per_pixel(desc); 42 if(!avctx->codec_tag) 43 avctx->codec_tag = avcodec_pix_fmt_to_codec_tag(avctx 47 raw_encode(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) argument [all...] |
H A D | libaacplus.c | 38 static av_cold int aacPlus_encode_init(AVCodecContext *avctx) argument 40 aacPlusAudioContext *s = avctx->priv_data; 44 if (avctx->channels < 1 || avctx->channels > 2) { 45 av_log(avctx, AV_LOG_ERROR, "encoding %d channel(s) is not allowed\n", avctx->channels); 49 if (avctx->profile != FF_PROFILE_AAC_LOW && avctx->profile != FF_PROFILE_UNKNOWN) { 50 av_log(avctx, AV_LOG_ERROR, "invalid AAC profile: %d, only LC supported\n", avctx 93 aacPlus_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) argument 110 aacPlus_encode_close(AVCodecContext *avctx) argument [all...] |
H A D | avuienc.c | 26 static av_cold int avui_encode_init(AVCodecContext *avctx) argument 28 avctx->coded_frame = av_frame_alloc(); 30 if (avctx->width != 720 || avctx->height != 486 && avctx->height != 576) { 31 av_log(avctx, AV_LOG_ERROR, "Only 720x486 and 720x576 are supported.\n"); 34 if (!avctx->coded_frame) { 35 av_log(avctx, AV_LOG_ERROR, "Could not allocate frame.\n"); 38 if (!(avctx->extradata = av_mallocz(24 + FF_INPUT_BUFFER_PADDING_SIZE))) 40 avctx 52 avui_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic, int *got_packet) argument 95 avui_encode_close(AVCodecContext *avctx) argument [all...] |
H A D | gsmdec.c | 35 static av_cold int gsm_init(AVCodecContext *avctx) argument 37 avctx->channels = 1; 38 avctx->channel_layout = AV_CH_LAYOUT_MONO; 39 if (!avctx->sample_rate) 40 avctx->sample_rate = 8000; 41 avctx->sample_fmt = AV_SAMPLE_FMT_S16; 43 switch (avctx->codec_id) { 45 avctx->frame_size = GSM_FRAME_SIZE; 46 avctx->block_align = GSM_BLOCK_SIZE; 49 avctx 65 gsm_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument 107 gsm_flush(AVCodecContext *avctx) argument [all...] |
H A D | libspeexdec.c | 39 static av_cold int libspeex_decode_init(AVCodecContext *avctx) argument 41 LibSpeexContext *s = avctx->priv_data; 46 if (avctx->extradata && avctx->extradata_size >= 80) { 47 header = speex_packet_to_header(avctx->extradata, 48 avctx->extradata_size); 50 av_log(avctx, AV_LOG_WARNING, "Invalid Speex header\n"); 52 if (avctx->codec_tag == MKTAG('S', 'P', 'X', 'N')) { 53 if (!avctx->extradata || avctx 118 libspeex_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument 167 libspeex_decode_close(AVCodecContext *avctx) argument 177 libspeex_decode_flush(AVCodecContext *avctx) argument [all...] |
H A D | lclenc.c | 58 AVCodecContext *avctx; member in struct:LclEncContext 74 static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, argument 77 LclEncContext *c = avctx->priv_data; 80 int max_size = deflateBound(&c->zstream, avctx->width * avctx->height * 3); 82 if ((ret = ff_alloc_packet2(avctx, pkt, max_size)) < 0) 85 if(avctx->pix_fmt != AV_PIX_FMT_BGR24){ 86 av_log(avctx, AV_LOG_ERROR, "Format not supported!\n"); 92 av_log(avctx, AV_LOG_ERROR, "Deflate reset error: %d\n", zret); 98 for(i = avctx 125 encode_init(AVCodecContext *avctx) argument 179 encode_end(AVCodecContext *avctx) argument [all...] |
H A D | rawdec.c | 72 static av_cold int raw_init_decoder(AVCodecContext *avctx) argument 74 RawVideoContext *context = avctx->priv_data; 79 if ( avctx->codec_tag == MKTAG('r','a','w',' ') 80 || avctx->codec_tag == MKTAG('N','O','1','6')) 81 avctx->pix_fmt = avpriv_find_pix_fmt(avpriv_pix_fmt_bps_mov, 82 avctx->bits_per_coded_sample); 83 else if (avctx->codec_tag == MKTAG('W', 'R', 'A', 'W')) 84 avctx->pix_fmt = avpriv_find_pix_fmt(avpriv_pix_fmt_bps_avi, 85 avctx->bits_per_coded_sample); 86 else if (avctx 135 flip(AVCodecContext *avctx, AVPicture *picture) argument 169 raw_decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument 360 raw_close_decoder(AVCodecContext *avctx) argument [all...] |
H A D | libutvideodec.cpp | 35 static av_cold int utvideo_decode_init(AVCodecContext *avctx) argument 37 UtVideoContext *utv = (UtVideoContext *)avctx->priv_data; 42 if (avctx->extradata_size != 4*4) { 43 av_log(avctx, AV_LOG_ERROR, "Extradata size mismatch.\n"); 48 info.version = AV_RL32(avctx->extradata); 49 info.original_format = AV_RL32(avctx->extradata + 4); 50 info.frameinfo_size = AV_RL32(avctx->extradata + 8); 51 info.flags = AV_RL32(avctx->extradata + 12); 54 switch (avctx->codec_tag) { 57 avctx 130 utvideo_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument 172 utvideo_decode_close(AVCodecContext *avctx) argument [all...] |
H A D | v308enc.c | 27 static av_cold int v308_encode_init(AVCodecContext *avctx) argument 29 if (avctx->width & 1) { 30 av_log(avctx, AV_LOG_ERROR, "v308 requires width to be even.\n"); 34 avctx->coded_frame = av_frame_alloc(); 36 if (!avctx->coded_frame) { 37 av_log(avctx, AV_LOG_ERROR, "Could not allocate frame.\n"); 44 static int v308_encode_frame(AVCodecContext *avctx, AVPacket *pkt, argument 51 if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx 78 v308_encode_close(AVCodecContext *avctx) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ |
H A D | rawenc.c | 32 static av_cold int raw_init_encoder(AVCodecContext *avctx) argument 34 avctx->coded_frame = (AVFrame *)avctx->priv_data; 35 avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; 36 avctx->coded_frame->key_frame = 1; 37 avctx->bits_per_coded_sample = av_get_bits_per_pixel(&av_pix_fmt_descriptors[avctx->pix_fmt]); 38 if(!avctx->codec_tag) 39 avctx->codec_tag = avcodec_pix_fmt_to_codec_tag(avctx 43 raw_encode(AVCodecContext *avctx, unsigned char *frame, int buf_size, void *data) argument [all...] |
H A D | v410dec.c | 26 static av_cold int v410_decode_init(AVCodecContext *avctx) argument 28 avctx->pix_fmt = PIX_FMT_YUV444P10; 29 avctx->bits_per_raw_sample = 10; 31 if (avctx->width & 1) { 32 av_log(avctx, AV_LOG_ERROR, "v410 requires even width.\n"); 36 avctx->coded_frame = avcodec_alloc_frame(); 38 if (!avctx->coded_frame) { 39 av_log(avctx, AV_LOG_ERROR, "Could not allocate frame.\n"); 46 static int v410_decode_frame(AVCodecContext *avctx, void *data, argument 49 AVFrame *pic = avctx 99 v410_decode_close(AVCodecContext *avctx) argument [all...] |
H A D | assenc.c | 25 static av_cold int ass_encode_init(AVCodecContext *avctx) argument 27 avctx->extradata = av_malloc(avctx->subtitle_header_size); 28 if (!avctx->extradata) 30 memcpy(avctx->extradata, avctx->subtitle_header, avctx->subtitle_header_size); 31 avctx->extradata_size = avctx->subtitle_header_size; 35 static int ass_encode_frame(AVCodecContext *avctx, argument [all...] |
H A D | libgsm.c | 35 static av_cold int libgsm_encode_init(AVCodecContext *avctx) { argument 36 if (avctx->channels > 1) { 37 av_log(avctx, AV_LOG_ERROR, "Mono required for GSM, got %d channels\n", 38 avctx->channels); 42 if (avctx->sample_rate != 8000) { 43 av_log(avctx, AV_LOG_ERROR, "Sample rate 8000Hz required for GSM, got %dHz\n", 44 avctx->sample_rate); 45 if (avctx->strict_std_compliance > FF_COMPLIANCE_UNOFFICIAL) 48 if (avctx->bit_rate != 13000 /* Official */ && 49 avctx 78 libgsm_encode_close(AVCodecContext *avctx) argument 85 libgsm_encode_frame(AVCodecContext *avctx, unsigned char *frame, int buf_size, void *data) argument 129 libgsm_decode_init(AVCodecContext *avctx) argument 167 libgsm_decode_close(AVCodecContext *avctx) argument 175 libgsm_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument 210 libgsm_flush(AVCodecContext *avctx) argument [all...] |
H A D | pnm.c | 57 int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s) argument 68 avctx->pix_fmt = PIX_FMT_MONOWHITE; 70 if (avctx->codec_id == CODEC_ID_PGMYUV) 71 avctx->pix_fmt = PIX_FMT_YUV420P; 73 avctx->pix_fmt = PIX_FMT_GRAY8; 75 avctx->pix_fmt = PIX_FMT_RGB24; 105 if (w <= 0 || h <= 0 || maxval <= 0 || depth <= 0 || tuple_type[0] == '\0' || av_image_check_size(w, h, 0, avctx)) 108 avctx->width = w; 109 avctx->height = h; 112 avctx 176 ff_pnm_end(AVCodecContext *avctx) argument 186 ff_pnm_init(AVCodecContext *avctx) argument [all...] |
H A D | aura.c | 29 AVCodecContext *avctx; member in struct:AuraDecodeContext 33 static av_cold int aura_decode_init(AVCodecContext *avctx) argument 35 AuraDecodeContext *s = avctx->priv_data; 37 s->avctx = avctx; 39 if (avctx->width & 0x3) 41 avctx->pix_fmt = PIX_FMT_YUV422P; 46 static int aura_decode_frame(AVCodecContext *avctx, argument 50 AuraDecodeContext *s=avctx->priv_data; 60 if (pkt->size != 48 + avctx 115 aura_decode_end(AVCodecContext *avctx) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/arm/ |
H A D | dsputil_arm.h | 27 void ff_dsputil_init_armv5te(DSPContext* c, AVCodecContext *avctx); 28 void ff_dsputil_init_armv6(DSPContext* c, AVCodecContext *avctx); 29 void ff_dsputil_init_vfp(DSPContext* c, AVCodecContext *avctx); 30 void ff_dsputil_init_neon(DSPContext *c, AVCodecContext *avctx); 31 void ff_dsputil_init_iwmmxt(DSPContext* c, AVCodecContext *avctx);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavdevice/ |
H A D | decklink_enc.h | 37 int ff_decklink_write_header(AVFormatContext *avctx); 38 int ff_decklink_write_packet(AVFormatContext *avctx, AVPacket *pkt); 39 int ff_decklink_write_trailer(AVFormatContext *avctx);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/arm/ |
H A D | idctdsp_arm.h | 27 void ff_idctdsp_init_armv5te(IDCTDSPContext *c, AVCodecContext *avctx, 29 void ff_idctdsp_init_armv6(IDCTDSPContext *c, AVCodecContext *avctx, 31 void ff_idctdsp_init_neon(IDCTDSPContext *c, AVCodecContext *avctx,
|
H A D | dsputil_arm.h | 27 void ff_dsputil_init_armv6(DSPContext *c, AVCodecContext *avctx);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/x86/ |
H A D | w64xmmtest.c | 25 wrap(avcodec_open2(AVCodecContext *avctx, argument 29 testxmmclobbers(avcodec_open2, avctx, codec, options); 32 wrap(avcodec_decode_audio4(AVCodecContext *avctx, argument 37 testxmmclobbers(avcodec_decode_audio4, avctx, frame, 41 wrap(avcodec_decode_video2(AVCodecContext *avctx, argument 46 testxmmclobbers(avcodec_decode_video2, avctx, picture, 50 wrap(avcodec_decode_subtitle2(AVCodecContext *avctx, argument 55 testxmmclobbers(avcodec_decode_subtitle2, avctx, sub, 59 wrap(avcodec_encode_audio2(AVCodecContext *avctx, argument 64 testxmmclobbers(avcodec_encode_audio2, avctx, avpk 68 avcodec_encode_video(AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVFrame *pict) argument 75 avcodec_encode_subtitle(AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVSubtitle *sub) argument 82 avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) argument [all...] |