HomeSort by relevance Sort by last modified time
    Searched full:codec_context (Results 1 - 8 of 8) sorted by null

  /external/chromium_org/media/ffmpeg/
ffmpeg_common.cc 273 const AVCodecContext* codec_context,
277 DCHECK_EQ(codec_context->codec_type, AVMEDIA_TYPE_AUDIO);
279 AudioCodec codec = CodecIDToAudioCodec(codec_context->codec_id);
282 AVSampleFormatToSampleFormat(codec_context->sample_fmt);
285 codec_context->channel_layout, codec_context->channels);
288 // |codec_context->sample_fmt| is not set by FFmpeg because Opus decoding is
295 if (codec_context->seek_preroll > 0) {
297 codec_context->seek_preroll * 1000000.0 / codec_context->sample_rate)
    [all...]
ffmpeg_common.h 66 AVCodecContext* codec_context = static_cast<AVCodecContext*>(x); local
67 av_free(codec_context->extradata);
68 avcodec_close(codec_context);
69 av_free(codec_context);
103 AVCodecContext* codec_context);
111 AVCodecContext* codec_context);
  /external/chromium_org/media/cdm/ppapi/
ffmpeg_cdm_audio_decoder.cc 46 AVCodecContext* codec_context) {
47 codec_context->codec_type = AVMEDIA_TYPE_AUDIO;
48 codec_context->codec_id = CdmAudioCodecToCodecID(config.codec);
52 codec_context->sample_fmt = AV_SAMPLE_FMT_U8;
55 codec_context->sample_fmt = AV_SAMPLE_FMT_S16;
58 codec_context->sample_fmt = AV_SAMPLE_FMT_S32;
63 codec_context->sample_fmt = AV_SAMPLE_FMT_NONE;
66 codec_context->channels = config.channel_count;
67 codec_context->sample_rate = config.samples_per_second;
70 codec_context->extradata_size = config.extra_data_size
    [all...]
ffmpeg_cdm_video_decoder.cc 89 AVCodecContext* codec_context) {
90 codec_context->codec_type = AVMEDIA_TYPE_VIDEO;
91 codec_context->codec_id = CdmVideoCodecToCodecID(config.codec);
92 codec_context->profile = CdmVideoCodecProfileToProfileID(config.profile);
93 codec_context->coded_width = config.coded_size.width;
94 codec_context->coded_height = config.coded_size.height;
95 codec_context->pix_fmt = CdmVideoFormatToPixelFormat(config.format);
98 codec_context->extradata_size = config.extra_data_size;
99 codec_context->extradata = reinterpret_cast<uint8_t*>(
101 memcpy(codec_context->extradata, config.extra_data
    [all...]
  /external/chromium_org/media/filters/
ffmpeg_video_decoder.cc 64 int FFmpegVideoDecoder::GetVideoBuffer(AVCodecContext* codec_context,
68 // whereas |codec_context| contains the current threads's
71 VideoFrame::Format format = PixelFormatToVideoFormat(codec_context->pix_fmt);
77 gfx::Size size(codec_context->width, codec_context->height);
83 if (codec_context->sample_aspect_ratio.num > 0) {
85 codec_context->sample_aspect_ratio.num,
86 codec_context->sample_aspect_ratio.den);
107 frame->width = codec_context->width;
108 frame->height = codec_context->height
    [all...]
ffmpeg_video_decoder.h 45 // the dimensions of |codec_context|. See AVCodecContext.get_buffer
47 int GetVideoBuffer(AVCodecContext *codec_context, AVFrame* frame);
ffmpeg_demuxer.cc 507 AVCodecContext* codec_context = format_context->streams[i]->codec; local
508 bitrate += codec_context->bit_rate;
580 AVCodecContext* codec_context = stream->codec; local
581 AVMediaType codec_type = codec_context->codec_type;
589 codec_context->codec_id);
602 codec_context->codec_id);
611 if (codec_context->codec_id != AV_CODEC_ID_WEBVTT || !text_enabled_) {
853 const AVCodecContext* codec_context = local
855 if (codec_context->codec_id == AV_CODEC_ID_OPUS &&
856 codec_context->delay > 0)
    [all...]
ffmpeg_audio_decoder.h 50 // the dimensions of |codec_context|. See AVCodecContext.get_buffer2

Completed in 802 milliseconds