Home
last modified time | relevance | path

Searched refs:frame_count (Results 1 – 25 of 53) sorted by relevance

123

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dvideo_writer.c20 int frame_count; member
24 int frame_count) { in write_header() argument
31 ivf_write_file_header(file, &cfg, info->codec_fourcc, frame_count); in write_header()
47 writer->frame_count = 0; in vpx_video_writer_open()
63 write_header(writer->file, &writer->info, writer->frame_count); in vpx_video_writer_close()
77 ++writer->frame_count; in vpx_video_writer_write_frame()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Dset_maps.c158 int frame_count = 0; in main() local
219 ++frame_count; in main()
221 if (frame_count == 22 && encoder->fourcc == VP8_FOURCC) { in main()
223 } else if (frame_count == 33) { in main()
225 } else if (frame_count == 44) { in main()
229 encode_frame(&codec, &raw, frame_count, writer); in main()
234 printf("Processed %d frames.\n", frame_count); in main()
Dtwopass_encoder.c184 int frame_count = 0; in main() local
200 ++frame_count; in main()
203 get_frame_stats(&codec, &raw, frame_count, 1, 0, VPX_DL_BEST_QUALITY, in main()
206 encode_frame(&codec, &raw, frame_count, 1, 0, VPX_DL_BEST_QUALITY, in main()
212 get_frame_stats(&codec, NULL, frame_count, 1, 0, VPX_DL_BEST_QUALITY, in main()
219 printf("Pass %d complete. Processed %d frames.\n", pass + 1, frame_count); in main()
Dvp8cx_set_ref.c99 int frame_count = 0; in main() local
164 if (frame_count + 1 == update_frame_num) { in main()
172 encode_frame(&codec, &raw, frame_count++, writer); in main()
178 printf("Processed %d frames.\n", frame_count); in main()
Dsimple_encoder.c153 int frame_count = 0; in main() local
235 if (keyframe_interval > 0 && frame_count % keyframe_interval == 0) in main()
237 encode_frame(&codec, &raw, frame_count++, flags, writer); in main()
243 printf("Processed %d frames.\n", frame_count); in main()
/hardware/intel/img/psb_video/src/mrst/
Dlnc_H264ES.c225 ctx->obj_context->frame_count = 0; in lnc__H264ES_process_sequence_param()
231 if ((ctx->obj_context->frame_count != 0) && in lnc__H264ES_process_sequence_param()
236 ctx->obj_context->frame_count = 0; in lnc__H264ES_process_sequence_param()
347 if ((ctx->obj_context->frame_count % ctx->sRCParams.IntraFreq) == 0) { in lnc__H264ES_process_picture_param()
349 intra_cnt = ctx->obj_context->frame_count / ctx->sRCParams.IntraFreq; in lnc__H264ES_process_picture_param()
362 if (ctx->obj_context->frame_count > 0) in lnc__H264ES_process_picture_param()
365 ctx->obj_context->frame_count = 0; in lnc__H264ES_process_picture_param()
370 if (!ctx->obj_context->frame_count) { in lnc__H264ES_process_picture_param()
484 if (ctx->force_idr_h264 || (ctx->obj_context->frame_count == 0)) { in lnc__H264ES_process_slice_param()
505 ctx->obj_context->frame_count, in lnc__H264ES_process_slice_param()
[all …]
Dlnc_H263ES.c205 if ((ctx->obj_context->frame_count != 0) && in lnc__H263ES_process_sequence_param()
297 ctx->obj_context->frame_count, in lnc__H263ES_process_picture_param()
378 ctx->obj_context->frame_count); in lnc__H263ES_process_slice_param()
386 …if ((ctx->obj_context->frame_count == 0) && (pBuffer->start_row_number == 0) && pBuffer->slice_fla… in lnc__H263ES_process_slice_param()
402 ctx->obj_context->frame_count > 0, in lnc__H263ES_process_slice_param()
411 ctx->obj_context->frame_count, in lnc__H263ES_process_slice_param()
417 ctx->obj_context->frame_count, ctx->obj_context->slice_count); in lnc__H263ES_process_slice_param()
Dlnc_MPEG4ES.c214 if ((ctx->obj_context->frame_count != 0) && in lnc__MPEG4ES_process_sequence_param()
372 …if ((ctx->obj_context->frame_count == 0) && (pBuffer->start_row_number == 0) && pBuffer->slice_fla… in lnc__MPEG4ES_process_slice_param()
388 ctx->obj_context->frame_count > 0, in lnc__MPEG4ES_process_slice_param()
396 ctx->obj_context->frame_count, in lnc__MPEG4ES_process_slice_param()
402 ctx->obj_context->frame_count, ctx->obj_context->slice_count); in lnc__MPEG4ES_process_slice_param()
Dlnc_hostcode.c225 if (ctx->obj_context->frame_count == 0) { /* first picture */ in lnc_BeginPicture()
234 lnc_cmdbuf_insert_command(cmdbuf, MTX_CMDID_START_PIC, 3, ctx->obj_context->frame_count); in lnc_BeginPicture()
288 if (ctx->obj_context->frame_count == 0) in lnc_RenderPictureParameter()
404 if (ctx->obj_context->frame_count > 0) { /* reuse in_params parameter */ in lnc_RenderPictureParameter()
525 ctx->obj_context->frame_count, in lnc_RedoRenderPictureSkippedFrame()
528 (ctx->obj_context->frame_count == 0), in lnc_RedoRenderPictureSkippedFrame()
639 if (ctx->obj_context->frame_count == 0) in lnc_EndPicture()
/hardware/intel/img/psb_video/src/
Dpnw_H264ES.c228 ctx->obj_context->frame_count = 0; in pnw__H264ES_process_sequence_param()
288 && ((ctx->obj_context->frame_count + 1) % ctx->sRCParams.IntraFreq) != 0 in pnw__H264ES_process_sequence_param()
504 if (ctx->obj_context->frame_count == 0) { in pnw__H264ES_insert_SEI_pic_timing()
511 ui32cpb_removal_delay = 2 * ctx->obj_context->frame_count; in pnw__H264ES_insert_SEI_pic_timing()
627 if ((ctx->obj_context->frame_count % ctx->sRCParams.IntraFreq) == 0) { in pnw__H264ES_process_picture_param()
629 intra_cnt = ctx->obj_context->frame_count / ctx->sRCParams.IntraFreq; in pnw__H264ES_process_picture_param()
642 if (ctx->obj_context->frame_count > 0) in pnw__H264ES_process_picture_param()
645 ctx->obj_context->frame_count = 0; in pnw__H264ES_process_picture_param()
654 if (!(ctx->obj_context->frame_count)) { in pnw__H264ES_process_picture_param()
742 if (ctx->force_idr_h264 || (ctx->obj_context->frame_count == 0)) { in pnw__H264ES_encode_one_slice()
[all …]
Dpnw_H263ES.c232 && ((ctx->obj_context->frame_count + 1) % ctx->sRCParams.IntraFreq) != 0 in pnw__H263ES_process_sequence_param()
320 ctx->obj_context->frame_count, in pnw__H263ES_process_picture_param()
400 ctx->obj_context->frame_count); in pnw__H263ES_process_slice_param()
433 ctx->obj_context->frame_count > 0, in pnw__H263ES_process_slice_param()
442 ctx->obj_context->frame_count, in pnw__H263ES_process_slice_param()
447 ctx->obj_context->frame_count, ctx->obj_context->slice_count); in pnw__H263ES_process_slice_param()
Dpnw_MPEG4ES.c234 && ((ctx->obj_context->frame_count + 1) % ctx->sRCParams.IntraFreq) != 0 in pnw__MPEG4ES_process_sequence_param()
443 ctx->obj_context->frame_count > 0, in pnw__MPEG4ES_process_slice_param()
451 ctx->obj_context->frame_count, in pnw__MPEG4ES_process_slice_param()
456 ctx->obj_context->frame_count, ctx->obj_context->slice_count); in pnw__MPEG4ES_process_slice_param()
Dvsp_compose.c79 if (ctx->obj_context->frame_count == 0) in vsp_compose_process_pipeline_param()
197 if (obj_context->frame_count == 0) { in vsp_compose_process_pipeline_param()
Dpnw_jpeg.c260 …debug_msg(VIDEO_DEBUG_GENERAL, "pnw_jpeg_BeginPicture: Frame %d\n", ctx->obj_context->frame_count); in pnw_jpeg_BeginPicture()
297 if (ctx->obj_context->frame_count == 0) { /* first picture */ in pnw_jpeg_BeginPicture()
618 ctx->obj_context->frame_count++; in pnw_jpeg_EndPicture()
Dpsb_drv_video.h283 unsigned int frame_count; member
446 uint32_t frame_count; member
Dpsb_drv_video.c1316 obj_context->frame_count = 0; in psb_CreateContext()
1541 obj_buffer->last_used = obj_context->frame_count; in psb__suspend_buffer()
1727 …} else if ((obj_buffer->last_used == obj_context->frame_count) && (unused_count < MAX_UNUSED_BUFFE… in psb__CreateBuffer()
1731 } else if (obj_context->frame_count - obj_buffer->last_used < 5) { in psb__CreateBuffer()
2158 render_target, obj_context->frame_count); in psb_BeginPicture()
2159 psb__trace_message("------Trace frame %d------\n", obj_context->frame_count); in psb_BeginPicture()
2245 drv_debug_msg(VIDEO_DEBUG_GENERAL, "---EndPicture for frame %d --\n", obj_context->frame_count); in psb_EndPicture()
2248 obj_context->frame_count++; in psb_EndPicture()
2250 psb__trace_message("FrameCount = %03d\n", obj_context->frame_count); in psb_EndPicture()
2251 drv_debug_msg(VIDEO_DEBUG_GENERAL, "FrameCount = %03d\n", obj_context->frame_count); in psb_EndPicture()
/hardware/intel/common/libva/test/encode/
Dh264encode.c116 static unsigned int frame_count = 60; variable
764 frame_count = atoi(optarg); in process_cmdline()
874 if (frame_count == 0) in process_cmdline()
875 frame_count = srcyuv_frames; in process_cmdline()
1431 pic_param.last_picture = (current_frame_encoding == frame_count); in render_picture()
1938 if (++frame_coded >= frame_count) in storage_task_thread()
1971 … for (current_frame_encoding = 0; current_frame_encoding < frame_count; current_frame_encoding++) { in encode_frames()
2064 frame_width, frame_height, frame_count); in print_input()
2098 min_size = MIN(srcyuv_frames, frame_count) * frame_width * frame_height * 1.5; in calc_PSNR()
2132 double psnr = 0, total_size = frame_width * frame_height * 1.5 * frame_count; in print_performance()
[all …]
/hardware/intel/img/psb_video/src/x11/
Dpsb_x11.h97 unsigned int frame_count; member
Dpsb_x11.c292 output->frame_count = 0; in psb_x11_output_init()
537 driver_data->frame_count++; in psb_PutSurface()
Dpsb_coverlay.c541 if (output->frame_count % 500 == 0 || driver_data->xrandr_update) { in psb_repaint_colorkey()
551 if (output->frame_count == 500) in psb_repaint_colorkey()
552 output->frame_count = 0; in psb_repaint_colorkey()
918 if (output->frame_count % 500 == 0 || driver_data->xrandr_update) { in psb_putsurface_coverlay()
1296 output->frame_count++; in psb_putsurface_coverlay()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Ddatarate_test.cc163 const int frame_count = 40; in TEST_P() local
165 30, 1, 0, frame_count); in TEST_P()
171 vpx_codec_pts_t last_drop = frame_count; in TEST_P()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/
Dvp9_dx_iface.c316 int frames_this_pts, frame_count = 0; in vp9_decode() local
342 uint32_t this_sz = sizes[frame_count]; in vp9_decode()
350 frame_count++; in vp9_decode()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dtemporal_filter.c225 int frame_count, in vp8_temporal_filter_iterate_c() argument
283 for (frame = 0; frame < frame_count; frame++) in vp8_temporal_filter_iterate_c()
/hardware/intel/img/psb_video/src/android/
Dpsb_output_android.c304 if ((driver_data->frame_count % driver_data->outputmethod_checkinterval) != 0) {
538 driver_data->frame_count++; in psb_PutSurface()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_temporal_filter.c191 int frame_count, in temporal_filter_iterate_c() argument
252 for (frame = 0; frame < frame_count; frame++) { in temporal_filter_iterate_c()

123