Lines Matching refs:oci
676 #define RTCD_VTABLE(oci) (&(oci)->rtcd.postproc) argument
678 #define RTCD_VTABLE(oci) NULL argument
681 int vp8_post_proc_frame(VP8_COMMON *oci, YV12_BUFFER_CONFIG *dest, vp8_ppflags_t *ppflags) in vp8_post_proc_frame() argument
683 int q = oci->filter_level * 10 / 6; in vp8_post_proc_frame()
688 if (!oci->frame_to_show) in vp8_post_proc_frame()
696 *dest = *oci->frame_to_show; in vp8_post_proc_frame()
699 dest->y_width = oci->Width; in vp8_post_proc_frame()
700 dest->y_height = oci->Height; in vp8_post_proc_frame()
712 vp8_deblock_and_de_macro_block(oci->frame_to_show, &oci->post_proc_buffer, in vp8_post_proc_frame()
713 q + (deblock_level - 5) * 10, 1, 0, RTCD_VTABLE(oci)); in vp8_post_proc_frame()
717 vp8_deblock(oci->frame_to_show, &oci->post_proc_buffer, in vp8_post_proc_frame()
718 q, 1, 0, RTCD_VTABLE(oci)); in vp8_post_proc_frame()
722 vp8_yv12_copy_frame_ptr(oci->frame_to_show, &oci->post_proc_buffer); in vp8_post_proc_frame()
727 if (oci->postproc_state.last_q != q in vp8_post_proc_frame()
728 || oci->postproc_state.last_noise != noise_level) in vp8_post_proc_frame()
730 fillrd(&oci->postproc_state, 63 - q, noise_level); in vp8_post_proc_frame()
733 POSTPROC_INVOKE(RTCD_VTABLE(oci), addnoise) in vp8_post_proc_frame()
734 (oci->post_proc_buffer.y_buffer, in vp8_post_proc_frame()
735 oci->postproc_state.noise, in vp8_post_proc_frame()
736 oci->postproc_state.blackclamp, in vp8_post_proc_frame()
737 oci->postproc_state.whiteclamp, in vp8_post_proc_frame()
738 oci->postproc_state.bothclamp, in vp8_post_proc_frame()
739 oci->post_proc_buffer.y_width, oci->post_proc_buffer.y_height, in vp8_post_proc_frame()
740 oci->post_proc_buffer.y_stride); in vp8_post_proc_frame()
748 (oci->frame_type == KEY_FRAME), in vp8_post_proc_frame()
749 oci->refresh_golden_frame, in vp8_post_proc_frame()
750 oci->base_qindex, in vp8_post_proc_frame()
751 oci->filter_level, in vp8_post_proc_frame()
753 oci->mb_cols, oci->mb_rows); in vp8_post_proc_frame()
754 vp8_blit_text(message, oci->post_proc_buffer.y_buffer, oci->post_proc_buffer.y_stride); in vp8_post_proc_frame()
761 YV12_BUFFER_CONFIG *post = &oci->post_proc_buffer; in vp8_post_proc_frame()
765 MODE_INFO *mi = oci->mi; in vp8_post_proc_frame()
793 YV12_BUFFER_CONFIG *post = &oci->post_proc_buffer; in vp8_post_proc_frame()
797 MODE_INFO *mi = oci->mi; in vp8_post_proc_frame()
808 if (oci->frame_type == KEY_FRAME) in vp8_post_proc_frame()
827 sprintf(message, "Bitrate: %10.2f frame_rate: %10.2f ", oci->bitrate, oci->framerate); in vp8_post_proc_frame()
828 vp8_blit_text(message, oci->post_proc_buffer.y_buffer, oci->post_proc_buffer.y_stride); in vp8_post_proc_frame()
834 YV12_BUFFER_CONFIG *post = &oci->post_proc_buffer; in vp8_post_proc_frame()
838 unsigned char *y_buffer = oci->post_proc_buffer.y_buffer; in vp8_post_proc_frame()
839 int y_stride = oci->post_proc_buffer.y_stride; in vp8_post_proc_frame()
840 MODE_INFO *mi = oci->mi; in vp8_post_proc_frame()
992 YV12_BUFFER_CONFIG *post = &oci->post_proc_buffer; in vp8_post_proc_frame()
995 unsigned char *y_ptr = oci->post_proc_buffer.y_buffer; in vp8_post_proc_frame()
996 unsigned char *u_ptr = oci->post_proc_buffer.u_buffer; in vp8_post_proc_frame()
997 unsigned char *v_ptr = oci->post_proc_buffer.v_buffer; in vp8_post_proc_frame()
998 int y_stride = oci->post_proc_buffer.y_stride; in vp8_post_proc_frame()
999 MODE_INFO *mi = oci->mi; in vp8_post_proc_frame()
1029 POSTPROC_INVOKE(RTCD_VTABLE(oci), blend_b) in vp8_post_proc_frame()
1046 POSTPROC_INVOKE(RTCD_VTABLE(oci), blend_mb_inner) in vp8_post_proc_frame()
1064 YV12_BUFFER_CONFIG *post = &oci->post_proc_buffer; in vp8_post_proc_frame()
1067 unsigned char *y_ptr = oci->post_proc_buffer.y_buffer; in vp8_post_proc_frame()
1068 unsigned char *u_ptr = oci->post_proc_buffer.u_buffer; in vp8_post_proc_frame()
1069 unsigned char *v_ptr = oci->post_proc_buffer.v_buffer; in vp8_post_proc_frame()
1070 int y_stride = oci->post_proc_buffer.y_stride; in vp8_post_proc_frame()
1071 MODE_INFO *mi = oci->mi; in vp8_post_proc_frame()
1085 POSTPROC_INVOKE(RTCD_VTABLE(oci), blend_mb_outer) in vp8_post_proc_frame()
1100 *dest = oci->post_proc_buffer; in vp8_post_proc_frame()
1103 dest->y_width = oci->Width; in vp8_post_proc_frame()
1104 dest->y_height = oci->Height; in vp8_post_proc_frame()