mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
h264 encoder: use get_data_from_name to get firmware
Change-Id: I1f68bc96eb5c0fc0157fd83e6ff016ed9e4b7c8f Signed-off-by: Yuxi Sun <yuxi.sun@amlogic.com>
This commit is contained in:
@@ -2260,8 +2260,7 @@ s32 amvenc_loadmc(const char *p, struct encode_wq_s *wq)
|
||||
}
|
||||
|
||||
enc_pr(LOG_ALL, "avc encode ucode name is %s\n", p);
|
||||
ret = get_decoder_firmware_data(VFORMAT_H264_ENC, p,
|
||||
(u8 *)mc_addr, MC_SIZE);
|
||||
ret = get_data_from_name(p, (u8 *)mc_addr);
|
||||
if (ret < 0) {
|
||||
enc_pr(LOG_ERROR,
|
||||
"avc microcode fail ret=%d, name: %s, wq:%p.\n",
|
||||
|
||||
Reference in New Issue
Block a user