This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] Linux/DRA746:为什么在 EOS 之后跳过 DCE_BUF_UNLOCK ()?

Guru**** 2556190 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/609500/linux-dra746-why-skip-dce_buf_unlock-after-eos

器件型号:DRA746

工具/软件:Linux

http://git.ti.com/gitweb/?p=glsdk/omapdrmtest.git;a=blob;f=viddec3test.c;h=8c57ed92fd6333ea185ed51bd559491c354a4a99;hb=HEAD#l446

if (freeBufCount){
  if (!eof) dce_buf_unlock (freeBufCount、decoder -> outBuf_fd);
  FreeBufCount =0;

为什么在有 eof 时跳过 dec buf_unlock ()?

我们似乎也应该这样做。