Home
last modified time | relevance | path

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

1234

/external/libaom/libaom/test/
Dmetadata_test.cc66 aom_image_t *current_frame = video->img(); in PreEncodeFrameHook() local
67 if (current_frame) { in PreEncodeFrameHook()
68 if (current_frame->metadata) aom_img_remove_metadata(current_frame); in PreEncodeFrameHook()
69 ASSERT_EQ(aom_img_add_metadata(current_frame, OBU_METADATA_TYPE_ITUT_T35, in PreEncodeFrameHook()
73 aom_img_add_metadata(current_frame, OBU_METADATA_TYPE_ITUT_T35, NULL, in PreEncodeFrameHook()
76 ASSERT_EQ(aom_img_add_metadata(current_frame, OBU_METADATA_TYPE_ITUT_T35, in PreEncodeFrameHook()
80 aom_img_add_metadata(current_frame, OBU_METADATA_TYPE_ITUT_T35, in PreEncodeFrameHook()
86 aom_img_add_metadata(current_frame, OBU_METADATA_TYPE_HDR_MDCV, in PreEncodeFrameHook()
92 aom_img_add_metadata(current_frame, OBU_METADATA_TYPE_HDR_CLL, in PreEncodeFrameHook()
/external/webrtc/modules/desktop_capture/win/
Dscreen_capturer_win_gdi.cc78 RTC_DCHECK(!queue_.current_frame() || !queue_.current_frame()->IsShared()); in CaptureFrame()
90 std::unique_ptr<DesktopFrame> frame = queue_.current_frame()->Share(); in CaptureFrame()
190 if (!queue_.current_frame() || in CaptureImage()
191 !queue_.current_frame()->size().equals(screen_rect.size())) { in CaptureImage()
203 queue_.current_frame()->set_top_left( in CaptureImage()
209 queue_.current_frame()->GetUnderlyingFrame()); in CaptureImage()
Dscreen_capturer_win_magnifier.cc113 std::unique_ptr<DesktopFrame> frame = queue_.current_frame()->Share(); in CaptureFrame()
328 DesktopFrame* current_frame = queue_.current_frame(); in OnCaptured() local
334 header.width != static_cast<UINT>(current_frame->size().width()) || in OnCaptured()
335 header.height != static_cast<UINT>(current_frame->size().height()) || in OnCaptured()
336 header.stride != static_cast<UINT>(current_frame->stride()) || in OnCaptured()
358 current_frame->CopyPixelsFrom( in OnCaptured()
370 if (!queue_.current_frame() || !queue_.current_frame()->size().equals(size)) { in CreateCurrentFrameIfNecessary()
Dscreen_capturer_win_directx.cc125 if (!frames_.current_frame()) { in CaptureFrame()
132 result = controller_->Duplicate(frames_.current_frame()); in CaptureFrame()
134 result = controller_->DuplicateMonitor(frames_.current_frame(), in CaptureFrame()
171 frames_.current_frame()->frame()->Share(); in CaptureFrame()
/external/libgav1/libgav1/src/
Ddecoder_impl.cc221 PostFilter* const post_filter, RefCountedBuffer* const current_frame) { in DecodeTilesFrameParallel() argument
232 current_frame->SetFrameContext(frame_scratch_buffer->symbol_decoder_context); in DecodeTilesFrameParallel()
233 SetSegmentationMap(frame_header, prev_segment_ids, current_frame); in DecodeTilesFrameParallel()
235 current_frame->SetFrameState(kFrameStateParsed); in DecodeTilesFrameParallel()
258 current_frame->SetProgress(progress_row); in DecodeTilesFrameParallel()
263 current_frame->SetFrameState(kFrameStateDecoded); in DecodeTilesFrameParallel()
420 PostFilter* const post_filter, RefCountedBuffer* const current_frame) { in DecodeTilesThreadedFrameParallel() argument
469 current_frame->SetFrameContext(frame_scratch_buffer->symbol_decoder_context); in DecodeTilesThreadedFrameParallel()
470 SetSegmentationMap(frame_header, prev_segment_ids, current_frame); in DecodeTilesThreadedFrameParallel()
471 current_frame->SetFrameState(kFrameStateParsed); in DecodeTilesThreadedFrameParallel()
[all …]
Ddecoder_state.h31 void UpdateReferenceFrames(const RefCountedBufferPtr& current_frame, in UpdateReferenceFrames()
37 reference_frame[ref_index] = current_frame; in UpdateReferenceFrames()
/external/flac/src/libFLAC/
Dogg_encoder_aspect.c112 …, const FLAC__byte buffer[], size_t bytes, uint32_t samples, uint32_t 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/libaom/libaom/av1/encoder/
Dratectrl.c427 if (cm->current_frame.frame_type != KEY_FRAME && !cpi->ppi->use_svc && in adjust_q_cbr()
532 if (cpi->common.current_frame.frame_type == KEY_FRAME) { in get_rate_correction_factor()
590 if (cpi->common.current_frame.frame_type == KEY_FRAME) { in set_rate_correction_factor()
651 cm->current_frame.frame_type, cm->quant_params.base_qindex, MBs, in av1_rc_update_rate_correction_factors()
711 : av1_rc_bits_per_mb(cm->current_frame.frame_type, q, in get_bits_per_mb()
851 const unsigned int curr_frame = cpi->common.current_frame.frame_number; in calc_active_worst_quality_no_stats_vbr()
858 if (cpi->common.current_frame.frame_type == KEY_FRAME) { in calc_active_worst_quality_no_stats_vbr()
891 if (cm->current_frame.frame_type == KEY_FRAME) return rc->worst_quality; in calc_active_worst_quality_no_stats_cbr()
897 ambient_qp = (cm->current_frame.frame_number < 5) in calc_active_worst_quality_no_stats_cbr()
941 const CurrentFrame *const current_frame = &cm->current_frame; in calc_active_best_quality_no_stats_cbr() local
[all …]
Dencoder_utils.c318 if (cm->current_frame.frame_type == KEY_FRAME) { in configure_static_seg_features()
636 if (cm->current_frame.frame_type == KEY_FRAME) { in av1_update_film_grain_parameters()
807 if ((cm->current_frame.frame_type == KEY_FRAME && cm->show_frame) || in av1_setup_frame()
956 const int is_key_frame = cm->current_frame.frame_type == KEY_FRAME; in av1_determine_sc_tools_with_encoding()
1060 CurrentFrame *const current_frame = &cm->current_frame; in av1_finalize_encoded_frame() local
1083 if (current_frame->frame_type != INTER_FRAME) in av1_finalize_encoded_frame()
1301 const CurrentFrame *const current_frame = &cm->current_frame; in av1_dump_filtered_recon_frames() local
1305 printf("Frame %d is not ready.\n", current_frame->frame_number); in av1_dump_filtered_recon_frames()
1321 current_frame->frame_number, current_frame->order_hint, cm->show_frame, in av1_dump_filtered_recon_frames()
1333 current_frame->frame_number); in av1_dump_filtered_recon_frames()
[all …]
Dencodeframe.c478 cm->current_frame.frame_type != KEY_FRAME) { in encode_nonrd_sb()
1077 cm->current_frame.display_order_hint); in set_rel_frame_dist()
1097 const int cur_display_order_hint = cm->current_frame.display_order_hint; in refs_are_one_sided()
1112 const SkipModeInfo *const skip_mode_info = &cm->current_frame.skip_mode_info; in get_skip_mode_ref_offsets()
1130 if (!cm->current_frame.skip_mode_info.skip_mode_allowed) return 0; in check_skip_mode_enabled()
1134 const int cur_offset = (int)cm->current_frame.order_hint; in check_skip_mode_enabled()
1155 cm->current_frame.skip_mode_info.ref_frame_idx_0 + LAST_FRAME, in check_skip_mode_enabled()
1156 cm->current_frame.skip_mode_info.ref_frame_idx_1 + LAST_FRAME in check_skip_mode_enabled()
1183 cm->current_frame.display_order_hint; in setup_prune_ref_frame_mask()
1453 cm->current_frame.skip_mode_info.skip_mode_flag = in encode_frame_internal()
[all …]
Dencoder.c1303 cm->current_frame.frame_number = 0; in av1_create_compressor()
1540 if (cm->current_frame.frame_number > 0) { in av1_remove_compressor()
2312 if (cm->current_frame.frame_type == KEY_FRAME) copy_frame_prob_info(cpi);
2511 if (cm->current_frame.frame_type == KEY_FRAME) copy_frame_prob_info(cpi);
3227 CurrentFrame *const current_frame = &cm->current_frame; local
3246 cm->cur_frame->frame_type = current_frame->frame_type;
3260 cpi->last_frame_type = current_frame->frame_type;
3278 current_frame->frame_type == KEY_FRAME) {
3308 ++current_frame->frame_number;
3358 current_frame->frame_type != KEY_FRAME) {
[all …]
Dbitstream.c237 if (!cm->current_frame.skip_mode_info.skip_mode_flag) return 0; in write_skip_mode()
515 if (cm->current_frame.reference_mode == REFERENCE_MODE_SELECT) { in write_ref_frames()
520 (cm->current_frame.reference_mode == SINGLE_REFERENCE)); in write_ref_frames()
1167 if (cpi->common.current_frame.reference_mode != COMPOUND_REFERENCE && in pack_inter_mode_mvs()
1217 assert(cpi->common.current_frame.reference_mode != SINGLE_REFERENCE && in pack_inter_mode_mvs()
1323 if (cm->current_frame.frame_number == FRAME_TO_CHECK && in enc_dump_logs()
1358 cm->current_frame.frame_number, mi_row, mi_col, mbmi->skip_mode, in enc_dump_logs()
2491 if (cm->current_frame.frame_type == INTER_FRAME) in write_film_grain_params()
2805 printf("\nFrame=%d: \n", cm->current_frame.frame_number); in check_frame_refs_short_signaling()
2826 CurrentFrame *const current_frame = &cm->current_frame; in write_uncompressed_header_obu() local
[all …]
Daq_cyclicrefresh.c86 rc, cpi->common.current_frame.frame_type, q, rate_factor, in compute_deltaq()
97 const FRAME_TYPE frame_type = cm->current_frame.frame_type; in av1_cyclic_refresh_estimate_bits_at_q()
142 av1_rc_bits_per_mb(cm->current_frame.frame_type, i, in av1_cyclic_refresh_rc_bits_per_mb()
145 weight_segment * av1_rc_bits_per_mb(cm->current_frame.frame_type, in av1_cyclic_refresh_rc_bits_per_mb()
479 if (cm->current_frame.frame_type == KEY_FRAME) { in av1_cyclic_refresh_setup()
/external/python/cpython3/Lib/
Dpickle.py207 self.current_frame = None
210 self.current_frame = io.BytesIO()
213 if self.current_frame and self.current_frame.tell() > 0:
215 self.current_frame = None
218 if self.current_frame:
219 f = self.current_frame
239 self.current_frame = io.BytesIO()
242 if self.current_frame:
243 return self.current_frame.write(data)
249 if self.current_frame:
[all …]
/external/webrtc/rtc_tools/frame_analyzer/
Dreference_less_video_analysis_lib.cc112 const rtc::scoped_refptr<webrtc::I420BufferInterface> current_frame = in compute_metrics() local
116 double result_psnr = webrtc::test::Psnr(current_frame, next_frame); in compute_metrics()
117 double result_ssim = webrtc::test::Ssim(current_frame, next_frame); in compute_metrics()
/external/flac/src/libFLAC/include/private/
Dogg_encoder_aspect.h60 …, const FLAC__byte buffer[], size_t bytes, uint32_t samples, uint32_t current_frame, void *client_…
62 …, const FLAC__byte buffer[], size_t bytes, uint32_t samples, uint32_t current_frame, FLAC__bool is…
/external/webrtc/modules/desktop_capture/linux/
Dscreen_capturer_x11.cc231 RTC_DCHECK(!queue_.current_frame() || !queue_.current_frame()->IsShared()); in CaptureFrame()
249 if (!queue_.current_frame()) { in CaptureFrame()
344 std::unique_ptr<SharedDesktopFrame> frame = queue_.current_frame()->Share(); in CaptureScreen()
426 DesktopFrame* current = queue_.current_frame(); in SynchronizeFrame()
/external/libgav1/libgav1/tests/fuzzer/
Dobu_parser_fuzzer.cc51 libgav1::RefCountedBufferPtr current_frame; in ParseObu() local
54 if (parser.ParseOneFrame(&current_frame) != libgav1::kStatusOk) break; in ParseObu()
/external/flac/fuzzer/
Dflac_enc_fuzzer.cpp70 unsigned samples, unsigned current_frame, void *client_data);
83 unsigned current_frame, in flacEncoderWriteCallback() argument
89 (void)current_frame; in flacEncoderWriteCallback()
/external/flac/include/FLAC++/
Dencoder.h185 …te_callback(const FLAC__byte buffer[], size_t bytes, uint32_t samples, uint32_t current_frame) = 0;
203 …, const FLAC__byte buffer[], size_t bytes, uint32_t samples, uint32_t current_frame, void *client_…
251 … write_callback(const FLAC__byte buffer[], size_t bytes, uint32_t samples, uint32_t current_frame);
/external/flac/src/libFLAC++/
Dstream_encoder.cpp405 …, const FLAC__byte buffer[], size_t bytes, uint32_t samples, uint32_t current_frame, void *client_… in write_callback_() argument
411 return instance->write_callback(buffer, bytes, samples, current_frame); in write_callback_()
494 …::write_callback(const FLAC__byte buffer[], size_t bytes, uint32_t samples, uint32_t current_frame) in write_callback() argument
496 (void)buffer, (void)bytes, (void)samples, (void)current_frame; in write_callback()
/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/flac/src/test_libs_common/
Dfile_utils_flac.c55 …, const FLAC__byte buffer[], size_t bytes, uint32_t samples, uint32_t current_frame, void *client_… in encoder_write_callback_() argument
59 (void)encoder, (void)samples, (void)current_frame; in encoder_write_callback_()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c259 mismatch_check_block_tx(dst, pd->dst.stride, cm->current_frame.order_hint, in inverse_transform_inter_block()
873 cm->current_frame.order_hint, plane, pixel_c, in predict_inter_block()
3849 if (cm->current_frame.frame_type == INTER_FRAME) in av1_read_film_grain_params()
4365 int refresh_frame_flags = cm->current_frame.refresh_frame_flags; in update_ref_frame_id()
4380 cm->current_frame.frame_type = KEY_FRAME; in show_existing_frame_reset()
4382 cm->current_frame.refresh_frame_flags = (1 << REF_FRAMES) - 1; in show_existing_frame_reset()
4427 CurrentFrame *const current_frame = &cm->current_frame; in read_uncompressed_header() local
4444 current_frame->frame_type = KEY_FRAME; in read_uncompressed_header()
4501 current_frame->order_hint = frame_to_show->order_hint; in read_uncompressed_header()
4521 current_frame->refresh_frame_flags = 0; in read_uncompressed_header()
[all …]
/external/webrtc/modules/desktop_capture/mac/
Dscreen_capturer_mac.mm201 RTC_DCHECK(!queue_.current_frame() || !queue_.current_frame()->IsShared());
235 if (!queue_.current_frame()) queue_.ReplaceCurrentFrame(SharedDesktopFrame::Wrap(CreateFrame()));
237 DesktopFrame* current_frame = queue_.current_frame();
239 if (!CgBlit(*current_frame, region)) {
243 std::unique_ptr<DesktopFrame> new_frame = queue_.current_frame()->Share();

1234