Home
last modified time | relevance | path

Searched refs:parity (Results 1 – 25 of 105) sorted by relevance

12345

/third_party/ffmpeg/libavfilter/x86/
Dvf_yadif_init.c29 int mrefs, int parity, int mode);
32 int mrefs, int parity, int mode);
35 int mrefs, int parity, int mode);
39 int mrefs, int parity, int mode);
42 int mrefs, int parity, int mode);
45 int mrefs, int parity, int mode);
48 int mrefs, int parity, int mode);
52 int mrefs, int parity, int mode);
55 int mrefs, int parity, int mode);
58 int mrefs, int parity, int mode);
Dvf_bwdif_init.c31 int mrefs4, int parity, int clip_max);
35 int mrefs4, int parity, int clip_max);
39 int mrefs4, int parity, int clip_max);
44 int mrefs4, int parity, int clip_max);
48 int mrefs4, int parity, int clip_max);
52 int mrefs4, int parity, int clip_max);
Dvf_bwdif.asm233 prefs4, mrefs4, parity, clip_max
237 prefs4, mrefs4, parity, clip_max
246 mrefs4, parity, clip_max
253 mrefs4, parity, clip_max
/third_party/ffmpeg/libavfilter/
Dvf_pullup.c223 static PullupBuffer *pullup_lock_buffer(PullupBuffer *b, int parity) in pullup_lock_buffer() argument
228 if ((parity + 1) & 1) in pullup_lock_buffer()
230 if ((parity + 1) & 2) in pullup_lock_buffer()
236 static void pullup_release_buffer(PullupBuffer *b, int parity) in pullup_release_buffer() argument
241 if ((parity + 1) & 1) in pullup_release_buffer()
243 if ((parity + 1) & 2) in pullup_release_buffer()
262 static PullupBuffer *pullup_get_buffer(PullupContext *s, int parity) in pullup_get_buffer() argument
267 if (parity < 2 && s->last && parity != s->last->parity in pullup_get_buffer()
268 && !s->last->buffer->lock[parity]) { in pullup_get_buffer()
270 return pullup_lock_buffer(s->last->buffer, parity); in pullup_get_buffer()
[all …]
Dvf_yadif.c37 int parity; member
96 int w, int prefs, int mrefs, int parity, int mode) in filter_line_c() argument
103 uint8_t *prev2 = parity ? prev : cur ; in filter_line_c()
104 uint8_t *next2 = parity ? cur : next; in filter_line_c()
115 int w, int prefs, int mrefs, int parity, int mode) in filter_edges() argument
122 uint8_t *prev2 = parity ? prev : cur ; in filter_edges()
123 uint8_t *next2 = parity ? cur : next; in filter_edges()
136 prev2 = (uint8_t*)(parity ? prev : cur); in filter_edges()
137 next2 = (uint8_t*)(parity ? cur : next); in filter_edges()
147 int w, int prefs, int mrefs, int parity, in filter_line_c_16bit() argument
[all …]
Dvf_bwdif.c56 int parity; member
127 int prefs3, int mrefs3, int parity, int clip_max) in filter_intra() argument
139 int parity, int clip_max) in filter_line_c() argument
145 uint8_t *prev2 = parity ? prev : cur ; in filter_line_c()
146 uint8_t *next2 = parity ? cur : next; in filter_line_c()
156 int parity, int clip_max, int spat) in filter_edge() argument
162 uint8_t *prev2 = parity ? prev : cur ; in filter_edge()
163 uint8_t *next2 = parity ? cur : next; in filter_edge()
172 int prefs3, int mrefs3, int parity, int clip_max) in filter_intra_16bit() argument
184 int parity, int clip_max) in filter_line_c_16bit() argument
[all …]
Dyadif.h54 int parity; ///< YADIFParity member
64 void (*filter)(AVFilterContext *ctx, AVFrame *dstpic, int parity, int tff);
71 int w, int prefs, int mrefs, int parity, int mode);
73 int w, int prefs, int mrefs, int parity, int mode);
Dvf_yadif_cuda.cu103 int parity, int tff, bool skip_spatial_check) in yadif_single() argument
114 if (yo % 2 == parity) { in yadif_single()
140 int is_second_field = !(parity ^ tff); in yadif_single()
173 int parity, int tff, bool skip_spatial_check) in yadif_double() argument
182 if (yo % 2 == parity) { in yadif_double()
211 int is_second_field = !(parity ^ tff); in yadif_double()
249 int parity, int tff, bool skip_spatial_check) in yadif_uchar() argument
254 parity, tff, skip_spatial_check); in yadif_uchar()
263 int parity, int tff, bool skip_spatial_check) in yadif_ushort() argument
268 parity, tff, skip_spatial_check); in yadif_ushort()
[all …]
Dbwdif.h30 int prefs3, int mrefs3, int parity, int clip_max);
34 int parity, int clip_max);
37 int parity, int clip_max, int spat);
Dvf_mcdeint.c75 int parity; ///< MCDeintParity member
92 …{ "parity", "set the assumed picture field parity", OFFSET(parity), AV_OPT_TYPE_INT, {.i64=PARITY_…
207 if ((y ^ mcdeint->parity) & 1) { in filter_frame()
269 if (!((y ^ mcdeint->parity) & 1)) {
277 mcdeint->parity ^= 1;
Dvf_pullup.h30 int parity; member
44 int parity; member
Dyadif_common.c33 if (yadif->parity == -1) { in return_frame()
37 tff = yadif->parity ^ 1; in return_frame()
205 …{ "parity", "specify the assumed picture field parity", OFFSET(parity), AV_OPT_TYPE_INT, {.i64=YAD…
/third_party/python/Lib/turtledemo/
Dfractalcurves.py22 def hilbert(self, size, level, parity): argument
26 self.left(parity * 90)
27 self.hilbert(size, level - 1, -parity)
30 self.right(parity * 90)
31 self.hilbert(size, level - 1, parity)
34 self.hilbert(size, level - 1, parity)
36 self.right(parity * 90)
38 self.hilbert(size, level - 1, -parity)
41 self.left(parity * 90)
/third_party/mbedtls/tests/suites/
Dtest_suite_des.function237 unsigned int parity;
249 // Set the key parity according to the table
253 // Check the parity with a function
256 parity = key[j] ^ (key[j] >> 4);
257 parity = parity ^
258 (parity >> 1) ^
259 (parity >> 2) ^
260 (parity >> 3);
261 parity &= 1;
263 if (parity != 1) {
[all …]
/third_party/ffmpeg/libavcodec/
Daptx.h193 int32_t parity = channel->dither_parity; in aptx_quantized_parity() local
197 parity ^= channel->quantize[subband].quantized_sample; in aptx_quantized_parity()
199 return parity & 1; in aptx_quantized_parity()
206 int32_t parity = aptx_quantized_parity(&channels[LEFT]) in aptx_check_parity() local
212 return parity ^ eighth; in aptx_check_parity()
Daptxenc.c170 int32_t parity = aptx_quantized_parity(channel); in aptx_pack_codeword() local
171 return (((channel->quantize[3].quantized_sample & 0x06) | parity) << 13) in aptx_pack_codeword()
179 int32_t parity = aptx_quantized_parity(channel); in aptxhd_pack_codeword() local
180 return (((channel->quantize[3].quantized_sample & 0x01E) | parity) << 19) in aptxhd_pack_codeword()
Dh264_refs.c40 static void pic_as_field(H264Ref *pic, const int parity) in pic_as_field() argument
44 if (parity == PICT_BOTTOM_FIELD) in pic_as_field()
46 pic->reference = parity; in pic_as_field()
49 pic->poc = pic->parent->field_poc[parity == PICT_BOTTOM_FIELD]; in pic_as_field()
62 static int split_field_copy(H264Ref *dest, H264Picture *src, int parity, int id_add) in split_field_copy() argument
64 int match = !!(src->reference & parity); in split_field_copy()
68 if (parity != PICT_FRAME) { in split_field_copy()
69 pic_as_field(dest, parity); in split_field_copy()
/third_party/mesa3d/src/gallium/auxiliary/tessellator/
Dtessellator.cpp738 int parity = edge&0x1; in QuadGeneratePoints() local
747 if( parity ) in QuadGeneratePoints()
774 int parity[QUAD_AXES] = {edge&0x1,((edge+1)&0x1)}; in QuadGeneratePoints() local
775 int perpendicularAxisPoint = (edge < 2) ? startPoint : endPoint[parity[0]]; in QuadGeneratePoints()
777 SetTessellationParity(processedTessFactors.insideTessFactorParity[parity[0]]); in QuadGeneratePoints()
778 …PlacePointIn1D(processedTessFactors.insideTessFactorCtx[parity[0]],perpendicularAxisPoint,fxpPerpP… in QuadGeneratePoints()
779 SetTessellationParity(processedTessFactors.insideTessFactorParity[parity[1]]); in QuadGeneratePoints()
780 …for(int p = startPoint; p < endPoint[parity[1]]; p++, pointOffset++) // don't include end: next ed… in QuadGeneratePoints()
783 int q = ((edge == 1)||(edge==2)) ? p : endPoint[parity[1]] - (p - startPoint); in QuadGeneratePoints()
784 PlacePointIn1D(processedTessFactors.insideTessFactorCtx[parity[1]],q,fxpParam); in QuadGeneratePoints()
[all …]
Dtessellator.hpp206 void SetTessellationParity(TESSELLATOR_PARITY parity) {m_parity = parity;} in SetTessellationParity() argument
445 void SetTessellationParity(TESSELLATOR_PARITY parity) {m_parity = parity;} in SetTessellationParity() argument
/third_party/jerryscript/jerry-debugger/
Djerry_client_serial.py29 parity = config[3] if config_size > 3 else 'N'
32 self.ser = serial.Serial(port=port, baudrate=baudrate, parity=parity,
/third_party/jerryscript/jerry-ext/debugger/
Ddebugger-serial.c48 …char parity; /**< specify how you want to check parity bits in the data bits transmitted via the s… member
155 switch (serial_config.parity) in jerryx_debugger_serial_configure_attributes()
176 JERRYX_ERROR_MSG ("Unsupported parity: %c\n", serial_config.parity); in jerryx_debugger_serial_configure_attributes()
341 serial_config.parity = (token = strtok (NULL, ",")) ? token[0] : 'N'; in jerryx_debugger_serial_create()
/third_party/skia/modules/skparagraph/gm/
Dsimple_gm.cpp176 int parity = 0; in onDraw() local
181 fPara->layout(400 + parity); in onDraw()
182 parity = (parity + 1) & 1; in onDraw()
/third_party/gstreamer/gstplugins_bad/gst/fieldanalysis/
Dgstfieldanalysis.c833 (*history)[0].parity * GST_VIDEO_FRAME_COMP_STRIDE (&(*history)[0].frame, in same_parity_sad()
839 (*history)[1].parity * GST_VIDEO_FRAME_COMP_STRIDE (&(*history)[1].frame, in same_parity_sad()
875 (*history)[0].parity * GST_VIDEO_FRAME_COMP_STRIDE (&(*history)[0].frame, in same_parity_ssd()
881 (*history)[1].parity * GST_VIDEO_FRAME_COMP_STRIDE (&(*history)[1].frame, in same_parity_ssd()
918 (*history)[0].parity * GST_VIDEO_FRAME_COMP_STRIDE (&(*history)[0].frame, in same_parity_3_tap()
924 (*history)[1].parity * GST_VIDEO_FRAME_COMP_STRIDE (&(*history)[1].frame, in same_parity_3_tap()
989 if ((*history)[0].parity == TOP_FIELD) { in opposite_parity_5_tap()
1017 if ((*history)[0].parity == TOP_FIELD) { in opposite_parity_5_tap()
1352 if ((*history)[0].parity == TOP_FIELD) { in opposite_parity_windowed_comb()
1449 history[0].parity = TOP_FIELD; in gst_field_analysis_process_buffer()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/ivtc/
Dgstivtc.c284 add_field (GstIvtc * ivtc, GstBuffer * buffer, int parity, int index) in add_field() argument
301 field->parity = parity; in add_field()
322 if (f1->parity == TOP_FIELD) { in similarity()
349 if (ivtc->fields[i1].parity == TOP_FIELD) { in reconstruct()
401 if ((j & 1) == field->parity) { in reconstruct_single()
471 if ((j & 1) == field->parity) { in reconstruct_single()
/third_party/mesa3d/src/compiler/nir/
Dnir_instr_set.c448 bool parity = alu1->src[src1].negate != alu2->src[src2].negate; in nir_alu_srcs_negative_equal() local
459 if (parity) in nir_alu_srcs_negative_equal()
490 parity = !parity; in nir_alu_srcs_negative_equal()
507 parity = !parity; in nir_alu_srcs_negative_equal()
525 return parity && nir_srcs_equal(alu1_actual_src, alu2_actual_src); in nir_alu_srcs_negative_equal()

12345