Home
last modified time | relevance | path

Searched refs:nut (Results 1 - 16 of 16) sorted by relevance

/third_party/ffmpeg/libavformat/
H A Dnutenc.c2 * nut muxer
34 #include "nut.h"
130 NUTContext *nut = s->priv_data; in find_header_idx() local
135 for (i = 1; i < nut->header_count; i++) { in find_header_idx()
136 if (len == nut->header_len[i] && !memcmp(out, nut->header[i], len)) { in find_header_idx()
146 NUTContext *nut = s->priv_data; in build_elision_headers() local
159 nut->header_count = 7; in build_elision_headers()
160 for (i = 1; i < nut->header_count; i++) { in build_elision_headers()
161 nut in build_elision_headers()
168 NUTContext *nut = s->priv_data; build_frame_code() local
328 put_tt(NUTContext *nut, AVRational *time_base, AVIOContext *bc, uint64_t val) put_tt() argument
350 put_packet(NUTContext *nut, AVIOContext *bc, AVIOContext *dyn_bc, uint64_t startcode) put_packet() argument
371 write_mainheader(NUTContext *nut, AVIOContext *bc) write_mainheader() argument
454 NUTContext *nut = avctx->priv_data; write_streamheader() local
516 write_globalinfo(NUTContext *nut, AVIOContext *bc) write_globalinfo() argument
544 write_streaminfo(NUTContext *nut, AVIOContext *bc, int stream_id) write_streaminfo() argument
586 write_chapter(NUTContext *nut, AVIOContext *bc, int id) write_chapter() argument
614 write_index(NUTContext *nut, AVIOContext *bc) write_index() argument
668 NUTContext *nut = avctx->priv_data; write_headers() local
720 NUTContext *nut = s->priv_data; nut_write_header() local
804 get_needed_flags(NUTContext *nut, StreamContext *nus, FrameCode *fc, AVPacket *pkt) get_needed_flags() argument
833 find_best_header_idx(NUTContext *nut, AVPacket *pkt) find_best_header_idx() argument
979 NUTContext *nut = s->priv_data; nut_write_packet() local
1202 NUTContext *nut = s->priv_data; nut_write_trailer() local
1225 NUTContext *nut = s->priv_data; nut_write_deinit() local
[all...]
H A Dnutdec.c34 #include "nut.h"
90 static int get_packetheader(NUTContext *nut, AVIOContext *bc, in get_packetheader() argument
193 static int decode_main_header(NUTContext *nut) in decode_main_header() argument
195 AVFormatContext *s = nut->avf; in decode_main_header()
202 length = get_packetheader(nut, bc, 1, MAIN_STARTCODE); in decode_main_header()
207 nut->version = ffio_read_varlen(bc); in decode_main_header()
208 if (nut->version < NUT_MIN_VERSION || in decode_main_header()
209 nut->version > NUT_MAX_VERSION) { in decode_main_header()
211 nut->version); in decode_main_header()
214 if (nut in decode_main_header()
379 decode_stream_header(NUTContext *nut) decode_stream_header() argument
503 decode_info_header(NUTContext *nut) decode_info_header() argument
626 decode_syncpoint(NUTContext *nut, int64_t *ts, int64_t *back_ptr) decode_syncpoint() argument
670 find_duration(NUTContext *nut, int64_t filesize) find_duration() argument
682 find_and_decode_index(NUTContext *nut) find_and_decode_index() argument
798 NUTContext *nut = s->priv_data; nut_read_close() local
812 NUTContext *nut = s->priv_data; nut_read_header() local
1005 decode_frame_header(NUTContext *nut, int64_t *pts, int *stream_id, uint8_t *header_idx, int frame_code) decode_frame_header() argument
1088 decode_frame(NUTContext *nut, AVPacket *pkt, int frame_code) decode_frame() argument
1158 NUTContext *nut = s->priv_data; nut_read_packet() local
1217 NUTContext *nut = s->priv_data; nut_read_timestamp() local
1244 NUTContext *nut = s->priv_data; read_seek() local
[all...]
H A Dnut.c2 * nut
24 #include "nut.h"
255 void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val) in ff_nut_reset_ts() argument
258 for (i = 0; i < nut->avf->nb_streams; i++) in ff_nut_reset_ts()
259 nut->stream[i].last_pts = in ff_nut_reset_ts()
261 time_base.num * (int64_t)nut->stream[i].time_base->den, in ff_nut_reset_ts()
262 time_base.den * (int64_t)nut->stream[i].time_base->num, in ff_nut_reset_ts()
285 int ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts) in ff_nut_add_sp() argument
296 nut->sp_count++; in ff_nut_add_sp()
301 av_tree_insert(&nut in ff_nut_add_sp()
316 ff_nut_free_sp(NUTContext *nut) ff_nut_free_sp() argument
[all...]
H A Dnut.h35 #define ID_STRING "nut/multimedia container\0"
133 void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val);
137 int ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts);
138 void ff_nut_free_sp(NUTContext *nut);
H A DMakefile397 OBJS-$(CONFIG_NUT_DEMUXER) += nutdec.o nut.o
398 OBJS-$(CONFIG_NUT_MUXER) += nutenc.o nut.o
/third_party/ffmpeg/libavcodec/
H A Dremove_extradata_bsf.c110 int nut; in hevc_split() local
116 nut = (state >> 1) & 0x3F; in hevc_split()
117 if (nut == HEVC_NAL_VPS) in hevc_split()
119 else if (nut == HEVC_NAL_SPS) in hevc_split()
121 else if (nut == HEVC_NAL_PPS) in hevc_split()
123 else if ((nut != HEVC_NAL_SEI_PREFIX || has_pps) && in hevc_split()
124 nut != HEVC_NAL_AUD) { in hevc_split()
H A Dhevc_parser.c268 int nut; in hevc_find_frame_end() local
275 nut = (pc->state64 >> 2 * 8 + 1) & 0x3F; in hevc_find_frame_end()
277 if ((nut >= HEVC_NAL_VPS && nut <= HEVC_NAL_EOB_NUT) || nut == HEVC_NAL_SEI_PREFIX || in hevc_find_frame_end()
278 (nut >= 41 && nut <= 44) || (nut >= 48 && nut <= 55)) { in hevc_find_frame_end()
283 } else if (nut < in hevc_find_frame_end()
[all...]
/third_party/ffmpeg/tests/fate/
H A Dffmpeg.mak150 tests/data/audio_shorter_than_video.nut: TAG = GEN
151 tests/data/audio_shorter_than_video.nut: tests/data/vsynth_lena.yuv
152 tests/data/audio_shorter_than_video.nut: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
157 -y $(TARGET_PATH)/tests/data/audio_shorter_than_video.nut 2>/dev/null
165 fate-copy-shortest1 fate-copy-shortest2: tests/data/audio_shorter_than_video.nut
166 fate-copy-shortest1: CMD = framemd5 -auto_conversion_filters -fflags +bitexact -flags +bitexact -f lavfi -i "sine=3000:d=10" -f lavfi -i "sine=1000:d=1" -i $(TARGET_PATH)/tests/data/audio_shorter_than_video.nut -filter_complex "[0:a:0][1:a:0]amix=inputs=2[audio]" -map 2:v:0 -map "[audio]" -fflags +bitexact -flags +bitexact -c:v copy -c:a ac3_fixed -shortest
167 fate-copy-shortest2: CMD = framemd5 -auto_conversion_filters -fflags +bitexact -flags +bitexact -f lavfi -i "sine=3000:d=10" -i $(TARGET_PATH)/tests/data/audio_shorter_than_video.nut -filter_complex "[0:a:0][1:a:0]amix=inputs=2[audio]" -map 1:v:0 -map "[audio]" -fflags +bitexact -flags +bitexact -c:v copy -c:a ac3_fixed -shortest
H A Dacodec.mak40 fate-acodec-pcm-%_planar: FMT = nut
45 fate-acodec-pcm-u%be: FMT = nut
46 fate-acodec-pcm-u%le: FMT = nut
H A Dlavf-container.mak14 FATE_LAVF_CONTAINER-$(call ENCDEC2, MPEG4, MP2, NUT) += nut
22 mkv mkv_attachment mpg mxf nut rm ts wtv
38 fate-lavf-avi fate-lavf-nut: CMD = lavf_container "" "-c:a mp2 -ar 44100 -threads 1"
H A Dffprobe.mak1 FFPROBE_TEST_FILE=tests/data/ffprobe-test.nut
H A Dseek.mak142 nut swf ts wtv
H A Dvcodec.mak448 fate-vsynth%-xface: FMT = nut
/third_party/ffmpeg/tests/
H A DMakefile54 tests/data/ffprobe-test.nut: ffmpeg$(PROGSSUF)$(EXESUF) tests/test_copy.ffmeta
63 tests/data/%.sw tests/data/asynth% tests/data/vsynth%.yuv tests/vsynth%/00.pgm tests/data/%.nut: TAG = GEN
H A Dfate-run.sh465 $FLAGS $ENC_OPTS -vf "$filters" -vcodec rawvideo -frames:v 5 $* -f nut md5:
/third_party/ffmpeg/doc/
H A DMakefile28 doc/nut.html \

Completed in 14 milliseconds