driver: vidc: add support for control initialization
Add support for control initialization and set control implementation. Modified hfi_create_header() and hfi_create_packet() to handle offset and num_packets within in the function itself. Change-Id: If8560be8a884c5df2fcc91f75be90311f1003a41 Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org> Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Maheshwar Ajja

vecāks
cd536c944c
revīzija
6246ad4ce9
@@ -20,9 +20,9 @@ u32 get_hfi_buffer_type(enum msm_vidc_domain_type domain,
|
||||
u32 get_hfi_codec(struct msm_vidc_inst *inst);
|
||||
int get_hfi_buffer(struct msm_vidc_inst *inst,
|
||||
struct msm_vidc_buffer *buffer, struct hfi_buffer *buf);
|
||||
int hfi_create_header(u8 *pkt, u32 session_id,
|
||||
u32 header_id, u32 num_packets, u32 total_size);
|
||||
int hfi_create_packet(u8 *packet, u32 packet_size, u32 *offset,
|
||||
int hfi_create_header(u8 *packet, u32 packet_size,
|
||||
u32 session_id, u32 header_id);
|
||||
int hfi_create_packet(u8 *packet, u32 packet_size,
|
||||
u32 pkt_type, u32 pkt_flags, u32 payload_type, u32 port,
|
||||
u32 packet_id, void *payload, u32 payload_size);
|
||||
int hfi_create_buffer(u8 *packet, u32 packet_size, u32 *offset,
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user