-debug <flags> ED.VAS... print specific debug info (default 0) pict .D.V... picture info bitstream .D.V... mb_type .D.V... macroblock (MB) type qp .D.V... per-block quantization parameter (QP) dct_coeff .D.V... green_metadata .D.V... skip .D.V... startcode .D.V...
-report generate a report -max_alloc bytes set maximum size of a single allocated block -sources device list sources of the input device -sinks device list sinks of the output device -x width force displayed width -y height force displayed height -s size set frame size (WxH or abbreviation...
int packet_queue_get(packet_queue_t *q, AVPacket *pkt, int block) { AVPacketList *p_pkt_node; int ret; SDL_LockMutex(q->mutex); while (1) { p_pkt_node = q->first_pkt; if (p_pkt_node) // 队列非空,取一个出来 { q->first_pkt = p_pkt_node->next; if (!q->first_pkt...
copy_block.h cos_tablegen.c cpia.c crystalhd.c cscd.c cyuv.c dca.c dca.h dca_parser.c dcadata.h dcadec.c dcadsp.c dcadsp.h dcaenc.c dcaenc.h dcahuff.h dct-test.c dct.c dct.h dct32.h dct32_fixed.c dct32_float.c dct32_template.c dctref.c dctref.h dfa.c d...
block) { ret = 0; break; } else {//队列处于未就绪状态,此时通过SDL_CondWait函数等待qready就绪信号,并暂时对互斥量解锁 /*--- * 等待队列就绪信号qready,并对互斥量暂时解锁 * 此时线程处于阻塞状态,并置于等待条件就绪的线程列表上 * 使得该线程只在临界区资源就绪后才被唤醒,而不至于线程被频繁切换...
Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up {...
一起来看看picture队列里面用来存储解码帧的函数pFrame。由于picture队列是SDL overlay(大概是为了视频显示尽 量少的计算),需要把转换帧存储在picture队列里面的数据是我们生成的: typedef struct VideoPicture { SDL_Overlay *bmp; int width, height; /* source height & width */int allocated; } VideoPicture;...
}elseif(!block) { ret =0;break; }else{//队列处于未就绪状态,此时通过SDL_CondWait函数等待qready就绪信号,并暂时对互斥量解锁/*--- * 等待队列就绪信号qready,并对互斥量暂时解锁 * 此时线程处于阻塞状态,并置于等待条件就绪的线程列表上 * 使得该线程只在临界区资源...
}elseif(!block) { ret =0;break; }else{//队列处于未就绪状态,此时通过SDL_CondWait函数等待qready就绪信号,并暂时对互斥量解锁/*--- * 等待队列就绪信号qready,并对互斥量暂时解锁 * 此时线程处于阻塞状态,并置于等待条件就绪的线程列表上 * 使得该线程只在临界区资源...
block) { ret = 0; break; } else { SDL_CondWait(q->cond, q->mutex); } } SDL_UnlockMutex(q->mutex); return ret; } static void decoder_init(Decoder *d, AVCodecContext *avctx, PacketQueue *queue, SDL_cond *empty_queue_cond) { memset(d, 0, sizeof(Decoder)); ...