When decoding jp2 with palette, [color space] is determined when calling
[opj_decode]. Because of this, [pix_fmt] should be set after decoding.
Otherwise, [pix_fmt] will be set to AV_PIX_FMT_GRAY8 and output an wrong
image.
Signed-off-by: Wang Chuan
---
libavcodec/libopenjpegdec.c | 35
Starting from Windows 8, users can create SRV from video resource
and bind it to shaders directly. This can avoid unnecessary memcpy
(ID3D11DeviceContext::CopyResource, etc), so create texture with
[D3D11_BIND_SHADER_RESOURCE] as decoder's output if possible.
Signed-off-by: Wang
On Feb 9, 2022, 7:31 AM +0800, Jan Ekström , wrote:
> On Tue, Feb 8, 2022 at 9:48 AM Wang Chuan wrote:
> >
> > Any news?
> >
>
> Sorry, was not able to get to this according to the time line I
> expected. Will see if I can find some time for this soon.
>
> T
Any news?
On 2022/2/4 19:10, Jan Ekström wrote:
On Fri, Feb 4, 2022 at 5:24 AM Wang Chuan wrote:
Ping?
On Jan 28, 2022, 11:24 AM +0800, Wang Chuan , wrote:
if we are reading udta in trak box, the data should go to metadata
of current stream.
Signed-off-by: Wang Chuan
---
libavformat/mov.c
Ping?
On Jan 28, 2022, 11:24 AM +0800, Wang Chuan , wrote:
> if we are reading udta in trak box, the data should go to metadata
> of current stream.
>
> Signed-off-by: Wang Chuan
> ---
> libavformat/mov.c | 5 -
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
&g
if we are reading udta in trak box, the data should go to metadata
of current stream.
Signed-off-by: Wang Chuan
---
libavformat/mov.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 1437d160f8..cb983defb3 100644
--- a
itle
in mov_read_udta_string(mov.c)
Signed-off-by: Wang Chuan
---
libavformat/movenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 4c868919ae..c4dcb41fbb 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -337
11:21, "zhilizhao(赵志立)" wrote:
On Jan 14, 2022, at 10:42 AM, Wang Chuan wrote:
If we meet timeout when reading network resource, avio_read will set
[eof_reached] to 1. And this prevent caller to retry since avio_read
do nothing and just return if eof_reached == 1.
If timeout was
If we meet timeout when reading network resource, avio_read will set
[eof_reached] to 1. And this prevent caller to retry since avio_read
do nothing and just return if eof_reached == 1.
Signed-off-by: Wang Chuan
---
libavformat/aviobuf.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions
If we fail to create a decoder specified by ourself, then try to
let VideoToolbox pick a proper one for us.
Signed-off-by: Wang Chuan
---
libavcodec/videotoolbox.c | 4
1 file changed, 4 insertions(+)
diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c
index 8773de3393
10 matches
Mail list logo