• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/

Lines Matching defs:of

5  * This file is part of Libav.
8 * modify it under the terms of the GNU Lesser General Public
10 * version 2.1 of the License, or (at your option) any later version.
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * You should have received a copy of the GNU Lesser General Public
101 char type; ///< type of metadata to copy -- (g)lobal, (s)tream, (c)hapter or (p)rogram
180 /* a pool of free buffers for decoded data */
187 int ist_index; /* index of first stream in ist_table */
190 int nb_streams; /* number of stream that avconv is aware of; may be different
204 // double sync_ipts; /* dts from the AVPacket of the demuxer in second units */
262 int ost_index; /* index of the first stream in output_streams */
263 int64_t recording_time; /* desired length of the resulting file in microseconds */
781 * support multiple sample formats, one of which is AV_SAMPLE_FMT_FLT.
870 OutputFile *of = &output_files[ost->file_index];
871 return (double)(ist->pts - of->start_time) / AV_TIME_BASE;
882 * But there is no reordering, so we can limit the number of output packets
884 * Counting encoded video frames needs to be done separately because of
946 av_log(NULL, AV_LOG_FATAL, "out-of-memory in encode_audio_frame()\n");
1017 av_log(NULL, AV_LOG_FATAL, "Out of memory in do_audio_out\n");
1111 av_log(NULL, AV_LOG_VERBOSE, "adding %d audio samples of silence\n", idelta);
1468 * For video, number of frames in == number of packets out.
1730 OutputFile *of = &output_files[ost->file_index];
1736 if (of->start_time && ist->pts < of->start_time)
1739 if (of->recording_time != INT64_MAX &&
1740 av_compare_ts(ist->pts, AV_TIME_BASE_Q, of->recording_time + of->start_time,
1751 OutputFile *of = &output_files[ost->file_index];
1752 int64_t ost_tb_start_time = av_rescale_q(of->start_time, AV_TIME_BASE_Q, ost->st->time_base);
1796 write_frame(of->ctx, &opkt, ost);
1834 /* if the decoder provides a pts, use it instead of the last packet pts.
2615 of stream copy */
2662 * The following code is the main loop of the file converter
2702 OutputFile *of;
2706 of = &output_files[ost->file_index];
2712 (os->pb && avio_tell(os->pb) >= of->limit_filesize))
2729 for (j = 0; j < of->ctx->nb_streams; j++)
2730 output_streams[of->ost_index + j].is_past_recording_time = 1;
2824 /* at the end of stream, we must flush the decoder buffers */
3176 * list of input streams.
3293 int orig_nb_streams; // number of streams before avformat_find_stream_info
3373 /* update the current parameters so that they match the one of the input stream */
3866 /* pick the "best" stream of each type */
3952 av_log(NULL, AV_LOG_FATAL, "Could not get size of the attachment %s.\n",
3983 /* check filename in case of an image number is expected */
4307 opt_default("packetsize", "2048"); // from www.mpucoder.com: DVD sectors contain 2048 bytes of data, this is also the size of one pack.
4407 { "map_metadata", HAS_ARG | OPT_STRING | OPT_SPEC, {.off = OFFSET(metadata_map)}, "set metadata information of outfile from infile",
4410 { "t", HAS_ARG | OPT_TIME | OPT_OFFSET, {.off = OFFSET(recording_time)}, "record or transcode \"duration\" seconds of audio/video", "duration" },
4416 { "dframes", HAS_ARG | OPT_FUNC2, {(void*)opt_data_frames}, "set the number of data frames to record", "number" },
4435 { "frames", OPT_INT64 | HAS_ARG | OPT_SPEC, {.off = OFFSET(max_frames)}, "set the number of frames to record", "number" },
4447 { "vframes", HAS_ARG | OPT_VIDEO | OPT_FUNC2, {(void*)opt_video_frames}, "set the number of video frames to record", "number" },
4474 { "streamid", HAS_ARG | OPT_EXPERT | OPT_FUNC2, {(void*)opt_streamid}, "set the value of an outfile streamid", "streamIndex:value" },
4478 { "aframes", HAS_ARG | OPT_AUDIO | OPT_FUNC2, {(void*)opt_audio_frames}, "set the number of audio frames to record", "number" },
4481 { "ac", HAS_ARG | OPT_AUDIO | OPT_INT | OPT_SPEC, {.off = OFFSET(audio_channels)}, "set number of audio channels", "channels" },
4500 { "bsf", HAS_ARG | OPT_STRING | OPT_SPEC, {.off = OFFSET(bitstream_filters)}, "A comma-separated list of bitstream filters", "bitstream_filters" },