This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
int | camogm_init_ogm (void) |
may add something - called first time format is changed to this one (only once) recording is stopped | |
int | camogm_start_ogm (void) |
int | camogm_frame_ogm (void) |
int | camogm_end_ogm (void) |
Zero packets are OK, use them to end file with "last" turned on. | |
void | camogm_free_ogm (void) |
void | camogm_audio_ogm_push (void *buf, int len, long granules_shift, int prefix) |
Definition at line 347 of file camogm_ogm.c.
References ogm_stream_t::granulepos, ogm_flush_to_file(), ogm_stream_t::os, PACKET_IS_SYNCPOINT, ogm_stream_t::packetno, and saudio.
Referenced by audio_process().
int camogm_end_ogm | ( | void | ) |
Zero packets are OK, use them to end file with "last" turned on.
put zero-packet it into stream
+++++++++++++++++++++++++++++++++++++++++++++++++++++
Definition at line 214 of file camogm_ogm.c.
References buf, camogm_audio_end(), CAMOGM_FRAME_FILE_ERR, D0, debug_file, ogm_stream_t::granulepos, ogm_flush_to_file(), ogm_stream_t::os, ogm_stream_t::packetno, state, and svideo.
int camogm_frame_ogm | ( | void | ) |
Definition at line 165 of file camogm_ogm.c.
References CAMOGM_FRAME_FILE_ERR, D0, debug_file, ogm_stream_t::granulepos, ogm_flush_to_file(), ogm_stream_t::os, ogm_stream_t::packetno, state, and svideo.
void camogm_free_ogm | ( | void | ) |
Definition at line 62 of file camogm_ogm.c.
int camogm_init_ogm | ( | void | ) |
may add something - called first time format is changed to this one (only once) recording is stopped
*************************************************************************** ! FILE NAME : camogm_ogm.c ! DESCRIPTION: Provides writing to ogm files for camogm ! Copyright (C) 2007 Elphel, Inc. ! -----------------------------------------------------------------------------** ! This program is free software: you can redistribute it and/or modify ! it under the terms of the GNU General Public License as published by ! the Free Software Foundation, either version 3 of the License, or ! (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program. If not, see <http://www.gnu.org/licenses/>. ! -----------------------------------------------------------------------------** ! !
Definition at line 59 of file camogm_ogm.c.
int camogm_start_ogm | ( | void | ) |
Definition at line 66 of file camogm_ogm.c.
References camogm_audio_init(), CAMOGM_FRAME_FILE_ERR, D0, D2, debug_file, ogm_stream_t::granulepos, autoexp_t::height, memcpy(), memset(), ogm_flush_to_file(), ogm_stream_t::os, PACKET_TYPE_COMMENT, ogm_stream_t::packetno, put_uint16(), put_uint32(), put_uint64(), stream_header::size, state, stream_header::streamtype, stream_header::subtype, svideo, and autoexp_t::width.