コード例 #1
0
ファイル: vcd_client_sm.c プロジェクト: Snuzzo/funky_msm8960
static u32 vcd_encode_frame_cmn(struct vcd_clnt_ctxt *cctxt,
     struct vcd_frame_data *input_frame)
{
	VCD_MSG_LOW("vcd_encode_frame_cmn in %d:", cctxt->clnt_state.state);

	if (cctxt->decoding) {
		VCD_MSG_ERROR("vcd_encode_frame for decoder client");

		return VCD_ERR_ILLEGAL_OP;
	}

	return vcd_handle_input_frame(cctxt, input_frame);
}
コード例 #2
0
ファイル: vcd_client_sm.c プロジェクト: Anteus/kernel_u8800
static u32 vcd_encode_frame_cmn(struct vcd_clnt_ctxt_type_t *p_cctxt,
     struct vcd_frame_data_type *p_input_frame)
{
	VCD_MSG_LOW("vcd_encode_frame_cmn in %d:", p_cctxt->clnt_state.e_state);

	if (p_cctxt->b_decoding) {
		VCD_MSG_ERROR("vcd_encode_frame for decoder client");

		return VCD_ERR_ILLEGAL_OP;
	}

	return vcd_handle_input_frame(p_cctxt, p_input_frame);
}