/hardware/intel/img/psb_video/src/ |
D | tng_picmgmt.c | 588 object_surface_p src_surface = ps_buf->src_surface; in tng_send_source_frame() local 590 unsigned int srf_buf_offset = src_surface->psb_surface->buf.buffer_ofs; in tng_send_source_frame() 611 tng__set_component_offsets(ctx, src_surface, psSrcFrame); in tng_send_source_frame() 630 &(src_surface->psb_surface->buf)); in tng_send_source_frame() 634 &(src_surface->psb_surface->buf)); in tng_send_source_frame() 638 &(src_surface->psb_surface->buf)); in tng_send_source_frame() 643 &(src_surface->psb_surface->buf)); in tng_send_source_frame() 647 &(src_surface->psb_surface->buf)); in tng_send_source_frame() 651 &(src_surface->psb_surface->buf)); in tng_send_source_frame() 654 &(src_surface->psb_surface->buf), in tng_send_source_frame() [all …]
|
D | tng_yuv_processor.c | 72 ctx->src_surface = NULL; in tng_yuv_processor_CreateContext() 124 psb_surface_p src_surface = ctx->src_surface; in tng__yuv_processor_process() local 148 …REGIO_WRITE_FIELD_LITE(reg_value, MSVDX_CMDS, OPERATING_MODE, ROW_STRIDE, src_surface->stride_mode… in tng__yuv_processor_process() 155 buffer = &src_surface->buf; in tng__yuv_processor_process() 159 src_surface->chroma_offset); in tng__yuv_processor_process() 216 ctx->src_surface = surface_params->src_surface; in tng__yuv_processor_execute() 226 if (GET_SURFACE_INFO_tiling(ctx->src_surface)) { in tng__yuv_processor_execute() 253 ctx->src_surface = obj_surface->psb_surface; in tng__yuv_processor_execute() 265 if (GET_SURFACE_INFO_tiling(ctx->src_surface)) { in tng__yuv_processor_execute()
|
D | tng_yuv_processor.h | 38 psb_surface_p src_surface; member 48 psb_surface_p src_surface; member
|
D | pnw_hostcode.c | 568 ctx->previous_src_surface = ctx->src_surface; in pnw_BeginPicture() 569 ctx->src_surface = ctx->obj_context->current_render_target; in pnw_BeginPicture() 572 CLEAR_SURFACE_INFO_skipped_flag(ctx->src_surface->psb_surface); in pnw_BeginPicture() 715 object_surface_p src_surface; in pnw_RenderPictureParameter() local 735 src_surface = ctx->src_surface; in pnw_RenderPictureParameter() 736 CHECK_SURFACE(src_surface); in pnw_RenderPictureParameter() 766 psPicParams->SrcYStride = src_surface->psb_surface->stride; in pnw_RenderPictureParameter() 770 psPicParams->SrcUVStride = src_surface->psb_surface->stride / 2; in pnw_RenderPictureParameter() 771 psPicParams->SrcUVRowStride = src_surface->psb_surface->stride * 8 / 2; in pnw_RenderPictureParameter() 775 psPicParams->SrcUVStride = src_surface->psb_surface->stride; in pnw_RenderPictureParameter() [all …]
|
D | tng_vld_dec.c | 80 psb_surface_p src_surface = obj_context->current_render_target->psb_surface; in vld_dec_setup_alternative_frame() local 88 out_loop_surface = src_surface; in vld_dec_setup_alternative_frame() 89 src_surface = ctx->yuv_ctx->src_surface; in vld_dec_setup_alternative_frame() 150 …REGIO_WRITE_FIELD_LITE(cmd, MSVDX_CMDS, EXTENDED_ROW_STRIDE, EXT_ROW_STRIDE, src_surface->stride /… in vld_dec_setup_alternative_frame() 493 surface_param.src_surface = obj_context->current_render_target->scaling_surface; in vld_dec_yuv_rotate()
|
D | tng_ved_scaling.c | 230 object_surface_p src_surface = obj_context->current_render_target; in tng_calculate_scaler_coff_reg() local 318 object_surface_p src_surface = obj_context->current_render_target; in tng_ved_write_scale_reg() local
|
D | pnw_jpeg.c | 262 ctx->src_surface = ctx->obj_context->current_render_target; in pnw_jpeg_BeginPicture() 437 rc = SetupJPEGTables(ctx->jpeg_ctx, &jpeg_ctx->jpeg_coded_buf, ctx->src_surface); in pnw__jpeg_process_picture_param()
|
D | pnw_hostcode.h | 232 object_surface_p src_surface; member
|
D | tng_hostcode.h | 168 object_surface_p src_surface; member
|
D | tng_jpegES.c | 1154 ps_buf->src_surface = ctx->obj_context->current_render_target; in tng_jpeg_BeginPicture() 1222 ret = SetMTXSetup(jpeg_ctx_p, ps_buf->src_surface); in tng_jpeg_BeginPicture()
|
D | tng_hostcode.c | 843 ps_buf->previous_src_surface = ps_buf->src_surface; in tng_BeginPicture() 844 ps_buf->src_surface = ctx->obj_context->current_render_target; in tng_BeginPicture() 852 CLEAR_SURFACE_INFO_skipped_flag(ps_buf->src_surface->psb_surface); in tng_BeginPicture() 2656 ctx->ui16BufferStride = ps_buf->src_surface->psb_surface->stride; in tng__setvideo_params() 3599 ps_buf->previous_src_surface = ps_buf->src_surface; in tng__end_one_frame()
|
D | vsp_vp8.c | 416 object_surface_p src_surface = SURFACE(surface_id); in vsp_vp8_process_picture_param() local
|
/hardware/intel/img/psb_video/src/mrst/ |
D | lnc_hostcode.c | 188 ctx->src_surface = ctx->obj_context->current_render_target; in lnc_BeginPicture() 191 CLEAR_SURFACE_INFO_skipped_flag(ctx->src_surface->psb_surface); in lnc_BeginPicture() 255 object_surface_p src_surface; in lnc_RenderPictureParameter() local 271 src_surface = ctx->src_surface; in lnc_RenderPictureParameter() 272 if (NULL == src_surface) { in lnc_RenderPictureParameter() 314 psPicParams->SrcYStride = src_surface->psb_surface->stride; in lnc_RenderPictureParameter() 318 psPicParams->SrcUVStride = src_surface->psb_surface->stride / 2; in lnc_RenderPictureParameter() 319 psPicParams->SrcUVRowStride = src_surface->psb_surface->stride * 16 / 2; in lnc_RenderPictureParameter() 323 psPicParams->SrcUVStride = src_surface->psb_surface->stride; in lnc_RenderPictureParameter() 324 psPicParams->SrcUVRowStride = src_surface->psb_surface->stride * 16; in lnc_RenderPictureParameter() [all …]
|
D | lnc_hostcode.h | 177 object_surface_p src_surface; member
|
/hardware/qcom/display/msm8960/libcopybit/ |
D | copybit_c2d.cpp | 1078 C2D_OBJECT_STR src_surface; in stretch_copybit_internal() local 1188 src_surface = ctx->blit_rgb_object[ctx->blit_rgb_count]; in stretch_copybit_internal() 1193 src_surface = ctx->blit_yuv_2_plane_object[ctx->blit_yuv_2_plane_count]; in stretch_copybit_internal() 1196 src_surface = ctx->blit_yuv_3_plane_object[ctx->blit_yuv_2_plane_count]; in stretch_copybit_internal() 1276 status = set_image(ctx, src_surface.surface_id, &src_image, in stretch_copybit_internal() 1287 src_surface.config_mask = C2D_NO_ANTIALIASING_BIT | ctx->config_mask; in stretch_copybit_internal() 1288 src_surface.global_alpha = ctx->src_global_alpha; in stretch_copybit_internal() 1290 if(src_surface.config_mask & C2D_GLOBAL_ALPHA_BIT) { in stretch_copybit_internal() 1291 src_surface.config_mask &= ~C2D_ALPHA_BLEND_NONE; in stretch_copybit_internal() 1292 if(!(src_surface.global_alpha)) { in stretch_copybit_internal() [all …]
|
/hardware/qcom/display/msm8996/libcopybit/ |
D | copybit_c2d.cpp | 1101 C2D_OBJECT_STR src_surface; in stretch_copybit_internal() local 1223 src_surface = ctx->blit_rgb_object[ctx->blit_rgb_count]; in stretch_copybit_internal() 1228 src_surface = ctx->blit_yuv_2_plane_object[ctx->blit_yuv_2_plane_count]; in stretch_copybit_internal() 1231 src_surface = ctx->blit_yuv_3_plane_object[ctx->blit_yuv_2_plane_count]; in stretch_copybit_internal() 1312 status = set_image(ctx, src_surface.surface_id, &src_image, in stretch_copybit_internal() 1323 src_surface.config_mask = C2D_NO_ANTIALIASING_BIT | ctx->config_mask; in stretch_copybit_internal() 1324 src_surface.global_alpha = ctx->src_global_alpha; in stretch_copybit_internal() 1326 if(src_surface.config_mask & C2D_GLOBAL_ALPHA_BIT) { in stretch_copybit_internal() 1327 src_surface.config_mask &= ~C2D_ALPHA_BLEND_NONE; in stretch_copybit_internal() 1328 if(!(src_surface.global_alpha)) { in stretch_copybit_internal() [all …]
|
/hardware/qcom/display/msm8084/libcopybit/ |
D | copybit_c2d.cpp | 1097 C2D_OBJECT_STR src_surface; in stretch_copybit_internal() local 1216 src_surface = ctx->blit_rgb_object[ctx->blit_rgb_count]; in stretch_copybit_internal() 1221 src_surface = ctx->blit_yuv_2_plane_object[ctx->blit_yuv_2_plane_count]; in stretch_copybit_internal() 1224 src_surface = ctx->blit_yuv_3_plane_object[ctx->blit_yuv_2_plane_count]; in stretch_copybit_internal() 1304 status = set_image(ctx, src_surface.surface_id, &src_image, in stretch_copybit_internal() 1315 src_surface.config_mask = C2D_NO_ANTIALIASING_BIT | ctx->config_mask; in stretch_copybit_internal() 1316 src_surface.global_alpha = ctx->src_global_alpha; in stretch_copybit_internal() 1318 if(src_surface.config_mask & C2D_GLOBAL_ALPHA_BIT) { in stretch_copybit_internal() 1319 src_surface.config_mask &= ~C2D_ALPHA_BLEND_NONE; in stretch_copybit_internal() 1320 if(!(src_surface.global_alpha)) { in stretch_copybit_internal() [all …]
|
/hardware/qcom/display/msm8226/libcopybit/ |
D | copybit_c2d.cpp | 1103 C2D_OBJECT_STR src_surface; in stretch_copybit_internal() local 1222 src_surface = ctx->blit_rgb_object[ctx->blit_rgb_count]; in stretch_copybit_internal() 1227 src_surface = ctx->blit_yuv_2_plane_object[ctx->blit_yuv_2_plane_count]; in stretch_copybit_internal() 1230 src_surface = ctx->blit_yuv_3_plane_object[ctx->blit_yuv_2_plane_count]; in stretch_copybit_internal() 1310 status = set_image(ctx, src_surface.surface_id, &src_image, in stretch_copybit_internal() 1321 src_surface.config_mask = C2D_NO_ANTIALIASING_BIT | ctx->config_mask; in stretch_copybit_internal() 1322 src_surface.global_alpha = ctx->src_global_alpha; in stretch_copybit_internal() 1324 if(src_surface.config_mask & C2D_GLOBAL_ALPHA_BIT) { in stretch_copybit_internal() 1325 src_surface.config_mask &= ~C2D_ALPHA_BLEND_NONE; in stretch_copybit_internal() 1326 if(!(src_surface.global_alpha)) { in stretch_copybit_internal() [all …]
|
/hardware/qcom/display/msm8909/libcopybit/ |
D | copybit_c2d.cpp | 1081 C2D_OBJECT_STR src_surface; in stretch_copybit_internal() local 1200 src_surface = ctx->blit_rgb_object[ctx->blit_rgb_count]; in stretch_copybit_internal() 1205 src_surface = ctx->blit_yuv_2_plane_object[ctx->blit_yuv_2_plane_count]; in stretch_copybit_internal() 1208 src_surface = ctx->blit_yuv_3_plane_object[ctx->blit_yuv_2_plane_count]; in stretch_copybit_internal() 1288 status = set_image(ctx, src_surface.surface_id, &src_image, in stretch_copybit_internal() 1299 src_surface.config_mask = C2D_NO_ANTIALIASING_BIT | ctx->config_mask; in stretch_copybit_internal() 1300 src_surface.global_alpha = ctx->src_global_alpha; in stretch_copybit_internal() 1302 if(src_surface.config_mask & C2D_GLOBAL_ALPHA_BIT) { in stretch_copybit_internal() 1303 src_surface.config_mask &= ~C2D_ALPHA_BLEND_NONE; in stretch_copybit_internal() 1304 if(!(src_surface.global_alpha)) { in stretch_copybit_internal() [all …]
|
/hardware/qcom/display/msm8994/libcopybit/ |
D | copybit_c2d.cpp | 1106 C2D_OBJECT_STR src_surface; in stretch_copybit_internal() local 1225 src_surface = ctx->blit_rgb_object[ctx->blit_rgb_count]; in stretch_copybit_internal() 1230 src_surface = ctx->blit_yuv_2_plane_object[ctx->blit_yuv_2_plane_count]; in stretch_copybit_internal() 1233 src_surface = ctx->blit_yuv_3_plane_object[ctx->blit_yuv_2_plane_count]; in stretch_copybit_internal() 1313 status = set_image(ctx, src_surface.surface_id, &src_image, in stretch_copybit_internal() 1324 src_surface.config_mask = C2D_NO_ANTIALIASING_BIT | ctx->config_mask; in stretch_copybit_internal() 1325 src_surface.global_alpha = ctx->src_global_alpha; in stretch_copybit_internal() 1327 if(src_surface.config_mask & C2D_GLOBAL_ALPHA_BIT) { in stretch_copybit_internal() 1328 src_surface.config_mask &= ~C2D_ALPHA_BLEND_NONE; in stretch_copybit_internal() 1329 if(!(src_surface.global_alpha)) { in stretch_copybit_internal() [all …]
|
/hardware/intel/common/libva/test/encode/ |
D | h264encode.c | 82 static VASurfaceID src_surface[SURFACE_NUM]; variable 1128 &src_surface[0], SURFACE_NUM, in setup_encode() 1142 memcpy(tmp_surfaceid, src_surface, SURFACE_NUM * sizeof(VASurfaceID)); in setup_encode() 1683 upload_surface(va_dpy, src_surface[i], box_width, row_shift, 0); in upload_source_YUV_once_for_all() 1899 va_status = vaSyncSurface(va_dpy, src_surface[display_order % SURFACE_NUM]); in storage_task() 1911 load_surface(src_surface[display_order % SURFACE_NUM], display_order + SURFACE_NUM); in storage_task() 1956 load_surface(src_surface[i], i); in encode_frames() 1986 va_status = vaBeginPicture(va_dpy, context_id, src_surface[current_slot]); in encode_frames() 2037 vaDestroySurfaces(va_dpy,&src_surface[0],SURFACE_NUM); in release_encode()
|