Home
last modified time | relevance | path

Searched refs:frame_number (Results 1 – 25 of 96) sorted by relevance

1234

/third_party/gstreamer/gstplugins_good/ext/dv/
Dgstsmptetimecode.c46 GstSMPTETimeCode * time_code, int frame_number) in gst_smpte_time_code_from_frame_number() argument
59 if (frame_number < 0) in gst_smpte_time_code_from_frame_number()
64 if (frame_number >= 24 * NTSC_FRAMES_PER_HOUR) in gst_smpte_time_code_from_frame_number()
67 ten_mins = frame_number / NTSC_FRAMES_PER_10_MINS; in gst_smpte_time_code_from_frame_number()
68 frame_number -= ten_mins * NTSC_FRAMES_PER_10_MINS; in gst_smpte_time_code_from_frame_number()
73 if (frame_number < 2) { in gst_smpte_time_code_from_frame_number()
76 time_code->frames = frame_number; in gst_smpte_time_code_from_frame_number()
78 n = (frame_number - 2) / (60 * 30 - 2); in gst_smpte_time_code_from_frame_number()
80 frame_number -= n * (60 * 30 - 2); in gst_smpte_time_code_from_frame_number()
82 time_code->seconds = frame_number / 30; in gst_smpte_time_code_from_frame_number()
[all …]
Dgstsmptetimecode.h61 GstSMPTETimeCode *time_code, int frame_number);
63 int *frame_number, GstSMPTETimeCode *time_code);
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/
Dgstdxgiscreencapsrc.c76 guint64 frame_number; member
411 src->frame_number = -1; in gst_dxgi_screen_cap_src_start()
448 guint64 frame_number; in gst_dxgi_screen_cap_src_create() local
468 frame_number = gst_util_uint64_scale (buf_time, in gst_dxgi_screen_cap_src_create()
471 frame_number = -1; in gst_dxgi_screen_cap_src_create()
475 frame_number = -1; in gst_dxgi_screen_cap_src_create()
478 if (frame_number != -1 && frame_number == src->frame_number) { in gst_dxgi_screen_cap_src_create()
483 frame_number += 1; in gst_dxgi_screen_cap_src_create()
486 buf_time = gst_util_uint64_scale (frame_number, in gst_dxgi_screen_cap_src_create()
516 } else if (frame_number != -1) { in gst_dxgi_screen_cap_src_create()
[all …]
Dgstgdiscreencapsrc.c386 src->frame_number = -1; in gst_gdiscreencapsrc_start()
414 guint64 frame_number; in gst_gdiscreencapsrc_create() local
444 frame_number = gst_util_uint64_scale (buf_time, in gst_gdiscreencapsrc_create()
447 frame_number = -1; in gst_gdiscreencapsrc_create()
451 frame_number = -1; in gst_gdiscreencapsrc_create()
454 if (frame_number != -1 && frame_number == src->frame_number) { in gst_gdiscreencapsrc_create()
459 frame_number += 1; in gst_gdiscreencapsrc_create()
462 buf_time = gst_util_uint64_scale (frame_number, in gst_gdiscreencapsrc_create()
489 } else if (frame_number != -1) { in gst_gdiscreencapsrc_create()
494 G_GINT64_FORMAT, buf_time, frame_number, src->frame_number); in gst_gdiscreencapsrc_create()
[all …]
Dgstdx9screencapsrc.c386 src->frame_number = -1; in gst_dx9screencapsrc_start()
463 guint64 frame_number; in gst_dx9screencapsrc_create() local
482 frame_number = gst_util_uint64_scale (buf_time, in gst_dx9screencapsrc_create()
485 frame_number = -1; in gst_dx9screencapsrc_create()
489 frame_number = -1; in gst_dx9screencapsrc_create()
492 if (frame_number != -1 && frame_number == src->frame_number) { in gst_dx9screencapsrc_create()
497 frame_number += 1; in gst_dx9screencapsrc_create()
500 buf_time = gst_util_uint64_scale (frame_number, in gst_dx9screencapsrc_create()
528 } else if (frame_number != -1) { in gst_dx9screencapsrc_create()
533 G_GINT64_FORMAT, buf_time, frame_number, src->frame_number); in gst_dx9screencapsrc_create()
[all …]
/third_party/cef/tests/ceftests/
Dframe_unittest.cc1607 int frame_number) { in VerifyBrowserIframe() argument
1695 if (frame_number == 0) { in VerifyBrowserIframe()
1698 } else if (frame_number == 1) { in VerifyBrowserIframe()
1701 } else if (frame_number == 2) { in VerifyBrowserIframe()
1704 } else if (frame_number == 3) { in VerifyBrowserIframe()
1809 const int frame_number = GetNavFromMultiNavURL(url); in GetContentForURL() local
1810 switch (frame_number) { in GetContentForURL()
1851 const int frame_number = GetNavFromMultiNavURL(url); in OnBeforeBrowse() local
1852 if (frame_number == 0) { in OnBeforeBrowse()
1878 const int frame_number = GetNavFromMultiNavURL(frame->GetURL()); in OnLoadStart() local
[all …]
/third_party/boost/libs/asio/example/cpp03/porthopper/
Dprotocol.hpp113 frame(unsigned long frame_number, const std::string& payload_data) in frame() argument
116 os << std::setw(encoded_number_size) << std::hex << frame_number; in frame()
125 unsigned long frame_number = 0; in number() local
126 is >> std::setw(encoded_number_size) >> std::hex >> frame_number; in number()
127 return frame_number; in number()
/third_party/boost/doc/html/boost_asio/example/cpp03/porthopper/
Dprotocol.hpp113 frame(unsigned long frame_number, const std::string& payload_data) in frame() argument
116 os << std::setw(encoded_number_size) << std::hex << frame_number; in frame()
125 unsigned long frame_number = 0; in number() local
126 is >> std::setw(encoded_number_size) >> std::hex >> frame_number; in number()
127 return frame_number; in number()
/third_party/ffmpeg/libavformat/
Dflic.c57 int frame_number; member
96 flic->frame_number = 0; in flic_read_header()
230 pkt->flags = flic->frame_number == 0 ? AV_PKT_FLAG_KEY : 0; in flic_read_packet()
231 pkt->pts = flic->frame_number; in flic_read_packet()
232 if (flic->frame_number == 0) in flic_read_packet()
235 flic->frame_number++; in flic_read_packet()
283 flic->frame_number = ts; in flic_read_seek()
Dapngenc.c41 uint32_t frame_number; member
137 if (apng->frame_number == 0 && !packet) { in flush_packet()
165 if (apng->frame_number == 0) { in flush_packet()
217 ++apng->frame_number; in flush_packet()
263 AV_WB32(buf, apng->frame_number); in apng_write_trailer()
/third_party/gstreamer/gstplugins_bad/ext/qroverlay/
Dgstdebugqroverlay.c80 guint32 frame_number; member
170 filter->frame_number = 1; in gst_debug_qr_overlay_init()
254 (gint64) filter->frame_number); in get_qrcode_content()
260 (filter->frame_number == 1 in get_qrcode_content()
261 || filter->frame_number % filter->extra_data_interval_buffers == 1 in get_qrcode_content()
281 filter->frame_number++; in get_qrcode_content()
/third_party/ffmpeg/tools/
Dvenc_data_dump.c38 (max_frames == 0 || decoder->frame_number < max_frames)) { in decode_read()
45 fprintf(stdout, "frame %d\n", decoder->frame_number - 1); in decode_read()
72 if (max_frames && decoder->frame_number == max_frames) in decode_read()
76 return (max_frames == 0 || decoder->frame_number < max_frames) ? 0 : 1; in decode_read()
/third_party/ffmpeg/libavcodec/
Dflashsvenc.c212 if (avctx->frame_number == 0) { in flashsv_encode_frame()
228 avctx->frame_number >= s->last_key_frame + avctx->gop_size) { in flashsv_encode_frame()
254 s->last_key_frame = avctx->frame_number; in flashsv_encode_frame()
255 ff_dlog(avctx, "Inserting keyframe at frame %d\n", avctx->frame_number); in flashsv_encode_frame()
Daac_ac3_parser.c101 s->frame_number++; in ff_aac_ac3_parse()
104 (s->bit_rate - avctx->bit_rate) / s->frame_number; in ff_aac_ac3_parse()
Dsetts_bsf.c74 int64_t frame_number; member
117 s->frame_number= 0; in setts_init()
144 s->var_values[VAR_N] = s->frame_number++; in setts_filter()
Daac_ac3_parser.h58 int frame_number; member
Dflashsv2enc.c777 ((double) s->avctx->time_base.num) * s->avctx->frame_number; in optimum_use15_7()
851 if (avctx->frame_number == 0) in flashsv2_encode_frame()
856 if (avctx->frame_number >= s->last_key_frame + avctx->gop_size) in flashsv2_encode_frame()
861 && avctx->frame_number > s->last_key_frame + avctx->keyint_min) { in flashsv2_encode_frame()
864 … av_log(avctx, AV_LOG_DEBUG, "Recommending key frame at frame %d\n", avctx->frame_number); in flashsv2_encode_frame()
880 s->last_key_frame = avctx->frame_number; in flashsv2_encode_frame()
882 av_log(avctx, AV_LOG_DEBUG, "Inserting key frame at frame %d\n", avctx->frame_number); in flashsv2_encode_frame()
/third_party/skia/third_party/externals/libwebp/examples/
Dgif2webp.c118 int frame_number = 0; // Whether we are processing the first frame. in main() local
292 if (frame_number == 0) { in main()
350 fprintf(stderr, "Error while adding frame #%d: %s\n", frame_number, in main()
354 ++frame_number; in main()
469 if (frame_number == 1) { in main()
476 if (frame_number > 1) { in main()
/third_party/flutter/skia/third_party/externals/sdl/src/video/dummy/
DSDL_nullframebuffer.c61 static int frame_number; in SDL_DUMMY_UpdateWindowFramebuffer() local
73 SDL_GetWindowID(window), ++frame_number); in SDL_DUMMY_UpdateWindowFramebuffer()
/third_party/gstreamer/gstplugins_bad/gst/videofilters/
Dgstscenechange.c98 static gboolean is_shot_change (int frame_number);
350 is_shot_change (int frame_number) in is_shot_change() argument
354 if (changes[i] == frame_number) in is_shot_change()
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Dgif2webp.c118 int frame_number = 0; // Whether we are processing the first frame. in main() local
292 if (frame_number == 0) { in main()
350 fprintf(stderr, "Error while adding frame #%d: %s\n", frame_number, in main()
354 ++frame_number; in main()
474 if (frame_number > 1) { in main()
/third_party/gstreamer/gstplugins_bad/ext/libde265/
Dlibde265-dec.c250 int frame_number; in gst_libde265_dec_get_buffer() local
252 frame_number = (uintptr_t) de265_get_image_user_data (img) - 1; in gst_libde265_dec_get_buffer()
253 if (G_UNLIKELY (frame_number == -1)) { in gst_libde265_dec_get_buffer()
259 frame = gst_video_decoder_get_frame (base, frame_number); in gst_libde265_dec_get_buffer()
687 int frame_number; in _gst_libde265_return_image() local
710 frame_number = (uintptr_t) de265_get_image_user_data (img) - 1; in _gst_libde265_return_image()
711 if (frame_number != -1) { in _gst_libde265_return_image()
712 out_frame = gst_video_decoder_get_frame (decoder, frame_number); in _gst_libde265_return_image()
/third_party/ffmpeg/doc/examples/
Ddecode_video.c72 printf("saving frame %3d\n", dec_ctx->frame_number); in decode()
77 snprintf(buf, sizeof(buf), "%s-%d", filename, dec_ctx->frame_number); in decode()
/third_party/flutter/engine/flutter/shell/common/
Danimator.cc214 frame_number = frame_number_]() { in RequestFrame()
218 TRACE_EVENT_ASYNC_BEGIN0("flutter", "Frame Request Pending", frame_number); in RequestFrame()
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/
Dgstdiracparse.h44 guint32 frame_number; member

1234