Home
last modified time | relevance | path

Searched refs:current_frame (Results 1 – 25 of 44) sorted by relevance

12

/external/webrtc/webrtc/modules/desktop_capture/win/
Dscreen_capturer_win_gdi.cc95 const DesktopFrame* current_frame = queue_.current_frame(); in Capture() local
97 if (last_frame && last_frame->size().equals(current_frame->size())) { in Capture()
101 (differ_->width() != current_frame->size().width()) || in Capture()
102 (differ_->height() != current_frame->size().height()) || in Capture()
103 (differ_->bytes_per_row() != current_frame->stride())) { in Capture()
104 differ_.reset(new Differ(current_frame->size().width(), in Capture()
105 current_frame->size().height(), in Capture()
107 current_frame->stride())); in Capture()
112 differ_->CalcDirtyRegion(last_frame->data(), current_frame->data(), in Capture()
118 helper_.InvalidateScreen(current_frame->size()); in Capture()
[all …]
Dscreen_capturer_win_magnifier.cc132 const DesktopFrame* current_frame = queue_.current_frame(); in Capture() local
134 if (last_frame && last_frame->size().equals(current_frame->size())) { in Capture()
137 if (!differ_.get() || (differ_->width() != current_frame->size().width()) || in Capture()
138 (differ_->height() != current_frame->size().height()) || in Capture()
139 (differ_->bytes_per_row() != current_frame->stride())) { in Capture()
140 differ_.reset(new Differ(current_frame->size().width(), in Capture()
141 current_frame->size().height(), in Capture()
143 current_frame->stride())); in Capture()
149 last_frame->data(), current_frame->data(), &region); in Capture()
154 helper_.InvalidateScreen(current_frame->size()); in Capture()
[all …]
/external/webrtc/webrtc/modules/video_processing/
Dframe_preprocessor.cc112 const VideoFrame* current_frame = &frame; in PreprocessFrame() local
114 denoiser_->DenoiseFrame(*current_frame, &denoised_frame_); in PreprocessFrame()
115 current_frame = &denoised_frame_; in PreprocessFrame()
118 if (spatial_resampler_->ApplyResample(current_frame->width(), in PreprocessFrame()
119 current_frame->height())) { in PreprocessFrame()
120 if (spatial_resampler_->ResampleFrame(*current_frame, &resampled_frame_) != in PreprocessFrame()
124 current_frame = &resampled_frame_; in PreprocessFrame()
131 content_metrics_ = ca_->ComputeContentMetrics(*current_frame); in PreprocessFrame()
134 return current_frame; in PreprocessFrame()
/external/libaom/libaom/av1/encoder/
Dratectrl.c371 if (cpi->common.current_frame.frame_type == KEY_FRAME) { in get_rate_correction_factor()
398 if (cpi->common.current_frame.frame_type == KEY_FRAME) { in set_rate_correction_factor()
439 cpi->common.current_frame.frame_type, cm->base_qindex, MBs, in av1_rc_update_rate_correction_factors()
494 : av1_rc_bits_per_mb(cm->current_frame.frame_type, q, in get_bits_per_mb()
619 const unsigned int curr_frame = cpi->common.current_frame.frame_number; in calc_active_worst_quality_one_pass_vbr()
622 if (cpi->common.current_frame.frame_type == KEY_FRAME) { in calc_active_worst_quality_one_pass_vbr()
654 if (cm->current_frame.frame_type == KEY_FRAME) return rc->worst_quality; in calc_active_worst_quality_one_pass_cbr()
660 ambient_qp = (cm->current_frame.frame_number < 5) in calc_active_worst_quality_one_pass_cbr()
700 const CurrentFrame *const current_frame = &cm->current_frame; in rc_pick_q_and_bounds_one_pass_cbr() local
719 } else if (current_frame->frame_number > 0) { in rc_pick_q_and_bounds_one_pass_cbr()
[all …]
Daq_cyclicrefresh.c124 av1_compute_qdelta_by_rate(rc, cpi->common.current_frame.frame_type, q, in compute_deltaq()
150 av1_estimate_bits_at_q(cm->current_frame.frame_type, in av1_cyclic_refresh_estimate_bits_at_q()
154 cm->current_frame.frame_type, in av1_cyclic_refresh_estimate_bits_at_q()
158 cm->current_frame.frame_type, in av1_cyclic_refresh_estimate_bits_at_q()
187 av1_rc_bits_per_mb(cm->current_frame.frame_type, i, in av1_cyclic_refresh_rc_bits_per_mb()
190 weight_segment * av1_rc_bits_per_mb(cm->current_frame.frame_type, in av1_cyclic_refresh_rc_bits_per_mb()
442 if (cm->current_frame.frame_number == 0) cr->low_content_avg = 0.0; in av1_cyclic_refresh_setup()
448 if (cm->current_frame.frame_type == KEY_FRAME) { in av1_cyclic_refresh_setup()
Dencode_strategy.c146 cpi->common.current_frame.frame_type == KEY_FRAME) { in update_keyframe_counters()
180 cpi->common.current_frame.frame_type == KEY_FRAME) { in update_twopass_gf_group_index()
387 if (cm->current_frame.frame_type == KEY_FRAME) { in update_fb_of_context_type()
396 if (cm->current_frame.refresh_frame_flags & (1 << i)) { in update_fb_of_context_type()
592 if (cm->current_frame.frame_number > 0) { in choose_frame_source()
615 if (cpi->common.current_frame.frame_number == 0) return 0; in allow_show_existing()
660 if (cpi->common.current_frame.frame_type == KEY_FRAME) { in update_frame_flags()
713 cm->current_frame.frame_number, ref_frame); in dump_ref_frame_images()
741 if (cm->current_frame.frame_refs_short_signaling) { in update_ref_frame_map()
749 if ((cm->current_frame.frame_type == KEY_FRAME && cm->show_frame) || in update_ref_frame_map()
[all …]
Dfirstpass.c325 CurrentFrame *const current_frame = &cm->current_frame; in av1_first_pass() local
590 if ((current_frame->frame_number > 1) && gld_yv12 != NULL) { in av1_first_pass()
762 fps.frame = current_frame->frame_number; in av1_first_pass()
814 ((current_frame->frame_number > 0) && in av1_first_pass()
836 if (current_frame->frame_number == 0 && in av1_first_pass()
848 (int)current_frame->frame_number); in av1_first_pass()
850 if (current_frame->frame_number == 0) in av1_first_pass()
859 ++current_frame->frame_number; in av1_first_pass()
Dbitstream.c232 if (!cm->current_frame.skip_mode_info.skip_mode_flag) return 0; in write_skip_mode()
511 if (cm->current_frame.reference_mode == REFERENCE_MODE_SELECT) { in write_ref_frames()
516 (cm->current_frame.reference_mode == SINGLE_REFERENCE)); in write_ref_frames()
1113 if (cpi->common.current_frame.reference_mode != COMPOUND_REFERENCE && in pack_inter_mode_mvs()
1164 assert(cpi->common.current_frame.reference_mode != SINGLE_REFERENCE && in pack_inter_mode_mvs()
1284 if (cm->current_frame.frame_number == FRAME_TO_CHECK && in enc_dump_logs()
1319 cm->current_frame.frame_number, mi_row, mi_col, mbmi->skip_mode, in enc_dump_logs()
2465 if (cm->current_frame.frame_type == INTER_FRAME) in write_film_grain_params()
2780 printf("\nFrame=%d: \n", cm->current_frame.frame_number); in check_frame_refs_short_signaling()
2801 CurrentFrame *const current_frame = &cm->current_frame; in write_uncompressed_header_obu() local
[all …]
Dencoder.c360 if (cm->current_frame.frame_type == KEY_FRAME && cm->show_frame) { in setup_frame()
497 if (cm->current_frame.frame_type == KEY_FRAME) { in update_film_grain_parameters()
644 if (cm->current_frame.frame_type == KEY_FRAME) { in configure_static_seg_features()
2607 cm->current_frame.frame_number = 0; in av1_create_compressor()
2987 if (cm->current_frame.frame_number > 0) { in av1_remove_compressor()
3756 if (cpi->common.current_frame.frame_type == KEY_FRAME) in calculate_next_resize_scale()
3813 if (cpi->common.current_frame.frame_type == KEY_FRAME) in calculate_next_superres_scale()
4140 CurrentFrame *const current_frame = &cm->current_frame; in finalize_encoded_frame() local
4163 if (current_frame->frame_type != INTER_FRAME) in finalize_encoded_frame()
4244 if ((cm->current_frame.frame_type == KEY_FRAME) && in recode_loop_update_q()
[all …]
Daq_variance.c80 &cpi->rc, cm->current_frame.frame_type, cm->base_qindex, in av1_vaq_frame_setup()
195 &cpi->rc, cm->current_frame.frame_type, cm->base_qindex, in av1_compute_deltaq_from_energy_level()
Dpicklpf.c232 (cm->current_frame.frame_type == KEY_FRAME) in av1_pick_filter_level()
249 cm->current_frame.frame_type == KEY_FRAME) in av1_pick_filter_level()
/external/flac/libFLAC/
Dogg_encoder_aspect.c112 …, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, FLAC__bool is… in FLAC__ogg_encoder_aspect_write_callback_wrapper() argument
198 …if(write_callback(encoder, aspect->page.header, aspect->page.header_len, 0, current_frame, client_… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
200 …if(write_callback(encoder, aspect->page.body, aspect->page.body_len, 0, current_frame, client_data… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
206 …if(write_callback(encoder, aspect->page.header, aspect->page.header_len, 0, current_frame, client_… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
208 …if(write_callback(encoder, aspect->page.body, aspect->page.body_len, 0, current_frame, client_data… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
213 …else if(is_metadata && current_frame == 0 && samples == 0 && bytes == 4 && 0 == memcmp(buffer, FLA… in FLAC__ogg_encoder_aspect_write_callback_wrapper()
/external/v8/tools/
Dlldb_commands.py17 def current_frame(debugger): function
21 current_frame(debugger).EvaluateExpression(cmd)
46 param = str(current_frame(debugger).FindRegister("pc").value)
64 frame = current_frame(debugger)
/external/python/cpython3/Lib/
Dpickle.py191 self.current_frame = None
194 self.current_frame = io.BytesIO()
197 if self.current_frame and self.current_frame.tell() > 0:
199 self.current_frame = None
202 if self.current_frame:
203 f = self.current_frame
223 self.current_frame = io.BytesIO()
226 if self.current_frame:
227 return self.current_frame.write(data)
233 if self.current_frame:
[all …]
/external/flac/libFLAC/include/private/
Dogg_encoder_aspect.h60 …, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, void *client_…
62 …, const FLAC__byte buffer[], size_t bytes, unsigned samples, unsigned current_frame, FLAC__bool is…
/external/v8/src/arm64/
Ddeoptimizer-arm64.cc235 Register current_frame = x2; in Generate() local
237 __ Ldr(current_frame, MemOperand(x0, kPointerSize, PostIndex)); in Generate()
238 __ Ldr(x3, MemOperand(current_frame, FrameDescription::frame_size_offset())); in Generate()
242 __ Add(x7, current_frame, FrameDescription::frame_content_offset()); in Generate()
265 __ Mov(last_output_frame, current_frame); in Generate()
/external/webrtc/webrtc/modules/desktop_capture/
Dscreen_capturer_x11.cc255 if (!queue_.current_frame()) { in Capture()
262 DesktopFrame* frame = queue_.current_frame(); in Capture()
310 DesktopFrame* frame = queue_.current_frame()->Share(); in CaptureScreen()
401 DesktopFrame* current = queue_.current_frame(); in SynchronizeFrame()
Dscreen_capture_frame_queue.h54 SharedDesktopFrame* current_frame() const { in current_frame() function
Dscreen_capturer_mac.mm412 if (!queue_.current_frame())
415 DesktopFrame* current_frame = queue_.current_frame();
421 if (!CgBlitPostLion(*current_frame, region)) {
429 GlBlitFast(*current_frame, region);
433 GlBlitSlow(*current_frame);
436 CgBlitPreLion(*current_frame, region);
439 DesktopFrame* new_frame = queue_.current_frame()->Share();
/external/google-breakpad/src/client/ios/handler/
Dios_exception_minidump_generator.mm181 for (size_t current_frame = frame_count - 1;
182 current_frame > 0;
183 --current_frame) {
189 lr = [[return_addresses_ objectAtIndex:current_frame] unsignedIntegerValue];
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c271 mismatch_check_block_tx(dst, pd->dst.stride, cm->current_frame.order_hint, in inverse_transform_inter_block()
1091 cm->current_frame.order_hint, plane, pixel_c, in predict_inter_block()
4233 if (cm->current_frame.frame_type == INTER_FRAME) in av1_read_film_grain_params()
4753 for (int mask = cm->current_frame.refresh_frame_flags; mask; mask >>= 1) { in generate_next_ref_frame_map()
4777 int refresh_frame_flags = cm->current_frame.refresh_frame_flags; in update_ref_frame_id()
4792 cm->current_frame.frame_type = KEY_FRAME; in show_existing_frame_reset()
4794 cm->current_frame.refresh_frame_flags = (1 << REF_FRAMES) - 1; in show_existing_frame_reset()
4851 CurrentFrame *const current_frame = &cm->current_frame; in read_uncompressed_header() local
4861 cm->last_frame_type = current_frame->frame_type; in read_uncompressed_header()
4866 current_frame->frame_type = KEY_FRAME; in read_uncompressed_header()
[all …]
Dinspection.c45 fd->frame_number = cm->current_frame.frame_number; in ifd_inspect()
47 fd->frame_type = cm->current_frame.frame_type; in ifd_inspect()
Ddecoder.c108 cm->current_frame.frame_number = 0; in av1_decoder_create()
362 cm->current_frame.refresh_frame_flags == 0)); in swap_frame_buffers()
369 for (mask = cm->current_frame.refresh_frame_flags; mask; mask >>= 1) { in swap_frame_buffers()
Ddecodemv.c397 if (!cm->current_frame.skip_mode_info.skip_mode_flag) return 0; in read_skip_mode()
885 if (cm->current_frame.reference_mode == REFERENCE_MODE_SELECT) { in read_block_reference_mode()
891 assert(cm->current_frame.reference_mode == SINGLE_REFERENCE); in read_block_reference_mode()
892 return cm->current_frame.reference_mode; in read_block_reference_mode()
910 ref_frame[0] = LAST_FRAME + cm->current_frame.skip_mode_info.ref_frame_idx_0; in set_ref_frames_for_skip_mode()
911 ref_frame[1] = LAST_FRAME + cm->current_frame.skip_mode_info.ref_frame_idx_1; in set_ref_frames_for_skip_mode()
1234 if (cm->current_frame.frame_number == FRAME_TO_CHECK && cm->show_frame == 1) { in dec_dump_logs()
1241 cm->current_frame.frame_number, mi_row, mi_col, mbmi->skip_mode, in dec_dump_logs()
1431 assert(cm->current_frame.reference_mode != SINGLE_REFERENCE && in read_inter_block_mode_info()
/external/python/cpython2/Python/
Dceval.c4137 PyFrameObject *current_frame = PyEval_GetFrame(); in PyEval_GetBuiltins() local
4138 if (current_frame == NULL) in PyEval_GetBuiltins()
4141 return current_frame->f_builtins; in PyEval_GetBuiltins()
4147 PyFrameObject *current_frame = PyEval_GetFrame(); in PyEval_GetLocals() local
4148 if (current_frame == NULL) in PyEval_GetLocals()
4150 PyFrame_FastToLocals(current_frame); in PyEval_GetLocals()
4151 return current_frame->f_locals; in PyEval_GetLocals()
4157 PyFrameObject *current_frame = PyEval_GetFrame(); in PyEval_GetGlobals() local
4158 if (current_frame == NULL) in PyEval_GetGlobals()
4161 return current_frame->f_globals; in PyEval_GetGlobals()
[all …]

12