Searched refs:ps_buf (Results 1 – 7 of 7) sorted by relevance
312 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf); in tng__MPEG4ES_process_picture_param() local332 ps_buf->ref_surface[0] = ps_buf->ref_surface[2] = SURFACE(psPicParams->reference_picture); in tng__MPEG4ES_process_picture_param()333 ps_buf->ref_surface[1] = ps_buf->ref_surface[3] = SURFACE(psPicParams->reconstructed_picture); in tng__MPEG4ES_process_picture_param()335 ps_buf->ref_surface[0]->is_ref_surface = ps_buf->ref_surface[2]->is_ref_surface = 1; in tng__MPEG4ES_process_picture_param()336 ps_buf->ref_surface[1]->is_ref_surface = ps_buf->ref_surface[3]->is_ref_surface = 1; in tng__MPEG4ES_process_picture_param()338 ps_buf->ref_surface = SURFACE(psPicParams->reference_picture); in tng__MPEG4ES_process_picture_param()339 ps_buf->rec_surface = SURFACE(psPicParams->reconstructed_picture); in tng__MPEG4ES_process_picture_param()341 ps_buf->coded_buf = BUFFER(psPicParams->coded_buf); in tng__MPEG4ES_process_picture_param()343 if (NULL == ps_buf->coded_buf) { in tng__MPEG4ES_process_picture_param()
296 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf); in tng__H263ES_process_picture_param() local320 ps_buf->ref_surface[0] = ps_buf->ref_surface[2] = SURFACE(psPicParams->reference_picture); in tng__H263ES_process_picture_param()321 ps_buf->ref_surface[1] = ps_buf->ref_surface[3] = SURFACE(psPicParams->reconstructed_picture); in tng__H263ES_process_picture_param()323 ps_buf->ref_surface[0]->is_ref_surface = ps_buf->ref_surface[2]->is_ref_surface = 1; in tng__H263ES_process_picture_param()324 ps_buf->ref_surface[1]->is_ref_surface = ps_buf->ref_surface[3]->is_ref_surface = 1; in tng__H263ES_process_picture_param()326 ps_buf->ref_surface = SURFACE(psPicParams->reference_picture); in tng__H263ES_process_picture_param()327 ps_buf->rec_surface = SURFACE(psPicParams->reconstructed_picture); in tng__H263ES_process_picture_param()329 ps_buf->coded_buf = BUFFER(psPicParams->coded_buf); in tng__H263ES_process_picture_param()331 if (NULL == ps_buf->coded_buf) { in tng__H263ES_process_picture_param()
790 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf[ctx->ui32StreamID]);812 ps_buf->ref_surface = SURFACE(psPicParams->ReferenceFrames[0].picture_id);813 ps_buf->coded_buf = BUFFER(psPicParams->coded_buf);817 ps_buf->rec_surface = SURFACE(psPicParams->CurrPic.picture_id);819 ps_buf->ref_surface[i] = SURFACE(psPicParams->ReferenceFrames[i].picture_id);820 ps_buf->coded_buf = BUFFER(psPicParams->coded_buf);824 if (NULL == ps_buf->coded_buf) {875 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf); in tng__H264ES_process_picture_param_base() local887 ps_buf->rec_surface = SURFACE(psPicParams->CurrPic.picture_id); in tng__H264ES_process_picture_param_base()888 ps_buf->ref_surface = SURFACE(psPicParams->ReferenceFrames[0].picture_id); in tng__H264ES_process_picture_param_base()[all …]
348 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf); in tng_send_codedbuf() local349 object_buffer_p object_buffer = ps_buf->coded_buf; in tng_send_codedbuf()583 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf); in tng_send_source_frame() local588 object_surface_p src_surface = ps_buf->src_surface; in tng_send_source_frame()707 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf); in tng_send_rec_frames() local708 object_surface_p rec_surface = ps_buf->rec_surface; in tng_send_rec_frames()731 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf); in tng_send_ref_frames() local732 object_surface_p ref_surface = ps_buf->ref_surface[ui32refindex]; in tng_send_ref_frames()737 ref_surface = ps_buf->ref_surface; in tng_send_ref_frames()741 ref_surface = ps_buf->ref_surface1; in tng_send_ref_frames()
919 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf); in IssueBufferToHW() local958 ps_buf->coded_buf->psb_buffer, in IssueBufferToHW()1147 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf); in tng_jpeg_BeginPicture() local1154 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()1274 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf); in ProcessPictureParam() local1311 ps_buf->coded_buf = BUFFER(pBuffer->coded_buf); in ProcessPictureParam()1317 if (NULL == ps_buf->coded_buf) { in ProcessPictureParam()1323 …vaStatus = psb_buffer_map(ps_buf->coded_buf->psb_buffer, (unsigned char **)&jpeg_ctx->jpeg_coded_b… in ProcessPictureParam()1328 jpeg_ctx->jpeg_coded_buf.ui32Size = ps_buf->coded_buf->size; in ProcessPictureParam()[all …]
836 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf); in tng_BeginPicture() local843 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()2591 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf); in tng__setvideo_params() local2620 psMtxEncContext->bOutputReconstructed = (ps_buf->rec_surface != NULL) ? IMG_TRUE : IMG_FALSE; in tng__setvideo_params()2656 ctx->ui16BufferStride = ps_buf->src_surface->psb_surface->stride; in tng__setvideo_params()3045 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf); in tng__setvideo_cmdbuf() local3068 &(ps_buf->ref_surface[i]->psb_surface->buf), 0, 0); in tng__setvideo_cmdbuf()3594 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf); in tng__end_one_frame() local[all …]
724 context_ENC_frame_buf *ps_buf = &(ctx->ctx_frame_buf); in tng_set_frame_skip_flag() local726 if (ctx && ps_buf->previous_src_surface) { in tng_set_frame_skip_flag()727 SET_SURFACE_INFO_skipped_flag(ps_buf->previous_src_surface->psb_surface, 1); in tng_set_frame_skip_flag()729 ps_buf->previous_src_surface->psb_surface); in tng_set_frame_skip_flag()