91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.03MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-11-16
  • 語言: Matlab
  • 標(biāo)簽: matlab??H.264??編碼??解碼??

資源簡介

H.264 編解碼的一個簡單實現(xiàn) 實現(xiàn)了幀內(nèi) 幀間編碼

資源截圖

代碼片段和文件信息

%---------------------------------------------------------
%%?H.264?Decoder
%?it?works?on?monochrome?image?sequence
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%?This?script/function?was?created?by?
%?Abdullah?Al?Muhit
%?contact?-?almuhit@gmail.com
%?website?-?https://sites.google.com/site/almuhit/
%?Please?use?it?at?your?own?risk.?Also?Please?cite?the?following?paper:
%?A?A?Muhit?M?R?Pickering?M?R?Frater?and?J?F?Arnold?揤ideo?Coding?using?Elastic?Motion?Model?and?Larger?Blocks?IEEE?Trans.?Circ.?And?Syst.?for?Video?Technology?vol.?20?no.?5?pp.?661-672?2010.?[Impact?factor??3.18]?[PDF]
%?A?A?Muhit?M?R?Pickering?M?R?Frater?and?J?F?Arnold?揤ideo?Coding?using?Geometry?Partitioning?and?an?Elastic?Motion?Model?accepted?for?publication?in?Journal?of?Visual?Communication?and?Image?Representation.?[Impact?factor??1.33]?[PDF]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%---------------------------------------------------------
%?Initialization
clear?all;
clc;
tic
system_dependent(‘DirChangeHandleWarn‘?‘Never‘);
addpath(genpath(‘.‘));

%%?Input?-?load?the?encoded?file
load?carphone_enc.mat;
filename?=??‘carphone‘;

global?h?w?QP?block_size

%?load?the?original?sequence?for?calculating?PSNR?
fid?=?uvc_open([‘C:\PHD\code\seq\‘filename‘.411‘]‘r‘);
idx?=?1;
block_size?=?32;

%---------------------------------------------------------
%?Decode?header
[hwQPframe_startframe_endm]?=?dec_header(bitstream);
idx?=?idx?+?m?-?1;

N?=?1?+?(frame_end?-?frame_start);

if?(bitstream(idx:idx+3)==‘1111‘)
???disp(‘Decoding?I?frame‘)
???idx?=?idx?+?4;
???[Ceq_r(::1)idx]=decode_i_frame(idxbitstream);

???Ceq(::1)?=?uvc_read_frame(fidframe_start);
%????PSNR_rec(1)=find_psnr(Ceq(::1)Ceq_r(::1));
end

for?k?=?2:N???????
????if?(bitstream(idx:idx+3)==‘0000‘)
????????disp(‘Decoding?P?frame‘)
????????idx?=?idx?+?4;
????????[Ceq_r(::k)idx]=?decode_p_frame(idxbitstreamCeq_r(::k-1));

????????Ceq(::k)?=?uvc_read_frame(fidframe_start+k-1);
%?????????PSNR_rec(k)?=?find_psnr(Ceq(::k)Ceq_r(::k));
????end??
end

toc

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????1335??2008-04-22?09:21??H264\decode_sequence.asv
?????文件????????2180??2013-01-19?19:10??H264\decode_sequence.m
?????文件????????5072??2013-02-15?22:41??H264\encode_sequence.m
?????文件????????4421??2013-01-19?19:10??H264\encode_sequence1.m
?????文件??????????93??2008-04-22?09:21??H264\find_psnr.m
?????文件????????4635??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_100.jpg
?????文件????????4612??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_101.jpg
?????文件?????????514??2013-02-15?22:45??H264\Foreman_QCIF\foreman_qcif_frame_101.jpg_results
?????文件????????4630??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_102.jpg
?????文件?????????525??2013-02-15?22:45??H264\Foreman_QCIF\foreman_qcif_frame_102.jpg_results
?????文件????????4606??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_103.jpg
?????文件?????????535??2013-02-15?22:45??H264\Foreman_QCIF\foreman_qcif_frame_103.jpg_results
?????文件????????4619??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_104.jpg
?????文件?????????545??2013-02-15?22:46??H264\Foreman_QCIF\foreman_qcif_frame_104.jpg_results
?????文件????????4581??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_105.jpg
?????文件????????4606??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_106.jpg
?????文件????????4611??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_107.jpg
?????文件????????4639??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_108.jpg
?????文件????????4609??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_109.jpg
?????文件????????4628??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_110.jpg
?????文件????????4629??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_111.jpg
?????文件????????4632??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_112.jpg
?????文件????????4631??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_113.jpg
?????文件????????4617??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_114.jpg
?????文件????????4614??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_115.jpg
?????文件????????4601??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_116.jpg
?????文件????????4620??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_117.jpg
?????文件????????4613??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_118.jpg
?????文件????????4571??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_119.jpg
?????文件????????4561??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_120.jpg
?????文件????????4551??2013-01-29?16:44??H264\Foreman_QCIF\foreman_qcif_frame_121.jpg
............此處省略225個文件信息

評論

共有 條評論